summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/guitar/GuitarChordEditorDialog.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/guitar/GuitarChordEditorDialog.cpp')
-rw-r--r--src/gui/editors/guitar/GuitarChordEditorDialog.cpp36
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()));