diff options
Diffstat (limited to 'kuser/kgroup.h')
-rw-r--r-- | kuser/kgroup.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/kuser/kgroup.h b/kuser/kgroup.h index c91f496..e3deae0 100644 --- a/kuser/kgroup.h +++ b/kuser/kgroup.h @@ -23,9 +23,9 @@ #include <sys/types.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqptrlist.h> #include "kuserprefs.h" #include "sid.h" @@ -46,27 +46,27 @@ public: void setCaps( int data ); int getCaps(); - const QString &getName() const; - const QString &getPwd() const; + const TQString &getName() const; + const TQString &getPwd() const; gid_t getGID() const; const SID &getSID() const; int getType() const; - const QString &getDisplayName() const; - const QString &getDesc() const; + const TQString &getDisplayName() const; + const TQString &getDesc() const; - void setName(const QString &data); - void setPwd(const QString &data); + void setName(const TQString &data); + void setPwd(const TQString &data); void setGID(gid_t data); void setSID(const SID &data); void setType(int data); - void setDisplayName(const QString &data); - void setDesc(const QString &data); + void setDisplayName(const TQString &data); + void setDesc(const TQString &data); - bool addUser(const QString &name); - bool removeUser(const QString &name); - bool lookup_user(const QString &name); + bool addUser(const TQString &name); + bool removeUser(const TQString &name); + bool lookup_user(const TQString &name); uint count() const; - QString user(uint i); + TQString user(uint i); void clear(); protected: @@ -79,10 +79,10 @@ protected: SID sid; int type; int caps; - QString displayname; - QString desc; + TQString displayname; + TQString desc; - QStringList u; + TQStringList u; }; class KGroups { @@ -94,24 +94,24 @@ public: Cap_Samba = 8 }; - typedef QPtrListIterator<KGroup> DelIt; - typedef QPtrListIterator<KGroup> AddIt; - typedef QMapIterator<KGroup*, KGroup> ModIt; + typedef TQPtrListIterator<KGroup> DelIt; + typedef TQPtrListIterator<KGroup> AddIt; + typedef TQMapIterator<KGroup*, KGroup> ModIt; - QPtrList<KGroup> mDelSucc; - QPtrList<KGroup> mAddSucc; - QMap<KGroup*, KGroup> mModSucc; + TQPtrList<KGroup> mDelSucc; + TQPtrList<KGroup> mAddSucc; + TQMap<KGroup*, KGroup> mModSucc; KGroups( KUserPrefsBase *cfg ); virtual ~KGroups(); int getCaps() const { return caps; } - const QString &getDOMSID() const; + const TQString &getDOMSID() const; - KGroup *lookup( const QString &name ); + KGroup *lookup( const TQString &name ); KGroup *lookup( gid_t gid ); KGroup *lookup_sam( const SID &sid ); - KGroup *lookup_sam( const QString &sid ); + KGroup *lookup_sam( const TQString &sid ); KGroup *lookup_sam( uint rid ); KGroup *first(); @@ -136,13 +136,13 @@ public: protected: KUserPrefsBase *mCfg; - QPtrList<KGroup> mGroups; + TQPtrList<KGroup> mGroups; - QPtrList<KGroup> mDel; - QPtrList<KGroup> mAdd; - QMap<KGroup*, KGroup> mMod; + TQPtrList<KGroup> mDel; + TQPtrList<KGroup> mAdd; + TQMap<KGroup*, KGroup> mMod; int caps; - QString domsid; + TQString domsid; }; } |