diff --git a/src/config/advancedpagewidget.cpp b/src/config/advancedpagewidget.cpp index 0ecba51..467e1fe 100644 --- a/src/config/advancedpagewidget.cpp +++ b/src/config/advancedpagewidget.cpp @@ -23,6 +23,8 @@ #include "util/helpers.h" +#include + #include AdvancedPageWidget::AdvancedPageWidget(QWidget* parent) : diff --git a/src/config/advancedpagewidget.h b/src/config/advancedpagewidget.h index 7265a62..5859cda 100644 --- a/src/config/advancedpagewidget.h +++ b/src/config/advancedpagewidget.h @@ -28,7 +28,7 @@ #include class QString; -class KComboBox; +class QComboBox; class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced { @@ -36,8 +36,8 @@ class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced AdvancedPageWidget(QWidget* parent); public: - KComboBox& comboBackend() { return *m_ComboBackend; } - const KComboBox& comboBackend() const { return *m_ComboBackend; } + QComboBox& comboBackend() { return *m_ComboBackend; } + const QComboBox& comboBackend() const { return *m_ComboBackend; } QString backend() const; void setBackend(const QString& name); diff --git a/src/config/configurepageadvanced.ui b/src/config/configurepageadvanced.ui index f64025e..dc10749 100644 --- a/src/config/configurepageadvanced.ui +++ b/src/config/configurepageadvanced.ui @@ -62,7 +62,7 @@ - + @@ -90,7 +90,7 @@ - + Byte @@ -133,13 +133,6 @@ - - - KComboBox - QComboBox -
kcombobox.h
-
-
diff --git a/src/config/configurepagegeneral.ui b/src/config/configurepagegeneral.ui index a548908..11eb720 100644 --- a/src/config/configurepagegeneral.ui +++ b/src/config/configurepagegeneral.ui @@ -101,7 +101,7 @@
- + Debug @@ -150,7 +150,7 @@ - + @@ -193,19 +193,6 @@ - - - KButtonGroup - QGroupBox -
kbuttongroup.h
- 1 -
- - KComboBox - QComboBox -
kcombobox.h
-
-
diff --git a/src/config/generalpagewidget.h b/src/config/generalpagewidget.h index 118d5dd..0dac04a 100644 --- a/src/config/generalpagewidget.h +++ b/src/config/generalpagewidget.h @@ -28,7 +28,6 @@ #include class QString; -class KComboBox; class GeneralPageWidget : public QWidget, public Ui::ConfigurePageGeneral { @@ -36,8 +35,8 @@ class GeneralPageWidget : public QWidget, public Ui::ConfigurePageGeneral GeneralPageWidget(QWidget* parent); public: - KComboBox& comboDefaultFileSystem() { return *m_ComboDefaultFileSystem; } - const KComboBox& comboDefaultFileSystem() const { return *m_ComboDefaultFileSystem; } + QComboBox& comboDefaultFileSystem() { return *m_ComboDefaultFileSystem; } + const QComboBox& comboDefaultFileSystem() const { return *m_ComboDefaultFileSystem; } FileSystem::Type defaultFileSystem() const; void setDefaultFileSystem(FileSystem::Type t); diff --git a/src/fs/luks.cpp b/src/fs/luks.cpp index 7fc96b0..ae20b92 100644 --- a/src/fs/luks.cpp +++ b/src/fs/luks.cpp @@ -25,6 +25,7 @@ #include "util/capacity.h" #include "util/externalcommand.h" +#include #include #include diff --git a/src/gui/decryptluksdialog.h b/src/gui/decryptluksdialog.h index 9d55087..69407c8 100644 --- a/src/gui/decryptluksdialog.h +++ b/src/gui/decryptluksdialog.h @@ -44,11 +44,11 @@ class DecryptLuksDialog : public KDialog const QString& m_DeviceNode; public: - KLineEdit& luksName() { return widget().luksName(); } - const KLineEdit& luksName() const { return widget().luksName(); } + QLineEdit& luksName() { return widget().luksName(); } + const QLineEdit& luksName() const { return widget().luksName(); } - KLineEdit& luksPassphrase() { return widget().luksPassphrase(); } - const KLineEdit& luksPassphrase() const { return widget().luksPassphrase(); } + QLineEdit& luksPassphrase() { return widget().luksPassphrase(); } + const QLineEdit& luksPassphrase() const { return widget().luksPassphrase(); } }; diff --git a/src/gui/decryptluksdialogwidget.h b/src/gui/decryptluksdialogwidget.h index 5e6d625..7f3c5cf 100644 --- a/src/gui/decryptluksdialogwidget.h +++ b/src/gui/decryptluksdialogwidget.h @@ -25,8 +25,7 @@ #include #include - -#include +#include class DecryptLuksDialogWidget : public QWidget, public Ui::DecryptLuksDialogWidgetBase { @@ -36,11 +35,11 @@ class DecryptLuksDialogWidget : public QWidget, public Ui::DecryptLuksDialogWidg DecryptLuksDialogWidget(QWidget* parent); public: - KLineEdit& luksName() { return *m_LineEditName; } - const KLineEdit& luksName() const { return *m_LineEditName; } + QLineEdit& luksName() { return *m_LineEditName; } + const QLineEdit& luksName() const { return *m_LineEditName; } - KLineEdit& luksPassphrase() { return *m_LineEditPassphrase; } - const KLineEdit& luksPassphrase() const { return *m_LineEditPassphrase; } + QLineEdit& luksPassphrase() { return *m_LineEditPassphrase; } + const QLineEdit& luksPassphrase() const { return *m_LineEditPassphrase; } }; #endif diff --git a/src/gui/decryptluksdialogwidgetbase.ui b/src/gui/decryptluksdialogwidgetbase.ui index 3ca4dc3..a26346d 100644 --- a/src/gui/decryptluksdialogwidgetbase.ui +++ b/src/gui/decryptluksdialogwidgetbase.ui @@ -27,7 +27,7 @@ - + @@ -40,9 +40,9 @@ - - - true + + + QLineEdit::Password @@ -66,13 +66,6 @@ - - - KLineEdit - QLineEdit -
klineedit.h
-
-
diff --git a/src/gui/devicepropswidget.h b/src/gui/devicepropswidget.h index 1e0c99a..face734 100644 --- a/src/gui/devicepropswidget.h +++ b/src/gui/devicepropswidget.h @@ -55,7 +55,7 @@ class DevicePropsWidget : public QWidget, public Ui::DevicePropsWidgetBase QLabel& smartStatusText() { Q_ASSERT(m_LabelSmartStatusText); return *m_LabelSmartStatusText; } QLabel& smartStatusIcon() { Q_ASSERT(m_LabelSmartStatusIcon); return *m_LabelSmartStatusIcon; } - KPushButton& buttonSmartMore() { Q_ASSERT(m_ButtonSmartMore); return *m_ButtonSmartMore; } + QPushButton& buttonSmartMore() { Q_ASSERT(m_ButtonSmartMore); return *m_ButtonSmartMore; } void hideTypeRadioButtons(); }; diff --git a/src/gui/devicepropswidgetbase.ui b/src/gui/devicepropswidgetbase.ui index 2a669b0..dd75256 100644 --- a/src/gui/devicepropswidgetbase.ui +++ b/src/gui/devicepropswidgetbase.ui @@ -298,7 +298,7 @@ - + More... @@ -325,11 +325,6 @@ - - KPushButton - QPushButton -
kpushbutton.h
-
PartTableWidget QWidget diff --git a/src/gui/editmountpointdialogwidget.h b/src/gui/editmountpointdialogwidget.h index 853404f..73a2ccd 100644 --- a/src/gui/editmountpointdialogwidget.h +++ b/src/gui/editmountpointdialogwidget.h @@ -28,13 +28,11 @@ class Partition; -class KPushButton; -class KLineEdit; -class KComboBox; - class QWidget; class QSpinBox; class QCheckBox; +class QLineEdit; +class QPushButton; class QStringList; class QFile; @@ -49,9 +47,9 @@ class EditMountPointDialogWidget : public QWidget, public Ui::EditMountPointDial ~EditMountPointDialogWidget(); public: - KPushButton& buttonMore() { return *m_ButtonMore; } + QPushButton& buttonMore() { return *m_ButtonMore; } QLabel& labelName() { return *m_LabelNameValue; } - KLineEdit& editPath() { return *m_EditPath; } + QLineEdit& editPath() { return *m_EditPath; } QSpinBox& spinDumpFreq() { return *m_SpinDumpFreq; } QSpinBox& spinPassNumber() { return *m_SpinPassNumber; } QLabel& labelType() { return *m_LabelTypeValue; } diff --git a/src/gui/editmountpointdialogwidgetbase.ui b/src/gui/editmountpointdialogwidgetbase.ui index 5699d71..11f432d 100644 --- a/src/gui/editmountpointdialogwidgetbase.ui +++ b/src/gui/editmountpointdialogwidgetbase.ui @@ -25,7 +25,7 @@
- + 3 @@ -35,7 +35,7 @@ - + 1 @@ -137,7 +137,7 @@ - + More... @@ -315,18 +315,6 @@ - - - KPushButton - QPushButton -
kpushbutton.h
-
- - KLineEdit - QLineEdit -
klineedit.h
-
-
diff --git a/src/gui/filesystemsupportdialog.h b/src/gui/filesystemsupportdialog.h index 3837b93..4c66317 100644 --- a/src/gui/filesystemsupportdialog.h +++ b/src/gui/filesystemsupportdialog.h @@ -25,7 +25,7 @@ #include -class KPushButton; +class QPushButton; class FileSystemSupportDialogWidget; diff --git a/src/gui/filesystemsupportdialogwidget.h b/src/gui/filesystemsupportdialogwidget.h index e88b813..025bebe 100644 --- a/src/gui/filesystemsupportdialogwidget.h +++ b/src/gui/filesystemsupportdialogwidget.h @@ -31,8 +31,8 @@ class FileSystemSupportDialogWidget : public QWidget, public Ui::FileSystemSuppo public: QTreeWidget& tree() { Q_ASSERT(m_Tree); return *m_Tree; } const QTreeWidget& tree() const { Q_ASSERT(m_Tree); return *m_Tree; } - KPushButton& buttonRescan() { Q_ASSERT(m_ButtonRescan); return *m_ButtonRescan; } - const KPushButton& buttonRescan() const { Q_ASSERT(m_ButtonRescan); return *m_ButtonRescan; } + QPushButton& buttonRescan() { Q_ASSERT(m_ButtonRescan); return *m_ButtonRescan; } + const QPushButton& buttonRescan() const { Q_ASSERT(m_ButtonRescan); return *m_ButtonRescan; } }; #endif diff --git a/src/gui/filesystemsupportdialogwidgetbase.ui b/src/gui/filesystemsupportdialogwidgetbase.ui index 9fa73fe..014a945 100644 --- a/src/gui/filesystemsupportdialogwidgetbase.ui +++ b/src/gui/filesystemsupportdialogwidgetbase.ui @@ -130,7 +130,7 @@ Some file systems need external tools to be installed for them to be supported. - + Rescan Support @@ -153,13 +153,6 @@ Some file systems need external tools to be installed for them to be supported. - - - KPushButton - QPushButton -
kpushbutton.h
-
-
diff --git a/src/gui/newdialog.cpp b/src/gui/newdialog.cpp index 49b87b3..358ace4 100644 --- a/src/gui/newdialog.cpp +++ b/src/gui/newdialog.cpp @@ -32,6 +32,7 @@ #include +#include #include /** Creates a NewDialog diff --git a/src/gui/partpropswidget.h b/src/gui/partpropswidget.h index 0f5fff8..d821312 100644 --- a/src/gui/partpropswidget.h +++ b/src/gui/partpropswidget.h @@ -45,8 +45,8 @@ class PartPropsWidget : public QWidget, public Ui::PartPropsWidgetBase QLabel& used() { Q_ASSERT(m_LabelUsed); return *m_LabelUsed; } QLabel& textFileSystem() { Q_ASSERT(m_LabelFileSystem); return *m_LabelFileSystem; } - KComboBox& fileSystem() { Q_ASSERT(m_ComboFileSystem); return *m_ComboFileSystem; } - const KComboBox& fileSystem() const { Q_ASSERT(m_ComboFileSystem); return *m_ComboFileSystem; } + QComboBox& fileSystem() { Q_ASSERT(m_ComboFileSystem); return *m_ComboFileSystem; } + const QComboBox& fileSystem() const { Q_ASSERT(m_ComboFileSystem); return *m_ComboFileSystem; } QCheckBox& checkRecreate() { Q_ASSERT(m_CheckRecreate); return *m_CheckRecreate; } @@ -59,8 +59,8 @@ class PartPropsWidget : public QWidget, public Ui::PartPropsWidgetBase QLabel& uuid() { Q_ASSERT(m_LabelUuid); return *m_LabelUuid; } QLabel& textLabel() { Q_ASSERT(m_LabelTextLabel); return *m_LabelTextLabel; } - KLineEdit& label() { Q_ASSERT(m_EditLabel); return *m_EditLabel; } - const KLineEdit& label() const { Q_ASSERT(m_EditLabel); return *m_EditLabel; } + QLineEdit& label() { Q_ASSERT(m_EditLabel); return *m_EditLabel; } + const QLineEdit& label() const { Q_ASSERT(m_EditLabel); return *m_EditLabel; } QLabel& noSetLabel() { Q_ASSERT(m_LabelTextNoSetLabel); return *m_LabelTextNoSetLabel; } QLabel& textFlags() { Q_ASSERT(m_LabelTextFlags); return *m_LabelTextFlags; } diff --git a/src/gui/partpropswidgetbase.ui b/src/gui/partpropswidgetbase.ui index 275ac3b..8f5defd 100644 --- a/src/gui/partpropswidgetbase.ui +++ b/src/gui/partpropswidgetbase.ui @@ -57,7 +57,7 @@
- + @@ -73,7 +73,7 @@ - + @@ -351,16 +351,6 @@ - - KLineEdit - QLineEdit -
klineedit.h
-
- - KComboBox - QComboBox -
kcombobox.h
-
PartWidget QWidget diff --git a/src/gui/sizedialogwidget.h b/src/gui/sizedialogwidget.h index a21d07f..2770043 100644 --- a/src/gui/sizedialogwidget.h +++ b/src/gui/sizedialogwidget.h @@ -49,11 +49,11 @@ class SizeDialogWidget : public QWidget, public Ui::SizeDialogWidgetBase QRadioButton& radioExtended() { Q_ASSERT(m_RadioExtended); return *m_RadioExtended; } QRadioButton& radioLogical() { Q_ASSERT(m_RadioLogical); return *m_RadioLogical; } - KComboBox& comboFileSystem() { Q_ASSERT(m_ComboFileSystem); return *m_ComboFileSystem; } + QComboBox& comboFileSystem() { Q_ASSERT(m_ComboFileSystem); return *m_ComboFileSystem; } QLabel& textLabel() { Q_ASSERT(m_LabelTextLabel); return *m_LabelTextLabel; } - KLineEdit& label() { Q_ASSERT(m_EditLabel); return *m_EditLabel; } - const KLineEdit& label() const { Q_ASSERT(m_EditLabel); return *m_EditLabel; } + QLineEdit& label() { Q_ASSERT(m_EditLabel); return *m_EditLabel; } + const QLineEdit& label() const { Q_ASSERT(m_EditLabel); return *m_EditLabel; } QLabel& noSetLabel() { Q_ASSERT(m_LabelTextNoSetLabel); return *m_LabelTextNoSetLabel; } void hideRole() { delete m_LabelRole; m_LabelRole = NULL; delete m_RadioPrimary; m_RadioPrimary = NULL; delete m_RadioExtended; m_RadioExtended = NULL; delete m_RadioLogical; m_RadioLogical = NULL; } diff --git a/src/gui/sizedialogwidgetbase.ui b/src/gui/sizedialogwidgetbase.ui index 61009af..5f8ba39 100644 --- a/src/gui/sizedialogwidgetbase.ui +++ b/src/gui/sizedialogwidgetbase.ui @@ -107,7 +107,7 @@
- + @@ -125,7 +125,7 @@ - + @@ -298,16 +298,6 @@ - - KLineEdit - QLineEdit -
klineedit.h
-
- - KComboBox - QComboBox -
kcombobox.h
-
PartResizerWidget QWidget