void QContentPane::paintEvent(QPaintEvent * e)
{
- BufferView * buffer_view_ = wa_->view().view();
-
if (!pixmap_.get()) {
pixmap_.reset(new QPixmap(width(), height()));
wa_->view().workArea()->resizeBufferView();
#include <Carbon/Carbon.h>
#endif
-#include <support/lstrings.h>
-
-using lyx::support::internalLineEnding;
-using lyx::support::externalLineEnding;
using std::endl;
using std::string;
#include <boost/signal.hpp> // FIXME: Is this needed? (Lgb)
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
+#include "frontends/WorkArea.h"
#include "GuiImplementation.h"
#include "QtView.h"
#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"