kdf
kwikdisk.cpp
Go to the documentation of this file.
196 .arg( disk->mounted() ? i18nc("Unmount the storage device", "Unmount") : i18nc("Mount the storage device", "Mount") )
197 .arg( disk->fsType().trimmed() ).arg( disk->deviceName().trimmed() ).arg( disk->mountPoint().trimmed() );
212 if( getuid() !=0 && !disk->mountOptions().contains(QLatin1String( "user" ),Qt::CaseInsensitive) )
215 painter.drawPixmap( QRect(0,0,16,16) , SmallIcon(QLatin1String( "object-locked" )), QRect(0,0,16,16));
225 painter.drawPixmap( QRect(8,8,16,16) , SmallIcon(QLatin1String( "emblem-mounted" )), QRect(0,0,16,16) );
Definition: disks.h:30
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QAbstractEventDispatcher * instance(QThread *thread)
DisksConstIterator disksConstIteratorBegin()
Definition: disklist.h:75
QVariant data() const
void setIcon(const QIcon &icon)
void setToolTip(const QString &tip)
int toInt(bool *ok) const
bool isEmpty() const
QString trimmed() const
Definition: optiondialog.h:28
void setData(const QVariant &userData)
bool contains(QChar ch, Qt::CaseSensitivity cs) const
QString & replace(int position, int n, QChar after)
QList< QAction * > actions() const
QString fromLatin1(const char *str, int size)
void removeAction(QAction *action)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QByteArray encodeName(const QString &fileName)
virtual bool unregisterTimers(QObject *object)=0
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.