diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/kio/kfileshare.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kio/kfileshare.h')
-rw-r--r-- | kio/kio/kfileshare.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kio/kio/kfileshare.h b/kio/kio/kfileshare.h index d95e9764f..6753e055a 100644 --- a/kio/kio/kfileshare.h +++ b/kio/kio/kfileshare.h @@ -19,7 +19,7 @@ #ifndef kfileshare_h #define kfileshare_h -#include <qobject.h> +#include <tqobject.h> #include <kdelibs_export.h> @@ -40,7 +40,7 @@ public: static KFileSharePrivate *self(); static KFileSharePrivate *_self; protected slots: // this is why this class needs to be in the .h - void slotFileChange(const QString &); + void slotFileChange(const TQString &); }; /** @@ -67,7 +67,7 @@ public: /** * Call this to know if a directory is currently shared */ - static bool isDirectoryShared( const QString& path ); + static bool isDirectoryShared( const TQString& path ); enum Authorization { NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }; /** @@ -75,7 +75,7 @@ public: */ static Authorization authorization(); - static QString findExe( const char* exeName ); + static TQString findExe( const char* exeName ); /** * Uses a suid perl script to share the given path @@ -84,7 +84,7 @@ public: * @param shared whether the path should be shared or not * @returns whether the perl script was successful */ - static bool setShared( const QString& path, bool shared ); + static bool setShared( const TQString& path, bool shared ); /** * The used share mode. @@ -115,7 +115,7 @@ public: * That is, all users in that group are allowed to * share files if file sharing is restricted. */ - static QString fileShareGroup(); + static TQString fileShareGroup(); /** * Returns the configured share mode @@ -134,12 +134,12 @@ public: private: static Authorization s_authorization; - static QStringList* s_shareList; + static TQStringList* s_shareList; static ShareMode s_shareMode; static bool s_sambaEnabled; static bool s_nfsEnabled; static bool s_restricted; - static QString s_fileShareGroup; + static TQString s_fileShareGroup; static bool s_sharingEnabled; }; |