From ded3663e4ae882a03bf2607f9f19cfb6db71ec6b Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Thu, 12 Mar 2026 15:05:47 +0900
Subject: Remove use of TDE_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 src/app/Dialogs/krdialogs.cpp                | 1 -
 src/app/GUI/mediabutton.cpp                  | 1 -
 src/app/Konfigurator/kgadvanced.cpp          | 1 -
 src/app/MountMan/kmountman.h                 | 1 -
 src/app/Panel/listpanel.cpp                  | 1 -
 src/app/Synchronizer/synchronizerdirlist.cpp | 1 -
 src/app/VFS/krpermhandler.cpp                | 5 -----
 src/app/VFS/vfile.cpp                        | 1 -
 src/app/krslots.cpp                          | 1 -
 src/virt/virt.cpp                            | 1 -
 10 files changed, 14 deletions(-)

diff --git a/src/app/Dialogs/krdialogs.cpp b/src/app/Dialogs/krdialogs.cpp
index feb4c85..b995313 100644
--- a/src/app/Dialogs/krdialogs.cpp
+++ b/src/app/Dialogs/krdialogs.cpp
@@ -44,7 +44,6 @@
 #include <tdestandarddirs.h>
 #include <klineedit.h>
 #include <kurlrequester.h>
-#include <tdeversion.h>
 #include <tqcheckbox.h>
 #include <tderecentdocument.h>
 #include <tqhbox.h>
diff --git a/src/app/GUI/mediabutton.cpp b/src/app/GUI/mediabutton.cpp
index 90c6cb2..73694e7 100644
--- a/src/app/GUI/mediabutton.cpp
+++ b/src/app/GUI/mediabutton.cpp
@@ -43,7 +43,6 @@
 #include <tdelocale.h>
 #include <kiconloader.h>
 
-#include <tdeversion.h>
 #include <tdeio/job.h>
 #include <tdemessagebox.h>
 #include <kmimetype.h>
diff --git a/src/app/Konfigurator/kgadvanced.cpp b/src/app/Konfigurator/kgadvanced.cpp
index 55755fa..15a856a 100644
--- a/src/app/Konfigurator/kgadvanced.cpp
+++ b/src/app/Konfigurator/kgadvanced.cpp
@@ -34,7 +34,6 @@
 #include <tqhbox.h>
 #include <tqwhatsthis.h>
 #include <sys/param.h>
-#include <tdeversion.h>
 #include <kprotocolinfo.h>
 
 KgAdvanced::KgAdvanced( bool first, TQWidget* parent,  const char* name ) :
diff --git a/src/app/MountMan/kmountman.h b/src/app/MountMan/kmountman.h
index 1503544..9f2ab6a 100644
--- a/src/app/MountMan/kmountman.h
+++ b/src/app/MountMan/kmountman.h
@@ -35,7 +35,6 @@ A
 #include <tqstring.h>
 
 // TDE includes
-#include <tdeversion.h>
 #include <tdeio/jobclasses.h>
 #include <tdeio/job.h>
 #include <tdeio/global.h>
diff --git a/src/app/Panel/listpanel.cpp b/src/app/Panel/listpanel.cpp
index 31635bc..e4116ae 100644
--- a/src/app/Panel/listpanel.cpp
+++ b/src/app/Panel/listpanel.cpp
@@ -56,7 +56,6 @@ YP   YD 88   YD ~Y8888P' `8888Y' YP   YP Y8888D' Y88888P 88   YD
 #include <tdestandarddirs.h>
 #include <tdeglobalsettings.h>
 #include <tqtooltip.h>
-#include <tdeversion.h>
 #include <tqimage.h>
 #include <tqtabbar.h>
 #include <kdebug.h>
diff --git a/src/app/Synchronizer/synchronizerdirlist.cpp b/src/app/Synchronizer/synchronizerdirlist.cpp
index 6dfa7d2..92ad4a1 100644
--- a/src/app/Synchronizer/synchronizerdirlist.cpp
+++ b/src/app/Synchronizer/synchronizerdirlist.cpp
@@ -38,7 +38,6 @@
 #include <klargefile.h>
 #include <tqapplication.h>
 #include <tqdir.h>
-#include <tdeversion.h>
 
 
 #if defined( HAVE_POSIX_ACL )
diff --git a/src/app/VFS/krpermhandler.cpp b/src/app/VFS/krpermhandler.cpp
index aa955aa..2014cfc 100644
--- a/src/app/VFS/krpermhandler.cpp
+++ b/src/app/VFS/krpermhandler.cpp
@@ -45,7 +45,6 @@
 #include <tqdatetime.h>
 #include <tqdir.h> 
 // krusader includes
-#include <tdeversion.h>
 #include "krpermhandler.h"
 #include "../resources.h"
 
@@ -280,11 +279,7 @@ bool KRpermHandler::fileExist( TQString path, TQString name ) {
 }
 
 TQString KRpermHandler::parseSize( TDEIO::filesize_t val ) {
-#if (TDE_VERSION_MAJOR >= 3) && (TDE_VERSION_MINOR >= 5)
 	return TDEGlobal::locale()->formatNumber(TQString::number(val), false, 0);
-#else
-	return  TDEGlobal::locale()->formatNumber(val);
-#endif
 
 #if 0
 	TQString temp;
diff --git a/src/app/VFS/vfile.cpp b/src/app/VFS/vfile.cpp
index 35dba93..22e064a 100644
--- a/src/app/VFS/vfile.cpp
+++ b/src/app/VFS/vfile.cpp
@@ -37,7 +37,6 @@
 #include <tqdatetime.h>
 // TDE includes
 #include <kmimetype.h>
-#include <tdeversion.h>
 // Krusader includes
 #include "vfile.h"
 #include "krpermhandler.h"
diff --git a/src/app/krslots.cpp b/src/app/krslots.cpp
index e3b4e52..db8a166 100644
--- a/src/app/krslots.cpp
+++ b/src/app/krslots.cpp
@@ -42,7 +42,6 @@
 #include <kdirnotify_stub.h>
 #include <tdeio/netaccess.h>
 #include <kedittoolbar.h>
-#include <tdeversion.h>
 #include <tdecmdlineargs.h>
 #include <KViewer/krviewer.h>
 
diff --git a/src/virt/virt.cpp b/src/virt/virt.cpp
index 61345f2..2f264be 100644
--- a/src/virt/virt.cpp
+++ b/src/virt/virt.cpp
@@ -24,7 +24,6 @@
 #include <kurl.h>
 #include <kdebug.h>
 #include <tdelocale.h>
-#include <tdeversion.h>
 #include <tdeinstance.h>
 #include <tdemessagebox.h>
 
-- 
cgit v1.2.3

