author | zecke <zecke> | 2003-06-11 10:24:16 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-06-11 10:24:16 (UTC) |
commit | 188319af82322c84f02e1abb848d908ca8f9e26c (patch) (side-by-side diff) | |
tree | e88f078a70ded124b1cf0adc2b2a039f564e861b | |
parent | 4d05b57498f6b2f135ecd55e5fde5e6ebc21c160 (diff) | |
download | opie-188319af82322c84f02e1abb848d908ca8f9e26c.zip opie-188319af82322c84f02e1abb848d908ca8f9e26c.tar.gz opie-188319af82322c84f02e1abb848d908ca8f9e26c.tar.bz2 |
do what the FIXME says... const fixes
-rw-r--r-- | libopie/oticker.cpp | 4 | ||||
-rw-r--r-- | libopie/oticker.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libopie/oticker.cpp b/libopie/oticker.cpp index 9a7044d..4fb5945 100644 --- a/libopie/oticker.cpp +++ b/libopie/oticker.cpp @@ -60,10 +60,10 @@ OTicker::~OTicker() { } -void OTicker::setBackgroundColor(QColor backcolor) { +void OTicker::setBackgroundColor(const QColor& backcolor) { backgroundcolor = backcolor; update(); } -void OTicker::setForegroundColor(QColor backcolor) { +void OTicker::setForegroundColor(const QColor& backcolor) { foregroundcolor = backcolor; update(); diff --git a/libopie/oticker.h b/libopie/oticker.h index c52e317..0b88919 100644 --- a/libopie/oticker.h +++ b/libopie/oticker.h @@ -79,6 +79,5 @@ public: * */ - //FIXME const QColor& please -zecke - void setBackgroundColor(QColor color); + void setBackgroundColor(const QColor& color); /*! * @fn setForegroundColor(QColor color) @@ -87,6 +86,5 @@ public: * */ - // FIXME const QColor& please -zecke - void setForegroundColor(QColor color); + void setForegroundColor(const QColor& color); /*! * @fn setFrame(int style) |