diff options
Diffstat (limited to 'src/gui/dialogs/KeySignatureDialog.cpp')
-rw-r--r-- | src/gui/dialogs/KeySignatureDialog.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/dialogs/KeySignatureDialog.cpp b/src/gui/dialogs/KeySignatureDialog.cpp index f47d71a..a649cc8 100644 --- a/src/gui/dialogs/KeySignatureDialog.cpp +++ b/src/gui/dialogs/KeySignatureDialog.cpp @@ -49,14 +49,14 @@ namespace Rosegarden { -KeySignatureDialog::KeySignatureDialog(TQWidget *parent, +KeySignatureDialog::KeySignatureDialog(TQWidget *tqparent, NotePixmapFactory *npf, Clef clef, Rosegarden::Key defaultKey, bool showApplyToAll, bool showConversionOptions, TQString explanatoryText) : - KDialogBase(parent, 0, true, i18n("Key Change"), Ok | Cancel | Help), + KDialogBase(tqparent, 0, true, i18n("Key Change"), Ok | Cancel | Help), m_notePixmapFactory(npf), m_key(defaultKey), m_clef(clef), @@ -73,17 +73,17 @@ KeySignatureDialog::KeySignatureDialog(TQWidget *parent, TQHBox *keyBox = 0; TQHBox *nameBox = 0; - TQGroupBox *keyFrame = new QGroupBox - (1, Horizontal, i18n("Key signature"), vbox); + TQGroupBox *keyFrame = new TQGroupBox + (1, Qt::Horizontal, i18n("Key signature"), vbox); - TQGroupBox *transposeFrame = new QButtonGroup - (1, Horizontal, i18n("Key transposition"), vbox); + TQGroupBox *transposeFrame = new TQButtonGroup + (1, Qt::Horizontal, i18n("Key transposition"), vbox); - TQGroupBox *buttonFrame = new QButtonGroup - (1, Horizontal, i18n("Scope"), vbox); + TQGroupBox *buttonFrame = new TQButtonGroup + (1, Qt::Horizontal, i18n("Scope"), vbox); - TQButtonGroup *conversionFrame = new QButtonGroup - (1, Horizontal, i18n("Existing notes following key change"), vbox); + TQButtonGroup *conversionFrame = new TQButtonGroup + (1, Qt::Horizontal, i18n("Existing notes following key change"), vbox); keyBox = new TQHBox(keyFrame); nameBox = new TQHBox(keyFrame); @@ -98,7 +98,7 @@ KeySignatureDialog::KeySignatureDialog(TQWidget *parent, (keyDown, i18n("Flatten")); m_keyLabel = new TQLabel(i18n("Key"), keyBox); - m_keyLabel->setAlignment(AlignVCenter | AlignHCenter); + m_keyLabel->tqsetAlignment(AlignVCenter | AlignHCenter); BigArrowButton *keyUp = new BigArrowButton(keyBox, Qt::RightArrow); TQToolTip::add @@ -148,13 +148,13 @@ KeySignatureDialog::KeySignatureDialog(TQWidget *parent, if (showConversionOptions) { m_noConversionButton = - new QRadioButton + new TQRadioButton (i18n("Maintain current pitches"), conversionFrame); m_convertButton = - new QRadioButton + new TQRadioButton (i18n("Maintain current accidentals"), conversionFrame); m_transposeButton = - new QRadioButton + new TQRadioButton (i18n("Transpose into this key"), conversionFrame); m_noConversionButton->setChecked(true); } else { @@ -290,7 +290,7 @@ KeySignatureDialog::regenerateKeyCombo() i != keys.end(); ++i) { TQString name(strtoqstr(i->getName())); - int space = name.find(' '); + int space = name.tqfind(' '); if (space > 0) name = name.left(space); @@ -325,7 +325,7 @@ KeySignatureDialog::redrawKeyPixmap() { if (m_valid) { TQPixmap pmap = - NotePixmapFactory::toQPixmap(m_notePixmapFactory->makeKeyDisplayPixmap(m_key, m_clef)); + NotePixmapFactory::toTQPixmap(m_notePixmapFactory->makeKeyDisplayPixmap(m_key, m_clef)); m_keyLabel->setPixmap(pmap); } else { m_keyLabel->setText(i18n("No such key")); |