From 3170eb771a9926c36d6c07cff1f3999a0c9e271e 2010-02-22 08:47:03 From: florianlink Date: 2010-02-22 08:47:03 Subject: [PATCH] added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9 --- diff --git a/generator/shellgenerator.cpp b/generator/shellgenerator.cpp index e288f9e..61d8a04 100644 --- a/generator/shellgenerator.cpp +++ b/generator/shellgenerator.cpp @@ -275,6 +275,7 @@ AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaCl resultFunctions << func; } } + qStableSort(resultFunctions); return resultFunctions; } @@ -284,6 +285,7 @@ AbstractMetaFunctionList ShellGenerator::getVirtualFunctionsForShell(const Abstr AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible // | AbstractMetaClass::NotRemovedFromTargetLang ); + qStableSort(functions); return functions; } @@ -296,6 +298,7 @@ AbstractMetaFunctionList ShellGenerator::getProtectedFunctionsThatNeedPromotion( functions << func; } } + qStableSort(functions); return functions; }