]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/DockView.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / DockView.h
index 4b056789c4555661e27f261818c967dbda5567ab..5b2cdd7a96fa44185a95fc74b70a4f7a827ba7e6 100644 (file)
@@ -31,11 +31,12 @@ class DockView : public QDockWidget, public Dialog
 public:
        DockView(
                GuiView & parent, ///< the main window where to dock.
-               std::string const & name, ///< dialog identifier.
+               QString const & name, ///< dialog identifier.
+               QString const & title, ///< dialog title.
                Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
                Qt::WindowFlags flags = 0
        )
-               : QDockWidget(&parent, flags), Dialog(parent, name)
+               : QDockWidget(&parent, flags), Dialog(parent, name, title)
        {
                if (flags & Qt::Drawer)
                        setFeatures(QDockWidget::NoDockWidgetFeatures);