diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 13:28:26 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 13:28:26 -0600 |
commit | d3afa6baf98ef5ac191996cc9b909ff9074c168c (patch) | |
tree | a1e1247371cd17715f83036a3664755206ab9ba2 /tdeparts | |
parent | 12f3d421cd2991c0e3f96994efb836ce244172ff (diff) | |
download | tdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.tar.gz tdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'tdeparts')
-rw-r--r-- | tdeparts/browserrun.cpp | 2 | ||||
-rw-r--r-- | tdeparts/genericfactory.h | 2 | ||||
-rw-r--r-- | tdeparts/part.cpp | 2 |
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() ); |