projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d0e25
)
Make SignalProxy accept temporary variables for signal/slot name.
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 4 Oct 2007 10:34:38 +0000
(10:34 +0000)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 4 Oct 2007 10:34:38 +0000
(10:34 +0000)
src/common/signalproxy.h
patch
|
blob
|
history
diff --git
a/src/common/signalproxy.h
b/src/common/signalproxy.h
index
7e74638
..
2f68f94
100644
(file)
--- a/
src/common/signalproxy.h
+++ b/
src/common/signalproxy.h
@@
-60,7
+60,7
@@
class SignalProxy : public QObject {
struct SignalDesc {
QObject *sender;
-
const char *
signal;
+
QByteArray
signal;
QByteArray rpcFunction;
SignalDesc(QObject *sndr, const char *sig, const QByteArray &func) : sender(sndr), signal(sig), rpcFunction(func) {}
@@
-69,7
+69,7
@@
class SignalProxy : public QObject {
struct SlotDesc {
QByteArray rpcFunction;
QObject *recv;
-
const char *
slot;
+
QByteArray
slot;
SlotDesc(const QByteArray& func, QObject* r, const char* s) : rpcFunction(func), recv(r), slot(s) {}
};