diff options
Diffstat (limited to 'kig/kig/kig_part.cpp')
-rw-r--r-- | kig/kig/kig_part.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/kig/kig_part.cpp b/kig/kig/kig_part.cpp index 8ba6820c..128eaeed 100644 --- a/kig/kig/kig_part.cpp +++ b/kig/kig/kig_part.cpp @@ -701,7 +701,7 @@ void KigPart::setupMacroTypes() // the user's saved macro types: TQStringList dataFiles = - KGlobal::dirs()->findAllResources("appdata", "kig-types/*.kigt", + TDEGlobal::dirs()->findAllResources("appdata", "kig-types/*.kigt", true, false ); std::vector<Macro*> macros; for ( TQStringList::iterator file = dataFiles.begin(); @@ -728,7 +728,7 @@ void KigPart::setupBuiltinMacros() // builtin macro types ( we try to make the user think these are // normal types ).. TQStringList builtinfiles = - KGlobal::dirs()->findAllResources( "appdata", "builtin-macros/*.kigt", true, false ); + TDEGlobal::dirs()->findAllResources( "appdata", "builtin-macros/*.kigt", true, false ); for ( TQStringList::iterator file = builtinfiles.begin(); file != builtinfiles.end(); ++file ) { @@ -989,7 +989,7 @@ void KigPart::coordSystemChanged( int id ) void KigPart::saveTypes() { - TQString typesDir = KGlobal::dirs()->saveLocation( "appdata", "kig-types" ); + TQString typesDir = TDEGlobal::dirs()->saveLocation( "appdata", "kig-types" ); if ( typesDir[ typesDir.length() - 1 ] != '/' ) typesDir += '/'; TQString typesFileWithPath = typesDir + typesFile; @@ -1004,7 +1004,7 @@ void KigPart::saveTypes() void KigPart::loadTypes() { - TQString typesDir = KGlobal::dirs()->saveLocation( "appdata", "kig-types" ); + TQString typesDir = TDEGlobal::dirs()->saveLocation( "appdata", "kig-types" ); if ( typesDir[ typesDir.length() - 1 ] != '/' ) typesDir += '/'; TQString typesFileWithPath = typesDir + typesFile; |