diff options
Diffstat (limited to 'src/gui/editors/segment/ControlEditorDialog.cpp')
-rw-r--r-- | src/gui/editors/segment/ControlEditorDialog.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/editors/segment/ControlEditorDialog.cpp b/src/gui/editors/segment/ControlEditorDialog.cpp index 160a09f..581e065 100644 --- a/src/gui/editors/segment/ControlEditorDialog.cpp +++ b/src/gui/editors/segment/ControlEditorDialog.cpp @@ -24,7 +24,7 @@ #include "ControlEditorDialog.h" -#include <layout.h> +#include <tqlayout.h> #include <kapplication.h> #include <klocale.h> @@ -96,7 +96,7 @@ ControlEditorDialog::ControlEditorDialog(TQWidget *parent, // spacing hack! new TQLabel("", mainFrame); - new TQLabel(i18n(" Control Events for %1 (device %2)").arg(deviceName). + new TQLabel(i18n(" Control Events for %1 (device %2)").tqarg(deviceName). arg(device), mainFrame); new TQLabel("", mainFrame); @@ -121,10 +121,10 @@ ControlEditorDialog::ControlEditorDialog(TQWidget *parent, TQFrame* btnBox = new TQFrame(mainFrame); - btnBox->setSizePolicy( + btnBox->tqsetSizePolicy( TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - TQHBoxLayout* layout = new TQHBoxLayout(btnBox, 4, 10); + TQHBoxLayout* tqlayout = new TQHBoxLayout(btnBox, 4, 10); m_addButton = new TQPushButton(i18n("Add"), btnBox); m_deleteButton = new TQPushButton(i18n("Delete"), btnBox); @@ -143,13 +143,13 @@ ControlEditorDialog::ControlEditorDialog(TQWidget *parent, (m_closeButton, i18n("Close the Control Parameter editor")); - layout->addStretch(10); - layout->addWidget(m_addButton); - layout->addWidget(m_deleteButton); - layout->addSpacing(30); + tqlayout->addStretch(10); + tqlayout->addWidget(m_addButton); + tqlayout->addWidget(m_deleteButton); + tqlayout->addSpacing(30); - layout->addWidget(m_closeButton); - layout->addSpacing(5); + tqlayout->addWidget(m_closeButton); + tqlayout->addSpacing(5); connect(m_addButton, TQT_SIGNAL(released()), TQT_SLOT(slotAdd())); @@ -220,7 +220,7 @@ ControlEditorDialog::slotUpdate() if (colour == "") colour = i18n("<default>"); - TQString position = TQString("%1").arg(it->getIPBPosition()); + TQString position = TQString("%1").tqarg(it->getIPBPosition()); if (position.toInt() == -1) position = notShowing; @@ -235,9 +235,9 @@ ControlEditorDialog::slotUpdate() strtoqstr(it->getType()), TQString("-"), strtoqstr(it->getDescription()), - TQString("%1").arg(it->getMin()), - TQString("%1").arg(it->getMax()), - TQString("%1").arg(it->getDefault()), + TQString("%1").tqarg(it->getMin()), + TQString("%1").tqarg(it->getMax()), + TQString("%1").tqarg(it->getDefault()), colour, position); } else { @@ -247,9 +247,9 @@ ControlEditorDialog::slotUpdate() strtoqstr(it->getType()), value, strtoqstr(it->getDescription()), - TQString("%1").arg(it->getMin()), - TQString("%1").arg(it->getMax()), - TQString("%1").arg(it->getDefault()), + TQString("%1").tqarg(it->getMin()), + TQString("%1").tqarg(it->getMax()), + TQString("%1").tqarg(it->getDefault()), colour, position); } |