summaryrefslogtreecommitdiffstats
path: root/kmail/foldertreebase.cpp
diff options
context:
space:
mode:
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 8557388ac..4355c9df2 100644
--- a/kmail/foldertreebase.cpp
+++ b/kmail/foldertreebase.cpp
@@ -108,9 +108,9 @@ void FolderTreeBase::readColorConfig()
KConfig* conf = KMKernel::config();
// Custom/System color support
KConfigGroupSaver saver(conf, "Reader");
- TQColor c1=TQColor(kapp->tqpalette().active().text());
+ TQColor c1=TQColor(kapp->palette().active().text());
TQColor c2=TQColor("blue");
- TQColor c4=TQColor(kapp->tqpalette().active().base());
+ TQColor c4=TQColor(kapp->palette().active().base());
TQColor c5=TQColor("red");
if (!conf->readBoolEntry("defaultColors",true)) {
@@ -179,10 +179,10 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
}
// set it
- bool tqrepaint = false;
+ bool repaint = false;
if (fti->unreadCount() != count) {
fti->adjustUnreadCount( count );
- tqrepaint = true;
+ repaint = true;
}
if (isTotalActive() || force)
{
@@ -196,7 +196,7 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
// set it
if ( count != fti->totalCount() ) {
fti->setTotalCount(count);
- tqrepaint = true;
+ repaint = true;
}
}
if ( isSizeActive() || force ) {
@@ -204,7 +204,7 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
TQ_INT64 size = folder->storage()->folderSize();
if ( size != fti->folderSize() ) {
fti->setFolderSize( size );
- tqrepaint = true;
+ repaint = true;
}
}
}
@@ -213,8 +213,8 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/
}
if (fti->parent() && !fti->parent()->isOpen())
- tqrepaint = false; // we're not visible
- if (tqrepaint) {
+ repaint = false; // we're not visible
+ if (repaint) {
fti->setNeedsRepaint( true );
emit triggerRefresh();
}