aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetalang.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-10-30 17:01:22 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-10-30 19:46:06 -0200
commitfd82ee68418264b9b88f1c32411b8c6bbcc03c76 (patch)
tree59dbfbcf852f26d6429cb42a23dce9bff6840324 /abstractmetalang.h
parent5ccbce7a917a2a602ad1fa32d8682afe32dd68bc (diff)
Added convenience method AbstractMetaClass::findFunction.
This function returns the first AbstractMetaFunction found with a given name or a null pointer if no functions were found.
Diffstat (limited to 'abstractmetalang.h')
-rw-r--r--abstractmetalang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetalang.h b/abstractmetalang.h
index d53c5656a..6adb73739 100644
--- a/abstractmetalang.h
+++ b/abstractmetalang.h
@@ -1332,6 +1332,7 @@ public:
void addFunction(AbstractMetaFunction *function);
bool hasFunction(const AbstractMetaFunction *f) const;
bool hasFunction(const QString &str) const;
+ const AbstractMetaFunction* findFunction(const QString& functionName) const;
bool hasSignal(const AbstractMetaFunction *f) const;
bool hasConstructors() const;