X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiAbout.h;h=a8a3b7996d18b8f2051868555a7141662b290c8c;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=d75f9a8602a510b66423b7a9e4e7491c3e2bc969;hpb=9a95d2a936748c057db94a3083c4b9e6587eea0b;p=lyx.git diff --git a/src/frontends/qt4/GuiAbout.h b/src/frontends/qt4/GuiAbout.h index d75f9a8602..a8a3b7996d 100644 --- a/src/frontends/qt4/GuiAbout.h +++ b/src/frontends/qt4/GuiAbout.h @@ -12,44 +12,32 @@ #ifndef GUIABOUT_H #define GUIABOUT_H -#include "GuiDialogView.h" -#include "ControlAboutlyx.h" -#include "ui_AboutUi.h" - -#include +#include "DialogView.h" namespace lyx { namespace frontend { -class GuiAboutDialog : public QDialog, public Ui::AboutUi { +class GuiAbout : public DialogView +{ Q_OBJECT + public: - GuiAboutDialog(QWidget * parent = 0) - : QDialog(parent) - { - setupUi(this); - connect(closePB, SIGNAL(clicked()), this, SLOT(reject())); - } -}; + // Constructor + GuiAbout(GuiView & lv); +private Q_SLOTS: + void on_closePB_clicked(); -class GuiAbout : public GuiView -{ -public: - GuiAbout(GuiDialog &); - /// parent controller - ControlAboutlyx & controller() - { return static_cast(this->getController()); } - /// parent controller - ControlAboutlyx const & controller() const - { return static_cast(this->getController()); } private: - /// not needed - virtual void applyView() {} - /// not needed - virtual void update_contents() {} - // build the dialog - virtual void build_dialog(); + /// Controller stuff + ///@{ + void updateView() {} + void dispatchParams() {} + bool isBufferDependent() const { return false; } + ///@} + + struct Private; + Private * const d; }; } // namespace frontend