summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/NameSetEditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/studio/NameSetEditor.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-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/NameSetEditor.cpp')
-rw-r--r--src/gui/studio/NameSetEditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/studio/NameSetEditor.cpp b/src/gui/studio/NameSetEditor.cpp
index d7917bf..ecf8f18 100644
--- a/src/gui/studio/NameSetEditor.cpp
+++ b/src/gui/studio/NameSetEditor.cpp
@@ -33,7 +33,7 @@
#include <tqgroupbox.h>
#include <tqhbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqstring.h>
#include <tqtabwidget.h>
@@ -99,7 +99,7 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor,
for (unsigned int row = 0; row < 128 / (tabs*cols); ++row) {
numBox = new TQHBox(v);
- TQString numberText = TQString("%1").tqarg(labelId + 1);
+ TQString numberText = TQString("%1").arg(labelId + 1);
if (tab == 0 && col == 0 && row == 0) {
// Initial label; button to adjust whether labels start at 0 or 1
@@ -111,7 +111,7 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor,
} else {
TQLabel *label = new TQLabel(numberText, numBox);
label->setFixedWidth(40);
- label->tqsetAlignment(AlignCenter);
+ label->setAlignment(AlignCenter);
m_labels.push_back(label);
}
@@ -178,11 +178,11 @@ NameSetEditor::slotToggleInitialLabel()
else
index = 0;
- m_initialLabel->setText(TQString("%1").tqarg(index++));
+ m_initialLabel->setText(TQString("%1").arg(index++));
for (std::vector<TQLabel*>::iterator it( m_labels.begin() );
it != m_labels.end();
++it) {
- (*it)->setText(TQString("%1").tqarg(index++));
+ (*it)->setText(TQString("%1").arg(index++));
}
}