summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:51 -0600
commitef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch)
tree76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/gui/dialogs
parent6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff)
downloadrosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz
rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/AudioManagerDialog.cpp2
-rw-r--r--src/gui/dialogs/AudioManagerDialog.h2
-rw-r--r--src/gui/dialogs/AudioPluginDialog.cpp8
-rw-r--r--src/gui/dialogs/AudioSplitDialog.cpp20
-rw-r--r--src/gui/dialogs/ClefDialog.cpp4
-rw-r--r--src/gui/dialogs/ConfigureDialog.cpp2
-rw-r--r--src/gui/dialogs/DocumentConfigureDialog.cpp4
-rw-r--r--src/gui/dialogs/EventFilterDialog.cpp2
-rw-r--r--src/gui/dialogs/FileLocateDialog.cpp2
-rw-r--r--src/gui/dialogs/IntervalDialog.cpp2
-rw-r--r--src/gui/dialogs/KeySignatureDialog.cpp2
-rw-r--r--src/gui/dialogs/LilyPondOptionsDialog.cpp2
-rw-r--r--src/gui/dialogs/SimpleEventEditDialog.cpp2
-rw-r--r--src/gui/dialogs/TimeSignatureDialog.cpp4
-rw-r--r--src/gui/dialogs/TransportDialog.cpp4
-rw-r--r--src/gui/dialogs/TupletDialog.cpp10
16 files changed, 36 insertions, 36 deletions
diff --git a/src/gui/dialogs/AudioManagerDialog.cpp b/src/gui/dialogs/AudioManagerDialog.cpp
index 0c38cc2..7678473 100644
--- a/src/gui/dialogs/AudioManagerDialog.cpp
+++ b/src/gui/dialogs/AudioManagerDialog.cpp
@@ -1179,7 +1179,7 @@ AudioManagerDialog::slotClose()
}
void
-AudioManagerDialog::setAudioSubsystemtqStatus(bool ok)
+AudioManagerDialog::setAudioSubsystemStatus(bool ok)
{
// We can do something more fancy in the future but for the moment
// this will suffice.
diff --git a/src/gui/dialogs/AudioManagerDialog.h b/src/gui/dialogs/AudioManagerDialog.h
index e6b9cdc..132b23c 100644
--- a/src/gui/dialogs/AudioManagerDialog.h
+++ b/src/gui/dialogs/AudioManagerDialog.h
@@ -88,7 +88,7 @@ public:
// Can we playback audio currently?
//
- void setAudioSubsystemtqStatus(bool ok);
+ void setAudioSubsystemStatus(bool ok);
// Return the accelerator object
//
diff --git a/src/gui/dialogs/AudioPluginDialog.cpp b/src/gui/dialogs/AudioPluginDialog.cpp
index 97b4e7f..469717c 100644
--- a/src/gui/dialogs/AudioPluginDialog.cpp
+++ b/src/gui/dialogs/AudioPluginDialog.cpp
@@ -86,7 +86,7 @@ AudioPluginDialog::AudioPluginDialog(TQWidget *parent,
{
setHelp("studio-plugins");
- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred,
+ setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred,
TQSizePolicy::Fixed));
#ifdef HAVE_LIBLO
@@ -125,12 +125,12 @@ AudioPluginDialog::AudioPluginDialog(TQWidget *parent,
m_insOuts = new TQLabel(i18n("<ports>"), h);
- m_insOuts->tqsetAlignment(AlignRight);
+ m_insOuts->setAlignment(AlignRight);
TQToolTip::add
(m_insOuts, i18n("Input and output port counts."));
m_pluginId = new TQLabel(i18n("<id>"), h);
- m_pluginId->tqsetAlignment(AlignRight);
+ m_pluginId->setAlignment(AlignRight);
TQToolTip::add
(m_pluginId, i18n("Unique ID of plugin."));
@@ -503,7 +503,7 @@ AudioPluginDialog::slotPluginSelected(int i)
}
adjustSize();
- setFixedSize(tqminimumSizeHint());
+ setFixedSize(minimumSizeHint());
// tell the sequencer
emit pluginSelected(m_containerId, m_index, number - 1);
diff --git a/src/gui/dialogs/AudioSplitDialog.cpp b/src/gui/dialogs/AudioSplitDialog.cpp
index 839e506..171697e 100644
--- a/src/gui/dialogs/AudioSplitDialog.cpp
+++ b/src/gui/dialogs/AudioSplitDialog.cpp
@@ -120,7 +120,7 @@ AudioSplitDialog::drawPreview()
rect->setZ(1);
rect->setPen(kapp->palette().color(TQPalette::Active, TQColorGroup::Dark));
rect->setBrush(kapp->palette().color(TQPalette::Active, TQColorGroup::Base));
- rect->tqsetVisible(true);
+ rect->setVisible(true);
// Get preview in vector form
//
@@ -143,7 +143,7 @@ AudioSplitDialog::drawPreview()
text->setX(30);
text->setY(30);
text->setZ(4);
- text->tqsetVisible(true);
+ text->setVisible(true);
m_canvas->update();
return ;
}
@@ -192,7 +192,7 @@ AudioSplitDialog::drawPreview()
palette().color(TQPalette::Active, TQColorGroup::Shadow));
line->setBrush(kapp->
palette().color(TQPalette::Active, TQColorGroup::Shadow));
- line->tqsetVisible(true);
+ line->setVisible(true);
}
@@ -205,7 +205,7 @@ AudioSplitDialog::drawPreview()
rect->setPen(kapp->palette().color(TQPalette::Active, TQColorGroup::Shadow));
rect->setBrush(kapp->palette().color(TQPalette::Active, TQColorGroup::Shadow));
rect->setZ(4);
- rect->tqsetVisible(true);
+ rect->setVisible(true);
// Start time
//
@@ -221,7 +221,7 @@ AudioSplitDialog::drawPreview()
text->setX(startX - 20);
text->setY(m_canvasHeight / 2 - m_previewHeight / 2 - 35);
text->setZ(3);
- text->tqsetVisible(true);
+ text->setVisible(true);
rect = new TQCanvasRectangle(m_canvas);
rect->setX(startX - 1);
@@ -229,7 +229,7 @@ AudioSplitDialog::drawPreview()
rect->setSize(1, m_previewHeight + 28);
rect->setPen(kapp->palette().color(TQPalette::Active, TQColorGroup::Shadow));
rect->setZ(3);
- rect->tqsetVisible(true);
+ rect->setVisible(true);
// End time
//
@@ -244,7 +244,7 @@ AudioSplitDialog::drawPreview()
text->setX(startX + m_previewWidth - 20);
text->setY(m_canvasHeight / 2 - m_previewHeight / 2 - 35);
text->setZ(3);
- text->tqsetVisible(true);
+ text->setVisible(true);
rect = new TQCanvasRectangle(m_canvas);
rect->setX(startX + m_previewWidth - 1);
@@ -252,7 +252,7 @@ AudioSplitDialog::drawPreview()
rect->setSize(1, m_previewHeight + 28);
rect->setPen(kapp->palette().color(TQPalette::Active, TQColorGroup::Shadow));
rect->setZ(3);
- rect->tqsetVisible(true);
+ rect->setVisible(true);
m_canvas->update();
}
@@ -303,7 +303,7 @@ AudioSplitDialog::drawSplits(int threshold)
palette().color(TQPalette::Active, TQColorGroup::Mid));
rect->setBrush(kapp->
palette().color(TQPalette::Active, TQColorGroup::Mid));
- rect->tqsetVisible(true);
+ rect->setVisible(true);
tempRects.push_back(rect);
}
@@ -315,7 +315,7 @@ AudioSplitDialog::drawSplits(int threshold)
// clear any previous preview boxes
//
for (pIt = m_previewBoxes.begin(); pIt != m_previewBoxes.end(); pIt++) {
- //(*pIt)->tqsetVisible(false);
+ //(*pIt)->setVisible(false);
delete (*pIt);
}
m_previewBoxes.erase(m_previewBoxes.begin(), m_previewBoxes.end());
diff --git a/src/gui/dialogs/ClefDialog.cpp b/src/gui/dialogs/ClefDialog.cpp
index 30f49fb..aa439d7 100644
--- a/src/gui/dialogs/ClefDialog.cpp
+++ b/src/gui/dialogs/ClefDialog.cpp
@@ -77,7 +77,7 @@ ClefDialog::ClefDialog(TQWidget *parent,
(m_octaveUp, i18n("Up an Octave"));
m_clefLabel = new TQLabel(i18n("Clef"), clefLabelBox);
- m_clefLabel->tqsetAlignment(AlignVCenter | AlignHCenter);
+ m_clefLabel->setAlignment(AlignVCenter | AlignHCenter);
m_octaveDown = new BigArrowButton(clefLabelBox, Qt::DownArrow);
TQToolTip::add
@@ -88,7 +88,7 @@ ClefDialog::ClefDialog(TQWidget *parent,
(clefUp, i18n("Higher clef"));
m_clefNameLabel = new TQLabel(i18n("Clef"), clefLabelBox);
- m_clefNameLabel->tqsetAlignment(AlignVCenter | AlignHCenter);
+ m_clefNameLabel->setAlignment(AlignVCenter | AlignHCenter);
if (showConversionOptions) {
m_noConversionButton =
diff --git a/src/gui/dialogs/ConfigureDialog.cpp b/src/gui/dialogs/ConfigureDialog.cpp
index c8e7341..db00fdc 100644
--- a/src/gui/dialogs/ConfigureDialog.cpp
+++ b/src/gui/dialogs/ConfigureDialog.cpp
@@ -54,7 +54,7 @@ static TQPixmap loadIcon(const char *name)
return TQPixmap(fileBase + ".xpm");
}
TQPixmap pmap = KGlobal::instance()->iconLoader()
- ->loadIcon(TQString::tqfromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
+ ->loadIcon(TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
return pmap;
}
diff --git a/src/gui/dialogs/DocumentConfigureDialog.cpp b/src/gui/dialogs/DocumentConfigureDialog.cpp
index 06165e1..b235078 100644
--- a/src/gui/dialogs/DocumentConfigureDialog.cpp
+++ b/src/gui/dialogs/DocumentConfigureDialog.cpp
@@ -53,7 +53,7 @@ static TQPixmap loadIcon(const char *name)
}
TQPixmap pmap = KGlobal::instance()->iconLoader()
- ->loadIcon(TQString::tqfromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
+ ->loadIcon(TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
return pmap;
}
@@ -100,7 +100,7 @@ DocumentConfigureDialog::DocumentConfigureDialog(RosegardenGUIDoc *doc,
page->setPageIndex(pageIndex(pageWidget));
m_configurationPages.push_back(page);
- resize(tqminimumSize());
+ resize(minimumSize());
}
void
diff --git a/src/gui/dialogs/EventFilterDialog.cpp b/src/gui/dialogs/EventFilterDialog.cpp
index fbfcdb4..331fe29 100644
--- a/src/gui/dialogs/EventFilterDialog.cpp
+++ b/src/gui/dialogs/EventFilterDialog.cpp
@@ -134,7 +134,7 @@ EventFilterDialog::initDialog()
TQT_SLOT(slotPitchFromChanged(int)));
m_pitchFromChooserButton = new TQPushButton(i18n("edit"), noteFrame);
- m_pitchFromChooserButton->tqsetSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)0,
+ m_pitchFromChooserButton->setSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)0,
(TQSizePolicy::SizeType)0, 0, 0, m_pitchFromChooserButton->
sizePolicy().hasHeightForWidth()));
TQToolTip::add
diff --git a/src/gui/dialogs/FileLocateDialog.cpp b/src/gui/dialogs/FileLocateDialog.cpp
index 2668ef4..2f18f98 100644
--- a/src/gui/dialogs/FileLocateDialog.cpp
+++ b/src/gui/dialogs/FileLocateDialog.cpp
@@ -58,7 +58,7 @@ FileLocateDialog::FileLocateDialog(TQWidget *parent,
"Would you like to try and locate this file or skip it?").tqarg(m_file);
TQLabel *labelW = new TQLabel(label, w);
- labelW->tqsetAlignment(TQt::AlignCenter);
+ labelW->setAlignment(TQt::AlignCenter);
labelW->setMinimumHeight(60);
}
diff --git a/src/gui/dialogs/IntervalDialog.cpp b/src/gui/dialogs/IntervalDialog.cpp
index 0535e8e..72575b1 100644
--- a/src/gui/dialogs/IntervalDialog.cpp
+++ b/src/gui/dialogs/IntervalDialog.cpp
@@ -66,7 +66,7 @@ IntervalDialog::IntervalDialog(TQWidget *parent, bool askChangeKey, bool askTran
//m_intervalStepsLabel = new TQLabel( i18n("Steps: %1").tqarg(intervalDiatonic % 7), hBox);
m_intervalLabel = new TQLabel( i18n("a perfect unison"), vBox);
- m_intervalLabel->tqsetAlignment(TQt::AlignCenter);
+ m_intervalLabel->setAlignment(TQt::AlignCenter);
TQFont font(m_intervalLabel->font());
font.setItalic(true);
m_intervalLabel->setFont(font);
diff --git a/src/gui/dialogs/KeySignatureDialog.cpp b/src/gui/dialogs/KeySignatureDialog.cpp
index a5e829d..c79ff35 100644
--- a/src/gui/dialogs/KeySignatureDialog.cpp
+++ b/src/gui/dialogs/KeySignatureDialog.cpp
@@ -98,7 +98,7 @@ KeySignatureDialog::KeySignatureDialog(TQWidget *parent,
(keyDown, i18n("Flatten"));
m_keyLabel = new TQLabel(i18n("Key"), keyBox);
- m_keyLabel->tqsetAlignment(AlignVCenter | AlignHCenter);
+ m_keyLabel->setAlignment(AlignVCenter | AlignHCenter);
BigArrowButton *keyUp = new BigArrowButton(keyBox, Qt::RightArrow);
TQToolTip::add
diff --git a/src/gui/dialogs/LilyPondOptionsDialog.cpp b/src/gui/dialogs/LilyPondOptionsDialog.cpp
index b1adfec..a2ca3ef 100644
--- a/src/gui/dialogs/LilyPondOptionsDialog.cpp
+++ b/src/gui/dialogs/LilyPondOptionsDialog.cpp
@@ -292,7 +292,7 @@ LilyPondOptionsDialog::LilyPondOptionsDialog(TQWidget *parent,
advancedGrid->setRowStretch(2, 10);
- resize(tqminimumSize());
+ resize(minimumSize());
}
void
diff --git a/src/gui/dialogs/SimpleEventEditDialog.cpp b/src/gui/dialogs/SimpleEventEditDialog.cpp
index b3009f6..d9ff2d5 100644
--- a/src/gui/dialogs/SimpleEventEditDialog.cpp
+++ b/src/gui/dialogs/SimpleEventEditDialog.cpp
@@ -155,7 +155,7 @@ SimpleEventEditDialog::SimpleEventEditDialog(TQWidget *parent,
m_controllerLabel = new TQLabel(i18n("Controller name:"), frame);
m_controllerLabelValue = new TQLabel(i18n("<none>"), frame);
- m_controllerLabelValue->tqsetAlignment(TQLabel::AlignRight);
+ m_controllerLabelValue->setAlignment(TQLabel::AlignRight);
tqlayout->addWidget(m_controllerLabel, 4, 0);
tqlayout->addWidget(m_controllerLabelValue, 4, 1);
diff --git a/src/gui/dialogs/TimeSignatureDialog.cpp b/src/gui/dialogs/TimeSignatureDialog.cpp
index 7aae2aa..c06f536 100644
--- a/src/gui/dialogs/TimeSignatureDialog.cpp
+++ b/src/gui/dialogs/TimeSignatureDialog.cpp
@@ -96,8 +96,8 @@ TimeSignatureDialog::TimeSignatureDialog(TQWidget *parent,
m_denomLabel = new TQLabel
(TQString("%1").tqarg(m_timeSignature.getDenominator()), denomBox);
- m_numLabel->tqsetAlignment(AlignHCenter | AlignVCenter);
- m_denomLabel->tqsetAlignment(AlignHCenter | AlignVCenter);
+ m_numLabel->setAlignment(AlignHCenter | AlignVCenter);
+ m_denomLabel->setAlignment(AlignHCenter | AlignVCenter);
m_numLabel->setFont(*timeSigFont);
m_denomLabel->setFont(*timeSigFont);
diff --git a/src/gui/dialogs/TransportDialog.cpp b/src/gui/dialogs/TransportDialog.cpp
index 68c42a7..8d3b237 100644
--- a/src/gui/dialogs/TransportDialog.cpp
+++ b/src/gui/dialogs/TransportDialog.cpp
@@ -206,10 +206,10 @@ TransportDialog::TransportDialog(TQWidget *parent,
pal.setColor(TQColorGroup::Foreground, TQColor(192, 216, 255));
m_transport->TempoDisplay->setPalette(pal);
- m_transport->TempoDisplay->tqsetAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
+ m_transport->TempoDisplay->setAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
m_transport->TimeSigDisplay->setPalette(pal);
- m_transport->TimeSigDisplay->tqsetAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
+ m_transport->TimeSigDisplay->setAlignment(int(TQLabel::AlignVCenter | TQLabel::AlignRight));
TQFont localFont(m_transport->OutDisplay->font() );
localFont.setFamily( "lucida" );
diff --git a/src/gui/dialogs/TupletDialog.cpp b/src/gui/dialogs/TupletDialog.cpp
index d9d528b..73dfd98 100644
--- a/src/gui/dialogs/TupletDialog.cpp
+++ b/src/gui/dialogs/TupletDialog.cpp
@@ -120,7 +120,7 @@ TupletDialog::TupletDialog(TQWidget *parent, Note::Type defaultUnitType,
new TQLabel(i18n("Selected region:"), timingDisplayGrid);
new TQLabel("", timingDisplayGrid);
m_selectionDurationDisplay = new TQLabel("x", timingDisplayGrid);
- m_selectionDurationDisplay->tqsetAlignment(int(TQLabel::AlignVCenter |
+ m_selectionDurationDisplay->setAlignment(int(TQLabel::AlignVCenter |
TQLabel::AlignRight));
} else {
m_selectionDurationDisplay = 0;
@@ -129,19 +129,19 @@ TupletDialog::TupletDialog(TQWidget *parent, Note::Type defaultUnitType,
new TQLabel(i18n("Group with current timing:"), timingDisplayGrid);
m_untupledDurationCalculationDisplay = new TQLabel("x", timingDisplayGrid);
m_untupledDurationDisplay = new TQLabel("x", timingDisplayGrid);
- m_untupledDurationDisplay->tqsetAlignment(int(TQLabel::AlignVCenter |
+ m_untupledDurationDisplay->setAlignment(int(TQLabel::AlignVCenter |
TQLabel::AlignRight));
new TQLabel(i18n("Group with new timing:"), timingDisplayGrid);
m_tupledDurationCalculationDisplay = new TQLabel("x", timingDisplayGrid);
m_tupledDurationDisplay = new TQLabel("x", timingDisplayGrid);
- m_tupledDurationDisplay->tqsetAlignment(int(TQLabel::AlignVCenter |
+ m_tupledDurationDisplay->setAlignment(int(TQLabel::AlignVCenter |
TQLabel::AlignRight));
new TQLabel(i18n("Gap created by timing change:"), timingDisplayGrid);
m_newGapDurationCalculationDisplay = new TQLabel("x", timingDisplayGrid);
m_newGapDurationDisplay = new TQLabel("x", timingDisplayGrid);
- m_newGapDurationDisplay->tqsetAlignment(int(TQLabel::AlignVCenter |
+ m_newGapDurationDisplay->setAlignment(int(TQLabel::AlignVCenter |
TQLabel::AlignRight));
if (maxDuration > 0) {
@@ -150,7 +150,7 @@ TupletDialog::TupletDialog(TQWidget *parent, Note::Type defaultUnitType,
m_unchangedDurationCalculationDisplay = new TQLabel
("x", timingDisplayGrid);
m_unchangedDurationDisplay = new TQLabel("x", timingDisplayGrid);
- m_unchangedDurationDisplay->tqsetAlignment(int(TQLabel::AlignVCenter |
+ m_unchangedDurationDisplay->setAlignment(int(TQLabel::AlignVCenter |
TQLabel::AlignRight));
} else {