summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TransportDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:46 -0600
commit97f1c43c867725d49f3943a68ef08d7e71767e99 (patch)
treeece35be847c1fcc581a6db7b3d9fc6aa497590af /src/gui/dialogs/TransportDialog.cpp
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/gui/dialogs/TransportDialog.cpp')
-rw-r--r--src/gui/dialogs/TransportDialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/dialogs/TransportDialog.cpp b/src/gui/dialogs/TransportDialog.cpp
index 8d3b237..f3fdd70 100644
--- a/src/gui/dialogs/TransportDialog.cpp
+++ b/src/gui/dialogs/TransportDialog.cpp
@@ -344,7 +344,7 @@ TransportDialog::loadPixmaps()
TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
for (int i = 0; i < 10; i++) {
- fileName = TQString("%1/transport/led-%2.xpm").tqarg(pixmapDir).tqarg(i);
+ fileName = TQString("%1/transport/led-%2.xpm").arg(pixmapDir).arg(i);
if (!m_lcdList[i].load(fileName)) {
std::cerr << "TransportDialog - failed to load pixmap \""
<< fileName.ascii() << "\"" << std::endl;
@@ -353,7 +353,7 @@ TransportDialog::loadPixmaps()
// Load the "negative" sign pixmap
//
- fileName = TQString("%1/transport/led--.xpm").tqarg(pixmapDir);
+ fileName = TQString("%1/transport/led--.xpm").arg(pixmapDir);
m_lcdNegative.load(fileName);
}
@@ -479,7 +479,7 @@ TransportDialog::displayTime()
case FrameMode:
m_clearMetronomeTimer->stop();
- m_transport->TimeDisplayLabel->setText(TQString("%1").tqarg(m_sampleRate));
+ m_transport->TimeDisplayLabel->setText(TQString("%1").arg(m_sampleRate));
m_transport->TimeDisplayLabel->show();
break;
}
@@ -917,7 +917,7 @@ TransportDialog::setMidiInLabel(const MappedEvent *mE)
MidiPitchLabel mPL(mE->getPitch());
m_transport->InDisplay->setText
(mPL.getTQString() +
- TQString(" %1").tqarg(mE->getVelocity()));
+ TQString(" %1").arg(mE->getVelocity()));
}
break;
@@ -977,7 +977,7 @@ TransportDialog::setMidiOutLabel(const MappedEvent *mE)
MidiPitchLabel mPL(mE->getPitch());
m_transport->OutDisplay->setText
(mPL.getTQString() +
- TQString(" %1").tqarg(mE->getVelocity()));
+ TQString(" %1").arg(mE->getVelocity()));
}
break;
@@ -1133,8 +1133,8 @@ TransportDialog::slotSetBackground(TQColor c)
/* this is a bit more thorough, but too slow and flickery:
- const TQObjectList *tqchildren = m_transport->LCDBoxFrame->tqchildren();
- TQObjectListIt it(*tqchildren);
+ const TQObjectList *children = m_transport->LCDBoxFrame->children();
+ TQObjectListIt it(*children);
TQObject *obj;
while ((obj = it.current()) != 0) {