summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/SplitByPitchDialog.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/dialogs/SplitByPitchDialog.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/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 2c93253..7788af1 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 <tqlayout.h>
+#include <layout.h>
namespace Rosegarden
@@ -49,27 +49,27 @@ SplitByPitchDialog::SplitByPitchDialog(TQWidget *parent) :
TQFrame *frame = new TQFrame(vBox);
- TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 3, 10, 5);
+ TQGridLayout *layout = new TQGridLayout(frame, 4, 3, 10, 5);
m_pitch = new PitchChooser(i18n("Starting split pitch"), frame, 60);
- tqlayout->addMultiCellWidget(m_pitch, 0, 0, 0, 2, TQt::AlignHCenter);
+ layout->addMultiCellWidget(m_pitch, 0, 0, 0, 2, TQt::AlignHCenter);
m_range = new TQCheckBox(i18n("Range up and down to follow music"), frame);
- tqlayout->addMultiCellWidget(m_range,
+ layout->addMultiCellWidget(m_range,
1, 1, // fromRow, toRow
0, 2 // fromCol, toCol
);
m_duplicate = new TQCheckBox(i18n("Duplicate non-note events"), frame);
- tqlayout->addMultiCellWidget(m_duplicate, 2, 2, 0, 2);
+ layout->addMultiCellWidget(m_duplicate, 2, 2, 0, 2);
- tqlayout->addWidget(new TQLabel(i18n("Clef handling:"), frame), 3, 0);
+ layout->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"));
- tqlayout->addMultiCellWidget(m_clefs, 3, 3, 1, 2);
+ layout->addMultiCellWidget(m_clefs, 3, 3, 1, 2);
m_range->setChecked(true);
m_duplicate->setChecked(true);