summaryrefslogtreecommitdiffstats
path: root/kmail/foldertreebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/foldertreebase.cpp')
-rw-r--r--kmail/foldertreebase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/foldertreebase.cpp b/kmail/foldertreebase.cpp
index 10d7af2f1..7415591ee 100644
--- a/kmail/foldertreebase.cpp
+++ b/kmail/foldertreebase.cpp
@@ -74,7 +74,7 @@ void FolderTreeBase::contentsDropEvent(TQDropEvent * e)
int FolderTreeBase::dndMode(bool alwaysAsk)
{
int action = -1;
- int keybstate = kapp->keyboardModifiers();
+ int keybstate = tdeApp->keyboardModifiers();
if ( keybstate & TDEApplication::ControlModifier ) {
action = DRAG_COPY;
} else if ( keybstate & TDEApplication::ShiftModifier ) {
@@ -108,9 +108,9 @@ void FolderTreeBase::readColorConfig()
TDEConfig* conf = KMKernel::config();
// Custom/System color support
TDEConfigGroupSaver saver(conf, "Reader");
- TQColor c1=TQColor(kapp->palette().active().text());
+ TQColor c1=TQColor(tdeApp->palette().active().text());
TQColor c2=TQColor("blue");
- TQColor c4=TQColor(kapp->palette().active().base());
+ TQColor c4=TQColor(tdeApp->palette().active().base());
TQColor c5=TQColor("red");
if (!conf->readBoolEntry("defaultColors",true)) {
@@ -125,7 +125,7 @@ void FolderTreeBase::readColorConfig()
mPaintInfo.colBack = c4;
mPaintInfo.colCloseToQuota = c5;
}
- TQPalette newPal = kapp->palette();
+ TQPalette newPal = tdeApp->palette();
newPal.setColor( TQColorGroup::Base, mPaintInfo.colBack );
newPal.setColor( TQColorGroup::Text, mPaintInfo.colFore );
setPalette( newPal );