Commit e327020b authored by gramps's avatar gramps
Browse files

Changes to get khtml/css/cssparser.cpp to compile


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 839e7816
...@@ -37,7 +37,8 @@ public: ...@@ -37,7 +37,8 @@ public:
QChar(const QChar &); QChar(const QChar &);
QChar lower() const; QChar lower() const;
char latin1() const; char latin1() const;
bool isDigit(); bool isDigit() const;
bool isSpace() const;
friend inline int operator==(QChar, QChar); friend inline int operator==(QChar, QChar);
friend inline int operator!=(QChar, QChar); friend inline int operator!=(QChar, QChar);
}; };
...@@ -45,12 +46,17 @@ public: ...@@ -45,12 +46,17 @@ public:
class QString { class QString {
public: public:
QString(); QString();
QString(const QChar *, uint);
int toInt() const; int toInt() const;
int toInt(bool *) const; int toInt(bool *) const;
bool isNull() const; bool isNull() const;
const QChar *unicode() const; const QChar *unicode() const;
uint length() const; uint length() const;
QString &sprintf(const char *format, ...); QString &sprintf(const char *format, ...);
QString lower() const;
QString stripWhiteSpace() const;
bool isEmpty() const;
int contains(const char *) const;
static const QString null; static const QString null;
......
...@@ -37,7 +37,8 @@ public: ...@@ -37,7 +37,8 @@ public:
QChar(const QChar &); QChar(const QChar &);
QChar lower() const; QChar lower() const;
char latin1() const; char latin1() const;
bool isDigit(); bool isDigit() const;
bool isSpace() const;
friend inline int operator==(QChar, QChar); friend inline int operator==(QChar, QChar);
friend inline int operator!=(QChar, QChar); friend inline int operator!=(QChar, QChar);
}; };
...@@ -45,12 +46,17 @@ public: ...@@ -45,12 +46,17 @@ public:
class QString { class QString {
public: public:
QString(); QString();
QString(const QChar *, uint);
int toInt() const; int toInt() const;
int toInt(bool *) const; int toInt(bool *) const;
bool isNull() const; bool isNull() const;
const QChar *unicode() const; const QChar *unicode() const;
uint length() const; uint length() const;
QString &sprintf(const char *format, ...); QString &sprintf(const char *format, ...);
QString lower() const;
QString stripWhiteSpace() const;
bool isEmpty() const;
int contains(const char *) const;
static const QString null; static const QString null;
......
...@@ -37,7 +37,8 @@ public: ...@@ -37,7 +37,8 @@ public:
QChar(const QChar &); QChar(const QChar &);
QChar lower() const; QChar lower() const;
char latin1() const; char latin1() const;
bool isDigit(); bool isDigit() const;
bool isSpace() const;
friend inline int operator==(QChar, QChar); friend inline int operator==(QChar, QChar);
friend inline int operator!=(QChar, QChar); friend inline int operator!=(QChar, QChar);
}; };
...@@ -45,12 +46,17 @@ public: ...@@ -45,12 +46,17 @@ public:
class QString { class QString {
public: public:
QString(); QString();
QString(const QChar *, uint);
int toInt() const; int toInt() const;
int toInt(bool *) const; int toInt(bool *) const;
bool isNull() const; bool isNull() const;
const QChar *unicode() const; const QChar *unicode() const;
uint length() const; uint length() const;
QString &sprintf(const char *format, ...); QString &sprintf(const char *format, ...);
QString lower() const;
QString stripWhiteSpace() const;
bool isEmpty() const;
int contains(const char *) const;
static const QString null; static const QString null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment