author | llornkcor <llornkcor> | 2003-05-26 04:07:44 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-05-26 04:07:44 (UTC) |
commit | f63dee18fe56ba54d9203836722a1f499e2539f3 (patch) (unidiff) | |
tree | 557b83bb4048094072d9163f687b54ea8a709c96 | |
parent | 4a9831b570a60075650863b571b0875e96ca8ad6 (diff) | |
download | opie-f63dee18fe56ba54d9203836722a1f499e2539f3.zip opie-f63dee18fe56ba54d9203836722a1f499e2539f3.tar.gz opie-f63dee18fe56ba54d9203836722a1f499e2539f3.tar.bz2 |
remove extra includes
-rw-r--r-- | noncore/styles/metal/metal.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/noncore/styles/metal/metal.cpp b/noncore/styles/metal/metal.cpp index 2380fed..5cb2d22 100644 --- a/noncore/styles/metal/metal.cpp +++ b/noncore/styles/metal/metal.cpp | |||
@@ -1,46 +1,37 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** $Id$ | 2 | ** $Id$ |
3 | ** | 3 | ** |
4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. | 4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. |
5 | ** | 5 | ** |
6 | ** This file is part of an example program for Qt. This example | 6 | ** This file is part of an example program for Qt. This example |
7 | ** program may be used, distributed and modified without limitation. | 7 | ** program may be used, distributed and modified without limitation. |
8 | ** | 8 | ** |
9 | *****************************************************************************/ | 9 | *****************************************************************************/ |
10 | 10 | ||
11 | #include "metal.h" | 11 | #include "metal.h" |
12 | #include <qapplication.h> | 12 | #include <qapplication.h> |
13 | #include <qpainter.h> | ||
14 | #include <qdrawutil.h> // for now | ||
15 | #include <qpixmap.h> // for now | ||
16 | #include <qpalette.h> // for now | ||
17 | #include <qwidget.h> | ||
18 | #include <qlabel.h> | ||
19 | #include <qimage.h> | ||
20 | #include <qpushbutton.h> | 13 | #include <qpushbutton.h> |
21 | #include <qwidget.h> | ||
22 | #include <qrangecontrol.h> | ||
23 | #include <qscrollbar.h> | 14 | #include <qscrollbar.h> |
24 | #include <limits.h> | 15 | #include <limits.h> |
25 | 16 | ||
26 | 17 | ||
27 | ///////////////////////////////////////////////////////// | 18 | ///////////////////////////////////////////////////////// |
28 | #include "stonedark.xpm" | 19 | #include "stonedark.xpm" |
29 | #include "stone1.xpm" | 20 | #include "stone1.xpm" |
30 | #include "marble.xpm" | 21 | #include "marble.xpm" |
31 | /////////////////////////////////////////////////////// | 22 | /////////////////////////////////////////////////////// |
32 | 23 | ||
33 | 24 | ||
34 | 25 | ||
35 | MetalStyle::MetalStyle() : QWindowsStyle() { } | 26 | MetalStyle::MetalStyle() : QWindowsStyle() { } |
36 | 27 | ||
37 | /*! | 28 | /*! |
38 | Reimplementation from QStyle | 29 | Reimplementation from QStyle |
39 | */ | 30 | */ |
40 | void MetalStyle::polish( QApplication *app) | 31 | void MetalStyle::polish( QApplication *app) |
41 | { | 32 | { |
42 | oldPalette = app->palette(); | 33 | oldPalette = app->palette(); |
43 | 34 | ||
44 | // we simply create a nice QColorGroup with a couple of fancy | 35 | // we simply create a nice QColorGroup with a couple of fancy |
45 | // pixmaps here and apply to it all widgets | 36 | // pixmaps here and apply to it all widgets |
46 | 37 | ||