diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:14:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:14:51 -0600 |
commit | ef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch) | |
tree | 76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/gui/editors/parameters | |
parent | 6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff) | |
download | rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gui/editors/parameters')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/parameters/InstrumentParameterPanel.cpp b/src/gui/editors/parameters/InstrumentParameterPanel.cpp index 9cca26d..ba91b17 100644 --- a/src/gui/editors/parameters/InstrumentParameterPanel.cpp +++ b/src/gui/editors/parameters/InstrumentParameterPanel.cpp @@ -48,7 +48,7 @@ InstrumentParameterPanel::InstrumentParameterPanel(RosegardenGUIDoc *doc, int width25 = metrics.width("1234567890123456789012345"); m_instrumentLabel->setFixedWidth(width25); - m_instrumentLabel->tqsetAlignment(TQt::AlignCenter); + m_instrumentLabel->setAlignment(TQt::AlignCenter); } void diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp index ceb2e26..e033b0c 100644 --- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp +++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp @@ -98,7 +98,7 @@ MIDIInstrumentParameterPanel::MIDIInstrumentParameterPanel(RosegardenGUIDoc *doc m_variationValue->setMinimumWidth(width22); m_connectionLabel->setFixedWidth(width25); - m_connectionLabel->tqsetAlignment(TQt::AlignCenter); + m_connectionLabel->setAlignment(TQt::AlignCenter); // Configure the empty final row to accomodate any extra vertical space. diff --git a/src/gui/editors/parameters/RosegardenParameterArea.cpp b/src/gui/editors/parameters/RosegardenParameterArea.cpp index 5e13652..dff3f7c 100644 --- a/src/gui/editors/parameters/RosegardenParameterArea.cpp +++ b/src/gui/editors/parameters/RosegardenParameterArea.cpp @@ -86,7 +86,7 @@ void RosegardenParameterArea::addRosegardenParameterBox( m_parameterBoxes.push_back(b); m_scrollView->setMinimumWidth(std::max(m_scrollView->minimumWidth(), - b->tqsizeHint().width()) + 8); + b->sizeHint().width()) + 8); // Create a titled group box for the parameter box, parented by the // classic tqlayout widget, so that it can be used to provide a title diff --git a/src/gui/editors/parameters/TrackParameterBox.cpp b/src/gui/editors/parameters/TrackParameterBox.cpp index 94b1137..0a0a5ba 100644 --- a/src/gui/editors/parameters/TrackParameterBox.cpp +++ b/src/gui/editors/parameters/TrackParameterBox.cpp @@ -128,7 +128,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // track label // m_trackLabel = new KSqueezedTextLabel(i18n("<untitled>"), this); - m_trackLabel->tqsetAlignment(TQt::AlignCenter); + m_trackLabel->setAlignment(TQt::AlignCenter); //mainLayout->addMultiCellWidget(m_trackLabel, 0, 0, 0, 5, AlignCenter); mainLayout->addWidget(m_trackLabel, 0, 0); |