summaryrefslogtreecommitdiffstats
path: root/src/gui/general/PresetHandlerDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/general/PresetHandlerDialog.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/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 b97d581..9d9c897 100644
--- a/src/gui/general/PresetHandlerDialog.cpp
+++ b/src/gui/general/PresetHandlerDialog.cpp
@@ -27,7 +27,7 @@
#include "PresetHandlerDialog.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include <klocale.h>
@@ -81,7 +81,7 @@ PresetHandlerDialog::initDialog()
TQFrame *frame = new TQFrame(vBox);
- TQGridLayout *layout = new TQGridLayout(frame, 6, 5, 10, 5);
+ TQGridLayout *tqlayout = 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);
}
- 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);
+ 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);
populateCategoryCombo();
// try to set to same category used previously