diff --git a/kmail/headerstyle.cpp b/kmail/headerstyle.cpp
index af790014..436e16fe 100644
--- a/kmail/headerstyle.cpp
+++ b/kmail/headerstyle.cpp
@@ -901,7 +901,7 @@ namespace KMail {
// colors depend on if its encapsulated or not
TQColor fontColor(TQt::white);
TQString linkColor = "class =\"white\"";
- const TQColor activeColor = tqApp->tqpalette().active().highlight();
+ const TQColor activeColor = tqApp->palette().active().highlight();
TQColor activeColorDark = activeColor.dark(130);
// reverse colors for encapsulated
if( !topLevel ){
diff --git a/kmail/kmail.kcfg b/kmail/kmail.kcfg
index b70627c2..022d4af8 100644
--- a/kmail/kmail.kcfg
+++ b/kmail/kmail.kcfg
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- tqtextcodec.h
+ textcodec.h
kapplication.h
diff --git a/knode/knwidgets.cpp b/knode/knwidgets.cpp
index e2afa4cf..b4c9a160 100644
--- a/knode/knwidgets.cpp
+++ b/knode/knwidgets.cpp
@@ -143,7 +143,7 @@ void KNDockWidgetHeaderDrag::paintEvent(TQPaintEvent* ev)
paint.begin(&drawBuffer);
paint.fillRect(drawBuffer.rect(), TQBrush(colorGroup().brush(TQColorGroup::Background)));
- paint.setPen(tqpalette().active().highlight());
+ paint.setPen(palette().active().highlight());
paint.drawLine(1, 2, width(), 2);
paint.drawLine(1, 3, width(), 3);
paint.drawLine(1, 5, width(), 5);