author | mickeyl <mickeyl> | 2004-05-14 15:47:06 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-14 15:47:06 (UTC) |
commit | 3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a (patch) (unidiff) | |
tree | 1d7ce18cc0e543d8c07d08ec3b63734fe73f61a4 | |
parent | a9c907c218d106727ad3879a125c77ae7900635f (diff) | |
download | opie-3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a.zip opie-3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a.tar.gz opie-3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a.tar.bz2 |
CLEANUP: Don't include header files via relative paths
Note: Remember to rm stamp-headers
-rw-r--r-- | Rules.make | 2 | ||||
-rw-r--r-- | inputmethods/dvorak/dvorak.h | 4 | ||||
-rw-r--r-- | inputmethods/keyboard/keyboard.h | 4 | ||||
-rw-r--r-- | inputmethods/multikey/keyboard.h | 4 |
4 files changed, 8 insertions, 6 deletions
@@ -152,48 +152,50 @@ $(OPIEDIR)/stamp-headers : | |||
152 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) | 152 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
153 | ifeq ($(CONFIG_LIBOPIE),y) | 153 | ifeq ($(CONFIG_LIBOPIE),y) |
154 | # libopie1 | 154 | # libopie1 |
155 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) | 155 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
156 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) | 156 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
157 | ( cd include/opie && ln -sf ../../libopie/big-screen/*.h .; ) | 157 | ( cd include/opie && ln -sf ../../libopie/big-screen/*.h .; ) |
158 | endif | 158 | endif |
159 | # libopie2 | 159 | # libopie2 |
160 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) | 160 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) |
161 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; ) | 161 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; ) |
162 | ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; ) | 162 | ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; ) |
163 | ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; ) | 163 | ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; ) |
164 | ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; ) | 164 | ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; ) |
165 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; ) | 165 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; ) |
166 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; ) | 166 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; ) |
167 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/backends/*.h .; ) | 167 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/backends/*.h .; ) |
168 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; ) | 168 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; ) |
169 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; ) | 169 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; ) |
170 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; ) | 170 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; ) |
171 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; ) | 171 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; ) |
172 | # auxilliary libraries | 172 | # auxilliary libraries |
173 | ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; ) | 173 | ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; ) |
174 | ( cd include/sl && ln -sf ../../libslcompat/*.h .; ) | 174 | ( cd include/sl && ln -sf ../../libslcompat/*.h .; ) |
175 | ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; ) | 175 | ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; ) |
176 | ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardcfg.h .; ) | ||
177 | ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardpicks.h .; ) | ||
176 | # all | 178 | # all |
177 | ifeq ($(CONFIG_LIBOPIE),y) | 179 | ifeq ($(CONFIG_LIBOPIE),y) |
178 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 180 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
179 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) | 181 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) |
180 | endif | 182 | endif |
181 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 183 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
182 | ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) | 184 | ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) |
183 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 185 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
184 | ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) | 186 | ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) |
185 | ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h | 187 | ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h |
186 | touch $@ | 188 | touch $@ |
187 | 189 | ||
188 | $(OPIEDIR)/stamp-headers-x11 : | 190 | $(OPIEDIR)/stamp-headers-x11 : |
189 | @-rm -f $(OPIEDIR)/stamp-headers* | 191 | @-rm -f $(OPIEDIR)/stamp-headers* |
190 | mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \ | 192 | mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \ |
191 | $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private | 193 | $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private |
192 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) | 194 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) |
193 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) | 195 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
194 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) | 196 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
195 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) | 197 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
196 | ( cd include/opie && ln -sf ../../libsql/*.h .; ) | 198 | ( cd include/opie && ln -sf ../../libsql/*.h .; ) |
197 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) | 199 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
198 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 200 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
199 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) | 201 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) |
diff --git a/inputmethods/dvorak/dvorak.h b/inputmethods/dvorak/dvorak.h index 216b5e5..758e181 100644 --- a/inputmethods/dvorak/dvorak.h +++ b/inputmethods/dvorak/dvorak.h | |||
@@ -1,46 +1,46 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qframe.h> | 20 | #include <qframe.h> |
21 | #include "../pickboard/pickboardcfg.h" | 21 | #include <pickboardcfg.h> |
22 | #include "../pickboard/pickboardpicks.h" | 22 | #include <pickboardpicks.h> |
23 | 23 | ||
24 | class QTimer; | 24 | class QTimer; |
25 | 25 | ||
26 | namespace Dvorak | 26 | namespace Dvorak |
27 | { | 27 | { |
28 | 28 | ||
29 | class KeyboardConfig : public DictFilterConfig | 29 | class KeyboardConfig : public DictFilterConfig |
30 | { | 30 | { |
31 | public: | 31 | public: |
32 | KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } | 32 | KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } |
33 | virtual void generateText(const QString &s); | 33 | virtual void generateText(const QString &s); |
34 | void decBackspaces() { if (backspaces) backspaces--; } | 34 | void decBackspaces() { if (backspaces) backspaces--; } |
35 | void incBackspaces() { backspaces++; } | 35 | void incBackspaces() { backspaces++; } |
36 | void resetBackspaces() { backspaces = 0; } | 36 | void resetBackspaces() { backspaces = 0; } |
37 | private: | 37 | private: |
38 | int backspaces; | 38 | int backspaces; |
39 | }; | 39 | }; |
40 | 40 | ||
41 | 41 | ||
42 | class KeyboardPicks : public PickboardPicks | 42 | class KeyboardPicks : public PickboardPicks |
43 | { | 43 | { |
44 | Q_OBJECT | 44 | Q_OBJECT |
45 | public: | 45 | public: |
46 | KeyboardPicks(QWidget* parent=0, const char* name=0, WFlags f=0) | 46 | KeyboardPicks(QWidget* parent=0, const char* name=0, WFlags f=0) |
diff --git a/inputmethods/keyboard/keyboard.h b/inputmethods/keyboard/keyboard.h index cc7f3f5..82588f0 100644 --- a/inputmethods/keyboard/keyboard.h +++ b/inputmethods/keyboard/keyboard.h | |||
@@ -1,46 +1,46 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qframe.h> | 20 | #include <qframe.h> |
21 | #include "../pickboard/pickboardcfg.h" | 21 | #include <pickboardcfg.h> |
22 | #include "../pickboard/pickboardpicks.h" | 22 | #include <pickboardpicks.h> |
23 | 23 | ||
24 | class QTimer; | 24 | class QTimer; |
25 | 25 | ||
26 | namespace KeyboardInput | 26 | namespace KeyboardInput |
27 | { | 27 | { |
28 | 28 | ||
29 | class KeyboardConfig : public DictFilterConfig | 29 | class KeyboardConfig : public DictFilterConfig |
30 | { | 30 | { |
31 | public: | 31 | public: |
32 | KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } | 32 | KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } |
33 | virtual void generateText(const QString &s); | 33 | virtual void generateText(const QString &s); |
34 | void decBackspaces() { if (backspaces) backspaces--; } | 34 | void decBackspaces() { if (backspaces) backspaces--; } |
35 | void incBackspaces() { backspaces++; } | 35 | void incBackspaces() { backspaces++; } |
36 | void resetBackspaces() { backspaces = 0; } | 36 | void resetBackspaces() { backspaces = 0; } |
37 | private: | 37 | private: |
38 | int backspaces; | 38 | int backspaces; |
39 | }; | 39 | }; |
40 | 40 | ||
41 | 41 | ||
42 | class KeyboardPicks : public PickboardPicks | 42 | class KeyboardPicks : public PickboardPicks |
43 | { | 43 | { |
44 | Q_OBJECT | 44 | Q_OBJECT |
45 | public: | 45 | public: |
46 | KeyboardPicks(QWidget* parent=0, const char* name=0, WFlags f=0) | 46 | KeyboardPicks(QWidget* parent=0, const char* name=0, WFlags f=0) |
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h index 0b56988..77bf718 100644 --- a/inputmethods/multikey/keyboard.h +++ b/inputmethods/multikey/keyboard.h | |||
@@ -1,47 +1,47 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qframe.h> | 20 | #include <qframe.h> |
21 | #include <qmap.h> | 21 | #include <qmap.h> |
22 | #include "../pickboard/pickboardcfg.h" | 22 | #include <pickboardcfg.h> |
23 | #include "../pickboard/pickboardpicks.h" | 23 | #include <pickboardpicks.h> |
24 | #include "configdlg.h" | 24 | #include "configdlg.h" |
25 | 25 | ||
26 | class QTimer; | 26 | class QTimer; |
27 | 27 | ||
28 | namespace MultiKey | 28 | namespace MultiKey |
29 | { | 29 | { |
30 | 30 | ||
31 | class KeyboardConfig : public DictFilterConfig | 31 | class KeyboardConfig : public DictFilterConfig |
32 | { | 32 | { |
33 | public: | 33 | public: |
34 | KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } | 34 | KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } |
35 | virtual void generateText(const QString &s); | 35 | virtual void generateText(const QString &s); |
36 | void decBackspaces() { if (backspaces) backspaces--; } | 36 | void decBackspaces() { if (backspaces) backspaces--; } |
37 | void incBackspaces() { backspaces++; } | 37 | void incBackspaces() { backspaces++; } |
38 | void resetBackspaces() { backspaces = 0; } | 38 | void resetBackspaces() { backspaces = 0; } |
39 | private: | 39 | private: |
40 | int backspaces; | 40 | int backspaces; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | 43 | ||
44 | class KeyboardPicks : public PickboardPicks | 44 | class KeyboardPicks : public PickboardPicks |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |