Ensure that the header files can be compiled stand-alone.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7679 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-09-05 15:06:13 +00:00
parent 7070d9305c
commit 661921bca3
6 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2003-09-05 Angus Leeming <leeming@lyx.org>
* QCitation.h:
* QGraphics.h:
* QPrefs.h:
* qscreen.[Ch]:
ensure that the header files can be compiled stand-alone.
2003-09-05 Angus Leeming <leeming@lyx.org> 2003-09-05 Angus Leeming <leeming@lyx.org>
* *.C: strip out redundant #includes. (352 in total.) * *.C: strip out redundant #includes. (352 in total.)

View File

@ -15,6 +15,7 @@
#include "QDialogView.h" #include "QDialogView.h"
#include <vector>
class QListBox; class QListBox;

View File

@ -15,6 +15,7 @@
#include "QDialogView.h" #include "QDialogView.h"
#include <vector>
class ControlGraphics; class ControlGraphics;

View File

@ -15,9 +15,9 @@
#include "converter.h" #include "converter.h"
#include "format.h" #include "format.h"
#include "ControlPrefs.h"
#include "Qt2Base.h" #include "Qt2Base.h"
#include "ControlPrefs.h"
#include <vector> #include <vector>

View File

@ -45,6 +45,12 @@ QScreen::~QScreen()
} }
WorkArea & QScreen::workarea() const
{
return owner_;
}
void QScreen::repaint() void QScreen::repaint()
{ {
QWidget * content = owner_.getContent(); QWidget * content = owner_.getContent();

View File

@ -17,6 +17,7 @@
#include <qrect.h> #include <qrect.h>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
class QWorkArea;
class WorkArea; class WorkArea;
@ -31,7 +32,7 @@ public:
protected: protected:
/// get the work area /// get the work area
virtual WorkArea & workarea() const { return owner_; } virtual WorkArea & workarea() const;
/// repaint the whole content immediately /// repaint the whole content immediately
void repaint(); void repaint();