X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=a8fe30dc674ed3f43764dc1d71256ad3ae7bb27d;hb=baacb468d9e2da5ed57cd064045dd9ddf1f7fbc9;hp=a1f9e714b4e66d1d2b8b1c0c2a9e5701f7d214c8;hpb=fd25e92f19d6afd4eb02844bcbf20ba132868303;p=quassel.git diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index a1f9e714..a8fe30dc 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -21,21 +21,12 @@ #ifndef SIGNALPROXY_H #define SIGNALPROXY_H -#include #include -#include -#include -#include -#include -#include #include -#include -#include -#include #include "protocol.h" -class QMetaObject; +struct QMetaObject; class Peer; class SyncableObject; @@ -134,7 +125,7 @@ private: void handle(Peer *peer, const Protocol::InitData &initData); template - void handle(Peer *peer, T) { Q_ASSERT(0); } + void handle(Peer *, T) { Q_ASSERT(0); } bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms, QVariant &returnValue); bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms = QVariantList());