summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-11-22 18:07:45 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-11-22 18:07:45 +0100
commitcc6fa971a01ebd2f16db11bea99d2e8d008682fc (patch)
tree768acaa5ed864eebbd27782dfac592233e27a547 /src/urlbar/listitem.h
parentDo NOT download everytime engines favicons if present (diff)
downloadrekonq-cc6fa971a01ebd2f16db11bea99d2e8d008682fc.tar.xz
improvements on urlbar
STEP 2: - work & fix on search engine favicons - simplify code (and remove dead one) - API clean up - delete ASAP list items and suggestions - let the URL in the suggestions be an hard grey
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r--src/urlbar/listitem.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h
index f34da334..47d7822d 100644
--- a/src/urlbar/listitem.h
+++ b/src/urlbar/listitem.h
@@ -72,7 +72,6 @@ public Q_SLOTS:
Q_SIGNALS:
void itemClicked(ListItem *item, Qt::MouseButton, Qt::KeyboardModifiers);
- void updateList();
protected:
virtual void paintEvent(QPaintEvent *event);
@@ -106,19 +105,6 @@ private:
// -------------------------------------------------------------------------
-class REKONQ_TESTS_EXPORT IconLabel : public QLabel
-{
- Q_OBJECT
-
-public:
- explicit IconLabel(const QString &icon, QWidget *parent = 0);
- explicit IconLabel(const KIcon &icon, QWidget *parent = 0);
-};
-
-
-// -------------------------------------------------------------------------
-
-
class REKONQ_TESTS_EXPORT TextLabel : public QLabel
{
Q_OBJECT
@@ -134,18 +120,6 @@ public:
// -------------------------------------------------------------------------
-class REKONQ_TESTS_EXPORT DescriptionLabel : public QLabel
-{
- Q_OBJECT
-
-public:
- explicit DescriptionLabel(const QString &text, QWidget *parent = 0);
-};
-
-
-// -------------------------------------------------------------------------
-
-
class REKONQ_TESTS_EXPORT EngineBar : public KToolBar
{
Q_OBJECT
@@ -188,7 +162,6 @@ private Q_SLOTS:
private:
TextLabel* m_titleLabel;
- IconLabel* m_iconLabel;
EngineBar* m_engineBar;
QString m_text;
KService::Ptr m_currentEngine;
@@ -198,23 +171,6 @@ private:
// -------------------------------------------------------------------------
-class REKONQ_TESTS_EXPORT SuggestionListItem : public ListItem
-{
- Q_OBJECT
-
-public:
- SuggestionListItem(const UrlSuggestionItem &item, const QString &text, QWidget *parent = 0);
-
- QString text();
-
-private:
- QString m_text;
-};
-
-
-// -------------------------------------------------------------------------
-
-
class REKONQ_TESTS_EXPORT PreviewListItem : public ListItem
{
Q_OBJECT