summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/SplitByPitchDialog.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/dialogs/SplitByPitchDialog.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/dialogs/SplitByPitchDialog.cpp')
-rw-r--r--src/gui/dialogs/SplitByPitchDialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/dialogs/SplitByPitchDialog.cpp b/src/gui/dialogs/SplitByPitchDialog.cpp
index 7788af1..2c93253 100644
--- a/src/gui/dialogs/SplitByPitchDialog.cpp
+++ b/src/gui/dialogs/SplitByPitchDialog.cpp
@@ -36,7 +36,7 @@
#include <tqlabel.h>
#include <tqvbox.h>
#include <tqwidget.h>
-#include <layout.h>
+#include <tqlayout.h>
namespace Rosegarden
@@ -49,27 +49,27 @@ SplitByPitchDialog::SplitByPitchDialog(TQWidget *parent) :
TQFrame *frame = new TQFrame(vBox);
- TQGridLayout *layout = new TQGridLayout(frame, 4, 3, 10, 5);
+ TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 3, 10, 5);
m_pitch = new PitchChooser(i18n("Starting split pitch"), frame, 60);
- layout->addMultiCellWidget(m_pitch, 0, 0, 0, 2, TQt::AlignHCenter);
+ tqlayout->addMultiCellWidget(m_pitch, 0, 0, 0, 2, TQt::AlignHCenter);
m_range = new TQCheckBox(i18n("Range up and down to follow music"), frame);
- layout->addMultiCellWidget(m_range,
+ tqlayout->addMultiCellWidget(m_range,
1, 1, // fromRow, toRow
0, 2 // fromCol, toCol
);
m_duplicate = new TQCheckBox(i18n("Duplicate non-note events"), frame);
- layout->addMultiCellWidget(m_duplicate, 2, 2, 0, 2);
+ tqlayout->addMultiCellWidget(m_duplicate, 2, 2, 0, 2);
- layout->addWidget(new TQLabel(i18n("Clef handling:"), frame), 3, 0);
+ tqlayout->addWidget(new TQLabel(i18n("Clef handling:"), frame), 3, 0);
m_clefs = new KComboBox(frame);
m_clefs->insertItem(i18n("Leave clefs alone"));
m_clefs->insertItem(i18n("Guess new clefs"));
m_clefs->insertItem(i18n("Use treble and bass clefs"));
- layout->addMultiCellWidget(m_clefs, 3, 3, 1, 2);
+ tqlayout->addMultiCellWidget(m_clefs, 3, 3, 1, 2);
m_range->setChecked(true);
m_duplicate->setChecked(true);