summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2/sample.h
Unidiff
Diffstat (limited to 'noncore/settings/appearance2/sample.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/sample.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/appearance2/sample.h b/noncore/settings/appearance2/sample.h
index c861228..27e6db5 100644
--- a/noncore/settings/appearance2/sample.h
+++ b/noncore/settings/appearance2/sample.h
@@ -26,49 +26,49 @@
26 26
27*/ 27*/
28 28
29#ifndef __PREVIEW_H__ 29#ifndef __PREVIEW_H__
30#define __PREVIEW_H__ 30#define __PREVIEW_H__
31 31
32#include <qwidget.h> 32#include <qwidget.h>
33 33
34#include <qpe/windowdecorationinterface.h> 34#include <qpe/windowdecorationinterface.h>
35 35
36class QVBox; 36class QVBox;
37class QPopupMenu; 37class QPopupMenu;
38class SampleText; 38class SampleText;
39 39
40class SampleWindow : public QWidget 40class SampleWindow : public QWidget
41{ 41{
42 Q_OBJECT 42 Q_OBJECT
43public: 43public:
44 SampleWindow( QWidget *parent ); 44 SampleWindow( QWidget *parent );
45 45
46 QSize sizeHint() const; 46 QSize sizeHint() const;
47 47
48 virtual void setFont( const QFont &f ); 48 virtual void setFont( const QFont &f );
49 49
50 void setStyle2 ( QStyle *sty ); 50 void setStyle2 ( QStyle *sty, const QPalette &p );
51 void setDecoration( WindowDecorationInterface *i ); 51 void setDecoration( WindowDecorationInterface *i );
52 void setPalette ( const QPalette & ); 52 void setPalette ( const QPalette & );
53 53
54 virtual void paintEvent( QPaintEvent * ); 54 virtual void paintEvent( QPaintEvent * );
55 55
56 void init(); 56 void init();
57 57
58 virtual bool eventFilter( QObject *, QEvent *e ); 58 virtual bool eventFilter( QObject *, QEvent *e );
59 virtual void paletteChange( const QPalette &old ); 59 virtual void paletteChange( const QPalette &old );
60 virtual void resizeEvent( QResizeEvent *re ); 60 virtual void resizeEvent( QResizeEvent *re );
61 61
62public slots: 62public slots:
63 void fixGeometry(); 63 void fixGeometry();
64 64
65protected: 65protected:
66 WindowDecorationInterface *iface; 66 WindowDecorationInterface *iface;
67 WindowDecorationInterface::WindowData wd; 67 WindowDecorationInterface::WindowData wd;
68 QVBox *container; 68 QVBox *container;
69 QPopupMenu *popup; 69 QPopupMenu *popup;
70 int th; 70 int th;
71 int tb; 71 int tb;
72 int lb; 72 int lb;
73 int rb; 73 int rb;
74 int bb; 74 int bb;