-rw-r--r-- | libopie/ofontselector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/ofontselector.h b/libopie/ofontselector.h index 9227e48..2011e43 100644 --- a/libopie/ofontselector.h +++ b/libopie/ofontselector.h | |||
@@ -34,32 +34,34 @@ | |||
34 | 34 | ||
35 | class QComboBox; | 35 | class QComboBox; |
36 | class QListBox; | 36 | class QListBox; |
37 | class QFont; | 37 | class QFont; |
38 | 38 | ||
39 | class OFontSelector : public QWidget | 39 | class OFontSelector : public QWidget |
40 | { | 40 | { |
41 | Q_OBJECT | 41 | Q_OBJECT |
42 | 42 | ||
43 | public: | 43 | public: |
44 | OFontSelector ( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 44 | OFontSelector ( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
45 | virtual ~OFontSelector ( ); | 45 | virtual ~OFontSelector ( ); |
46 | 46 | ||
47 | bool selectedFont ( QString &family, QString &style, int &size ); | 47 | bool selectedFont ( QString &family, QString &style, int &size ); |
48 | bool selectedFont ( QString &family, QString &style, int &size, QString &charset ); | 48 | bool selectedFont ( QString &family, QString &style, int &size, QString &charset ); |
49 | 49 | ||
50 | QFont selectedFont ( ); | ||
51 | |||
50 | bool setSelectedFont ( const QString &family, const QString &style, int size, const QString &charset = 0 ); | 52 | bool setSelectedFont ( const QString &family, const QString &style, int size, const QString &charset = 0 ); |
51 | 53 | ||
52 | QString fontFamily ( ) const; | 54 | QString fontFamily ( ) const; |
53 | QString fontStyle ( ) const; | 55 | QString fontStyle ( ) const; |
54 | int fontSize ( ) const; | 56 | int fontSize ( ) const; |
55 | QString fontCharSet ( ) const; | 57 | QString fontCharSet ( ) const; |
56 | 58 | ||
57 | signals: | 59 | signals: |
58 | void fontSelected ( const QFont & ); | 60 | void fontSelected ( const QFont & ); |
59 | 61 | ||
60 | protected slots: | 62 | protected slots: |
61 | virtual void fontFamilyClicked ( int ); | 63 | virtual void fontFamilyClicked ( int ); |
62 | virtual void fontStyleClicked ( int ); | 64 | virtual void fontStyleClicked ( int ); |
63 | virtual void fontSizeClicked ( int ); | 65 | virtual void fontSizeClicked ( int ); |
64 | 66 | ||
65 | private: | 67 | private: |