diff options
Diffstat (limited to 'korganizer/journalentry.h')
-rw-r--r-- | korganizer/journalentry.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h index 761e77e58..02e85e1e5 100644 --- a/korganizer/journalentry.h +++ b/korganizer/journalentry.h @@ -26,7 +26,7 @@ // // Widget showing one Journal entry -#include <qvbox.h> +#include <tqvbox.h> class QLabel; class KActiveLabel; @@ -46,18 +46,18 @@ namespace KCal { } using namespace KCal; -class JournalEntry : public QWidget { +class JournalEntry : public TQWidget { Q_OBJECT public: typedef ListBase<JournalEntry> List; - JournalEntry( Journal* j, QWidget *parent ); + JournalEntry( Journal* j, TQWidget *parent ); virtual ~JournalEntry(); void setJournal(Journal *); Journal *journal() const { return mJournal; } - QDate date() const { return mDate; } + TQDate date() const { return mDate; } void clear(); void readJournal( Journal *j ); @@ -73,7 +73,7 @@ class JournalEntry : public QWidget { void timeCheckBoxToggled(bool on); public slots: void setIncidenceChanger( IncidenceChangerBase *changer ) { mChanger = changer; } - void setDate(const QDate &); + void setDate(const TQDate &); void flushEntry(); signals: @@ -82,7 +82,7 @@ class JournalEntry : public QWidget { protected: void clearFields(); - bool eventFilter( QObject *o, QEvent *e ); + bool eventFilter( TQObject *o, TQEvent *e ); void writeJournal(); @@ -90,19 +90,19 @@ class JournalEntry : public QWidget { void writeJournalPrivate( Journal *j ); Journal *mJournal; - QDate mDate; + TQDate mDate; bool mReadOnly; - QLabel *mTitleLabel; + TQLabel *mTitleLabel; KLineEdit *mTitleEdit; KTextEdit *mEditor; - QCheckBox *mTimeCheck; + TQCheckBox *mTimeCheck; KTimeEdit *mTimeEdit; - QButton *mDeleteButton; - QButton *mEditButton; - QButton *mPrintButton; + TQButton *mDeleteButton; + TQButton *mEditButton; + TQButton *mPrintButton; - QGridLayout *mLayout; + TQGridLayout *mLayout; bool mDirty; bool mWriteInProgress; @@ -110,30 +110,30 @@ class JournalEntry : public QWidget { }; -class JournalDateEntry : public QVBox { +class JournalDateEntry : public TQVBox { Q_OBJECT public: typedef ListBase<JournalDateEntry> List; - JournalDateEntry( Calendar *, QWidget *parent ); + JournalDateEntry( Calendar *, TQWidget *parent ); virtual ~JournalDateEntry(); void addJournal( Journal * ); Journal::List journals() const; - void setDate( const QDate & ); - QDate date() const { return mDate; } + void setDate( const TQDate & ); + TQDate date() const { return mDate; } void clear(); signals: void setIncidenceChangerSignal( IncidenceChangerBase *changer ); - void setDateSignal( const QDate & ); + void setDateSignal( const TQDate & ); void flushEntries(); void editIncidence( Incidence * ); void deleteIncidence( Incidence * ); - void newJournal( const QDate & ); + void newJournal( const TQDate & ); public slots: void emitNewJournal(); @@ -143,11 +143,11 @@ class JournalDateEntry : public QVBox { private: Calendar *mCalendar; - QDate mDate; - QMap<Journal*,JournalEntry*> mEntries; + TQDate mDate; + TQMap<Journal*,JournalEntry*> mEntries; KActiveLabel *mTitle; - QWidget *mAddBar; + TQWidget *mAddBar; IncidenceChangerBase *mChanger; }; |