diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:46 -0600 |
commit | 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch) | |
tree | 19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/studio/DeviceManagerDialog.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/studio/DeviceManagerDialog.cpp')
-rw-r--r-- | src/gui/studio/DeviceManagerDialog.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/studio/DeviceManagerDialog.cpp b/src/gui/studio/DeviceManagerDialog.cpp index 6f5cbb4..8cc6499 100644 --- a/src/gui/studio/DeviceManagerDialog.cpp +++ b/src/gui/studio/DeviceManagerDialog.cpp @@ -62,7 +62,7 @@ #include <tqframe.h> #include <tqgrid.h> #include <tqgroupbox.h> -#include <tqlayout.h> +#include <layout.h> #include <tqpushbutton.h> #include <tqsizepolicy.h> #include <tqstring.h> @@ -110,7 +110,7 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent, m_playTable->setSelectionMode(TQTable::SingleRow); TQFrame *frame = new TQFrame(groupBox); - TQVBoxLayout *vtqlayout = new TQVBoxLayout(frame); + TQVBoxLayout *vlayout = new TQVBoxLayout(frame); TQGrid *buttons = new TQGrid(2, Qt::Horizontal, frame); TQPushButton *addButton = new TQPushButton(i18n("New"), buttons); m_deletePlayButton = new TQPushButton(i18n("Delete"), buttons); @@ -118,8 +118,8 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent, m_exportButton = new TQPushButton(i18n("Export..."), buttons); m_banksButton = new TQPushButton(i18n("Banks..."), buttons); m_controllersButton = new TQPushButton(i18n("Control Events..."), buttons); - vtqlayout->addWidget(buttons); - vtqlayout->addStretch(10); + vlayout->addWidget(buttons); + vlayout->addStretch(10); TQToolTip::add (addButton, @@ -169,12 +169,12 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent, m_recordTable->setSelectionMode(TQTable::SingleRow); frame = new TQFrame(groupBox); - vtqlayout = new TQVBoxLayout(frame); + vlayout = new TQVBoxLayout(frame); buttons = new TQGrid(2, Qt::Horizontal, frame); addButton = new TQPushButton(i18n("New"), buttons); m_deleteRecordButton = new TQPushButton(i18n("Delete"), buttons); - vtqlayout->addWidget(buttons); - vtqlayout->addStretch(10); + vlayout->addWidget(buttons); + vlayout->addStretch(10); TQToolTip::add (addButton, @@ -204,15 +204,15 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent, TQFrame* btnBox = new TQFrame(mainBox); - btnBox->tqsetSizePolicy( + btnBox->setSizePolicy( TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed)); TQPushButton *closeButton = new TQPushButton(i18n("Close"), btnBox); - TQHBoxLayout* tqlayout = new TQHBoxLayout(btnBox, 0, 10); - tqlayout->addStretch(10); - tqlayout->addWidget(closeButton); - tqlayout->addSpacing(5); + TQHBoxLayout* layout = new TQHBoxLayout(btnBox, 0, 10); + layout->addStretch(10); + layout->addWidget(closeButton); + layout->addSpacing(5); KAction* close = KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(slotClose()), @@ -326,7 +326,7 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent, m_playTable->insertRows(deviceCount, 1); - TQString deviceName = i18n("%1").tqarg(deviceCount + 1); + TQString deviceName = i18n("%1").arg(deviceCount + 1); TQString connectionName = strtoqstr((*it)->getConnection()); m_playTable->setText(deviceCount, PLAY_NAME_COL, @@ -360,7 +360,7 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent, m_recordTable->insertRows(deviceCount, 1); - TQString deviceName = i18n("%1").tqarg(deviceCount + 1); + TQString deviceName = i18n("%1").arg(deviceCount + 1); TQString connectionName = strtoqstr((*it)->getConnection()); m_recordTable->setText(deviceCount, RECORD_NAME_COL, |