-rw-r--r-- | libopie/ofontselector.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie/ofontselector.h b/libopie/ofontselector.h index a9c8a72..10d16f0 100644 --- a/libopie/ofontselector.h +++ b/libopie/ofontselector.h @@ -37,13 +37,13 @@ class OFontSelectorPrivate; class OFontSelector : public QWidget { Q_OBJECT public: - OFontSelector ( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + OFontSelector ( bool withpreview, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); virtual ~OFontSelector ( ); bool selectedFont ( QString &family, QString &style, int &size ); bool selectedFont ( QString &family, QString &style, int &size, QString &charset ); QFont selectedFont ( ); @@ -61,12 +61,15 @@ signals: protected slots: virtual void fontFamilyClicked ( int ); virtual void fontStyleClicked ( int ); virtual void fontSizeClicked ( int ); +protected: + virtual void resizeEvent ( QResizeEvent *re ); + private: void loadFonts ( QListBox * ); void changeFont ( ); private: |