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

Public Static Methods


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: caleb on tcdevel on Tue Jan 28 12:54:15 2003, using kdoc $.