diff options
Diffstat (limited to 'kalarm/lib/colourcombo.cpp')
-rw-r--r-- | kalarm/lib/colourcombo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/colourcombo.cpp b/kalarm/lib/colourcombo.cpp index 9cf09ce13..0345104e0 100644 --- a/kalarm/lib/colourcombo.cpp +++ b/kalarm/lib/colourcombo.cpp @@ -57,7 +57,7 @@ void ColourCombo::setColours(const ColourList& colours) { mColourList = colours; if (mSelectedColour != mCustomColour - && !mColourList.contains(mSelectedColour)) + && !mColourList.tqcontains(mSelectedColour)) { // The current colour has been deleted mSelectedColour = mColourList.count() ? mColourList.first() : mCustomColour; @@ -168,7 +168,7 @@ void ColourCombo::addColours() void ColourCombo::drawCustomItem(TQRect& rect, bool insert) { TQPen pen; - if (qGray(mCustomColour.rgb()) < 128) + if (tqGray(mCustomColour.rgb()) < 128) pen.setColor(Qt::white); else pen.setColor(Qt::black); |