summaryrefslogtreecommitdiff
path: root/libopie/ofontselector.h
authorsandman <sandman>2002-09-25 23:12:14 (UTC)
committer sandman <sandman>2002-09-25 23:12:14 (UTC)
commit489bc02ad26767dc45b81bf122a09ef55ac20249 (patch) (side-by-side diff)
treeb7c26f8af38e9b0146179a1618a8fdf2504490fe /libopie/ofontselector.h
parent0c6ce9f1600bf1efb7736f87fd14dd8215db851f (diff)
downloadopie-489bc02ad26767dc45b81bf122a09ef55ac20249.zip
opie-489bc02ad26767dc45b81bf122a09ef55ac20249.tar.gz
opie-489bc02ad26767dc45b81bf122a09ef55ac20249.tar.bz2
some fixes to make ofontselector more robust, if you specify invalid font
families/styles/sizes
Diffstat (limited to 'libopie/ofontselector.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofontselector.h2
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
@@ -47,6 +47,8 @@ public:
bool selectedFont ( QString &family, QString &style, int &size );
bool selectedFont ( QString &family, QString &style, int &size, QString &charset );
+ QFont selectedFont ( );
+
bool setSelectedFont ( const QString &family, const QString &style, int size, const QString &charset = 0 );
QString fontFamily ( ) const;