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
00034 class KIO_EXPORT KDiskFreeSpace : public QObject
00035 {
00036 Q_OBJECT
00037
00038 public:
00039
00043 KDE_DEPRECATED explicit KDiskFreeSpace( QObject *parent = 0 );
00044
00048 ~KDiskFreeSpace();
00049
00063 KDE_DEPRECATED bool readDF( const QString & mountPoint );
00064
00072 KDE_DEPRECATED static KDiskFreeSpace * findUsageInfo( const QString & path );
00073
00074 Q_SIGNALS:
00082 void foundMountPoint( const QString & mountPoint, quint64 kibSize, quint64 kibUsed, quint64 kibAvail );
00083
00087 void done();
00088
00089 private:
00090 class Private;
00091 Private * const d;
00092
00093 Q_PRIVATE_SLOT( d, bool _k_calculateFreeSpace() )
00094 };
00095
00096 #endif