summaryrefslogtreecommitdiffstats
path: root/kmail/foldertreebase.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/foldertreebase.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/foldertreebase.cpp')
-rw-r--r--kmail/foldertreebase.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/foldertreebase.cpp b/kmail/foldertreebase.cpp
index c35c88074..e126263f5 100644
--- a/kmail/foldertreebase.cpp
+++ b/kmail/foldertreebase.cpp
@@ -179,10 +179,10 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
}
// set it
- bool repaint = false;
+ bool tqrepaint = false;
if (fti->unreadCount() != count) {
fti->adjustUnreadCount( count );
- repaint = true;
+ tqrepaint = true;
}
if (isTotalActive() || force)
{
@@ -196,15 +196,15 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
// set it
if ( count != fti->totalCount() ) {
fti->setTotalCount(count);
- repaint = true;
+ tqrepaint = true;
}
}
if ( isSizeActive() || force ) {
if ( !fti->folder()->noContent()) {
- Q_INT64 size = folder->storage()->folderSize();
+ TQ_INT64 size = folder->storage()->folderSize();
if ( size != fti->folderSize() ) {
fti->setFolderSize( size );
- repaint = true;
+ tqrepaint = true;
}
}
}
@@ -213,8 +213,8 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
}
if (fti->parent() && !fti->parent()->isOpen())
- repaint = false; // we're not visible
- if (repaint) {
+ tqrepaint = false; // we're not visible
+ if (tqrepaint) {
fti->setNeedsRepaint( true );
emit triggerRefresh();
}
@@ -228,7 +228,7 @@ void FolderTreeBase::handleMailListDrop(TQDropEvent * event, KMFolder *destinati
if ( !MailListDrag::decode( event, list ) ) {
kdWarning() << k_funcinfo << "Could not decode drag data!" << endl;
} else {
- TQValueList<Q_UINT32> serNums = MessageCopyHelper::serNumListFromMailList( list );
+ TQValueList<TQ_UINT32> serNums = MessageCopyHelper::serNumListFromMailList( list );
int action;
if ( MessageCopyHelper::inReadOnlyFolder( serNums ) )
action = DRAG_COPY;