summaryrefslogtreecommitdiffstats
path: root/kmail
diff options
context:
space:
mode:
Diffstat (limited to 'kmail')
-rw-r--r--kmail/accountdialog.cpp6
-rw-r--r--kmail/accountmanager.cpp4
-rw-r--r--kmail/accountwizard.cpp2
-rw-r--r--kmail/antispamwizard.cpp4
-rw-r--r--kmail/archivefolderdialog.cpp4
-rw-r--r--kmail/backupjob.cpp2
-rw-r--r--kmail/cachedimapjob.cpp2
-rw-r--r--kmail/callback.cpp2
-rw-r--r--kmail/chiasmuskeyselector.cpp2
-rw-r--r--kmail/compactionjob.cpp2
-rw-r--r--kmail/composer.h2
-rw-r--r--kmail/configuredialog.cpp4
-rw-r--r--kmail/configuredialog_p.cpp2
-rw-r--r--kmail/configuredialog_p.h2
-rw-r--r--kmail/copyfolderjob.cpp2
-rw-r--r--kmail/customtemplates.cpp6
-rw-r--r--kmail/distributionlistdialog.cpp10
-rw-r--r--kmail/editorwatcher.cpp4
-rw-r--r--kmail/encodingdetector.cpp4
-rw-r--r--kmail/expirejob.cpp2
-rw-r--r--kmail/expirypropertiesdialog.cpp4
-rw-r--r--kmail/favoritefolderview.cpp4
-rw-r--r--kmail/filterlogdlg.cpp4
-rw-r--r--kmail/folderdiaacltab.cpp10
-rw-r--r--kmail/folderdiaquotatab_p.cpp2
-rw-r--r--kmail/foldershortcutdialog.cpp4
-rw-r--r--kmail/folderstorage.cpp2
-rw-r--r--kmail/folderutil.cpp2
-rw-r--r--kmail/headeritem.cpp2
-rw-r--r--kmail/headerlistquicksearch.cpp2
-rw-r--r--kmail/headerstyle.cpp8
-rw-r--r--kmail/htmlstatusbar.cpp2
-rw-r--r--kmail/identitydialog.cpp4
-rw-r--r--kmail/identitylistview.cpp2
-rw-r--r--kmail/imapaccountbase.cpp4
-rw-r--r--kmail/imapjob.cpp2
-rw-r--r--kmail/importarchivedialog.cpp4
-rw-r--r--kmail/importjob.cpp4
-rw-r--r--kmail/keyresolver.cpp6
-rw-r--r--kmail/kmaccount.cpp4
-rw-r--r--kmail/kmacctimap.cpp2
-rw-r--r--kmail/kmacctlocal.cpp4
-rw-r--r--kmail/kmacctmaildir.cpp4
-rw-r--r--kmail/kmacctseldlg.cpp2
-rw-r--r--kmail/kmaddrbook.cpp8
-rw-r--r--kmail/kmaddrbook.h2
-rw-r--r--kmail/kmail_options.h2
-rw-r--r--kmail/kmailicalifaceimpl.cpp4
-rw-r--r--kmail/kmcommands.cpp10
-rw-r--r--kmail/kmcommands.h2
-rw-r--r--kmail/kmcomposewin.cpp6
-rw-r--r--kmail/kmcomposewin.h2
-rw-r--r--kmail/kmedit.cpp6
-rw-r--r--kmail/kmfawidgets.cpp4
-rw-r--r--kmail/kmfilter.cpp4
-rw-r--r--kmail/kmfilteraction.cpp4
-rw-r--r--kmail/kmfilterdlg.cpp4
-rw-r--r--kmail/kmfiltermgr.cpp2
-rw-r--r--kmail/kmfolder.cpp4
-rw-r--r--kmail/kmfoldercachedimap.cpp4
-rw-r--r--kmail/kmfolderdia.cpp4
-rw-r--r--kmail/kmfolderdir.cpp4
-rw-r--r--kmail/kmfolderindex.cpp4
-rw-r--r--kmail/kmfoldermaildir.cpp4
-rw-r--r--kmail/kmfoldermbox.cpp4
-rw-r--r--kmail/kmfoldermgr.cpp4
-rw-r--r--kmail/kmfoldersearch.cpp2
-rw-r--r--kmail/kmfoldertree.cpp4
-rw-r--r--kmail/kmfoldertree.h2
-rw-r--r--kmail/kmheaders.cpp6
-rw-r--r--kmail/kmkernel.cpp4
-rw-r--r--kmail/kmlineeditspell.cpp6
-rw-r--r--kmail/kmmainwidget.cpp4
-rw-r--r--kmail/kmmainwin.cpp4
-rw-r--r--kmail/kmmessage.cpp6
-rw-r--r--kmail/kmmimeparttree.cpp4
-rw-r--r--kmail/kmmsgbase.cpp2
-rw-r--r--kmail/kmpopfiltercnfrmdlg.cpp2
-rw-r--r--kmail/kmreadermainwin.cpp4
-rw-r--r--kmail/kmreaderwin.cpp12
-rw-r--r--kmail/kmsearchpattern.cpp6
-rw-r--r--kmail/kmsearchpattern.h2
-rw-r--r--kmail/kmsearchpatternedit.cpp2
-rw-r--r--kmail/kmsender.cpp4
-rw-r--r--kmail/kmservertest.cpp4
-rw-r--r--kmail/kmstartup.cpp6
-rw-r--r--kmail/kmsystemtray.cpp2
-rw-r--r--kmail/kmtransport.cpp4
-rw-r--r--kmail/listjob.cpp4
-rw-r--r--kmail/localsubscriptiondialog.cpp4
-rw-r--r--kmail/mailinglistpropertiesdialog.cpp4
-rw-r--r--kmail/main.cpp2
-rw-r--r--kmail/managesievescriptsdialog.cpp6
-rw-r--r--kmail/messageactions.cpp2
-rw-r--r--kmail/messagecomposer.cpp4
-rw-r--r--kmail/networkaccount.cpp4
-rw-r--r--kmail/newfolderdialog.cpp4
-rw-r--r--kmail/objecttreeparser.cpp8
-rw-r--r--kmail/partNode.cpp2
-rw-r--r--kmail/popaccount.cpp4
-rw-r--r--kmail/quotajobs.h2
-rw-r--r--kmail/recipientseditor.cpp4
-rw-r--r--kmail/recipientseditortest.cpp4
-rw-r--r--kmail/recipientspicker.cpp8
-rw-r--r--kmail/recipientspicker.h4
-rw-r--r--kmail/redirectdialog.cpp4
-rw-r--r--kmail/regexplineedit.cpp2
-rw-r--r--kmail/renamejob.cpp2
-rw-r--r--kmail/rulewidgethandlermanager.cpp2
-rw-r--r--kmail/searchjob.cpp4
-rw-r--r--kmail/sieveconfig.cpp2
-rw-r--r--kmail/sievedebugdialog.cpp4
-rw-r--r--kmail/signatureconfigurator.cpp2
-rw-r--r--kmail/simplestringlisteditor.cpp2
-rw-r--r--kmail/snippetdlg.cpp4
-rw-r--r--kmail/snippetitem.h2
-rw-r--r--kmail/snippetwidget.cpp4
-rw-r--r--kmail/subscriptiondialog.cpp4
-rw-r--r--kmail/templateparser.cpp6
-rw-r--r--kmail/templatesconfiguration.cpp4
-rw-r--r--kmail/templatesinsertcommand.cpp2
-rw-r--r--kmail/undostack.cpp4
-rw-r--r--kmail/urlhandlermanager.cpp4
-rw-r--r--kmail/util.h4
-rw-r--r--kmail/vacation.cpp4
-rw-r--r--kmail/vacationdialog.cpp2
-rw-r--r--kmail/vcardviewer.cpp6
-rw-r--r--kmail/vcardviewer.h4
-rw-r--r--kmail/xfaceconfigurator.cpp10
129 files changed, 249 insertions, 249 deletions
diff --git a/kmail/accountdialog.cpp b/kmail/accountdialog.cpp
index 3cac88d46..206cbfee7 100644
--- a/kmail/accountdialog.cpp
+++ b/kmail/accountdialog.cpp
@@ -37,13 +37,13 @@
#include <tqgrid.h>
#include <tdefiledialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <knuminput.h>
#include <kseparator.h>
#include <tdeapplication.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kprotocolinfo.h>
#include <kiconloader.h>
#include <tdepopupmenu.h>
diff --git a/kmail/accountmanager.cpp b/kmail/accountmanager.cpp
index b65de83ab..6b9f38fe9 100644
--- a/kmail/accountmanager.cpp
+++ b/kmail/accountmanager.cpp
@@ -19,8 +19,8 @@
#include "globalsettings.h"
#include <dcopclient.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tdeconfig.h>
#include <tdeapplication.h>
diff --git a/kmail/accountwizard.cpp b/kmail/accountwizard.cpp
index 664b95e3d..92e6a2321 100644
--- a/kmail/accountwizard.cpp
+++ b/kmail/accountwizard.cpp
@@ -30,7 +30,7 @@
#include <tdefiledialog.h>
#include <klineedit.h>
#include <tdelistbox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcheckbox.h>
#include <tqdir.h>
diff --git a/kmail/antispamwizard.cpp b/kmail/antispamwizard.cpp
index 8b450f44b..5552b0588 100644
--- a/kmail/antispamwizard.cpp
+++ b/kmail/antispamwizard.cpp
@@ -44,8 +44,8 @@
#include <kdebug.h>
#include <kdialog.h>
#include <kiconloader.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kprocess.h>
#include <tqdom.h>
diff --git a/kmail/archivefolderdialog.cpp b/kmail/archivefolderdialog.cpp
index 49c9b1c3d..435752c64 100644
--- a/kmail/archivefolderdialog.cpp
+++ b/kmail/archivefolderdialog.cpp
@@ -25,10 +25,10 @@
#include "folderrequester.h"
#include "util.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kcombobox.h>
#include <kurlrequester.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdefiledialog.h>
#include <tqlabel.h>
diff --git a/kmail/backupjob.cpp b/kmail/backupjob.cpp
index 132a8dba1..bf78e68cd 100644
--- a/kmail/backupjob.cpp
+++ b/kmail/backupjob.cpp
@@ -28,7 +28,7 @@
#include "kzip.h"
#include "ktar.h"
-#include "kmessagebox.h"
+#include "tdemessagebox.h"
#include "tqfile.h"
#include "tqfileinfo.h"
diff --git a/kmail/cachedimapjob.cpp b/kmail/cachedimapjob.cpp
index 7b1fd5175..da3623461 100644
--- a/kmail/cachedimapjob.cpp
+++ b/kmail/cachedimapjob.cpp
@@ -50,7 +50,7 @@
#include <tdeio/scheduler.h>
#include <tdeio/job.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
diff --git a/kmail/callback.cpp b/kmail/callback.cpp
index 9b6da633a..b6e0e938b 100644
--- a/kmail/callback.cpp
+++ b/kmail/callback.cpp
@@ -46,7 +46,7 @@
#include <mimelib/enum.h>
#include <kinputdialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
using namespace KMail;
diff --git a/kmail/chiasmuskeyselector.cpp b/kmail/chiasmuskeyselector.cpp
index ca5fe114b..9e25743e9 100644
--- a/kmail/chiasmuskeyselector.cpp
+++ b/kmail/chiasmuskeyselector.cpp
@@ -2,7 +2,7 @@
#include <klineedit.h>
#include <tdelistbox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqlayout.h>
#include <tqlabel.h>
diff --git a/kmail/compactionjob.cpp b/kmail/compactionjob.cpp
index fd89f4584..a2ace4856 100644
--- a/kmail/compactionjob.cpp
+++ b/kmail/compactionjob.cpp
@@ -33,7 +33,7 @@ using KPIM::BroadcastStatus;
#include "kmfoldermaildir.h"
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqfile.h>
#include <tqfileinfo.h>
diff --git a/kmail/composer.h b/kmail/composer.h
index 3d86ec57a..30cf0b284 100644
--- a/kmail/composer.h
+++ b/kmail/composer.h
@@ -8,7 +8,7 @@
#include "secondarywindow.h"
#include <kurl.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <tqstring.h>
#include <tqcstring.h>
diff --git a/kmail/configuredialog.cpp b/kmail/configuredialog.cpp
index 434ddac18..e740e7491 100644
--- a/kmail/configuredialog.cpp
+++ b/kmail/configuredialog.cpp
@@ -82,14 +82,14 @@ using KMime::DateFormatter;
#include <ui/keyselectiondialog.h>
// other KDE headers:
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeapplication.h>
#include <kcharsets.h>
#include <kasciistringtools.h>
#include <kdebug.h>
#include <knuminput.h>
#include <tdefontdialog.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kurlrequester.h>
#include <kseparator.h>
#include <kiconloader.h>
diff --git a/kmail/configuredialog_p.cpp b/kmail/configuredialog_p.cpp
index 37819739d..83c13a31d 100644
--- a/kmail/configuredialog_p.cpp
+++ b/kmail/configuredialog_p.cpp
@@ -22,7 +22,7 @@
// other KDE headers:
#include <ksimpleconfig.h>
#include <kstandarddirs.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
// TQt headers:
diff --git a/kmail/configuredialog_p.h b/kmail/configuredialog_p.h
index 439393d36..6ba969de1 100644
--- a/kmail/configuredialog_p.h
+++ b/kmail/configuredialog_p.h
@@ -17,7 +17,7 @@
#include <kdialogbase.h>
#include <tdelistview.h>
#include <tdecmodule.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdepimmacros.h>
class TQPushButton;
diff --git a/kmail/copyfolderjob.cpp b/kmail/copyfolderjob.cpp
index 21f475d63..165d94685 100644
--- a/kmail/copyfolderjob.cpp
+++ b/kmail/copyfolderjob.cpp
@@ -39,7 +39,7 @@
#include "undostack.h"
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <config.h>
using namespace KMail;
diff --git a/kmail/customtemplates.cpp b/kmail/customtemplates.cpp
index bbbd0aec7..129ff7567 100644
--- a/kmail/customtemplates.cpp
+++ b/kmail/customtemplates.cpp
@@ -31,15 +31,15 @@
#include <tqfont.h>
#include <kdebug.h>
-#include <klocale.h>
-#include <kglobal.h>
+#include <tdelocale.h>
+#include <tdeglobal.h>
#include <kiconloader.h>
#include <kpushbutton.h>
#include <tdelistview.h>
#include <klineedit.h>
#include <tqcombobox.h>
#include <tdeshortcut.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kkeybutton.h>
#include <kactivelabel.h>
diff --git a/kmail/distributionlistdialog.cpp b/kmail/distributionlistdialog.cpp
index 516634ba6..010fdd9be 100644
--- a/kmail/distributionlistdialog.cpp
+++ b/kmail/distributionlistdialog.cpp
@@ -24,9 +24,9 @@
#include "distributionlistdialog.h"
#include <libemailfunctions/email.h>
-#include <kabc/resource.h>
-#include <kabc/stdaddressbook.h>
-#include <kabc/distributionlist.h>
+#include <tdeabc/resource.h>
+#include <tdeabc/stdaddressbook.h>
+#include <tdeabc/distributionlist.h>
#ifdef TDEPIM_NEW_DISTRLISTS
#include <libtdepim/distributionlist.h>
@@ -34,9 +34,9 @@
#include <libtdepim/kaddrbook.h>
#include <tdelistview.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kinputdialog.h>
#include <tqlayout.h>
diff --git a/kmail/editorwatcher.cpp b/kmail/editorwatcher.cpp
index da78a64dd..a7f25c3b4 100644
--- a/kmail/editorwatcher.cpp
+++ b/kmail/editorwatcher.cpp
@@ -21,8 +21,8 @@
#include <config.h>
#include <kdebug.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kopenwith.h>
#include <kprocess.h>
#include <kuserprofile.h>
diff --git a/kmail/encodingdetector.cpp b/kmail/encodingdetector.cpp
index 01a60d88c..fe378d733 100644
--- a/kmail/encodingdetector.cpp
+++ b/kmail/encodingdetector.cpp
@@ -40,10 +40,10 @@
#include <tqregexp.h>
#include <tqtextcodec.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kcharsets.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <ctype.h>
diff --git a/kmail/expirejob.cpp b/kmail/expirejob.cpp
index 2fcc323e2..a3749947b 100644
--- a/kmail/expirejob.cpp
+++ b/kmail/expirejob.cpp
@@ -35,7 +35,7 @@ using KPIM::BroadcastStatus;
#include "kmcommands.h"
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
using namespace KMail;
diff --git a/kmail/expirypropertiesdialog.cpp b/kmail/expirypropertiesdialog.cpp
index b6b0f6d7f..f1c3274fb 100644
--- a/kmail/expirypropertiesdialog.cpp
+++ b/kmail/expirypropertiesdialog.cpp
@@ -17,8 +17,8 @@
#include <tqtooltip.h>
#include <tqwhatsthis.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
using namespace KMail;
diff --git a/kmail/favoritefolderview.cpp b/kmail/favoritefolderview.cpp
index 9764e2401..45c056eea 100644
--- a/kmail/favoritefolderview.cpp
+++ b/kmail/favoritefolderview.cpp
@@ -35,10 +35,10 @@
#include <dcopclient.h>
#include <kdebug.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <kiconloader.h>
#include <kinputdialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdepopupmenu.h>
#include <tdeio/global.h>
diff --git a/kmail/filterlogdlg.cpp b/kmail/filterlogdlg.cpp
index 25fb7d5c8..eaaefd796 100644
--- a/kmail/filterlogdlg.cpp
+++ b/kmail/filterlogdlg.cpp
@@ -33,8 +33,8 @@
#include <kdebug.h>
#include <tdeversion.h>
#include <tdefiledialog.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tqcheckbox.h>
#include <tqlabel.h>
diff --git a/kmail/folderdiaacltab.cpp b/kmail/folderdiaacltab.cpp
index 27d2f0c7a..2f86cdad6 100644
--- a/kmail/folderdiaacltab.cpp
+++ b/kmail/folderdiaacltab.cpp
@@ -40,17 +40,17 @@
#include "kmfolder.h"
#include <addressesdialog.h>
-#include <kabc/addresseelist.h>
+#include <tdeabc/addresseelist.h>
#ifdef TDEPIM_NEW_DISTRLISTS
#include <libtdepim/distributionlist.h> // libtdepim
#else
-#include <kabc/distributionlist.h>
+#include <tdeabc/distributionlist.h>
#endif
-#include <kabc/stdaddressbook.h>
+#include <tdeabc/stdaddressbook.h>
#include <kaddrbook.h>
#include <kpushbutton.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqlayout.h>
#include <tqlabel.h>
@@ -61,7 +61,7 @@
#include <tqwhatsthis.h>
#include <assert.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
using namespace KMail;
diff --git a/kmail/folderdiaquotatab_p.cpp b/kmail/folderdiaquotatab_p.cpp
index 103d961e9..d11fb6a91 100644
--- a/kmail/folderdiaquotatab_p.cpp
+++ b/kmail/folderdiaquotatab_p.cpp
@@ -40,7 +40,7 @@
#include <math.h>
#include "kmkernel.h"
-#include "klocale.h"
+#include "tdelocale.h"
#include "tdeconfig.h"
#include "kdebug.h"
#include "kdialog.h"
diff --git a/kmail/foldershortcutdialog.cpp b/kmail/foldershortcutdialog.cpp
index 169af7aa1..1c4e79cf8 100644
--- a/kmail/foldershortcutdialog.cpp
+++ b/kmail/foldershortcutdialog.cpp
@@ -42,8 +42,8 @@
#include <tqwhatsthis.h>
#include <kkeybutton.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include "kmmainwidget.h"
#include "foldershortcutdialog.h"
diff --git a/kmail/folderstorage.cpp b/kmail/folderstorage.cpp
index 7be5c26a0..f6d1a358a 100644
--- a/kmail/folderstorage.cpp
+++ b/kmail/folderstorage.cpp
@@ -48,7 +48,7 @@ using KMail::ListJob;
#include "kmsearchpattern.h"
#include "globalsettings.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
#include <kdebug.h>
diff --git a/kmail/folderutil.cpp b/kmail/folderutil.cpp
index 0c2554dc0..76c12744f 100644
--- a/kmail/folderutil.cpp
+++ b/kmail/folderutil.cpp
@@ -23,7 +23,7 @@
#include "kmfoldercachedimap.h"
#include "kmfoldermgr.h"
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
using namespace KMail;
using namespace FolderUtil;
diff --git a/kmail/headeritem.cpp b/kmail/headeritem.cpp
index 806fba35f..e3d2d05ca 100644
--- a/kmail/headeritem.cpp
+++ b/kmail/headeritem.cpp
@@ -26,7 +26,7 @@
** your version.
**
*******************************************************************************/
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqapplication.h>
#include <tqregexp.h>
#include <tqbitmap.h>
diff --git a/kmail/headerlistquicksearch.cpp b/kmail/headerlistquicksearch.cpp
index dba0135be..93795a52c 100644
--- a/kmail/headerlistquicksearch.cpp
+++ b/kmail/headerlistquicksearch.cpp
@@ -38,7 +38,7 @@
#include <tdeaction.h>
#include <kiconloader.h>
#include <tdelistview.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdetoolbarbutton.h>
#include "kmheaders.h"
diff --git a/kmail/headerstyle.cpp b/kmail/headerstyle.cpp
index a762a7dbb..5f04982d4 100644
--- a/kmail/headerstyle.cpp
+++ b/kmail/headerstyle.cpp
@@ -51,11 +51,11 @@ using namespace KPIM;
#include <mimelib/headers.h>
#include <kdebug.h>
-#include <klocale.h>
-#include <kglobal.h>
+#include <tdelocale.h>
+#include <tdeglobal.h>
#include <tdeimproxy.h>
-#include <kabc/stdaddressbook.h>
-#include <kabc/addresseelist.h>
+#include <tdeabc/stdaddressbook.h>
+#include <tdeabc/addresseelist.h>
#include <kmdcodec.h>
#include <tqdatetime.h>
#include <tqbuffer.h>
diff --git a/kmail/htmlstatusbar.cpp b/kmail/htmlstatusbar.cpp
index 9a26dfcdd..fecda8de5 100644
--- a/kmail/htmlstatusbar.cpp
+++ b/kmail/htmlstatusbar.cpp
@@ -42,7 +42,7 @@
#include <tdeapplication.h>
#endif
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
#include <tqcolor.h>
diff --git a/kmail/identitydialog.cpp b/kmail/identitydialog.cpp
index 0e4e3c141..90b4ffdd2 100644
--- a/kmail/identitydialog.cpp
+++ b/kmail/identitydialog.cpp
@@ -61,8 +61,8 @@ using KMail::FolderRequester;
#include <libemailfunctions/email.h>
// other KDE headers:
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tdeconfig.h>
#include <tdefileitem.h>
#include <kurl.h>
diff --git a/kmail/identitylistview.cpp b/kmail/identitylistview.cpp
index c5c9c0597..c13b9d1fe 100644
--- a/kmail/identitylistview.cpp
+++ b/kmail/identitylistview.cpp
@@ -39,7 +39,7 @@
#include <libkpimidentities/identitymanager.h>
#include "kmkernel.h"
-#include <klocale.h> // i18n
+#include <tdelocale.h> // i18n
#include <kiconloader.h> // SmallIcon
#include <cassert>
diff --git a/kmail/imapaccountbase.cpp b/kmail/imapaccountbase.cpp
index 28a73cc9d..e1568b118 100644
--- a/kmail/imapaccountbase.cpp
+++ b/kmail/imapaccountbase.cpp
@@ -53,8 +53,8 @@ using KPIM::ProgressManager;
#include <tdeapplication.h>
#include <kdebug.h>
#include <tdeconfig.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
using TDEIO::MetaData;
#include <tdeio/passdlg.h>
using TDEIO::PasswordDialog;
diff --git a/kmail/imapjob.cpp b/kmail/imapjob.cpp
index 52a110837..c50663ed7 100644
--- a/kmail/imapjob.cpp
+++ b/kmail/imapjob.cpp
@@ -44,7 +44,7 @@ using KPIM::ProgressManager;
#include <tqstylesheet.h>
#include <tdeio/scheduler.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <mimelib/body.h>
#include <mimelib/bodypart.h>
#include <mimelib/string.h>
diff --git a/kmail/importarchivedialog.cpp b/kmail/importarchivedialog.cpp
index 0da3448ca..08a6e4a4a 100644
--- a/kmail/importarchivedialog.cpp
+++ b/kmail/importarchivedialog.cpp
@@ -24,8 +24,8 @@
#include "importjob.h"
#include <kurlrequester.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tqlayout.h>
#include <tqlabel.h>
diff --git a/kmail/importjob.cpp b/kmail/importjob.cpp
index 3a7de1981..58f9d9749 100644
--- a/kmail/importjob.cpp
+++ b/kmail/importjob.cpp
@@ -29,8 +29,8 @@
#include <kdebug.h>
#include <kzip.h>
#include <ktar.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kmimetype.h>
#include <tqwidget.h>
diff --git a/kmail/keyresolver.cpp b/kmail/keyresolver.cpp
index a9f8dc6dc..55459dd2a 100644
--- a/kmail/keyresolver.cpp
+++ b/kmail/keyresolver.cpp
@@ -53,11 +53,11 @@
#include <gpgmepp/key.h>
#include <gpgmepp/keylistresult.h>
-#include <kabc/stdaddressbook.h>
-#include <klocale.h>
+#include <tdeabc/stdaddressbook.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <kinputdialog.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqstringlist.h>
#include <tqtl.h>
diff --git a/kmail/kmaccount.cpp b/kmail/kmaccount.cpp
index ad5007914..825e0cef9 100644
--- a/kmail/kmaccount.cpp
+++ b/kmail/kmaccount.cpp
@@ -25,8 +25,8 @@ using KPIM::ProgressManager;
using KMail::FolderJob;
#include <tdeapplication.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tdeconfig.h>
diff --git a/kmail/kmacctimap.cpp b/kmail/kmacctimap.cpp
index 70a5f0caa..d6b553324 100644
--- a/kmail/kmacctimap.cpp
+++ b/kmail/kmacctimap.cpp
@@ -47,7 +47,7 @@ using KPIM::ProgressItem;
using KPIM::ProgressManager;
#include <tdeio/scheduler.h>
#include <tdeio/slave.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tqstylesheet.h>
diff --git a/kmail/kmacctlocal.cpp b/kmail/kmacctlocal.cpp
index 93ba3a16a..e42407e6c 100644
--- a/kmail/kmacctlocal.cpp
+++ b/kmail/kmacctlocal.cpp
@@ -15,8 +15,8 @@ using KPIM::ProgressManager;
#include "kmfoldermgr.h"
#include <tdeapplication.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tdeconfig.h>
diff --git a/kmail/kmacctmaildir.cpp b/kmail/kmacctmaildir.cpp
index f3e69d2b2..52b398e86 100644
--- a/kmail/kmacctmaildir.cpp
+++ b/kmail/kmacctmaildir.cpp
@@ -14,8 +14,8 @@ using KPIM::BroadcastStatus;
using KPIM::ProgressManager;
#include <tdeapplication.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tdeconfig.h>
diff --git a/kmail/kmacctseldlg.cpp b/kmail/kmacctseldlg.cpp
index 44df37c61..35f1fc42f 100644
--- a/kmail/kmacctseldlg.cpp
+++ b/kmail/kmacctseldlg.cpp
@@ -28,7 +28,7 @@
#include <tqlayout.h>
#include <tqradiobutton.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "kmacctseldlg.moc"
diff --git a/kmail/kmaddrbook.cpp b/kmail/kmaddrbook.cpp
index 84715a6fe..0772ccfba 100644
--- a/kmail/kmaddrbook.cpp
+++ b/kmail/kmaddrbook.cpp
@@ -25,10 +25,10 @@
#include <tdeapplication.h>
#include <kdebug.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-#include <kabc/stdaddressbook.h>
-#include <kabc/distributionlist.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
+#include <tdeabc/stdaddressbook.h>
+#include <tdeabc/distributionlist.h>
#include <dcopref.h>
#include <tqregexp.h>
diff --git a/kmail/kmaddrbook.h b/kmail/kmaddrbook.h
index 1a7c9222e..26cd9c0b2 100644
--- a/kmail/kmaddrbook.h
+++ b/kmail/kmaddrbook.h
@@ -23,7 +23,7 @@
#include <tqstringlist.h>
#include <tdeversion.h>
-#include <kabc/addressee.h>
+#include <tdeabc/addressee.h>
class TQWidget;
diff --git a/kmail/kmail_options.h b/kmail/kmail_options.h
index a8830c41e..c0489b7fe 100644
--- a/kmail/kmail_options.h
+++ b/kmail/kmail_options.h
@@ -3,7 +3,7 @@
#define KMAIL_OPTIONS_H
#include <tdecmdlineargs.h>
-#include <klocale.h>
+#include <tdelocale.h>
TDECmdLineOptions kmail_options[] =
{
diff --git a/kmail/kmailicalifaceimpl.cpp b/kmail/kmailicalifaceimpl.cpp
index b747be68e..8f10be350 100644
--- a/kmail/kmailicalifaceimpl.cpp
+++ b/kmail/kmailicalifaceimpl.cpp
@@ -69,10 +69,10 @@ using KMail::AccountManager;
#include <kiconloader.h>
#include <kinputdialog.h>
#include <dcopclient.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdeconfig.h>
#include <kurl.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
using namespace KMail;
diff --git a/kmail/kmcommands.cpp b/kmail/kmcommands.cpp
index 9faa35e59..c2cd83533 100644
--- a/kmail/kmcommands.cpp
+++ b/kmail/kmcommands.cpp
@@ -62,17 +62,17 @@
#include <kdcopservicestarter.h>
#include <kdebug.h>
#include <tdefiledialog.h>
-#include <kabc/stdaddressbook.h>
-#include <kabc/addresseelist.h>
+#include <tdeabc/stdaddressbook.h>
+#include <tdeabc/addresseelist.h>
#include <kdirselectdialog.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tdeparts/browserextension.h>
#include <kprogress.h>
#include <krun.h>
#include <kbookmarkmanager.h>
#include <kstandarddirs.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <tdeimproxy.h>
#include <kuserprofile.h>
// KIO headers
diff --git a/kmail/kmcommands.h b/kmail/kmcommands.h
index 5e8bf9c3c..25c0a1173 100644
--- a/kmail/kmcommands.h
+++ b/kmail/kmcommands.h
@@ -15,7 +15,7 @@
#include <mimelib/string.h>
#include <tdepimmacros.h>
#include <kservice.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
class TQPopupMenu;
class TDEMainWindow;
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index 6031254a4..d7e96b26a 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -88,11 +88,11 @@ using TDERecentAddress::RecentAddresses;
#include <tdefiledialog.h>
#include <twin.h>
#include <kinputdialog.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kurldrag.h>
#include <tdeio/scheduler.h>
-#include <ktempfile.h>
-#include <klocale.h>
+#include <tdetempfile.h>
+#include <tdelocale.h>
#include <tdeapplication.h>
#include <kstatusbar.h>
#include <tdeaction.h>
diff --git a/kmail/kmcomposewin.h b/kmail/kmcomposewin.h
index ec576bda5..7e43749f0 100644
--- a/kmail/kmcomposewin.h
+++ b/kmail/kmcomposewin.h
@@ -29,7 +29,7 @@
#include <tqsplitter.h>
#include <tdeio/job.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <tdeversion.h>
#include <keditcl.h>
#include <ktempdir.h>
diff --git a/kmail/kmedit.cpp b/kmail/kmedit.cpp
index 15889f126..afe854dea 100644
--- a/kmail/kmedit.cpp
+++ b/kmail/kmedit.cpp
@@ -26,11 +26,11 @@ using KPIM::MailListDrag;
#include <tdepopupmenu.h>
#include <kdebug.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kurldrag.h>
-#include <ktempfile.h>
-#include <klocale.h>
+#include <tdetempfile.h>
+#include <tdelocale.h>
#include <tdeapplication.h>
#include <kdirwatch.h>
#include <kiconloader.h>
diff --git a/kmail/kmfawidgets.cpp b/kmail/kmfawidgets.cpp
index 493fa6c54..80cd3fd95 100644
--- a/kmail/kmfawidgets.cpp
+++ b/kmail/kmfawidgets.cpp
@@ -8,9 +8,9 @@
#include "kmfawidgets.h"
-#include <kabc/addresseedialog.h> // for the button in KMFilterActionWithAddress
+#include <tdeabc/addresseedialog.h> // for the button in KMFilterActionWithAddress
#include <kiconloader.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kaudioplayer.h>
#include <kurlrequester.h>
#include <tdefiledialog.h>
diff --git a/kmail/kmfilter.cpp b/kmail/kmfilter.cpp
index 1a98963e2..d681c6a65 100644
--- a/kmail/kmfilter.cpp
+++ b/kmail/kmfilter.cpp
@@ -31,8 +31,8 @@ using KMail::AccountManager;
#include "filterlog.h"
using KMail::FilterLog;
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tdeconfig.h>
diff --git a/kmail/kmfilteraction.cpp b/kmail/kmfilteraction.cpp
index 1fce0df5e..d97e5fa7d 100644
--- a/kmail/kmfilteraction.cpp
+++ b/kmail/kmfilteraction.cpp
@@ -36,9 +36,9 @@ using KMail::ActionScheduler;
#include "regexplineedit.h"
using KMail::RegExpLineEdit;
#include <kregexp3.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kprocess.h>
#include <kaudioplayer.h>
#include <kurlrequester.h>
diff --git a/kmail/kmfilterdlg.cpp b/kmail/kmfilterdlg.cpp
index 2185ccf89..f81a7071b 100644
--- a/kmail/kmfilterdlg.cpp
+++ b/kmail/kmfilterdlg.cpp
@@ -19,9 +19,9 @@ using KMail::FilterImporterExporter;
#include "globalsettings.h"
// other KDE headers:
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kinputdialog.h>
#include <kiconloader.h>
#include <tdeapplication.h>
diff --git a/kmail/kmfiltermgr.cpp b/kmail/kmfiltermgr.cpp
index ac2915e7a..e91a44a6a 100644
--- a/kmail/kmfiltermgr.cpp
+++ b/kmail/kmfiltermgr.cpp
@@ -22,7 +22,7 @@ using KMail::MessageProperty;
// other KDE headers
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
// other TQt headers
diff --git a/kmail/kmfolder.cpp b/kmail/kmfolder.cpp
index 6083ea9e7..45738939c 100644
--- a/kmail/kmfolder.cpp
+++ b/kmail/kmfolder.cpp
@@ -38,9 +38,9 @@
#include <errno.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeshortcut.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqfile.h>
#include <tqfileinfo.h>
diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp
index 25abffe86..dcfcbe7f1 100644
--- a/kmail/kmfoldercachedimap.cpp
+++ b/kmail/kmfoldercachedimap.cpp
@@ -63,8 +63,8 @@ using KMail::ListJob;
#include "kmmainwidget.h"
#include <tdeapplication.h>
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <tdeconfig.h>
#include <tdeio/global.h>
diff --git a/kmail/kmfolderdia.cpp b/kmail/kmfolderdia.cpp
index 4bbfa8e66..265b1ee9c 100644
--- a/kmail/kmfolderdia.cpp
+++ b/kmail/kmfolderdia.cpp
@@ -51,9 +51,9 @@
#include <keditlistbox.h>
#include <klineedit.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <knuminput.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kicondialog.h>
#include <tdeconfig.h>
#include <kdebug.h>
diff --git a/kmail/kmfolderdir.cpp b/kmail/kmfolderdir.cpp
index 980d0b14b..6d673c4b0 100644
--- a/kmail/kmfolderdir.cpp
+++ b/kmail/kmfolderdir.cpp
@@ -10,8 +10,8 @@
#include <assert.h>
#include <errno.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <kstandarddirs.h>
diff --git a/kmail/kmfolderindex.cpp b/kmail/kmfolderindex.cpp
index 39839e324..7bb77f0da 100644
--- a/kmail/kmfolderindex.cpp
+++ b/kmail/kmfolderindex.cpp
@@ -53,8 +53,8 @@
#endif
#include <tdeapplication.h>
#include <kcursor.h>
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
#include "kmmsgdict.h"
// We define functions as kmail_swap_NN so that we don't get compile errors
diff --git a/kmail/kmfoldermaildir.cpp b/kmail/kmfoldermaildir.cpp
index 669bd6e1b..5242060aa 100644
--- a/kmail/kmfoldermaildir.cpp
+++ b/kmail/kmfoldermaildir.cpp
@@ -24,9 +24,9 @@ using KMail::MaildirJob;
#include <tdeapplication.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstaticdeleter.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kdirsize.h>
#include <dirent.h>
diff --git a/kmail/kmfoldermbox.cpp b/kmail/kmfoldermbox.cpp
index 1579db0ca..6692f54ca 100644
--- a/kmail/kmfoldermbox.cpp
+++ b/kmail/kmfoldermbox.cpp
@@ -33,8 +33,8 @@
#include "util.h"
#include <kdebug.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <knotifyclient.h>
#include <kprocess.h>
#include <tdeconfig.h>
diff --git a/kmail/kmfoldermgr.cpp b/kmail/kmfoldermgr.cpp
index 2513258c2..d270e710a 100644
--- a/kmail/kmfoldermgr.cpp
+++ b/kmail/kmfoldermgr.cpp
@@ -18,8 +18,8 @@
#include <tqdir.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tdeconfig.h>
#include <kdebug.h>
#include <tdeapplication.h>
diff --git a/kmail/kmfoldersearch.cpp b/kmail/kmfoldersearch.cpp
index 038ddbe1a..e2a72cb26 100644
--- a/kmail/kmfoldersearch.cpp
+++ b/kmail/kmfoldersearch.cpp
@@ -29,7 +29,7 @@
#include "jobscheduler.h"
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
#include <assert.h>
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index 0b13f07b8..bf6846613 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -31,9 +31,9 @@ using KMail::FolderViewToolTip;
using namespace KPIM;
#include <tdeapplication.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <kiconloader.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdeconfig.h>
#include <tdepopupmenu.h>
#include <kdebug.h>
diff --git a/kmail/kmfoldertree.h b/kmail/kmfoldertree.h
index 1c6b6b6a1..11e7584f4 100644
--- a/kmail/kmfoldertree.h
+++ b/kmail/kmfoldertree.h
@@ -20,7 +20,7 @@
#include "foldertreebase.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdepimmacros.h>
#include <tqguardedptr.h>
diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp
index a768513f4..77af8e447 100644
--- a/kmail/kmheaders.cpp
+++ b/kmail/kmheaders.cpp
@@ -33,13 +33,13 @@ using namespace KPIM;
#include <tdeapplication.h>
#include <tdeaccelmanager.h>
-#include <kglobalsettings.h>
-#include <kmessagebox.h>
+#include <tdeglobalsettings.h>
+#include <tdemessagebox.h>
#include <kiconloader.h>
#include <tdepopupmenu.h>
#include <kimageio.h>
#include <tdeconfig.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <tqbuffer.h>
diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp
index e748c5507..056eaa4ae 100644
--- a/kmail/kmkernel.cpp
+++ b/kmail/kmkernel.cpp
@@ -57,7 +57,7 @@ using KMail::FolderIface;
#include "templateparser.h"
#include <tdeapplication.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <knotifyclient.h>
#include <kstaticdeleter.h>
#include <kstandarddirs.h>
@@ -90,7 +90,7 @@ using KWallet::Wallet;
#include <X11/Xlib.h>
#include <fixx11h.h>
#include <tdecmdlineargs.h>
-#include <kstartupinfo.h>
+#include <tdestartupinfo.h>
KMKernel *KMKernel::mySelf = 0;
static bool s_askingToGoOnline = false;
diff --git a/kmail/kmlineeditspell.cpp b/kmail/kmlineeditspell.cpp
index cc6de4653..7d26495a9 100644
--- a/kmail/kmlineeditspell.cpp
+++ b/kmail/kmlineeditspell.cpp
@@ -13,15 +13,15 @@
#include <libtdepim/kvcarddrag.h>
#include <libemailfunctions/email.h>
-#include <kabc/vcardconverter.h>
+#include <tdeabc/vcardconverter.h>
#include <tdeio/netaccess.h>
#include <tdepopupmenu.h>
#include <kurl.h>
#include <kurldrag.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdecompletionbox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqevent.h>
#include <tqfile.h>
diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp
index 6675149c7..97f7922f7 100644
--- a/kmail/kmmainwidget.cpp
+++ b/kmail/kmmainwidget.cpp
@@ -24,10 +24,10 @@
#include <tqstylesheet.h>
#include <kopenwith.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdepopupmenu.h>
#include <tdeaccelmanager.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <tdestdaccel.h>
#include <kkeydialog.h>
#include <kcharsets.h>
diff --git a/kmail/kmmainwin.cpp b/kmail/kmmainwin.cpp
index 1a3a6cb9e..67965db5b 100644
--- a/kmail/kmmainwin.cpp
+++ b/kmail/kmmainwin.cpp
@@ -15,10 +15,10 @@
#include "kmtransport.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kedittoolbar.h>
#include <tdeconfig.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kstringhandler.h>
#include <kdebug.h>
#include <ktip.h>
diff --git a/kmail/kmmessage.cpp b/kmail/kmmessage.cpp
index 201416b25..ba8fba5af 100644
--- a/kmail/kmmessage.cpp
+++ b/kmail/kmmessage.cpp
@@ -35,7 +35,7 @@ using KMail::HeaderStrategy;
#include <kaddrbook.h>
#include <tdeapplication.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <kdebug.h>
#include <tdeconfig.h>
#include <tdehtml_part.h>
@@ -60,13 +60,13 @@ using namespace KMime::Types;
#include <assert.h>
#include <sys/time.h>
#include <time.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <stdlib.h>
#include <unistd.h>
#include "util.h"
#if ALLOW_GUI
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#endif
using namespace KMime;
diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp
index 29d4b8f7a..05307c960 100644
--- a/kmail/kmmimeparttree.cpp
+++ b/kmail/kmmimeparttree.cpp
@@ -41,9 +41,9 @@
#include "kmcommands.h"
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdefiledialog.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kiconloader.h>
#include <tqclipboard.h>
diff --git a/kmail/kmmsgbase.cpp b/kmail/kmmsgbase.cpp
index eaac2ebfc..abf1ade72 100644
--- a/kmail/kmmsgbase.cpp
+++ b/kmail/kmmsgbase.cpp
@@ -13,7 +13,7 @@
using KMail::MessageProperty;
#include <kdebug.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kcharsets.h>
#include <kasciistringtools.h>
#include <kmdcodec.h>
diff --git a/kmail/kmpopfiltercnfrmdlg.cpp b/kmail/kmpopfiltercnfrmdlg.cpp
index e07c77081..3689e6639 100644
--- a/kmail/kmpopfiltercnfrmdlg.cpp
+++ b/kmail/kmpopfiltercnfrmdlg.cpp
@@ -19,7 +19,7 @@
#include <tqvgroupbox.h>
#include <tqtimer.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeio/global.h>
#include <assert.h>
diff --git a/kmail/kmreadermainwin.cpp b/kmail/kmreadermainwin.cpp
index fdf965ae5..3c342172e 100644
--- a/kmail/kmreadermainwin.cpp
+++ b/kmail/kmreadermainwin.cpp
@@ -29,14 +29,14 @@
#include <tqaccel.h>
#include <tdeapplication.h>
#include <kedittoolbar.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdestdaccel.h>
#include <twin.h>
#include <tdeaction.h>
#include <kiconloader.h>
#include <kdebug.h>
#include "kmcommands.h"
-#include "kmenubar.h"
+#include "tdemenubar.h"
#include "tdepopupmenu.h"
#include "kmreaderwin.h"
#include "kmfolder.h"
diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp
index 9d8db6c9f..fc93be5e4 100644
--- a/kmail/kmreaderwin.cpp
+++ b/kmail/kmreaderwin.cpp
@@ -77,8 +77,8 @@ using KMail::TeeHtmlWriter;
#include <kleo/cryptobackendfactory.h>
// KABC includes
-#include <kabc/addressee.h>
-#include <kabc/vcardconverter.h>
+#include <tdeabc/addressee.h>
+#include <tdeabc/vcardconverter.h>
// tdehtml headers
#include <tdehtml_part.h>
@@ -98,11 +98,11 @@ using KMail::TeeHtmlWriter;
#include <kcursor.h>
#include <kdebug.h>
#include <tdefiledialog.h>
-#include <klocale.h>
-#include <kmessagebox.h>
-#include <kglobalsettings.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
+#include <tdeglobalsettings.h>
#include <krun.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <kprocess.h>
#include <kdialog.h>
#include <tdeaction.h>
diff --git a/kmail/kmsearchpattern.cpp b/kmail/kmsearchpattern.cpp
index 1ab6381e4..90bc22a72 100644
--- a/kmail/kmsearchpattern.cpp
+++ b/kmail/kmsearchpattern.cpp
@@ -16,12 +16,12 @@ using KMail::FilterLog;
#include <libemailfunctions/email.h>
-#include <kglobal.h>
-#include <klocale.h>
+#include <tdeglobal.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <tdeconfig.h>
-#include <kabc/stdaddressbook.h>
+#include <tdeabc/stdaddressbook.h>
#include <tqregexp.h>
diff --git a/kmail/kmsearchpattern.h b/kmail/kmsearchpattern.h
index d532602ea..9b521c1f1 100644
--- a/kmail/kmsearchpattern.h
+++ b/kmail/kmsearchpattern.h
@@ -6,7 +6,7 @@
#ifndef _kmsearchpattern_h_
#define _kmsearchpattern_h_
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqptrlist.h>
#include <tqstring.h>
#include <tqcstring.h>
diff --git a/kmail/kmsearchpatternedit.cpp b/kmail/kmsearchpatternedit.cpp
index ceafc27e4..88f3609b3 100644
--- a/kmail/kmsearchpatternedit.cpp
+++ b/kmail/kmsearchpatternedit.cpp
@@ -10,7 +10,7 @@
#include "rulewidgethandlermanager.h"
using KMail::RuleWidgetHandlerManager;
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialog.h>
#include <kdebug.h>
diff --git a/kmail/kmsender.cpp b/kmail/kmsender.cpp
index 64c56cb15..9a8ae5be7 100644
--- a/kmail/kmsender.cpp
+++ b/kmail/kmsender.cpp
@@ -13,9 +13,9 @@ using namespace KMime::Types;
#include <tdeio/passdlg.h>
#include <tdeio/scheduler.h>
#include <tdeapplication.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdeversion.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <tdeconfig.h>
diff --git a/kmail/kmservertest.cpp b/kmail/kmservertest.cpp
index 6b4848f00..446c739e5 100644
--- a/kmail/kmservertest.cpp
+++ b/kmail/kmservertest.cpp
@@ -34,8 +34,8 @@
#include "kmservertest.h"
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <kurl.h>
#include <tdeapplication.h>
diff --git a/kmail/kmstartup.cpp b/kmail/kmstartup.cpp
index 9cf1b905a..c1eb6ccb4 100644
--- a/kmail/kmstartup.cpp
+++ b/kmail/kmstartup.cpp
@@ -23,13 +23,13 @@
#include "kmkernel.h" //control center
#include "kcursorsaver.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <ksimpleconfig.h>
#include <kstandarddirs.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <dcopclient.h>
#include <kcrash.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdeapplication.h>
#include <tdeaboutdata.h>
#include <kiconloader.h>
diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp
index f4e1d4328..7cb2fb432 100644
--- a/kmail/kmsystemtray.cpp
+++ b/kmail/kmsystemtray.cpp
@@ -30,7 +30,7 @@ using KMail::AccountManager;
#include <tdeapplication.h>
#include <tdemainwindow.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <kiconloader.h>
#include <kiconeffect.h>
#include <twin.h>
diff --git a/kmail/kmtransport.cpp b/kmail/kmtransport.cpp
index 2432031b8..e14bd7728 100644
--- a/kmail/kmtransport.cpp
+++ b/kmail/kmtransport.cpp
@@ -34,8 +34,8 @@
#include <tqwhatsthis.h>
#include <tdefiledialog.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kseparator.h>
#include <kdebug.h>
#include <tdewallet.h>
diff --git a/kmail/listjob.cpp b/kmail/listjob.cpp
index d8ee1e102..75e4dee5e 100644
--- a/kmail/listjob.cpp
+++ b/kmail/listjob.cpp
@@ -27,7 +27,7 @@
*/
#include "listjob.h"
-#include "kmessagebox.h"
+#include "tdemessagebox.h"
#include "kmfolderimap.h"
#include "kmfoldercachedimap.h"
#include "kmacctimap.h"
@@ -42,7 +42,7 @@ using KPIM::ProgressManager;
#include <tdeio/scheduler.h>
#include <tdeio/job.h>
#include <tdeio/global.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqstylesheet.h>
diff --git a/kmail/localsubscriptiondialog.cpp b/kmail/localsubscriptiondialog.cpp
index 3b6f55dc8..c2d4e5551 100644
--- a/kmail/localsubscriptiondialog.cpp
+++ b/kmail/localsubscriptiondialog.cpp
@@ -34,8 +34,8 @@
#endif
#include <kdebug.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include "localsubscriptiondialog.h"
#include "kmkernel.h"
diff --git a/kmail/mailinglistpropertiesdialog.cpp b/kmail/mailinglistpropertiesdialog.cpp
index 1bb2b1448..0bfb2cc15 100644
--- a/kmail/mailinglistpropertiesdialog.cpp
+++ b/kmail/mailinglistpropertiesdialog.cpp
@@ -32,11 +32,11 @@
#include <tqcheckbox.h>
#include <tqpushbutton.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <keditlistbox.h>
#include <kdialogbase.h>
#include <kdebug.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kmcommands.h>
#include "kmfolder.h"
diff --git a/kmail/main.cpp b/kmail/main.cpp
index 628ae97ad..bb3e0a8a2 100644
--- a/kmail/main.cpp
+++ b/kmail/main.cpp
@@ -20,7 +20,7 @@
#include <config.h>
#include <kuniqueapplication.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <knotifyclient.h>
#include <dcopclient.h>
#include "kmkernel.h" //control center
diff --git a/kmail/managesievescriptsdialog.cpp b/kmail/managesievescriptsdialog.cpp
index 269c5870c..560fac90e 100644
--- a/kmail/managesievescriptsdialog.cpp
+++ b/kmail/managesievescriptsdialog.cpp
@@ -7,13 +7,13 @@
#include "sievejob.h"
#include "kmkernel.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kiconloader.h>
#include <twin.h>
#include <tdeapplication.h>
#include <kinputdialog.h>
-#include <kglobalsettings.h>
-#include <kmessagebox.h>
+#include <tdeglobalsettings.h>
+#include <tdemessagebox.h>
#include <tqlayout.h>
#include <tqlistview.h>
diff --git a/kmail/messageactions.cpp b/kmail/messageactions.cpp
index 0b8c3cad6..0d8c4369c 100644
--- a/kmail/messageactions.cpp
+++ b/kmail/messageactions.cpp
@@ -26,7 +26,7 @@
#include <tdeaction.h>
#include <tdeactioncollection.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqwidget.h>
diff --git a/kmail/messagecomposer.cpp b/kmail/messagecomposer.cpp
index 574c0838f..2a82da9e4 100644
--- a/kmail/messagecomposer.cpp
+++ b/kmail/messagecomposer.cpp
@@ -69,8 +69,8 @@
#include <mimelib/mimepp.h>
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
#include <kinputdialog.h>
#include <kdebug.h>
#include <tdeaction.h>
diff --git a/kmail/networkaccount.cpp b/kmail/networkaccount.cpp
index 93693dd7d..5e4f5b5e9 100644
--- a/kmail/networkaccount.cpp
+++ b/kmail/networkaccount.cpp
@@ -34,8 +34,8 @@
#include <tdeconfig.h>
#include <tdeio/global.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tdewallet.h>
using TDEIO::MetaData;
diff --git a/kmail/newfolderdialog.cpp b/kmail/newfolderdialog.cpp
index 21d39cd6b..0643cbbc2 100644
--- a/kmail/newfolderdialog.cpp
+++ b/kmail/newfolderdialog.cpp
@@ -36,9 +36,9 @@
#include <tqwhatsthis.h>
#include <tqregexp.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include "folderutil.h"
#include "newfolderdialog.h"
diff --git a/kmail/objecttreeparser.cpp b/kmail/objecttreeparser.cpp
index 295b76010..2b736d2c7 100644
--- a/kmail/objecttreeparser.cpp
+++ b/kmail/objecttreeparser.cpp
@@ -86,14 +86,14 @@
// other KDE headers
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kmimetype.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdehtml_part.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <kstandarddirs.h>
#include <tdeapplication.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kiconloader.h>
#include <kmdcodec.h>
diff --git a/kmail/partNode.cpp b/kmail/partNode.cpp
index 576a1c179..9405544b0 100644
--- a/kmail/partNode.cpp
+++ b/kmail/partNode.cpp
@@ -34,7 +34,7 @@
#include "partNode.h"
#include "kmreaderwin.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include "kmmimeparttree.h"
#include <mimelib/utility.h>
diff --git a/kmail/popaccount.cpp b/kmail/popaccount.cpp
index ceea3a527..b455cc54d 100644
--- a/kmail/popaccount.cpp
+++ b/kmail/popaccount.cpp
@@ -39,8 +39,8 @@ using KPIM::BroadcastStatus;
#include <kdebug.h>
#include <kstandarddirs.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tdemainwindow.h>
#include <tdeio/scheduler.h>
#include <tdeio/passdlg.h>
diff --git a/kmail/quotajobs.h b/kmail/quotajobs.h
index 1749fe0ea..4eb7ea0e3 100644
--- a/kmail/quotajobs.h
+++ b/kmail/quotajobs.h
@@ -35,7 +35,7 @@
#include <tqvariant.h>
#include <tdeio/job.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqvaluevector.h>
#include <math.h>
diff --git a/kmail/recipientseditor.cpp b/kmail/recipientseditor.cpp
index c16fdf011..7497a460d 100644
--- a/kmail/recipientseditor.cpp
+++ b/kmail/recipientseditor.cpp
@@ -35,9 +35,9 @@
#include <tdecompletionbox.h>
#include <kdebug.h>
#include <kinputdialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kiconloader.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqlayout.h>
#include <tqlabel.h>
diff --git a/kmail/recipientseditortest.cpp b/kmail/recipientseditortest.cpp
index d5c5b3a19..50ea58a21 100644
--- a/kmail/recipientseditortest.cpp
+++ b/kmail/recipientseditortest.cpp
@@ -28,9 +28,9 @@
#include <tdeapplication.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdecmdlineargs.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include "aboutdata.h"
#include <tqpushbutton.h>
diff --git a/kmail/recipientspicker.cpp b/kmail/recipientspicker.cpp
index 2e851272e..0b43795e8 100644
--- a/kmail/recipientspicker.cpp
+++ b/kmail/recipientspicker.cpp
@@ -29,16 +29,16 @@
#include <libemailfunctions/email.h>
#ifndef TDEPIM_NEW_DISTRLISTS
-#include <kabc/distributionlist.h>
+#include <tdeabc/distributionlist.h>
#endif
#include <tdelistview.h>
-#include <klocale.h>
-#include <kabc/resource.h>
+#include <tdelocale.h>
+#include <tdeabc/resource.h>
#include <kiconloader.h>
#include <kdialog.h>
#include <twin.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqlayout.h>
#include <tqcombobox.h>
diff --git a/kmail/recipientspicker.h b/kmail/recipientspicker.h
index 96401e17a..38d36a980 100644
--- a/kmail/recipientspicker.h
+++ b/kmail/recipientspicker.h
@@ -27,8 +27,8 @@
#include <tdelistview.h>
#include <tdelistviewsearchline.h>
-#include <kabc/addressee.h>
-#include <kabc/stdaddressbook.h>
+#include <tdeabc/addressee.h>
+#include <tdeabc/stdaddressbook.h>
#include <tqwidget.h>
#include <tqdialog.h>
diff --git a/kmail/redirectdialog.cpp b/kmail/redirectdialog.cpp
index c6585a5a9..f29b79474 100644
--- a/kmail/redirectdialog.cpp
+++ b/kmail/redirectdialog.cpp
@@ -39,8 +39,8 @@ using KPIM::AddressesDialog;
using TDERecentAddress::RecentAddresses;
#include <kiconloader.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tqvbox.h>
#include <tqhbox.h>
diff --git a/kmail/regexplineedit.cpp b/kmail/regexplineedit.cpp
index 3502cb170..1b14fb4f3 100644
--- a/kmail/regexplineedit.cpp
+++ b/kmail/regexplineedit.cpp
@@ -36,7 +36,7 @@
#include "regexplineedit.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <klineedit.h>
#include <tdeparts/componentfactory.h>
#include <kregexpeditorinterface.h>
diff --git a/kmail/renamejob.cpp b/kmail/renamejob.cpp
index 7b1b80e34..15c2778fa 100644
--- a/kmail/renamejob.cpp
+++ b/kmail/renamejob.cpp
@@ -44,7 +44,7 @@
#include <tdeio/scheduler.h>
#include <tdeio/job.h>
#include <tdeio/global.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <config.h>
#include <tqmap.h>
diff --git a/kmail/rulewidgethandlermanager.cpp b/kmail/rulewidgethandlermanager.cpp
index fd5c811fa..fac482ee5 100644
--- a/kmail/rulewidgethandlermanager.cpp
+++ b/kmail/rulewidgethandlermanager.cpp
@@ -384,7 +384,7 @@ namespace {
#include "regexplineedit.h"
using KMail::RegExpLineEdit;
-#include <klocale.h>
+#include <tdelocale.h>
#include <knuminput.h>
#include <tqcombobox.h>
diff --git a/kmail/searchjob.cpp b/kmail/searchjob.cpp
index f7af79c2a..b0b1d9def 100644
--- a/kmail/searchjob.cpp
+++ b/kmail/searchjob.cpp
@@ -43,8 +43,8 @@ using KPIM::ProgressManager;
#include <tdeio/scheduler.h>
#include <tdeio/job.h>
#include <tdeio/global.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tqstylesheet.h>
diff --git a/kmail/sieveconfig.cpp b/kmail/sieveconfig.cpp
index 61ebc7a60..ff3e156d9 100644
--- a/kmail/sieveconfig.cpp
+++ b/kmail/sieveconfig.cpp
@@ -19,7 +19,7 @@
#include "sieveconfig.h"
#include <knuminput.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialog.h>
#include <tdeconfigbase.h>
diff --git a/kmail/sievedebugdialog.cpp b/kmail/sievedebugdialog.cpp
index bc5d2cca0..cd3ebdfc9 100644
--- a/kmail/sievedebugdialog.cpp
+++ b/kmail/sievedebugdialog.cpp
@@ -28,8 +28,8 @@
#include <tqdatetime.h>
#include <kdebug.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kmime_header_parsing.h>
#include <ksieve/error.h>
diff --git a/kmail/signatureconfigurator.cpp b/kmail/signatureconfigurator.cpp
index 3451fb483..81131956f 100644
--- a/kmail/signatureconfigurator.cpp
+++ b/kmail/signatureconfigurator.cpp
@@ -19,7 +19,7 @@
#include "signatureconfigurator.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialog.h>
#include <klineedit.h>
#include <kurlrequester.h>
diff --git a/kmail/simplestringlisteditor.cpp b/kmail/simplestringlisteditor.cpp
index cf58f98ce..b0602428f 100644
--- a/kmail/simplestringlisteditor.cpp
+++ b/kmail/simplestringlisteditor.cpp
@@ -37,7 +37,7 @@
#include <kinputdialog.h>
#include <kiconloader.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <kpushbutton.h>
diff --git a/kmail/snippetdlg.cpp b/kmail/snippetdlg.cpp
index f6af12728..60bf689e7 100644
--- a/kmail/snippetdlg.cpp
+++ b/kmail/snippetdlg.cpp
@@ -15,7 +15,7 @@
#include <kdialog.h>
#include <klineedit.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqlabel.h>
#include <tqlayout.h>
@@ -23,7 +23,7 @@
#include <ktextedit.h>
#include "kkeybutton.h"
#include "tdeactioncollection.h"
-#include "kmessagebox.h"
+#include "tdemessagebox.h"
/*
* Constructs a SnippetDlg as a child of 'parent', with the
diff --git a/kmail/snippetitem.h b/kmail/snippetitem.h
index 2111664eb..cbc3c4eba 100644
--- a/kmail/snippetitem.h
+++ b/kmail/snippetitem.h
@@ -15,7 +15,7 @@
#define SNIPPETITEM_H
#include <tdelistview.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqobject.h>
diff --git a/kmail/snippetwidget.cpp b/kmail/snippetwidget.cpp
index c5ccdd9e6..c08d21e22 100644
--- a/kmail/snippetwidget.cpp
+++ b/kmail/snippetwidget.cpp
@@ -13,14 +13,14 @@
#include <kurl.h>
#include <kdebug.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqlayout.h>
#include <kpushbutton.h>
#include <tdelistview.h>
#include <tqheader.h>
#include <klineedit.h>
#include <ktextedit.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdeconfig.h>
#include <tqtooltip.h>
#include <tdepopupmenu.h>
diff --git a/kmail/subscriptiondialog.cpp b/kmail/subscriptiondialog.cpp
index 992ce2c48..cf4572b23 100644
--- a/kmail/subscriptiondialog.cpp
+++ b/kmail/subscriptiondialog.cpp
@@ -38,9 +38,9 @@
#include "listjob.h"
#include "imapaccountbase.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
namespace KMail {
diff --git a/kmail/templateparser.cpp b/kmail/templateparser.cpp
index 2ff9f56a9..f94be9549 100644
--- a/kmail/templateparser.cpp
+++ b/kmail/templateparser.cpp
@@ -22,14 +22,14 @@
#include <tqstring.h>
#include <tqdatetime.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kcalendarsystem.h>
#include <kmime_util.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kprocess.h>
#include <tqregexp.h>
#include <tqfile.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kshell.h>
#include <tqfileinfo.h>
diff --git a/kmail/templatesconfiguration.cpp b/kmail/templatesconfiguration.cpp
index 93e831fab..9a90ca5ac 100644
--- a/kmail/templatesconfiguration.cpp
+++ b/kmail/templatesconfiguration.cpp
@@ -20,8 +20,8 @@
#include <config.h>
-#include <klocale.h>
-#include <kglobal.h>
+#include <tdelocale.h>
+#include <tdeglobal.h>
#include <tqpopupmenu.h>
#include <tqpushbutton.h>
#include <tqtextedit.h>
diff --git a/kmail/templatesinsertcommand.cpp b/kmail/templatesinsertcommand.cpp
index 2bfabd933..b89fd2a12 100644
--- a/kmail/templatesinsertcommand.cpp
+++ b/kmail/templatesinsertcommand.cpp
@@ -24,7 +24,7 @@
#include <tdeaction.h>
#include <tdeactionclasses.h>
#include <tdepopupmenu.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqsignalmapper.h>
#include <kdebug.h>
diff --git a/kmail/undostack.cpp b/kmail/undostack.cpp
index c7e80e8f2..24db928c2 100644
--- a/kmail/undostack.cpp
+++ b/kmail/undostack.cpp
@@ -29,8 +29,8 @@
#include "kmfolder.h"
#include "kmmsgdict.h"
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
#include <kdebug.h>
namespace KMail {
diff --git a/kmail/urlhandlermanager.cpp b/kmail/urlhandlermanager.cpp
index 1a72cb27a..78102b2bb 100644
--- a/kmail/urlhandlermanager.cpp
+++ b/kmail/urlhandlermanager.cpp
@@ -396,9 +396,9 @@ TQString KMail::URLHandlerManager::statusBarMessage( const KURL & url, KMReaderW
#include <ui/messagebox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kprocess.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdehtml_part.h>
#include <tqstring.h>
diff --git a/kmail/util.h b/kmail/util.h
index aa4aac288..3a4969217 100644
--- a/kmail/util.h
+++ b/kmail/util.h
@@ -44,8 +44,8 @@
#include <tqcstring.h>
#include <tdeio/netaccess.h>
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
class DwString;
class KURL;
diff --git a/kmail/vacation.cpp b/kmail/vacation.cpp
index a027c33bc..3066b559c 100644
--- a/kmail/vacation.cpp
+++ b/kmail/vacation.cpp
@@ -39,8 +39,8 @@ using KMime::Types::AddrSpecList;
#include <ksieve/scriptbuilder.h>
#include <ksieve/error.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kdebug.h>
#include <tqdatetime.h>
diff --git a/kmail/vacationdialog.cpp b/kmail/vacationdialog.cpp
index da5648c7d..192298954 100644
--- a/kmail/vacationdialog.cpp
+++ b/kmail/vacationdialog.cpp
@@ -25,7 +25,7 @@ using KMime::Types::MailboxList;
using KMime::HeaderParsing::parseAddressList;
#include <knuminput.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
#include <twin.h>
#include <tdeapplication.h>
diff --git a/kmail/vcardviewer.cpp b/kmail/vcardviewer.cpp
index 0e34f72cc..41d6705c9 100644
--- a/kmail/vcardviewer.cpp
+++ b/kmail/vcardviewer.cpp
@@ -28,12 +28,12 @@
#include <addresseeview.h>
using KPIM::AddresseeView;
-#include <kabc/vcardconverter.h>
-#include <kabc/addressee.h>
+#include <tdeabc/vcardconverter.h>
+#include <tdeabc/addressee.h>
using KABC::VCardConverter;
using KABC::Addressee;
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqstring.h>
diff --git a/kmail/vcardviewer.h b/kmail/vcardviewer.h
index 3ed8b2130..a5460f992 100644
--- a/kmail/vcardviewer.h
+++ b/kmail/vcardviewer.h
@@ -21,8 +21,8 @@
#define VCARDVIEWER_H
#include <kdialogbase.h>
-#include <kabc/addressee.h>
-#include <kabc/vcardparser.h> // for KABC_VCARD_ENCODING_FIX define
+#include <tdeabc/addressee.h>
+#include <tdeabc/vcardparser.h> // for KABC_VCARD_ENCODING_FIX define
#include <tqvaluelist.h>
diff --git a/kmail/xfaceconfigurator.cpp b/kmail/xfaceconfigurator.cpp
index e35b2e0ec..e27b192ec 100644
--- a/kmail/xfaceconfigurator.cpp
+++ b/kmail/xfaceconfigurator.cpp
@@ -39,17 +39,17 @@
#include <kactivelabel.h>
#include <kdialog.h>
#include <tdefiledialog.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <kimageio.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kurl.h>
#include <tdeio/netaccess.h>
using namespace TDEIO;
#include <kxface.h>
using namespace KPIM;
-#include <kabc/stdaddressbook.h>
-#include <kabc/addressee.h>
+#include <tdeabc/stdaddressbook.h>
+#include <tdeabc/addressee.h>
using namespace KABC;
#include <tqbitmap.h>