summaryrefslogtreecommitdiffstats
path: root/kate/xmltools/pseudo_dtd.h
diff options
context:
space:
mode:
Diffstat (limited to 'kate/xmltools/pseudo_dtd.h')
-rw-r--r--kate/xmltools/pseudo_dtd.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kate/xmltools/pseudo_dtd.h b/kate/xmltools/pseudo_dtd.h
index f5cf37e..5da444c 100644
--- a/kate/xmltools/pseudo_dtd.h
+++ b/kate/xmltools/pseudo_dtd.h
@@ -23,8 +23,8 @@
#ifndef _PLUGIN_KANT_XMLTOOLS_DTD_H
#define _PLUGIN_KANT_XMLTOOLS_DTD_H
-#include <qdom.h>
-#include <qprogressdialog.h>
+#include <tqdom.h>
+#include <tqprogressdialog.h>
/**
* This class contains the attributes for one element.
@@ -33,8 +33,8 @@
class ElementAttributes
{
public:
- QStringList optionalAttributes;
- QStringList requiredAttributes;
+ TQStringList optionalAttributes;
+ TQStringList requiredAttributes;
};
class PseudoDTD
@@ -44,31 +44,31 @@ class PseudoDTD
PseudoDTD();
~PseudoDTD();
- void analyzeDTD( QString &metaDtdUrl, QString &metaDtd );
+ void analyzeDTD( TQString &metaDtdUrl, TQString &metaDtd );
- QStringList allowedElements( QString parentElement );
- QStringList allowedAttributes( QString parentElement );
- QStringList attributeValues( QString element, QString attribute );
- QStringList entities( QString start );
- QStringList requiredAttributes( const QString &parentElement ) const;
+ TQStringList allowedElements( TQString parentElement );
+ TQStringList allowedAttributes( TQString parentElement );
+ TQStringList attributeValues( TQString element, TQString attribute );
+ TQStringList entities( TQString start );
+ TQStringList requiredAttributes( const TQString &parentElement ) const;
protected:
- bool parseElements( QDomDocument *doc, QProgressDialog *progress );
- bool parseAttributes( QDomDocument *doc, QProgressDialog *progress );
- bool parseAttributeValues( QDomDocument *doc, QProgressDialog *progress );
- bool parseEntities( QDomDocument *doc, QProgressDialog *progress );
+ bool parseElements( TQDomDocument *doc, TQProgressDialog *progress );
+ bool parseAttributes( TQDomDocument *doc, TQProgressDialog *progress );
+ bool parseAttributeValues( TQDomDocument *doc, TQProgressDialog *progress );
+ bool parseEntities( TQDomDocument *doc, TQProgressDialog *progress );
bool m_sgmlSupport;
// Entities, e.g. <"nbsp", "160">
- QMap<QString,QString> m_entityList;
+ TQMap<TQString,TQString> m_entityList;
// Elements, e.g. <"a", ( "b", "i", "em", "strong" )>
- QMap<QString,QStringList> m_elementsList;
+ TQMap<TQString,TQStringList> m_elementsList;
// Attributes e.g. <"a", ( "href", "lang", "title" )>
- QMap<QString,ElementAttributes> m_attributesList;
+ TQMap<TQString,ElementAttributes> m_attributesList;
// Attribute values e.g. <"td", <"align", ( "left", "right", "justify" )>>
- QMap< QString,QMap<QString,QStringList> > m_attributevaluesList;
+ TQMap< TQString,TQMap<TQString,TQStringList> > m_attributevaluesList;
};