Qt 4.8
Public Functions | Public Variables | List of all members
QDBusIntrospection::Method Class Reference

Information about one method. More...

#include <qdbusintrospection_p.h>

Public Functions

bool operator== (const Method &other) const
 Compares this object against other and return true if they are the same. More...
 

Public Variables

Annotations annotations
 The annotations associated with the method. More...
 
Arguments inputArgs
 A list of the method's input arguments. More...
 
QString name
 The method's name. More...
 
Arguments outputArgs
 A list of the method's output arguments (i. More...
 

Detailed Description

Information about one method.

This struct represents one method discovered through introspection. A method is composed of its name, its input arguments, its output arguments, and, optionally, annotations. There are no "in-out" arguments.

Definition at line 99 of file qdbusintrospection_p.h.

Functions

◆ operator==()

QDBusIntrospection::Method::operator== ( const Method other) const
inline

Compares this object against other and return true if they are the same.

Definition at line 106 of file qdbusintrospection_p.h.

107  { return name == other.name && annotations == other.annotations &&
108  inputArgs == other.inputArgs && outputArgs == other.outputArgs; }
QString name
The method&#39;s name.
Annotations annotations
The annotations associated with the method.
Arguments outputArgs
A list of the method&#39;s output arguments (i.
Arguments inputArgs
A list of the method&#39;s input arguments.

Properties

◆ annotations

QDBusIntrospection::Method::annotations

The annotations associated with the method.

Each annotation is a pair of strings, where the key is of the same format as a D-Bus interface name. The value is arbitrary.

Definition at line 104 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseMethods().

◆ inputArgs

QDBusIntrospection::Method::inputArgs

A list of the method's input arguments.

Definition at line 102 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseMethods().

◆ name

QDBusIntrospection::Method::name

The method's name.

Definition at line 101 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseMethods().

◆ outputArgs

QDBusIntrospection::Method::outputArgs

A list of the method's output arguments (i.

e., return values).

Definition at line 103 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseMethods().


The documentation for this class was generated from the following files: