SVN commit 667046 by chehrlic: include kglobal.h instead kstaticdeleter add a small fix for msvc M +5 -2 kconfig_compiler.cpp --- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #667045:667046 @@ -1672,7 +1672,7 @@ // Header required by singleton implementation if ( singleton ) - cpp << "#include " << endl << "#include " << endl << endl; + cpp << "#include " << endl << "#include " << endl << endl; if ( singleton && cfgFileNameArg ) cpp << "#include " << endl << endl; @@ -1719,7 +1719,10 @@ // Singleton implementation if ( singleton ) { - cpp << "class " << className << "Helper" << endl; + if( nameSpace.isEmpty() ) + cpp << "class " << className << "Helper" << endl; + else + cpp << "class " << nameSpace << "::" << className << "Helper" << endl; cpp << '{' << endl; cpp << " public:" << endl; cpp << " " << className << "Helper() : q(0) {}" << endl;