summaryrefslogtreecommitdiffstats
path: root/kmrml
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-15 18:56:27 -0600
committerTimothy Pearson <[email protected]>2011-11-15 18:56:27 -0600
commit3af987b7825866d742487cb6aa5b82bf0adf7543 (patch)
tree5eee0d762e0276285636258341468c3e52e37a62 /kmrml
parent1d7bcf8647f0cefe1a61bd5deaa7cc106319c0c7 (diff)
downloadtdegraphics-3af987b7825866d742487cb6aa5b82bf0adf7543.tar.gz
tdegraphics-3af987b7825866d742487cb6aa5b82bf0adf7543.zip
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'kmrml')
-rw-r--r--kmrml/kmrml/kcontrol/indexcleaner.cpp4
-rw-r--r--kmrml/kmrml/kcontrol/indexer.cpp6
-rw-r--r--kmrml/kmrml/kcontrol/mainpage.cpp2
-rw-r--r--kmrml/kmrml/lib/kmrml_config.cpp2
-rw-r--r--kmrml/kmrml/server/watcher.cpp2
5 files changed, 8 insertions, 8 deletions
diff --git a/kmrml/kmrml/kcontrol/indexcleaner.cpp b/kmrml/kmrml/kcontrol/indexcleaner.cpp
index 3c09b7a3..77c856f3 100644
--- a/kmrml/kmrml/kcontrol/indexcleaner.cpp
+++ b/kmrml/kmrml/kcontrol/indexcleaner.cpp
@@ -5,7 +5,7 @@
#include "indexcleaner.h"
#include <kdeversion.h>
-#if KDE_VERSION < 306
+#if TDE_VERSION < 306
#define TQUOTE( x ) x
#else
#define TQUOTE( x ) KProcess::quote( x )
@@ -60,7 +60,7 @@ void IndexCleaner::startNext()
return;
}
-#if KDE_VERSION < 306
+#if TDE_VERSION < 306
m_process = new KShellProcess();
#else
m_process = new KProcess();
diff --git a/kmrml/kmrml/kcontrol/indexer.cpp b/kmrml/kmrml/kcontrol/indexer.cpp
index 78e83f76..ab80df04 100644
--- a/kmrml/kmrml/kcontrol/indexer.cpp
+++ b/kmrml/kmrml/kcontrol/indexer.cpp
@@ -27,7 +27,7 @@
#include "indexer.h"
#include <kdeversion.h>
-#if KDE_VERSION < 306
+#if TDE_VERSION < 306
#define TQUOTE( x ) x
#else
#define TQUOTE( x ) KProcess::quote( x )
@@ -42,7 +42,7 @@ Indexer::Indexer( const KMrml::Config* config,
m_dirCount( 0 )
{
m_process = new KProcIO();
-#if KDE_VERSION >= 306
+#if TDE_VERSION >= 306
m_process->setUseShell( true );
#endif
m_process->setEnvironment( "LC_ALL", "C" );
@@ -103,7 +103,7 @@ void Indexer::processNext()
cmd.replace( index, 2, TQUOTE(m_currentDir + "_thumbnails") );
// qDebug("****** command: %s", cmd.latin1());
-#if KDE_VERSION >= 306
+#if TDE_VERSION >= 306
*m_process << cmd;
#else
TQStringList params = TQStringList::split( ' ', cmd );
diff --git a/kmrml/kmrml/kcontrol/mainpage.cpp b/kmrml/kmrml/kcontrol/mainpage.cpp
index c44f1b0e..a03266a5 100644
--- a/kmrml/kmrml/kcontrol/mainpage.cpp
+++ b/kmrml/kmrml/kcontrol/mainpage.cpp
@@ -70,7 +70,7 @@ MainPage::MainPage( TQWidget *parent, const char *name )
m_serverWidget->m_portInput->setRange( 0, MAX_PORT_VALUE );
-#if KDE_VERSION >= 306
+#if TDE_VERSION >= 306
KURLRequester *requester = new KURLRequester( this, "dir requester" );
requester->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
requester->setURL( KGlobalSettings::documentPath() );
diff --git a/kmrml/kmrml/lib/kmrml_config.cpp b/kmrml/kmrml/lib/kmrml_config.cpp
index 2167448b..97172f84 100644
--- a/kmrml/kmrml/lib/kmrml_config.cpp
+++ b/kmrml/kmrml/lib/kmrml_config.cpp
@@ -29,7 +29,7 @@
#include "kmrml_config.h"
#include <kdeversion.h>
-#if KDE_VERSION < 307
+#if TDE_VERSION < 307
#define TQUOTE( x ) x
#else
#define TQUOTE( x ) KProcess::quote( x )
diff --git a/kmrml/kmrml/server/watcher.cpp b/kmrml/kmrml/server/watcher.cpp
index 60b37c48..e9f895ad 100644
--- a/kmrml/kmrml/server/watcher.cpp
+++ b/kmrml/kmrml/server/watcher.cpp
@@ -74,7 +74,7 @@ bool Watcher::requireDaemon( const TQCString& clientAppId,
m_daemons.insert( daemonKey, daemon );
daemon->apps.append( clientAppId );
-#if KDE_VERSION >= 306
+#if TDE_VERSION >= 306
daemon->process = new KProcess();
daemon->process->setUseShell( true );
#else