summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-16 02:11:58 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-08-20 18:33:02 +0200
commitac7c9c459a50dc551b2904e0a101851b2fd5069b (patch)
treeaf50c115526f9a98ae49fd5de0e9fec4039b5767
parenta1ca48332ccff0fa452c9493f0af77aa54326a07 (diff)
downloadtdepim-ac7c9c459a50dc551b2904e0a101851b2fd5069b.tar.gz
tdepim-ac7c9c459a50dc551b2904e0a101851b2fd5069b.zip
Fix disconnected signals introduced in KDE SVN commit 641050
(cherry picked from commit acecca8521b9b90b735491dda046c571af03f709)
-rw-r--r--kmail/index.cpp12
-rw-r--r--kmail/index.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/kmail/index.cpp b/kmail/index.cpp
index bb1e2ac67..9a4d73b1d 100644
--- a/kmail/index.cpp
+++ b/kmail/index.cpp
@@ -91,10 +91,10 @@ KMMsgIndex::KMMsgIndex( TQObject* parent ):
mSlowDown( false ) {
kdDebug( 5006 ) << "KMMsgIndex::KMMsgIndex()" << endl;
- connect( kmkernel->folderMgr(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotRemoveMessage( TQ_UINT32 ) ) );
- connect( kmkernel->folderMgr(), TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotAddMessage( TQ_UINT32 ) ) );
- connect( kmkernel->dimapFolderMgr(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotRemoveMessage( TQ_UINT32 ) ) );
- connect( kmkernel->dimapFolderMgr(), TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotAddMessage( TQ_UINT32 ) ) );
+ connect( kmkernel->folderMgr(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotRemoveMessage( KMFolder*, TQ_UINT32 ) ) );
+ connect( kmkernel->folderMgr(), TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotAddMessage( KMFolder*, TQ_UINT32 ) ) );
+ connect( kmkernel->dimapFolderMgr(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotRemoveMessage( KMFolder*, TQ_UINT32 ) ) );
+ connect( kmkernel->dimapFolderMgr(), TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), TQT_SLOT( slotAddMessage( KMFolder*, TQ_UINT32 ) ) );
connect( mTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( act() ) );
//connect( mSyncTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( syncIndex() ) );
@@ -482,7 +482,7 @@ bool KMMsgIndex::canHandleQuery( const KMSearchPattern* pat ) const {
return false;
}
-void KMMsgIndex::slotAddMessage( TQ_UINT32 serNum ) {
+void KMMsgIndex::slotAddMessage( KMFolder*, TQ_UINT32 serNum ) {
kdDebug( 5006 ) << "KMMsgIndex::slotAddMessage( . , " << serNum << " )" << endl;
if ( mState == s_error || mState == s_disabled ) return;
@@ -493,7 +493,7 @@ void KMMsgIndex::slotAddMessage( TQ_UINT32 serNum ) {
scheduleAction();
}
-void KMMsgIndex::slotRemoveMessage( TQ_UINT32 serNum ) {
+void KMMsgIndex::slotRemoveMessage( KMFolder*, TQ_UINT32 serNum ) {
kdDebug( 5006 ) << "KMMsgIndex::slotRemoveMessage( . , " << serNum << " )" << endl;
if ( mState == s_error || mState == s_disabled ) return;
diff --git a/kmail/index.h b/kmail/index.h
index bd7749448..1a8ae33a9 100644
--- a/kmail/index.h
+++ b/kmail/index.h
@@ -134,8 +134,8 @@ class KMMsgIndex : public TQObject {
void continueCreation();
- void slotAddMessage( TQ_UINT32 message );
- void slotRemoveMessage( TQ_UINT32 message );
+ void slotAddMessage( KMFolder*, TQ_UINT32 message );
+ void slotRemoveMessage( KMFolder*, TQ_UINT32 message );
private:
static TQString defaultPath();