Fix some WorkArea fallouts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14391 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-07-09 01:08:47 +00:00
parent e7b69c030e
commit 7afbc908eb
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
#include "BufferView.h"
#include "frontends/LyXView.h"
#include "frontends/WorkArea.h"
// Qt defines a macro 'signals' that clashes with a boost namespace.
// All is well if the namespace is visible first.
@ -295,7 +296,7 @@ void QContentPane::keyeventTimeout()
boost::shared_ptr<QLyXKeySym> sym(new QLyXKeySym);
sym->set(ev.get());
wa_->processKeySym(sym, q_key_state(ev->state()));
wa_->view().workArea()->processKeySym(sym, q_key_state(ev->state()));
keyeventQueue_.pop();
handle_autos = false;

View File

@ -12,7 +12,7 @@
#ifndef QSCREEN_H
#define QSCREEN_H
#include "frontends/GuiCursor.h"
#include "frontends/WorkArea.h"
#include <qcolor.h>
#include <qpixmap.h>