diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-24 19:00:16 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-24 19:00:16 -0300 |
commit | 8346dba84250919d435d0115b0f776f4d01ea4fe (patch) | |
tree | b7b08b0ad546f5ccbb808b80e3a15e4ac3cd20eb /shibokengenerator.cpp | |
parent | fd4185bd29c74113b645eb165d8c4e3fda580c99 (diff) |
Updated Shiboken to use AbstractMetaFunction::isUserAdded() instead
of the removed AbstractMetaFunction::UserAddedFunction enum item.
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 58a3bf518..411c59b37 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -991,7 +991,7 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s, // calls to %FUNCTION_NAME on user written custom code for calls to the protected // dispatcher. bool hasProtectedOverload = false; - if (func->functionType() == AbstractMetaFunction::UserAddedFunction) { + if (func->isUserAdded()) { foreach (const AbstractMetaFunction* f, getFunctionOverloads(func->ownerClass(), func->name())) hasProtectedOverload |= f->isProtected(); } |