diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/timelabels.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/timelabels.h')
-rw-r--r-- | korganizer/timelabels.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 <qscrollview.h> -#include <qlabel.h> +#include <tqscrollview.h> +#include <tqlabel.h> 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 |