KFileShare Class Reference
Common functionality for the file sharing (communication with the backend)- Since:
- 3.1.
#include <kfileshare.h>
Static Public Methods | |
void | readConfig () |
Called on application startup, to initialize authorization and shareList Can also be called later, when the configuration changes. | |
bool | isDirectoryShared (const QString &path) |
Call this to know if a directory is currently shared. | |
Authorization | authorization () |
Call this to know if the current user is authorized to share directories. |
Detailed Description
Common functionality for the file sharing (communication with the backend)- Since:
- 3.1.
Definition at line 49 of file kfileshare.h.
Member Function Documentation
|
Called on application startup, to initialize authorization and shareList Can also be called later, when the configuration changes.
Definition at line 73 of file kfileshare.cpp. References KProcess::Block, KProcIO::fgets(), QString::isEmpty(), KStaticDeleter< type >::setObject(), and KProcIO::start(). Referenced by KFileSharePropsPlugin::applyChanges(), authorization(), and isDirectoryShared(). |
|
Call this to know if a directory is currently shared.
Definition at line 129 of file kfileshare.cpp. References QString::length(), and readConfig(). Referenced by KFileItem::overlays(). |
|
Call this to know if the current user is authorized to share directories.
Definition at line 141 of file kfileshare.cpp. References readConfig(). |
The documentation for this class was generated from the following files: