aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-12-15 12:21:34 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-12-16 15:39:12 -0200
commit0133a99f71e88c9e0642f05a7d55ef798275260a (patch)
treed75b59340f94e9add0825eda50070e0f55c87896 /shibokengenerator.h
parentf41cf0af8ed705d342ea448acac89659eea64bfd (diff)
Added the option --enable-pyside-extensions to enable PySide extensions.
You need to enable these extensions if you are generating a binding for a Qt-based library and need to pass some types through the signal slots mechanism. If you turn this flag on, you also need to link the generated bindings with the libpyside, besides add libpyside include path to your project. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r--shibokengenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h
index 4b706a699..74477ad77 100644
--- a/shibokengenerator.h
+++ b/shibokengenerator.h
@@ -256,6 +256,8 @@ public:
/// Returns true if the user enabled the so called "parent constructor heuristic".
bool useCtorHeuristic() const;
+ /// Returns true if the user enabled PySide extensions.
+ bool usePySideExtensions() const;
protected:
bool doSetup(const QMap<QString, QString>& args);
@@ -285,6 +287,7 @@ protected:
AbstractMetaFunctionList queryGlobalOperators(const AbstractMetaClass* metaClass);
private:
bool m_useCtorHeuristic;
+ bool m_usePySideExtensions;
};