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/editors/segment/TriggerSegmentManager.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/editors/segment/TriggerSegmentManager.h')
-rw-r--r-- | src/gui/editors/segment/TriggerSegmentManager.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/editors/segment/TriggerSegmentManager.h b/src/gui/editors/segment/TriggerSegmentManager.h index 2de6488..4746a0e 100644 --- a/src/gui/editors/segment/TriggerSegmentManager.h +++ b/src/gui/editors/segment/TriggerSegmentManager.h @@ -27,15 +27,15 @@ #define _RG_TRIGGERSEGMENTMANAGER_H_ #include <kmainwindow.h> -#include <qstring.h> +#include <tqstring.h> #include "base/Event.h" -class QWidget; -class QPushButton; -class QListViewItem; -class QCloseEvent; -class QAccel; +class TQWidget; +class TQPushButton; +class TQListViewItem; +class TQCloseEvent; +class TQAccel; class KListView; class KCommand; @@ -52,7 +52,7 @@ class TriggerSegmentManager : public KMainWindow Q_OBJECT public: - TriggerSegmentManager(QWidget *parent, + TriggerSegmentManager(TQWidget *parent, RosegardenGUIDoc *doc); ~TriggerSegmentManager(); @@ -67,7 +67,7 @@ public: // reset the document void setDocument(RosegardenGUIDoc *doc); - QAccel* getAccelerators() { return m_accelerators; } + TQAccel* getAccelerators() { return m_accelerators; } public slots: void slotUpdate(); @@ -76,8 +76,8 @@ public slots: void slotDelete(); void slotDeleteAll(); void slotClose(); - void slotEdit(QListViewItem *); - void slotItemClicked(QListViewItem *); + void slotEdit(TQListViewItem *); + void slotItemClicked(TQListViewItem *); void slotPasteAsNew(); void slotMusicalTime(); @@ -89,25 +89,25 @@ signals: void closing(); protected: - virtual void closeEvent(QCloseEvent *); + virtual void closeEvent(TQCloseEvent *); void setupActions(); - QString makeDurationString(timeT startTime, + TQString makeDurationString(timeT startTime, timeT duration, int timeMode); //--------------- Data members --------------------------------- RosegardenGUIDoc *m_doc; - QPushButton *m_closeButton; - QPushButton *m_addButton; - QPushButton *m_deleteButton; - QPushButton *m_deleteAllButton; + TQPushButton *m_closeButton; + TQPushButton *m_addButton; + TQPushButton *m_deleteButton; + TQPushButton *m_deleteAllButton; KListView *m_listView; bool m_modified; - QAccel *m_accelerators; + TQAccel *m_accelerators; }; |