summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-27 17:06:31 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-27 17:06:31 (GMT)
commit5ed55684b0226c2371f1d39cd7f984da44c9ccb1 (patch)
treef0751a83dd63c0dc8f76a3cd2044acf074e860a2 /src/doctokenizer.h
parent482b6bd47a106e132ff06bb410e87c8e0da643d2 (diff)
downloadDoxygen-5ed55684b0226c2371f1d39cd7f984da44c9ccb1.zip
Doxygen-5ed55684b0226c2371f1d39cd7f984da44c9ccb1.tar.gz
Doxygen-5ed55684b0226c2371f1d39cd7f984da44c9ccb1.tar.bz2
Release-1.2.18-20020927
Diffstat (limited to 'src/doctokenizer.h')
-rw-r--r--src/doctokenizer.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/doctokenizer.h b/src/doctokenizer.h
index 07b6324..b4cea48 100644
--- a/src/doctokenizer.h
+++ b/src/doctokenizer.h
@@ -19,8 +19,9 @@
#ifndef _DOCTOKENIZER_H
#define _DOCTOKENIZER_H
-#include <qcstring.h>
+#include <qstring.h>
#include <qlist.h>
+#include "htmlattrib.h"
enum Tokens
{
@@ -53,24 +54,16 @@ enum Tokens
RetVal_SwitchLang = 0x1000E
};
-struct Option
-{
- QCString name;
- QCString value;
-};
-
struct TokenInfo
{
- TokenInfo() { options.setAutoDelete(TRUE); }
-
// unknown token
char unknownChar;
// command token
- QCString name;
+ QString name;
// command text (RCS tag)
- QCString text;
+ QString text;
// comment blocks
@@ -79,23 +72,23 @@ struct TokenInfo
int indent;
// sections
- QCString sectionId;
+ QString sectionId;
// simple section
- QCString simpleSectName;
+ QString simpleSectName;
// verbatim fragment
- QCString verb;
+ QString verb;
// xrefitem
int id;
// html tag
- QList<Option> options;
+ HtmlAttribList attribs;
bool endTag;
// whitespace
- QCString chars;
+ QString chars;
};
// globals