diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/history.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/history.h')
-rw-r--r-- | korganizer/history.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/korganizer/history.h b/korganizer/history.h index a6d6a9f6f..4e71dea14 100644 --- a/korganizer/history.h +++ b/korganizer/history.h @@ -24,8 +24,8 @@ #ifndef KORG_HISTORY_H #define KORG_HISTORY_H -#include <qobject.h> -#include <qptrlist.h> +#include <tqobject.h> +#include <tqptrlist.h> namespace KCal { @@ -46,7 +46,7 @@ class History : public QObject void recordAdd( KCal::Incidence * ); void recordEdit( KCal::Incidence *oldIncidence, KCal::Incidence *newIncidence ); - void startMultiModify( const QString &description ); + void startMultiModify( const TQString &description ); void endMultiModify(); public slots: @@ -57,8 +57,8 @@ class History : public QObject void undone(); void redone(); - void undoAvailable( const QString & ); - void redoAvailable( const QString & ); + void undoAvailable( const TQString & ); + void redoAvailable( const TQString & ); protected: void truncate(); @@ -74,7 +74,7 @@ class History : public QObject virtual void undo() = 0; virtual void redo() = 0; - virtual QString text() = 0; + virtual TQString text() = 0; protected: KCal::Calendar *mCalendar; @@ -89,7 +89,7 @@ class History : public QObject void undo(); void redo(); - QString text(); + TQString text(); private: KCal::Incidence *mIncidence; @@ -104,7 +104,7 @@ class History : public QObject void undo(); void redo(); - QString text(); + TQString text(); private: KCal::Incidence *mIncidence; @@ -120,7 +120,7 @@ class History : public QObject void undo(); void redo(); - QString text(); + TQString text(); private: KCal::Incidence *mOldIncidence; @@ -130,26 +130,26 @@ class History : public QObject class MultiEntry : public Entry { public: - MultiEntry( KCal::Calendar *calendar, const QString &text ); + MultiEntry( KCal::Calendar *calendar, const TQString &text ); ~MultiEntry(); void appendEntry( Entry* entry ); void undo(); void redo(); - QString text(); + TQString text(); private: - QPtrList<Entry> mEntries; - QString mText; + TQPtrList<Entry> mEntries; + TQString mText; }; KCal::Calendar *mCalendar; MultiEntry *mCurrentMultiEntry; - QPtrList<Entry> mEntries; - QPtrListIterator<Entry> mUndoEntry; - QPtrListIterator<Entry> mRedoEntry; + TQPtrList<Entry> mEntries; + TQPtrListIterator<Entry> mUndoEntry; + TQPtrListIterator<Entry> mRedoEntry; }; } |