X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiPrint.h;h=c0af9572c76d5d04a749fb5a2696c42496fcb218;hb=ee7dd4a11ea21851e7e32164c66b37d3bc8ac31d;hp=5c84ba23ed80e8bf026d6895a7c0ac1fe11b9dc1;hpb=868cb241a2f88df155ef53a4c3ffe3f87304a824;p=lyx.git diff --git a/src/frontends/qt4/GuiPrint.h b/src/frontends/qt4/GuiPrint.h index 5c84ba23ed..c0af9572c7 100644 --- a/src/frontends/qt4/GuiPrint.h +++ b/src/frontends/qt4/GuiPrint.h @@ -20,17 +20,16 @@ #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_;