diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:33:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:33:46 -0600 |
commit | 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch) | |
tree | 19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/CountdownDialog.cpp | |
parent | e6d6692eda797b10f322a83ffdcf23fca719709e (diff) | |
download | rosegarden-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/CountdownDialog.cpp')
-rw-r--r-- | src/gui/dialogs/CountdownDialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/dialogs/CountdownDialog.cpp b/src/gui/dialogs/CountdownDialog.cpp index 8b69eb8..c4a56ee 100644 --- a/src/gui/dialogs/CountdownDialog.cpp +++ b/src/gui/dialogs/CountdownDialog.cpp @@ -24,7 +24,7 @@ #include "CountdownDialog.h" -#include <tqlayout.h> +#include <layout.h> #include <klocale.h> #include "CountdownBar.h" @@ -48,14 +48,14 @@ CountdownDialog::CountdownDialog(TQWidget *parent, int seconds): m_progressBarWidth(150), m_progressBarHeight(15) { - TQBoxLayout *tqlayout = new TQBoxLayout(this, TQBoxLayout::TopToBottom, 10, 14); + TQBoxLayout *layout = new TQBoxLayout(this, TQBoxLayout::TopToBottom, 10, 14); setCaption(i18n("Recording...")); TQHBox *hBox = new TQHBox(this); m_label = new TQLabel(hBox); m_time = new TQLabel(hBox); - tqlayout->addWidget(hBox, 0, AlignCenter); + layout->addWidget(hBox, 0, AlignCenter); m_label->setText(i18n("Recording time remaining: ")); m_progressBar = @@ -68,8 +68,8 @@ CountdownDialog::CountdownDialog(TQWidget *parent, int seconds): m_stopButton = new TQPushButton(i18n("Stop"), this); m_stopButton->setFixedWidth(60); - tqlayout->addWidget(m_progressBar, 0, AlignCenter); - tqlayout->addWidget(m_stopButton, 0, AlignRight); + layout->addWidget(m_progressBar, 0, AlignCenter); + layout->addWidget(m_stopButton, 0, AlignRight); connect (m_stopButton, TQT_SIGNAL(released()), this, TQT_SIGNAL(stopped())); @@ -112,10 +112,10 @@ CountdownDialog::setElapsedTime(int elapsedSeconds) if (seconds < 3600) // less than an hour { - m_time->setText(TQString("%1:%2").tqarg(m).tqarg(s)); + m_time->setText(TQString("%1:%2").arg(m).arg(s)); } else if (seconds < 86400) // less than a day { - m_time->setText(TQString("%1:%2:%3").tqarg(h).tqarg(m).tqarg(s)); + m_time->setText(TQString("%1:%2:%3").arg(h).arg(m).arg(s)); } else { m_time->setText(i18n("Just how big is your hard disk?")); } |