author | sandman <sandman> | 2002-10-01 16:58:13 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-01 16:58:13 (UTC) |
commit | 1d9e6c252f74bfc8fcf6c80d8ce2a80cbd566d26 (patch) (unidiff) | |
tree | e26b890b3b6679e3067f8c1b8a688d0651fbfa22 /libopie/ofontselector.h | |
parent | 541bd9eaebd630a39a9f1df320bf6e46d499c10a (diff) | |
download | opie-1d9e6c252f74bfc8fcf6c80d8ce2a80cbd566d26.zip opie-1d9e6c252f74bfc8fcf6c80d8ce2a80cbd566d26.tar.gz opie-1d9e6c252f74bfc8fcf6c80d8ce2a80cbd566d26.tar.bz2 |
Added runtime detection of Qt version, because all qt/e's <= 2.3.3 return
font sizes *10
-rw-r--r-- | libopie/ofontselector.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libopie/ofontselector.h b/libopie/ofontselector.h index b3aa862..a9c8a72 100644 --- a/libopie/ofontselector.h +++ b/libopie/ofontselector.h | |||
@@ -30,11 +30,10 @@ | |||
30 | #define __OPIE_FONTSELECTOR_H__ | 30 | #define __OPIE_FONTSELECTOR_H__ |
31 | 31 | ||
32 | #include <qwidget.h> | 32 | #include <qwidget.h> |
33 | #include <qpe/fontdatabase.h> | ||
34 | 33 | ||
35 | class QComboBox; | ||
36 | class QListBox; | 34 | class QListBox; |
37 | class QFont; | 35 | class OFontSelectorPrivate; |
36 | |||
38 | 37 | ||
39 | class OFontSelector : public QWidget | 38 | class OFontSelector : public QWidget |
40 | { | 39 | { |
@@ -71,11 +70,7 @@ private: | |||
71 | void changeFont ( ); | 70 | void changeFont ( ); |
72 | 71 | ||
73 | private: | 72 | private: |
74 | QListBox * m_font_family_list; | 73 | OFontSelectorPrivate *d; |
75 | QComboBox * m_font_style_list; | ||
76 | QComboBox * m_font_size_list; | ||
77 | |||
78 | FontDatabase m_fdb; | ||
79 | }; | 74 | }; |
80 | 75 | ||
81 | #endif | 76 | #endif |