class KFileShare
|
Common functionality for the file sharing
(communication with the backend)
More... |
|
|
Public Types
- enum Authorization { NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }
Public Static Methods
Common functionality for the file sharing
(communication with the backend)
void readConfig ()
| readConfig |
[static]
Called on application startup, to initialize authorization and shareList
Can also be called later, when the configuration changes
bool isDirectoryShared ( const QString& path )
| isDirectoryShared |
[static]
Call this to know if a directory is currently shared
enum Authorization { NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }
| Authorization |
Authorization authorization ()
| authorization |
[static]
Call this to know if the current user is authorized to share directories
QString findExe ( const char* exeName )
| findExe |
[static]
bool setShared ( const QString& path, bool shared )
| setShared |
[static]
Generated by: caleb on tcdevel on Tue Jan 28 12:54:15 2003, using kdoc $. |