author | mickeyl <mickeyl> | 2006-05-25 22:06:51 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2006-05-25 22:06:51 (UTC) |
commit | 96113f0d780a93836f13f85b2d980bc3b34ff34f (patch) (unidiff) | |
tree | 83baa50c183958a232450a0bbef3cd6799aa6192 | |
parent | 5e2d061e5396213efe57c8ad7751bb7e8812dccd (diff) | |
download | opie-96113f0d780a93836f13f85b2d980bc3b34ff34f.zip opie-96113f0d780a93836f13f85b2d980bc3b34ff34f.tar.gz opie-96113f0d780a93836f13f85b2d980bc3b34ff34f.tar.bz2 |
g++ 4.1 fix
-rw-r--r-- | noncore/decorations/polished/polished.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/decorations/polished/polished.h b/noncore/decorations/polished/polished.h index d661427..67cbe28 100644 --- a/noncore/decorations/polished/polished.h +++ b/noncore/decorations/polished/polished.h | |||
@@ -11,37 +11,37 @@ | |||
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 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef POLISHED_H | 21 | #ifndef POLISHED_H |
22 | #define POLISHED_H | 22 | #define POLISHED_H |
23 | 23 | ||
24 | #include <qtopia/windowdecorationinterface.h> | 24 | #include <qtopia/windowdecorationinterface.h> |
25 | 25 | ||
26 | class PolishedDecoration : public WindowDecorationInterface | 26 | class PolishedDecoration : public WindowDecorationInterface |
27 | { | 27 | { |
28 | public: | 28 | public: |
29 | PolishedDecoration(); | 29 | PolishedDecoration(); |
30 | virtual ~PolishedDecoration(); | 30 | virtual ~PolishedDecoration(); |
31 | 31 | ||
32 | virtual int metric( Metric m, const WindowData * ) const; | 32 | virtual int metric( Metric m, const WindowData * ) const; |
33 | virtual void drawArea( Area a, QPainter *, const WindowData * ) const; | 33 | virtual void drawArea( Area a, QPainter *, const WindowData * ) const; |
34 | virtual void drawButton( Button b, QPainter *, const WindowData *, int x, int y, int w, int h, QWSButton::State ) const; | 34 | virtual void drawButton( Button b, QPainter *, const WindowData *, int x, int y, int w, int h, QWSButton::State ) const; |
35 | virtual QRegion mask( const WindowData * ) const; | 35 | virtual QRegion mask( const WindowData * ) const; |
36 | virtual QString name() const; | 36 | virtual QString name() const; |
37 | virtual QPixmap icon() const; | 37 | virtual QPixmap icon() const; |
38 | 38 | ||
39 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | 39 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); |
40 | Q_REFCOUNT | 40 | Q_REFCOUNT |
41 | 41 | ||
42 | protected: | 42 | protected: |
43 | void PolishedDecoration::drawBlend( QPainter *, const QRect &r, const QColor &c1, const QColor&c2 ) const; | 43 | void drawBlend( QPainter *, const QRect &r, const QColor &c1, const QColor&c2 ) const; |
44 | 44 | ||
45 | }; | 45 | }; |
46 | 46 | ||
47 | #endif | 47 | #endif |