Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
SignalProxy::ExtendedMetaObject Class Reference

#include </tmp/quassel/src/common/signalproxy.h>

Classes

class  MethodDescriptor

Public Member Functions

 ExtendedMetaObject (const QMetaObject *meta, bool checkConflicts)
const QByteArray & methodName (int methodId)
const QList< int > & argTypes (int methodId)
int returnType (int methodId)
int minArgCount (int methodId)
SignalProxy::ProxyMode receiverMode (int methodId)
int methodId (const QByteArray &methodName)
int updatedRemotelyId ()
const QHash< QByteArray, int > & slotMap ()
const QHash< int, int > & receiveMap ()
const QMetaObject * metaObject () const

Static Public Member Functions

static QByteArray methodName (const QMetaMethod &method)
static QString methodBaseName (const QMetaMethod &method)

Private Member Functions

const MethodDescriptormethodDescriptor (int methodId)

Private Attributes

const QMetaObject * _meta
int _updatedRemotelyId
QHash< int, MethodDescriptor_methods
QHash< QByteArray, int > _methodIds
QHash< int, int > _receiveMap

Detailed Description

Definition at line 174 of file signalproxy.h.

Constructor & Destructor Documentation

ExtendedMetaObject ( const QMetaObject *  meta,
bool  checkConflicts 
)

Definition at line 817 of file signalproxy.cpp.

References _meta, _methodIds, and methodName().

Member Function Documentation

int returnType ( int  methodId)
inline
int minArgCount ( int  methodId)
inline
SignalProxy::ProxyMode receiverMode ( int  methodId)
inline
int methodId ( const QByteArray &  methodName)
inline

Definition at line 206 of file signalproxy.h.

References _methodIds, and methodName().

Referenced by SignalProxy::sync_call__().

int updatedRemotelyId ( )
inline

Definition at line 208 of file signalproxy.h.

References _updatedRemotelyId.

Referenced by SignalProxy::handle().

const QHash<QByteArray, int>& slotMap ( )
inline

Definition at line 210 of file signalproxy.h.

References _methodIds.

Referenced by SignalProxy::handle().

const QHash< int, int > & receiveMap ( )

Definition at line 880 of file signalproxy.cpp.

Referenced by SignalProxy::handle().

const QMetaObject* metaObject ( ) const
inline

Definition at line 213 of file signalproxy.h.

References _meta.

Referenced by SignalProxy::sync_call__().

QByteArray methodName ( const QMetaMethod &  method)
static

Definition at line 938 of file signalproxy.cpp.

QString methodBaseName ( const QMetaMethod &  method)
static

Definition at line 949 of file signalproxy.cpp.

Referenced by SyncableObject::toVariantMap().

const SignalProxy::ExtendedMetaObject::MethodDescriptor & methodDescriptor ( int  methodId)
private

Definition at line 871 of file signalproxy.cpp.

Referenced by argTypes(), methodName(), minArgCount(), receiverMode(), and returnType().

Member Data Documentation

const QMetaObject* _meta
private

Definition at line 221 of file signalproxy.h.

Referenced by ExtendedMetaObject(), and metaObject().

int _updatedRemotelyId
private

Definition at line 222 of file signalproxy.h.

Referenced by updatedRemotelyId().

QHash<int, MethodDescriptor> _methods
private

Definition at line 224 of file signalproxy.h.

QHash<QByteArray, int> _methodIds
private

Definition at line 225 of file signalproxy.h.

Referenced by ExtendedMetaObject(), methodId(), and slotMap().

QHash<int, int> _receiveMap
private

Definition at line 226 of file signalproxy.h.


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