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 /kpilot/lib/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 'kpilot/lib/idmapper.h')
-rw-r--r-- | kpilot/lib/idmapper.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kpilot/lib/idmapper.h b/kpilot/lib/idmapper.h index 0364dbc93..b2ff0efe5 100644 --- a/kpilot/lib/idmapper.h +++ b/kpilot/lib/idmapper.h @@ -25,9 +25,9 @@ ** Bug reports and questions can be sent to [email protected] */ -#include <qstring.h> -#include <qdatetime.h> -#include <qvaluelist.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqvaluelist.h> #include "pi-macros.h" @@ -51,85 +51,85 @@ public: /** * Creates a new IDMapper with file as datasource. */ - IDMapper( const QString &file ); + IDMapper( const TQString &file ); ~IDMapper(); /** * Adds an uid for PC objects to the database. */ - void registerPCObjectId( const QString &conduit, const QString &uid ); + void registerPCObjectId( const TQString &conduit, const TQString &uid ); /** * Returns all known uid's for given conduit. */ - QValueList<QString> getPCObjectIds( const QString &conduit ); + TQValueList<TQString> getPCObjectIds( const TQString &conduit ); /** * Adds a pid for HH objects to the database. */ - void registerHHObjectId( const QString &conduit, recordid_t pid ); + void registerHHObjectId( const TQString &conduit, recordid_t pid ); /** * Returns all know pids for given conduit. */ - QValueList<recordid_t> getHHObjectIds( const QString &conduit ); + TQValueList<recordid_t> getHHObjectIds( const TQString &conduit ); /** * Sets the PC uid for the handheld record with pid. Does nothing when * there is no handheld record with pid. */ - void setPCObjectId( const QString &conduit, recordid_t pid - , const QString &uid ); + void setPCObjectId( const TQString &conduit, recordid_t pid + , const TQString &uid ); /** * Sets the PC uid for the handheld record with pid. Does nothing when * there is no handheld record with pid. */ - void setHHObjectId( const QString &conduit, const QString &uid + void setHHObjectId( const TQString &conduit, const TQString &uid , recordid_t pid ); /** * Returns the PC uid for the handheld record with pid. Returns 0 when no * pid exists for given uid. */ - recordid_t getHHObjectId( const QString &conduit, const QString &uid ); + recordid_t getHHObjectId( const TQString &conduit, const TQString &uid ); /** * Returns the HH pid for the PC record with uid. Returns an empty string * when no uid exists for given pid. */ - QString getHHObjectId( const QString &conduit, recordid_t pid ); + TQString getHHObjectId( const TQString &conduit, recordid_t pid ); /** * Returns true when there is a uid set for given pid. The conduit itself * must determine if the two objects are in sync if this function returns * true. */ - bool hasPCId( const QString &conduit, recordid_t pid ); + bool hasPCId( const TQString &conduit, recordid_t pid ); /** * Returns true when there is a pid set for given uid. The conduit itself * must determine if the two objects are in sync if this function returns * true. */ - bool hasHHId( const QString &conduit, const QString &uid ); + bool hasHHId( const TQString &conduit, const TQString &uid ); /** * Sets the time that the two objects where last synced. The conduits * should call this method (or the pid version) when two objects are synced. * When the uid does not exist nothing happens. */ - void setLastSyncTime( const QString &conduit, const QString &uid, - const QDateTime &date ); + void setLastSyncTime( const TQString &conduit, const TQString &uid, + const TQDateTime &date ); /** * Sets the time that the two objects where last synced. The conduits * should call this (or the uid version) method when two objects are synced. * When the pid does not exist nothing happens. */ - void setLastSyncTime( const QString &conduit, recordid_t pid - , const QDateTime &date ); + void setLastSyncTime( const TQString &conduit, recordid_t pid + , const TQDateTime &date ); /** * Returns the date/time for the last time that the item with uid was @@ -138,7 +138,7 @@ public: * * Returns a null datetime when the pid does not excist. */ - QDateTime lastTimeSynced( const QString &conduit, const QString &uid ); + TQDateTime lastTimeSynced( const TQString &conduit, const TQString &uid ); /** * Returns the date/time for the last time that the item with pid was @@ -147,10 +147,10 @@ public: * * Returns a null datetime when the pid does not excist. */ - QDateTime lastTimeSynced( const QString &conduit, recordid_t pid ); + TQDateTime lastTimeSynced( const TQString &conduit, recordid_t pid ); protected: - bool openDatasource( const QString &file ); + bool openDatasource( const TQString &file ); private: IDMapperPrivate *fP; |