summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/TempoRuler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/TempoRuler.h')
-rw-r--r--src/gui/rulers/TempoRuler.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/gui/rulers/TempoRuler.h b/src/gui/rulers/TempoRuler.h
index 1d54e9d..7bf073e 100644
--- a/src/gui/rulers/TempoRuler.h
+++ b/src/gui/rulers/TempoRuler.h
@@ -28,19 +28,19 @@
#include "gui/dialogs/TempoDialog.h"
#include <kxmlguiclient.h>
-#include <qfont.h>
-#include <qfontmetrics.h>
-#include <qpixmap.h>
-#include <qsize.h>
-#include <qwidget.h>
+#include <tqfont.h>
+#include <tqfontmetrics.h>
+#include <tqpixmap.h>
+#include <tqsize.h>
+#include <tqwidget.h>
#include "base/Event.h"
-class QWheelEvent;
-class QPopupMenu;
-class QPaintEvent;
-class QMouseEvent;
-class QEvent;
+class TQWheelEvent;
+class TQPopupMenu;
+class TQPaintEvent;
+class TQMouseEvent;
+class TQEvent;
class KMainWindow;
@@ -58,7 +58,7 @@ class Composition;
* x-coordinates corresponding to tempo changes in a Composition.
*/
-class TempoRuler : public QWidget, public KXMLGUIClient
+class TempoRuler : public TQWidget, public KXMLGUIClient
{
Q_OBJECT
@@ -76,13 +76,13 @@ public:
double xorigin = 0.0,
int height = 0,
bool small = false,
- QWidget* parent = 0,
+ TQWidget* parent = 0,
const char *name = 0);
~TempoRuler();
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
void setMinimumWidth(int width) { m_width = width; }
@@ -119,13 +119,13 @@ protected slots:
void slotEditTempos();
protected:
- virtual void paintEvent(QPaintEvent *);
- virtual void enterEvent(QEvent *);
- virtual void leaveEvent(QEvent *);
- virtual void mousePressEvent(QMouseEvent *);
- virtual void mouseReleaseEvent(QMouseEvent *);
- virtual void mouseMoveEvent(QMouseEvent *);
- virtual void wheelEvent(QWheelEvent *);
+ virtual void paintEvent(TQPaintEvent *);
+ virtual void enterEvent(TQEvent *);
+ virtual void leaveEvent(TQEvent *);
+ virtual void mousePressEvent(TQMouseEvent *);
+ virtual void mouseReleaseEvent(TQMouseEvent *);
+ virtual void mouseMoveEvent(TQMouseEvent *);
+ virtual void wheelEvent(TQWheelEvent *);
void createMenu();
@@ -165,13 +165,13 @@ private:
Composition *m_composition;
RulerScale *m_rulerScale;
TextFloat *m_textFloat;
- QPopupMenu *m_menu;
+ TQPopupMenu *m_menu;
KMainWindow *m_parentMainWindow;
- QFont m_font;
- QFont m_boldFont;
- QFontMetrics m_fontMetrics;
- QPixmap m_buffer;
+ TQFont m_font;
+ TQFont m_boldFont;
+ TQFontMetrics m_fontMetrics;
+ TQPixmap m_buffer;
};