summaryrefslogtreecommitdiffstats
path: root/kmail/kmkernel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /kmail/kmkernel.cpp
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail/kmkernel.cpp')
-rw-r--r--kmail/kmkernel.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp
index 473188e6f..0f1d34ed9 100644
--- a/kmail/kmkernel.cpp
+++ b/kmail/kmkernel.cpp
@@ -173,8 +173,8 @@ KMKernel::KMKernel (TQObject *parent, const char *name) :
#ifdef __TDE_HAVE_TDEHWLIB
mNetworkManager = TDEGlobal::networkManager();
if (mNetworkManager) {
- connect( mNetworkManager, TQT_SIGNAL( networkDeviceStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ),
- this, TQT_SLOT( slotNetworkStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ) );
+ connect( mNetworkManager, TQ_SIGNAL( networkDeviceStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ),
+ this, TQ_SLOT( slotNetworkStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ) );
if (networkStateConnected()) {
resumeNetworkJobs();
}
@@ -1582,17 +1582,17 @@ void KMKernel::init()
the_weaverLogger->attach (the_weaver);
//#endif
- connect( the_folderMgr, TQT_SIGNAL( folderRemoved(KMFolder*) ),
- this, TQT_SIGNAL( folderRemoved(KMFolder*) ) );
- connect( the_dimapFolderMgr, TQT_SIGNAL( folderRemoved(KMFolder*) ),
- this, TQT_SIGNAL( folderRemoved(KMFolder*) ) );
- connect( the_imapFolderMgr, TQT_SIGNAL( folderRemoved(KMFolder*) ),
- this, TQT_SIGNAL( folderRemoved(KMFolder*) ) );
- connect( the_searchFolderMgr, TQT_SIGNAL( folderRemoved(KMFolder*) ),
- this, TQT_SIGNAL( folderRemoved(KMFolder*) ) );
+ connect( the_folderMgr, TQ_SIGNAL( folderRemoved(KMFolder*) ),
+ this, TQ_SIGNAL( folderRemoved(KMFolder*) ) );
+ connect( the_dimapFolderMgr, TQ_SIGNAL( folderRemoved(KMFolder*) ),
+ this, TQ_SIGNAL( folderRemoved(KMFolder*) ) );
+ connect( the_imapFolderMgr, TQ_SIGNAL( folderRemoved(KMFolder*) ),
+ this, TQ_SIGNAL( folderRemoved(KMFolder*) ) );
+ connect( the_searchFolderMgr, TQ_SIGNAL( folderRemoved(KMFolder*) ),
+ this, TQ_SIGNAL( folderRemoved(KMFolder*) ) );
mBackgroundTasksTimer = new TQTimer( this, "mBackgroundTasksTimer" );
- connect( mBackgroundTasksTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotRunBackgroundTasks() ) );
+ connect( mBackgroundTasksTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotRunBackgroundTasks() ) );
#ifdef DEBUG_SCHEDULER // for debugging, see jobscheduler.h
mBackgroundTasksTimer->start( 10000, true ); // 10s, singleshot
#else
@@ -2020,10 +2020,10 @@ void KMKernel::byteArrayToRemoteFile(const TQByteArray &aData, const KURL &aURL,
TDEIO::Job *job = TDEIO::put(aURL, -1, overwrite, false);
putData pd; pd.url = aURL; pd.data = aData; pd.offset = 0;
mPutJobs.insert(job, pd);
- connect(job, TQT_SIGNAL(dataReq(TDEIO::Job*,TQByteArray&)),
- TQT_SLOT(slotDataReq(TDEIO::Job*,TQByteArray&)));
- connect(job, TQT_SIGNAL(result(TDEIO::Job*)),
- TQT_SLOT(slotResult(TDEIO::Job*)));
+ connect(job, TQ_SIGNAL(dataReq(TDEIO::Job*,TQByteArray&)),
+ TQ_SLOT(slotDataReq(TDEIO::Job*,TQByteArray&)));
+ connect(job, TQ_SIGNAL(result(TDEIO::Job*)),
+ TQ_SLOT(slotResult(TDEIO::Job*)));
}
void KMKernel::slotDataReq(TDEIO::Job *job, TQByteArray &data)
@@ -2079,8 +2079,8 @@ void KMKernel::slotShowConfigurationDialog()
{
if( !mConfigureDialog ) {
mConfigureDialog = new ConfigureDialog( 0, "configure", false );
- connect( mConfigureDialog, TQT_SIGNAL( configChanged() ),
- this, TQT_SLOT( slotConfigChanged() ) );
+ connect( mConfigureDialog, TQ_SIGNAL( configChanged() ),
+ this, TQ_SLOT( slotConfigChanged() ) );
}
if( KMKernel::getKMMainWidget() == 0 )