diff options
Diffstat (limited to 'tdeui/tdefontdialog.h')
-rw-r--r-- | tdeui/tdefontdialog.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tdeui/tdefontdialog.h b/tdeui/tdefontdialog.h index 66d202700..0946c1b6e 100644 --- a/tdeui/tdefontdialog.h +++ b/tdeui/tdefontdialog.h @@ -53,7 +53,7 @@ class KIntNumInput; */ class TDEUI_EXPORT TDEFontChooser : public TQWidget { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQFont font READ font WRITE setFont ) public: @@ -250,6 +250,14 @@ public: static void getFontList( TQStringList &list, uint fontListCriteria); /** + * + * Fill the font family list of the TDEFontChooser + * + * @param list The font list. + */ + void setFamilyList( TQStringList list ); + + /** * Reimplemented for internal reasons. */ virtual TQSize sizeHint( void ) const; @@ -300,8 +308,9 @@ private: TQFont selFont; + TQString selectedFamily; TQString selectedStyle; - int selectedSize; + int selectedSize; TQMap<TQString, TQString> currentStyles; bool usingFixed; @@ -338,7 +347,7 @@ private: * @version $Id$ */ class TDEUI_EXPORT TDEFontDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: /** |