diff options
Diffstat (limited to 'parts/abbrev')
-rw-r--r-- | parts/abbrev/abbrevpart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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()) |