diff options
Diffstat (limited to 'kmrml')
-rw-r--r-- | kmrml/kmrml/kcontrol/indexcleaner.cpp | 8 | ||||
-rw-r--r-- | kmrml/kmrml/kcontrol/indexer.cpp | 8 | ||||
-rw-r--r-- | kmrml/kmrml/lib/kmrml_config.cpp | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/kmrml/kmrml/kcontrol/indexcleaner.cpp b/kmrml/kmrml/kcontrol/indexcleaner.cpp index c184c10c..8c75bf9e 100644 --- a/kmrml/kmrml/kcontrol/indexcleaner.cpp +++ b/kmrml/kmrml/kcontrol/indexcleaner.cpp @@ -6,9 +6,9 @@ #include <tdeversion.h> #if TDE_VERSION < 306 - #define TQUOTE( x ) x + #define QUOTE( x ) x #else - #define TQUOTE( x ) KProcess::quote( x ) + #define QUOTE( x ) KProcess::quote( x ) #endif using namespace KMrmlConfig; @@ -76,9 +76,9 @@ void IndexCleaner::startNext() int index = cmd.find( "%d" ); if ( index != -1 ) - cmd.replace( index, 2, TQUOTE( dir ) ); + cmd.replace( index, 2, QUOTE( dir ) ); else // no %d? What else can we do? - cmd.append( TQString::fromLatin1(" ") + TQUOTE( dir ) ); + cmd.append( TQString::fromLatin1(" ") + QUOTE( dir ) ); *m_process << cmd; diff --git a/kmrml/kmrml/kcontrol/indexer.cpp b/kmrml/kmrml/kcontrol/indexer.cpp index 307cff95..44535c44 100644 --- a/kmrml/kmrml/kcontrol/indexer.cpp +++ b/kmrml/kmrml/kcontrol/indexer.cpp @@ -28,9 +28,9 @@ #include <tdeversion.h> #if TDE_VERSION < 306 - #define TQUOTE( x ) x + #define QUOTE( x ) x #else - #define TQUOTE( x ) KProcess::quote( x ) + #define QUOTE( x ) KProcess::quote( x ) #endif using namespace KMrmlConfig; @@ -97,10 +97,10 @@ void Indexer::processNext() // %t with the thumbnail dir int index = cmd.find( "%d" ); // ### TQFile::encodeName()? if ( index != -1 ) - cmd.replace( index, 2, TQUOTE( m_currentDir ) ); + cmd.replace( index, 2, QUOTE( m_currentDir ) ); index = cmd.find( "%t" ); if ( index != -1 ) - cmd.replace( index, 2, TQUOTE(m_currentDir + "_thumbnails") ); + cmd.replace( index, 2, QUOTE(m_currentDir + "_thumbnails") ); // tqDebug("****** command: %s", cmd.latin1()); #if TDE_VERSION >= 306 diff --git a/kmrml/kmrml/lib/kmrml_config.cpp b/kmrml/kmrml/lib/kmrml_config.cpp index f8ac6502..1a0f1ac5 100644 --- a/kmrml/kmrml/lib/kmrml_config.cpp +++ b/kmrml/kmrml/lib/kmrml_config.cpp @@ -30,9 +30,9 @@ #include <tdeversion.h> #if TDE_VERSION < 307 - #define TQUOTE( x ) x + #define QUOTE( x ) x #else - #define TQUOTE( x ) KProcess::quote( x ) + #define QUOTE( x ) KProcess::quote( x ) #endif using namespace KMrml; @@ -183,7 +183,7 @@ TQString Config::addCollectionCommandLine() const DEFAULT_ADDCOLLECTION_CMD ); int index = cmd.find( "%h" ); if ( index != -1 ) - cmd.replace( index, 2, TQUOTE( mrmldDataDir() ) ); + cmd.replace( index, 2, QUOTE( mrmldDataDir() ) ); index = cmd.find( "%e" ); if ( index != -1 ) @@ -205,7 +205,7 @@ TQString Config::removeCollectionCommandLine() const DEFAULT_REMOVECOLLECTION_CMD ); int index = cmd.find( "%h" ); if ( index != -1 ) - cmd.replace( index, 2, TQUOTE( mrmldDataDir() ) ); + cmd.replace( index, 2, QUOTE( mrmldDataDir() ) ); index = cmd.find( "%e" ); if ( index != -1 ) @@ -241,7 +241,7 @@ TQString Config::mrmldCommandline() const index = cmd.find( "%d" ); if ( index != -1 ) { - cmd.replace( index, 2, TQUOTE( mrmldDataDir() ) ); + cmd.replace( index, 2, QUOTE( mrmldDataDir() ) ); } tqDebug("***** commandline: %s", cmd.latin1()); |