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

KIO

kdiskfreespaceinfo.h

Go to the documentation of this file.
00001 /*
00002  *  kdiskfreespaceinfo.h
00003  *
00004  *  Copyright 2008 Sebastian Trug <trueg@kde.org>
00005  *
00006  *  This library is free software; you can redistribute it and/or
00007  *  modify it under the terms of the GNU Library General Public
00008  *  License version 2 as published by the Free Software Foundation.
00009  *
00010  *  This library is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  *  Library General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU Library General Public License
00016  *  along with this library; see the file COPYING.LIB.  If not, write to
00017  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  *  Boston, MA 02110-1301, USA.
00019  */
00020 
00021 #ifndef _KDISK_FREE_SPACE_INFO_H_
00022 #define _KDISK_FREE_SPACE_INFO_H_
00023 
00024 #include <QtCore/QSharedDataPointer>
00025 #include <QtCore/QString>
00026 
00027 #include <kio/kio_export.h>
00028 #include <kio/global.h>
00029 
00052 class KIO_EXPORT KDiskFreeSpaceInfo
00053 {
00054 public:
00058     KDiskFreeSpaceInfo( const KDiskFreeSpaceInfo& );
00059 
00063     ~KDiskFreeSpaceInfo();
00064 
00068     KDiskFreeSpaceInfo& operator=( const KDiskFreeSpaceInfo& );
00069 
00075     bool isValid() const;
00076 
00082     QString mountPoint() const;
00083 
00091     KIO::filesize_t size() const;
00092 
00100     KIO::filesize_t available() const;
00101 
00109     KIO::filesize_t used() const;
00110 
00121     static KDiskFreeSpaceInfo freeSpaceInfo( const QString& path );
00122 
00123 private:
00124     KDiskFreeSpaceInfo();
00125 
00126     class Private;
00127     QSharedDataPointer<Private> d;
00128 };
00129 
00130 #endif
00131 

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