From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/kolab/shared/subresource.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kresources/kolab/shared/subresource.h') diff --git a/kresources/kolab/shared/subresource.h b/kresources/kolab/shared/subresource.h index 1bdd98cd5..87f98e6dd 100644 --- a/kresources/kolab/shared/subresource.h +++ b/kresources/kolab/shared/subresource.h @@ -33,8 +33,8 @@ #ifndef SUBRESOURCE_H #define SUBRESOURCE_H -#include -#include +#include +#include namespace Kolab { @@ -48,11 +48,11 @@ public: // This is just for QMap SubResource() {} - SubResource( bool active, bool writable, const QString& label, + SubResource( bool active, bool writable, const TQString& label, int completionWeight = 100 ); SubResource( bool active, bool writable, bool alarmRelevant, - const QString& label, int completionWeight = 100 ); + const TQString& label, int completionWeight = 100 ); virtual ~SubResource(); virtual void setActive( bool active ); @@ -64,8 +64,8 @@ public: virtual void setAlarmRelevant( bool active ); virtual bool alarmRelevant() const; - virtual void setLabel( const QString& label ); - virtual QString label() const; + virtual void setLabel( const TQString& label ); + virtual TQString label() const; virtual void setCompletionWeight( int completionWeight ); virtual int completionWeight() const; @@ -75,7 +75,7 @@ private: bool mWritable; // Set if the KMail folder is writable bool mAlarmRelevant; // Set if the alarms from this resource are of // interest to the user, as per folder acls - QString mLabel; // The GUI name of this resource + TQString mLabel; // The GUI name of this resource // This is just for the abc plugin. But as long as only this is here, // it's just as cheap to have it in here as making a d-pointer that @@ -84,7 +84,7 @@ private: int mCompletionWeight; }; -typedef QMap ResourceMap; +typedef TQMap ResourceMap; /** * This class is used to store a mapping from the XML UID to the KMail @@ -96,21 +96,21 @@ public: // Just for QMap StorageReference() {} - StorageReference( const QString& resource, Q_UINT32 sernum ); + StorageReference( const TQString& resource, Q_UINT32 sernum ); virtual ~StorageReference(); - virtual void setResource( const QString& resource ); - virtual QString resource() const; + virtual void setResource( const TQString& resource ); + virtual TQString resource() const; virtual void setSerialNumber( Q_UINT32 serialNumber ); virtual Q_UINT32 serialNumber() const; private: - QString mResource; + TQString mResource; Q_UINT32 mSerialNumber; }; -typedef QMap UidMap; +typedef TQMap UidMap; } -- cgit v1.2.1