53 bool init(
const QString& aDbFile,
const QString& aStorageId );
65 QString
key(
const QString& aValue );
72 QString
value(
const QString& aKey );
80 QString
add(
const QString &aKey );
85 QString iConnectionName;
87 QMap<QString, quint32> iKeyToValueMap;
88 QMap<quint32, QString> iValueToKeyMap;
91 friend class ItemIdMapperTest;
Storage for persistently mapping ID's supplied by storage plugins to formats suitable for remote Sync...
Definition debian/tmp/usr/include/syncmlcommon/ItemIdMapper.h:34
virtual ~ItemIdMapper()
Destructor.
QString key(const QString &aValue)
Maps the specified value to key.
bool init(const QString &aDbFile, const QString &aStorageId)
Initializes ID mapper for storage.
QString add(const QString &aKey)
Adds a new key.
QString value(const QString &aKey)
Maps the specified key to value.
ItemIdMapper()
Constructor.
void uninit()
Uninitializes ID mapper for storage.