diff options
Diffstat (limited to 'dcop/testdcop.cpp')
| -rw-r--r-- | dcop/testdcop.cpp | 22 | 
1 files changed, 11 insertions, 11 deletions
diff --git a/dcop/testdcop.cpp b/dcop/testdcop.cpp index 1a18eaff3..583a0255b 100644 --- a/dcop/testdcop.cpp +++ b/dcop/testdcop.cpp @@ -84,13 +84,13 @@ tqDebug("countDown() countDownAction = %p", countDownAction);      {         countDownCount = 10;                countDownAction = client->beginTransaction(); -       TQTimer::singleShot(1000, this, TQT_SLOT(slotTimeout())); +       TQTimer::singleShot(1000, this, TQ_SLOT(slotTimeout()));      }      else      {         countDownCount2 = 10;                countDownAction2 = client->beginTransaction(); -       TQTimer::singleShot(1000, this, TQT_SLOT(slotTimeout2())); +       TQTimer::singleShot(1000, this, TQ_SLOT(slotTimeout2()));      }      return true;    } @@ -113,7 +113,7 @@ void MyDCOPObject::slotTimeout()    }    else    { -     TQTimer::singleShot(1000, this, TQT_SLOT(slotTimeout())); +     TQTimer::singleShot(1000, this, TQ_SLOT(slotTimeout()));    }  } @@ -132,7 +132,7 @@ void MyDCOPObject::slotTimeout2()    }    else    { -     TQTimer::singleShot(1000, this, TQT_SLOT(slotTimeout2())); +     TQTimer::singleShot(1000, this, TQ_SLOT(slotTimeout2()));    }  } @@ -146,7 +146,7 @@ QCStringList MyDCOPObject::functions()  TestObject::TestObject(const TQCString& app)   :  m_app(app)  { -   TQTimer::singleShot(2500, this, TQT_SLOT(slotTimeout())); +   TQTimer::singleShot(2500, this, TQ_SLOT(slotTimeout()));  }  void TestObject::slotTimeout() @@ -191,10 +191,10 @@ int main(int argc, char **argv)        TQCString appId = argv[1];        TestObject obj(appId);        tqWarning("#1 Calling countDown"); -      int result = client->callAsync(appId, "object1", "countDown()", data, &obj, TQT_SLOT(slotCallBack(int, const TQCString&, const TQByteArray&))); +      int result = client->callAsync(appId, "object1", "countDown()", data, &obj, TQ_SLOT(slotCallBack(int, const TQCString&, const TQByteArray&)));        tqDebug("#1 countDown() call id = %d", result);        tqWarning("#2 Calling countDown"); -      result = client->callAsync(appId, "object1", "countDown()", data, &obj, TQT_SLOT(slotCallBack(int, const TQCString&, const TQByteArray&))); +      result = client->callAsync(appId, "object1", "countDown()", data, &obj, TQ_SLOT(slotCallBack(int, const TQCString&, const TQByteArray&)));        tqDebug("#2 countDown() call id = %d", result);        app.exec(); @@ -234,11 +234,11 @@ int main(int argc, char **argv)    int n = client->registeredApplications().count();    tqDebug("number of attached applications = %d", n ); -  TQObject::connect( client, TQT_SIGNAL( applicationRegistered( const TQCString&)), -                    obj1, TQT_SLOT( registered( const TQCString& ))); +  TQObject::connect( client, TQ_SIGNAL( applicationRegistered( const TQCString&)), +                    obj1, TQ_SLOT( registered( const TQCString& ))); -  TQObject::connect( client, TQT_SIGNAL( applicationRemoved( const TQCString&)), -                    obj1, TQT_SLOT( unregistered( const TQCString& ))); +  TQObject::connect( client, TQ_SIGNAL( applicationRemoved( const TQCString&)), +                    obj1, TQ_SLOT( unregistered( const TQCString& )));    // Enable the above signals    client->setNotifications( true );  | 
