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: root on i386.ports.openbsd.org on Tue Sep 9 03:45:42 2003, using kdoc 2.0a54. |