Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/qvfb/qvfbratedlg.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    5656    tl->setMargin(5);
    5757
    58     QLabel *label = new QLabel("Target frame rate:", this);
     58    QLabel *label = new QLabel(tr("Target frame rate:"), this);
    5959    tl->addWidget(label);
    6060
     
    6868    hl->addWidget(rateSlider);
    6969    connect(rateSlider, SIGNAL(valueChanged(int)), this, SLOT(rateChanged(int)));
    70     rateLabel = new QLabel(QString("%1fps").arg(rate), this);
     70    rateLabel = new QLabel(tr("%1fps").arg(rate), this);
    7171    hl->addWidget(rateLabel);
    7272
    7373    hl = new QHBoxLayout();
    7474    tl->addItem(hl);
    75     QPushButton *pb = new QPushButton("OK", this);
     75    QPushButton *pb = new QPushButton(tr("OK"), this);
    7676    connect(pb, SIGNAL(clicked()), this, SLOT(ok()));
    7777    hl->addWidget(pb);
    78     pb = new QPushButton("Cancel", this);
     78    pb = new QPushButton(tr("Cancel"), this);
    7979    connect(pb, SIGNAL(clicked()), this, SLOT(cancel()));
    8080    hl->addWidget(pb);
     
    8585    if (rateSlider->value() != r)
    8686        rateSlider->setValue(r);
    87     rateLabel->setText(QString("%1fps").arg(r));
     87    rateLabel->setText(tr("%1fps").arg(r));
    8888    emit updateRate(r);
    8989}
Note: See TracChangeset for help on using the changeset viewer.