]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDialog.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiDialog.h
index 7ade39cd6e7c615e274d12e1d53939b5312c88f7..ce9f2fcd6a774ae7a3bb1d701c4a9e6512f94fee 100644 (file)
@@ -40,7 +40,7 @@ public:
        /// \param name is the identifier given to the dialog by its parent
        /// container.
        /// \param title is the window title used for decoration.
-       GuiDialog(GuiView & lv, std::string const & name, QString const & title);
+       GuiDialog(GuiView & lv, QString const & name, QString const & title);
 
        virtual QWidget * asQWidget() { return this; }
        virtual QWidget const * asQWidget() const { return this; }
@@ -58,6 +58,8 @@ public Q_SLOTS:
        void slotApply();
        // Close button clicked or closed from WindowManager
        void slotClose();
+       ///
+       void closeEvent(QCloseEvent * e);
 
 public:
        /** Check whether we may apply our data.
@@ -112,7 +114,7 @@ class GuiCommand : public GuiDialog
 public:
        /// We need to know with what sort of inset we're associated.
        // FIXME This should probably be an InsetCode
-       GuiCommand(GuiView &, std::string const & name, QString const & title);
+       GuiCommand(GuiView &, QString const & name, QString const & title);
        ///
        bool initialiseParams(std::string const & data);
        /// clean-up on hide.