]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea_Private.h
Upstreaming compilation patch needed for Gentoo.
[lyx.git] / src / frontends / qt4 / GuiWorkArea_Private.h
index a3cc7b338dc67c0ec47eb7efe94218769ebd06c9..76b05c0d36bb1f5327f8f8544db6ca3f7e0a8ab1 100644 (file)
@@ -111,7 +111,8 @@ struct GuiWorkArea::Private
        void hideCursor();
        /// show the cursor if it is not visible
        void showCursor();
-       ///
+       /// Set the range and value of the scrollbar and connect to its valueChanged
+       /// signal.
        void updateScrollbar();
        /// Change the cursor when the mouse hovers over a clickable inset
        void updateCursorShape();
@@ -127,7 +128,7 @@ struct GuiWorkArea::Private
                delete screen_;
                pixel_ratio_ = p->pixelRatio();
                if (lyxrc.use_qimage) {
-                       QImage *x = 
+                       QImage *x =
                                new QImage(static_cast<int>(pixel_ratio_ * p->viewport()->width()),
                                                   static_cast<int>(pixel_ratio_ * p->viewport()->height()),
                                                   QImage::Format_ARGB32_Premultiplied);
@@ -136,7 +137,7 @@ struct GuiWorkArea::Private
 #endif
                        screen_ = x;
                } else {
-                       QPixmap *x = 
+                       QPixmap *x =
                                new QPixmap(static_cast<int>(pixel_ratio_ * p->viewport()->width()),
                                                        static_cast<int>(pixel_ratio_ * p->viewport()->height()));
 #if QT_VERSION >= 0x050000
@@ -182,7 +183,7 @@ struct GuiWorkArea::Private
        /// are ignored
        bool dialog_mode_;
        /// store the name of the context menu when the mouse is
-       /// pressed. This is used to get the correct context menu 
+       /// pressed. This is used to get the correct context menu
        /// when the menu is actually shown (after releasing on Windows)
        /// and after the DEPM has done its job.
        std::string context_menu_name_;
@@ -191,6 +192,8 @@ struct GuiWorkArea::Private
        ///
        support::FileName file_name_;
        ///
+       bool shell_escape_;
+       ///
        bool read_only_;
        ///
        docstring vc_status_;