From 2b5e80f73636f80085572ae51cb04d67ea59b3b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 21 Aug 2010 02:36:48 +0000 Subject: Fixed kcfg_ widgets not emitting signals git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1166131 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kglobalsettings.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdecore/kglobalsettings.cpp') diff --git a/kdecore/kglobalsettings.cpp b/kdecore/kglobalsettings.cpp index 60f09fadb..5d6987550 100644 --- a/kdecore/kglobalsettings.cpp +++ b/kdecore/kglobalsettings.cpp @@ -234,7 +234,7 @@ TQColor KGlobalSettings::activeTextColor() return qt_colorref2qrgb(GetSysColor(COLOR_CAPTIONTEXT)); #else KConfigGroup g( KGlobal::config(), "WM" ); - return g.readColorEntry( "activeForeground", &Qt::white ); + return g.readColorEntry( "activeForeground", tqwhiteptr ); #endif } @@ -255,7 +255,7 @@ TQColor KGlobalSettings::buttonBackground() TQColor KGlobalSettings::buttonTextColor() { KConfigGroup g( KGlobal::config(), "General" ); - return g.readColorEntry( "buttonForeground", &Qt::black ); + return g.readColorEntry( "buttonForeground", tqblackptr ); } // IMPORTANT: @@ -264,7 +264,7 @@ TQColor KGlobalSettings::buttonTextColor() TQColor KGlobalSettings::baseColor() { KConfigGroup g( KGlobal::config(), "General" ); - return g.readColorEntry( "windowBackground", &Qt::white ); + return g.readColorEntry( "windowBackground", tqwhiteptr ); } // IMPORTANT: @@ -273,7 +273,7 @@ TQColor KGlobalSettings::baseColor() TQColor KGlobalSettings::textColor() { KConfigGroup g( KGlobal::config(), "General" ); - return g.readColorEntry( "windowForeground", &Qt::black ); + return g.readColorEntry( "windowForeground", tqblackptr ); } // IMPORTANT: @@ -282,7 +282,7 @@ TQColor KGlobalSettings::textColor() TQColor KGlobalSettings::highlightedTextColor() { KConfigGroup g( KGlobal::config(), "General" ); - return g.readColorEntry( "selectForeground", &Qt::white ); + return g.readColorEntry( "selectForeground", tqwhiteptr ); } // IMPORTANT: -- cgit v1.2.1