summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/DeviceManagerDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/DeviceManagerDialog.cpp')
-rw-r--r--src/gui/studio/DeviceManagerDialog.cpp28
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,