summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TransportDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/TransportDialog.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/dialogs/TransportDialog.cpp')
-rw-r--r--src/gui/dialogs/TransportDialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/dialogs/TransportDialog.cpp b/src/gui/dialogs/TransportDialog.cpp
index 68c42a7..a63beac 100644
--- a/src/gui/dialogs/TransportDialog.cpp
+++ b/src/gui/dialogs/TransportDialog.cpp
@@ -46,7 +46,7 @@
#include <tqfont.h>
#include <tqhbox.h>
#include <tqlabel.h>
-#include <tqpalette.h>
+#include <palette.h>
#include <tqpixmap.h>
#include <tqpushbutton.h>
#include <tqstring.h>
@@ -206,10 +206,10 @@ TransportDialog::TransportDialog(TQWidget *parent,
pal.setColor(TQColorGroup::Foreground, TQColor(192, 216, 255));
m_transport->TempoDisplay->setPalette(pal);
- m_transport->TempoDisplay->tqsetAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
+ m_transport->TempoDisplay->setAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
m_transport->TimeSigDisplay->setPalette(pal);
- m_transport->TimeSigDisplay->tqsetAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
+ m_transport->TimeSigDisplay->setAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
TQFont localFont(m_transport->OutDisplay->font() );
localFont.setFamily( "lucida" );
@@ -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) {