summaryrefslogtreecommitdiff
path: root/src/urlpanel.h
diff options
context:
space:
mode:
authorJon Ander Peñalba <jonan88@gmail.com>2010-10-19 20:40:09 +0200
committerJon Ander Peñalba <jonan88@gmail.com>2010-10-19 20:40:09 +0200
commitb0d83c63ef169f18ecdb5d28575ad7f76c3881fc (patch)
treec4430b5e018a9e9f0cbd868893def877d7ae51eb /src/urlpanel.h
parentcan not -> cannot (diff)
downloadrekonq-b0d83c63ef169f18ecdb5d28575ad7f76c3881fc.tar.xz
Minor clean-up to the UrlPanel class
Diffstat (limited to 'src/urlpanel.h')
-rw-r--r--src/urlpanel.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/urlpanel.h b/src/urlpanel.h
index 2bf1c3fe..722eeae0 100644
--- a/src/urlpanel.h
+++ b/src/urlpanel.h
@@ -33,7 +33,7 @@
#include "rekonq_defines.h"
// Qt Includes
-#include <QDockWidget>
+#include <QtGui/QDockWidget>
// Forward Declarations
class PanelTreeView;
@@ -47,25 +47,25 @@ class REKONQ_TESTS_EXPORT UrlPanel : public QDockWidget
public:
explicit UrlPanel(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0);
- virtual ~UrlPanel();
+ virtual ~UrlPanel() {}
+
+Q_SIGNALS:
+ void openUrl(const KUrl &, const Rekonq::OpenType &);
+ void itemHovered(const QString &);
- inline PanelTreeView *panelTreeView() const { return _treeView; };
-
public Q_SLOTS:
void showing(bool);
-protected Q_SLOTS:
- virtual void contextMenuItem(const QPoint &pos) = 0;
- virtual void contextMenuGroup(const QPoint &pos) = 0;
- virtual void contextMenuEmpty(const QPoint &pos) = 0;
-
protected:
virtual void setup();
virtual QAbstractItemModel* getModel() = 0;
-Q_SIGNALS:
- void openUrl(const KUrl &, const Rekonq::OpenType &);
- void itemHovered(const QString &);
+ PanelTreeView* panelTreeView() const {return _treeView;}
+
+protected Q_SLOTS:
+ virtual void contextMenuItem(const QPoint &pos) = 0;
+ virtual void contextMenuGroup(const QPoint &pos) = 0;
+ virtual void contextMenuEmpty(const QPoint &pos) = 0;
private:
PanelTreeView *_treeView;