diff options
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 & ); |