-rw-r--r-- | libopie/oticker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/oticker.cpp b/libopie/oticker.cpp index 3fcef5d..47dcb3e 100644 --- a/libopie/oticker.cpp +++ b/libopie/oticker.cpp | |||
@@ -31,33 +31,33 @@ | |||
31 | #include <qpe/qpeapplication.h> | 31 | #include <qpe/qpeapplication.h> |
32 | #include <qpe/resource.h> | 32 | #include <qpe/resource.h> |
33 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
34 | 34 | ||
35 | #include <qwidget.h> | 35 | #include <qwidget.h> |
36 | #include <qpixmap.h> | 36 | #include <qpixmap.h> |
37 | #include <qbutton.h> | 37 | #include <qbutton.h> |
38 | #include <qpainter.h> | 38 | #include <qpainter.h> |
39 | #include <qframe.h> | 39 | #include <qframe.h> |
40 | #include <qlayout.h> | 40 | #include <qlayout.h> |
41 | #include <qdir.h> | 41 | #include <qdir.h> |
42 | #include <stdlib.h> | 42 | #include <stdlib.h> |
43 | #include <stdio.h> | 43 | #include <stdio.h> |
44 | 44 | ||
45 | #include "oticker.h" | 45 | #include "oticker.h" |
46 | 46 | ||
47 | OTicker::OTicker( QWidget* parent=0 ) | 47 | OTicker::OTicker( QWidget* parent ) |
48 | : QFrame( parent ) { | 48 | : QFrame( parent ) { |
49 | 49 | ||
50 | // setFrameStyle( NoFrame/*WinPanel | Sunken */); | 50 | // setFrameStyle( NoFrame/*WinPanel | Sunken */); |
51 | 51 | ||
52 | Config cfg("qpe"); | 52 | Config cfg("qpe"); |
53 | cfg.setGroup("Appearance"); | 53 | cfg.setGroup("Appearance"); |
54 | backgroundcolor = QColor( cfg.readEntry( "Background", "#E5E1D5" ) ); | 54 | backgroundcolor = QColor( cfg.readEntry( "Background", "#E5E1D5" ) ); |
55 | foregroundcolor= Qt::black; | 55 | foregroundcolor= Qt::black; |
56 | } | 56 | } |
57 | 57 | ||
58 | OTicker::~OTicker() { | 58 | OTicker::~OTicker() { |
59 | } | 59 | } |
60 | 60 | ||
61 | void OTicker::setBackgroundColor(QColor backcolor) { | 61 | void OTicker::setBackgroundColor(QColor backcolor) { |
62 | backgroundcolor = backcolor; | 62 | backgroundcolor = backcolor; |
63 | } | 63 | } |