From cc6fa971a01ebd2f16db11bea99d2e8d008682fc Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 22 Nov 2013 18:07:45 +0100 Subject: 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 --- src/urlbar/listitem.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'src/urlbar/listitem.h') 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 -- cgit v1.2.1