From 3a9dd099fed19700ed32ad36f6a65b1eb7d6200e Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sun, 23 Nov 2025 19:18:34 +0900
Subject: Rename KDE_BINDIR to TDE_BINDIR

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 kmilo/thinkpad/kcmthinkpad/CMakeLists.txt |  2 +-
 kmilo/thinkpad/kcmthinkpad/Makefile.am    |  2 +-
 kmilo/thinkpad/kcmthinkpad/main.cpp       | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt b/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
index d550a6c..825de90 100644
--- a/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
+++ b/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
@@ -22,7 +22,7 @@ link_directories(
 )
 
 add_definitions(
-  -DKDE_BINDIR="${BIN_INSTALL_DIR}"
+  -DTDE_BINDIR="${BIN_INSTALL_DIR}"
 )
 
 ##### kcm_thinkpad (kpart) ######################
diff --git a/kmilo/thinkpad/kcmthinkpad/Makefile.am b/kmilo/thinkpad/kcmthinkpad/Makefile.am
index acbb234..bc4e25b 100644
--- a/kmilo/thinkpad/kcmthinkpad/Makefile.am
+++ b/kmilo/thinkpad/kcmthinkpad/Makefile.am
@@ -5,7 +5,7 @@ kcm_thinkpad_la_SOURCES = kcmthinkpad_general.ui main.cpp
 kcm_thinkpad_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
 kcm_thinkpad_la_LIBADD = $(LIB_TDEIO)
 
-INCLUDES= $(all_includes) -DKDE_BINDIR="\"$(bindir)\""
+INCLUDES= $(all_includes) -DTDE_BINDIR="\"$(bindir)\""
  
 kcm_thinkpad_la_METASOURCES = AUTO
 
diff --git a/kmilo/thinkpad/kcmthinkpad/main.cpp b/kmilo/thinkpad/kcmthinkpad/main.cpp
index fd893d6..be15401 100644
--- a/kmilo/thinkpad/kcmthinkpad/main.cpp
+++ b/kmilo/thinkpad/kcmthinkpad/main.cpp
@@ -173,11 +173,11 @@ void KCMThinkpadModule::load(bool useDefaults) {
 	m_KCMThinkpadGeneral->mCbRun->setChecked(config.readBoolEntry("run", false));
 	m_KCMThinkpadGeneral->mCbSoftwareVolume->setChecked(config.readBoolEntry("softwareVolume", true));
 	m_KCMThinkpadGeneral->mSpinboxVolumeStep->setValue(config.readNumEntry("volumeStep", 14));
-	m_KCMThinkpadGeneral->commandExec->setURL(config.readEntry("buttonThinkpad", KDE_BINDIR "/konsole"));
-	m_KCMThinkpadGeneral->commandExecHome->setURL(config.readEntry("buttonHome", KDE_BINDIR "/konqueror"));
-	m_KCMThinkpadGeneral->commandExecSearch->setURL(config.readEntry("buttonSearch", KDE_BINDIR "/kfind"));
-	m_KCMThinkpadGeneral->commandExecMail->setURL(config.readEntry("buttonMail", KDE_BINDIR "/kmail"));
-	m_KCMThinkpadGeneral->commandExecZoom->setURL(config.readEntry("buttonZoom", KDE_BINDIR "/ksnapshot"));
+	m_KCMThinkpadGeneral->commandExec->setURL(config.readEntry("buttonThinkpad", TDE_BINDIR "/konsole"));
+	m_KCMThinkpadGeneral->commandExecHome->setURL(config.readEntry("buttonHome", TDE_BINDIR "/konqueror"));
+	m_KCMThinkpadGeneral->commandExecSearch->setURL(config.readEntry("buttonSearch", TDE_BINDIR "/kfind"));
+	m_KCMThinkpadGeneral->commandExecMail->setURL(config.readEntry("buttonMail", TDE_BINDIR "/kmail"));
+	m_KCMThinkpadGeneral->commandExecZoom->setURL(config.readEntry("buttonZoom", TDE_BINDIR "/ksnapshot"));
 	m_nvramFile = config.readEntry("nvram", "/dev/nvram");
 
 	emit changed( useDefaults );
-- 
cgit v1.2.3

