From b763087e114195efdaf6b15df4121cf0bd953ba1 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 2 Jun 2022 14:58:28 +0200 Subject: [PATCH] [partition] Partial implementation of Config-side for storing replace-FS --- src/modules/partition/Config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/partition/Config.h b/src/modules/partition/Config.h index 2ac44b424..1de3174b9 100644 --- a/src/modules/partition/Config.h +++ b/src/modules/partition/Config.h @@ -31,6 +31,8 @@ class Config : public QObject Q_PROPERTY( QString eraseModeFilesystem READ eraseFsType WRITE setEraseFsTypeChoice NOTIFY eraseModeFilesystemChanged ) + Q_PROPERTY( QString replaceModeFilesystem READ replaceModeFilesystem WRITE setReplaceFilesystem NOTIFY replaceModeFilesystemChanged ) + Q_PROPERTY( bool allowManualPartitioning READ allowManualPartitioning CONSTANT FINAL ) public: @@ -146,11 +148,13 @@ public Q_SLOTS: void setSwapChoice( int ); ///< Translates a button ID or so to SwapChoice void setSwapChoice( SwapChoice ); void setEraseFsTypeChoice( const QString& filesystemName ); ///< See property eraseModeFilesystem + void setReplaceFilesystemChoice( const QString& filesystemName ); Q_SIGNALS: void installChoiceChanged( InstallChoice ); void swapChoiceChanged( SwapChoice ); void eraseModeFilesystemChanged( const QString& ); + void replaceModeFilesystemChanged( const QString& ); private: /** @brief Handle FS-type configuration, for erase and default */