FileProtocol Class Reference
#include <file.h>
List of all members.
|
Public Member Functions |
virtual void | chmod (const KURL &url, int permissions) |
virtual void | copy (const KURL &src, const KURL &dest, int permissions, bool overwrite) |
virtual void | del (const KURL &url, bool isfile) |
| FileProtocol (const QCString &pool, const QCString &app) |
virtual void | get (const KURL &url) |
virtual void | listDir (const KURL &url) |
virtual void | mkdir (const KURL &url, int permissions) |
void | mount (bool _ro, const char *_fstype, const QString &dev, const QString &point) |
bool | pmount (const QString &dev) |
bool | pumount (const QString &point) |
virtual void | put (const KURL &url, int permissions, bool overwrite, bool resume) |
virtual void | rename (const KURL &src, const KURL &dest, bool overwrite) |
virtual void | special (const QByteArray &data) |
virtual void | stat (const KURL &url) |
virtual void | symlink (const QString &target, const KURL &dest, bool overwrite) |
void | unmount (const QString &point) |
virtual | ~FileProtocol () |
Protected Slots |
void | slotInfoMessage (const QString &msg) |
void | slotProcessedSize (KIO::filesize_t _bytes) |
Protected Member Functions |
bool | createUDSEntry (const QString &filename, const QCString &path, KIO::UDSEntry &entry, short int details, bool withACL) |
QString | getGroupName (gid_t gid) |
QString | getUserName (uid_t uid) |
int | setACL (const char *path, mode_t perm, bool _directoryDefault) |
Protected Attributes |
FileProtocolPrivate * | d |
QIntDict< QString > | groupcache |
QIntDict< QString > | usercache |
Detailed Description
Definition at line 43 of file file.h.
Constructor & Destructor Documentation
virtual FileProtocol::~FileProtocol |
( |
|
) |
[inline, virtual] |
Member Function Documentation
void FileProtocol::chmod |
( |
const KURL & |
url, |
|
|
int |
permissions | |
|
) |
| | [virtual] |
void FileProtocol::copy |
( |
const KURL & |
src, |
|
|
const KURL & |
dest, |
|
|
int |
permissions, |
|
|
bool |
overwrite | |
|
) |
| | [virtual] |
bool FileProtocol::createUDSEntry |
( |
const QString & |
filename, |
|
|
const QCString & |
path, |
|
|
KIO::UDSEntry & |
entry, |
|
|
short int |
details, |
|
|
bool |
withACL | |
|
) |
| | [protected] |
void FileProtocol::del |
( |
const KURL & |
url, |
|
|
bool |
isfile | |
|
) |
| | [virtual] |
void FileProtocol::get |
( |
const KURL & |
url |
) |
[virtual] |
QString FileProtocol::getGroupName |
( |
gid_t |
gid |
) |
[protected] |
QString FileProtocol::getUserName |
( |
uid_t |
uid |
) |
[protected] |
void FileProtocol::listDir |
( |
const KURL & |
url |
) |
[virtual] |
void FileProtocol::mkdir |
( |
const KURL & |
url, |
|
|
int |
permissions | |
|
) |
| | [virtual] |
void FileProtocol::mount |
( |
bool |
_ro, |
|
|
const char * |
_fstype, |
|
|
const QString & |
dev, |
|
|
const QString & |
point | |
|
) |
| | |
bool FileProtocol::pmount |
( |
const QString & |
dev |
) |
|
bool FileProtocol::pumount |
( |
const QString & |
point |
) |
|
void FileProtocol::put |
( |
const KURL & |
url, |
|
|
int |
permissions, |
|
|
bool |
overwrite, |
|
|
bool |
resume | |
|
) |
| | [virtual] |
void FileProtocol::rename |
( |
const KURL & |
src, |
|
|
const KURL & |
dest, |
|
|
bool |
overwrite | |
|
) |
| | [virtual] |
int FileProtocol::setACL |
( |
const char * |
path, |
|
|
mode_t |
perm, |
|
|
bool |
_directoryDefault | |
|
) |
| | [protected] |
void FileProtocol::slotInfoMessage |
( |
const QString & |
msg |
) |
[protected, slot] |
void FileProtocol::slotProcessedSize |
( |
KIO::filesize_t |
_bytes |
) |
[protected, slot] |
void FileProtocol::special |
( |
const QByteArray & |
data |
) |
[virtual] |
Special commands supported by this slave: 1 - mount 2 - unmount 3 - shred.
Definition at line 1287 of file file.cc.
void FileProtocol::stat |
( |
const KURL & |
url |
) |
[virtual] |
void FileProtocol::symlink |
( |
const QString & |
target, |
|
|
const KURL & |
dest, |
|
|
bool |
overwrite | |
|
) |
| | [virtual] |
void FileProtocol::unmount |
( |
const QString & |
point |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: