summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneralevent.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/koeditorgeneralevent.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/koeditorgeneralevent.h')
-rw-r--r--korganizer/koeditorgeneralevent.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/korganizer/koeditorgeneralevent.h b/korganizer/koeditorgeneralevent.h
index 67fc51e4d..21a7dfc4d 100644
--- a/korganizer/koeditorgeneralevent.h
+++ b/korganizer/koeditorgeneralevent.h
@@ -25,7 +25,7 @@
#define _KOEDITORGENERALEVENT_H
#include "koeditorgeneral.h"
-#include <qdatetime.h>
+#include <tqdatetime.h>
class QLabel;
class KDateEdit;
@@ -43,17 +43,17 @@ class KOEditorGeneralEvent : public KOEditorGeneral
{
Q_OBJECT
public:
- KOEditorGeneralEvent (QObject* parent=0,const char* name=0);
+ KOEditorGeneralEvent (TQObject* parent=0,const char* name=0);
virtual ~KOEditorGeneralEvent();
- void initTime(QWidget *,QBoxLayout *);
- void initClass(QWidget *,QBoxLayout *);
- void initInvitationBar( QWidget* parent, QBoxLayout *layout );
+ void initTime(TQWidget *,TQBoxLayout *);
+ void initClass(TQWidget *,TQBoxLayout *);
+ void initInvitationBar( TQWidget* parent, TQBoxLayout *layout );
void finishSetup();
/** Set widgets to default values */
- void setDefaults( const QDateTime &from, const QDateTime &to, bool allDay );
+ void setDefaults( const TQDateTime &from, const TQDateTime &to, bool allDay );
/**
Read event object and setup widgets accordingly. If templ is true, the
event is read as template, i.e. the time and date information isn't set.
@@ -65,49 +65,49 @@ class KOEditorGeneralEvent : public KOEditorGeneral
/** Check if the input is valid. */
bool validateInput();
- void updateRecurrenceSummary( const QString &summary );
+ void updateRecurrenceSummary( const TQString &summary );
- QFrame* invitationBar() const { return mInvitationBar; }
+ TQFrame* invitationBar() const { return mInvitationBar; }
public slots:
- void setDateTimes( const QDateTime &start, const QDateTime &end );
+ void setDateTimes( const TQDateTime &start, const TQDateTime &end );
void setDuration();
protected slots:
void timeStuffDisable( bool disable );
void associateTime( bool time );
- void startTimeChanged( QTime );
- void startDateChanged( const QDate& );
- void endTimeChanged( QTime );
- void endDateChanged( const QDate& );
+ void startTimeChanged( TQTime );
+ void startDateChanged( const TQDate& );
+ void endTimeChanged( TQTime );
+ void endDateChanged( const TQDate& );
void emitDateTimeStr();
signals:
void allDayChanged(bool);
- void dateTimeStrChanged( const QString & );
- void dateTimesChanged( const QDateTime &start, const QDateTime &end );
+ void dateTimeStrChanged( const TQString & );
+ void dateTimesChanged( const TQDateTime &start, const TQDateTime &end );
void editRecurrence();
void acceptInvitation();
void declineInvitation();
private:
- QLabel *mStartDateLabel;
- QLabel *mEndDateLabel;
+ TQLabel *mStartDateLabel;
+ TQLabel *mEndDateLabel;
KDateEdit *mStartDateEdit;
KDateEdit *mEndDateEdit;
KTimeEdit *mStartTimeEdit;
KTimeEdit *mEndTimeEdit;
- QLabel *mDurationLabel;
- QCheckBox *mAlldayEventCheckbox;
- QComboBox *mFreeTimeCombo;
- QLabel *mRecurrenceSummary;
- QFrame *mInvitationBar;
+ TQLabel *mDurationLabel;
+ TQCheckBox *mAlldayEventCheckbox;
+ TQComboBox *mFreeTimeCombo;
+ TQLabel *mRecurrenceSummary;
+ TQFrame *mInvitationBar;
// current start and end date and time
- QDateTime mCurrStartDateTime;
- QDateTime mCurrEndDateTime;
+ TQDateTime mCurrStartDateTime;
+ TQDateTime mCurrEndDateTime;
};
#endif