X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FLayoutBox.h;h=3ea92325f13852decab9496c31476e5d9d1f2dc1;hb=1f10969bb5c5f36017bf5ba8671381b09945cf57;hp=e520e3c0a8dcaf70051d40b953e4b019473e906d;hpb=5f2429b4e21f80c2e786a270b2df2d912f12b327;p=lyx.git diff --git a/src/frontends/qt4/LayoutBox.h b/src/frontends/qt4/LayoutBox.h index e520e3c0a8..3ea92325f1 100644 --- a/src/frontends/qt4/LayoutBox.h +++ b/src/frontends/qt4/LayoutBox.h @@ -20,8 +20,6 @@ #include -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); @@ -62,7 +61,7 @@ private Q_SLOTS: private: friend class LayoutItemDelegate; - struct Private; + class Private; Private * const d; };