summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/fontlistitem.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/noncore/settings/appearance2/fontlistitem.h b/noncore/settings/appearance2/fontlistitem.h
deleted file mode 100644
index 73f1d54..0000000
--- a/noncore/settings/appearance2/fontlistitem.h
+++ b/dev/null
@@ -1,40 +0,0 @@
-#ifndef FONTLISTITEM_H
-#define FONTLISTITEM_H
-
-#include <qlistbox.h>
-
-class FontListItem : public QListBoxText {
-public:
- FontListItem ( const QString &t, const QStringList &styles, const QValueList<int> &sizes ) : QListBoxText ( )
- {
- m_name = t;
- m_styles = styles;
- m_sizes = sizes;
-
- QString str = t;
- str [0] = str [0]. upper ( );
- setText ( str );
- }
-
- QString family ( ) const
- {
- return m_name;
- }
-
- const QStringList &styles ( ) const
- {
- return m_styles;
- }
-
- const QValueList<int> &sizes ( ) const
- {
- return m_sizes;
- }
-
-private:
- QStringList m_styles;
- QValueList<int> m_sizes;
- QString m_name;
-};
-
-#endif \ No newline at end of file