author | mickeyl <mickeyl> | 2004-04-28 10:29:22 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-28 10:29:22 (UTC) |
commit | 7784d05b07dc65eab1754497e71fbf56d714b048 (patch) (unidiff) | |
tree | d9b4dbde4b1e4efa3e2c3ba7ae9c37fda9780c26 | |
parent | 1343398e0df890b2e8bd5f1d9a0867b291d42691 (diff) | |
download | opie-7784d05b07dc65eab1754497e71fbf56d714b048.zip opie-7784d05b07dc65eab1754497e71fbf56d714b048.tar.gz opie-7784d05b07dc65eab1754497e71fbf56d714b048.tar.bz2 |
CLEANUP: remove relative includes over the source tree
-rw-r--r-- | Rules.make | 1 | ||||
-rw-r--r-- | noncore/apps/opie-gutenbrowser/NetworkDialog.cpp | 4 | ||||
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -151,48 +151,49 @@ $(OPIEDIR)/stamp-headers : | |||
151 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) | 151 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
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 | # all | 176 | # all |
176 | ifeq ($(CONFIG_LIBOPIE),y) | 177 | ifeq ($(CONFIG_LIBOPIE),y) |
177 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 178 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
178 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) | 179 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) |
179 | endif | 180 | endif |
180 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 181 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
181 | ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) | 182 | ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) |
182 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 183 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
183 | ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) | 184 | ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) |
184 | ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h | 185 | ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h |
185 | touch $@ | 186 | touch $@ |
186 | 187 | ||
187 | $(OPIEDIR)/stamp-headers-x11 : | 188 | $(OPIEDIR)/stamp-headers-x11 : |
188 | @-rm -f $(OPIEDIR)/stamp-headers* | 189 | @-rm -f $(OPIEDIR)/stamp-headers* |
189 | mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \ | 190 | mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \ |
190 | $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private | 191 | $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private |
191 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) | 192 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) |
192 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) | 193 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
193 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) | 194 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
194 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) | 195 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
195 | ( cd include/opie && ln -sf ../../libsql/*.h .; ) | 196 | ( cd include/opie && ln -sf ../../libsql/*.h .; ) |
196 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) | 197 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
197 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 198 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
198 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) | 199 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) |
diff --git a/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp b/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp index e8ade87..aed53c6 100644 --- a/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp | |||
@@ -1,42 +1,42 @@ | |||
1 | // /*************************************************************************** | 1 | // /*************************************************************************** |
2 | // NetworkDialog.cpp - description | 2 | // NetworkDialog.cpp - description |
3 | // begin : Sun Aug 27 2000 | 3 | // begin : Sun Aug 27 2000 |
4 | // copyright : (C) 2000 - 2004 by L.J. Potter | 4 | // copyright : (C) 2000 - 2004 by L.J. Potter |
5 | // email : ljp@llornkcor.com | 5 | // email : ljp@llornkcor.com |
6 | // * This program is free software; you can redistribute it and/or modify * | 6 | // * This program is free software; you can redistribute it and/or modify * |
7 | // * it under the terms of the GNU General Public License as published by * | 7 | // * it under the terms of the GNU General Public License as published by * |
8 | // * the Free Software Foundation; either version 2 of the License, or * | 8 | // * the Free Software Foundation; either version 2 of the License, or * |
9 | // * (at your option) any later version. * | 9 | // * (at your option) any later version. * |
10 | // ***************************************************************************/ | 10 | // ***************************************************************************/ |
11 | // // half-assed attempt at providing a network dialog. | 11 | // // half-assed attempt at providing a network dialog. |
12 | // /* Created: Sun Aug 27 15:24:52 2000*/ | 12 | // /* Created: Sun Aug 27 15:24:52 2000*/ |
13 | #include <unistd.h> | 13 | #include <unistd.h> |
14 | |||
14 | extern "C" { | 15 | extern "C" { |
15 | #include "../../net/ftplib/ftplib.h" | 16 | #include <ftplib.h> |
16 | } | 17 | } |
17 | 18 | ||
18 | |||
19 | #include "NetworkDialog.h" | 19 | #include "NetworkDialog.h" |
20 | #include "gutenbrowser.h" | 20 | #include "gutenbrowser.h" |
21 | 21 | ||
22 | #include <qprogressbar.h> | 22 | #include <qprogressbar.h> |
23 | #include <qstringlist.h> | 23 | #include <qstringlist.h> |
24 | #include <qpe/config.h> | 24 | #include <qpe/config.h> |
25 | #include <qvaluelist.h> | 25 | #include <qvaluelist.h> |
26 | #include <qapplication.h> | 26 | #include <qapplication.h> |
27 | #include <qfile.h> | 27 | #include <qfile.h> |
28 | #include <qstringlist.h> | 28 | #include <qstringlist.h> |
29 | #include <qlabel.h> | 29 | #include <qlabel.h> |
30 | #include <qpushbutton.h> | 30 | #include <qpushbutton.h> |
31 | #include <qlayout.h> | 31 | #include <qlayout.h> |
32 | 32 | ||
33 | QProgressBar* ProgressBar1; | 33 | QProgressBar* ProgressBar1; |
34 | QPushButton* buttonCancel; | 34 | QPushButton* buttonCancel; |
35 | static netbuf *conn = NULL; | 35 | static netbuf *conn = NULL; |
36 | 36 | ||
37 | static int log_progress(netbuf *ctl, int xfered, void *arg) { | 37 | static int log_progress(netbuf *ctl, int xfered, void *arg) { |
38 | int fsz = *(int *)arg; | 38 | int fsz = *(int *)arg; |
39 | int pct = (xfered * 100) / fsz; | 39 | int pct = (xfered * 100) / fsz; |
40 | printf("%3d%%\r", pct); | 40 | printf("%3d%%\r", pct); |
41 | fflush(stdout); | 41 | fflush(stdout); |
42 | ProgressBar1->setProgress(xfered); | 42 | ProgressBar1->setProgress(xfered); |
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index fe96103..aa4314a 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp | |||
@@ -1,41 +1,41 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | opieftp.cpp | 2 | opieftp.cpp |
3 | ------------------- | 3 | ------------------- |
4 | ** Created: Sat Mar 9 23:33:09 2002 | 4 | ** Created: Sat Mar 9 23:33:09 2002 |
5 | copyright : (C) 2002 by ljp | 5 | copyright : (C) 2002 by ljp |
6 | email : ljp@llornkcor.com | 6 | email : ljp@llornkcor.com |
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 | //#define DEVELOPERS_VERSION | 12 | //#define DEVELOPERS_VERSION |
13 | 13 | ||
14 | #include "opieftp.h" | 14 | #include "opieftp.h" |
15 | 15 | ||
16 | extern "C" { | 16 | extern "C" { |
17 | #include "../ftplib/ftplib.h" | 17 | #include <ftplib.h> |
18 | } | 18 | } |
19 | 19 | ||
20 | #include "inputDialog.h" | 20 | #include "inputDialog.h" |
21 | 21 | ||
22 | /* OPIE */ | 22 | /* OPIE */ |
23 | #include <opie2/odebug.h> | 23 | #include <opie2/odebug.h> |
24 | #include <qpe/qpeapplication.h> | 24 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/resource.h> | 25 | #include <qpe/resource.h> |
26 | #include <qpe/config.h> | 26 | #include <qpe/config.h> |
27 | #include <qpe/mimetype.h> | 27 | #include <qpe/mimetype.h> |
28 | using namespace Opie::Core; | 28 | using namespace Opie::Core; |
29 | 29 | ||
30 | #include <qtextstream.h> | 30 | #include <qtextstream.h> |
31 | #include <qpushbutton.h> | 31 | #include <qpushbutton.h> |
32 | #include <qtoolbutton.h> | 32 | #include <qtoolbutton.h> |
33 | #include <qcombobox.h> | 33 | #include <qcombobox.h> |
34 | #include <qlistview.h> | 34 | #include <qlistview.h> |
35 | #include <qlabel.h> | 35 | #include <qlabel.h> |
36 | #include <qprogressbar.h> | 36 | #include <qprogressbar.h> |
37 | #include <qspinbox.h> | 37 | #include <qspinbox.h> |
38 | #include <qtabwidget.h> | 38 | #include <qtabwidget.h> |
39 | #include <qlayout.h> | 39 | #include <qlayout.h> |
40 | #include <qmessagebox.h> | 40 | #include <qmessagebox.h> |
41 | #include <qmenubar.h> | 41 | #include <qmenubar.h> |