diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/studio/NameSetEditor.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-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/studio/NameSetEditor.h')
-rw-r--r-- | src/gui/studio/NameSetEditor.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/gui/studio/NameSetEditor.h b/src/gui/studio/NameSetEditor.h index e1e1476..8fd33ef 100644 --- a/src/gui/studio/NameSetEditor.h +++ b/src/gui/studio/NameSetEditor.h @@ -27,17 +27,17 @@ #define _RG_NAMESETEDITOR_H_ #include <kcompletion.h> -#include <qstring.h> -#include <qvgroupbox.h> +#include <tqstring.h> +#include <tqvgroupbox.h> #include <vector> -class QWidget; -class QPushButton; -class QListViewItem; -class QLabel; -class QGridLayout; -class QFrame; +class TQWidget; +class TQPushButton; +class TQListViewItem; +class TQLabel; +class TQGridLayout; +class TQFrame; class KLineEdit; @@ -53,35 +53,35 @@ class NameSetEditor : public QVGroupBox public: virtual void clearAll() = 0; - virtual void populate(QListViewItem *) = 0; + virtual void populate(TQListViewItem *) = 0; virtual void reset() = 0; public slots: - virtual void slotNameChanged(const QString&) = 0; + virtual void slotNameChanged(const TQString&) = 0; virtual void slotEntryButtonPressed() = 0; void slotToggleInitialLabel(); protected: NameSetEditor(BankEditorDialog *bankEditor, - QString title, - QWidget *parent, + TQString title, + TQWidget *parent, const char *name, - QString headingPrefix = "", + TQString headingPrefix = "", bool showEntryButtons = false); - QPushButton *getEntryButton(int n) { return m_entryButtons[n]; } - const QPushButton *getEntryButton(int n) const { return m_entryButtons[n]; } + TQPushButton *getEntryButton(int n) { return m_entryButtons[n]; } + const TQPushButton *getEntryButton(int n) const { return m_entryButtons[n]; } - QGridLayout *m_mainLayout; + TQGridLayout *m_mainLayout; BankEditorDialog* m_bankEditor; KCompletion m_completion; - QPushButton *m_initialLabel; - std::vector<QLabel*> m_labels; + TQPushButton *m_initialLabel; + std::vector<TQLabel*> m_labels; std::vector<KLineEdit*> m_names; - QFrame *m_mainFrame; - QLabel *m_librarian; - QLabel *m_librarianEmail; - std::vector<QPushButton *> m_entryButtons; + TQFrame *m_mainFrame; + TQLabel *m_librarian; + TQLabel *m_librarianEmail; + std::vector<TQPushButton *> m_entryButtons; }; |