kdf
disklist.cpp
Go to the documentation of this file.
126 key = QLatin1String("Umount") + Separator + disk->deviceName() + Separator + disk->mountPoint();
155 key = QLatin1String("Umount") + Separator + disk->deviceName() + Separator + disk->mountPoint();
612 // Keep the shorter one then, /dev/hda1 looks better than /dev/ide/host0/bus0/target0/lun0/part1
615 if ( disk->deviceName().count( QLatin1Char( '/' ) ) > olddisk->deviceName().count( QLatin1Char( '/' ) ) )
void readDFDone()
Definition: disks.h:30
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString cap(int nth) const
QString & append(QChar ch)
QString readLine(qint64 maxlen)
QString mountCommand() const
sets the used mountCommand for the actual DiskEntry.
Definition: disks.h:57
DisksConstIterator disksConstIteratorBegin()
Definition: disklist.h:75
QString umountCommand() const
sets the used umountCommand for the actual DiskEntry.
Definition: disks.h:67
const T & at(int i) const
QString fileName() const
QString simplified() const
void criticallyFull(DiskEntry *disk)
iterator erase(iterator pos)
T takeAt(int i)
bool exists() const
QString & remove(int position, int n)
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
int indexOf(const T &value, int from) const
int indexIn(const QString &str, int offset, CaretMode caretMode) const
void append(const T &value)
bool atEnd() const
QString symLinkTarget() const
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
qulonglong toULongLong(bool *ok, int base) const
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
bool contains(QChar ch, Qt::CaseSensitivity cs) const
virtual void close()
QString & replace(int position, int n, QChar after)
QString mid(int position, int n) const
void insert(int i, const T &value)
int count() const
const QChar at(int position) const
void deleteAllMountedAt(const QString &mountpoint)
Definition: disklist.cpp:498
int length() const
QString left(int n) const
QString fromLatin1(const char *str, int size)
void setMountOptions(const QString &mountOptions)
Definition: disks.cpp:367
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool removeOne(const T &value)
void setUpdatesDisabled(bool disable)
Updated need to be disabled sometimes to avoid pulling the DiskEntry out from the popupmenu handler...
Definition: disklist.cpp:102
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
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.