7#include <QtCore/qbytearray.h>
8#include <QtCore/qdir.h>
9#include <QtCore/qlist.h>
10#include <QtCore/qmetatype.h>
11#include <QtCore/qstring.h>
12#include <QtCore/qshareddata.h>
18class QStorageInfoPrivate;
29 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QStorageInfo)
45 qint64 bytesAvailable()
const;
48 inline bool isRoot()
const;
49 bool isReadOnly()
const;
59 friend class QStorageInfoPrivate;
62 if (
first.d == second.d)
69 return !(
first == second);
81#ifndef QT_NO_DEBUG_STREAM
IOBluetoothDevice * device
bool isRoot() const
Returns true if this QStorageInfo represents the system root volume; false otherwise.
friend bool operator==(const QStorageInfo &first, const QStorageInfo &second)
Returns true if the first QStorageInfo object refers to the same drive or volume as the second; other...
static QStorageInfo root()
Returns a QStorageInfo object that represents the system root volume.
QByteArray device() const
Returns the device for this volume.
friend bool operator!=(const QStorageInfo &first, const QStorageInfo &second)
Returns true if the first QStorageInfo object refers to a different drive or volume than the second; ...
QString rootPath() const
Returns the mount point of the filesystem this QStorageInfo object represents.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
static QString displayName(CGDirectDisplayID displayID)
GLsizei const GLchar *const * path
Q_CORE_EXPORT QDebug operator<<(QDebug debug, const QStorageInfo &)