• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KIO

  • kio
  • kfile
kdiskfreespace.h
Go to the documentation of this file.
1/*
2 * kdiskfreespace.h
3 *
4 * Copyright 2007 David Faure <faure@kde.org>
5 * Copyright 2008 Dirk Mueller <mueller@kde.org>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License version 2 as published by the Free Software Foundation.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 */
21
22
23#ifndef KDISKFREESP_H
24#define KDISKFREESP_H
25
26#include <QtCore/QObject>
27#include <QtCore/QString>
28
29#include <kio/kio_export.h>
30
34class KIO_EXPORT_DEPRECATED KDiskFreeSpace : public QObject
35{
36 Q_OBJECT
37
38public:
39
43 explicit KDiskFreeSpace( QObject *parent = 0 );
44
48 ~KDiskFreeSpace();
49
63 bool readDF( const QString & mountPoint );
64
72 static KDiskFreeSpace * findUsageInfo( const QString & path );
73
74Q_SIGNALS:
82 void foundMountPoint( const QString & mountPoint, quint64 kibSize, quint64 kibUsed, quint64 kibAvail );
83
87 void done();
88
89private:
90 class Private;
91 Private * const d;
92
93 Q_PRIVATE_SLOT( d, bool _k_calculateFreeSpace() )
94};
95
96#endif
KDiskFreeSpace
Definition: kdiskfreespace.h:35
KDiskFreeSpace::foundMountPoint
void foundMountPoint(const QString &mountPoint, quint64 kibSize, quint64 kibUsed, quint64 kibAvail)
Emitted when the information about the requested mount point was found.
KDiskFreeSpace::done
void done()
Emitted when the request made via readDF is over, whether foundMountPoint was emitted or not.
QObject
kio_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal