summaryrefslogtreecommitdiffstats
path: root/tdeparts
diff options
context:
space:
mode:
Diffstat (limited to 'tdeparts')
-rw-r--r--tdeparts/browserrun.cpp2
-rw-r--r--tdeparts/genericfactory.h2
-rw-r--r--tdeparts/part.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/browserrun.cpp b/tdeparts/browserrun.cpp
index 96de9f904..34f4c21c9 100644
--- a/tdeparts/browserrun.cpp
+++ b/tdeparts/browserrun.cpp
@@ -384,7 +384,7 @@ void BrowserRun::simpleSave( const KURL & url, const TQString & suggestedFilenam
{
// then find the download manager location
kdDebug(1000) << "Using: "<<downloadManger <<" as Download Manager" <<endl;
- TQString cmd=KStandardDirs::findExe(downloadManger);
+ TQString cmd=TDEStandardDirs::findExe(downloadManger);
if (cmd.isEmpty())
{
TQString errMsg=i18n("The Download Manager (%1) could not be found in your $PATH ").arg(downloadManger);
diff --git a/tdeparts/genericfactory.h b/tdeparts/genericfactory.h
index 40e61be9f..75a5292ed 100644
--- a/tdeparts/genericfactory.h
+++ b/tdeparts/genericfactory.h
@@ -78,7 +78,7 @@ namespace KParts
*
* For advanced use you can also inherit from the template and re-implement additionally the
* virtual TDEInstance *createInstance() method, for example in case you want to extend the
- * paths of your instance's KStandardDirs object.
+ * paths of your instance's TDEStandardDirs object.
*
* If a KParts::ReadOnlyPart is requested through this factory and the template argument
* implements a KParts::ReadWritePart then setReadWrite( false ) will automatically be
diff --git a/tdeparts/part.cpp b/tdeparts/part.cpp
index e0fd4e138..034dc00b4 100644
--- a/tdeparts/part.cpp
+++ b/tdeparts/part.cpp
@@ -113,7 +113,7 @@ void PartBase::setInstance( TDEInstance *inst, bool bLoadPlugins )
TDEGlobal::locale()->insertCatalogue( inst->instanceName() );
// install 'instancename'data resource type
TDEGlobal::dirs()->addResourceType( inst->instanceName() + "data",
- KStandardDirs::kde_default( "data" )
+ TDEStandardDirs::kde_default( "data" )
+ TQString::fromLatin1( inst->instanceName() ) + '/' );
if ( bLoadPlugins )
loadPlugins( m_obj, this, instance() );