[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [konsole] src: Add a 'getter' for ScrollBarPosition
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2013-08-31 23:15:12
Message-ID: E1VFuNs-0008K9-Rl () scm ! kde ! org
[Download RAW message or body]

Git commit 64aaa934de50cd01d017d9d11c61f9f62fd44844 by Kurt Hindenburg.
Committed on 31/08/2013 at 23:14.
Pushed by hindenburg into branch 'master'.

Add a 'getter' for ScrollBarPosition

M  +3    -0    src/TerminalDisplay.h

http://commits.kde.org/konsole/64aaa934de50cd01d017d9d11c61f9f62fd44844

diff --git a/src/TerminalDisplay.h b/src/TerminalDisplay.h
index bbef757..fb040a7 100644
--- a/src/TerminalDisplay.h
+++ b/src/TerminalDisplay.h
@@ -95,6 +95,9 @@ public:
      * is shown on the left or right side of the display.
      */
     void setScrollBarPosition(Enum::ScrollBarPositionEnum position);
+    Enum::ScrollBarPositionEnum scrollBarPosition() const {
+        return _scrollbarLocation;
+    }
 =

     /**
      * Sets the current position and range of the display's scroll bar.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic