diff options
author | Benjamin Poulain <ikipou@gmail.com> | 2010-11-13 16:17:23 +0100 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-11-20 18:51:52 +0100 |
commit | 847d4f2e2b68add31d0dd25a4ce94445fa591ba8 (patch) | |
tree | 6067858e5520db0d715f71ad24bdd3b6307c842d /src/webview.h | |
parent | -pedantic (diff) | |
download | rekonq-847d4f2e2b68add31d0dd25a4ce94445fa591ba8.tar.xz |
Update the name of WebView attribute to conform to the conventions
Most classes of Rekonq uses m_ prefix for attribute name, this
patches update WebView to follow those conventions.
Reviewed by: Pierre Rossi
Reviewed by: Andrea Diamantini
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/webview.h b/src/webview.h index e760cfe1..9518b74d 100644 --- a/src/webview.h +++ b/src/webview.h @@ -52,7 +52,7 @@ public: WebPage *page(); - inline QPoint mousePos() { return _mousePos; } + inline QPoint mousePos() { return m_mousePos; } protected: void contextMenuEvent(QContextMenuEvent *event); @@ -86,23 +86,23 @@ signals: void zoomChanged(int); private: - QPoint _mousePos; - QPoint _clickPos; + QPoint m_mousePos; + QPoint m_clickPos; // Auto Scroll - QTimer *_autoScrollTimer; - int _VScrollSpeed; - int _HScrollSpeed; - bool _canEnableAutoScroll; - bool _isAutoScrollEnabled; + QTimer *const m_autoScrollTimer; + int m_vScrollSpeed; + int m_hScrollSpeed; + bool m_canEnableAutoScroll; + bool m_isAutoScrollEnabled; // Smooth Scroll - QTimer *_smoothScrollTimer; - QTime _smoothScrollTime; - bool _scrollBottom; - bool _smoothScrolling; - int _dy; - int _smoothScrollSteps; + QTimer *const m_smoothScrollTimer; + QTime m_smoothScrollTime; + bool m_scrollBottom; + bool m_smoothScrolling; + int m_dy; + int m_smoothScrollSteps; }; #endif |