diff options
Diffstat (limited to 'korganizer/koeditorfreebusy.h')
-rw-r--r-- | korganizer/koeditorfreebusy.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/korganizer/koeditorfreebusy.h b/korganizer/koeditorfreebusy.h index 9ff3af21c..854bc1126 100644 --- a/korganizer/koeditorfreebusy.h +++ b/korganizer/koeditorfreebusy.h @@ -26,9 +26,9 @@ #include "koattendeeeditor.h" -#include <qwidget.h> -#include <qdatetime.h> -#include <qtimer.h> +#include <tqwidget.h> +#include <tqdatetime.h> +#include <tqtimer.h> class KDIntervalColorRectangle; class QLabel; @@ -46,7 +46,7 @@ class KOEditorFreeBusy : public KOAttendeeEditor { Q_OBJECT public: - KOEditorFreeBusy( int spacing = 8, QWidget *parent = 0, + KOEditorFreeBusy( int spacing = 8, TQWidget *parent = 0, const char *name = 0 ); virtual ~KOEditorFreeBusy(); @@ -64,17 +64,17 @@ class KOEditorFreeBusy : public KOAttendeeEditor void cancelReload(); signals: - void dateTimesChanged( const QDateTime &, const QDateTime & ); + void dateTimesChanged( const TQDateTime &, const TQDateTime & ); public slots: - void slotInsertFreeBusy( KCal::FreeBusy *fb, const QString &email ); + void slotInsertFreeBusy( KCal::FreeBusy *fb, const TQString &email ); - void setDateTimes( const QDateTime &, const QDateTime & ); + void setDateTimes( const TQDateTime &, const TQDateTime & ); void editFreeBusyUrl( KDGanttViewItem *item ); protected slots: - void slotUpdateGanttView( const QDateTime &, const QDateTime & ); + void slotUpdateGanttView( const TQDateTime &, const TQDateTime & ); void slotScaleChanged( int ); void slotCenterOnStart() ; void slotZoomToTime(); @@ -85,43 +85,43 @@ class KOEditorFreeBusy : public KOAttendeeEditor void manualReload(); // Only download FB if the auto-download option is set in config void autoReload(); - void slotIntervalColorRectangleMoved( const QDateTime& start, const QDateTime& end ); + void slotIntervalColorRectangleMoved( const TQDateTime& start, const TQDateTime& end ); void removeAttendee(); void listViewClicked( int button, KDGanttViewItem* item ); protected: - void timerEvent( QTimerEvent* ); + void timerEvent( TQTimerEvent* ); KCal::Attendee* currentAttendee() const; void updateCurrentItem(); void clearSelection() const; void changeStatusForMe( KCal::Attendee::PartStat status ); - virtual bool eventFilter( QObject *watched, QEvent *event ); + virtual bool eventFilter( TQObject *watched, TQEvent *event ); private slots: - void slotOrganizerChanged( const QString &newOrganizer ); + void slotOrganizerChanged( const TQString &newOrganizer ); private: void updateFreeBusyData( FreeBusyItem * ); - bool findFreeSlot( QDateTime &dtFrom, QDateTime &dtTo ); - bool tryDate( QDateTime &tryFrom, QDateTime &tryTo ); + bool findFreeSlot( TQDateTime &dtFrom, TQDateTime &dtTo ); + bool tryDate( TQDateTime &tryFrom, TQDateTime &tryTo ); bool tryDate( FreeBusyItem *attendee, - QDateTime &tryFrom, QDateTime &tryTo ); + TQDateTime &tryFrom, TQDateTime &tryTo ); void updateStatusSummary(); void reload(); KDGanttView *mGanttView; KDIntervalColorRectangle* mEventRectangle; - QLabel *mStatusSummaryLabel; + TQLabel *mStatusSummaryLabel; bool mIsOrganizer; - QComboBox *scaleCombo; + TQComboBox *scaleCombo; - QDateTime mDtStart, mDtEnd; + TQDateTime mDtStart, mDtEnd; - QTimer mReloadTimer; + TQTimer mReloadTimer; bool mForceDownload; - QString mCurrentOrganizer; + TQString mCurrentOrganizer; }; #endif |