Revert "Remove redundant includes and refactor"

This reverts commit 4229b02fd2.
This commit is contained in:
Shubham Jangra 2019-06-12 22:11:11 +05:30
parent 4229b02fd2
commit d1a82f65d4
63 changed files with 223 additions and 25 deletions

View File

@ -22,6 +22,10 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class QString;
namespace FS namespace FS
{ {
/** An APFS file system. /** An APFS file system.

View File

@ -22,6 +22,10 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class QString;
namespace FS namespace FS
{ {
/** A Bitlocker encrypted file system. /** A Bitlocker encrypted file system.

View File

@ -23,6 +23,7 @@
#include "util/report.h" #include "util/report.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
#include <QTemporaryDir> #include <QTemporaryDir>
#include <KLocalizedString> #include <KLocalizedString>

View File

@ -16,15 +16,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_BTRFS_H #if !defined(KPMCORE_BTRFS_H)
#define KPMCORE_BTRFS_H #define KPMCORE_BTRFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A btrfs file system. /** A btrfs file system.

View File

@ -21,6 +21,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QString>
namespace FS namespace FS
{ {
FileSystem::CommandSupportType exfat::m_GetUsed = FileSystem::cmdSupportNone; FileSystem::CommandSupportType exfat::m_GetUsed = FileSystem::cmdSupportNone;

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_EXFAT_H #if !defined(KPMCORE_EXFAT_H)
#define KPMCORE_EXFAT_H #define KPMCORE_EXFAT_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An exfat file system. /** An exfat file system.

View File

@ -22,6 +22,7 @@
#include "util/capacity.h" #include "util/capacity.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
namespace FS namespace FS
{ {

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_EXT2_H #if !defined(KPMCORE_EXT2_H)
#define KPMCORE_EXT2_H #define KPMCORE_EXT2_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An ext2 file system. /** An ext2 file system.

View File

@ -20,6 +20,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QStringList>
namespace FS namespace FS
{ {
ext3::ext3(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label) : ext3::ext3(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label) :

View File

@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_EXT3_H #if !defined(KPMCORE_EXT3_H)
#define KPMCORE_EXT3_H #define KPMCORE_EXT3_H
@ -23,8 +23,12 @@
#include "fs/ext2.h" #include "fs/ext2.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An ext3 file system. /** An ext3 file system.

View File

@ -20,6 +20,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QStringList>
namespace FS namespace FS
{ {
ext4::ext4(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label) : ext4::ext4(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label) :

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_EXT4_H #if !defined(KPMCORE_EXT4_H)
#define KPMCORE_EXT4_H #define KPMCORE_EXT4_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/ext2.h" #include "fs/ext2.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An ext4 file system. /** An ext4 file system.

View File

@ -15,13 +15,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_EXTENDED_H #if !defined(KPMCORE_EXTENDED_H)
#define KPMCORE_EXTENDED_H #define KPMCORE_EXTENDED_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class QString;
namespace FS namespace FS
{ {
/** An extended file system. /** An extended file system.

View File

@ -23,6 +23,7 @@
#include <cmath> #include <cmath>
#include <QString>
#include <QTemporaryDir> #include <QTemporaryDir>
#include <QUuid> #include <QUuid>

View File

@ -22,8 +22,12 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A f2fs file system. /** A f2fs file system.

View File

@ -26,6 +26,8 @@
#include <QRegularExpression> #include <QRegularExpression>
#include <QRegularExpressionValidator> #include <QRegularExpressionValidator>
#include <QString>
#include <QStringList>
#include <ctime> #include <ctime>

View File

@ -23,8 +23,12 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A fat12 file system. /** A fat12 file system.

View File

@ -24,6 +24,9 @@
#include <KLocalizedString> #include <KLocalizedString>
#include <QString>
#include <QStringList>
#include <ctime> #include <ctime>
namespace FS namespace FS

View File

@ -23,6 +23,8 @@
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A fat16 file system. /** A fat16 file system.

View File

@ -20,6 +20,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QStringList>
#include <ctime> #include <ctime>
namespace FS namespace FS

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_FAT32_H #if !defined(KPMCORE_FAT32_H)
#define KPMCORE_FAT32_H #define KPMCORE_FAT32_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/fat16.h" #include "fs/fat16.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A fat32 file system. /** A fat32 file system.

View File

@ -23,6 +23,8 @@
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include <QList> #include <QList>
#include <QStringList>
#include <QString>
#include <QtGlobal> #include <QtGlobal>
#include <QUrl> #include <QUrl>

View File

@ -20,6 +20,8 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QString>
class FileSystemPrivate { class FileSystemPrivate {
public: public:
FileSystem::Type m_Type; FileSystem::Type m_Type;

View File

@ -23,6 +23,9 @@
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include <QMap> #include <QMap>
#include <QtGlobal>
class QString;
/** Factory to create instances of FileSystem. /** Factory to create instances of FileSystem.
@author Volker Lanz <vl@fidra.de> @author Volker Lanz <vl@fidra.de>

View File

@ -21,6 +21,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QStringList>
namespace FS namespace FS
{ {
FileSystem::CommandSupportType hfs::m_GetUsed = FileSystem::cmdSupportNone; FileSystem::CommandSupportType hfs::m_GetUsed = FileSystem::cmdSupportNone;

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_HFS_H #if !defined(KPMCORE_HFS_H)
#define KPMCORE_HFS_H #define KPMCORE_HFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An hfs file system. /** An hfs file system.

View File

@ -21,6 +21,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QStringList>
namespace FS namespace FS
{ {
FileSystem::CommandSupportType hfsplus::m_GetLabel = FileSystem::cmdSupportNone; FileSystem::CommandSupportType hfsplus::m_GetLabel = FileSystem::cmdSupportNone;

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_HFSPLUS_H #if !defined(KPMCORE_HFSPLUS_H)
#define KPMCORE_HFSPLUS_H #define KPMCORE_HFSPLUS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An hfsplus file system. /** An hfsplus file system.

View File

@ -19,6 +19,8 @@
#include "util/capacity.h" #include "util/capacity.h"
#include <QString>
namespace FS namespace FS
{ {
FileSystem::CommandSupportType hpfs::m_GetUsed = FileSystem::cmdSupportNone; FileSystem::CommandSupportType hpfs::m_GetUsed = FileSystem::cmdSupportNone;

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_HPFS_H #if !defined(KPMCORE_HPFS_H)
#define KPMCORE_HPFS_H #define KPMCORE_HPFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A hpfs file system. /** A hpfs file system.

View File

@ -15,7 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_ISO9660_H #if !defined(KPMCORE_ISO9660_H)
#define KPMCORE_ISO9660_H #define KPMCORE_ISO9660_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
@ -24,6 +25,8 @@
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A iso9660 file system. /** A iso9660 file system.

View File

@ -22,6 +22,7 @@
#include "util/capacity.h" #include "util/capacity.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QStringList>
#include <QTemporaryDir> #include <QTemporaryDir>
#include <KLocalizedString> #include <KLocalizedString>

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_JFS_H #if !defined(KPMCORE_JFS_H)
#define KPMCORE_JFS_H #define KPMCORE_JFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A JFS file system. /** A JFS file system.

View File

@ -24,6 +24,8 @@
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A linux_raid_member file system. /** A linux_raid_member file system.

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_LINUXSWAP_H #if !defined(KPMCORE_LINUXSWAP_H)
#define KPMCORE_LINUXSWAP_H #define KPMCORE_LINUXSWAP_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A linux swap pseudo file system. /** A linux swap pseudo file system.

View File

@ -37,6 +37,7 @@
#include <QRegularExpression> #include <QRegularExpression>
#include <QPointer> #include <QPointer>
#include <QStorageInfo> #include <QStorageInfo>
#include <QString>
#include <QUuid> #include <QUuid>
#include <QWidget> #include <QWidget>

View File

@ -24,8 +24,11 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
class QWidget; class QWidget;
namespace FS namespace FS

View File

@ -15,13 +15,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_LUKS2_H #if !defined(KPMCORE_LUKS2_H)
#define KPMCORE_LUKS2_H #define KPMCORE_LUKS2_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/luks.h" #include "fs/luks.h"
#include <QtGlobal>
class QString;
namespace FS namespace FS
{ {
/** A LUKS2 crypto file system. /** A LUKS2 crypto file system.

View File

@ -22,6 +22,8 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include "util/capacity.h" #include "util/capacity.h"
#include <QString>
#include <KLocalizedString> #include <KLocalizedString>
namespace FS namespace FS

View File

@ -16,7 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_LVM2_PV_H #if !defined(KPMCORE_LVM2_PV_H)
#define KPMCORE_LVM2_PV_H #define KPMCORE_LVM2_PV_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
@ -24,7 +25,10 @@
#include "core/partition.h" #include "core/partition.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
/** Stores information about LVM PV or potentially encrypted LVM PV /** Stores information about LVM PV or potentially encrypted LVM PV
* @author Andrius Štikonas <andrius@stikonas.eu> * @author Andrius Štikonas <andrius@stikonas.eu>

View File

@ -25,6 +25,7 @@
#include <cmath> #include <cmath>
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
#include <QTemporaryDir> #include <QTemporaryDir>
#include <QUuid> #include <QUuid>

View File

@ -16,15 +16,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_NILFS2_H #if !defined(KPMCORE_NILFS2_H)
#define KPMCORE_NILFS2_H #define KPMCORE_NILFS2_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A nilfs2 file system. /** A nilfs2 file system.

View File

@ -26,6 +26,8 @@
#include <KLocalizedString> #include <KLocalizedString>
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
#include <QStringList>
#include <QFile> #include <QFile>
#include <algorithm> #include <algorithm>

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_NTFS_H #if !defined(KPMCORE_NTFS_H)
#define KPMCORE_NTFS_H #define KPMCORE_NTFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An NTFS file system. /** An NTFS file system.

View File

@ -22,6 +22,7 @@
#include "util/capacity.h" #include "util/capacity.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
namespace FS namespace FS
{ {

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_OCFS2_H #if !defined(KPMCORE_OCFS2_H)
#define KPMCORE_OCFS2_H #define KPMCORE_OCFS2_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A ocfs2 file system. /** A ocfs2 file system.

View File

@ -22,6 +22,7 @@
#include "util/externalcommand.h" #include "util/externalcommand.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QStringList>
namespace FS namespace FS
{ {

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_REISER4_H #if !defined(KPMCORE_REISER4_H)
#define KPMCORE_REISER4_H #define KPMCORE_REISER4_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A Reiser4 file system. /** A Reiser4 file system.

View File

@ -22,6 +22,8 @@
#include "util/capacity.h" #include "util/capacity.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
#include <QStringList>
#include <QUuid> #include <QUuid>
namespace FS namespace FS

View File

@ -15,7 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_REISERFS_H #if !defined(KPMCORE_REISERFS_H)
#define KPMCORE_REISERFS_H #define KPMCORE_REISERFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
@ -24,8 +25,12 @@
#include "util/capacity.h" #include "util/capacity.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A ReiserFS file system. /** A ReiserFS file system.

View File

@ -25,6 +25,8 @@
#include <QRegularExpression> #include <QRegularExpression>
#include <QRegularExpressionValidator> #include <QRegularExpressionValidator>
#include <QString>
#include <QStringList>
namespace FS namespace FS
{ {

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_UDF_H #if !defined(KPMCORE_UDF_H)
#define KPMCORE_UDF_H #define KPMCORE_UDF_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A udf file system. /** A udf file system.

View File

@ -15,13 +15,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_UFS_H #if !defined(KPMCORE_UFS_H)
#define KPMCORE_UFS_H #define KPMCORE_UFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class QString;
namespace FS namespace FS
{ {
/** A UFS file system. /** A UFS file system.

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_UNFORMATTED_H #if !defined(KPMCORE_UNFORMATTED_H)
#define KPMCORE_UNFORMATTED_H #define KPMCORE_UNFORMATTED_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A pseudo file system for unformatted partitions. /** A pseudo file system for unformatted partitions.

View File

@ -22,6 +22,8 @@
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
namespace FS namespace FS
{ {
/** A pseudo file system for partitions whose file system we cannot determine. /** A pseudo file system for partitions whose file system we cannot determine.

View File

@ -23,6 +23,8 @@
#include "util/report.h" #include "util/report.h"
#include <QRegularExpression> #include <QRegularExpression>
#include <QString>
#include <QStringList>
#include <QTemporaryDir> #include <QTemporaryDir>
#include <KLocalizedString> #include <KLocalizedString>

View File

@ -15,15 +15,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_XFS_H #if !defined(KPMCORE_XFS_H)
#define KPMCORE_XFS_H #define KPMCORE_XFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** An XFS file system. /** An XFS file system.

View File

@ -22,6 +22,8 @@
#include "util/capacity.h" #include "util/capacity.h"
#include "util/report.h" #include "util/report.h"
#include <QString>
namespace FS namespace FS
{ {
FileSystem::CommandSupportType zfs::m_GetUsed = FileSystem::cmdSupportNone; FileSystem::CommandSupportType zfs::m_GetUsed = FileSystem::cmdSupportNone;

View File

@ -16,15 +16,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.* * along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/ *************************************************************************/
#ifndef KPMCORE_ZFS_H #if !defined(KPMCORE_ZFS_H)
#define KPMCORE_ZFS_H #define KPMCORE_ZFS_H
#include "util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include "fs/filesystem.h" #include "fs/filesystem.h"
#include <QtGlobal>
class Report; class Report;
class QString;
namespace FS namespace FS
{ {
/** A zfs file system. /** A zfs file system.

View File

@ -36,6 +36,8 @@
#include <QEventLoop> #include <QEventLoop>
#include <QtGlobal> #include <QtGlobal>
#include <QStandardPaths> #include <QStandardPaths>
#include <QString>
#include <QStringList>
#include <QTimer> #include <QTimer>
#include <QThread> #include <QThread>
#include <QVariant> #include <QVariant>

View File

@ -23,6 +23,8 @@
#include <QDebug> #include <QDebug>
#include <QProcess> #include <QProcess>
#include <QString>
#include <QStringList>
#include <QtGlobal> #include <QtGlobal>
#include <QThread> #include <QThread>
#include <QVariant> #include <QVariant>

View File

@ -22,6 +22,7 @@
#include <QCoreApplication> #include <QCoreApplication>
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>
#include <QString>
#include <QTime> #include <QTime>
#include <QVariant> #include <QVariant>

View File

@ -24,6 +24,7 @@
#include <KAuth> #include <KAuth>
#include <QEventLoop> #include <QEventLoop>
#include <QString>
#include <QProcess> #include <QProcess>
using namespace KAuth; using namespace KAuth;