class Bindgen::Processor::Qt
- Bindgen::Processor::Qt
- Bindgen::Processor::Base
- Reference
- Object
Overview
Processor for C++/Qt
specific behaviour. This includes:
- Handle
Q_GADGET
types - Adding signal connection methods
- Support for private signals
- Remove
Q_OBJECT
internal methods in superclass wrappers
Defined in:
bindgen/processor/qt.crConstant Summary
-
CONNECTION_HANDLE_TYPE =
Parser::Type.parse("QMetaObject::Connection")
-
Type of the result of a Qt-sinal connect call.
-
PRIVATE_SIGNAL =
"QPrivateSignal"
-
Defined by
Q_OBJECT
, and thus in every signal-emitting class. -
Q_OBJECT_IGNORED_METHODS_RX =
Regex.union(/^metaObject$/, /^qt_metacast$/, /^qt_metacall$/)
-
Internal virtual methods generated by
Q_OBJECT
that will not be copied into superclass wrapper structs. -
QGADGET_CHECKER =
"qt_check_for_QGADGET_macro"
-
We'll remove all member methods of this name.
Class Method Summary
Instance Method Summary
-
#logger
Processor for
C++/Qt
specific behaviour. -
#visit_class(klass)
Visits a
Graph::Class
.
Instance methods inherited from class Bindgen::Processor::Base
process(graph : Graph::Container, doc : Parser::Document)
process
Constructor methods inherited from class Bindgen::Processor::Base
new(config : Configuration, db : TypeDatabase)
new
Instance methods inherited from module Bindgen::Graph::Visitor
visit_alias(alias_name)
visit_alias,
visit_children(container : Container)
visit_children,
visit_class(klass)
visit_class,
visit_constant(constant)
visit_constant,
visit_enum(enumeration)
visit_enum,
visit_library(library)
visit_library,
visit_method(method)
visit_method,
visit_namespace(ns)
visit_namespace,
visit_node(node : Node)
visit_node,
visit_node?(node : Node)
visit_node?,
visit_platform_specific(specific)
visit_platform_specific,
visit_struct(structure)
visit_struct,
visit_union(structure)
visit_union
Class Method Detail
def self.logger
#
Processor for C++/Qt
specific behaviour. This includes:
- Handle
Q_GADGET
types - Adding signal connection methods
- Support for private signals
- Remove
Q_OBJECT
internal methods in superclass wrappers
Instance Method Detail
def logger
#
Processor for C++/Qt
specific behaviour. This includes:
- Handle
Q_GADGET
types - Adding signal connection methods
- Support for private signals
- Remove
Q_OBJECT
internal methods in superclass wrappers
def visit_class(klass)
#
Description copied from module Bindgen::Graph::Visitor
Visits a Graph::Class
. The default implementation calls
#visit_children
to visit all child nodes.