]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiParagraph.h
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiParagraph.h
index 07f0c4863dd0e61794dafa8e82b5c81dc81276ac..ee9a06bf9976b29ae22822c3f26253d753384515 100644 (file)
 #ifndef GUIPARAGRAPH_H
 #define GUIPARAGRAPH_H
 
-// Uncomment this if you prefer dock widget
-//#define USE_DOCK_WIDGET
-
-#include "Layout.h"
-#include "ui_ParagraphUi.h"
 #include "DialogView.h"
-#include "ParagraphParameters.h"
 #include "GuiView.h"
 #include "qt_helpers.h"
+#include "ui_ParagraphUi.h"
+
+#include "Layout.h"
+#include "ParagraphParameters.h"
+
 #include "support/debug.h"
 
-#include <QCloseEvent>
 #include <QDialog>
 #include <QSettings>
 #include <QShowEvent>
@@ -48,7 +46,9 @@ public:
        //@{
        void updateView();
        void dispatchParams();
+       void enableView(bool enable);
        bool isBufferDependent() const { return true; }
+       virtual kb_action getLfun() const { return LFUN_PARAGRAPH_PARAMS_APPLY; }
        //@}
 
 private:
@@ -63,7 +63,7 @@ private:
        ///
        ParagraphParameters const & params() const;
        ///
-       bool haveMulitParSelection();
+       bool haveMultiParSelection();
        ///
        bool canIndent() const;
        ///