From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmailcvt/filters.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kmailcvt/filters.cxx') diff --git a/kmailcvt/filters.cxx b/kmailcvt/filters.cxx index 1028e69c..02f83097 100644 --- a/kmailcvt/filters.cxx +++ b/kmailcvt/filters.cxx @@ -35,9 +35,9 @@ bool FilterInfo::s_terminateASAP = false; -FilterInfo::FilterInfo( KImportPageDlg* dlg, TQWidget* parent , bool _removeDupMsg) +FilterInfo::FilterInfo( KImportPageDlg* dlg, TQWidget* tqparent , bool _removeDupMsg) : m_dlg( dlg ), - m_parent( parent ) + m_tqparent( tqparent ) { removeDupMsg = _removeDupMsg; s_terminateASAP = false; @@ -49,7 +49,7 @@ FilterInfo::~FilterInfo() void FilterInfo::seStatusMsg( const TQString& status ) { - m_dlg->_texStatus->setText( status ); + m_dlg->_textqStatus->setText( status ); } void FilterInfo::setFrom( const TQString& from ) @@ -92,14 +92,14 @@ void FilterInfo::clear() m_dlg->_log->clear(); setCurrent(); setOverall(); - setCurrent( TQString::null ); - setFrom( TQString::null ); - setTo( TQString::null ); + setCurrent( TQString() ); + setFrom( TQString() ); + setTo( TQString() ); } void FilterInfo::alert( const TQString& message ) { - KMessageBox::information( m_parent, message ); + KMessageBox::information( m_tqparent, message ); } void FilterInfo::terminateASAP() @@ -136,7 +136,7 @@ bool Filter::addMessage( FilterInfo* info, const TQString& folderName, msgURL.setPath( msgPath ); if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) ) - KApplication::startServiceByDesktopName( "kmail", TQString::null ); // Will wait until kmail is started + KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "dcopAddMessage", folderName, msgURL, msgStatusFlags ); @@ -172,7 +172,7 @@ bool Filter::addMessage_fastImport( FilterInfo* info, const TQString& folderName msgURL.setPath( msgPath ); if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) ) - KApplication::startServiceByDesktopName( "kmail", TQString::null ); // Will wait until kmail is started + KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "dcopAddMessage_fastImport", folderName, msgURL, msgStatusFlags ); if ( !reply.isValid() ) @@ -200,7 +200,7 @@ bool Filter::addMessage_fastImport( FilterInfo* info, const TQString& folderName void Filter::showKMailImportArchiveDialog( FilterInfo* info ) { if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) ) - KApplication::startServiceByDesktopName( "kmail", TQString::null ); // Will wait until kmail is started + KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "showImportArchiveDialog" ); if ( !reply.isValid() ) -- cgit v1.2.3