summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/ClefDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/ClefDialog.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/ClefDialog.cpp')
-rw-r--r--src/gui/dialogs/ClefDialog.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/dialogs/ClefDialog.cpp b/src/gui/dialogs/ClefDialog.cpp
index 30f49fb..c566948 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 =
@@ -246,25 +246,25 @@ ClefDialog::redrawClefPixmap()
std::string type = m_clef.getClefType();
if (type == Clef::Treble)
- name = name.tqarg(i18n("Treble"));
+ name = name.arg(i18n("Treble"));
else if (type == Clef::French)
- name = name.tqarg(i18n("French violin"));
+ name = name.arg(i18n("French violin"));
else if (type == Clef::Soprano)
- name = name.tqarg(i18n("Soprano"));
+ name = name.arg(i18n("Soprano"));
else if (type == Clef::Mezzosoprano)
- name = name.tqarg(i18n("Mezzo-soprano"));
+ name = name.arg(i18n("Mezzo-soprano"));
else if (type == Clef::Alto)
- name = name.tqarg(i18n("Alto"));
+ name = name.arg(i18n("Alto"));
else if (type == Clef::Tenor)
- name = name.tqarg(i18n("Tenor"));
+ name = name.arg(i18n("Tenor"));
else if (type == Clef::Baritone)
- name = name.tqarg(i18n("C-baritone"));
+ name = name.arg(i18n("C-baritone"));
else if (type == Clef::Varbaritone)
- name = name.tqarg(i18n("F-baritone"));
+ name = name.arg(i18n("F-baritone"));
else if (type == Clef::Bass)
- name = name.tqarg(i18n("Bass"));
+ name = name.arg(i18n("Bass"));
else if (type == Clef::Subbass)
- name = name.tqarg(i18n("Sub-bass"));
+ name = name.arg(i18n("Sub-bass"));
m_clefNameLabel->setText(name);
}