Commit c4e347b6 authored by kocienda's avatar kocienda

Replaced tabs with spaces

Added khtml/xml to top-level Makefile


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 25d4a8e9
......@@ -19,6 +19,7 @@ include $(TOPSRCDIR)/Makefile.vars
SUBDIRS = \
src/kdelibs/kjs \
src/kdelibs/khtml/dom \
src/kdelibs/khtml/xml \
$(NULL)
#----------------------------------------------------------------------
......
......@@ -31,7 +31,7 @@
class QApplication {
public:
static QPalette palette(const QWidget* = 0);
static QPalette palette(const QWidget* = 0);
};
#endif
......@@ -28,9 +28,9 @@
class QCollection {
public:
typedef void *Item;
typedef void *Item;
protected:
virtual Item newItem(Item);
virtual Item newItem(Item);
};
#endif
......@@ -28,28 +28,28 @@
class QTime {
public:
QTime();
QTime(int h, int m);
QTime(const QTime &other);
QTime();
QTime(int h, int m);
QTime(const QTime &other);
void start();
int msec() const;
void start();
int msec() const;
};
class QDate {
public:
QDate(int y, int m, int d);
QDate(int y, int m, int d);
};
class QDateTime {
public:
QDateTime();
QDateTime(QDate date, QTime time);
QDateTime();
QDateTime(QDate date, QTime time);
static QDateTime currentDateTime();
static QDateTime currentDateTime();
int secsTo(const QDateTime &) const;
QTime time() const;
int secsTo(const QDateTime &) const;
QTime time() const;
};
#endif
......@@ -31,23 +31,23 @@
class QEvent : public Qt {
public:
enum Type {
MouseButtonPress,
MouseButtonRelease,
MouseButtonDblClick,
MouseMove,
};
Type type() const;
enum Type {
MouseButtonPress,
MouseButtonRelease,
MouseButtonDblClick,
MouseMove,
};
Type type() const;
};
class QMouseEvent : public QEvent {
public:
int x();
int y();
int globalX();
int globalY();
ButtonState button();
ButtonState state();
int x();
int y();
int globalX();
int globalY();
ButtonState button();
ButtonState state();
};
class QFocusEvent : public QEvent {};
......
......@@ -30,10 +30,10 @@ class QString;
class QFont {
public:
void setFamily( const QString &);
bool operator==(const QFont &x) const;
bool operator!=(const QFont &x) const;
enum CharSet {};
void setFamily( const QString &);
bool operator==(const QFont &x) const;
bool operator!=(const QFont &x) const;
enum CharSet {};
};
#endif
......@@ -28,14 +28,14 @@
class Qt {
public:
enum ButtonState {
LeftButton,
MidButton,
RightButton,
ControlButton,
AltButton,
ShiftButton,
};
enum ButtonState {
LeftButton,
MidButton,
RightButton,
ControlButton,
AltButton,
ShiftButton,
};
};
#endif
......@@ -29,7 +29,7 @@
#include "qrect.h"
class QPaintDevice {
friend class QPaintDeviceMetrics;
friend class QPaintDeviceMetrics;
};
#endif
......@@ -30,8 +30,8 @@ class QPaintDevice;
class QPaintDeviceMetrics {
public:
QPaintDeviceMetrics(const QPaintDevice *);
int logicalDpiY() const;
QPaintDeviceMetrics(const QPaintDevice *);
int logicalDpiY() const;
};
#endif
......@@ -28,14 +28,14 @@
class QColorGroup {
public:
enum ColorRole {};
void setColor(ColorRole role, const QColor &color);
enum ColorRole {};
void setColor(ColorRole role, const QColor &color);
};
class QPalette {
public:
enum ColorGroup {};
void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
enum ColorGroup {};
void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
};
#endif
......@@ -28,9 +28,9 @@
template<class T> class QStack {
public:
bool isEmpty() const;
void push(const T *d);
T *pop();
bool isEmpty() const;
void push(const T *d);
T *pop();
};
#endif
......@@ -28,8 +28,8 @@
class QRect {
public:
QRect();
QRect(int l, int t, int w, int h);
QRect();
QRect(int l, int t, int w, int h);
};
#endif
......@@ -28,8 +28,8 @@
class QRegExp {
public:
QRegExp(const QString &);
QRegExp(const QRegExp &);
QRegExp(const QString &);
QRegExp(const QRegExp &);
};
#endif
......@@ -29,7 +29,7 @@
#include "qwidget.h"
class QScrollView : public QWidget {
typedef int ScrollBarMode;
typedef int ScrollBarMode;
};
#endif
......@@ -52,7 +52,7 @@ public:
friend inline int operator!=(QChar, char);
operator char() const;
static const QChar null;
static const QChar null;
enum Direction {
// NOTE: alphabetical order
......@@ -70,7 +70,7 @@ public:
int toInt(bool *) const;
bool isNull() const;
const QChar *unicode() const;
bool contains(const char *s, bool b) const;
bool contains(const char *s, bool b) const;
uint length() const;
QString &sprintf(const char *format, ...);
QString lower() const;
......
......@@ -30,7 +30,7 @@
#include "qvaluelist.h"
class QStringList : public QValueList<QString> {
};
#endif
......@@ -35,16 +35,16 @@ public:
template <class T> class QValueList {
public:
typedef QValueListIterator<T> Iterator;
bool isEmpty() const;
void append(const T& x);
void remove(const T& x);
Iterator remove(Iterator it);
const T& first() const;
const T& last() const;
Iterator begin();
Iterator end();
T& operator[] (uint i);
typedef QValueListIterator<T> Iterator;
bool isEmpty() const;
void append(const T& x);
void remove(const T& x);
Iterator remove(Iterator it);
const T& first() const;
const T& last() const;
Iterator begin();
Iterator end();
T& operator[] (uint i);
};
#endif
......@@ -30,7 +30,7 @@
class QWidget : public QPaintDevice {
public:
int winId() const;
int winId() const;
};
#endif
......@@ -30,14 +30,14 @@ class QString;
class QXmlAttributes {
public:
QString value(const QString& qName) const;
int length() const;
QString localName(int index) const;
QString value(const QString& qName) const;
int length() const;
QString localName(int index) const;
};
class QXmlInputSource {
public:
virtual void setData(const QString& data);
virtual void setData(const QString& data);
};
class QXmlDTDHandler {
......@@ -60,8 +60,8 @@ class QXmlDefaultHandler : public QXmlContentHandler, public QXmlLexicalHandler,
class QXmlSimpleReader {
public:
void setContentHandler(QXmlContentHandler* handler);
bool parse(const QXmlInputSource& input);
void setContentHandler(QXmlContentHandler* handler);
bool parse(const QXmlInputSource& input);
void setLexicalHandler(QXmlLexicalHandler* handler);
void setDTDHandler(QXmlDTDHandler* handler);
void setDeclHandler(QXmlDeclHandler* handler);
......@@ -70,9 +70,9 @@ public:
class QXmlParseException {
public:
QString message() const;
int columnNumber() const;
int lineNumber() const;
QString message() const;
int columnNumber() const;
int lineNumber() const;
};
#endif
......@@ -31,7 +31,7 @@
class QApplication {
public:
static QPalette palette(const QWidget* = 0);
static QPalette palette(const QWidget* = 0);
};
#endif
......@@ -28,9 +28,9 @@
class QCollection {
public:
typedef void *Item;
typedef void *Item;
protected:
virtual Item newItem(Item);
virtual Item newItem(Item);
};
#endif
......@@ -31,13 +31,13 @@
class QDataStream {
public:
QDataStream( QByteArray, int mode );
virtual ~QDataStream();
QDataStream( QByteArray, int mode );
virtual ~QDataStream();
QDataStream &operator<<( const char *str );
QDataStream &operator<<( const QString &str );
QDataStream &operator<<( const QCString &str );
QDataStream &operator>>( const QString &str );
QDataStream &operator<<( const char *str );
QDataStream &operator<<( const QString &str );
QDataStream &operator<<( const QCString &str );
QDataStream &operator>>( const QString &str );
};
#endif
......@@ -28,28 +28,28 @@
class QTime {
public:
QTime();
QTime(int h, int m);
QTime(const QTime &other);
QTime();
QTime(int h, int m);
QTime(const QTime &other);
void start();
int msec() const;
void start();
int msec() const;
};
class QDate {
public:
QDate(int y, int m, int d);
QDate(int y, int m, int d);
};
class QDateTime {
public:
QDateTime();
QDateTime(QDate date, QTime time);
QDateTime();
QDateTime(QDate date, QTime time);
static QDateTime currentDateTime();
static QDateTime currentDateTime();
int secsTo(const QDateTime &) const;
QTime time() const;
int secsTo(const QDateTime &) const;
QTime time() const;
};
#endif
......@@ -31,23 +31,23 @@
class QEvent : public Qt {
public:
enum Type {
MouseButtonPress,
MouseButtonRelease,
MouseButtonDblClick,
MouseMove,
};
Type type() const;
enum Type {
MouseButtonPress,
MouseButtonRelease,
MouseButtonDblClick,
MouseMove,
};
Type type() const;
};
class QMouseEvent : public QEvent {
public:
int x();
int y();
int globalX();
int globalY();
ButtonState button();
ButtonState state();
int x();
int y();
int globalX();
int globalY();
ButtonState button();
ButtonState state();
};
class QFocusEvent : public QEvent {};
......
......@@ -30,10 +30,10 @@ class QString;
class QFont {
public:
void setFamily( const QString &);
bool operator==(const QFont &x) const;
bool operator!=(const QFont &x) const;
enum CharSet {};
void setFamily( const QString &);
bool operator==(const QFont &x) const;
bool operator!=(const QFont &x) const;
enum CharSet {};
};
#endif
......@@ -28,14 +28,14 @@
class Qt {
public:
enum ButtonState {
LeftButton,
MidButton,
RightButton,
ControlButton,
AltButton,
ShiftButton,
};
enum ButtonState {
LeftButton,
MidButton,
RightButton,
ControlButton,
AltButton,
ShiftButton,
};
};
#endif
......@@ -29,7 +29,7 @@
#include "qrect.h"
class QPaintDevice {
friend class QPaintDeviceMetrics;
friend class QPaintDeviceMetrics;
};
#endif
......@@ -30,8 +30,8 @@ class QPaintDevice;
class QPaintDeviceMetrics {
public:
QPaintDeviceMetrics(const QPaintDevice *);
int logicalDpiY() const;
QPaintDeviceMetrics(const QPaintDevice *);
int logicalDpiY() const;
};
#endif
......@@ -28,14 +28,14 @@
class QColorGroup {
public:
enum ColorRole {};
void setColor(ColorRole role, const QColor &color);
enum ColorRole {};
void setColor(ColorRole role, const QColor &color);
};
class QPalette {
public:
enum ColorGroup {};
void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
enum ColorGroup {};
void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
};
#endif
......@@ -28,8 +28,8 @@
class QRect {
public:
QRect();
QRect(int l, int t, int w, int h);
QRect();
QRect(int l, int t, int w, int h);
};
#endif
......@@ -28,8 +28,8 @@
class QRegExp {
public:
QRegExp(const QString &);
QRegExp(const QRegExp &);
QRegExp(const QString &);
QRegExp(const QRegExp &);
};
#endif
......@@ -29,7 +29,7 @@
#include "qwidget.h"
class QScrollView : public QWidget {
typedef int ScrollBarMode;
typedef int ScrollBarMode;
};
#endif
......@@ -28,9 +28,9 @@
template<class T> class QStack {
public:
bool isEmpty() const;
void push(const T *d);
T *pop();
bool isEmpty() const;
void push(const T *d);
T *pop();
};
#endif
......@@ -52,7 +52,7 @@ public:
friend inline int operator!=(QChar, char);
operator char() const;
static const QChar null;
static const QChar null;
enum Direction {
// NOTE: alphabetical order
......@@ -70,7 +70,7 @@ public:
int toInt(bool *) const;
bool isNull() const;
const QChar *unicode() const;
bool contains(const char *s, bool b) const;
bool contains(const char *s, bool b) const;
uint length() const;
QString &sprintf(const char *format, ...);
QString lower() const;
......
......@@ -30,7 +30,7 @@
#include "qvaluelist.h"
class QStringList : public QValueList<QString> {
};
#endif
......@@ -35,16 +35,16 @@ public:
template <class T> class QValueList {
public:
typedef QValueListIterator<T> Iterator;
bool isEmpty() const;
void append(const T& x);
void remove(const T& x);
Iterator remove(Iterator it);
const T& first() const;
const T& last() const;
Iterator begin();
Iterator end();