summaryrefslogtreecommitdiff
path: root/src/tabwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabwidget.h')
-rw-r--r--src/tabwidget.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabwidget.h b/src/tabwidget.h
index 6e9f2f66..020376e1 100644
--- a/src/tabwidget.h
+++ b/src/tabwidget.h
@@ -45,6 +45,7 @@ signals:
public:
TabBar(QWidget *parent = 0);
+ ~TabBar();
protected:
void mousePressEvent(QMouseEvent* event);
@@ -72,7 +73,6 @@ private:
// ----------------------------------------------------------------------------------------------------------------------------
-
#include <QWebPage>
class WebView;
@@ -112,9 +112,7 @@ private:
#include <KUrl>
#include <KLineEdit>
#include <KMenu>
-
-// Qt Includes
-#include <QTabWidget>
+#include <KTabWidget>
QT_BEGIN_NAMESPACE
class QCompleter;
@@ -127,7 +125,7 @@ QT_END_NAMESPACE
Connects up the current tab's signals to this class's signal and uses WebActionMapper
to proxy the actions.
*/
-class TabWidget : public QTabWidget
+class TabWidget : public KTabWidget
{
Q_OBJECT
@@ -150,6 +148,8 @@ signals:
public:
TabWidget(QWidget *parent = 0);
+ ~TabWidget();
+
void clear();
void addWebAction(KAction *action, QWebPage::WebAction webAction);