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/koeditorfreebusy.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'korganizer/koeditorfreebusy.h') diff --git a/korganizer/koeditorfreebusy.h b/korganizer/koeditorfreebusy.h index 9ff3af21..854bc112 100644 --- a/korganizer/koeditorfreebusy.h +++ b/korganizer/koeditorfreebusy.h @@ -26,9 +26,9 @@ #include "koattendeeeditor.h" -#include -#include -#include +#include +#include +#include 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 -- cgit v1.2.3