kresources
idmapper.cpp
Go to the documentation of this file.
147 content += it.key() + QLatin1String("\x02\x02") + it.value().toString() + QLatin1String("\x02\x02") + fingerprint + QLatin1String("\r\n");
220 content += it.key() + QLatin1Char('\t') + it.value().toString() + QLatin1Char('\t') + fp + QLatin1String("\r\n");
QString localId(const QString &remoteId) const
Returns the local id for the given remote id.
Definition: idmapper.cpp:198
QString remoteId(const QString &localId) const
Returns the remote id of the given local id.
Definition: idmapper.cpp:186
QMap< QString, QString > remoteIdMap() const
Returns the entire map of local-to-remote Ids.
Definition: idmapper.cpp:242
QString fingerprint(const QString &localId) const
Returns the fingerprint for the map.
Definition: idmapper.cpp:233
void setRemoteId(const QString &localId, const QString &remoteId)
Stores the remote id for the given local id.
Definition: idmapper.cpp:162
QString asString() const
Returns a string representation of the id pairs, that's useful for debugging.
Definition: idmapper.cpp:210
This file is part of the KDE resource framework and defines the IdMapper class.
void setFingerprint(const QString &localId, const QString &fingerprint)
Stores a fingerprint for an id which can be used to detect if the locally held version differs from w...
Definition: idmapper.cpp:226
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.