summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/ControlEditorDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/editors/segment/ControlEditorDialog.cpp
parent4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff)
downloadrosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz
rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
Diffstat (limited to 'src/gui/editors/segment/ControlEditorDialog.cpp')
-rw-r--r--src/gui/editors/segment/ControlEditorDialog.cpp34
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);
}