summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--buildtools/autotools/autoprojectpart.cpp4
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.cpp6
-rw-r--r--languages/cpp/ccconfigwidget.cpp2
-rw-r--r--languages/cpp/classgeneratorconfig.cpp4
-rw-r--r--languages/cpp/cppsupportfactory.cpp6
-rw-r--r--languages/cpp/cppsupportpart.cpp4
-rw-r--r--languages/cpp/createpcsdialog.cpp2
-rw-r--r--languages/cpp/debugger/stty.cpp2
-rw-r--r--languages/cpp/doc/kde2book.toc2
-rw-r--r--languages/cpp/main.cpp6
-rw-r--r--languages/java/javasupportfactory.cpp6
-rw-r--r--languages/java/javasupportpart.cpp2
-rw-r--r--languages/php/phpcodecompletion.cpp2
-rw-r--r--languages/php/phpconfigdata.cpp2
-rw-r--r--languages/php/phpconfigwidget.cpp2
-rw-r--r--parts/abbrev/abbrevpart.cpp8
-rw-r--r--parts/appwizard/appwizarddlg.cpp6
-rw-r--r--parts/appwizard/appwizardfactory.cpp8
-rw-r--r--parts/appwizard/importdlg.cpp2
-rw-r--r--parts/valgrind/valgrind_dialog.cpp6
-rw-r--r--src/plugincontroller.cpp2
-rw-r--r--vcs/subversion/subversion_core.cpp6
23 files changed, 46 insertions, 46 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b93946d..1ec8f48b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -317,7 +317,7 @@
* Added a ruby DCOP service project template
* Improved the kapp Korundum application framework. It configures, builds and installs
a C++ top level stub, that starts the ruby app. The ruby scripts are located via the
- KStandardDirs/TDEInstance mechanism, in directory ..share/apps/<appname>
+ TDEStandardDirs/TDEInstance mechanism, in directory ..share/apps/<appname>
* k_dcop and k_dcop_signals declarations are shown as slot and signal declarations in
the class parser.
* =begin to =end comments are ignored
diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp
index 801d5234..a84038a2 100644
--- a/buildtools/autotools/autoprojectpart.cpp
+++ b/buildtools/autotools/autoprojectpart.cpp
@@ -1074,8 +1074,8 @@ TQString AutoProjectPart::updateAdminDirectoryCommand() const
bool process;
// Find the admin tarball
- KStandardDirs dirs;
- dirs.addResourceType("apptemplates", KStandardDirs::kde_default("data") + "kdevappwizard/template-common/");
+ TDEStandardDirs dirs;
+ dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/template-common/");
source = dirs.findResource("apptemplates", "admin.tar.gz");
if (source != "") {
TQString cmdline = "rm -rf admin && tar -xzvf ";
diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp
index 5320898d..ec0d9dda 100644
--- a/languages/cpp/app_templates/kde4app/kapp4.cpp
+++ b/languages/cpp/app_templates/kde4app/kapp4.cpp
@@ -47,10 +47,10 @@
void %{APPNAME}::setupActions()
{
- KStandardAction::openNew(this, TQT_SLOT(fileNew()), actionCollection());
- KStandardAction::quit(tqApp, TQT_SLOT(quit()), actionCollection());
+ TDEStandardAction::openNew(this, TQT_SLOT(fileNew()), actionCollection());
+ TDEStandardAction::quit(tqApp, TQT_SLOT(quit()), actionCollection());
- KStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection());
+ TDEStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection());
// custom menu and menu item - the slot is in the class %{APPNAME}View
KAction *custom = new KAction(KIcon("colorize"), i18n("Swi&tch Colors"), this);
diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp
index e1d2940a..f2041e35 100644
--- a/languages/cpp/ccconfigwidget.cpp
+++ b/languages/cpp/ccconfigwidget.cpp
@@ -232,7 +232,7 @@ void CCConfigWidget::slotRemovePCS()
TQString db = advancedOptions->selectedItem() ->text( 0 );
TQString question = i18n( "Are you sure you want to delete the \"%1\" database?" ).arg( db );
- KStandardDirs *dirs = m_pPart->instance() ->dirs();
+ TDEStandardDirs *dirs = m_pPart->instance() ->dirs();
TQString dbName = dirs->saveLocation( "data", "kdevcppsupport/pcs" ) + KURL::encode_string_no_slash( db ) + ".db";
if ( KMessageBox::Continue == KMessageBox::warningContinueCancel( 0, question, i18n( "Delete Database" ), KStdGuiItem::del() ) )
diff --git a/languages/cpp/classgeneratorconfig.cpp b/languages/cpp/classgeneratorconfig.cpp
index f3dba7fb..f8b42f52 100644
--- a/languages/cpp/classgeneratorconfig.cpp
+++ b/languages/cpp/classgeneratorconfig.cpp
@@ -165,7 +165,7 @@ void ClassGeneratorConfig::readConfig()
reformat_box->setChecked( config->readBoolEntry( "Reformat Source", 0 ) );
- KStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
+ TDEStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
cppHeaderText = templateText( dirs->findResource( "newclasstemplates", "cpp_header" ) );
cppSourceText = templateText( dirs->findResource( "newclasstemplates", "cpp_source" ) );
@@ -211,7 +211,7 @@ void ClassGeneratorConfig::storeConfig()
config->writeEntry( "Reformat Source", reformat_box->isChecked() );
- KStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
+ TDEStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
saveTemplateText( dirs->saveLocation( "newclasstemplates" ) + "cpp_header", cppHeader() );
saveTemplateText( dirs->saveLocation( "newclasstemplates" ) + "cpp_source", cppSource() );
diff --git a/languages/cpp/cppsupportfactory.cpp b/languages/cpp/cppsupportfactory.cpp
index 5080a3a1..3b3091d5 100644
--- a/languages/cpp/cppsupportfactory.cpp
+++ b/languages/cpp/cppsupportfactory.cpp
@@ -26,9 +26,9 @@ CppSupportFactory::CppSupportFactory()
TDEInstance *CppSupportFactory::createInstance()
{
TDEInstance *instance = KDevGenericFactory<CppSupportPart>::createInstance();
- KStandardDirs *dirs = instance->dirs();
- dirs->addResourceType( "newclasstemplates", KStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" );
- dirs->addResourceType( "pcs", KStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" );
+ TDEStandardDirs *dirs = instance->dirs();
+ dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" );
+ dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" );
return instance;
}
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp
index 8f66283d..75d6b918 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -1935,7 +1935,7 @@ void CppSupportPart::setupCatalog( )
{
kdDebug( 9007 ) << "CppSupportPart::setupCatalog()" << endl;
- KStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
+ TDEStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
TQStringList pcsList = dirs->findAllResources( "pcs", "*.db", false, true );
TQStringList pcsIdxList = dirs->findAllResources( "pcs", "*.idx", false, true );
@@ -3039,7 +3039,7 @@ void CppSupportPart::buildSafeFileSet() {
void CppSupportPart::addToRepository( ParsedFilePointer file ) {
TQString catalogString( "automatic_" + KURL::encode_string_no_slash(m_projectDirectory) );
- KStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
+ TDEStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
TQString dbName = dirs->saveLocation( "data", "kdevcppsupport/pcs" ) + catalogString + ".db";
diff --git a/languages/cpp/createpcsdialog.cpp b/languages/cpp/createpcsdialog.cpp
index 5c747144..6100013a 100644
--- a/languages/cpp/createpcsdialog.cpp
+++ b/languages/cpp/createpcsdialog.cpp
@@ -299,7 +299,7 @@ void CreatePCSDialog::slotSelected( const TQString & )
progressBar->setTotalSteps( fileList.size() );
progressBar->setPercentageVisible( true );
- KStandardDirs *dirs = m_part->instance() ->dirs();
+ TDEStandardDirs *dirs = m_part->instance() ->dirs();
TQString dbName = dirs->saveLocation( "data", "kdevcppsupport/pcs" ) + KURL::encode_string_no_slash(filename_edit->text()) + ".db";
kdDebug( 9007 ) << "================================> dbName = " << dbName << endl;
diff --git a/languages/cpp/debugger/stty.cpp b/languages/cpp/debugger/stty.cpp
index 5c437938..5ae42d54 100644
--- a/languages/cpp/debugger/stty.cpp
+++ b/languages/cpp/debugger/stty.cpp
@@ -285,7 +285,7 @@ bool STTY::findExternalTTY(const TQString &termApp)
{
TQString appName(termApp.isEmpty() ? TQString("xterm") : termApp);
- if ( KStandardDirs::findExe( termApp ).isEmpty() )
+ if ( TDEStandardDirs::findExe( termApp ).isEmpty() )
{
return false;
}
diff --git a/languages/cpp/doc/kde2book.toc b/languages/cpp/doc/kde2book.toc
index e0d2c61a..6dd08e6c 100644
--- a/languages/cpp/doc/kde2book.toc
+++ b/languages/cpp/doc/kde2book.toc
@@ -1728,7 +1728,7 @@
<entry name="listings, KSpellDemo (spell-checking application), tdespelldemo.cpp class declaration" url="ch10lev1sec3.html"/>
<entry name="listings, KSpellDemo (spell-checking application), tdespelldemo.h class definition" url="ch10lev1sec3.html"/>
<entry name="listings, KSpellDemo (spell-checking application), main() method" url="ch10lev1sec3.html"/>
-<entry name="listings, KStandardDialogs main.cpp" url="ch05lev1sec3.html"/>
+<entry name="listings, TDEStandardDialogs main.cpp" url="ch05lev1sec3.html"/>
<entry name="listings, KStatusBarDemo widget, kstatusbardemo.cpp class definition" url="ch05.html"/>
<entry name="listings, KStatusBarDemo widget, kstatusbardemo.h class declaration" url="ch05.html"/>
<entry name="listings, KStatusBarDemo widget, main() function" url="ch05.html"/>
diff --git a/languages/cpp/main.cpp b/languages/cpp/main.cpp
index d2ad2d94..845cc382 100644
--- a/languages/cpp/main.cpp
+++ b/languages/cpp/main.cpp
@@ -194,7 +194,7 @@ void parseDirectory( Driver& driver, TQDir& dir, bool rec, bool parseAllFiles )
int main( int argc, char* argv[] )
{
- KStandardDirs stddir;
+ TDEStandardDirs stddir;
if ( argc < 3 )
{
@@ -205,8 +205,8 @@ int main( int argc, char* argv[] )
bool rec = false;
bool parseAllFiles = false;
- TQString datadir = stddir.localtdedir() + "/" + KStandardDirs::kde_default( "data" );
- if ( ! KStandardDirs::makeDir( datadir + "/kdevcppsupport/pcs/" ) )
+ TQString datadir = stddir.localtdedir() + "/" + TDEStandardDirs::kde_default( "data" );
+ if ( ! TDEStandardDirs::makeDir( datadir + "/kdevcppsupport/pcs/" ) )
{
kdWarning() << "*error* " << "could not create " << datadir + "/kdevcppsupport/pcs/" << endl << endl;
return -1;
diff --git a/languages/java/javasupportfactory.cpp b/languages/java/javasupportfactory.cpp
index 11823c22..7aac989e 100644
--- a/languages/java/javasupportfactory.cpp
+++ b/languages/java/javasupportfactory.cpp
@@ -25,9 +25,9 @@ JavaSupportFactory::JavaSupportFactory()
TDEInstance *JavaSupportFactory::createInstance()
{
TDEInstance *instance = KDevGenericFactory<JavaSupportPart>::createInstance();
- KStandardDirs *dirs = instance->dirs();
- dirs->addResourceType( "newclasstemplates", KStandardDirs::kde_default("data") + "kdevjavasupport/newclass/" );
- dirs->addResourceType( "pcs", KStandardDirs::kde_default( "data" ) + "kdevjavasupport/pcs/" );
+ TDEStandardDirs *dirs = instance->dirs();
+ dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevjavasupport/newclass/" );
+ dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevjavasupport/pcs/" );
return instance;
}
diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp
index d5aaeda0..23ae1cc7 100644
--- a/languages/java/javasupportpart.cpp
+++ b/languages/java/javasupportpart.cpp
@@ -704,7 +704,7 @@ void JavaSupportPart::setupCatalog( )
TQStringList indexList = TQStringList() << "kind" << "name" << "scope" << "fileName";
- KStandardDirs *dirs = JavaSupportFactory::instance()->dirs();
+ TDEStandardDirs *dirs = JavaSupportFactory::instance()->dirs();
TQStringList pcsList = dirs->findAllResources( "pcs", "*.db", false, true );
TQStringList pcsIdxList = dirs->findAllResources( "pcs", "*.idx", false, true );
diff --git a/languages/php/phpcodecompletion.cpp b/languages/php/phpcodecompletion.cpp
index 6f42f411..eec46473 100644
--- a/languages/php/phpcodecompletion.cpp
+++ b/languages/php/phpcodecompletion.cpp
@@ -51,7 +51,7 @@ PHPCodeCompletion::~PHPCodeCompletion(){
}
void PHPCodeCompletion::readGlobalPHPFunctionsFile(){
- KStandardDirs *dirs = PHPSupportFactory::instance()->dirs();
+ TDEStandardDirs *dirs = PHPSupportFactory::instance()->dirs();
TQString phpFuncFile = dirs->findResource("data","kdevphpsupport/phpfunctions");
TQRegExp lineReg(":([0-9A-Za-z_]+) ([0-9A-Za-z_]+)\\((.*)\\)");
FunctionCompletionEntry e;
diff --git a/languages/php/phpconfigdata.cpp b/languages/php/phpconfigdata.cpp
index b710f264..51ab5982 100644
--- a/languages/php/phpconfigdata.cpp
+++ b/languages/php/phpconfigdata.cpp
@@ -23,7 +23,7 @@
#include <iostream>
PHPConfigData::PHPConfigData(TQDomDocument* dom) {
- TQString file = KStandardDirs::findExe("php");
+ TQString file = TDEStandardDirs::findExe("php");
if (file.isEmpty())
file = "/usr/local/bin/php";
diff --git a/languages/php/phpconfigwidget.cpp b/languages/php/phpconfigwidget.cpp
index 27ef1baf..6cddabdf 100644
--- a/languages/php/phpconfigwidget.cpp
+++ b/languages/php/phpconfigwidget.cpp
@@ -42,7 +42,7 @@ PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,TQWidget* parent, const ch
// page shell
TQString exepath = configData->getPHPExecPath();
if (exepath.isEmpty()) {
- TQString fiexepath = KStandardDirs::findExe("php");
+ TQString fiexepath = TDEStandardDirs::findExe("php");
if (exepath.isEmpty())
exepath = "/usr/local/bin/php";
diff --git a/parts/abbrev/abbrevpart.cpp b/parts/abbrev/abbrevpart.cpp
index 86dfe96f..ccfe6be6 100644
--- a/parts/abbrev/abbrevpart.cpp
+++ b/parts/abbrev/abbrevpart.cpp
@@ -53,11 +53,11 @@ public:
virtual TDEInstance *createInstance()
{
TDEInstance *instance = KDevGenericFactory<AbbrevPart>::createInstance();
- KStandardDirs *dirs = instance->dirs();
+ TDEStandardDirs *dirs = instance->dirs();
dirs->addResourceType( "codetemplates",
- KStandardDirs::kde_default( "data" ) + "kdevabbrev/templates/" );
+ TDEStandardDirs::kde_default( "data" ) + "kdevabbrev/templates/" );
dirs->addResourceType( "sources",
- KStandardDirs::kde_default( "data" ) + "kdevabbrev/sources" );
+ TDEStandardDirs::kde_default( "data" ) + "kdevabbrev/sources" );
return instance;
}
@@ -152,7 +152,7 @@ void AbbrevPart::setAutoWordCompletionEnabled( bool enabled )
}
void AbbrevPart::load()
{
- KStandardDirs *dirs = AbbrevFactory::instance()->dirs();
+ TDEStandardDirs *dirs = AbbrevFactory::instance()->dirs();
TQString localTemplatesFile = locateLocal("codetemplates", "templates", AbbrevFactory::instance());
TQStringList files;
if (TQFileInfo(localTemplatesFile).exists())
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp
index 176bf9cc..9dcb06f0 100644
--- a/parts/appwizard/appwizarddlg.cpp
+++ b/parts/appwizard/appwizarddlg.cpp
@@ -124,7 +124,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
config->setGroup("General Options");
TQString defaultProjectsDir = config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()+"/");
- KStandardDirs *dirs = AppWizardFactory::instance()->dirs();
+ TDEStandardDirs *dirs = AppWizardFactory::instance()->dirs();
TQStringList m_templateNames = dirs->findAllResources("apptemplates", TQString(), false, true);
kdDebug(9010) << "Templates: " << endl;
@@ -1281,8 +1281,8 @@ TQDict<KDevLicense> AppWizardDialog::licenses()
void AppWizardDialog::loadLicenses()
{
// kdDebug(9010) << "======================== Entering loadLicenses" << endl;
- KStandardDirs* dirs = TDEGlobal::dirs();
- dirs->addResourceType( "licenses", KStandardDirs::kde_default( "data" ) + "tdevelop/licenses/" );
+ TDEStandardDirs* dirs = TDEGlobal::dirs();
+ dirs->addResourceType( "licenses", TDEStandardDirs::kde_default( "data" ) + "tdevelop/licenses/" );
TQStringList licNames = dirs->findAllResources( "licenses", TQString(), false, true );
TQStringList::Iterator it;
diff --git a/parts/appwizard/appwizardfactory.cpp b/parts/appwizard/appwizardfactory.cpp
index f60a23dc..d0f543c0 100644
--- a/parts/appwizard/appwizardfactory.cpp
+++ b/parts/appwizard/appwizardfactory.cpp
@@ -26,10 +26,10 @@ AppWizardFactory::AppWizardFactory()
TDEInstance *AppWizardFactory::createInstance()
{
TDEInstance *instance = KDevGenericFactory<AppWizardPart>::createInstance();
- KStandardDirs *dirs = instance->dirs();
- dirs->addResourceType("apptemplates", KStandardDirs::kde_default("data") + "kdevappwizard/templates/");
- dirs->addResourceType("appimports", KStandardDirs::kde_default("data") + "kdevappwizard/imports/");
- dirs->addResourceType("appimportfiles", KStandardDirs::kde_default("data") + "kdevappwizard/importfiles/");
+ TDEStandardDirs *dirs = instance->dirs();
+ dirs->addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/templates/");
+ dirs->addResourceType("appimports", TDEStandardDirs::kde_default("data") + "kdevappwizard/imports/");
+ dirs->addResourceType("appimportfiles", TDEStandardDirs::kde_default("data") + "kdevappwizard/importfiles/");
return instance;
}
diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp
index c66cb6fa..b7680c16 100644
--- a/parts/appwizard/importdlg.cpp
+++ b/parts/appwizard/importdlg.cpp
@@ -61,7 +61,7 @@ ImportDialog::ImportDialog(AppWizardPart *part, TQWidget *parent, const char *na
TQToolTip::add( urlinput_edit->button(), i18n("Choose directory to import") );
urlinput_edit->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly);
- KStandardDirs *dirs = AppWizardFactory::instance()->dirs();
+ TDEStandardDirs *dirs = AppWizardFactory::instance()->dirs();
importNames = dirs->findAllResources("appimports", TQString(), false, true);
importNames.sort();
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp
index 3e936c18..6e0690b7 100644
--- a/parts/valgrind/valgrind_dialog.cpp
+++ b/parts/valgrind/valgrind_dialog.cpp
@@ -74,7 +74,7 @@ void ValgrindDialog::setValExecutable( const TQString& ve )
{
TQString vUrl = ve;
if ( vUrl.isEmpty() ) {
- vUrl = KStandardDirs::findExe( "valgrind" );
+ vUrl = TDEStandardDirs::findExe( "valgrind" );
}
if ( vUrl.isEmpty() ) {
KMessageBox::sorry( this, i18n( "Could not find valgrind in your $PATH. Please make "
@@ -134,7 +134,7 @@ void ValgrindDialog::setCtExecutable( const TQString& ce )
{
TQString vUrl = ce;
if ( vUrl.isEmpty() ) {
- vUrl = KStandardDirs::findExe( "valgrind" );
+ vUrl = TDEStandardDirs::findExe( "valgrind" );
}
if ( vUrl.isEmpty() ) {
KMessageBox::sorry( this, i18n( "Could not find valgrind in your $PATH. Please make "
@@ -179,7 +179,7 @@ void ValgrindDialog::setKcExecutable( const TQString& ke )
{
TQString vUrl = ke;
if ( vUrl.isEmpty() ) {
- vUrl = KStandardDirs::findExe( "tdecachegrind" );
+ vUrl = TDEStandardDirs::findExe( "tdecachegrind" );
}
if ( vUrl.isEmpty() ) {
KMessageBox::sorry( this, i18n( "Could not find tdecachegrind in your $PATH. Please make "
diff --git a/src/plugincontroller.cpp b/src/plugincontroller.cpp
index 91abe5e7..22014efe 100644
--- a/src/plugincontroller.cpp
+++ b/src/plugincontroller.cpp
@@ -81,7 +81,7 @@ PluginController::PluginController()
{
/* m_defaultProfile = TQString::fromLatin1( "FullIDE" );
m_defaultProfilePath = kapp->dirs()->localtdedir() + "/" +
- KStandardDirs::kde_default( "data" ) +
+ TDEStandardDirs::kde_default( "data" ) +
TQString::fromLatin1("/tdevelop/profiles/FullIDE");*/
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
diff --git a/vcs/subversion/subversion_core.cpp b/vcs/subversion/subversion_core.cpp
index 6dc79169..1e7772ab 100644
--- a/vcs/subversion/subversion_core.cpp
+++ b/vcs/subversion/subversion_core.cpp
@@ -164,8 +164,8 @@ void subversionCore::diff( const KURL::List& list, const TQString& where){
TDEIO::NetAccess::synchronousRun( job, 0 );
if ( diffresult.count() > 0 ) {
//check kompare is available
- if ( !KStandardDirs::findExe( "kompare" ).isNull() ) {
- if (!KStandardDirs::findExe("patch").isNull()){
+ if ( !TDEStandardDirs::findExe( "kompare" ).isNull() ) {
+ if (!TDEStandardDirs::findExe("patch").isNull()){
// we have patch - so can merge
KTempDir tmpDir = KTempDir(diffTmpDir->name());
KTempFile tmpPatch = KTempFile(tmpDir.name());
@@ -686,7 +686,7 @@ void subversionCore::slotDiffResult( TDEIO::Job * job )
if ( diffList.count() > 0 ) {
//check kompare is available
- if ( !KStandardDirs::findExe( "kompare" ).isNull() ) {
+ if ( !TDEStandardDirs::findExe( "kompare" ).isNull() ) {
KTempFile *tmp = new KTempFile;
tmp->setAutoDelete(true);
TQTextStream *stream = tmp->textStream();