diff options
Diffstat (limited to 'src/gui/editors/guitar/GuitarChordSelectorDialog.h')
-rw-r--r-- | src/gui/editors/guitar/GuitarChordSelectorDialog.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/gui/editors/guitar/GuitarChordSelectorDialog.h b/src/gui/editors/guitar/GuitarChordSelectorDialog.h index 6c8f1ad..17b1eff 100644 --- a/src/gui/editors/guitar/GuitarChordSelectorDialog.h +++ b/src/gui/editors/guitar/GuitarChordSelectorDialog.h @@ -30,13 +30,13 @@ #include "ChordMap.h" #include <kdialogbase.h> -#include <qstring.h> +#include <tqstring.h> #include <vector> -class QListBox; -class QListBoxItem; -class QComboBox; -class QPushButton; +class TQListBox; +class TQListBoxItem; +class TQComboBox; +class TQPushButton; namespace Rosegarden { @@ -50,7 +50,7 @@ class GuitarChordSelectorDialog : public KDialogBase enum { COMPLEXITY_BEGINNER, COMPLEXITY_COMMON, COMPLEXITY_ALL }; public: - GuitarChordSelectorDialog(QWidget *parent=0); + GuitarChordSelectorDialog(TQWidget *parent=0); void init(); @@ -61,7 +61,7 @@ public: protected slots: void slotRootHighlighted(int); void slotChordExtHighlighted(int); - void slotFingeringHighlighted(QListBoxItem*); + void slotFingeringHighlighted(TQListBoxItem*); void slotComplexityChanged(int); void slotNewFingering(); @@ -72,10 +72,10 @@ protected slots: protected: - void parseChordFiles(const std::vector<QString>& chordFiles); - void parseChordFile(const QString& chordFileName); + void parseChordFiles(const std::vector<TQString>& chordFiles); + void parseChordFile(const TQString& chordFileName); void populateFingerings(const Guitar::ChordMap::chordarray&, const Guitar::Fingering& refFingering=Guitar::Fingering(0)); - void populateExtensions(const QStringList& extList); + void populateExtensions(const TQStringList& extList); /// set enabled state of edit/delete buttons void setEditionEnabled(bool); @@ -85,12 +85,12 @@ protected: void refresh(); bool saveUserChordMap(); - int evaluateChordComplexity(const QString& ext); + int evaluateChordComplexity(const TQString& ext); - QPixmap getFingeringPixmap(const Guitar::Fingering& fingering) const; + TQPixmap getFingeringPixmap(const Guitar::Fingering& fingering) const; /// Find all chord list files on the system - std::vector<QString> getAvailableChordFiles(); + std::vector<TQString> getAvailableChordFiles(); Guitar::ChordMap m_chordMap; @@ -98,15 +98,15 @@ protected: Guitar::Chord m_chord; // Chord data - QListBox* m_rootNotesList; - QListBox* m_chordExtList; - QListBox* m_fingeringsList; + TQListBox* m_rootNotesList; + TQListBox* m_chordExtList; + TQListBox* m_fingeringsList; FingeringBox* m_fingeringBox; - QComboBox* m_chordComplexityCombo; - QPushButton* m_newFingeringButton; - QPushButton* m_deleteFingeringButton; - QPushButton* m_editFingeringButton; + TQComboBox* m_chordComplexityCombo; + TQPushButton* m_newFingeringButton; + TQPushButton* m_deleteFingeringButton; + TQPushButton* m_editFingeringButton; static const unsigned int FINGERING_PIXMAP_HEIGHT = 75; static const unsigned int FINGERING_PIXMAP_WIDTH = 75; |