diff options
Diffstat (limited to 'kbugbuster/backend/bugsystem.cpp')
-rw-r--r-- | kbugbuster/backend/bugsystem.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kbugbuster/backend/bugsystem.cpp b/kbugbuster/backend/bugsystem.cpp index f5bd66bd..cfeb74c9 100644 --- a/kbugbuster/backend/bugsystem.cpp +++ b/kbugbuster/backend/bugsystem.cpp @@ -80,12 +80,12 @@ void BugSystem::retrievePackageList() emit packageListLoading(); PackageListJob *job = new PackageListJob( mServer ); - connect( job, TQT_SIGNAL( packageListAvailable( const Package::List & ) ), - this, TQT_SIGNAL( packageListAvailable( const Package::List & ) ) ); - connect( job, TQT_SIGNAL( packageListAvailable( const Package::List & ) ), - this, TQT_SLOT( setPackageList( const Package::List & ) ) ); - connect( job, TQT_SIGNAL( error( const TQString & ) ), - this, TQT_SIGNAL( loadingError( const TQString & ) ) ); + connect( job, TQ_SIGNAL( packageListAvailable( const Package::List & ) ), + this, TQ_SIGNAL( packageListAvailable( const Package::List & ) ) ); + connect( job, TQ_SIGNAL( packageListAvailable( const Package::List & ) ), + this, TQ_SLOT( setPackageList( const Package::List & ) ) ); + connect( job, TQ_SIGNAL( error( const TQString & ) ), + this, TQ_SIGNAL( loadingError( const TQString & ) ) ); connectJob( job ); registerJob( job ); @@ -120,12 +120,12 @@ void BugSystem::retrieveBugList( const Package &pkg, const TQString &component ) emit bugListLoading( pkg, component ); BugListJob *job = new BugListJob( mServer ); - connect( job, TQT_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ), - this, TQT_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ) ); - connect( job, TQT_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ), - this, TQT_SLOT( setBugList( const Package &, const TQString &, const Bug::List & ) ) ); - connect( job, TQT_SIGNAL( error( const TQString & ) ), - this, TQT_SIGNAL( loadingError( const TQString & ) ) ); + connect( job, TQ_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ), + this, TQ_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ) ); + connect( job, TQ_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ), + this, TQ_SLOT( setBugList( const Package &, const TQString &, const Bug::List & ) ) ); + connect( job, TQ_SIGNAL( error( const TQString & ) ), + this, TQ_SIGNAL( loadingError( const TQString & ) ) ); connectJob( job ); registerJob( job ); @@ -152,10 +152,10 @@ void BugSystem::retrieveMyBugsList() BugMyBugsJob *job = new BugMyBugsJob( mServer ); - connect( job, TQT_SIGNAL( bugListAvailable( const TQString &, const Bug::List & ) ), - this, TQT_SIGNAL( bugListAvailable( const TQString &, const Bug::List & ) ) ); - connect( job, TQT_SIGNAL( error( const TQString & ) ), - this, TQT_SIGNAL( loadingError( const TQString & ) ) ); + connect( job, TQ_SIGNAL( bugListAvailable( const TQString &, const Bug::List & ) ), + this, TQ_SIGNAL( bugListAvailable( const TQString &, const Bug::List & ) ) ); + connect( job, TQ_SIGNAL( error( const TQString & ) ), + this, TQ_SIGNAL( loadingError( const TQString & ) ) ); connectJob( job ); registerJob( job ); @@ -184,12 +184,12 @@ void BugSystem::retrieveBugDetails( const Bug &bug ) emit bugDetailsLoading( bug ); BugDetailsJob *job = new BugDetailsJob( mServer ); - connect( job, TQT_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ), - this, TQT_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ) ); - connect( job, TQT_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ), - this, TQT_SLOT( setBugDetails( const Bug &, const BugDetails & ) ) ); - connect( job, TQT_SIGNAL( error( const TQString & ) ), - this, TQT_SIGNAL( bugDetailsLoadingError() ) ); + connect( job, TQ_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ), + this, TQ_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ) ); + connect( job, TQ_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ), + this, TQ_SLOT( setBugDetails( const Bug &, const BugDetails & ) ) ); + connect( job, TQ_SIGNAL( error( const TQString & ) ), + this, TQ_SIGNAL( bugDetailsLoadingError() ) ); connectJob( job ); registerJob( job ); @@ -201,12 +201,12 @@ void BugSystem::retrieveBugDetails( const Bug &bug ) void BugSystem::connectJob( BugJob *job ) { - connect( job, TQT_SIGNAL( infoMessage( const TQString & ) ), - this, TQT_SIGNAL( infoMessage( const TQString & ) ) ); - connect( job, TQT_SIGNAL( infoPercent( unsigned long ) ), - this, TQT_SIGNAL( infoPercent( unsigned long ) ) ); - connect( job, TQT_SIGNAL( jobEnded( BugJob * ) ), - TQT_SLOT( unregisterJob( BugJob * ) ) ); + connect( job, TQ_SIGNAL( infoMessage( const TQString & ) ), + this, TQ_SIGNAL( infoMessage( const TQString & ) ) ); + connect( job, TQ_SIGNAL( infoPercent( unsigned long ) ), + this, TQ_SIGNAL( infoPercent( unsigned long ) ) ); + connect( job, TQ_SIGNAL( jobEnded( BugJob * ) ), + TQ_SLOT( unregisterJob( BugJob * ) ) ); } void BugSystem::setPackageList( const Package::List &pkgs ) @@ -290,8 +290,8 @@ void BugSystem::sendCommands() // ### connect to signals MailSender *mailer = new MailSender( client, smtpServer ); - connect( mailer, TQT_SIGNAL( status( const TQString & ) ), - TQT_SIGNAL( infoMessage( const TQString & ) ) ); + connect( mailer, TQ_SIGNAL( status( const TQString & ) ), + TQ_SIGNAL( infoMessage( const TQString & ) ) ); mServer->sendCommands( mailer, senderName, senderEmail, sendBCC, recipient ); } |