summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/todostatemapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/egroupware/todostatemapper.h')
-rw-r--r--kresources/egroupware/todostatemapper.h34
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