From b604624123b78dffd48740431733a1ff78105c0f Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 7 Feb 2020 01:32:05 +0100 Subject: [PATCH] WIP: refactoring ongoing. --- src/lay/lay/layMainWindow.h | 30 ------------------- src/laybasic/laybasic/laySelectCellViewForm.h | 4 ++- 2 files changed, 3 insertions(+), 31 deletions(-) diff --git a/src/lay/lay/layMainWindow.h b/src/lay/lay/layMainWindow.h index 78d133f7f..3f5c7176e 100644 --- a/src/lay/lay/layMainWindow.h +++ b/src/lay/lay/layMainWindow.h @@ -532,36 +532,6 @@ public: */ static std::vector menu_symbols (); - /** - * @brief Get the action for a slot - */ - lay::Action &action_for_slot (const char *slot); - - /** - * @brief Create a configuration action with the given title, parameter name and value - * - * The action will be owned by the main window but can be deleted to remove the action from the main window. - */ - lay::Action *create_config_action (const std::string &title, const std::string &cname, const std::string &cvalue); - - /** - * @brief Create a configuration action with the given parameter name and value - * - * The action will be owned by the main window but can be deleted to remove the action from the main window. - * This version is provided for applications, where the title is set later. - */ - lay::Action *create_config_action (const std::string &cname, const std::string &cvalue); - - /** - * @brief Register a configuration action with the given name - */ - void register_config_action (const std::string &name, lay::ConfigureAction *action); - - /** - * @brief Unregister a configuration action with the given name - */ - void unregister_config_action (const std::string &name, lay::ConfigureAction *action); - /** * @brief Open a new layout in mode 'mode' * diff --git a/src/laybasic/laybasic/laySelectCellViewForm.h b/src/laybasic/laybasic/laySelectCellViewForm.h index b03e8c651..b0f0e6f30 100644 --- a/src/laybasic/laybasic/laySelectCellViewForm.h +++ b/src/laybasic/laybasic/laySelectCellViewForm.h @@ -24,6 +24,8 @@ #ifndef HDR_SelectCellViewForm #define HDR_SelectCellViewForm +#include "laybasicCommon.h" + #include #include @@ -37,7 +39,7 @@ namespace lay class CellView; class LayoutView; -class SelectCellViewForm +class LAYBASIC_PUBLIC SelectCellViewForm : public QDialog, private Ui::SelectCellViewForm { Q_OBJECT