]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBox.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiBox.h
index 372f4b24c33c3ba649bfe15df168d9ef63e89304..813454a4d493598700c3f4e0fc79b5623e7bc5ae 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Jürgen Spitzmüller
+ * \author Jürgen Spitzmüller
  * \author Martin Vermeer (with useful hints from Angus Leeming)
  *
  * Full author contact details are available in file CREDITS.
 #include "ui_BoxUi.h"
 #include "insets/InsetBox.h"
 
-#include <vector>
-
 
 namespace lyx {
 namespace frontend {
 
-class GuiBox : public GuiDialog, public Ui::BoxUi, public Controller
+class GuiBox : public GuiDialog, public Ui::BoxUi
 {
        Q_OBJECT
 
 public:
-       GuiBox(LyXView & lv);
+       GuiBox(GuiView & lv);
 
 private Q_SLOTS:
        void change_adaptor();
-       void innerBoxChanged(const QString &);
+       void innerBoxChanged(QString const &);
        void typeChanged(int);
        void restoreClicked();
+       void pagebreakClicked();
 
 private:
-       ///
-       void closeEvent(QCloseEvent * e);
-
-       /// parent controller
-       Controller & controller() { return *this; }
        /// add and remove special lengths
        void setSpecial(bool ibox);
        /// only show valid inner box items
@@ -62,13 +56,13 @@ private:
        bool isBufferDependent() const { return true; }
 
        ///
-       std::vector<std::string> ids_;
+       QStringList ids_;
        ///
-       std::vector<docstring> gui_names_;
+       QStringList gui_names_;
        ///
-       std::vector<std::string> ids_spec_;
+       QStringList ids_spec_;
        ///
-       std::vector<docstring> gui_names_spec_;
+       QStringList gui_names_spec_;
 
        ///
        InsetBoxParams params_;