diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /dcop/dcopsignals.cpp | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/dcopsignals.cpp')
-rw-r--r-- | dcop/dcopsignals.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dcop/dcopsignals.cpp b/dcop/dcopsignals.cpp index 437051a55..1e0eee354 100644 --- a/dcop/dcopsignals.cpp +++ b/dcop/dcopsignals.cpp @@ -39,14 +39,14 @@ DCOPSignals::emitSignal( DCOPConnection *conn, const TQCString &_fun, const TQBy { TQCString senderObj; TQCString fun = _fun; - int i = fun.find('#'); + int i = fun.tqfind('#'); if (i > -1) { senderObj = fun.left(i); fun = fun.mid(i+1); } - DCOPSignalConnectionList *list = connections.find(fun); + DCOPSignalConnectionList *list = connections.tqfind(fun); if (!list) return; for(DCOPSignalConnection *current = list->first(); current; current = list->next()) { @@ -102,16 +102,16 @@ DCOPSignals::connectSignal( const TQCString &sender, const TQCString &senderObj, // TODO: Check if signal and slot match TQCString signalArgs, slotArgs; int i,j; - i = signal.find('('); + i = signal.tqfind('('); if (i < 0) return false; signalArgs = signal.mid(i+1); - j = signalArgs.find(')'); + j = signalArgs.tqfind(')'); if (j < 0) return false; signalArgs.truncate(j); - i = slot.find('('); + i = slot.tqfind('('); if (i < 0) return false; slotArgs = slot.mid(i+1); - j = slotArgs.find(')'); + j = slotArgs.tqfind(')'); if (j < 0) return false; slotArgs.truncate(j); @@ -142,7 +142,7 @@ DCOPSignals::connectSignal( const TQCString &sender, const TQCString &senderObj, current->recvObj = receiverObj; current->slot = slot; - DCOPSignalConnectionList *list = connections.find(signal); + DCOPSignalConnectionList *list = connections.tqfind(signal); if (!list) { list = new DCOPSignalConnectionList; @@ -177,7 +177,7 @@ DCOPSignals::disconnectSignal( const TQCString &sender, const TQCString &senderO return true; } - DCOPSignalConnectionList *list = connections.find(signal); + DCOPSignalConnectionList *list = connections.tqfind(signal); if (!list) return false; // Not found... @@ -255,7 +255,7 @@ DCOPSignals::removeConnections(DCOPConnection *conn, const TQCString &obj) if (current->recvConn != conn) current->recvConn->signalConnectionList()->removeRef(current); - DCOPSignalConnectionList *signalList = connections.find(current->signal); + DCOPSignalConnectionList *signalList = connections.tqfind(current->signal); if (signalList) { signalList->removeRef(current); |