summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/MarkerRuler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/MarkerRuler.h')
-rw-r--r--src/gui/rulers/MarkerRuler.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/rulers/MarkerRuler.h b/src/gui/rulers/MarkerRuler.h
index c77e6a9..29c90d0 100644
--- a/src/gui/rulers/MarkerRuler.h
+++ b/src/gui/rulers/MarkerRuler.h
@@ -27,16 +27,16 @@
#define _RG_MARKERRULER_H_
#include "gui/general/HZoomable.h"
-#include <qsize.h>
-#include <qwidget.h>
+#include <tqsize.h>
+#include <tqwidget.h>
#include <kxmlguiclient.h>
#include "base/Event.h"
-class QPaintEvent;
-class QMouseEvent;
-class QFont;
-class QPopupMenu;
+class TQPaintEvent;
+class TQMouseEvent;
+class TQFont;
+class TQPopupMenu;
class KMainWindow;
namespace Rosegarden
@@ -47,7 +47,7 @@ class RulerScale;
class RosegardenGUIDoc;
-class MarkerRuler : public QWidget, public HZoomable, public KXMLGUIClient
+class MarkerRuler : public TQWidget, public HZoomable, public KXMLGUIClient
{
Q_OBJECT
@@ -56,14 +56,14 @@ public:
RulerScale *rulerScale,
int buttonHeight,
double xorigin = 0.0,
- QWidget* parent = 0,
+ TQWidget* parent = 0,
const char* name = 0,
WFlags f=0);
virtual ~MarkerRuler();
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
void scrollHoriz(int x);
@@ -79,7 +79,7 @@ signals:
/// add a marker
void addMarker(timeT);
- void deleteMarker(int, timeT, QString name, QString description);
+ void deleteMarker(int, timeT, TQString name, TQString description);
/// Set a loop range
void setLoop(timeT, timeT);
@@ -91,9 +91,9 @@ protected slots:
void slotEditMarker();
protected:
- virtual void paintEvent(QPaintEvent*);
- virtual void mousePressEvent(QMouseEvent *e);
- virtual void mouseDoubleClickEvent(QMouseEvent *e);
+ virtual void paintEvent(TQPaintEvent*);
+ virtual void mousePressEvent(TQMouseEvent *e);
+ virtual void mouseDoubleClickEvent(TQMouseEvent *e);
void createMenu();
timeT getClickPosition();
@@ -106,8 +106,8 @@ protected:
int m_width;
int m_clickX;
- QFont *m_barFont;
- QPopupMenu *m_menu;
+ TQFont *m_barFont;
+ TQPopupMenu *m_menu;
RosegardenGUIDoc *m_doc;
RulerScale *m_rulerScale;