summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneralevent.h
diff options
context:
space:
mode:
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