X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=04ff7a5ed0c6dab53500facb76137c698554d23a;hp=da9657fe08809debc9fd9519ab261c5835f4d7cc;hb=a0754f069472a0ef611c191801d9f52b6357ef50;hpb=7df7429c009d2bea4c516e87f1ec4c956c722e09 diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index da9657fe..04ff7a5e 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -89,6 +89,7 @@ public: static QString methodBaseName(const QMetaMethod &method); const QList &argTypes(QObject *obj, int methodId); + const int &minArgCount(QObject *obj, int methodId); const QByteArray &methodName(QObject *obj, int methodId); const QHash &syncMap(SyncableObject *obj); int updatedRemotelyId(SyncableObject *obj); @@ -97,6 +98,7 @@ public: typedef QHash MethodNameHash; struct ClassInfo { ArgHash argTypes; + QHash minArgCount; MethodNameHash methodNames; int updatedRemotelyId; // id of the updatedRemotely() signal - makes things faster QHash syncMap; @@ -123,6 +125,7 @@ private: void createClassInfo(QObject *obj); void setArgTypes(QObject *obj, int methodId); + void setMinArgCount(QObject *obj, int methodId); void setMethodName(QObject *obj, int methodId); void setSyncMap(SyncableObject *obj); void setUpdatedRemotelyId(QObject *obj);