summaryrefslogtreecommitdiff
path: root/libopie/ofontselector.h
Side-by-side diff
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
@@ -38,24 +38,26 @@ class QFont;
class OFontSelector : public QWidget
{
Q_OBJECT
public:
OFontSelector ( 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 ( );
+
bool setSelectedFont ( const QString &family, const QString &style, int size, const QString &charset = 0 );
QString fontFamily ( ) const;
QString fontStyle ( ) const;
int fontSize ( ) const;
QString fontCharSet ( ) const;
signals:
void fontSelected ( const QFont & );
protected slots:
virtual void fontFamilyClicked ( int );