@@ -252,6 +252,8 void ShellGenerator::writeFunctionSignature(QTextStream &s, | |||||
252 | s << " const"; |
|
252 | s << " const"; | |
253 | } |
|
253 | } | |
254 |
|
254 | |||
|
255 | bool function_sorter(AbstractMetaFunction *a, AbstractMetaFunction *b); | |||
|
256 | ||||
255 | AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaClass* meta_class) |
|
257 | AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaClass* meta_class) | |
256 | { |
|
258 | { | |
257 | AbstractMetaFunctionList functions = meta_class->queryFunctions( |
|
259 | AbstractMetaFunctionList functions = meta_class->queryFunctions( | |
@@ -274,7 +276,7 AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaCl | |||||
274 | resultFunctions << func; |
|
276 | resultFunctions << func; | |
275 | } |
|
277 | } | |
276 | } |
|
278 | } | |
277 | qStableSort(resultFunctions); |
|
279 | qSort(resultFunctions.begin(), resultFunctions.end(), function_sorter); | |
278 | return resultFunctions; |
|
280 | return resultFunctions; | |
279 | } |
|
281 | } | |
280 |
|
282 | |||
@@ -284,7 +286,7 AbstractMetaFunctionList ShellGenerator::getVirtualFunctionsForShell(const Abstr | |||||
284 | AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible |
|
286 | AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible | |
285 | // | AbstractMetaClass::NotRemovedFromTargetLang |
|
287 | // | AbstractMetaClass::NotRemovedFromTargetLang | |
286 | ); |
|
288 | ); | |
287 | qStableSort(functions); |
|
289 | qSort(functions.begin(), functions.end(), function_sorter); | |
288 | return functions; |
|
290 | return functions; | |
289 | } |
|
291 | } | |
290 |
|
292 | |||
@@ -297,7 +299,7 AbstractMetaFunctionList ShellGenerator::getProtectedFunctionsThatNeedPromotion( | |||||
297 | functions << func; |
|
299 | functions << func; | |
298 | } |
|
300 | } | |
299 | } |
|
301 | } | |
300 | qStableSort(functions); |
|
302 | qSort(functions.begin(), functions.end(), function_sorter); | |
301 | return functions; |
|
303 | return functions; | |
302 | } |
|
304 | } | |
303 |
|
305 |
@@ -894,6 +894,7 | |||||
894 | <modify-function signature="operator const char *()const" remove="all"/> |
|
894 | <modify-function signature="operator const char *()const" remove="all"/> | |
895 | <modify-function signature="operator const void *()const" remove="all"/> |
|
895 | <modify-function signature="operator const void *()const" remove="all"/> | |
896 | <modify-function signature="operator+=(const char*)" remove="all"/> |
|
896 | <modify-function signature="operator+=(const char*)" remove="all"/> | |
|
897 | <modify-function signature="operator!=(QString)const" remove="all"/> | |||
897 | <modify-function signature="operator=(const char*)" remove="all"/> |
|
898 | <modify-function signature="operator=(const char*)" remove="all"/> | |
898 | <modify-function signature="operator[](int)" remove="all"/> |
|
899 | <modify-function signature="operator[](int)" remove="all"/> | |
899 | <modify-function signature="operator[](int)const" remove="all"/> |
|
900 | <modify-function signature="operator[](int)const" remove="all"/> |
@@ -1134,6 +1134,7 | |||||
1134 | <modify-function signature="operator const char *()const" remove="all"/> |
|
1134 | <modify-function signature="operator const char *()const" remove="all"/> | |
1135 | <modify-function signature="operator const void *()const" remove="all"/> |
|
1135 | <modify-function signature="operator const void *()const" remove="all"/> | |
1136 | <modify-function signature="operator+=(const char*)" remove="all"/> |
|
1136 | <modify-function signature="operator+=(const char*)" remove="all"/> | |
|
1137 | <modify-function signature="operator!=(QString)const" remove="all"/> | |||
1137 | <modify-function signature="operator=(const char*)" remove="all"/> |
|
1138 | <modify-function signature="operator=(const char*)" remove="all"/> | |
1138 | <modify-function signature="operator[](int)" remove="all"/> |
|
1139 | <modify-function signature="operator[](int)" remove="all"/> | |
1139 | <modify-function signature="operator[](int)const" remove="all"/> |
|
1140 | <modify-function signature="operator[](int)const" remove="all"/> |
General Comments 0
You need to be logged in to leave comments.
Login now