summaryrefslogtreecommitdiffstats
path: root/dcop/dcopsignals.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /dcop/dcopsignals.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/dcopsignals.cpp')
-rw-r--r--dcop/dcopsignals.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/dcop/dcopsignals.cpp b/dcop/dcopsignals.cpp
index 05d674107..437051a55 100644
--- a/dcop/dcopsignals.cpp
+++ b/dcop/dcopsignals.cpp
@@ -22,7 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <dcopserver.h>
#include <dcopsignals.h>
-template class QPtrList<DCOPSignalConnection>;
+template class TQPtrList<DCOPSignalConnection>;
DCOPSignals::DCOPSignals()
{
@@ -35,10 +35,10 @@ DCOPSignals::DCOPSignals()
* If "excludeSelf" is true, signal is never sent to "conn" itself.
*/
void
-DCOPSignals::emitSignal( DCOPConnection *conn, const QCString &_fun, const QByteArray &data, bool excludeSelf)
+DCOPSignals::emitSignal( DCOPConnection *conn, const TQCString &_fun, const TQByteArray &data, bool excludeSelf)
{
- QCString senderObj;
- QCString fun = _fun;
+ TQCString senderObj;
+ TQCString fun = _fun;
int i = fun.find('#');
if (i > -1)
{
@@ -76,7 +76,7 @@ DCOPSignals::emitSignal( DCOPConnection *conn, const QCString &_fun, const QByte
doSend = false;
if (doSend)
{
- the_server->sendMessage(current->recvConn, conn ? conn->appId : QCString("DCOPServer"),
+ the_server->sendMessage(current->recvConn, conn ? conn->appId : TQCString("DCOPServer"),
current->recvConn->appId, current->recvObj,
current->slot, data);
}
@@ -94,13 +94,13 @@ DCOPSignals::emitSignal( DCOPConnection *conn, const QCString &_fun, const QByte
* "conn" unregisters.
*/
bool
-DCOPSignals::connectSignal( const QCString &sender, const QCString &senderObj,
- const QCString &signal,
- DCOPConnection *conn, const QCString &receiverObj,
- const QCString &slot, bool Volatile)
+DCOPSignals::connectSignal( const TQCString &sender, const TQCString &senderObj,
+ const TQCString &signal,
+ DCOPConnection *conn, const TQCString &receiverObj,
+ const TQCString &slot, bool Volatile)
{
// TODO: Check if signal and slot match
- QCString signalArgs, slotArgs;
+ TQCString signalArgs, slotArgs;
int i,j;
i = signal.find('(');
if (i < 0) return false;
@@ -166,10 +166,10 @@ DCOPSignals::connectSignal( const QCString &sender, const QCString &senderObj,
* are disconnected.
*/
bool
-DCOPSignals::disconnectSignal( const QCString &sender, const QCString &senderObj,
- const QCString &signal,
- DCOPConnection *conn, const QCString &receiverObj,
- const QCString &slot)
+DCOPSignals::disconnectSignal( const TQCString &sender, const TQCString &senderObj,
+ const TQCString &signal,
+ DCOPConnection *conn, const TQCString &receiverObj,
+ const TQCString &slot)
{
if (sender.isEmpty() && signal.isEmpty())
{
@@ -228,7 +228,7 @@ DCOPSignals::disconnectSignal( const QCString &sender, const QCString &senderObj
* All volatile connections for which "conn"/"obj" is the sender.
*/
void
-DCOPSignals::removeConnections(DCOPConnection *conn, const QCString &obj)
+DCOPSignals::removeConnections(DCOPConnection *conn, const TQCString &obj)
{
DCOPSignalConnectionList *list = conn->_signalConnectionList;
if (!list)