summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolder.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/kmfolder.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmfolder.cpp')
-rw-r--r--kmail/kmfolder.cpp38
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,