]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPrint.h
Whitespace.
[lyx.git] / src / frontends / qt4 / GuiPrint.h
index 5c84ba23ed80e8bf026d6895a7c0ac1fe11b9dc1..c0af9572c76d5d04a749fb5a2696c42496fcb218 100644 (file)
 
 #include "Dialog.h"
 #include "PrinterParams.h"
-#include "support/docstring.h"
 
 namespace lyx {
 namespace frontend {
 
-class GuiPrint : public GuiDialog, public Ui::PrintUi, public Controller
+class GuiPrint : public GuiDialog, public Ui::PrintUi
 {
        Q_OBJECT
 
 public:
-       GuiPrint(LyXView & lv);
+       GuiPrint(GuiView & lv);
 
 private Q_SLOTS:
        void change_adaptor();
@@ -39,8 +38,6 @@ private Q_SLOTS:
        void copiesChanged(int);
        void printerChanged();
        void pagerangeChanged();
-       /// parent controller
-       Controller & controller() { return *this; }
 
 private:
        /// Apply changes
@@ -58,7 +55,7 @@ private:
        ///
        bool canApplyToReadOnly() const { return true; }
        ///
-       kb_action getLfun() const { return LFUN_BUFFER_PRINT; }
+       FuncCode getLfun() const { return LFUN_BUFFER_PRINT; }
 
        ///
        PrinterParams params_;