-rw-r--r-- | library/styleinterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/styleinterface.h b/library/styleinterface.h index b50f239..8a900c7 100644 --- a/library/styleinterface.h +++ b/library/styleinterface.h | |||
@@ -44,17 +44,17 @@ struct StyleInterface : public QUnknownInterface | |||
44 | virtual QStyle *style() = 0; | 44 | virtual QStyle *style() = 0; |
45 | //! Return a short name for the style. | 45 | //! Return a short name for the style. |
46 | virtual QString name() const = 0; | 46 | virtual QString name() const = 0; |
47 | }; | 47 | }; |
48 | 48 | ||
49 | struct StyleExtendedInterface : public StyleInterface | 49 | struct StyleExtendedInterface : public StyleInterface |
50 | { | 50 | { |
51 | //! Return a (longer) description for the style. | 51 | //! Return a (longer) description for the style. |
52 | virtual QString description ( ) = 0; | 52 | virtual QString description ( ) const = 0; |
53 | 53 | ||
54 | //! Does this style support customization | 54 | //! Does this style support customization |
55 | virtual bool hasSettings ( ) const = 0; | 55 | virtual bool hasSettings ( ) const = 0; |
56 | 56 | ||
57 | //! Return a new settings page. | 57 | //! Return a new settings page. |
58 | virtual QWidget *create ( QWidget *parent, const char *name = 0 ) = 0; | 58 | virtual QWidget *create ( QWidget *parent, const char *name = 0 ) = 0; |
59 | 59 | ||
60 | //! Callback for appearance app when OK is clicked (return true when style has to re-applied). | 60 | //! Callback for appearance app when OK is clicked (return true when style has to re-applied). |