diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeui/kcolorcombo.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kcolorcombo.cpp')
-rw-r--r-- | kdeui/kcolorcombo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeui/kcolorcombo.cpp b/kdeui/kcolorcombo.cpp index 4f9f35713..c418b6a81 100644 --- a/kdeui/kcolorcombo.cpp +++ b/kdeui/kcolorcombo.cpp @@ -21,10 +21,10 @@ // // 1999-09-27 Espen Sand <espensa@online.no> // KColorDialog is now subclassed from KDialogBase. I have also extended -// KColorDialog::getColor() so that in tqcontains a parent argument. This +// KColorDialog::getColor() so that in contains a parent argument. This // improves centering capability. // -// tqlayout management added Oct 1997 by Mario Weilguni +// layout management added Oct 1997 by Mario Weilguni // <mweilguni@sime.com> // @@ -175,7 +175,7 @@ void KColorCombo::slotActivated( int index ) TQRect rect( 0, 0, width(), TQFontMetrics(painter.font()).height()+4); TQPixmap pixmap( rect.width(), rect.height() ); - if ( tqGray( customColor.rgb() ) < 128 ) + if ( qGray( customColor.rgb() ) < 128 ) pen.setColor( white ); else pen.setColor( black ); @@ -228,7 +228,7 @@ void KColorCombo::addColors() if ( i == STANDARD_PAL_SIZE ) customColor = internalcolor; - if ( tqGray( customColor.rgb() ) < 128 ) + if ( qGray( customColor.rgb() ) < 128 ) pen.setColor( white ); else pen.setColor( black ); |