diff options
Diffstat (limited to 'src/gui/editors/guitar/GuitarChordEditorDialog.cpp')
-rw-r--r-- | src/gui/editors/guitar/GuitarChordEditorDialog.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp index 60da8b6..8a4fb3e 100644 --- a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp +++ b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp @@ -28,42 +28,42 @@ #include "ChordMap.h" #include <klineedit.h> -#include <qcombobox.h> -#include <qspinbox.h> +#include <tqcombobox.h> +#include <tqspinbox.h> #include <klocale.h> #include <kmessagebox.h> #include <kstddirs.h> -#include <qlayout.h> -#include <qlabel.h> +#include <tqlayout.h> +#include <tqlabel.h> namespace Rosegarden { -GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Guitar::ChordMap& chordMap, QWidget *parent) +GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Guitar::ChordMap& chordMap, TQWidget *parent) : KDialogBase(parent, "GuitarChordEditor", true, i18n("Guitar Chord Editor"), Ok|Cancel), m_chord(chord), m_chordMap(chordMap) { - QWidget *page = new QWidget(this); + TQWidget *page = new TQWidget(this); setMainWidget(page); - QGridLayout *topLayout = new QGridLayout(page, 7, 2, spacingHint()); + TQGridLayout *topLayout = new TQGridLayout(page, 7, 2, spacingHint()); - topLayout->addWidget(new QLabel(i18n("Start fret"), page), 0, 1); - m_startFret = new QSpinBox(1, 24, 1, page); + topLayout->addWidget(new TQLabel(i18n("Start fret"), page), 0, 1); + m_startFret = new TQSpinBox(1, 24, 1, page); topLayout->addWidget(m_startFret, 1, 1); - connect(m_startFret, SIGNAL(valueChanged(int)), - this, SLOT(slotStartFretChanged(int))); + connect(m_startFret, TQT_SIGNAL(valueChanged(int)), + this, TQT_SLOT(slotStartFretChanged(int))); - topLayout->addWidget(new QLabel(i18n("Root"), page), 2, 1); - m_rootNotesList = new QComboBox(page); + topLayout->addWidget(new TQLabel(i18n("Root"), page), 2, 1); + m_rootNotesList = new TQComboBox(page); topLayout->addWidget(m_rootNotesList, 3, 1); - topLayout->addWidget(new QLabel(i18n("Extension"), page), 4, 1); - m_ext = new QComboBox(true, page); + topLayout->addWidget(new TQLabel(i18n("Extension"), page), 4, 1); + m_ext = new TQComboBox(true, page); topLayout->addWidget(m_ext, 5, 1); - topLayout->addItem(new QSpacerItem(1, 1), 6, 1); + topLayout->addItem(new TQSpacerItem(1, 1), 6, 1); m_fingeringBox = new FingeringBox(true, page); m_fingeringBox->setFingering(m_chord.getFingering()); @@ -72,13 +72,13 @@ GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Gui NOTATION_DEBUG << "GuitarChordEditorDialog : chord = " << m_chord << endl; - QStringList rootList = m_chordMap.getRootList(); + TQStringList rootList = m_chordMap.getRootList(); if (rootList.count() > 0) { m_rootNotesList->insertStringList(rootList); m_rootNotesList->setCurrentItem(rootList.findIndex(m_chord.getRoot())); } - QStringList extList = m_chordMap.getExtList(m_chord.getRoot()); + TQStringList extList = m_chordMap.getExtList(m_chord.getRoot()); if (extList.count() > 0) { m_ext->insertStringList(extList); m_ext->setCurrentItem(extList.findIndex(m_chord.getExt())); |