diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/libgroupwise/privacymanager.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/privacymanager.h')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/privacymanager.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/privacymanager.h b/kopete/protocols/groupwise/libgroupwise/privacymanager.h index 102c2b0a..0f01eb89 100644 --- a/kopete/protocols/groupwise/libgroupwise/privacymanager.h +++ b/kopete/protocols/groupwise/libgroupwise/privacymanager.h @@ -19,8 +19,8 @@ #ifndef PRIVACYMANAGER_H #define PRIVACYMANAGER_H -#include <qobject.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstringlist.h> class Client; @@ -36,40 +36,40 @@ public: PrivacyManager( Client * client, const char *name = 0); ~PrivacyManager(); // accessors - bool isBlocked( const QString & dn ); - QStringList allowList(); - QStringList denyList(); + bool isBlocked( const TQString & dn ); + TQStringList allowList(); + TQStringList denyList(); bool isPrivacyLocked(); bool defaultDeny(); bool defaultAllow(); // mutators void setDefaultAllow( bool allow ); void setDefaultDeny( bool deny ); - void setAllow( const QString & dn ); - void setDeny( const QString & dn ); + void setAllow( const TQString & dn ); + void setDeny( const TQString & dn ); void getDetailsForPrivacyLists(); // change everything at once - void setPrivacy( bool defaultIsDeny, const QStringList & allowList, const QStringList & denyList ); + void setPrivacy( bool defaultIsDeny, const TQStringList & allowList, const TQStringList & denyList ); signals: - void privacyChanged( const QString &dn, bool allowed ); + void privacyChanged( const TQString &dn, bool allowed ); public slots: /** * Used to initialise the privacy manager using the server side privacy list */ - void slotGotPrivacySettings( bool locked, bool defaultDeny, const QStringList & allowList, const QStringList & denyList ); + void slotGotPrivacySettings( bool locked, bool defaultDeny, const TQStringList & allowList, const TQStringList & denyList ); protected: - void addAllow( const QString & dn ); - void addDeny( const QString & dn ); - void removeAllow( const QString & dn ); - void removeDeny( const QString & dn ); + void addAllow( const TQString & dn ); + void addDeny( const TQString & dn ); + void removeAllow( const TQString & dn ); + void removeDeny( const TQString & dn ); /** * A set difference function * @param lhs The set of strings to be subtracted from * @param rhs The set of string to subtract * @return The difference between the two sets */ - QStringList difference( const QStringList & lhs, const QStringList & rhs ); + TQStringList difference( const TQStringList & lhs, const TQStringList & rhs ); protected slots: // Receive the results of Tasks manipulating the privacy lists void slotDefaultPolicyChanged(); @@ -81,8 +81,8 @@ private: Client * m_client; bool m_locked; bool m_defaultDeny; - QStringList m_allowList; - QStringList m_denyList; + TQStringList m_allowList; + TQStringList m_denyList; }; #endif |