diff options
Diffstat (limited to 'src/webtab.h')
-rw-r--r-- | src/webtab.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/webtab.h b/src/webtab.h index abab5d73..12f528d9 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -56,10 +56,10 @@ public: explicit WebTab(QWidget *parent = 0); ~WebTab(); - inline WebView *view() { return _view; } - UrlBar *urlBar() { return _bar; } - inline WebPage *page() { return view()->page(); } - inline int progress() { return _progress; } + inline WebView *view() const { return m_webView; } + UrlBar *urlBar() const { return m_urlBar; } + inline WebPage *page() const { return view()->page(); } + inline int progress() const { return m_progress; } KUrl url(); void createPreviewSelectorBar(int index); @@ -68,7 +68,7 @@ public: bool hasRSSInfo(); bool isPageLoading(); - KParts::ReadOnlyPart *part() { return _part; } + KParts::ReadOnlyPart *part() { return m_part; } void setPart(KParts::ReadOnlyPart *p, const KUrl &u); private Q_SLOTS: @@ -83,15 +83,15 @@ Q_SIGNALS: void titleChanged(const QString &); private: - WebView *_view; - UrlBar *_bar; + WebView *const m_webView; + UrlBar *const m_urlBar; - int _progress; + int m_progress; - QWeakPointer<WalletBar> _walletBar; - QWeakPointer<PreviewSelectorBar> _previewSelectorBar; + QWeakPointer<WalletBar> m_walletBar; + QWeakPointer<PreviewSelectorBar> m_previewSelectorBar; - KParts::ReadOnlyPart *_part; + KParts::ReadOnlyPart *m_part; }; #endif |