summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-11-07 23:34:43 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-11-19 00:12:21 +0100
commit89d4696eae6bb7b9824f4c0687fbf27b2551a0e0 (patch)
tree0f47719eccc9b5b9039698ed3a7781a74b6a4c2d /src/mainview.h
parentRevert "Add a Clear Button to URL bar to clear it" (diff)
downloadrekonq-89d4696eae6bb7b9824f4c0687fbf27b2551a0e0.tar.xz
API clean up
urlBar --> currentUrlBar
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 29162dd1..3ee688e2 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -69,11 +69,12 @@ public:
~MainView();
inline StackedUrlBar *widgetBar() const { return _widgetBar; }
- UrlBar *urlBar() const;
- WebTab *webTab(int index) const;
-
TabBar *tabBar() const;
+
WebTab *currentWebTab() const;
+ UrlBar *currentUrlBar() const;
+
+ WebTab *webTab(int index) const;
/**
* show and hide TabBar if user doesn't choose
@@ -97,7 +98,7 @@ public:
inline QList<HistoryItem> recentlyClosedTabs() { return m_recentlyClosedTabs; }
-signals:
+Q_SIGNALS:
// tab widget signals
void tabsChanged();
void lastTabClosed();
@@ -110,7 +111,7 @@ signals:
void printRequested(QWebFrame *frame);
-public slots:
+public Q_SLOTS:
/**
* Core browser slot. This create a new tab with a WebView inside
* for browsing and follows rekonq settings about opening there a
@@ -143,7 +144,7 @@ public slots:
void webReload();
void webStop();
-private slots:
+private Q_SLOTS:
void currentChanged(int index);
void webViewLoadStarted();