]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / GuiView.h
index e72ad8bde7f87cdeba5c70436e2e8b1a723255ea..509807d2c8f6fe832a513656f298899e2dd2dcc2 100644 (file)
@@ -47,13 +47,20 @@ class GuiView : public QMainWindow, public LyXView {
        Q_OBJECT
 public:
        /// create a main window of the given dimensions
-       GuiView(Gui & owner);
+       GuiView();
 
        ~GuiView();
 
        /// initialize the object
        virtual void init();
 
+       ///
+       virtual void setGeometry(
+               unsigned int width,
+               unsigned int height,
+               int posx, int posy,
+               bool maximize);
+
        /// show - display the top-level window
        void show();
 
@@ -63,7 +70,7 @@ public:
        Toolbars::ToolbarPtr makeToolbar(ToolbarBackend::Toolbar const & tbb);
 
        /// display a status message
-       virtual void message(std::string const & str);
+       virtual void message(lyx::docstring const & str);
 
        /// clear status message
        virtual void clearMessage();
@@ -106,7 +113,7 @@ private:
         * @param t main window title
         * @param it iconified (short) title
         */
-       virtual void setWindowTitle(std::string const & t, std::string const & it);
+       virtual void setWindowTitle(lyx::docstring const & t, lyx::docstring const & it);
 
        QTimer statusbar_timer_;