]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LayoutBox.h
QDialogButtonBox for the remaining dialogs.
[lyx.git] / src / frontends / qt4 / LayoutBox.h
index e520e3c0a8dcaf70051d40b953e4b019473e906d..ac8c86e0f17e846b27d90d5787b5326a739320a7 100644 (file)
@@ -20,8 +20,6 @@
 
 #include <QComboBox>
 
-class QToolBar;
-
 namespace lyx {
 
 class DocumentClass;
@@ -36,7 +34,8 @@ class LayoutBox : public QComboBox
 {
        Q_OBJECT
 public:
-       LayoutBox(QToolBar *, GuiView &);
+       LayoutBox(GuiView &);
+       ~LayoutBox();
 
        /// select the right layout in the combobox.
        void set(docstring const & layout);
@@ -48,7 +47,7 @@ public:
 
        ///
        void showPopup();
-       
+
        ///
        bool eventFilter(QObject * o, QEvent * e);
        ///
@@ -62,7 +61,7 @@ private Q_SLOTS:
 
 private:
        friend class LayoutItemDelegate;
-       struct Private;
+       class Private;
        Private * const d;
 };