X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FDialog.h;h=5f958e79d0d835a552354de0cf7a704437b913c6;hb=b7f6b979d0f889f08e735f35378bb20ba3788b4b;hp=bf4a313114c7c16ff293adeb0d4cfa34512f9dec;hpb=f4c390712ea835cc04a3da13b0fff59db66cf359;p=lyx.git diff --git a/src/frontends/qt4/Dialog.h b/src/frontends/qt4/Dialog.h index bf4a313114..5f958e79d0 100644 --- a/src/frontends/qt4/Dialog.h +++ b/src/frontends/qt4/Dialog.h @@ -20,6 +20,7 @@ #include +class QSettings; class QWidget; namespace lyx { @@ -47,7 +48,7 @@ enum KernelDocType /** \c Dialog collects the different parts of a Model-Controller-View * split of a generic dialog together. */ -class Dialog +class Dialog { public: /// \param lv is the access point for the dialog to the LyX kernel. @@ -72,7 +73,7 @@ public: * This default implementation saves the geometry state. * Reimplement to save more settings. **/ - virtual void saveSession() const; + virtual void saveSession(QSettings & settings) const; /// Restore session settings. /** @@ -265,7 +266,7 @@ protected: /// virtual void apply(); /// To be called when the buffer view has changed - virtual void on_bufferViewChanged() = 0; + virtual void onBufferViewChanged() = 0; private: /** The Dialog's name is the means by which a dialog identifies