summaryrefslogtreecommitdiffstats
path: root/kate/xmltools/pseudo_dtd.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/xmltools/pseudo_dtd.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};