From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/timelabels.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'korganizer/timelabels.h') diff --git a/korganizer/timelabels.h b/korganizer/timelabels.h index fe0a1aeb0..84ea5473b 100644 --- a/korganizer/timelabels.h +++ b/korganizer/timelabels.h @@ -25,8 +25,8 @@ #ifndef TIMELABELS_H #define TIMELABELS_H -#include -#include +#include +#include class QHBox; class QPushButton; @@ -40,7 +40,7 @@ class TimeLabels : public QScrollView { Q_OBJECT public: - TimeLabels( int rows, QWidget *parent = 0, const char *name = 0, + TimeLabels( int rows, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); /** Calculates the minimum width */ @@ -53,7 +53,7 @@ class TimeLabels : public QScrollView void setAgenda( KOAgenda *agenda ); /** */ - virtual void paintEvent( QPaintEvent *e ); + virtual void paintEvent( TQPaintEvent *e ); public slots: /** update time label positions */ @@ -61,11 +61,11 @@ class TimeLabels : public QScrollView void positionChanged( int pos ); protected: - void drawContents( QPainter *p, int cx, int cy, int cw, int ch ); + void drawContents( TQPainter *p, int cx, int cy, int cw, int ch ); private slots: /** update the position of the marker showing the mouse position */ - void mousePosChanged(const QPoint &pos); + void mousePosChanged(const TQPoint &pos); void showMousePos(); void hideMousePos(); @@ -78,7 +78,7 @@ class TimeLabels : public QScrollView int mMiniWidth; KOAgenda* mAgenda; - QFrame *mMousePos; // shows a marker for the current mouse position in y direction + TQFrame *mMousePos; // shows a marker for the current mouse position in y direction }; #endif -- cgit v1.2.1