summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/SegmentParameterBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/parameters/SegmentParameterBox.cpp')
-rw-r--r--src/gui/editors/parameters/SegmentParameterBox.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/gui/editors/parameters/SegmentParameterBox.cpp b/src/gui/editors/parameters/SegmentParameterBox.cpp
index 1b28dc9..b23ee9a 100644
--- a/src/gui/editors/parameters/SegmentParameterBox.cpp
+++ b/src/gui/editors/parameters/SegmentParameterBox.cpp
@@ -96,8 +96,8 @@ SegmentParameterBox::SegmentParameterBox(RosegardenGUIDoc* doc,
m_doc->getComposition().addObserver(this);
- connect(getCommandHistory(), TQT_SIGNAL(commandExecuted()),
- this, TQT_SLOT(update()));
+ connect(getCommandHistory(), TQ_SIGNAL(commandExecuted()),
+ this, TQ_SLOT(update()));
}
SegmentParameterBox::~SegmentParameterBox()
@@ -143,15 +143,15 @@ SegmentParameterBox::initBox()
m_labelButton->setFont(font);
// m_labelButton->setFixedWidth(50);
- connect(m_labelButton, TQT_SIGNAL(released()),
- TQT_SLOT(slotEditSegmentLabel()));
+ connect(m_labelButton, TQ_SIGNAL(released()),
+ TQ_SLOT(slotEditSegmentLabel()));
m_repeatValue = new TristateCheckBox(this);
m_repeatValue->setFont(font);
//m_repeatValue->setFixedHeight(comboHeight);
// handle state changes
- connect(m_repeatValue, TQT_SIGNAL(pressed()), TQT_SLOT(slotRepeatPressed()));
+ connect(m_repeatValue, TQ_SIGNAL(pressed()), TQ_SLOT(slotRepeatPressed()));
// non-reversing motif style read-only combo
m_quantizeValue = new KComboBox(this);
@@ -159,8 +159,8 @@ SegmentParameterBox::initBox()
//m_quantizeValue->setFixedHeight(comboHeight);
// handle quantize changes from drop down
- connect(m_quantizeValue, TQT_SIGNAL(activated(int)),
- TQT_SLOT(slotQuantizeSelected(int)));
+ connect(m_quantizeValue, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(slotQuantizeSelected(int)));
// reversing motif style read-write combo
m_transposeValue = new KComboBox(this);
@@ -168,12 +168,12 @@ SegmentParameterBox::initBox()
//m_transposeValue->setFixedHeight(comboHeight);
// handle transpose combo changes
- connect(m_transposeValue, TQT_SIGNAL(activated(int)),
- TQT_SLOT(slotTransposeSelected(int)));
+ connect(m_transposeValue, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(slotTransposeSelected(int)));
// and text changes
- connect(m_transposeValue, TQT_SIGNAL(textChanged(const TQString&)),
- TQT_SLOT(slotTransposeTextChanged(const TQString&)));
+ connect(m_transposeValue, TQ_SIGNAL(textChanged(const TQString&)),
+ TQ_SLOT(slotTransposeTextChanged(const TQString&)));
// reversing motif style read-write combo
m_delayValue = new KComboBox(this);
@@ -181,16 +181,16 @@ SegmentParameterBox::initBox()
//m_delayValue->setFixedHeight(comboHeight);
// handle delay combo changes
- connect(m_delayValue, TQT_SIGNAL(activated(int)),
- TQT_SLOT(slotDelaySelected(int)));
+ connect(m_delayValue, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(slotDelaySelected(int)));
// Detect when the document colours are updated
- connect(m_doc, TQT_SIGNAL(docColoursChanged()),
- this, TQT_SLOT(slotDocColoursChanged()));
+ connect(m_doc, TQ_SIGNAL(docColoursChanged()),
+ this, TQ_SLOT(slotDocColoursChanged()));
// handle text changes for delay
- connect(m_delayValue, TQT_SIGNAL(textChanged(const TQString&)),
- TQT_SLOT(slotDelayTextChanged(const TQString &)));
+ connect(m_delayValue, TQ_SIGNAL(textChanged(const TQString&)),
+ TQ_SLOT(slotDelayTextChanged(const TQString &)));
// set up combo box for colours
m_colourValue = new KComboBox(false, this);
@@ -200,8 +200,8 @@ SegmentParameterBox::initBox()
m_colourValue->setSizeLimit(20);
// handle colour combo changes
- connect(m_colourValue, TQT_SIGNAL(activated(int)),
- TQT_SLOT(slotColourSelected(int)));
+ connect(m_colourValue, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(slotColourSelected(int)));
// pre-set width of buttons so they don't grow later
// width = fontMetrics.width(i18n("used internally for spacing", "High: ----"));
@@ -214,8 +214,8 @@ SegmentParameterBox::initBox()
// m_highButton->setFont(font);
// m_highButton->setMinimumWidth(width);
-// connect(m_highButton, TQT_SIGNAL(released()),
-// TQT_SLOT(slotHighestPressed()));
+// connect(m_highButton, TQ_SIGNAL(released()),
+// TQ_SLOT(slotHighestPressed()));
// lowest playable note
//
@@ -225,14 +225,14 @@ SegmentParameterBox::initBox()
// m_lowButton->setFont(font);
// m_lowButton->setMinimumWidth(width);
-// connect(m_lowButton, TQT_SIGNAL(released()),
-// TQT_SLOT(slotLowestPressed()));
+// connect(m_lowButton, TQ_SIGNAL(released()),
+// TQ_SLOT(slotLowestPressed()));
// Audio autofade enabled
//
// m_autoFadeBox = new TQCheckBox(this);
-// connect(m_autoFadeBox, TQT_SIGNAL(stateChanged(int)),
-// this, TQT_SLOT(slotAudioFadeChanged(int)));
+// connect(m_autoFadeBox, TQ_SIGNAL(stateChanged(int)),
+// this, TQ_SLOT(slotAudioFadeChanged(int)));
// Fade in and out times
//
@@ -240,15 +240,15 @@ SegmentParameterBox::initBox()
// m_fadeInSpin->setMinValue(0);
// m_fadeInSpin->setMaxValue(5000);
// m_fadeInSpin->setSuffix(i18n(" ms"));
-// connect(m_fadeInSpin, TQT_SIGNAL(valueChanged(int)),
-// this, TQT_SLOT(slotFadeInChanged(int)));
+// connect(m_fadeInSpin, TQ_SIGNAL(valueChanged(int)),
+// this, TQ_SLOT(slotFadeInChanged(int)));
// m_fadeOutSpin = new TQSpinBox(this);
// m_fadeOutSpin->setMinValue(0);
// m_fadeOutSpin->setMaxValue(5000);
// m_fadeOutSpin->setSuffix(i18n(" ms"));
-// connect(m_fadeOutSpin, TQT_SIGNAL(valueChanged(int)),
-// this, TQT_SLOT(slotFadeOutChanged(int)));
+// connect(m_fadeOutSpin, TQ_SIGNAL(valueChanged(int)),
+// this, TQ_SLOT(slotFadeOutChanged(int)));
label->setFont(font);
repeatLabel->setFont(font);
@@ -382,14 +382,14 @@ void
SegmentParameterBox::setDocument(RosegardenGUIDoc* doc)
{
if (m_doc != 0)
- disconnect(m_doc, TQT_SIGNAL(docColoursChanged()),
- this, TQT_SLOT(slotDocColoursChanged()));
+ disconnect(m_doc, TQ_SIGNAL(docColoursChanged()),
+ this, TQ_SLOT(slotDocColoursChanged()));
m_doc = doc;
// Detect when the document colours are updated
- connect (m_doc, TQT_SIGNAL(docColoursChanged()),
- this, TQT_SLOT(slotDocColoursChanged()));
+ connect (m_doc, TQ_SIGNAL(docColoursChanged()),
+ this, TQ_SLOT(slotDocColoursChanged()));
slotDocColoursChanged(); // repopulate combo
}