summaryrefslogtreecommitdiffstats
path: root/src/kvirc/kernel/kvi_app_setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/kernel/kvi_app_setup.cpp')
-rw-r--r--src/kvirc/kernel/kvi_app_setup.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp
index de8b1a1..c7ac426 100644
--- a/src/kvirc/kernel/kvi_app_setup.cpp
+++ b/src/kvirc/kernel/kvi_app_setup.cpp
@@ -50,7 +50,7 @@
#include <stdlib.h> // for getenv()
#include <unistd.h> // for symlink() <-- unused ?
- #ifdef COMPILE_KDE_SUPPORT
+ #ifdef COMPILE_TDE_SUPPORT
#include <kconfig.h>
#include <kstddirs.h>
#endif
@@ -548,7 +548,7 @@ void KviApp::findGlobalKvircDirectory()
// Since I had many problems with it
// because of strange distributions or TDEDIRS
// I do it in that way...
- #ifdef COMPILE_KDE_SUPPORT
+ #ifdef COMPILE_TDE_SUPPORT
// KDE compilation ...
// The things usually go installed into $TDEDIR/share/apps/kvirc/$KVI_VERSION_BRANCH
// Look in the main KDE directory
@@ -595,7 +595,7 @@ void KviApp::findGlobalKvircDirectory()
if(checkGlobalKvircDirectory(m_szGlobalKvircDir))return;
}
- #ifdef COMPILE_KDE_SUPPORT
+ #ifdef COMPILE_TDE_SUPPORT
for(int k=0;usualKvircGlobalDir[k] != 0;k++){
m_szGlobalKvircDir = TQDir::homeDirPath();
m_szGlobalKvircDir+= "/.kde";
@@ -603,7 +603,7 @@ void KviApp::findGlobalKvircDirectory()
m_szGlobalKvircDir+= KVI_VERSION_BRANCH;
if(checkGlobalKvircDirectory(m_szGlobalKvircDir))return;
}
- #endif //COMPILE_KDE_SUPPORT
+ #endif //COMPILE_TDE_SUPPORT
m_szGlobalKvircDir="";
@@ -611,7 +611,7 @@ void KviApp::findGlobalKvircDirectory()
// THE TRANSLATION DIRECTORY WAS NOT FOUND YET
// AND THE LOCALE IS NOT INITIALIZED AT ALL
- #ifdef COMPILE_KDE_SUPPORT
+ #ifdef COMPILE_TDE_SUPPORT
KviMessageBox::warning("Unable to find the shared Kvirc directory.\n"\
"The usual path for this directory is $TDEDIR/share/apps/kvirc.\n"\
"Are you sure that 'make install' worked correctly ?\n"\
@@ -626,7 +626,7 @@ void KviApp::findGlobalKvircDirectory()
"Something went wrong during the bundle creation.\n"\
"Please read the documentation and make sure to set proper paths for --prefix, -bindir, -libdir and --datadir during the configure run.\n"\
"Trying to run anyway...\n");
- #else //!defined(COMPILE_KDE_SUPPORT) && !defined(Q_OS_MACX)
+ #else //!defined(COMPILE_TDE_SUPPORT) && !defined(Q_OS_MACX)
KviMessageBox::warning("Unable to find the shared Kvirc directory.\n"\
"The usual path for this directory is /usr/local/share/kvirc.\n"\
"Are you sure that 'make install' worked correctly ?\n"\
@@ -644,7 +644,7 @@ bool KviApp::findLocalKvircDirectory()
{
// Here we check if we already did the setup
// and we have the kvirc local directory saved somewhere
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
if(m_szConfigFile.isEmpty())
{ // don't do that if user supplied a config file :)
KConfig * cfg = config();
@@ -664,7 +664,7 @@ bool KviApp::findLocalKvircDirectory()
}
}
}
-#endif //COMPILE_KDE_SUPPORT
+#endif //COMPILE_TDE_SUPPORT
#ifdef COMPILE_ON_WINDOWS
if(KviFileUtils::fileExists(g_pApp->applicationDirPath()+KVI_PATH_SEPARATOR_CHAR+"portable")) {
@@ -819,7 +819,7 @@ void KviApp::saveKvircDirectory()
#else //!COMPILE_ON_WINDOWS
*/
// Here we save the local directory path
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
// In KDE we use the application config file
if(m_szConfigFile.isEmpty())
{ // not if user supplied a config file
@@ -836,7 +836,7 @@ void KviApp::saveKvircDirectory()
}
}
}
-#endif //COMPILE_KDE_SUPPORT
+#endif //COMPILE_TDE_SUPPORT
// In NON-KDE we use $HOME/.kvirc.rc or $HOME/kvirc.ini
TQString szF = TQDir::homeDirPath();