summaryrefslogtreecommitdiff
Unidiff
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 @@
1#ifndef FONTLISTITEM_H
2#define FONTLISTITEM_H
3
4#include <qlistbox.h>
5
6class FontListItem : public QListBoxText {
7public:
8 FontListItem ( const QString &t, const QStringList &styles, const QValueList<int> &sizes ) : QListBoxText ( )
9 {
10 m_name = t;
11 m_styles = styles;
12 m_sizes = sizes;
13
14 QString str = t;
15 str [0] = str [0]. upper ( );
16 setText ( str );
17 }
18
19 QString family ( ) const
20 {
21 return m_name;
22 }
23
24 const QStringList &styles ( ) const
25 {
26 return m_styles;
27 }
28
29 const QValueList<int> &sizes ( ) const
30 {
31 return m_sizes;
32 }
33
34private:
35 QStringList m_styles;
36 QValueList<int> m_sizes;
37 QString m_name;
38};
39
40#endif \ No newline at end of file