author | chicken <chicken> | 2004-03-01 21:17:44 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-01 21:17:44 (UTC) |
commit | b264157878bc06705096931bce583d47e20d8835 (patch) (unidiff) | |
tree | f3857d3783c3703cdce91211c71a6b6a695696e2 | |
parent | 77af6f58d59011e123309c82b684695508a46787 (diff) | |
download | opie-b264157878bc06705096931bce583d47e20d8835.zip opie-b264157878bc06705096931bce583d47e20d8835.tar.gz opie-b264157878bc06705096931bce583d47e20d8835.tar.bz2 |
fix includes
-rw-r--r-- | noncore/graphics/drawpad/drawpad.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/graphics/drawpad/drawpad.cpp b/noncore/graphics/drawpad/drawpad.cpp index 139c752..9f0e27f 100644 --- a/noncore/graphics/drawpad/drawpad.cpp +++ b/noncore/graphics/drawpad/drawpad.cpp | |||
@@ -6,65 +6,64 @@ | |||
6 | * * | 6 | * * |
7 | * This program is free software; you can redistribute it and/or modify * | 7 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | * * | 11 | * * |
12 | ***************************************************************************/ | 12 | ***************************************************************************/ |
13 | 13 | ||
14 | #include "drawpad.h" | 14 | #include "drawpad.h" |
15 | 15 | ||
16 | #include "drawpadcanvas.h" | 16 | #include "drawpadcanvas.h" |
17 | #include "ellipsetool.h" | 17 | #include "ellipsetool.h" |
18 | #include "erasetool.h" | 18 | #include "erasetool.h" |
19 | #include "exportdialog.h" | 19 | #include "exportdialog.h" |
20 | #include "filledellipsetool.h" | 20 | #include "filledellipsetool.h" |
21 | #include "filledrectangletool.h" | 21 | #include "filledrectangletool.h" |
22 | #include "filltool.h" | 22 | #include "filltool.h" |
23 | #include "importdialog.h" | 23 | #include "importdialog.h" |
24 | #include "linetool.h" | 24 | #include "linetool.h" |
25 | #include "newpagedialog.h" | 25 | #include "newpagedialog.h" |
26 | #include "page.h" | 26 | #include "page.h" |
27 | #include "pageinformationdialog.h" | 27 | #include "pageinformationdialog.h" |
28 | #include "pointtool.h" | 28 | #include "pointtool.h" |
29 | #include "rectangletool.h" | 29 | #include "rectangletool.h" |
30 | #include "texttool.h" | 30 | #include "texttool.h" |
31 | #include "thumbnailview.h" | 31 | #include "thumbnailview.h" |
32 | 32 | ||
33 | #include <opie/colordialog.h> | 33 | #include <opie/colordialog.h> |
34 | #include <opie/colorpopupmenu.h> | 34 | #include <opie/colorpopupmenu.h> |
35 | 35 | ||
36 | #include <qpe/applnk.h> | 36 | #include <qpe/applnk.h> |
37 | #include <qpe/config.h> | 37 | #include <qpe/config.h> |
38 | #include <qpe/global.h> | ||
39 | #include <qpe/qpetoolbar.h> | 38 | #include <qpe/qpetoolbar.h> |
40 | #include <qpe/resource.h> | 39 | #include <qpe/resource.h> |
41 | #include <qpe/qpeapplication.h> | 40 | #include <qpe/qpeapplication.h> |
42 | 41 | ||
43 | #include <qmenubar.h> | 42 | #include <qmenubar.h> |
44 | #include <qaction.h> | 43 | #include <qaction.h> |
45 | #include <qfile.h> | 44 | #include <qfile.h> |
46 | #include <qmessagebox.h> | 45 | #include <qmessagebox.h> |
47 | #include <qspinbox.h> | 46 | #include <qspinbox.h> |
48 | #include <qtoolbutton.h> | 47 | #include <qtoolbutton.h> |
49 | #include <qtooltip.h> | 48 | #include <qtooltip.h> |
50 | #include <qwhatsthis.h> | 49 | #include <qwhatsthis.h> |
51 | 50 | ||
52 | DrawPad::DrawPad(QWidget* parent, const char* name, WFlags fl ) | 51 | DrawPad::DrawPad(QWidget* parent, const char* name, WFlags fl ) |
53 | : QMainWindow(parent, name, WStyle_ContextHelp) | 52 | : QMainWindow(parent, name, WStyle_ContextHelp) |
54 | { | 53 | { |
55 | // init members | 54 | // init members |
56 | 55 | ||
57 | m_pDrawPadCanvas = new DrawPadCanvas(this, this); | 56 | m_pDrawPadCanvas = new DrawPadCanvas(this, this); |
58 | 57 | ||
59 | connect(m_pDrawPadCanvas, SIGNAL(pagesChanged()), this, SLOT(updateView())); | 58 | connect(m_pDrawPadCanvas, SIGNAL(pagesChanged()), this, SLOT(updateView())); |
60 | 59 | ||
61 | setCentralWidget(m_pDrawPadCanvas); | 60 | setCentralWidget(m_pDrawPadCanvas); |
62 | 61 | ||
63 | // init menu | 62 | // init menu |
64 | 63 | ||
65 | setToolBarsMovable(false); | 64 | setToolBarsMovable(false); |
66 | 65 | ||
67 | QToolBar* menuToolBar = new QToolBar(this); | 66 | QToolBar* menuToolBar = new QToolBar(this); |
68 | QMenuBar* menuBar = new QMenuBar(menuToolBar); | 67 | QMenuBar* menuBar = new QMenuBar(menuToolBar); |
69 | 68 | ||
70 | QPopupMenu* toolsPopupMenu = new QPopupMenu(menuBar); | 69 | QPopupMenu* toolsPopupMenu = new QPopupMenu(menuBar); |