kdf
#include <disks.h>
|
| DiskEntry (QObject *parent=0, const char *name=0) |
|
| DiskEntry (const QString &deviceName, QObject *parent=0, const char *name=0) |
|
| ~DiskEntry () |
|
QString | deviceName () const |
|
QString | deviceRealName () const |
|
QString | fsType () const |
|
QString | iconName () |
|
qulonglong | kBAvail () const |
|
qulonglong | kBSize () const |
|
qulonglong | kBUsed () const |
|
QString | lastSysError () |
|
QString | mountCommand () const |
|
bool | mounted () const |
|
QString | mountOptions () const |
|
QString | mountPoint () const |
|
bool | operator== (const DiskEntry &s2) const |
|
float | percentFull () const |
|
QString | prettyKBAvail () const |
|
QString | prettyKBSize () const |
|
QString | prettyKBUsed () const |
|
bool | realCompare (const DiskEntry &s2) const |
|
QString | realIconName () |
|
QString | realMountPoint () const |
|
QString | umountCommand () const |
|
| QObject (QObject *parent) |
|
| QObject (QObject *parent, const char *name) |
|
virtual | ~QObject () |
|
bool | blockSignals (bool block) |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
const char * | className () const |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QList< T > | findChildren (const QString &name) const |
|
bool | inherits (const char *className) const |
|
void | insertChild (QObject *object) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isA (const char *className) const |
|
bool | isWidgetType () const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
QString | objectName () const |
|
QObject * | parent () const |
|
QVariant | property (const char *name) const |
|
void | removeChild (QObject *object) |
|
void | removeEventFilter (QObject *obj) |
|
void | setName (const char *name) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval) |
|
QThread * | thread () const |
|
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | connectNotify (const char *signal) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | disconnectNotify (const char *signal) |
|
int | receivers (const char *signal) const |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
QByteArray | normalizeSignalSlot (const char *signalSlot) |
|
| objectName |
|
Definition at line 30 of file disks.h.
DiskEntry::DiskEntry |
( |
QObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
|
explicit |
DiskEntry::DiskEntry |
( |
const QString & |
deviceName, |
|
|
QObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
|
explicit |
DiskEntry::~DiskEntry |
( |
| ) |
|
QString DiskEntry::deviceName |
( |
| ) |
const |
|
inline |
void DiskEntry::deviceNameChanged |
( |
| ) |
|
|
signal |
QString DiskEntry::deviceRealName |
( |
| ) |
const |
QString DiskEntry::fsType |
( |
| ) |
const |
|
inline |
void DiskEntry::fsTypeChanged |
( |
| ) |
|
|
signal |
QString DiskEntry::guessIconName |
( |
| ) |
|
|
slot |
void DiskEntry::iconNameChanged |
( |
| ) |
|
|
signal |
qulonglong DiskEntry::kBAvail |
( |
| ) |
const |
|
inline |
void DiskEntry::kBAvailChanged |
( |
| ) |
|
|
signal |
qulonglong DiskEntry::kBSize |
( |
| ) |
const |
|
inline |
void DiskEntry::kBSizeChanged |
( |
| ) |
|
|
signal |
qulonglong DiskEntry::kBUsed |
( |
| ) |
const |
|
inline |
void DiskEntry::kBUsedChanged |
( |
| ) |
|
|
signal |
QString DiskEntry::lastSysError |
( |
| ) |
|
|
inline |
QString DiskEntry::mountCommand |
( |
| ) |
const |
|
inline |
sets the used mountCommand for the actual DiskEntry.
- Parameters
-
mntcmd | is a string containing the executable file and special codes which will be filled in when used:
m : mountpoint
d : deviceName
t : filesystem type
o : mount options
all this information is gained from the objects' data if no mountCommand is set it defaults to "mount %d" |
Definition at line 57 of file disks.h.
bool DiskEntry::mounted |
( |
| ) |
const |
|
inline |
void DiskEntry::mountedChanged |
( |
| ) |
|
|
signal |
QString DiskEntry::mountOptions |
( |
| ) |
const |
|
inline |
void DiskEntry::mountOptionsChanged |
( |
| ) |
|
|
signal |
QString DiskEntry::mountPoint |
( |
| ) |
const |
|
inline |
void DiskEntry::mountPointChanged |
( |
| ) |
|
|
signal |
bool DiskEntry::operator== |
( |
const DiskEntry & |
s2 | ) |
const |
|
inline |
float DiskEntry::percentFull |
( |
| ) |
const |
QString DiskEntry::prettyKBAvail |
( |
| ) |
const |
|
inline |
QString DiskEntry::prettyKBSize |
( |
| ) |
const |
|
inline |
QString DiskEntry::prettyKBUsed |
( |
| ) |
const |
|
inline |
bool DiskEntry::realCompare |
( |
const DiskEntry & |
s2 | ) |
const |
|
inline |
QString DiskEntry::realIconName |
( |
| ) |
|
|
inline |
QString DiskEntry::realMountPoint |
( |
| ) |
const |
int DiskEntry::remount |
( |
| ) |
|
|
slot |
void DiskEntry::setDeviceName |
( |
const QString & |
deviceName | ) |
|
|
slot |
void DiskEntry::setFsType |
( |
const QString & |
fsType | ) |
|
|
slot |
void DiskEntry::setIconName |
( |
const QString & |
iconName | ) |
|
|
slot |
void DiskEntry::setIconToDefault |
( |
| ) |
|
|
slot |
void DiskEntry::setKBAvail |
( |
qulonglong |
kb_avail | ) |
|
|
slot |
void DiskEntry::setKBSize |
( |
qulonglong |
kb_size | ) |
|
|
slot |
void DiskEntry::setKBUsed |
( |
qulonglong |
kb_used | ) |
|
|
slot |
void DiskEntry::setMountCommand |
( |
const QString & |
mnt | ) |
|
|
slot |
void DiskEntry::setMounted |
( |
bool |
nowMounted | ) |
|
|
slot |
void DiskEntry::setMountOptions |
( |
const QString & |
mountOptions | ) |
|
|
slot |
void DiskEntry::setMountPoint |
( |
const QString & |
mountPoint | ) |
|
|
slot |
void DiskEntry::setUmountCommand |
( |
const QString & |
umnt | ) |
|
|
slot |
void DiskEntry::sysCallError |
( |
DiskEntry * |
disk, |
|
|
int |
err_no |
|
) |
| |
|
signal |
int DiskEntry::toggleMount |
( |
| ) |
|
|
slot |
int DiskEntry::umount |
( |
| ) |
|
|
slot |
QString DiskEntry::umountCommand |
( |
| ) |
const |
|
inline |
sets the used umountCommand for the actual DiskEntry.
- Parameters
-
mntcmd | is a string containing the executable file and special codes which will be filled in when used:
m : mountpoint
d : deviceName
all this information is gained from the objects' data if no umountCommand is set it defaults to "umount %d" |
Definition at line 67 of file disks.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:23 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.