• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

kdiskfreespace.h

Go to the documentation of this file.
00001 /*
00002  * kdiskfreespace.h
00003  *
00004  * Copyright 2007 David Faure <faure@kde.org>
00005  * Copyright 2008 Dirk Mueller <mueller@kde.org>
00006  *
00007  *  This library is free software; you can redistribute it and/or
00008  *  modify it under the terms of the GNU Library General Public
00009  *  License version 2 as published by the Free Software Foundation.
00010  *
00011  *  This library is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  *  Library General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU Library General Public License
00017  *  along with this library; see the file COPYING.LIB.  If not, write to
00018  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  *  Boston, MA 02110-1301, USA.
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

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal