diff options
author | saturneric <[email protected]> | 2025-01-26 18:17:20 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-26 18:18:10 +0000 |
commit | 92e1ed7b3fd5360278d41db087518b6c5af80b3e (patch) | |
tree | 577edfa58889d97a0b3ec1f2c045b9d6fe9cff70 /src/ui/widgets/FilePage.h | |
parent | fix: 'std::future' is defined in header '<future>' (diff) | |
download | GpgFrontend-92e1ed7b3fd5360278d41db087518b6c5af80b3e.tar.gz GpgFrontend-92e1ed7b3fd5360278d41db087518b6c5af80b3e.zip |
feat: allow file batch operations
Diffstat (limited to 'src/ui/widgets/FilePage.h')
-rw-r--r-- | src/ui/widgets/FilePage.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/ui/widgets/FilePage.h b/src/ui/widgets/FilePage.h index aaa61589..c6d9ec99 100644 --- a/src/ui/widgets/FilePage.h +++ b/src/ui/widgets/FilePage.h @@ -55,7 +55,15 @@ class FilePage : public QWidget { * * @return QString */ - [[nodiscard]] auto GetSelected() const -> QString; + [[nodiscard]] auto GetSelected() const -> QContainer<QString>; + + /** + * @brief + * + * @return true + * @return false + */ + [[nodiscard]] auto IsBatchMode() const -> bool; public slots: /** @@ -92,7 +100,13 @@ class FilePage : public QWidget { * * @param int */ - void SignalMainWindowlUpdateBasicalOperaMenu(unsigned int); + void SignalMainWindowUpdateBasicOperaMenu(unsigned int); + + /** + * @brief + * + */ + void SignalSetBatchMode(bool); protected: /** @@ -118,7 +132,7 @@ class FilePage : public QWidget { * @brief * */ - void update_main_basical_opera_menu(const QString&); + void update_main_basic_opera_menu(const QContainer<QString>&); }; } // namespace GpgFrontend::UI |