KIO
kdiskfreespace.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KDISKFREESP_H
00024 #define KDISKFREESP_H
00025
00026 #include <QtCore/QObject>
00027 #include <QtCore/QString>
00028
00029 #include <kio/kio_export.h>
00030
00031 class KDiskFreeSpacePrivate;
00032
00037 class KIO_EXPORT KDiskFreeSpace : public QObject
00038 {
00039 Q_OBJECT
00040
00041 public:
00042
00046 explicit KDiskFreeSpace( QObject *parent = 0 );
00047
00051 ~KDiskFreeSpace();
00052
00066 bool readDF( const QString & mountPoint );
00067
00075 static KDiskFreeSpace * findUsageInfo( const QString & path );
00076
00077 Q_SIGNALS:
00085 void foundMountPoint( const QString & mountPoint, quint64 kibSize, quint64 kibUsed, quint64 kibAvail );
00086
00090 void done();
00091
00092 private:
00093 class Private;
00094 Private * const d;
00095
00096 Q_PRIVATE_SLOT( d, bool _k_calculateFreeSpace() )
00097 };
00098
00099 #endif