summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
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();