class KFileShare

# class KFileShare | Common functionality for the file sharing (communication with the backend) More...
Definition | `#include <kfileshare.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Types

- enum Authorization { NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }

#### Public Static Methods

- static void readConfig ()
- static bool isDirectoryShared ( const QString& path )
- static Authorization authorization ()
- static QString findExe ( const char* exeName )
- static bool setShared ( const QString& path, bool shared )

## Detailed Description

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 macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.