summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/oticker.cpp2
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
@@ -23,49 +23,49 @@
23  -_. . .   )=.  = Library General Public License along with 23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB. 24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28 28
29*/ 29*/
30 30
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
47OTicker::OTicker( QWidget* parent=0 ) 47OTicker::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
58OTicker::~OTicker() { 58OTicker::~OTicker() {
59} 59}
60 60
61void OTicker::setBackgroundColor(QColor backcolor) { 61void OTicker::setBackgroundColor(QColor backcolor) {
62 backgroundcolor = backcolor; 62 backgroundcolor = backcolor;
63} 63}
64 64
65void OTicker::setForegroundColor(QColor backcolor) { 65void OTicker::setForegroundColor(QColor backcolor) {
66 foregroundcolor = backcolor; 66 foregroundcolor = backcolor;
67} 67}
68 68
69void OTicker::setFrame(int frameStyle) { 69void OTicker::setFrame(int frameStyle) {
70 setFrameStyle( frameStyle/*WinPanel | Sunken */); 70 setFrameStyle( frameStyle/*WinPanel | Sunken */);
71} 71}