X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.cpp;h=aba57623f868f918bf15b2c1da77ea3c910470cf;hp=b7ac96818a46a65bfd4e653a460b00551ce572e1;hb=d6b056e936ec441258d291b7a8af7b83f9f53016;hpb=a7f5d6a23f7214b11f6db85346a67fd7d02767da diff --git a/src/common/signalproxy.cpp b/src/common/signalproxy.cpp index b7ac9681..aba57623 100644 --- a/src/common/signalproxy.cpp +++ b/src/common/signalproxy.cpp @@ -5,7 +5,7 @@ * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -16,16 +16,6 @@ * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - *************************************************************************** - * SignalProxy has been inspired by QxtRPCPeer, part of libqxt, * - * the Qt eXTension Library . We would like to * - * thank Arvid "aep" Picciani and Adam "ahigerd" Higerd for providing * - * QxtRPCPeer, valuable input and the genius idea to (ab)use Qt's * - * Meta Object System for transmitting signals over the network. * - * * - * To make contribution back into libqxt possible, redistribution and * - * modification of this file is additionally allowed under the terms of * - * the Common Public License, version 1.0, as published by IBM. * ***************************************************************************/ #include "signalproxy.h" @@ -593,7 +583,7 @@ void SignalProxy::handleInitRequest(QIODevice *sender, const QVariantList ¶m QByteArray className(params[0].toByteArray()); QString objectName(params[1].toString()); - + if(!_syncSlave.contains(className)) { qWarning() << "SignalProxy::handleInitRequest() received initRequest for unregistered Class:" << className; @@ -605,7 +595,7 @@ void SignalProxy::handleInitRequest(QIODevice *sender, const QVariantList ¶m << className << objectName; return; } - + QObject *obj = _syncSlave[className][objectName]; QVariantList params_;