diff options
Diffstat (limited to 'src/gui/editors/eventlist/EventView.h')
-rw-r--r-- | src/gui/editors/eventlist/EventView.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/src/gui/editors/eventlist/EventView.h b/src/gui/editors/eventlist/EventView.h index 4c540e6..fc4719a 100644 --- a/src/gui/editors/eventlist/EventView.h +++ b/src/gui/editors/eventlist/EventView.h @@ -31,19 +31,19 @@ #include "base/Segment.h" #include "gui/general/EditViewBase.h" #include <set> -#include <qsize.h> -#include <qstring.h> +#include <tqsize.h> +#include <tqstring.h> #include <vector> #include "base/Event.h" -class QWidget; -class QPopupMenu; -class QPoint; -class QListViewItem; -class QLabel; -class QCheckBox; -class QButtonGroup; +class TQWidget; +class TQPopupMenu; +class TQPoint; +class TQListViewItem; +class TQLabel; +class TQCheckBox; +class TQButtonGroup; class KListView; @@ -80,7 +80,7 @@ class EventView : public EditViewBase, public SegmentObserver public: EventView(RosegardenGUIDoc *doc, std::vector<Segment *> segments, - QWidget *parent); + TQWidget *parent); virtual ~EventView(); @@ -94,8 +94,8 @@ public: virtual void setupActions(); virtual void initStatusBar(); - virtual QSize getViewSize(); - virtual void setViewSize(QSize); + virtual TQSize getViewSize(); + virtual void setViewSize(TQSize); // Set the button states to the current filter positions // @@ -128,12 +128,12 @@ public slots: // Show RMB menu // - void slotPopupMenu(QListViewItem*, const QPoint&, int); + void slotPopupMenu(TQListViewItem*, const TQPoint&, int); void slotMenuActivated(int); // on double click on the event list // - void slotPopupEventEditor(QListViewItem*); + void slotPopupEventEditor(TQListViewItem*); // Change filter parameters // @@ -160,8 +160,8 @@ protected: virtual void readOptions(); void makeInitialSelection(timeT); - QString makeTimeString(timeT time, int timeMode); - QString makeDurationString(timeT time, + TQString makeTimeString(timeT time, int timeMode); + TQString makeDurationString(timeT time, timeT duration, int timeMode); virtual Segment *getCurrentSegment(); @@ -170,32 +170,32 @@ protected: //--------------- Data members --------------------------------- bool m_isTriggerSegment; - QLabel *m_triggerName; - QLabel *m_triggerPitch; - QLabel *m_triggerVelocity; + TQLabel *m_triggerName; + TQLabel *m_triggerPitch; + TQLabel *m_triggerVelocity; KListView *m_eventList; int m_eventFilter; static int m_lastSetEventFilter; - QButtonGroup *m_filterGroup; - QCheckBox *m_noteCheckBox; - QCheckBox *m_textCheckBox; - QCheckBox *m_sysExCheckBox; - QCheckBox *m_programCheckBox; - QCheckBox *m_controllerCheckBox; - QCheckBox *m_restCheckBox; - QCheckBox *m_pitchBendCheckBox; - QCheckBox *m_keyPressureCheckBox; - QCheckBox *m_channelPressureCheckBox; - QCheckBox *m_indicationCheckBox; - QCheckBox *m_otherCheckBox; + TQButtonGroup *m_filterGroup; + TQCheckBox *m_noteCheckBox; + TQCheckBox *m_textCheckBox; + TQCheckBox *m_sysExCheckBox; + TQCheckBox *m_programCheckBox; + TQCheckBox *m_controllerCheckBox; + TQCheckBox *m_restCheckBox; + TQCheckBox *m_pitchBendCheckBox; + TQCheckBox *m_keyPressureCheckBox; + TQCheckBox *m_channelPressureCheckBox; + TQCheckBox *m_indicationCheckBox; + TQCheckBox *m_otherCheckBox; std::vector<int> m_listSelection; std::set<Event *> m_deletedEvents; // deleted since last refresh - QPopupMenu *m_menu; + TQPopupMenu *m_menu; }; |