summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/stylesheetparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor/stylesheetparser.h')
-rw-r--r--quanta/components/csseditor/stylesheetparser.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/quanta/components/csseditor/stylesheetparser.h b/quanta/components/csseditor/stylesheetparser.h
index 06ad1f86..9fc0716d 100644
--- a/quanta/components/csseditor/stylesheetparser.h
+++ b/quanta/components/csseditor/stylesheetparser.h
@@ -26,28 +26,29 @@
*@author gulmini luciano
*/
-class stylesheetParser : public QObject{
+class stylesheetParser : public TQObject{
Q_OBJECT
+ TQ_OBJECT
private:
- enum parenthesisKind { opened, closed };
+ enum tqparenthesisKind { opened, closed };
TQString m_styleSheet;
bool m_stopProcessing;
unsigned int m_orderNumber;
- TQMap<TQString, QPair<TQString,unsigned int> > m_stylesheetStructure;
+ TQMap<TQString, TQPair<TQString,unsigned int> > m_stylesheetStructure;
void parseComment();
void parseSelector();
void parseAtRules1();
void parseAtRules2();
int whiteSpaces(int);
- unsigned int numberOfParenthesisInAParenthesisBlock(parenthesisKind p, const TQString& b);
+ unsigned int numberOfParenthesisInAParenthesisBlock(tqparenthesisKind p, const TQString& b);
public:
stylesheetParser(const TQString& s);
~stylesheetParser(){}
void parse();
- TQMap<TQString, QPair<TQString,unsigned int> > stylesheetStructure() { return m_stylesheetStructure; }
+ TQMap<TQString, TQPair<TQString,unsigned int> > stylesheetStructure() { return m_stylesheetStructure; }
unsigned int orderNumber() const {return m_orderNumber; }
signals: