diff options
Diffstat (limited to 'src/gui/dialogs/RescaleDialog.cpp')
-rw-r--r-- | src/gui/dialogs/RescaleDialog.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/RescaleDialog.cpp b/src/gui/dialogs/RescaleDialog.cpp index d99a6fb..f47cafb 100644 --- a/src/gui/dialogs/RescaleDialog.cpp +++ b/src/gui/dialogs/RescaleDialog.cpp @@ -31,18 +31,18 @@ #include "gui/widgets/TimeWidget.h" #include <kconfig.h> #include <kdialogbase.h> -#include <qcheckbox.h> -#include <qgroupbox.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqcheckbox.h> +#include <tqgroupbox.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> #include <kapplication.h> namespace Rosegarden { -RescaleDialog::RescaleDialog(QWidget *parent, +RescaleDialog::RescaleDialog(TQWidget *parent, Composition *composition, timeT startTime, timeT originalDuration, @@ -50,7 +50,7 @@ RescaleDialog::RescaleDialog(QWidget *parent, bool constrainToCompositionDuration) : KDialogBase(parent, 0, true, i18n("Rescale"), User1 | Ok | Cancel) { - QVBox *vbox = makeVBoxMainWidget(); + TQVBox *vbox = makeVBoxMainWidget(); m_newDuration = new TimeWidget (i18n("Duration of selection"), vbox, composition, @@ -58,8 +58,8 @@ RescaleDialog::RescaleDialog(QWidget *parent, constrainToCompositionDuration); if (showCloseGapOption) { - QGroupBox *optionBox = new QGroupBox(1, Horizontal, i18n("Options"), vbox); - m_closeGap = new QCheckBox(i18n("Adjust times of following events accordingly"), + TQGroupBox *optionBox = new TQGroupBox(1, Horizontal, i18n("Options"), vbox); + m_closeGap = new TQCheckBox(i18n("Adjust times of following events accordingly"), optionBox); KConfig *config = kapp->config(); config->setGroup(GeneralOptionsConfigGroup); @@ -70,8 +70,8 @@ RescaleDialog::RescaleDialog(QWidget *parent, } setButtonText(User1, i18n("Reset")); - connect(this, SIGNAL(user1Clicked()), - m_newDuration, SLOT(slotResetToDefault())); + connect(this, TQT_SIGNAL(user1Clicked()), + m_newDuration, TQT_SLOT(slotResetToDefault())); } timeT @@ -111,7 +111,7 @@ RescaleDialog::slotFromChanged(int i) { m_from = i + 1; int perTenThou = m_to * 10000 / m_from; - m_percent->setText(QString("%1.%2%"). + m_percent->setText(TQString("%1.%2%"). arg(perTenThou / 100). arg(perTenThou % 100)); } @@ -121,7 +121,7 @@ RescaleDialog::slotToChanged(int i) { m_to = i + 1; int perTenThou = m_to * 10000 / m_from; - m_percent->setText(QString("%1.%2%"). + m_percent->setText(TQString("%1.%2%"). arg(perTenThou / 100). arg(perTenThou % 100)); } |