summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-19 17:18:01 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-19 17:18:01 +0200
commitf0b4144b957727a6031226a3ec84eabf53f0e0b9 (patch)
tree2ece2db275ba169e387767752c6c4f28f37b318a /src/urlbar/listitem.h
parentrekonq 0.4.62 (diff)
downloadrekonq-f0b4144b957727a6031226a3ec84eabf53f0e0b9.tar.xz
this commit renames Item classes with this logic
- Listitem inherited classes are TYPE + "Listitem" - QLabel inherited classes are TYPE + Label
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r--src/urlbar/listitem.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h
index a9dc8213..67bfb764 100644
--- a/src/urlbar/listitem.h
+++ b/src/urlbar/listitem.h
@@ -82,12 +82,12 @@ protected:
// -------------------------------------------------------------------------
-class TypeIcon : public QLabel
+class TypeIconLabel : public QLabel
{
Q_OBJECT
public:
- TypeIcon(int type, QWidget *parent = 0);
+ TypeIconLabel(int type, QWidget *parent = 0);
private:
QLabel *getIcon(QString icon);
@@ -97,24 +97,24 @@ private:
// -------------------------------------------------------------------------
-class ItemIcon : public QLabel
+class IconLabel : public QLabel
{
Q_OBJECT
public:
- ItemIcon(const QString &icon, QWidget *parent = 0);
+ IconLabel(const QString &icon, QWidget *parent = 0);
};
// -------------------------------------------------------------------------
-class ItemText : public QLabel
+class TextLabel : public QLabel
{
Q_OBJECT
public:
- ItemText(const QString &text, const QString &textToPointOut = QString(), QWidget *parent = 0);
+ TextLabel(const QString &text, const QString &textToPointOut = QString(), QWidget *parent = 0);
};
@@ -164,8 +164,8 @@ private slots:
private:
QString searchItemTitle(QString engine, QString text);
- ItemText* m_titleLabel;
- ItemIcon* m_iconLabel;
+ TextLabel* m_titleLabel;
+ IconLabel* m_iconLabel;
EngineBar* m_engineBar;
QString m_text;
@@ -188,12 +188,12 @@ public:
// -------------------------------------------------------------------------
-class ItemPreview : public QLabel
+class PreviewLabel : public QLabel
{
Q_OBJECT
public:
- ItemPreview(const QString &url, int width, int height, QWidget *parent = 0);
+ PreviewLabel(const QString &url, int width, int height, QWidget *parent = 0);
};