summaryrefslogtreecommitdiffstats
path: root/tdeui/tdefontdialog.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2022-06-08 14:46:24 +0300
committerMavridis Philippe <[email protected]>2022-06-08 15:03:39 +0300
commitd633f38f6ffd57c5d03aa0eaf37dc0f6d5c42fad (patch)
tree252cd864bb8436fdb504ec46e1cd780ede04bbb3 /tdeui/tdefontdialog.h
parent65ab72853b27a5f49b2de0a12cdcb4b33756a7e1 (diff)
downloadtdelibs-d633f38f6ffd57c5d03aa0eaf37dc0f6d5c42fad.tar.gz
tdelibs-d633f38f6ffd57c5d03aa0eaf37dc0f6d5c42fad.zip
TDEFontChooser: backport setFamilyList(...) from KOffice
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'tdeui/tdefontdialog.h')
-rw-r--r--tdeui/tdefontdialog.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/tdeui/tdefontdialog.h b/tdeui/tdefontdialog.h
index 66d202700..de966d47d 100644
--- a/tdeui/tdefontdialog.h
+++ b/tdeui/tdefontdialog.h
@@ -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;