author | sandman <sandman> | 2002-10-04 01:58:45 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-04 01:58:45 (UTC) |
commit | 393ef522ad1fc45b341955e71f5806b2bea72b17 (patch) (unidiff) | |
tree | 76238cbe9ed6af30f39bed95211c1185b6a90ce9 /library/styleinterface.h | |
parent | 6d70da01e28e3d1845e2dd8b202c4c875e69d350 (diff) | |
download | opie-393ef522ad1fc45b341955e71f5806b2bea72b17.zip opie-393ef522ad1fc45b341955e71f5806b2bea72b17.tar.gz opie-393ef522ad1fc45b341955e71f5806b2bea72b17.tar.bz2 |
corrected typo
-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 | |||
@@ -1,67 +1,67 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2002 Robert Griebl. All rights reserved. | 2 | ** Copyright (C) 2002 Robert Griebl. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of OPIE (http://www.opie.info). | 4 | ** This file is part of OPIE (http://www.opie.info). |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #ifndef STYLEINTERFACE_H | 16 | #ifndef STYLEINTERFACE_H |
17 | #define STYLEINTERFACE_H | 17 | #define STYLEINTERFACE_H |
18 | 18 | ||
19 | #include <qpe/qcom.h> | 19 | #include <qpe/qcom.h> |
20 | 20 | ||
21 | #ifndef QT_NO_COMPONENT | 21 | #ifndef QT_NO_COMPONENT |
22 | 22 | ||
23 | // {17AF792C-E461-49A9-9B71-068B9A8DDAE4} | 23 | // {17AF792C-E461-49A9-9B71-068B9A8DDAE4} |
24 | #ifndef IID_Style | 24 | #ifndef IID_Style |
25 | #define IID_Style QUuid( 0x17af792c, 0xe461, 0x49a9, 0x9b, 0x71, 0x06, 0x8b, 0x9a, 0x8d, 0xda, 0xe4) | 25 | #define IID_Style QUuid( 0x17af792c, 0xe461, 0x49a9, 0x9b, 0x71, 0x06, 0x8b, 0x9a, 0x8d, 0xda, 0xe4) |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | // {6C33B4F9-D529-453A-8FB3-DA42B21872BD} | 28 | // {6C33B4F9-D529-453A-8FB3-DA42B21872BD} |
29 | # ifndef IID_StyleExtended | 29 | # ifndef IID_StyleExtended |
30 | # define IID_StyleExtended QUuid( 0x6c33b4f9, 0xd529, 0x453a, 0x8f, 0xb3, 0xda, 0x42, 0xb2, 0x18, 0x72, 0xbd) | 30 | # define IID_StyleExtended QUuid( 0x6c33b4f9, 0xd529, 0x453a, 0x8f, 0xb3, 0xda, 0x42, 0xb2, 0x18, 0x72, 0xbd) |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | class QWidget; | 35 | class QWidget; |
36 | class QStyle; | 36 | class QStyle; |
37 | 37 | ||
38 | 38 | ||
39 | class QStyle; | 39 | class QStyle; |
40 | 40 | ||
41 | struct StyleInterface : public QUnknownInterface | 41 | struct StyleInterface : public QUnknownInterface |
42 | { | 42 | { |
43 | //! Return a new style. | 43 | //! Return a new style. |
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). |
61 | virtual bool accept ( ) = 0; | 61 | virtual bool accept ( ) = 0; |
62 | 62 | ||
63 | //! Callback for appeaeance app when Cancel is clicked. | 63 | //! Callback for appeaeance app when Cancel is clicked. |
64 | virtual void reject ( ) = 0; | 64 | virtual void reject ( ) = 0; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | #endif | 67 | #endif |