diff options
| author | Peter Penz <[email protected]> | 2011-09-02 19:48:57 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-02 19:49:49 +0200 |
| commit | 8266e456a10670fe5ef855680d61e0b6ab0d6292 (patch) | |
| tree | e9b2192ddea90781a072f69f0a751c699171751d /src/settings/viewmodes/dolphinfontrequester.h | |
| parent | d2a3510cc372685ad491a0b653587bf569a132aa (diff) | |
Simplified code for the viewmode settings
Diffstat (limited to 'src/settings/viewmodes/dolphinfontrequester.h')
| -rw-r--r-- | src/settings/viewmodes/dolphinfontrequester.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/settings/viewmodes/dolphinfontrequester.h b/src/settings/viewmodes/dolphinfontrequester.h index 263548555..57cddc5cd 100644 --- a/src/settings/viewmodes/dolphinfontrequester.h +++ b/src/settings/viewmodes/dolphinfontrequester.h @@ -20,9 +20,8 @@ #ifndef DOLPHINFONTREQUESTER_H #define DOLPHINFONTREQUESTER_H -#include <khbox.h> - #include <QFont> +#include <QWidget> class KComboBox; class QPushButton; @@ -30,7 +29,7 @@ class QPushButton; /** * @brief Allows to select between using the system font or a custom font. */ -class DolphinFontRequester : public KHBox +class DolphinFontRequester : public QWidget { Q_OBJECT @@ -52,7 +51,7 @@ public: * if the mode is \a CustomFont, otherwise the system font is * returned. */ - QFont font() const; + QFont currentFont() const; void setCustomFont(const QFont& font); QFont customFont() const; |
