summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-10-31 13:57:32 (UTC)
committer llornkcor <llornkcor>2002-10-31 13:57:32 (UTC)
commitb0687f08f561a879311e934b1d297e2e8c53689f (patch) (side-by-side diff)
tree6617025864f43dfcf9427a9483df2d8f56e81d09 /noncore
parent74db7535e17fd87d98fc3b82be3a09d5dfbfe292 (diff)
downloadopie-b0687f08f561a879311e934b1d297e2e8c53689f.zip
opie-b0687f08f561a879311e934b1d297e2e8c53689f.tar.gz
opie-b0687f08f561a879311e934b1d297e2e8c53689f.tar.bz2
no refresh, and Ticker back is users background preference
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp4
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h2
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp8
3 files changed, 10 insertions, 4 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp
index 82dfb13..baf8198 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp
@@ -55,2 +55,4 @@ QString StockTickerPlugin::appName() const {
-
+bool StockTickerPlugin::excludeFromRefresh() const {
+return true;
+}
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h
index 9f174bf..7e7698f 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h
@@ -42,3 +42,3 @@ public:
QString appName() const;
-
+ bool excludeFromRefresh() const;
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp b/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
index 6e6273b..3bdc820 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
@@ -57,3 +57,5 @@ Ticker::~Ticker() {
void Ticker::setText( const QString& text ) {
-
+ Config cfg("qpe");
+ cfg.setGroup("Appearance");
+
pos = 0; // reset it everytime the text is changed
@@ -63,3 +65,5 @@ void Ticker::setText( const QString& text ) {
QPixmap pm( pixelLen, contentsRect().height() );
- pm.fill( QColor( 167, 212, 167 ) );
+// pm.fill( QColor( 167, 212, 167 ));
+
+ pm.fill( QColor( cfg.readEntry( "Background", "#E5E1D5" ) ));
QPainter pmp( &pm );