X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FGuiDocument.h;h=b6a51c5b748707b18e7043d542e12d739c0e5b68;hb=b41293352ea8d52890b7668f059fd07f09bd6bb6;hp=4d13f44d0f1a9f7da338fa3d6a22bf28f863c575;hpb=f2243a3bc72b896ac0dad3499d60c47b9bd4e251;p=features.git diff --git a/src/frontends/qt/GuiDocument.h b/src/frontends/qt/GuiDocument.h index 4d13f44d0f..b6a51c5b74 100644 --- a/src/frontends/qt/GuiDocument.h +++ b/src/frontends/qt/GuiDocument.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Edwin Leuven - * \author Richard Heck (modules) + * \author Richard Kimberly Heck (modules) * * Full author contact details are available in file CREDITS. */ @@ -14,7 +14,6 @@ #define GUIDOCUMENT_H #include "BufferParams.h" -#include "BulletsModule.h" #include "GuiDialog.h" #include "GuiIdListModel.h" @@ -38,14 +37,14 @@ #include "ui_PreambleUi.h" #include "ui_TextLayoutUi.h" +#include "support/unique_ptr.h" + #include namespace lyx { -class BufferParams; class LayoutModuleList; class LyXModule; -class TextClass; namespace support { class TempFile; @@ -53,6 +52,8 @@ namespace support { namespace frontend { +class BulletsModule; +class FancyLineEdit; class FloatPlacement; class GuiBranches; class GuiIndices; @@ -92,7 +93,7 @@ public: BufferParams const & params() const { return bp_; } public Q_SLOTS: - void onBufferViewChanged();//override + void onBufferViewChanged() override; // OK button clicked void slotOK(); // Apply button clicked @@ -204,9 +205,9 @@ private: GuiIdListModel * selectedModel() { return &modules_sel_model_; } /// Apply changes - void applyView(); + void applyView() override; /// update - void updateContents(); + void updateContents() override; /// void updateAvailableModules(); /// @@ -238,24 +239,24 @@ private: FancyLineEdit * filter_; /// return false if validate_listings_params returns error - bool isValid(); + bool isValid() override; /// font family names for BufferParams::fonts_default_family static char const * const fontfamilies[5]; /// GUI names corresponding fontfamilies static char const * fontfamilies_gui[5]; /// - bool initialiseParams(std::string const & data); + bool initialiseParams(std::string const & data) override; /// - void clearParams(); + void clearParams() override; /// - void dispatchParams(); + void dispatchParams() override; /// void modulesToParams(BufferParams &); /// - bool isBufferDependent() const { return true; } + bool isBufferDependent() const override { return true; } /// always true since we don't manipulate document contents - bool canApply() const { return true; } + bool canApply() const override { return true; } /// DocumentClass const & documentClass() const; /// @@ -364,7 +365,7 @@ Q_SIGNALS: void changed(); private: - void closeEvent(QCloseEvent *); + void closeEvent(QCloseEvent *) override; void on_preambleTE_textChanged() { changed(); } typedef std::map > Coords;