summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-04 01:58:45 (UTC)
committer sandman <sandman>2002-10-04 01:58:45 (UTC)
commit393ef522ad1fc45b341955e71f5806b2bea72b17 (patch) (side-by-side diff)
tree76238cbe9ed6af30f39bed95211c1185b6a90ce9
parent6d70da01e28e3d1845e2dd8b202c4c875e69d350 (diff)
downloadopie-393ef522ad1fc45b341955e71f5806b2bea72b17.zip
opie-393ef522ad1fc45b341955e71f5806b2bea72b17.tar.gz
opie-393ef522ad1fc45b341955e71f5806b2bea72b17.tar.bz2
corrected typo
Diffstat (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
@@ -28,40 +28,40 @@
// {6C33B4F9-D529-453A-8FB3-DA42B21872BD}
# ifndef IID_StyleExtended
# define IID_StyleExtended QUuid( 0x6c33b4f9, 0xd529, 0x453a, 0x8f, 0xb3, 0xda, 0x42, 0xb2, 0x18, 0x72, 0xbd)
#endif
#endif
class QWidget;
class QStyle;
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;
};
#endif