summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/dtd/dtd.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/parsers/dtd/dtd.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parsers/dtd/dtd.h')
-rw-r--r--quanta/parsers/dtd/dtd.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/quanta/parsers/dtd/dtd.h b/quanta/parsers/dtd/dtd.h
index 45b0e213..cc0cf238 100644
--- a/quanta/parsers/dtd/dtd.h
+++ b/quanta/parsers/dtd/dtd.h
@@ -19,7 +19,7 @@
#define DTD_H
//qt includes
-#include <qdict.h>
+#include <tqdict.h>
//app includes
#include "qtag.h"
@@ -30,13 +30,13 @@ class DTD
{
public:
- DTD(const KURL &dtdURL, const QString& dtepDir);
+ DTD(const KURL &dtdURL, const TQString& dtepDir);
~DTD();
public:
- QStringList getTags();
- AttributeList* getTagAttributes(QString tag);
- QStringList getTextCompletion(QString tag);
+ TQStringList getTags();
+ AttributeList* getTagAttributes(TQString tag);
+ TQStringList getTextCompletion(TQString tag);
void printContents();
void writeTagFiles();
/** No descriptions */
@@ -44,21 +44,21 @@ public:
private:
bool parseDTD(const KURL& url);
- void parseDTDEntity(const QString &line);
- void parseDTDElement(const QString &line);
- void parseDTDAttlist(const QString &line);
- void parseTagAttributeValues(const QString &name, QString *value);
- void parseDTDReplace(QString *value);
- void stripSpaces(QString *value);
- void removeComments(QString &value);
+ void parseDTDEntity(const TQString &line);
+ void parseDTDElement(const TQString &line);
+ void parseDTDAttlist(const TQString &line);
+ void parseTagAttributeValues(const TQString &name, TQString *value);
+ void parseDTDReplace(TQString *value);
+ void stripSpaces(TQString *value);
+ void removeComments(TQString &value);
- QDict<QString> entities;
- QDict<QString> elements;
- QStringList tags;
- QDict<AttributeList> tagAttributes;
+ TQDict<TQString> entities;
+ TQDict<TQString> elements;
+ TQStringList tags;
+ TQDict<AttributeList> tagAttributes;
/** From where to load the DTD file. */
KURL m_dtdURL;
- QString m_dtepDir;
+ TQString m_dtepDir;
};
#endif