diff options
| author | aqua <aqua@iserlohn-fortress.net> | 2022-08-28 17:36:28 +0300 | 
|---|---|---|
| committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-05 23:07:42 +0300 | 
| commit | 72190e0977c0e352e5055e6f65bf2095efa77805 (patch) | |
| tree | 6f13302e39141ed6c7ff5f382d310e7273c379d8 /src/tabbar/tabbar.h | |
| parent | Remove source_location (diff) | |
| download | rekonq-72190e0977c0e352e5055e6f65bf2095efa77805.tar.xz | |
Add actions to RekonqView
- back, forward, refresh, reload
Diffstat (limited to 'src/tabbar/tabbar.h')
| -rw-r--r-- | src/tabbar/tabbar.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tabbar/tabbar.h b/src/tabbar/tabbar.h index c305d1b5..077255a4 100644 --- a/src/tabbar/tabbar.h +++ b/src/tabbar/tabbar.h @@ -29,6 +29,12 @@ public:        QRect tabTextRect(int index);    */ +  void setCurrentView(RekonqView *view) +  { +    const auto index = m_views.indexOf(view); +    setCurrentIndex(index); +  } +  signals:    void removeView(RekonqView *);  | 
