Fix minor EBN issues
This commit is contained in:
parent
551b53ea9c
commit
dcc665cc27
|
@ -32,7 +32,7 @@ class QComboBox;
|
||||||
class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced
|
class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AdvancedPageWidget(QWidget* parent);
|
explicit AdvancedPageWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QComboBox& comboBackend() {
|
QComboBox& comboBackend() {
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
class FileSystemColorsPageWidget : public QWidget, public Ui::ConfigurePageFileSystemColors
|
class FileSystemColorsPageWidget : public QWidget, public Ui::ConfigurePageFileSystemColors
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FileSystemColorsPageWidget(QWidget* parent);
|
explicit FileSystemColorsPageWidget(QWidget* parent);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -31,7 +31,7 @@ class QString;
|
||||||
class GeneralPageWidget : public QWidget, public Ui::ConfigurePageGeneral
|
class GeneralPageWidget : public QWidget, public Ui::ConfigurePageGeneral
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GeneralPageWidget(QWidget* parent);
|
explicit GeneralPageWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QComboBox& comboDefaultFileSystem() {
|
QComboBox& comboDefaultFileSystem() {
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
class ApplyProgressDetailsWidget : public QWidget, public Ui::ApplyProgressDetailsWidgetBase
|
class ApplyProgressDetailsWidget : public QWidget, public Ui::ApplyProgressDetailsWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ApplyProgressDetailsWidget(QWidget* parent) : QWidget(parent) {
|
explicit ApplyProgressDetailsWidget(QWidget* parent) : QWidget(parent) {
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
class ApplyProgressDialogWidget : public QWidget, public Ui::ApplyProgressDialogWidgetBase
|
class ApplyProgressDialogWidget : public QWidget, public Ui::ApplyProgressDialogWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ApplyProgressDialogWidget(QWidget* parent);
|
explicit ApplyProgressDialogWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QTreeWidget& treeTasks() {
|
QTreeWidget& treeTasks() {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
class CreatePartitionTableWidget : public QWidget, public Ui::CreatePartitionTableWidgetBase
|
class CreatePartitionTableWidget : public QWidget, public Ui::CreatePartitionTableWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CreatePartitionTableWidget(QWidget* parent);
|
explicit CreatePartitionTableWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QRadioButton& radioMSDOS() {
|
QRadioButton& radioMSDOS() {
|
||||||
|
|
|
@ -71,7 +71,7 @@ void CreateVolumeGroupDialog::setupDialog()
|
||||||
if (toBeDeleted)
|
if (toBeDeleted)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!p.isLuks() && p.vgName() == QString() && !LvmDevice::s_DirtyPVs.contains(p.partition()))
|
if (!p.isLuks() && p.vgName().isEmpty() && !LvmDevice::s_DirtyPVs.contains(p.partition()))
|
||||||
dialogWidget().listPV().addPartition(*p.partition(), false);
|
dialogWidget().listPV().addPartition(*p.partition(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ class PartTableWidget;
|
||||||
class DevicePropsWidget : public QWidget, public Ui::DevicePropsWidgetBase
|
class DevicePropsWidget : public QWidget, public Ui::DevicePropsWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DevicePropsWidget(QWidget* parent);
|
explicit DevicePropsWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PartTableWidget& partTableWidget() {
|
PartTableWidget& partTableWidget() {
|
||||||
|
|
|
@ -38,7 +38,7 @@ class FileSystemSupportDialog : public QDialog
|
||||||
Q_DISABLE_COPY(FileSystemSupportDialog)
|
Q_DISABLE_COPY(FileSystemSupportDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FileSystemSupportDialog(QWidget* parent);
|
explicit FileSystemSupportDialog(QWidget* parent);
|
||||||
~FileSystemSupportDialog();
|
~FileSystemSupportDialog();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
class FileSystemSupportDialogWidget : public QWidget, public Ui::FileSystemSupportDialogWidgetBase
|
class FileSystemSupportDialogWidget : public QWidget, public Ui::FileSystemSupportDialogWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FileSystemSupportDialogWidget(QWidget* parent);
|
explicit FileSystemSupportDialogWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QTreeWidget& tree() {
|
QTreeWidget& tree() {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
class FormattedSpinBox : public QDoubleSpinBox
|
class FormattedSpinBox : public QDoubleSpinBox
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FormattedSpinBox(QWidget* parent = nullptr) : QDoubleSpinBox(parent) {}
|
explicit FormattedSpinBox(QWidget* parent = nullptr) : QDoubleSpinBox(parent) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QString textFromValue(double value) const override;
|
QString textFromValue(double value) const override;
|
||||||
|
|
|
@ -39,7 +39,7 @@ class InfoPane : public QWidget
|
||||||
Q_DISABLE_COPY(InfoPane)
|
Q_DISABLE_COPY(InfoPane)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
InfoPane(QWidget* parent = nullptr);
|
explicit InfoPane(QWidget* parent = nullptr);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void showPartition(Qt::DockWidgetArea area, const Partition& p);
|
void showPartition(Qt::DockWidgetArea area, const Partition& p);
|
||||||
|
|
|
@ -38,7 +38,7 @@ class ListDevices : public QWidget, public Ui::ListDevicesBase
|
||||||
Q_DISABLE_COPY(ListDevices)
|
Q_DISABLE_COPY(ListDevices)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListDevices(QWidget* parent = nullptr);
|
explicit ListDevices(QWidget* parent = nullptr);
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void selectionChanged(const QString& device_node);
|
void selectionChanged(const QString& device_node);
|
||||||
|
|
|
@ -38,7 +38,7 @@ class ListOperations : public QWidget, public Ui::ListOperationsBase
|
||||||
Q_DISABLE_COPY(ListOperations)
|
Q_DISABLE_COPY(ListOperations)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListOperations(QWidget* parent = nullptr);
|
explicit ListOperations(QWidget* parent = nullptr);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setActionCollection(KActionCollection* coll) {
|
void setActionCollection(KActionCollection* coll) {
|
||||||
|
|
|
@ -46,7 +46,7 @@ class ListPhysicalVolumes : public QWidget, public Ui::ListPhysicalVolumesBase
|
||||||
Q_DISABLE_COPY(ListPhysicalVolumes)
|
Q_DISABLE_COPY(ListPhysicalVolumes)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListPhysicalVolumes(QWidget* parent = nullptr);
|
explicit ListPhysicalVolumes(QWidget* parent = nullptr);
|
||||||
|
|
||||||
void addPartition(const Partition& p, bool checked);
|
void addPartition(const Partition& p, bool checked);
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ class PartitionManagerWidget : public QWidget, Ui::PartitionManagerWidgetBase
|
||||||
Q_DISABLE_COPY(PartitionManagerWidget)
|
Q_DISABLE_COPY(PartitionManagerWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PartitionManagerWidget(QWidget* parent = nullptr);
|
explicit PartitionManagerWidget(QWidget* parent = nullptr);
|
||||||
virtual ~PartitionManagerWidget();
|
virtual ~PartitionManagerWidget();
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
class PartPropsWidget : public QWidget, public Ui::PartPropsWidgetBase
|
class PartPropsWidget : public QWidget, public Ui::PartPropsWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PartPropsWidget(QWidget* parent) : QWidget(parent) {
|
explicit PartPropsWidget(QWidget* parent) : QWidget(parent) {
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
m_PartWidget->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
|
m_PartWidget->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
|
||||||
|
|
|
@ -38,7 +38,7 @@ class PartTableWidget : public PartWidgetBase
|
||||||
Q_DISABLE_COPY(PartTableWidget)
|
Q_DISABLE_COPY(PartTableWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PartTableWidget(QWidget* parent);
|
explicit PartTableWidget(QWidget* parent);
|
||||||
qint32 borderWidth() const override {
|
qint32 borderWidth() const override {
|
||||||
return 0; /**< @return border width */
|
return 0; /**< @return border width */
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ void ResizeVolumeGroupDialog::setupDialog()
|
||||||
continue;
|
continue;
|
||||||
if (p.vgName() == device()->name())
|
if (p.vgName() == device()->name())
|
||||||
dialogWidget().listPV().addPartition(*p.partition(), true);
|
dialogWidget().listPV().addPartition(*p.partition(), true);
|
||||||
else if (p.vgName() == QString() && !LvmDevice::s_DirtyPVs.contains(p.partition())) // TODO: Remove LVM PVs in current VG
|
else if (p.vgName().isEmpty() && !LvmDevice::s_DirtyPVs.contains(p.partition())) // TODO: Remove LVM PVs in current VG
|
||||||
dialogWidget().listPV().addPartition(*p.partition(), false);
|
dialogWidget().listPV().addPartition(*p.partition(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
class ScanProgressDialog : public QProgressDialog
|
class ScanProgressDialog : public QProgressDialog
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ScanProgressDialog(QWidget* parent);
|
explicit ScanProgressDialog(QWidget* parent);
|
||||||
|
|
||||||
void setProgress(int p) {
|
void setProgress(int p) {
|
||||||
setValue(p);
|
setValue(p);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
class SizeDetailsWidget : public QWidget, public Ui::SizeDetailsWidgetBase
|
class SizeDetailsWidget : public QWidget, public Ui::SizeDetailsWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SizeDetailsWidget(QWidget* parent);
|
explicit SizeDetailsWidget(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QDoubleSpinBox& spinFirstSector() {
|
QDoubleSpinBox& spinFirstSector() {
|
||||||
|
|
|
@ -30,7 +30,7 @@ class QPoint;
|
||||||
class SmartDialogWidget : public QWidget, public Ui::SmartDialogWidgetBase
|
class SmartDialogWidget : public QWidget, public Ui::SmartDialogWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SmartDialogWidget(QWidget* parent);
|
explicit SmartDialogWidget(QWidget* parent);
|
||||||
~SmartDialogWidget();
|
~SmartDialogWidget();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TreeLog: public QWidget, public Ui::TreeLogBase
|
||||||
Q_DISABLE_COPY(TreeLog)
|
Q_DISABLE_COPY(TreeLog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TreeLog(QWidget* parent = nullptr);
|
explicit TreeLog(QWidget* parent = nullptr);
|
||||||
~TreeLog();
|
~TreeLog();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
class VolumeGroupWidget : public QWidget, public Ui::VolumeGroupWidgetBase
|
class VolumeGroupWidget : public QWidget, public Ui::VolumeGroupWidgetBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VolumeGroupWidget(QWidget* parent) :
|
explicit VolumeGroupWidget(QWidget* parent) :
|
||||||
QWidget(parent), Ui::VolumeGroupWidgetBase()
|
QWidget(parent), Ui::VolumeGroupWidgetBase()
|
||||||
{
|
{
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
Loading…
Reference in New Issue