diff options
Diffstat (limited to 'kmail/kmfolder.cpp')
-rw-r--r-- | kmail/kmfolder.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kmail/kmfolder.cpp b/kmail/kmfolder.cpp index 68fb52f04..3825d1ee9 100644 --- a/kmail/kmfolder.cpp +++ b/kmail/kmfolder.cpp @@ -87,15 +87,15 @@ KMFolder::KMFolder( KMFolderDir* aParent, const TQString& aFolderName, } if ( aParent ) { - connect( mStorage, TQT_SIGNAL( msgAdded( KMFolder*, Q_UINT32 ) ), - aParent->manager(), TQT_SIGNAL( msgAdded( KMFolder*, Q_UINT32 ) ) ); - connect( mStorage, TQT_SIGNAL( msgRemoved( KMFolder*, Q_UINT32 ) ), - parent()->manager(), TQT_SIGNAL( msgRemoved( KMFolder*, Q_UINT32 ) ) ); - connect( this, TQT_SIGNAL( msgChanged( KMFolder*, Q_UINT32, int ) ), - parent()->manager(), TQT_SIGNAL( msgChanged( KMFolder*, Q_UINT32, int ) ) ); + 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* ) ), + connect( mStorage, TQT_SIGNAL( tqinvalidated( KMFolder* ) ), parent()->manager(), TQT_SIGNAL( folderInvalidated( KMFolder* ) ) ); } @@ -105,17 +105,17 @@ KMFolder::KMFolder( KMFolderDir* aParent, const TQString& aFolderName, connect( mStorage, TQT_SIGNAL( expunged( KMFolder* ) ), TQT_SIGNAL( expunged( KMFolder* ) ) ); connect( mStorage, TQT_SIGNAL( nameChanged() ), TQT_SIGNAL( nameChanged() ) ); - connect( mStorage, TQT_SIGNAL( msgRemoved( KMFolder*, Q_UINT32 ) ), - TQT_SIGNAL( msgRemoved( KMFolder*, Q_UINT32 ) ) ); + 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*, Q_UINT32 ) ), - TQT_SIGNAL( msgAdded( KMFolder*, Q_UINT32 ) ) ); - connect( mStorage, TQT_SIGNAL( msgChanged( KMFolder*, Q_UINT32 , int ) ), - TQT_SIGNAL( msgChanged( KMFolder*, Q_UINT32 , 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& ) ), @@ -717,8 +717,8 @@ TQString KMFolder::idString() const TQString escapedName = name(); /* Escape [ and ] as they are disallowed for kconfig sections and that is what the idString is primarily used for. */ - escapedName.replace( "[", "%(" ); - escapedName.replace( "]", "%)" ); + escapedName.tqreplace( "[", "%(" ); + escapedName.tqreplace( "]", "%)" ); return relativePath + escapedName; } @@ -828,15 +828,15 @@ int KMFolder::writeIndex( bool createEmptyIndex ) return mStorage->writeIndex( createEmptyIndex ); } -void KMFolder::setStatus( int idx, KMMsgStatus status, bool toggle ) +void KMFolder::seStatus( int idx, KMMsgStatus status, bool toggle ) { - mStorage->setStatus( idx, status, toggle ); + mStorage->seStatus( idx, status, toggle ); } -void KMFolder::setStatus( TQValueList<int>& ids, KMMsgStatus status, +void KMFolder::seStatus( TQValueList<int>& ids, KMMsgStatus status, bool toggle ) { - mStorage->setStatus( ids, status, toggle); + mStorage->seStatus( ids, status, toggle); } void KMFolder::setIconPaths( const TQString &normalPath, |