]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/WorkAreaFactory.C
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / WorkAreaFactory.C
1 /**
2  * \file qt2/WorkAreaFactory.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "frontends/WorkAreaFactory.h"
18
19 #include "QWorkArea.h"
20
21 namespace WorkAreaFactory {
22
23 WorkArea * create(int x, int y, int w, int h)
24 {
25         return new QWorkArea(x, y, w, h);
26 }
27
28 } // namespace WorkAreaFactory