diff options
Diffstat (limited to 'src/webtab.h')
-rw-r--r-- | src/webtab.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/src/webtab.h b/src/webtab.h index ecf8e5b3..10b8fe94 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -2,8 +2,8 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2008-2009 by Andrea Diamantini <adjam7 at gmail dot com> -* Copyright (C) 2009 by Lionel Chauvin <megabigbug@yahoo.fr> +* Copyright (C) 2008-2010 by Andrea Diamantini <adjam7 at gmail dot com> +* Copyright (C) 2009-2010 by Lionel Chauvin <megabigbug@yahoo.fr> * * * This program is free software; you can redistribute it and/or @@ -11,9 +11,9 @@ * published by the Free Software Foundation; either version 2 of * the License or (at your option) version 3 or any later version * accepted by the membership of KDE e.V. (or its successor approved -* by the membership of KDE e.V.), which shall act as a proxy +* by the membership of KDE e.V.), which shall act as a proxy * defined in Section 14 of version 3 of the license. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -29,16 +29,21 @@ #define WEBTAB_H +// Rekonq Includes +#include "rekonq_defines.h" + // KDE Includes #include <KUrl> -#include <KWebView> + +// Qt Includes +#include <QWidget> // Forward Declarations class WebPage; class WebView; -class WebTab : public QWidget +class REKONQ_TESTS_EXPORT WebTab : public QWidget { Q_OBJECT @@ -48,21 +53,22 @@ public: WebView *view(); WebPage *page(); - KUrl url() const; - QString lastStatusBarText() const; + KUrl url(); + int progress(); + void createPreviewSelectorBar(int index); + + bool hasRSSInfo(); private slots: - void setStatusBarText(const QString &string); void updateProgress(int progress); void loadFinished(bool); void createWalletBar(const QString &, const QUrl &); - + void showRSSInfo(QPoint pos); + private: - WebView *const m_view; int m_progress; - QString m_statusBarText; }; #endif |