#include <config.h>
-#include "QWorkArea.h"
+// Dear Lord, deliver us from Evil, aka the Qt headers
+// Qt defines a macro 'signals' that clashes with a boost namespace.
+// All is well if the namespace is visible first.
#include "qscreen.h"
+#include "QWorkArea.h"
#include "debug.h"
#include "lcolorcache.h"
} // namespace anon
+namespace lyx {
+namespace frontend {
QScreen::QScreen(QWorkArea & o)
- : LyXScreen(), owner_(o)
+ : owner_(o)
{
}
}
-WorkArea & QScreen::workarea() const
-{
- return owner_;
-}
-
-
void QScreen::repaint()
{
QWidget * content = owner_.getContent();
}
-void QScreen::showCursor(int x, int y, int h, Cursor_Shape shape)
+void QScreen::showCursor(int x, int y, int h, CursorShape shape)
{
if (!qApp->focusWidget())
return;
owner_.getContent()
->update(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
}
+
+
+} // namespace frontend
+} // namespace lyx