summaryrefslogtreecommitdiffstats
path: root/tools/qvfb/qvfbratedlg.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-24 14:08:28 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-24 14:08:28 (GMT)
commitc408dd8a80d509f18ec3c3bc8a74891f541f6fdd (patch)
treea29369b3d1e03f8f688b128e231c004081028bb6 /tools/qvfb/qvfbratedlg.cpp
parentef9cc109f1a6fe84ca27a6c8a53f1783b8bdf14d (diff)
parenta8030e0c543e538652605557843b845f89b11589 (diff)
downloadQt-c408dd8a80d509f18ec3c3bc8a74891f541f6fdd.zip
Qt-c408dd8a80d509f18ec3c3bc8a74891f541f6fdd.tar.gz
Qt-c408dd8a80d509f18ec3c3bc8a74891f541f6fdd.tar.bz2
Merge branch '4.7' into qmldocs
Diffstat (limited to 'tools/qvfb/qvfbratedlg.cpp')
-rw-r--r--tools/qvfb/qvfbratedlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/qvfb/qvfbratedlg.cpp b/tools/qvfb/qvfbratedlg.cpp
index e491bdf..a0cbb2f 100644
--- a/tools/qvfb/qvfbratedlg.cpp
+++ b/tools/qvfb/qvfbratedlg.cpp
@@ -55,7 +55,7 @@ QVFbRateDialog::QVFbRateDialog(int rate, QWidget *parent)
QVBoxLayout *tl = new QVBoxLayout(this);
tl->setMargin(5);
- QLabel *label = new QLabel("Target frame rate:", this);
+ QLabel *label = new QLabel(tr("Target frame rate:"), this);
tl->addWidget(label);
QHBoxLayout *hl = new QHBoxLayout();
@@ -67,15 +67,15 @@ QVFbRateDialog::QVFbRateDialog(int rate, QWidget *parent)
rateSlider->setValue(rate);
hl->addWidget(rateSlider);
connect(rateSlider, SIGNAL(valueChanged(int)), this, SLOT(rateChanged(int)));
- rateLabel = new QLabel(QString("%1fps").arg(rate), this);
+ rateLabel = new QLabel(tr("%1fps").arg(rate), this);
hl->addWidget(rateLabel);
hl = new QHBoxLayout();
tl->addItem(hl);
- QPushButton *pb = new QPushButton("OK", this);
+ QPushButton *pb = new QPushButton(tr("OK"), this);
connect(pb, SIGNAL(clicked()), this, SLOT(ok()));
hl->addWidget(pb);
- pb = new QPushButton("Cancel", this);
+ pb = new QPushButton(tr("Cancel"), this);
connect(pb, SIGNAL(clicked()), this, SLOT(cancel()));
hl->addWidget(pb);
}
@@ -84,7 +84,7 @@ void QVFbRateDialog::rateChanged(int r)
{
if (rateSlider->value() != r)
rateSlider->setValue(r);
- rateLabel->setText(QString("%1fps").arg(r));
+ rateLabel->setText(tr("%1fps").arg(r));
emit updateRate(r);
}