Diffstat (limited to 'noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp index e45daa4..844f27d 100644 --- a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp +++ b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp @@ -18,2 +18,3 @@ #include "katesyntaxdocument.h" +#include <kateconfig.h> #include <qfile.h> @@ -24,3 +25,2 @@ #include <qstringlist.h> -#include <kconfig.h> #include <kglobal.h> @@ -53,3 +53,3 @@ void SyntaxDocument::setupModeList(bool force) - KConfig *config=KGlobal::config(); + KateConfig *config=KGlobal::config(); KStandardDirs *dirs = KGlobal::dirs(); @@ -65,3 +65,2 @@ void SyntaxDocument::setupModeList(bool force) QString Group="Highlighting_Cache"+path+*it; - if ((config->hasGroup(Group)) && (!force)) @@ -98,4 +97,2 @@ void SyntaxDocument::setupModeList(bool force) mli->identifier = path+(*it); -#warning fixme -/* config->setGroup(Group); @@ -105,3 +102,2 @@ void SyntaxDocument::setupModeList(bool force) config->writeEntry("extension",mli->extension); -*/ myModeList.append(mli); @@ -109,6 +105,4 @@ void SyntaxDocument::setupModeList(bool force) } - } } -// } - + } // config->sync(); |