From e9ebdf8f02999736ad2be178caa82319a65479c0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 26 Oct 2009 10:11:17 +0100 Subject: Get rid (for 0.3 release) of shift + arrows scrolling feature. Sorry, dudes. We have troubles with it :( --- src/webview.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/webview.h') diff --git a/src/webview.h b/src/webview.h index 5331d4cf..03ceb739 100644 --- a/src/webview.h +++ b/src/webview.h @@ -37,24 +37,13 @@ // Forward Declarations class WebPage; -class QTimer; class WebView : public QWebView { Q_OBJECT - Q_ENUMS(ScrollDirection) public: - enum ScrollDirection - { - NoScroll = 0, - Up = 2, - Down = 4, - Left = 6, - Right = 16 - }; - explicit WebView(QWidget *parent = 0); ~WebView(); @@ -83,18 +72,11 @@ private slots: void openLinkInNewWindow(); void openLinkInNewTab(); - void startScrollAnimation(ScrollDirection direction); - void stopScrollAnimation(); - void scrollFrameChanged(); - private: WebPage *m_page; int m_progress; QString m_statusBarText; - QTimer *m_scrollTimer; - int m_scrollDirection; - int m_scrollSpeedVertical; - int m_scrollSpeedHorizontal; + QPoint m_mousePos; }; -- cgit v1.2.1