summaryrefslogtreecommitdiffstats
path: root/korganizer/journalentry.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/journalentry.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/journalentry.h')
-rw-r--r--korganizer/journalentry.h44
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;
};