22 #ifndef KPIM_IDMAPPER_H
23 #define KPIM_IDMAPPER_H
26 #include <tqvariant.h>
28 #include <tdemacros.h>
55 IdMapper( const TQString &path, const TQString &identifier = TQString() );
62 void setPath( const TQString &path );
66 TQString path() const { return mPath; }
71 void setIdentifier( const TQString &identifier );
95 void setRemoteId( const TQString &localId, const TQString &remoteId );
100 void removeRemoteId( const TQString &remoteId );
105 TQString remoteId( const TQString &localId ) const;
110 TQString localId( const TQString &remoteId ) const;
119 void setFingerprint( const TQString &localId, const TQString &fingerprint );
127 const TQString &fingerprint( const TQString &localId ) const;
135 TQMap<TQString, TQString> remoteIdMap() const;
141 TQString asString() const;
150 TQStringVariantMap mIdMap;
151 TQMap<TQString, TQString> mFingerprintMap;
154 TQString mIdentifier;
TQString identifier() const Return id map identifier.
TQString path() const Return id map path.
KPIM holds all kinds of functions specific to KDE PIM.
|