summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
Side-by-side diff
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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
index f90a5f8..6059e9b 100644
--- a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
+++ b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
@@ -38,5 +38,5 @@ void SyntaxDocument::setIdentifier(const QString& identifier)
{
#warning FIXME delete m_root;
- m_root=Opie::XMLElement::load(identifier);
+ m_root=Opie::Core::XMLElement::load(identifier);
if (!m_root) KMessageBox::error( 0L, i18n("Can't open %1").arg(identifier) );
@@ -79,5 +79,5 @@ void SyntaxDocument::setupModeList(bool force)
qDebug("Found a description file:"+path+(*it));
setIdentifier(path+(*it));
- Opie::XMLElement *e=m_root;
+ Opie::Core::XMLElement *e=m_root;
if (e)
{
@@ -196,5 +196,5 @@ syntaxContextData* SyntaxDocument::getSubItems(syntaxContextData* data)
syntaxContextData* SyntaxDocument::getConfig(const QString& mainGroupName, const QString &Config)
{
- Opie::XMLElement *e = m_root->firstChild()->firstChild();
+ Opie::Core::XMLElement *e = m_root->firstChild()->firstChild();
while (e)
@@ -204,5 +204,5 @@ syntaxContextData* SyntaxDocument::getConfig(const QString& mainGroupName, const
if (e->tagName().compare(mainGroupName)==0 )
{
- Opie::XMLElement *e1=e->firstChild();
+ Opie::Core::XMLElement *e1=e->firstChild();
while (e1)
@@ -238,5 +238,5 @@ syntaxContextData* SyntaxDocument::getGroupInfo(const QString& mainGroupName, co
{
- Opie::XMLElement *e=m_root->firstChild()->firstChild();
+ Opie::Core::XMLElement *e=m_root->firstChild()->firstChild();
while (e)
@@ -246,5 +246,5 @@ syntaxContextData* SyntaxDocument::getGroupInfo(const QString& mainGroupName, co
if (e->tagName().compare(mainGroupName)==0 )
{
- Opie::XMLElement *e1=e->firstChild();
+ Opie::Core::XMLElement *e1=e->firstChild();
while (e1)
@@ -277,5 +277,5 @@ syntaxContextData* SyntaxDocument::getGroupInfo(const QString& mainGroupName, co
QStringList& SyntaxDocument::finddata(const QString& mainGroup,const QString& type,bool clearList)
{
- Opie::XMLElement *e = m_root->firstChild();
+ Opie::Core::XMLElement *e = m_root->firstChild();
if (clearList)
m_data.clear();
@@ -285,5 +285,5 @@ QStringList& SyntaxDocument::finddata(const QString& mainGroup,const QString& ty
if (e->tagName()==mainGroup)
{
- for (Opie::XMLElement *e1=e->firstChild();e1;e1=e1->nextChild())
+ for (Opie::Core::XMLElement *e1=e->firstChild();e1;e1=e1->nextChild())
{
if (e1->tagName()!="list") continue;
@@ -291,5 +291,5 @@ QStringList& SyntaxDocument::finddata(const QString& mainGroup,const QString& ty
if (e1->attribute("name")==type)
{
- for (Opie::XMLElement *e2=e1->firstChild();e2;e2=e2->nextChild())
+ for (Opie::Core::XMLElement *e2=e1->firstChild();e2;e2=e2->nextChild())
{
qDebug("FOUND A LIST ENTRY("+e2->tagName()+"):"+e2->firstChild()->value());