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/scalix/shared/subresource.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kresources/scalix/shared/subresource.h') diff --git a/kresources/scalix/shared/subresource.h b/kresources/scalix/shared/subresource.h index 3cfc4429..f7898c14 100644 --- a/kresources/scalix/shared/subresource.h +++ b/kresources/scalix/shared/subresource.h @@ -34,8 +34,8 @@ #ifndef SUBRESOURCE_H #define SUBRESOURCE_H -#include -#include +#include +#include namespace Scalix { @@ -49,7 +49,7 @@ 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 ); virtual ~SubResource(); @@ -59,8 +59,8 @@ public: virtual void setWritable( bool writable ); virtual bool writable() 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; @@ -68,7 +68,7 @@ public: private: bool mActive; // Controlled by the applications bool mWritable; // Set if the KMail folder is writable - 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 @@ -77,7 +77,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 @@ -89,21 +89,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.3