]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.h
add missing typename
[lyx.git] / src / LyXView.h
index dafacd8956ff89d545e377b41621529b9c23eeba..425469ac881ca230a89b78dba943f86272fd89c6 100644 (file)
@@ -53,8 +53,7 @@ public:
        Toolbar * getToolbar() const;
 
        /// sets the layout in the toolbar layout combox
-       void setLayout(lyx::layout_type layout);
-
+       void setLayout(string const & layout);
        /// update the toolbar
        void updateToolbar();
 
@@ -70,7 +69,7 @@ public:
        void messagePush(string const & str);
        ///
        void messagePop();
-       
+
        ///
        Menubar * getMenubar() const;
 
@@ -101,13 +100,13 @@ public:
 protected:
        ///
        Menubar * menubar;
-       /// 
+       ///
        Toolbar * toolbar;
        /** This is supposed to be a pointer or a list of pointers to the
           BufferViews currently being shown in the LyXView. So far
           this is not used, but that should change pretty soon. (Lgb) */
        BufferView * bufferview;
-       /// 
+       ///
        MiniBuffer * minibuffer;
        ///
        Intl * intl;
@@ -118,7 +117,7 @@ protected:
        ///
        void invalidateLayoutChoice();
 private:
-       /// 
+       ///
        LyXFunc * lyxfunc;
        ///
        Dialogs * dialogs_;