* 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.
*/
#define GUIDOCUMENT_H
#include "BufferParams.h"
-#include "BulletsModule.h"
#include "GuiDialog.h"
#include "GuiIdListModel.h"
#include "ui_PreambleUi.h"
#include "ui_TextLayoutUi.h"
+#include "support/unique_ptr.h"
+
#include <QStandardItemModel>
namespace lyx {
-class BufferParams;
class LayoutModuleList;
class LyXModule;
-class TextClass;
namespace support {
class TempFile;
namespace frontend {
+class BulletsModule;
+class FancyLineEdit;
class FloatPlacement;
class GuiBranches;
class GuiIndices;
BufferParams const & params() const { return bp_; }
public Q_SLOTS:
- void onBufferViewChanged();//override
+ void onBufferViewChanged() override;
// OK button clicked
void slotOK();
// Apply button clicked
GuiIdListModel * selectedModel() { return &modules_sel_model_; }
/// Apply changes
- void applyView();
+ void applyView() override;
/// update
- void updateContents();
+ void updateContents() override;
///
void updateAvailableModules();
///
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;
///
void changed();
private:
- void closeEvent(QCloseEvent *);
+ void closeEvent(QCloseEvent *) override;
void on_preambleTE_textChanged() { changed(); }
typedef std::map<BufferId, std::pair<int,int> > Coords;