summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorfreebusy.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/koeditorfreebusy.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/koeditorfreebusy.h')
-rw-r--r--korganizer/koeditorfreebusy.h40
1 files changed, 20 insertions, 20 deletions
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 <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