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/kdatenavigator.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/kdatenavigator.h')
-rw-r--r-- | korganizer/kdatenavigator.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h index 873c4cd3e..07e85c2d5 100644 --- a/korganizer/kdatenavigator.h +++ b/korganizer/kdatenavigator.h @@ -25,8 +25,8 @@ #ifndef KDATENAVIGATOR_H #define KDATENAVIGATOR_H -#include <qframe.h> -#include <qdatetime.h> +#include <tqframe.h> +#include <tqdatetime.h> #include <libkcal/incidencebase.h> @@ -46,7 +46,7 @@ class KDateNavigator: public QFrame { Q_OBJECT public: - KDateNavigator( QWidget *parent = 0, const char *name = 0 ); + KDateNavigator( TQWidget *parent = 0, const char *name = 0 ); ~KDateNavigator(); /** @@ -54,15 +54,15 @@ class KDateNavigator: public QFrame */ void setCalendar( Calendar * ); - void setBaseDate( const QDate & ); + void setBaseDate( const TQDate & ); KCal::DateList selectedDates() const { return mSelectedDates; } - QSizePolicy sizePolicy () const; + TQSizePolicy sizePolicy () const; NavigatorBar *navigatorBar() const { return mNavigatorBar; } - QDate startDate() const; - QDate endDate() const; + TQDate startDate() const; + TQDate endDate() const; public slots: void selectDates( const KCal::DateList & ); @@ -73,9 +73,9 @@ class KDateNavigator: public QFrame signals: void datesSelected( const KCal::DateList & ); - void incidenceDropped( Incidence *, const QDate & ); - void incidenceDroppedMove( Incidence *, const QDate & ); - void weekClicked( const QDate &); + void incidenceDropped( Incidence *, const TQDate & ); + void incidenceDroppedMove( Incidence *, const TQDate & ); + void weekClicked( const TQDate &); void goPrevious(); void goNext(); @@ -90,22 +90,22 @@ class KDateNavigator: public QFrame protected: void updateDates(); - void wheelEvent( QWheelEvent * ); + void wheelEvent( TQWheelEvent * ); - bool eventFilter( QObject *,QEvent * ); + bool eventFilter( TQObject *,TQEvent * ); void setShowWeekNums( bool enabled ); private: NavigatorBar *mNavigatorBar; - QLabel *mHeadings[ 7 ]; - QLabel *mWeeknos[ 7 ]; + TQLabel *mHeadings[ 7 ]; + TQLabel *mWeeknos[ 7 ]; KODayMatrix *mDayMatrix; KCal::DateList mSelectedDates; - QDate mBaseDate; + TQDate mBaseDate; // Disabling copy constructor and assignment operator KDateNavigator( const KDateNavigator & ); |