summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/tinykate/libkate/document/katesyntaxdocument.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tinykate/libkate/document/katesyntaxdocument.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h
index 5c5c5a4..5eefc77 100644
--- a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h
+++ b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.h
@@ -1,73 +1,73 @@
/***************************************************************************
katesyntaxdocument.h - description
-------------------
begin : Sat 31 March 2001
copyright : (C) 2001,2002 by Joseph Wenninger
email : jowenn@kde.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef SYNTAXDOCUMENT_H
#define SYNTAXDOCUMENT_H
-#include <opie/xmltree.h>
+#include <opie2/xmltree.h>
#include <qlist.h>
#include <qstringlist.h>
class syntaxModeListItem
{
public:
QString name;
QString section;
QString mimetype;
QString extension;
QString identifier;
};
class syntaxContextData
{
public:
Opie::XMLElement *parent;
Opie::XMLElement *currentGroup;
Opie::XMLElement *item;
};
typedef QList<syntaxModeListItem> SyntaxModeList;
-class SyntaxDocument
+class SyntaxDocument
{
public:
SyntaxDocument();
~SyntaxDocument();
QStringList& finddata(const QString& mainGroup,const QString& type,bool clearList=true);
SyntaxModeList modeList();
syntaxContextData* getGroupInfo(const QString& langName, const QString &group);
void freeGroupInfo(syntaxContextData* data);
- syntaxContextData* getConfig(const QString& mainGroupName, const QString &Config);
+ syntaxContextData* getConfig(const QString& mainGroupName, const QString &Config);
bool nextItem(syntaxContextData* data);
bool nextGroup(syntaxContextData* data);
syntaxContextData* getSubItems(syntaxContextData* data);
QString groupItemData(syntaxContextData* data,QString name);
QString groupData(syntaxContextData* data,QString name);
void setIdentifier(const QString& identifier);
private:
Opie::XMLElement *m_root;
void setupModeList(bool force=false);
QString currentFile;
SyntaxModeList myModeList;
QStringList m_data;
};
#endif