diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:29:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:29:56 -0600 |
commit | 82fc754f7c4e43eace608a45c22e74e532bd33f1 (patch) | |
tree | 7e1217a13d974e19f4e03cd914de2a217e832f21 /parts/abbrev | |
parent | 8d6fecdf83984625b9bc6d010a6a00ee670af344 (diff) | |
download | tdevelop-82fc754f7c4e43eace608a45c22e74e532bd33f1.tar.gz tdevelop-82fc754f7c4e43eace608a45c22e74e532bd33f1.zip |
Rename KStandard for enhanced compatibility with KDE4
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()) |