summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/stylesheetparser.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/components/csseditor/stylesheetparser.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/components/csseditor/stylesheetparser.h')
-rw-r--r--quanta/components/csseditor/stylesheetparser.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/components/csseditor/stylesheetparser.h b/quanta/components/csseditor/stylesheetparser.h
index 26d5fa3e..06ad1f86 100644
--- a/quanta/components/csseditor/stylesheetparser.h
+++ b/quanta/components/csseditor/stylesheetparser.h
@@ -18,9 +18,9 @@
#ifndef STYLESHEETPARSER_H
#define STYLESHEETPARSER_H
-#include <qmap.h>
-#include <qpair.h>
-#include <qobject.h>
+#include <tqmap.h>
+#include <tqpair.h>
+#include <tqobject.h>
/**
*@author gulmini luciano
@@ -31,27 +31,27 @@ class stylesheetParser : public QObject{
private:
enum parenthesisKind { opened, closed };
- QString m_styleSheet;
+ TQString m_styleSheet;
bool m_stopProcessing;
unsigned int m_orderNumber;
- QMap<QString, QPair<QString,unsigned int> > m_stylesheetStructure;
+ TQMap<TQString, QPair<TQString,unsigned int> > m_stylesheetStructure;
void parseComment();
void parseSelector();
void parseAtRules1();
void parseAtRules2();
int whiteSpaces(int);
- unsigned int numberOfParenthesisInAParenthesisBlock(parenthesisKind p, const QString& b);
+ unsigned int numberOfParenthesisInAParenthesisBlock(parenthesisKind p, const TQString& b);
public:
- stylesheetParser(const QString& s);
+ stylesheetParser(const TQString& s);
~stylesheetParser(){}
void parse();
- QMap<QString, QPair<QString,unsigned int> > stylesheetStructure() { return m_stylesheetStructure; }
+ TQMap<TQString, QPair<TQString,unsigned int> > stylesheetStructure() { return m_stylesheetStructure; }
unsigned int orderNumber() const {return m_orderNumber; }
signals:
- void errorOccurred(const QString&);
+ void errorOccurred(const TQString&);
};
#endif