Commit 918bb055 authored by kocienda's avatar kocienda

Cleanups on header files - all of these files now compile in a test file by themselves


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cbf0b7ee
......@@ -26,6 +26,8 @@
#ifndef QASYNCIO_H_
#define QASYNCIO_H_
#include <kwqdef.h>
class QAsynchIO {
protected:
void ready();
......
......@@ -26,6 +26,10 @@
#ifndef QBUFFER_H_
#define QBUFFER_H_
#include <kwqdef.h>
#include "qstring.h"
class QBuffer {
public:
QByteArray buffer() const;
......
......@@ -26,7 +26,7 @@
#ifndef QCOLOR_H_
#define QCOLOR_H_
class QString;
#include "qstring.h"
class QColor {
public:
......
......@@ -27,6 +27,7 @@
#define QDICT_H_
#include "qcollection.h"
#include "qstring.h"
template <class T> class QDict : public QCollection {
public:
......
......@@ -27,6 +27,8 @@
#define QDRAWUTIL_H_
#include "qpainter.h"
#include "qpalette.h"
#include "qbrush.h"
void qDrawShadePanel(QPainter *, int, int, int, int, const QColorGroup &, bool
sunken = FALSE, int lineWidth = 1, const QBrush *fill = 0);
......
......@@ -26,6 +26,8 @@
#ifndef QFONTINFO_H_
#define QFONTINFO_H_
#include "qfont.h"
class QFontInfo {
public:
QFontInfo(const QFont &);
......
......@@ -27,8 +27,10 @@
#define QMOVIE_H_
#include "qobject.h"
#include "qasyncio.h"
#include "qpixmap.h"
#include "qimage.h"
#include "qrect.h"
class QMovie {
public:
......
......@@ -29,8 +29,8 @@
#include "qnamespace.h"
#include "qpaintdevice.h"
#include "qcolor.h"
#include "qbrush.h"
#include "qpen.h"
#include "qbrush.h"
#include "qregion.h"
#include "qpoint.h"
#include "qstring.h"
......
......@@ -26,6 +26,8 @@
#ifndef QVALUELIST_H_
#define QVALUELIST_H_
#include <kwqdef.h>
template<class T> class QValueListIterator {
public:
bool operator!=(const QValueListIterator<T>& it);
......
......@@ -27,6 +27,7 @@
#define KAPP_H_
#include <kglobal.h>
#include <kglobalsettings.h>
#include <dcopclient.h>
#include <qapplication.h>
#include <qpalette.h>
......
......@@ -26,6 +26,8 @@
#ifndef QASYNCIMAGEIO_H_
#define QASYNCIMAGEIO_H_
#include <kwqdef.h>
class QImageDecoder {
public:
static const char* formatName(const uchar* buffer, int length);
......
......@@ -26,6 +26,8 @@
#ifndef QASYNCIO_H_
#define QASYNCIO_H_
#include <kwqdef.h>
class QAsynchIO {
protected:
void ready();
......
......@@ -26,6 +26,10 @@
#ifndef QBUFFER_H_
#define QBUFFER_H_
#include <kwqdef.h>
#include "qstring.h"
class QBuffer {
public:
QByteArray buffer() const;
......
......@@ -26,7 +26,7 @@
#ifndef QCOLOR_H_
#define QCOLOR_H_
class QString;
#include "qstring.h"
class QColor {
public:
......
......@@ -28,6 +28,7 @@
#include <qarray.h>
#include <qiodevice.h>
#include <qstring.h>
class QDataStream {
public:
......
......@@ -27,6 +27,7 @@
#define QDICT_H_
#include "qcollection.h"
#include "qstring.h"
template <class T> class QDict : public QCollection {
public:
......
......@@ -27,6 +27,8 @@
#define QDRAWUTIL_H_
#include "qpainter.h"
#include "qpalette.h"
#include "qbrush.h"
void qDrawShadePanel(QPainter *, int, int, int, int, const QColorGroup &, bool
sunken = FALSE, int lineWidth = 1, const QBrush *fill = 0);
......
......@@ -27,9 +27,8 @@
#define QFONTDATABASE_H_
#include "qvaluelist.h"
class QFont;
class QString;
#include "qfont.h"
#include "qstring.h"
class QFontDatabase {
public:
......
......@@ -26,6 +26,8 @@
#ifndef QFONTINFO_H_
#define QFONTINFO_H_
#include "qfont.h"
class QFontInfo {
public:
QFontInfo(const QFont &);
......
......@@ -27,8 +27,10 @@
#define QMOVIE_H_
#include "qobject.h"
#include "qasyncio.h"
#include "qpixmap.h"
#include "qimage.h"
#include "qrect.h"
class QMovie {
public:
......
......@@ -26,8 +26,6 @@
#ifndef QOBJECTDEFS_H_
#define QOBJECTDEFS_H_
#include <kglobalsettings.h>
#define Q_PROPERTY(text)
class QObject;
......
......@@ -29,8 +29,8 @@
#include "qnamespace.h"
#include "qpaintdevice.h"
#include "qcolor.h"
#include "qbrush.h"
#include "qpen.h"
#include "qbrush.h"
#include "qregion.h"
#include "qpoint.h"
#include "qstring.h"
......
......@@ -26,6 +26,8 @@
#ifndef QVALUELIST_H_
#define QVALUELIST_H_
#include <kwqdef.h>
template<class T> class QValueListIterator {
public:
bool operator!=(const QValueListIterator<T>& it);
......
......@@ -27,6 +27,7 @@
#define KAPP_H_
#include <kglobal.h>
#include <kglobalsettings.h>
#include <dcopclient.h>
#include <qapplication.h>
#include <qpalette.h>
......
......@@ -26,6 +26,8 @@
#ifndef QASYNCIMAGEIO_H_
#define QASYNCIMAGEIO_H_
#include <kwqdef.h>
class QImageDecoder {
public:
static const char* formatName(const uchar* buffer, int length);
......
......@@ -26,6 +26,8 @@
#ifndef QASYNCIO_H_
#define QASYNCIO_H_
#include <kwqdef.h>
class QAsynchIO {
protected:
void ready();
......
......@@ -26,6 +26,10 @@
#ifndef QBUFFER_H_
#define QBUFFER_H_
#include <kwqdef.h>
#include "qstring.h"
class QBuffer {
public:
QByteArray buffer() const;
......
......@@ -26,7 +26,7 @@
#ifndef QCOLOR_H_
#define QCOLOR_H_
class QString;
#include "qstring.h"
class QColor {
public:
......
......@@ -28,6 +28,7 @@
#include <qarray.h>
#include <qiodevice.h>
#include <qstring.h>
class QDataStream {
public:
......
......@@ -27,6 +27,7 @@
#define QDICT_H_
#include "qcollection.h"
#include "qstring.h"
template <class T> class QDict : public QCollection {
public:
......
......@@ -27,6 +27,8 @@
#define QDRAWUTIL_H_
#include "qpainter.h"
#include "qpalette.h"
#include "qbrush.h"
void qDrawShadePanel(QPainter *, int, int, int, int, const QColorGroup &, bool
sunken = FALSE, int lineWidth = 1, const QBrush *fill = 0);
......
......@@ -27,9 +27,8 @@
#define QFONTDATABASE_H_
#include "qvaluelist.h"
class QFont;
class QString;
#include "qfont.h"
#include "qstring.h"
class QFontDatabase {
public:
......
......@@ -26,6 +26,8 @@
#ifndef QFONTINFO_H_
#define QFONTINFO_H_
#include "qfont.h"
class QFontInfo {
public:
QFontInfo(const QFont &);
......
......@@ -27,8 +27,10 @@
#define QMOVIE_H_
#include "qobject.h"
#include "qasyncio.h"
#include "qpixmap.h"
#include "qimage.h"
#include "qrect.h"
class QMovie {
public:
......
......@@ -26,8 +26,6 @@
#ifndef QOBJECTDEFS_H_
#define QOBJECTDEFS_H_
#include <kglobalsettings.h>
#define Q_PROPERTY(text)
class QObject;
......
......@@ -29,8 +29,8 @@
#include "qnamespace.h"
#include "qpaintdevice.h"
#include "qcolor.h"
#include "qbrush.h"
#include "qpen.h"
#include "qbrush.h"
#include "qregion.h"
#include "qpoint.h"
#include "qstring.h"
......
......@@ -26,6 +26,8 @@
#ifndef QVALUELIST_H_
#define QVALUELIST_H_
#include <kwqdef.h>
template<class T> class QValueListIterator {
public:
bool operator!=(const QValueListIterator<T>& it);
......
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