summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/guitar/GuitarChordEditorDialog.cpp')
-rw-r--r--src/gui/editors/guitar/GuitarChordEditorDialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
index 8a4fb3e..57df4d6 100644
--- a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
+++ b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
@@ -39,8 +39,8 @@
namespace Rosegarden
{
-GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Guitar::ChordMap& chordMap, TQWidget *parent)
- : KDialogBase(parent, "GuitarChordEditor", true, i18n("Guitar Chord Editor"), Ok|Cancel),
+GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Guitar::ChordMap& chordMap, TQWidget *tqparent)
+ : KDialogBase(tqparent, "GuitarChordEditor", true, i18n("Guitar Chord Editor"), Ok|Cancel),
m_chord(chord),
m_chordMap(chordMap)
{
@@ -75,13 +75,13 @@ GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Gui
TQStringList rootList = m_chordMap.getRootList();
if (rootList.count() > 0) {
m_rootNotesList->insertStringList(rootList);
- m_rootNotesList->setCurrentItem(rootList.findIndex(m_chord.getRoot()));
+ m_rootNotesList->setCurrentItem(rootList.tqfindIndex(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()));
+ m_ext->setCurrentItem(extList.tqfindIndex(m_chord.getExt()));
}
}