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 /kresources/egroupware/todostatemapper.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 'kresources/egroupware/todostatemapper.h')
-rw-r--r-- | kresources/egroupware/todostatemapper.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kresources/egroupware/todostatemapper.h b/kresources/egroupware/todostatemapper.h index c5590ef25..46c531cfc 100644 --- a/kresources/egroupware/todostatemapper.h +++ b/kresources/egroupware/todostatemapper.h @@ -22,8 +22,8 @@ #ifndef TODOSTATEMAPPER_H #define TODOSTATEMAPPER_H -#include <qdatastream.h> -#include <qmap.h> +#include <tqdatastream.h> +#include <tqmap.h> class TodoStateMapper { @@ -35,41 +35,41 @@ class TodoStateMapper TodoStateMapper(); ~TodoStateMapper(); - void setPath( const QString &path ); - void setIdentifier( const QString &identifier ); + void setPath( const TQString &path ); + void setIdentifier( const TQString &identifier ); bool load(); bool save(); void clear(); - void addTodoState( const QString &uid, int localState, const QString &remoteState ); + void addTodoState( const TQString &uid, int localState, const TQString &remoteState ); - QString remoteState( const QString &uid, int localState ); + TQString remoteState( const TQString &uid, int localState ); - void remove( const QString &uid ); + void remove( const TQString &uid ); - static int toLocal( const QString &remoteState ); - static QString toRemote( int localState ); + static int toLocal( const TQString &remoteState ); + static TQString toRemote( int localState ); protected: - QString filename(); + TQString filename(); private: - QString mPath; - QString mIdentifier; + TQString mPath; + TQString mIdentifier; typedef struct { - QString uid; + TQString uid; int localState; - QString remoteState; + TQString remoteState; } TodoStateMapEntry; - typedef QMap<QString, TodoStateMapEntry> TodoStateMap; + typedef TQMap<TQString, TodoStateMapEntry> TodoStateMap; TodoStateMap mTodoStateMap; - friend QDataStream &operator<<( QDataStream&, const TodoStateMapEntry& ); - friend QDataStream &operator>>( QDataStream&, TodoStateMapEntry& ); + friend TQDataStream &operator<<( TQDataStream&, const TodoStateMapEntry& ); + friend TQDataStream &operator>>( TQDataStream&, TodoStateMapEntry& ); }; #endif |