summaryrefslogtreecommitdiffstats
path: root/kbugbuster
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster')
-rw-r--r--kbugbuster/backend/bugjob.cpp16
-rw-r--r--kbugbuster/backend/bugserver.cpp4
-rw-r--r--kbugbuster/backend/bugsystem.cpp60
-rw-r--r--kbugbuster/backend/mailsender.cpp22
-rw-r--r--kbugbuster/backend/smtp.cpp20
-rw-r--r--kbugbuster/gui/centralwidget.cpp62
-rw-r--r--kbugbuster/gui/cwbugdetails.cpp4
-rw-r--r--kbugbuster/gui/cwbugdetailscontainer.cpp40
-rw-r--r--kbugbuster/gui/cwbuglistcontainer.cpp44
-rw-r--r--kbugbuster/gui/cwsearchwidget.cpp8
-rw-r--r--kbugbuster/gui/kbbmainwindow.cpp96
-rw-r--r--kbugbuster/gui/loadallbugsdlg.cpp14
-rw-r--r--kbugbuster/gui/messageeditor.cpp6
-rw-r--r--kbugbuster/gui/msginputdialog.cpp8
-rw-r--r--kbugbuster/gui/packageselectdialog.cpp24
-rw-r--r--kbugbuster/gui/preferencesdialog.cpp16
-rw-r--r--kbugbuster/main.cpp4
-rw-r--r--kbugbuster/tderesources/kcalresource.cpp8
18 files changed, 228 insertions, 228 deletions
diff --git a/kbugbuster/backend/bugjob.cpp b/kbugbuster/backend/bugjob.cpp
index 3531fc5f..faf1d149 100644
--- a/kbugbuster/backend/bugjob.cpp
+++ b/kbugbuster/backend/bugjob.cpp
@@ -30,14 +30,14 @@ void BugJob::start( const KURL &url )
TDEIO::Job *job = TDEIO::get( url, true /*always 'reload=true', we have our own cache*/, false );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( ioResult( TDEIO::Job * ) ) );
- connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- this, TQT_SLOT( ioData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job *, const TQString & ) ),
- this, TQT_SLOT( ioInfoMessage( TDEIO::Job *, const TQString & ) ) );
- connect( job, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- this, TQT_SLOT( ioInfoPercent( TDEIO::Job *, unsigned long ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQ_SLOT( ioResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ this, TQ_SLOT( ioData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( job, TQ_SIGNAL( infoMessage( TDEIO::Job *, const TQString & ) ),
+ this, TQ_SLOT( ioInfoMessage( TDEIO::Job *, const TQString & ) ) );
+ connect( job, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ this, TQ_SLOT( ioInfoPercent( TDEIO::Job *, unsigned long ) ) );
}
void BugJob::ioResult( TDEIO::Job *job )
diff --git a/kbugbuster/backend/bugserver.cpp b/kbugbuster/backend/bugserver.cpp
index f8ace6e6..a7aa61f2 100644
--- a/kbugbuster/backend/bugserver.cpp
+++ b/kbugbuster/backend/bugserver.cpp
@@ -258,8 +258,8 @@ void BugServer::sendCommands( MailSender *mailer, const TQString &senderName,
// implement message queueing for smtp
MailSender *directMailer = mailer->clone();
#if 0
- connect( directMailer, TQT_SIGNAL( status( const TQString & ) ),
- this, TQT_SIGNAL( infoMessage( const TQString & ) ) );
+ connect( directMailer, TQ_SIGNAL( status( const TQString & ) ),
+ this, TQ_SIGNAL( infoMessage( const TQString & ) ) );
#endif
if (!directMailer->send( senderName, senderEmail, cmd->mailAddress(),
cmd->bug().title().prepend( "Re: " ),
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 );
}
diff --git a/kbugbuster/backend/mailsender.cpp b/kbugbuster/backend/mailsender.cpp
index 2d05d759..00d2d0f8 100644
--- a/kbugbuster/backend/mailsender.cpp
+++ b/kbugbuster/backend/mailsender.cpp
@@ -78,7 +78,7 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (!fd)
{
kdError() << "Unable to open a pipe to " << command << endl;
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
}
@@ -103,13 +103,13 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (!kapp->dcopClient()->isApplicationRegistered("kmail")) {
KMessageBox::error(0,i18n("No running instance of KMail found."));
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
}
emit status( i18n( "Passing mail to TDE email program..." ) );
if (!kMailOpenComposer(to,"", (bcc ? from : ""), subject,body,0,KURL())) {
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
}
} else if ( m_client == Direct ) {
@@ -128,12 +128,12 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
TQString::fromLatin1( "\n\n" ) + body;
Smtp *smtp = new Smtp( fromEmail, recipients, message, m_smtpServer );
- connect( smtp, TQT_SIGNAL( status( const TQString & ) ),
- this, TQT_SIGNAL( status( const TQString & ) ) );
- connect( smtp, TQT_SIGNAL( success() ),
- this, TQT_SLOT( smtpSuccess() ) );
- connect( smtp, TQT_SIGNAL( error( const TQString &, const TQString & ) ),
- this, TQT_SLOT( smtpError( const TQString &, const TQString & ) ) );
+ connect( smtp, TQ_SIGNAL( status( const TQString & ) ),
+ this, TQ_SIGNAL( status( const TQString & ) ) );
+ connect( smtp, TQ_SIGNAL( success() ),
+ this, TQ_SLOT( smtpSuccess() ) );
+ connect( smtp, TQ_SIGNAL( error( const TQString &, const TQString & ) ),
+ this, TQ_SLOT( smtpError( const TQString &, const TQString & ) ) );
smtp->insertChild( this ); // die when smtp dies
} else {
@@ -143,7 +143,7 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (m_client != Direct)
{
emit finished();
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
}
return true;
@@ -176,7 +176,7 @@ void MailSender::smtpError(const TQString &_command, const TQString &_response)
"response: %2" ).arg( command ).arg( response ) );
emit finished();
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
}
int MailSender::kMailOpenComposer(const TQString& arg0,const TQString& arg1,
diff --git a/kbugbuster/backend/smtp.cpp b/kbugbuster/backend/smtp.cpp
index 2b5f58e9..5e5bc9da 100644
--- a/kbugbuster/backend/smtp.cpp
+++ b/kbugbuster/backend/smtp.cpp
@@ -23,12 +23,12 @@ Smtp::Smtp( const TQString &from, const TQStringList &to,
{
skipReadResponse = false;
mSocket = new TQSocket( this );
- connect ( mSocket, TQT_SIGNAL( readyRead() ),
- this, TQT_SLOT( readyRead() ) );
- connect ( mSocket, TQT_SIGNAL( connected() ),
- this, TQT_SLOT( connected() ) );
- connect ( mSocket, TQT_SIGNAL( error(int) ),
- this, TQT_SLOT( socketError(int) ) );
+ connect ( mSocket, TQ_SIGNAL( readyRead() ),
+ this, TQ_SLOT( readyRead() ) );
+ connect ( mSocket, TQ_SIGNAL( connected() ),
+ this, TQ_SLOT( connected() ) );
+ connect ( mSocket, TQ_SIGNAL( error(int) ),
+ this, TQ_SLOT( socketError(int) ) );
message = aMessage;
@@ -98,7 +98,7 @@ void Smtp::socketError(int errorCode)
default:
responseLine = i18n( "Internal error, unrecognized error." );
}
- TQTimer::singleShot( 0, this, TQT_SLOT(emitError()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(emitError()) );
}
void Smtp::emitError() {
@@ -147,7 +147,7 @@ void Smtp::readyRead()
*t << message << seperator << ".\r\n";
state = smtpSuccess;
} else if ( state == smtpSuccess && responseLine[0] == '2' ) {
- TQTimer::singleShot( 0, this, TQT_SIGNAL(success()) );
+ TQTimer::singleShot( 0, this, TQ_SIGNAL(success()) );
} else if ( state == smtpQuit && responseLine[0] == '2' ) {
command = "QUIT";
*t << "QUIT\r\n";
@@ -157,7 +157,7 @@ void Smtp::readyRead()
} else if ( state == smtpClose ) {
// we ignore it
} else { // error occurred
- TQTimer::singleShot( 0, this, TQT_SLOT(emitError()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(emitError()) );
state = smtpClose;
}
@@ -168,7 +168,7 @@ void Smtp::readyRead()
t = 0;
delete mSocket;
mSocket = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT(deleteMe()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(deleteMe()) );
}
}
diff --git a/kbugbuster/gui/centralwidget.cpp b/kbugbuster/gui/centralwidget.cpp
index 263c9f86..3cd1df78 100644
--- a/kbugbuster/gui/centralwidget.cpp
+++ b/kbugbuster/gui/centralwidget.cpp
@@ -71,51 +71,51 @@ CentralWidget::CentralWidget( const TQCString &initialPackage,
TQSizePolicy::Minimum ) );
m_horSplitter->setResizeMode( m_searchPane, TQSplitter::FollowSizeHint );
- connect( m_listPane, TQT_SIGNAL( resetProgressBar() ),
- TQT_SIGNAL( resetProgressBar() ) );
- connect( m_bugPane, TQT_SIGNAL( resetProgressBar() ),
- TQT_SIGNAL( resetProgressBar() ) );
+ connect( m_listPane, TQ_SIGNAL( resetProgressBar() ),
+ TQ_SIGNAL( resetProgressBar() ) );
+ connect( m_bugPane, TQ_SIGNAL( resetProgressBar() ),
+ TQ_SIGNAL( resetProgressBar() ) );
// Start the proper jobs for loading the package lists
connect( BugSystem::self(),
- TQT_SIGNAL( packageListAvailable( const Package::List & ) ),
- TQT_SLOT( updatePackageList( const Package::List & ) ) );
+ TQ_SIGNAL( packageListAvailable( const Package::List & ) ),
+ TQ_SLOT( updatePackageList( const Package::List & ) ) );
connect( BugSystem::self(),
- TQT_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ),
- TQT_SLOT( updateBugList( const Package &, const TQString &, const Bug::List & ) ) );
+ TQ_SIGNAL( bugListAvailable( const Package &, const TQString &, const Bug::List & ) ),
+ TQ_SLOT( updateBugList( const Package &, const TQString &, const Bug::List & ) ) );
connect( BugSystem::self(),
- TQT_SIGNAL( bugListAvailable( const TQString &, const Bug::List & ) ),
- TQT_SLOT( updateBugList( const TQString &, const Bug::List & ) ) );
+ TQ_SIGNAL( bugListAvailable( const TQString &, const Bug::List & ) ),
+ TQ_SLOT( updateBugList( const TQString &, const Bug::List & ) ) );
connect( BugSystem::self(),
- TQT_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ),
- TQT_SLOT( updateBugDetails( const Bug &, const BugDetails & ) ) );
+ TQ_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ),
+ TQ_SLOT( updateBugDetails( const Bug &, const BugDetails & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( loadingError( const TQString & ) ),
- TQT_SLOT( showLoadingError( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( loadingError( const TQString & ) ),
+ TQ_SLOT( showLoadingError( const TQString & ) ) );
- connect( m_bugPane, TQT_SIGNAL( signalCloseBug() ), TQT_SLOT( closeBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalCloseBugSilently() ), TQT_SLOT( closeBugSilently() ) );
- connect( m_bugPane, TQT_SIGNAL( signalReopenBug() ), TQT_SLOT( reopenBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalReassignBug() ), TQT_SLOT( reassignBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalTitleBug() ), TQT_SLOT( titleBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalSeverityBug() ), TQT_SLOT( severityBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalReplyBug() ), TQT_SLOT( replyBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalReplyPrivateBug() ), TQT_SLOT( replyPrivateBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalCloseBug() ), TQ_SLOT( closeBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalCloseBugSilently() ), TQ_SLOT( closeBugSilently() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalReopenBug() ), TQ_SLOT( reopenBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalReassignBug() ), TQ_SLOT( reassignBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalTitleBug() ), TQ_SLOT( titleBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalSeverityBug() ), TQ_SLOT( severityBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalReplyBug() ), TQ_SLOT( replyBug() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalReplyPrivateBug() ), TQ_SLOT( replyPrivateBug() ) );
- connect( m_bugPane, TQT_SIGNAL( signalClearCommand() ), TQT_SLOT( clearCommand() ) );
+ connect( m_bugPane, TQ_SIGNAL( signalClearCommand() ), TQ_SLOT( clearCommand() ) );
// Add the selection slots for the listviews
connect( m_searchPane->m_searchPackages,
- TQT_SIGNAL( activated( const TQString & ) ),
- TQT_SLOT( slotRetrieveBugList( const TQString & ) ) );
+ TQ_SIGNAL( activated( const TQString & ) ),
+ TQ_SLOT( slotRetrieveBugList( const TQString & ) ) );
- connect( m_listPane, TQT_SIGNAL( executed( const Bug & ) ),
- TQT_SLOT( slotRetrieveBugDetails( const Bug & ) ) );
- connect( m_listPane, TQT_SIGNAL( currentChanged( const Bug & ) ),
- TQT_SLOT( slotSetActiveBug( const Bug & ) ) );
+ connect( m_listPane, TQ_SIGNAL( executed( const Bug & ) ),
+ TQ_SLOT( slotRetrieveBugDetails( const Bug & ) ) );
+ connect( m_listPane, TQ_SIGNAL( currentChanged( const Bug & ) ),
+ TQ_SLOT( slotSetActiveBug( const Bug & ) ) );
- connect( m_listPane, TQT_SIGNAL( searchPackage() ), TQT_SIGNAL( searchPackage() ) );
- connect( m_bugPane, TQT_SIGNAL( searchBugNumber() ), TQT_SIGNAL( searchBugNumber() ) );
+ connect( m_listPane, TQ_SIGNAL( searchPackage() ), TQ_SIGNAL( searchPackage() ) );
+ connect( m_bugPane, TQ_SIGNAL( searchBugNumber() ), TQ_SIGNAL( searchBugNumber() ) );
m_bLoadingAllBugs = false;
diff --git a/kbugbuster/gui/cwbugdetails.cpp b/kbugbuster/gui/cwbugdetails.cpp
index 252ae348..93486c63 100644
--- a/kbugbuster/gui/cwbugdetails.cpp
+++ b/kbugbuster/gui/cwbugdetails.cpp
@@ -41,8 +41,8 @@ CWBugDetails::CWBugDetails( TQWidget *parent , const char * name )
TQBoxLayout *topLayout = new TQVBoxLayout( this );
m_bugDesc = new TDEHTMLPart( this, "m_bugDesc" );
- connect( m_bugDesc->browserExtension(), TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
- this, TQT_SLOT( handleOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
+ connect( m_bugDesc->browserExtension(), TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
+ this, TQ_SLOT( handleOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
topLayout->addWidget( m_bugDesc->view() );
}
diff --git a/kbugbuster/gui/cwbugdetailscontainer.cpp b/kbugbuster/gui/cwbugdetailscontainer.cpp
index 188ec9e9..ba28d52e 100644
--- a/kbugbuster/gui/cwbugdetailscontainer.cpp
+++ b/kbugbuster/gui/cwbugdetailscontainer.cpp
@@ -61,7 +61,7 @@ CWBugDetailsContainer::CWBugDetailsContainer( TQWidget *parent , const char * na
// Fill WidgetStack in Bug Details pane
m_bugLoading = new CWLoadingWidget( CWLoadingWidget::BottomFrame,
m_bugStack );
- connect( m_bugLoading, TQT_SIGNAL( clicked() ), TQT_SIGNAL( searchBugNumber() ) );
+ connect( m_bugLoading, TQ_SIGNAL( clicked() ), TQ_SIGNAL( searchBugNumber() ) );
m_bugStack->addWidget( m_bugDetails, 0 );
m_bugStack->addWidget( m_bugLoading, 1 );
@@ -76,25 +76,25 @@ CWBugDetailsContainer::CWBugDetailsContainer( TQWidget *parent , const char * na
CWBugDetailsContainer_BaseLayout->setSpacing( KDialog::spacingHint() );
CWBugDetailsContainer_BaseLayout->setMargin( KDialog::marginHint() );
- connect( m_bugCloseBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalCloseBug() ) );
- connect( m_bugCloseSilentlyBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalCloseBugSilently() ) );
- connect( m_bugReopenBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalReopenBug() ) );
- connect( m_bugReassignBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalReassignBug() ) );
- connect( m_bugTitleBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalTitleBug() ) );
- connect( m_bugSeverityBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalSeverityBug() ) );
- connect( m_bugReplyBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalReplyBug() ) );
- connect( m_bugReplyPrivBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalReplyPrivateBug() ) );
-
- connect( m_cmdClearBtn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( signalClearCommand() ) );
-
- connect( BugSystem::self(), TQT_SIGNAL( bugDetailsLoading( const Bug & ) ),
- TQT_SLOT( setLoading( const Bug & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( bugDetailsCacheMiss( const Bug & ) ),
- TQT_SLOT( setCacheMiss( const Bug & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( commandQueued( BugCommand * ) ),
- TQT_SLOT( commandQueued( BugCommand * ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( commandCanceled( const TQString & ) ),
- TQT_SLOT( clearCommand( const TQString & ) ) );
+ connect( m_bugCloseBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalCloseBug() ) );
+ connect( m_bugCloseSilentlyBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalCloseBugSilently() ) );
+ connect( m_bugReopenBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalReopenBug() ) );
+ connect( m_bugReassignBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalReassignBug() ) );
+ connect( m_bugTitleBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalTitleBug() ) );
+ connect( m_bugSeverityBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalSeverityBug() ) );
+ connect( m_bugReplyBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalReplyBug() ) );
+ connect( m_bugReplyPrivBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalReplyPrivateBug() ) );
+
+ connect( m_cmdClearBtn, TQ_SIGNAL( clicked() ), TQ_SIGNAL( signalClearCommand() ) );
+
+ connect( BugSystem::self(), TQ_SIGNAL( bugDetailsLoading( const Bug & ) ),
+ TQ_SLOT( setLoading( const Bug & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( bugDetailsCacheMiss( const Bug & ) ),
+ TQ_SLOT( setCacheMiss( const Bug & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( commandQueued( BugCommand * ) ),
+ TQ_SLOT( commandQueued( BugCommand * ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( commandCanceled( const TQString & ) ),
+ TQ_SLOT( clearCommand( const TQString & ) ) );
}
CWBugDetailsContainer::~CWBugDetailsContainer()
diff --git a/kbugbuster/gui/cwbuglistcontainer.cpp b/kbugbuster/gui/cwbuglistcontainer.cpp
index 2eeadee3..a4607581 100644
--- a/kbugbuster/gui/cwbuglistcontainer.cpp
+++ b/kbugbuster/gui/cwbuglistcontainer.cpp
@@ -79,35 +79,35 @@ CWBugListContainer::CWBugListContainer( TQWidget *parent , const char * name )
m_listBugs->restoreLayout( KBBPrefs::instance()->config(), "BugListLayout" );
- connect( m_listBugs, TQT_SIGNAL( executed( TQListViewItem * ) ),
- TQT_SLOT( execute( TQListViewItem * ) ) );
- connect( m_listBugs, TQT_SIGNAL( returnPressed( TQListViewItem * ) ),
- TQT_SLOT( execute( TQListViewItem * ) ) );
- connect( m_listBugs, TQT_SIGNAL( currentChanged( TQListViewItem * ) ),
- TQT_SLOT( changeCurrent( TQListViewItem * ) ) );
+ connect( m_listBugs, TQ_SIGNAL( executed( TQListViewItem * ) ),
+ TQ_SLOT( execute( TQListViewItem * ) ) );
+ connect( m_listBugs, TQ_SIGNAL( returnPressed( TQListViewItem * ) ),
+ TQ_SLOT( execute( TQListViewItem * ) ) );
+ connect( m_listBugs, TQ_SIGNAL( currentChanged( TQListViewItem * ) ),
+ TQ_SLOT( changeCurrent( TQListViewItem * ) ) );
// Fill WidgetStack in Outstanding Bugs pane
m_listLoading = new CWLoadingWidget( CWLoadingWidget::TopFrame,
m_listStack );
- connect( m_listLoading, TQT_SIGNAL( clicked() ), TQT_SIGNAL( searchPackage() ) );
+ connect( m_listLoading, TQ_SIGNAL( clicked() ), TQ_SIGNAL( searchPackage() ) );
m_listStack->addWidget( m_listBugs, 0 );
m_listStack->addWidget( m_listLoading, 1 );
setNoList();
- connect( BugSystem::self(), TQT_SIGNAL( bugListLoading( const Package &, const TQString & ) ),
- TQT_SLOT( setLoading( const Package &, const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( bugListLoading( const TQString & ) ),
- TQT_SLOT( setLoading( const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( bugListCacheMiss( const Package & ) ),
- TQT_SLOT( setCacheMiss( const Package & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( bugListCacheMiss( const TQString & ) ),
- TQT_SLOT( setCacheMiss( const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( commandQueued( BugCommand * ) ),
- TQT_SLOT( markBugCommand( BugCommand * ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( commandCanceled( const TQString & ) ),
- TQT_SLOT( clearCommand( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( bugListLoading( const Package &, const TQString & ) ),
+ TQ_SLOT( setLoading( const Package &, const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( bugListLoading( const TQString & ) ),
+ TQ_SLOT( setLoading( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( bugListCacheMiss( const Package & ) ),
+ TQ_SLOT( setCacheMiss( const Package & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( bugListCacheMiss( const TQString & ) ),
+ TQ_SLOT( setCacheMiss( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( commandQueued( BugCommand * ) ),
+ TQ_SLOT( markBugCommand( BugCommand * ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( commandCanceled( const TQString & ) ),
+ TQ_SLOT( clearCommand( const TQString & ) ) );
}
CWBugListContainer::~CWBugListContainer()
@@ -261,9 +261,9 @@ void CWBugListContainer::searchBugByTitle( int options, const TQString& pattern
m_find = new KFind( pattern, options, this );
// Connect signals to code which handles highlighting
// of found text.
- connect(m_find, TQT_SIGNAL( highlight( const TQString &, int, int ) ),
- this, TQT_SLOT( searchHighlight( const TQString &, int, int ) ) );
- connect(m_find, TQT_SIGNAL( findNext() ), this, TQT_SLOT( slotFindNext() ) );
+ connect(m_find, TQ_SIGNAL( highlight( const TQString &, int, int ) ),
+ this, TQ_SLOT( searchHighlight( const TQString &, int, int ) ) );
+ connect(m_find, TQ_SIGNAL( findNext() ), this, TQ_SLOT( slotFindNext() ) );
m_findItem = (BugLVI *)m_listBugs->firstChild();
if ( options & KFindDialog::FromCursor && m_listBugs->currentItem() )
diff --git a/kbugbuster/gui/cwsearchwidget.cpp b/kbugbuster/gui/cwsearchwidget.cpp
index 3ac606ec..fff33706 100644
--- a/kbugbuster/gui/cwsearchwidget.cpp
+++ b/kbugbuster/gui/cwsearchwidget.cpp
@@ -37,11 +37,11 @@ CWSearchWidget::CWSearchWidget( TQWidget *parent , const char * name )
f.setBold( true );
m_searchLabel->setFont( f );
- connect( m_searchDesc, TQT_SIGNAL( textChanged ( const TQString & ) ),
- this, TQT_SLOT( textDescriptionChanged ( const TQString & ) ) );
+ connect( m_searchDesc, TQ_SIGNAL( textChanged ( const TQString & ) ),
+ this, TQ_SLOT( textDescriptionChanged ( const TQString & ) ) );
- connect( m_searchBugNumber, TQT_SIGNAL( textChanged ( const TQString & ) ),
- this, TQT_SLOT( textNumberChanged ( const TQString & ) ) );
+ connect( m_searchBugNumber, TQ_SIGNAL( textChanged ( const TQString & ) ),
+ this, TQ_SLOT( textNumberChanged ( const TQString & ) ) );
m_searchDescBtn->setEnabled( !m_searchDesc->text().isEmpty() );
m_searchBugNumberBtn->setEnabled( !m_searchBugNumber->text().isEmpty() );
diff --git a/kbugbuster/gui/kbbmainwindow.cpp b/kbugbuster/gui/kbbmainwindow.cpp
index e1805632..57c1ec30 100644
--- a/kbugbuster/gui/kbbmainwindow.cpp
+++ b/kbugbuster/gui/kbbmainwindow.cpp
@@ -113,20 +113,20 @@ KBBMainWindow::KBBMainWindow( const TQCString &initialPackage,
m_progressBar->setMinimumWidth( 150 );
m_progressBar->setMaximumHeight( statusBar()->fontMetrics().height() + 6 );
statusBar()->addWidget( m_progressBar );
- connect( m_mainWidget, TQT_SIGNAL( resetProgressBar() ),
- m_progressBar, TQT_SLOT( reset() ) );
- connect( m_mainWidget, TQT_SIGNAL( searchPackage() ),
- this, TQT_SLOT( searchPackage() ) );
- connect( m_mainWidget, TQT_SIGNAL( searchBugNumber() ),
- this, TQT_SLOT( searchBugNumber() ) );
+ connect( m_mainWidget, TQ_SIGNAL( resetProgressBar() ),
+ m_progressBar, TQ_SLOT( reset() ) );
+ connect( m_mainWidget, TQ_SIGNAL( searchPackage() ),
+ this, TQ_SLOT( searchPackage() ) );
+ connect( m_mainWidget, TQ_SIGNAL( searchBugNumber() ),
+ this, TQ_SLOT( searchBugNumber() ) );
- connect( BugSystem::self(), TQT_SIGNAL( infoMessage( const TQString & ) ),
- TQT_SLOT( slotStatusMsg( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( infoMessage( const TQString & ) ),
+ TQ_SLOT( slotStatusMsg( const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( infoMessage( const TQString & ) ),
- TQT_SLOT( slotStatusMsg( const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( infoPercent( unsigned long ) ),
- TQT_SLOT( slotSetPercent( unsigned long ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( infoMessage( const TQString & ) ),
+ TQ_SLOT( slotStatusMsg( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( infoPercent( unsigned long ) ),
+ TQ_SLOT( slotSetPercent( unsigned long ) ) );
m_mainWidget->readConfig();
}
@@ -145,60 +145,60 @@ void KBBMainWindow::initActions()
{
// Prepare and create XML GUI
fileQuit = KStdAction::quit( this,
- TQT_SLOT( close() ), actionCollection() );
+ TQ_SLOT( close() ), actionCollection() );
fileQuit->setToolTip( i18n( "Quit KBugBuster" ) );
- new TDEAction( i18n("See &Pending Changes"), "contents", 0, this, TQT_SLOT( slotListChanges() ),
+ new TDEAction( i18n("See &Pending Changes"), "contents", 0, this, TQ_SLOT( slotListChanges() ),
actionCollection(), "file_seechanges" );
- new TDEAction( i18n("&Submit Changes"), "mail-send", 0, this, TQT_SLOT( slotSubmit() ),
+ new TDEAction( i18n("&Submit Changes"), "mail-send", 0, this, TQ_SLOT( slotSubmit() ),
actionCollection(), "file_submit" );
- reloadpacklist = new TDEAction( i18n("Reload &Product List"), "reload", CTRL+TQt::Key_F5, m_mainWidget, TQT_SLOT( slotReloadPackageList() ),
+ reloadpacklist = new TDEAction( i18n("Reload &Product List"), "reload", CTRL+TQt::Key_F5, m_mainWidget, TQ_SLOT( slotReloadPackageList() ),
actionCollection(), "reload_packagelist" );
- reloadpack= new TDEAction( i18n("Reload Bug &List (for current product)"), "reload", TQt::Key_F5, m_mainWidget, TQT_SLOT( slotReloadPackage() ),
+ reloadpack= new TDEAction( i18n("Reload Bug &List (for current product)"), "reload", TQt::Key_F5, m_mainWidget, TQ_SLOT( slotReloadPackage() ),
actionCollection(), "reload_package" );
- reloadbug = new TDEAction( i18n("Reload Bug &Details (for current bug)"), "reload", SHIFT+TQt::Key_F5, m_mainWidget, TQT_SLOT( slotReloadBug() ),
+ reloadbug = new TDEAction( i18n("Reload Bug &Details (for current bug)"), "reload", SHIFT+TQt::Key_F5, m_mainWidget, TQ_SLOT( slotReloadBug() ),
actionCollection(), "reload_bug" );
- loadMyBugs = new TDEAction( i18n( "Load &My Bugs List" ), 0, m_mainWidget, TQT_SLOT( slotLoadMyBugs() ),
+ loadMyBugs = new TDEAction( i18n( "Load &My Bugs List" ), 0, m_mainWidget, TQ_SLOT( slotLoadMyBugs() ),
actionCollection(), "load_my_bugs" );
- reloadall = new TDEAction( i18n("Load All Bug Details (for current product)"), TQt::Key_F6, m_mainWidget, TQT_SLOT( slotRetrieveAllBugDetails() ), actionCollection(), "load_allbugs" );
- new TDEAction( i18n("Extract &Attachments"), "document-save", TQt::Key_F4, m_mainWidget, TQT_SLOT( slotExtractAttachments() ),
+ reloadall = new TDEAction( i18n("Load All Bug Details (for current product)"), TQt::Key_F6, m_mainWidget, TQ_SLOT( slotRetrieveAllBugDetails() ), actionCollection(), "load_allbugs" );
+ new TDEAction( i18n("Extract &Attachments"), "document-save", TQt::Key_F4, m_mainWidget, TQ_SLOT( slotExtractAttachments() ),
actionCollection(), "extract_attachments" );
- new TDEAction( i18n("Clear Cache"), 0, this, TQT_SLOT( clearCache() ),
+ new TDEAction( i18n("Clear Cache"), 0, this, TQ_SLOT( clearCache() ),
actionCollection(), "clear_cache" );
new TDEAction( i18n("&Search by Product..."), "goto", CTRL+TQt::Key_P, this,
- TQT_SLOT( searchPackage() ), actionCollection(), "search_package" );
+ TQ_SLOT( searchPackage() ), actionCollection(), "search_package" );
new TDEAction( i18n("Search by Bug &Number..."), "filefind", CTRL+TQt::Key_N, this,
- TQT_SLOT( searchBugNumber() ), actionCollection(), "search_bugnumber" );
+ TQ_SLOT( searchBugNumber() ), actionCollection(), "search_bugnumber" );
// For now "Description" searches by title. Maybe later we can have a
// full-text search interfacing bugs.trinitydesktop.org and rename the current one to "By Title".
new TDEAction( i18n("Search by &Description...") ,"edit-find", CTRL+TQt::Key_D, this,
- TQT_SLOT( searchDescription() ), actionCollection(), "search_description" );
+ TQ_SLOT( searchDescription() ), actionCollection(), "search_description" );
// new TDEAction( i18n("&Merge"), "view_remove", CTRL+TQt::Key_M, m_mainWidget,
-// TQT_SLOT( mergeBugs() ), actionCollection(), "cmd_merge" );
+// TQ_SLOT( mergeBugs() ), actionCollection(), "cmd_merge" );
// new TDEAction( i18n("&Unmerge"), "view_top_bottom", CTRL+SHIFT+TQt::Key_M, m_mainWidget,
-// TQT_SLOT( unmergeBugs() ), actionCollection(), "cmd_unmerge" );
+// TQ_SLOT( unmergeBugs() ), actionCollection(), "cmd_unmerge" );
new TDEAction( i18n("C&lose..."), "edittrash", CTRL+TQt::Key_L, m_mainWidget,
- TQT_SLOT( closeBug() ), actionCollection(), "cmd_close" );
+ TQ_SLOT( closeBug() ), actionCollection(), "cmd_close" );
// new TDEAction( i18n("Clos&e Silently"), "edittrash", CTRL+TQt::Key_E, m_mainWidget,
-// TQT_SLOT( closeBugSilently() ), actionCollection(), "cmd_close_silently" );
+// TQ_SLOT( closeBugSilently() ), actionCollection(), "cmd_close_silently" );
new TDEAction( i18n("Re&open"), "idea", CTRL+TQt::Key_O, m_mainWidget,
- TQT_SLOT( reopenBug() ), actionCollection(), "cmd_reopen" );
+ TQ_SLOT( reopenBug() ), actionCollection(), "cmd_reopen" );
// new TDEAction( i18n("Re&assign..."), "folder-new", CTRL+TQt::Key_A, m_mainWidget,
-// TQT_SLOT( reassignBug() ), actionCollection(), "cmd_reassign" );
+// TQ_SLOT( reassignBug() ), actionCollection(), "cmd_reassign" );
// new TDEAction( i18n("Change &Title..."), "format-text-underline", CTRL+TQt::Key_T, m_mainWidget,
-// TQT_SLOT( titleBug() ), actionCollection(), "cmd_title" );
+// TQ_SLOT( titleBug() ), actionCollection(), "cmd_title" );
// new TDEAction( i18n("Change &Severity..."), "edit", CTRL+TQt::Key_S, m_mainWidget,
-// TQT_SLOT( severityBug() ), actionCollection(), "cmd_severity" );
+// TQ_SLOT( severityBug() ), actionCollection(), "cmd_severity" );
new TDEAction( i18n("&Reply..."), "mail-reply-all",CTRL+TQt::Key_R , m_mainWidget,
- TQT_SLOT( replyBug() ), actionCollection(), "cmd_reply" );
+ TQ_SLOT( replyBug() ), actionCollection(), "cmd_reply" );
new TDEAction( i18n("Reply &Privately..."), "mail-reply-sender", CTRL+TQt::Key_I, m_mainWidget,
- TQT_SLOT( replyPrivateBug() ), actionCollection(), "cmd_replyprivate" );
+ TQ_SLOT( replyPrivateBug() ), actionCollection(), "cmd_replyprivate" );
- KStdAction::showMenubar(this, TQT_SLOT( slotToggleMenubar() ), actionCollection() );
+ KStdAction::showMenubar(this, TQ_SLOT( slotToggleMenubar() ), actionCollection() );
#if KDE_IS_VERSION( 3, 1, 90 )
createStandardStatusBarAction();
setStandardToolBarMenuEnabled(true);
@@ -206,7 +206,7 @@ void KBBMainWindow::initActions()
m_disconnectedAction = new TDEToggleAction( i18n("&Disconnected Mode"), 0,
this,
- TQT_SLOT( slotDisconnectedAction() ),
+ TQ_SLOT( slotDisconnectedAction() ),
actionCollection(),
"settings_disconnected" );
m_disconnectedAction->setChecked( BugSystem::self()->disconnected() );
@@ -215,16 +215,16 @@ void KBBMainWindow::initActions()
m_pamBookmarks = new TDEActionMenu( i18n( "&Bookmarks" ), "bookmark", actionCollection(), "bookmarks" );
m_pBookmarkMenu = new KBookmarkMenu( KBBBookmarkManager::self(), this, m_pamBookmarks->popupMenu(), actionCollection(), true );
- KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection() );
+ KStdAction::preferences( this, TQ_SLOT(preferences()), actionCollection() );
- TDEToggleAction *toggleTmp = new TDEToggleAction( i18n("Show Closed Bugs"), "application-x-trash", 0, this, TQT_SLOT( slotToggleDone() ),
+ TDEToggleAction *toggleTmp = new TDEToggleAction( i18n("Show Closed Bugs"), "application-x-trash", 0, this, TQ_SLOT( slotToggleDone() ),
actionCollection(), "cmd_toggle_done" );
#if KDE_IS_VERSION( 3, 2, 90 )
toggleTmp->setCheckedState(i18n("Hide Closed Bugs"));
#endif
toggleTmp->setChecked( KBBPrefs::instance()->mShowClosedBugs );
- toggleTmp =new TDEToggleAction( i18n("Show Wishes"), "bookmark", 0, this, TQT_SLOT( slotToggleWishes() ),
+ toggleTmp =new TDEToggleAction( i18n("Show Wishes"), "bookmark", 0, this, TQ_SLOT( slotToggleWishes() ),
actionCollection(), "cmd_toggle_wishes" );
#if KDE_IS_VERSION( 3, 2, 90 )
toggleTmp->setCheckedState(i18n("Hide Wishes"));
@@ -233,7 +233,7 @@ void KBBMainWindow::initActions()
mSelectServerAction = new TDESelectAction( i18n( "Select Server" ), 0, 0,
this,
- TQT_SLOT( slotSelectServer() ),
+ TQ_SLOT( slotSelectServer() ),
actionCollection(),
"select_server" );
@@ -241,10 +241,10 @@ void KBBMainWindow::initActions()
if ( KBBPrefs::instance()->mDebugMode ) {
new TDEAction( i18n("Show Last Server Response..."), 0 , this,
- TQT_SLOT( showLastResponse() ), actionCollection(),
+ TQ_SLOT( showLastResponse() ), actionCollection(),
"debug_lastresponse" );
new TDEAction( i18n("Show Bug HTML Source..."), 0 , this,
- TQT_SLOT( showBugSource() ), actionCollection(),
+ TQ_SLOT( showBugSource() ), actionCollection(),
"debug_showbugsource" );
}
@@ -308,7 +308,7 @@ void KBBMainWindow::openBookmarkURL( const TQString & url )
}
}
-// --- TQT_SLOT IMPLEMENTATIONS -------------------------------------------------
+// --- SLOT IMPLEMENTATIONS -------------------------------------------------
void KBBMainWindow::slotDisconnectedAction()
{
@@ -432,10 +432,10 @@ void KBBMainWindow::preferences()
{
if (!mPreferencesDialog) {
mPreferencesDialog = new PreferencesDialog(this);
- connect( mPreferencesDialog, TQT_SIGNAL( configChanged() ),
- TQT_SLOT( setupSelectServerAction() ) );
- connect( mPreferencesDialog, TQT_SIGNAL( configChanged() ),
- m_mainWidget, TQT_SLOT( slotReloadPackage() ) );
+ connect( mPreferencesDialog, TQ_SIGNAL( configChanged() ),
+ TQ_SLOT( setupSelectServerAction() ) );
+ connect( mPreferencesDialog, TQ_SIGNAL( configChanged() ),
+ m_mainWidget, TQ_SLOT( slotReloadPackage() ) );
}
mPreferencesDialog->show();
mPreferencesDialog->raise();
diff --git a/kbugbuster/gui/loadallbugsdlg.cpp b/kbugbuster/gui/loadallbugsdlg.cpp
index cea52ef1..fd9db670 100644
--- a/kbugbuster/gui/loadallbugsdlg.cpp
+++ b/kbugbuster/gui/loadallbugsdlg.cpp
@@ -24,22 +24,22 @@ LoadAllBugsDlg::LoadAllBugsDlg( const Package& pkg, const TQString &component )
: TQDialog( 0L, "progressdlg", TRUE )
{
m_bugLoadingProgress = new TDEIO::DefaultProgress( this );
- connect( m_bugLoadingProgress, TQT_SIGNAL( stopped() ),
- this, TQT_SLOT( slotStopped() ) );
+ connect( m_bugLoadingProgress, TQ_SIGNAL( stopped() ),
+ this, TQ_SLOT( slotStopped() ) );
setCaption( i18n( "Loading All Bugs for Product %1" ).arg( pkg.name() ) );
connect( BugSystem::self(),
- TQT_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ),
- TQT_SLOT( slotBugDetailsAvailable( const Bug &, const BugDetails & ) ) );
+ TQ_SIGNAL( bugDetailsAvailable( const Bug &, const BugDetails & ) ),
+ TQ_SLOT( slotBugDetailsAvailable( const Bug &, const BugDetails & ) ) );
connect( BugSystem::self(),
- TQT_SIGNAL( bugDetailsLoadingError() ),
- TQT_SLOT( slotBugDetailsLoadingError() ) );
+ TQ_SIGNAL( bugDetailsLoadingError() ),
+ TQ_SLOT( slotBugDetailsLoadingError() ) );
// The package (and its buglist) has to be in the cache already...
m_bugs = BugSystem::self()->cache()->loadBugList( pkg, component, true );
m_count = m_bugs.count();
m_bugLoadingProgress->slotTotalSize( 0, m_count );
kdDebug() << "LoadAllBugsDlg: " << m_count << " bugs to load" << endl;
m_processed = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( loadNextBug() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( loadNextBug() ) );
}
void LoadAllBugsDlg::slotBugDetailsAvailable( const Bug &bug, const BugDetails & )
diff --git a/kbugbuster/gui/messageeditor.cpp b/kbugbuster/gui/messageeditor.cpp
index d5a6428e..e07ec297 100644
--- a/kbugbuster/gui/messageeditor.cpp
+++ b/kbugbuster/gui/messageeditor.cpp
@@ -29,15 +29,15 @@ MessageEditor::MessageEditor( TQWidget *parent )
mSelectionCombo = new TQComboBox(topFrame);
selectionLayout->addWidget(mSelectionCombo);
- connect(mSelectionCombo,TQT_SIGNAL(activated(int)),TQT_SLOT(changeMessage()));
+ connect(mSelectionCombo,TQ_SIGNAL(activated(int)),TQ_SLOT(changeMessage()));
TQPushButton *addButton = new TQPushButton(i18n("Add Button..."),topFrame);
selectionLayout->addWidget(addButton);
- connect(addButton,TQT_SIGNAL(clicked()),TQT_SLOT(addButton()));
+ connect(addButton,TQ_SIGNAL(clicked()),TQ_SLOT(addButton()));
TQPushButton *removeButton = new TQPushButton(i18n("Remove Button"),topFrame);
selectionLayout->addWidget(removeButton);
- connect(removeButton,TQT_SIGNAL(clicked()),TQT_SLOT(removeButton()));
+ connect(removeButton,TQ_SIGNAL(clicked()),TQ_SLOT(removeButton()));
mMessageEdit = new KTextEdit(topFrame);
topLayout->addWidget(mMessageEdit,1);
diff --git a/kbugbuster/gui/msginputdialog.cpp b/kbugbuster/gui/msginputdialog.cpp
index a1e10a38..a16564e4 100644
--- a/kbugbuster/gui/msginputdialog.cpp
+++ b/kbugbuster/gui/msginputdialog.cpp
@@ -94,10 +94,10 @@ MsgInputDialog::MsgInputDialog(MsgInputDialog::MessageType type, const Bug &bug,
updatePresets();
l->setBuddy( mPresets );
- connect( mPresets, TQT_SIGNAL( executed( TQListBoxItem* ) ),
- TQT_SLOT( slotPresetSelected( TQListBoxItem * ) ) );
- connect( this, TQT_SIGNAL( user2Clicked() ), TQT_SLOT( editPresets() ) );
- connect( this, TQT_SIGNAL( user1Clicked() ), TQT_SLOT( clearMessage() ) );
+ connect( mPresets, TQ_SIGNAL( executed( TQListBoxItem* ) ),
+ TQ_SLOT( slotPresetSelected( TQListBoxItem * ) ) );
+ connect( this, TQ_SIGNAL( user2Clicked() ), TQ_SLOT( editPresets() ) );
+ connect( this, TQ_SIGNAL( user1Clicked() ), TQ_SLOT( clearMessage() ) );
mMessageEdit->setFocus();
if ( !quotedMsg.isEmpty() )
diff --git a/kbugbuster/gui/packageselectdialog.cpp b/kbugbuster/gui/packageselectdialog.cpp
index ccd18880..ddb1b42d 100644
--- a/kbugbuster/gui/packageselectdialog.cpp
+++ b/kbugbuster/gui/packageselectdialog.cpp
@@ -56,10 +56,10 @@ PackageSelectDialog::PackageSelectDialog(TQWidget *parent,const char *name) :
mRecentList->resize( mRecentList->width(), mRecentList->fontMetrics().height() *
KBBPrefs::instance()->mRecentPackagesCount );
- connect( mRecentList, TQT_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
- TQT_SLOT( recentSelected( int, TQListViewItem * ) ) );
- connect( mRecentList, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
- TQT_SLOT( slotOk() ) );
+ connect( mRecentList, TQ_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
+ TQ_SLOT( recentSelected( int, TQListViewItem * ) ) );
+ connect( mRecentList, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ TQ_SLOT( slotOk() ) );
mCompletion = new TDECompletion;
mCompletion->setCompletionMode( TDEGlobalSettings::CompletionAuto );
@@ -69,21 +69,21 @@ PackageSelectDialog::PackageSelectDialog(TQWidget *parent,const char *name) :
mCompleteList->addColumn( i18n("Description") );
mCompleteList->setRootIsDecorated(true);
mCompleteList->setAllColumnsShowFocus( true );
- connect( mCompleteList, TQT_SIGNAL( typed( const TQString & ) ),
- TQT_SLOT( completeTyped( const TQString & ) ) );
+ connect( mCompleteList, TQ_SIGNAL( typed( const TQString & ) ),
+ TQ_SLOT( completeTyped( const TQString & ) ) );
- connect( mCompleteList, TQT_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
- TQT_SLOT( completeSelected( int, TQListViewItem * ) ) );
- connect( mCompleteList, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
- TQT_SLOT( slotOk() ) );
+ connect( mCompleteList, TQ_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
+ TQ_SLOT( completeSelected( int, TQListViewItem * ) ) );
+ connect( mCompleteList, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ TQ_SLOT( slotOk() ) );
mPackageEdit = new KLineEdit( topWidget );
mPackageEdit->setFocus();
topLayout->addWidget( mPackageEdit );
- connect( mPackageEdit, TQT_SIGNAL( textChanged( const TQString & ) ),
- TQT_SLOT( completeTyped( const TQString & ) ) );
+ connect( mPackageEdit, TQ_SIGNAL( textChanged( const TQString & ) ),
+ TQ_SLOT( completeTyped( const TQString & ) ) );
enableButtonOK( !mPackageEdit->text().isEmpty() );
}
diff --git a/kbugbuster/gui/preferencesdialog.cpp b/kbugbuster/gui/preferencesdialog.cpp
index a7a99478..233adbaf 100644
--- a/kbugbuster/gui/preferencesdialog.cpp
+++ b/kbugbuster/gui/preferencesdialog.cpp
@@ -90,19 +90,19 @@ void PreferencesDialog::setupServerPage()
layout->addWidget( buttonBox );
TQPushButton *addButton = new TQPushButton( i18n("Add Server..."), buttonBox );
- connect( addButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addServer() ) );
+ connect( addButton, TQ_SIGNAL( clicked() ), TQ_SLOT( addServer() ) );
TQPushButton *editButton = new TQPushButton( i18n("Edit Server..."), buttonBox );
- connect( editButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editServer() ) );
+ connect( editButton, TQ_SIGNAL( clicked() ), TQ_SLOT( editServer() ) );
TQPushButton *removeButton = new TQPushButton( i18n("Delete Server"), buttonBox );
- connect( removeButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeServer() ) );
+ connect( removeButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeServer() ) );
TQPushButton *button = new TQPushButton( i18n("Select Server From List..."),
topFrame );
layout->addWidget( button );
- connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( selectServer() ) );
- connect( mServerList, TQT_SIGNAL( doubleClicked ( TQListViewItem *)), this, TQT_SLOT( editServer()));
+ connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( selectServer() ) );
+ connect( mServerList, TQ_SIGNAL( doubleClicked ( TQListViewItem *)), this, TQ_SLOT( editServer()));
}
void PreferencesDialog::setupAdvancedPage()
@@ -132,8 +132,8 @@ void PreferencesDialog::setupAdvancedPage()
mMinVotesInput = new KIntNumInput( topFrame );
mMinVotesInput->setMinValue( 0 );
- connect( mShowVotedCheckBox, TQT_SIGNAL(toggled(bool)),
- mMinVotesInput, TQT_SLOT(setEnabled(bool)) );
+ connect( mShowVotedCheckBox, TQ_SIGNAL(toggled(bool)),
+ mMinVotesInput, TQ_SLOT(setEnabled(bool)) );
layout->addWidget( mMinVotesInput );
mSendBccCheckBox = new TQCheckBox( i18n( "Send BCC to myself" ), topFrame );
@@ -289,7 +289,7 @@ SelectServerDlg::SelectServerDlg(PreferencesDialog *parent, const char */*name*/
parent->createServerItem( list, "Xorg", "http://bugs.freedesktop.org/", "4.0.7" );
parent->createServerItem( list, "RedHat", "http://bugzilla.redhat.com/bugzilla/", "4.2.2" );
parent->createServerItem( list, "Mandriva", "http://qa.mandriva.com/", "4.0.6" );
- connect( list, TQT_SIGNAL( doubleClicked ( TQListViewItem *)), this, TQT_SLOT( slotDoubleClicked( TQListViewItem *)));
+ connect( list, TQ_SIGNAL( doubleClicked ( TQListViewItem *)), this, TQ_SLOT( slotDoubleClicked( TQListViewItem *)));
}
diff --git a/kbugbuster/main.cpp b/kbugbuster/main.cpp
index 4fd3a383..ae021f74 100644
--- a/kbugbuster/main.cpp
+++ b/kbugbuster/main.cpp
@@ -73,8 +73,8 @@ int main(int argc, char *argv[])
// Since all background jobs remaing running after closing the
// main window we force a quit here
- TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ),
- &app, TQT_SLOT( quit() ) );
+ TQObject::connect( &app, TQ_SIGNAL( lastWindowClosed() ),
+ &app, TQ_SLOT( quit() ) );
mainWin->show();
return app.exec();
}
diff --git a/kbugbuster/tderesources/kcalresource.cpp b/kbugbuster/tderesources/kcalresource.cpp
index 5cc58b39..4df561fa 100644
--- a/kbugbuster/tderesources/kcalresource.cpp
+++ b/kbugbuster/tderesources/kcalresource.cpp
@@ -175,9 +175,9 @@ bool KCalResource::doLoad()
Package package = kbb->package( mPrefs->product() );
- connect( kbb, TQT_SIGNAL( bugListAvailable( const Package &, const TQString &,
+ connect( kbb, TQ_SIGNAL( bugListAvailable( const Package &, const TQString &,
const Bug::List & ) ),
- TQT_SLOT( slotBugListAvailable( const Package &, const TQString &,
+ TQ_SLOT( slotBugListAvailable( const Package &, const TQString &,
const Bug::List & ) ) );
kbb->retrieveBugList( package, mPrefs->component() );
@@ -268,8 +268,8 @@ bool KCalResource::doSave()
mCalendar.save( cacheFile() );
mUploadJob = TDEIO::file_copy( KURL( cacheFile() ), mUploadUrl, -1, true );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotSaveJobResult( TDEIO::Job * ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotSaveJobResult( TDEIO::Job * ) ) );
return true;
}