summaryrefslogtreecommitdiffstats
path: root/src/gui/general/PresetHandlerDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/general/PresetHandlerDialog.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/general/PresetHandlerDialog.cpp')
-rw-r--r--src/gui/general/PresetHandlerDialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/general/PresetHandlerDialog.cpp b/src/gui/general/PresetHandlerDialog.cpp
index 9d9c897..b97d581 100644
--- a/src/gui/general/PresetHandlerDialog.cpp
+++ b/src/gui/general/PresetHandlerDialog.cpp
@@ -27,7 +27,7 @@
#include "PresetHandlerDialog.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <kapplication.h>
#include <klocale.h>
@@ -81,7 +81,7 @@ PresetHandlerDialog::initDialog()
TQFrame *frame = new TQFrame(vBox);
- TQGridLayout *tqlayout = new TQGridLayout(frame, 6, 5, 10, 5);
+ TQGridLayout *layout = new TQGridLayout(frame, 6, 5, 10, 5);
TQLabel *title = new TQLabel(i18n("Select preset track parameters for:"), frame);
if (m_fromNotation) title->setText(i18n("Create appropriate notation for:"));
@@ -114,14 +114,14 @@ PresetHandlerDialog::initDialog()
onlyNewSegments->setChecked(true);
}
- tqlayout->addMultiCellWidget(title, 0, 0, 0, 1, AlignLeft);
- tqlayout->addWidget(catlabel, 1, 0, AlignRight);
- tqlayout->addWidget(m_categoryCombo, 1, 1);
- tqlayout->addWidget(inslabel, 2, 0, AlignRight);
- tqlayout->addWidget(m_instrumentCombo, 2, 1);
- tqlayout->addWidget(plylabel, 3, 0, AlignRight);
- tqlayout->addWidget(m_playerCombo, 3, 1);
- tqlayout->addMultiCellWidget(scopeBox, 4, 4, 0, 1, AlignLeft);
+ layout->addMultiCellWidget(title, 0, 0, 0, 1, AlignLeft);
+ layout->addWidget(catlabel, 1, 0, AlignRight);
+ layout->addWidget(m_categoryCombo, 1, 1);
+ layout->addWidget(inslabel, 2, 0, AlignRight);
+ layout->addWidget(m_instrumentCombo, 2, 1);
+ layout->addWidget(plylabel, 3, 0, AlignRight);
+ layout->addWidget(m_playerCombo, 3, 1);
+ layout->addMultiCellWidget(scopeBox, 4, 4, 0, 1, AlignLeft);
populateCategoryCombo();
// try to set to same category used previously