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 /libemailfunctions/idmapper.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 'libemailfunctions/idmapper.h')
-rw-r--r-- | libemailfunctions/idmapper.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libemailfunctions/idmapper.h b/libemailfunctions/idmapper.h index e09587f4c..999c68ac3 100644 --- a/libemailfunctions/idmapper.h +++ b/libemailfunctions/idmapper.h @@ -22,8 +22,8 @@ #ifndef KPIM_IDMAPPER_H #define KPIM_IDMAPPER_H -#include <qmap.h> -#include <qvariant.h> +#include <tqmap.h> +#include <tqvariant.h> #include <kdepimmacros.h> @@ -52,27 +52,27 @@ class KDE_EXPORT IdMapper The current implementation stores the data at $(KDEHOME)/share/apps/\<path\>/\<identifier\>. */ - IdMapper( const QString &path, const QString &identifier = QString::null ); + IdMapper( const TQString &path, const TQString &identifier = TQString::null ); /** Destructor. */ ~IdMapper(); /** Set id map path. */ - void setPath( const QString &path ); + void setPath( const TQString &path ); /** Return id map path. */ - QString path() const { return mPath; } + TQString path() const { return mPath; } /** Set id map identifier. */ - void setIdentifier( const QString &identifier ); + void setIdentifier( const TQString &identifier ); /** Return id map identifier. */ - QString identifier() const { return mIdentifier; } + TQString identifier() const { return mIdentifier; } /** Loads the map. @@ -92,22 +92,22 @@ class KDE_EXPORT IdMapper /** Stores the remote id for the given local id. */ - void setRemoteId( const QString &localId, const QString &remoteId ); + void setRemoteId( const TQString &localId, const TQString &remoteId ); /** Removes the remote id. */ - void removeRemoteId( const QString &remoteId ); + void removeRemoteId( const TQString &remoteId ); /** Returns the remote id of the given local id. */ - QString remoteId( const QString &localId ) const; + TQString remoteId( const TQString &localId ) const; /** Returns the local id for the given remote id. */ - QString localId( const QString &remoteId ) const; + TQString localId( const TQString &remoteId ) const; /** @@ -116,7 +116,7 @@ class KDE_EXPORT IdMapper * This can be a sequence number of an md5 hash depending on what * the server provides */ - void setFingerprint( const QString &localId, const QString &fingerprint ); + void setFingerprint( const TQString &localId, const TQString &fingerprint ); /** * Returns the fingerprint for the map. @@ -124,7 +124,7 @@ class KDE_EXPORT IdMapper * @todo Figure out if this applies to the last set fingerprint * or if anything else can change it. */ - const QString &fingerprint( const QString &localId ) const; + const TQString &fingerprint( const TQString &localId ) const; /** @@ -132,26 +132,26 @@ class KDE_EXPORT IdMapper * * @todo Document what the map means. */ - QMap<QString, QString> remoteIdMap() const; + TQMap<TQString, TQString> remoteIdMap() const; /** * Returns a string representation of the id pairs, that's usefull * for debugging. */ - QString asString() const; + TQString asString() const; protected: /** * Returns the filename this mapper is (or will be) stored in. */ - QString filename(); + TQString filename(); private: - QMap<QString, QVariant> mIdMap; - QMap<QString, QString> mFingerprintMap; + TQMap<TQString, TQVariant> mIdMap; + TQMap<TQString, TQString> mFingerprintMap; - QString mPath; - QString mIdentifier; + TQString mPath; + TQString mIdentifier; }; } |