aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-02 15:47:01 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-02 15:47:01 +0200
commita6e6823da845ca14d37d8914c80185257e8c0e62 (patch)
tree1c0126f5a78bc95a6f536d2b091cf762972943c9 /src/mainwindow/mainwindow.h
parentUpdated documentation (diff)
downloadsmolbote-a6e6823da845ca14d37d8914c80185257e8c0e62.tar.xz
Refactoring TabBar
- cleaned up code - moved to mainwindow/widgets - add Close tabs left/right to context menu
Diffstat (limited to 'src/mainwindow/mainwindow.h')
-rw-r--r--src/mainwindow/mainwindow.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainwindow/mainwindow.h b/src/mainwindow/mainwindow.h
index 84b408b..8b205ab 100644
--- a/src/mainwindow/mainwindow.h
+++ b/src/mainwindow/mainwindow.h
@@ -13,7 +13,6 @@
#include "webengine/webengineprofile.h"
#include "widgets/loadingbar.h"
#include "widgets/navigationbar.h"
-#include "widgets/mainwindowtabbar.h"
#include <QMainWindow>
#include <QUrl>
#include <interfaces.h>
@@ -24,12 +23,11 @@ namespace Ui
class MainWindow;
}
+class TabBar;
class SearchForm;
-
class Configuration;
class BookmarksWidget;
class DownloadsWidget;
-
class MainWindowMenuBar;
class UrlLineEdit;
@@ -77,7 +75,7 @@ private:
Ui::MainWindow *ui;
SearchForm *m_searchBox;
- MainWindowTabBar *tabBar;
+ TabBar *tabBar;
WebView *m_currentView;
MainWindowMenuBar *menuBar;