summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/styleinterface.h2
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
@@ -40,25 +40,25 @@ class QStyle;
struct StyleInterface : public QUnknownInterface
{
//! Return a new style.
virtual QStyle *style() = 0;
//! Return a short name for the style.
virtual QString name() const = 0;
};
struct StyleExtendedInterface : public StyleInterface
{
//! Return a (longer) description for the style.
- virtual QString description ( ) = 0;
+ virtual QString description ( ) const = 0;
//! Does this style support customization
virtual bool hasSettings ( ) const = 0;
//! Return a new settings page.
virtual QWidget *create ( QWidget *parent, const char *name = 0 ) = 0;
//! Callback for appearance app when OK is clicked (return true when style has to re-applied).
virtual bool accept ( ) = 0;
//! Callback for appeaeance app when Cancel is clicked.
virtual void reject ( ) = 0;