summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolder.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/kmfolder.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/kmfolder.cpp')
-rw-r--r--kmail/kmfolder.cpp88
1 files changed, 44 insertions, 44 deletions
diff --git a/kmail/kmfolder.cpp b/kmail/kmfolder.cpp
index b1b9c2618..4bcd4992a 100644
--- a/kmail/kmfolder.cpp
+++ b/kmail/kmfolder.cpp
@@ -87,53 +87,53 @@ KMFolder::KMFolder( KMFolderDir* aParent, const TQString& aFolderName,
}
if ( aParent ) {
- connect( mStorage, TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ),
- aParent->manager(), TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ) );
- connect( mStorage, TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ),
- parent()->manager(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ) );
- connect( this, TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ),
- parent()->manager(), TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ) );
- connect( this, TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ),
- parent()->manager(), TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ) );
- connect( mStorage, TQT_SIGNAL( invalidated( KMFolder* ) ),
- parent()->manager(), TQT_SIGNAL( folderInvalidated( KMFolder* ) ) );
+ connect( mStorage, TQ_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ),
+ aParent->manager(), TQ_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ) );
+ connect( mStorage, TQ_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ),
+ parent()->manager(), TQ_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ) );
+ connect( this, TQ_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ),
+ parent()->manager(), TQ_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ) );
+ connect( this, TQ_SIGNAL( msgHeaderChanged( KMFolder*, int ) ),
+ parent()->manager(), TQ_SIGNAL( msgHeaderChanged( KMFolder*, int ) ) );
+ connect( mStorage, TQ_SIGNAL( invalidated( KMFolder* ) ),
+ parent()->manager(), TQ_SIGNAL( folderInvalidated( KMFolder* ) ) );
}
// Resend all mStorage signals
- connect( mStorage, TQT_SIGNAL( changed() ), TQT_SIGNAL( changed() ) );
- connect( mStorage, TQT_SIGNAL( cleared() ), TQT_SIGNAL( cleared() ) );
- connect( mStorage, TQT_SIGNAL( expunged( KMFolder* ) ),
- TQT_SIGNAL( expunged( KMFolder* ) ) );
- connect( mStorage, TQT_SIGNAL( nameChanged() ), TQT_SIGNAL( nameChanged() ) );
- connect( mStorage, TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ),
- TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ) );
- connect( mStorage, TQT_SIGNAL( msgRemoved( int, TQString ) ),
- TQT_SIGNAL( msgRemoved( int, TQString ) ) );
- connect( mStorage, TQT_SIGNAL( msgRemoved( KMFolder* ) ),
- TQT_SIGNAL( msgRemoved( KMFolder* ) ) );
- connect( mStorage, TQT_SIGNAL( msgAdded( int ) ), TQT_SIGNAL( msgAdded( int ) ) );
- connect( mStorage, TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ),
- TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ) );
- connect( mStorage, TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32 , int ) ),
- TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32 , int ) ) );
- connect( mStorage, TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ),
- TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ) );
- connect( mStorage, TQT_SIGNAL( statusMsg( const TQString& ) ),
- TQT_SIGNAL( statusMsg( const TQString& ) ) );
- connect( mStorage, TQT_SIGNAL( numUnreadMsgsChanged( KMFolder* ) ),
- TQT_SIGNAL( numUnreadMsgsChanged( KMFolder* ) ) );
- connect( mStorage, TQT_SIGNAL( removed( KMFolder*, bool ) ),
- TQT_SIGNAL( removed( KMFolder*, bool ) ) );
- connect( mStorage, TQT_SIGNAL(noContentChanged()),
- TQT_SIGNAL(noContentChanged()) );
- connect( mStorage, TQT_SIGNAL(syncStateChanged()),
- TQT_SIGNAL(syncStateChanged()) );
-
- connect( mStorage, TQT_SIGNAL( contentsTypeChanged( KMail::FolderContentsType ) ),
- this, TQT_SLOT( slotContentsTypeChanged( KMail::FolderContentsType ) ) );
-
- connect( mStorage, TQT_SIGNAL( folderSizeChanged() ),
- this, TQT_SLOT( slotFolderSizeChanged() ) );
+ connect( mStorage, TQ_SIGNAL( changed() ), TQ_SIGNAL( changed() ) );
+ connect( mStorage, TQ_SIGNAL( cleared() ), TQ_SIGNAL( cleared() ) );
+ connect( mStorage, TQ_SIGNAL( expunged( KMFolder* ) ),
+ TQ_SIGNAL( expunged( KMFolder* ) ) );
+ connect( mStorage, TQ_SIGNAL( nameChanged() ), TQ_SIGNAL( nameChanged() ) );
+ connect( mStorage, TQ_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ),
+ TQ_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ) );
+ connect( mStorage, TQ_SIGNAL( msgRemoved( int, TQString ) ),
+ TQ_SIGNAL( msgRemoved( int, TQString ) ) );
+ connect( mStorage, TQ_SIGNAL( msgRemoved( KMFolder* ) ),
+ TQ_SIGNAL( msgRemoved( KMFolder* ) ) );
+ connect( mStorage, TQ_SIGNAL( msgAdded( int ) ), TQ_SIGNAL( msgAdded( int ) ) );
+ connect( mStorage, TQ_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ),
+ TQ_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ) );
+ connect( mStorage, TQ_SIGNAL( msgChanged( KMFolder*, TQ_UINT32 , int ) ),
+ TQ_SIGNAL( msgChanged( KMFolder*, TQ_UINT32 , int ) ) );
+ connect( mStorage, TQ_SIGNAL( msgHeaderChanged( KMFolder*, int ) ),
+ TQ_SIGNAL( msgHeaderChanged( KMFolder*, int ) ) );
+ connect( mStorage, TQ_SIGNAL( statusMsg( const TQString& ) ),
+ TQ_SIGNAL( statusMsg( const TQString& ) ) );
+ connect( mStorage, TQ_SIGNAL( numUnreadMsgsChanged( KMFolder* ) ),
+ TQ_SIGNAL( numUnreadMsgsChanged( KMFolder* ) ) );
+ connect( mStorage, TQ_SIGNAL( removed( KMFolder*, bool ) ),
+ TQ_SIGNAL( removed( KMFolder*, bool ) ) );
+ connect( mStorage, TQ_SIGNAL(noContentChanged()),
+ TQ_SIGNAL(noContentChanged()) );
+ connect( mStorage, TQ_SIGNAL(syncStateChanged()),
+ TQ_SIGNAL(syncStateChanged()) );
+
+ connect( mStorage, TQ_SIGNAL( contentsTypeChanged( KMail::FolderContentsType ) ),
+ this, TQ_SLOT( slotContentsTypeChanged( KMail::FolderContentsType ) ) );
+
+ connect( mStorage, TQ_SIGNAL( folderSizeChanged() ),
+ this, TQ_SLOT( slotFolderSizeChanged() ) );
//FIXME: Centralize all the readConfig calls somehow - Zack
// Meanwhile, readConfig must be done before registerWithMessageDict, since