author | pohly <pohly> | 2004-08-26 05:57:55 (UTC) |
---|---|---|
committer | pohly <pohly> | 2004-08-26 05:57:55 (UTC) |
commit | 3f36482d9a6c096fdf5d8ab8831eb736746c0565 (patch) (unidiff) | |
tree | fb213ba05e20c9a02bca3d805f8f5c96c1c45da0 | |
parent | e00962edd9d4be58c6184e5b6c5f6ef07f449689 (diff) | |
download | opie-3f36482d9a6c096fdf5d8ab8831eb736746c0565.zip opie-3f36482d9a6c096fdf5d8ab8831eb736746c0565.tar.gz opie-3f36482d9a6c096fdf5d8ab8831eb736746c0565.tar.bz2 |
removed obsolete static.h and useqpe.h
44 files changed, 21 insertions, 61 deletions
diff --git a/noncore/apps/opie-reader/Aportis.cpp b/noncore/apps/opie-reader/Aportis.cpp index 7528e78..353996c 100644 --- a/noncore/apps/opie-reader/Aportis.cpp +++ b/noncore/apps/opie-reader/Aportis.cpp | |||
@@ -2,9 +2,8 @@ | |||
2 | #include <string.h> | 2 | #include <string.h> |
3 | #include "Aportis.h" | 3 | #include "Aportis.h" |
4 | #include "my_list.h" | 4 | #include "my_list.h" |
5 | #include "Bkmks.h" | 5 | #include "Bkmks.h" |
6 | #include "static.h" | ||
7 | 6 | ||
8 | Aportis::Aportis() : peanutfile(false) { /*printf("constructing:%x\n",fin);*/ } | 7 | Aportis::Aportis() : peanutfile(false) { /*printf("constructing:%x\n",fin);*/ } |
9 | 8 | ||
10 | void Aportis::dePeanut(int& ch) | 9 | void Aportis::dePeanut(int& ch) |
diff --git a/noncore/apps/opie-reader/AportisCodec/AportisCodec.pro b/noncore/apps/opie-reader/AportisCodec/AportisCodec.pro index 4b61a7a..fcab192 100644 --- a/noncore/apps/opie-reader/AportisCodec/AportisCodec.pro +++ b/noncore/apps/opie-reader/AportisCodec/AportisCodec.pro | |||
@@ -3,9 +3,8 @@ VPATH = .. | |||
3 | TEMPLATE= lib | 3 | TEMPLATE= lib |
4 | CONFIG = qt warn_on release dll | 4 | CONFIG = qt warn_on release dll |
5 | HEADERS = Aportis.h \ | 5 | HEADERS = Aportis.h \ |
6 | CExpander.h \ | 6 | CExpander.h \ |
7 | ../OREADERINC/useqpe.h \ | ||
8 | config.h \ | 7 | config.h \ |
9 | ustring.h \ | 8 | ustring.h \ |
10 | StyleConsts.h \ | 9 | StyleConsts.h \ |
11 | Markups.h \ | 10 | Markups.h \ |
@@ -23,8 +22,8 @@ INTERFACES = | |||
23 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs | 22 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs |
24 | TARGET = Aportis | 23 | TARGET = Aportis |
25 | LIBS += -lreader_pdb -lreader_codec | 24 | LIBS += -lreader_pdb -lreader_codec |
26 | 25 | ||
27 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 26 | INCLUDEPATH+= $(OPIEDIR)/include |
28 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 27 | DEPENDPATH+= $(OPIEDIR)/include |
29 | 28 | ||
30 | include ( $(OPIEDIR)/include.pro ) \ No newline at end of file | 29 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/BuffDoc.cpp b/noncore/apps/opie-reader/BuffDoc.cpp index 22934f9..1f0a524 100644 --- a/noncore/apps/opie-reader/BuffDoc.cpp +++ b/noncore/apps/opie-reader/BuffDoc.cpp | |||
@@ -1,11 +1,9 @@ | |||
1 | #include "static.h" | ||
2 | #include "names.h" | 1 | #include "names.h" |
3 | 2 | ||
4 | #define NEWLINEBREAK | 3 | #define NEWLINEBREAK |
5 | #define INCREMENTALWIDTH | 4 | #define INCREMENTALWIDTH |
6 | 5 | ||
7 | #include "useqpe.h" | ||
8 | #include "usenef.h" | 6 | #include "usenef.h" |
9 | #include "BuffDoc.h" | 7 | #include "BuffDoc.h" |
10 | #include "config.h" | 8 | #include "config.h" |
11 | #include "CDrawBuffer.h" | 9 | #include "CDrawBuffer.h" |
diff --git a/noncore/apps/opie-reader/BuffDoc.h b/noncore/apps/opie-reader/BuffDoc.h index a7dd7bf..2b4fb57 100644 --- a/noncore/apps/opie-reader/BuffDoc.h +++ b/noncore/apps/opie-reader/BuffDoc.h | |||
@@ -1,8 +1,7 @@ | |||
1 | #ifndef __BuffDoc_h | 1 | #ifndef __BuffDoc_h |
2 | #define __BuffDoc_h | 2 | #define __BuffDoc_h |
3 | 3 | ||
4 | #include "useqpe.h" | ||
5 | #include "CDrawBuffer.h" | 4 | #include "CDrawBuffer.h" |
6 | #include "CFilter.h" | 5 | #include "CFilter.h" |
7 | #include "CExpander.h" | 6 | #include "CExpander.h" |
8 | #include <qfontmetrics.h> | 7 | #include <qfontmetrics.h> |
diff --git a/noncore/apps/opie-reader/CDrawBuffer.cpp b/noncore/apps/opie-reader/CDrawBuffer.cpp index caccf1b..bfb3027 100644 --- a/noncore/apps/opie-reader/CDrawBuffer.cpp +++ b/noncore/apps/opie-reader/CDrawBuffer.cpp | |||
@@ -3,9 +3,8 @@ | |||
3 | #include <qfontmetrics.h> | 3 | #include <qfontmetrics.h> |
4 | #include <qpainter.h> | 4 | #include <qpainter.h> |
5 | #include <qpixmap.h> | 5 | #include <qpixmap.h> |
6 | #include <qimage.h> | 6 | #include <qimage.h> |
7 | #include "useqpe.h" | ||
8 | 7 | ||
9 | CDrawBuffer::~CDrawBuffer() | 8 | CDrawBuffer::~CDrawBuffer() |
10 | { | 9 | { |
11 | while (!segs.isEmpty()) segs.erase(0); | 10 | while (!segs.isEmpty()) segs.erase(0); |
diff --git a/noncore/apps/opie-reader/CExpander.h b/noncore/apps/opie-reader/CExpander.h index e9aaf79..7fa84f9 100644 --- a/noncore/apps/opie-reader/CExpander.h +++ b/noncore/apps/opie-reader/CExpander.h | |||
@@ -7,9 +7,8 @@ | |||
7 | #include <stdio.h> | 7 | #include <stdio.h> |
8 | #include <time.h> | 8 | #include <time.h> |
9 | #include <sys/stat.h> | 9 | #include <sys/stat.h> |
10 | #include <qmessagebox.h> | 10 | #include <qmessagebox.h> |
11 | #include "useqpe.h" | ||
12 | #include "config.h" | 11 | #include "config.h" |
13 | #include "StyleConsts.h" | 12 | #include "StyleConsts.h" |
14 | #include "Markups.h" | 13 | #include "Markups.h" |
15 | #include "names.h" | 14 | #include "names.h" |
diff --git a/noncore/apps/opie-reader/CFilter.cpp b/noncore/apps/opie-reader/CFilter.cpp index 6f76e9a..6d94d70 100644 --- a/noncore/apps/opie-reader/CFilter.cpp +++ b/noncore/apps/opie-reader/CFilter.cpp | |||
@@ -1,9 +1,8 @@ | |||
1 | #include <qmap.h> | 1 | #include <qmap.h> |
2 | #include <qfileinfo.h> | 2 | #include <qfileinfo.h> |
3 | #include <qtextstream.h> | 3 | #include <qtextstream.h> |
4 | #include <qdir.h> | 4 | #include <qdir.h> |
5 | #include "useqpe.h" | ||
6 | #ifdef USEQPE | 5 | #ifdef USEQPE |
7 | #include <qpe/global.h> | 6 | #include <qpe/global.h> |
8 | #endif | 7 | #endif |
9 | #include "CDrawBuffer.h" | 8 | #include "CDrawBuffer.h" |
diff --git a/noncore/apps/opie-reader/CFilter.h b/noncore/apps/opie-reader/CFilter.h index cec9618..174e6b4 100644 --- a/noncore/apps/opie-reader/CFilter.h +++ b/noncore/apps/opie-reader/CFilter.h | |||
@@ -390,9 +390,8 @@ class HighlightFilter : public CFilter | |||
390 | void refresh(unsigned long); | 390 | void refresh(unsigned long); |
391 | QString about() { return QString("High-lighting filter (c) Tim Wentford\n")+parent->about(); } | 391 | QString about() { return QString("High-lighting filter (c) Tim Wentford\n")+parent->about(); } |
392 | }; | 392 | }; |
393 | 393 | ||
394 | #include "static.h" | ||
395 | #ifndef __STATIC | 394 | #ifndef __STATIC |
396 | #include <dlfcn.h> | 395 | #include <dlfcn.h> |
397 | 396 | ||
398 | class ExternFilter : public CFilter_IFace | 397 | class ExternFilter : public CFilter_IFace |
diff --git a/noncore/apps/opie-reader/CHM.cpp b/noncore/apps/opie-reader/CHM.cpp index 9d1eb87..88d53bf 100644 --- a/noncore/apps/opie-reader/CHM.cpp +++ b/noncore/apps/opie-reader/CHM.cpp | |||
@@ -1,7 +1,6 @@ | |||
1 | #include "CHM.h" | 1 | #include "CHM.h" |
2 | #include "chm_lib.h" | 2 | #include "chm_lib.h" |
3 | #include "static.h" | ||
4 | #include <qstring.h> | 3 | #include <qstring.h> |
5 | #include <qstringlist.h> | 4 | #include <qstringlist.h> |
6 | #include <stdio.h> | 5 | #include <stdio.h> |
7 | #include <qimage.h> | 6 | #include <qimage.h> |
diff --git a/noncore/apps/opie-reader/CHM.h b/noncore/apps/opie-reader/CHM.h index 7dac46f..001f7fc 100644 --- a/noncore/apps/opie-reader/CHM.h +++ b/noncore/apps/opie-reader/CHM.h | |||
@@ -1,9 +1,8 @@ | |||
1 | #ifndef __CHM_h | 1 | #ifndef __CHM_h |
2 | #define __CHM_h | 2 | #define __CHM_h |
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <sys/stat.h> | 4 | #include <sys/stat.h> |
5 | #include "useqpe.h" | ||
6 | #include "CExpander.h" | 5 | #include "CExpander.h" |
7 | #include "chm_lib.h" | 6 | #include "chm_lib.h" |
8 | #include "my_list.h" | 7 | #include "my_list.h" |
9 | #include "CExpander.h" | 8 | #include "CExpander.h" |
diff --git a/noncore/apps/opie-reader/CHM/CHM.pro b/noncore/apps/opie-reader/CHM/CHM.pro index 6ed86f6..d3a2a28 100644 --- a/noncore/apps/opie-reader/CHM/CHM.pro +++ b/noncore/apps/opie-reader/CHM/CHM.pro | |||
@@ -11,8 +11,8 @@ INTERFACES = | |||
11 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs | 11 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs |
12 | TARGET = CHM | 12 | TARGET = CHM |
13 | LIBS += -lreader_codec | 13 | LIBS += -lreader_codec |
14 | 14 | ||
15 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 15 | INCLUDEPATH+= $(OPIEDIR)/include |
16 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 16 | DEPENDPATH+= $(OPIEDIR)/include |
17 | 17 | ||
18 | include ( $(OPIEDIR)/include.pro ) \ No newline at end of file | 18 | include ( $(OPIEDIR)/include.pro ) \ No newline at end of file |
diff --git a/noncore/apps/opie-reader/CloseDialog.h b/noncore/apps/opie-reader/CloseDialog.h index 62e6423..54aaf1c 100644 --- a/noncore/apps/opie-reader/CloseDialog.h +++ b/noncore/apps/opie-reader/CloseDialog.h | |||
@@ -8,9 +8,8 @@ | |||
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #ifndef __CLOSEDIALOG_H | 9 | #ifndef __CLOSEDIALOG_H |
10 | #define __CLOSEDIALOG_H | 10 | #define __CLOSEDIALOG_H |
11 | 11 | ||
12 | #include "useqpe.h" | ||
13 | #include <qvariant.h> | 12 | #include <qvariant.h> |
14 | #include <qwidget.h> | 13 | #include <qwidget.h> |
15 | #include <qtabdialog.h> | 14 | #include <qtabdialog.h> |
16 | #include <qtabwidget.h> | 15 | #include <qtabwidget.h> |
diff --git a/noncore/apps/opie-reader/FontControl.cpp b/noncore/apps/opie-reader/FontControl.cpp index bbd9fe0..9bb3bc0 100644 --- a/noncore/apps/opie-reader/FontControl.cpp +++ b/noncore/apps/opie-reader/FontControl.cpp | |||
@@ -1,6 +1,5 @@ | |||
1 | #include <qfontdatabase.h> | 1 | #include <qfontdatabase.h> |
2 | #include "useqpe.h" | ||
3 | #include "FontControl.h" | 2 | #include "FontControl.h" |
4 | 3 | ||
5 | int FontControl::gzoom() | 4 | int FontControl::gzoom() |
6 | { | 5 | { |
diff --git a/noncore/apps/opie-reader/HTMLFilter/HTMLFilter.pro b/noncore/apps/opie-reader/HTMLFilter/HTMLFilter.pro index cc049a9..8eb6f17 100644 --- a/noncore/apps/opie-reader/HTMLFilter/HTMLFilter.pro +++ b/noncore/apps/opie-reader/HTMLFilter/HTMLFilter.pro | |||
@@ -13,8 +13,8 @@ QMAKE_PRE_LINK = mkdir -p $(OPIEDIR)/plugins/reader/data && cp ../HTMLentities $ | |||
13 | INTERFACES= | 13 | INTERFACES= |
14 | DESTDIR = $(OPIEDIR)/plugins/reader/filters | 14 | DESTDIR = $(OPIEDIR)/plugins/reader/filters |
15 | TARGET = HTMLfilter | 15 | TARGET = HTMLfilter |
16 | 16 | ||
17 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 17 | INCLUDEPATH+= $(OPIEDIR)/include |
18 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 18 | DEPENDPATH+= $(OPIEDIR)/include |
19 | 19 | ||
20 | include ( $(OPIEDIR)/include.pro ) | 20 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/Palm2QImage.cpp b/noncore/apps/opie-reader/Palm2QImage.cpp index c1b7b7a..c6907eb 100644 --- a/noncore/apps/opie-reader/Palm2QImage.cpp +++ b/noncore/apps/opie-reader/Palm2QImage.cpp | |||
@@ -1,6 +1,5 @@ | |||
1 | /* -*- mode: c; indent-tabs-mode: nil; -*- */ | 1 | /* -*- mode: c; indent-tabs-mode: nil; -*- */ |
2 | #include "useqpe.h" | ||
3 | #include <stdio.h> | 2 | #include <stdio.h> |
4 | #include <stdlib.h> | 3 | #include <stdlib.h> |
5 | #include <string.h> | 4 | #include <string.h> |
6 | #ifndef _WINDOWS | 5 | #ifndef _WINDOWS |
diff --git a/noncore/apps/opie-reader/PluckerCodec/PluckerCodec.pro b/noncore/apps/opie-reader/PluckerCodec/PluckerCodec.pro index 6ed4032..7042542 100644 --- a/noncore/apps/opie-reader/PluckerCodec/PluckerCodec.pro +++ b/noncore/apps/opie-reader/PluckerCodec/PluckerCodec.pro | |||
@@ -11,8 +11,8 @@ INTERFACES = | |||
11 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs | 11 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs |
12 | TARGET = Plucker | 12 | TARGET = Plucker |
13 | LIBS += -lreader_pdb -lreader_pluckerbase -lreader_codec | 13 | LIBS += -lreader_pdb -lreader_pluckerbase -lreader_codec |
14 | 14 | ||
15 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 15 | INCLUDEPATH+= $(OPIEDIR)/include |
16 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 16 | DEPENDPATH+= $(OPIEDIR)/include |
17 | 17 | ||
18 | include ( $(OPIEDIR)/include.pro ) | 18 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/QTReader.cpp b/noncore/apps/opie-reader/QTReader.cpp index dfdba28..33884a0 100644 --- a/noncore/apps/opie-reader/QTReader.cpp +++ b/noncore/apps/opie-reader/QTReader.cpp | |||
@@ -9,9 +9,8 @@ | |||
9 | *****************************************************************************/ | 9 | *****************************************************************************/ |
10 | 10 | ||
11 | const int _SBARHEIGHT = 3; | 11 | const int _SBARHEIGHT = 3; |
12 | 12 | ||
13 | #include "useqpe.h" | ||
14 | #include <qpainter.h> | 13 | #include <qpainter.h> |
15 | //#include <qdirectpainter_qws.h> | 14 | //#include <qdirectpainter_qws.h> |
16 | #include <qimage.h> | 15 | #include <qimage.h> |
17 | #include <qtimer.h> | 16 | #include <qtimer.h> |
diff --git a/noncore/apps/opie-reader/QTReader.h b/noncore/apps/opie-reader/QTReader.h index 7b0ebc8..3bcdde4 100644 --- a/noncore/apps/opie-reader/QTReader.h +++ b/noncore/apps/opie-reader/QTReader.h | |||
@@ -1,9 +1,8 @@ | |||
1 | #ifndef __QTREADER_H | 1 | #ifndef __QTREADER_H |
2 | #define __QTREADER_H | 2 | #define __QTREADER_H |
3 | 3 | ||
4 | //#define _SCROLLPIPE | 4 | //#define _SCROLLPIPE |
5 | #include "static.h" | ||
6 | #include <qwidget.h> | 5 | #include <qwidget.h> |
7 | //#include <qpainter.h> | 6 | //#include <qpainter.h> |
8 | #include "my_list.h" | 7 | #include "my_list.h" |
9 | #include "BuffDoc.h" | 8 | #include "BuffDoc.h" |
diff --git a/noncore/apps/opie-reader/QTReaderApp.cpp b/noncore/apps/opie-reader/QTReaderApp.cpp index ec7a29c..876b65a 100644 --- a/noncore/apps/opie-reader/QTReaderApp.cpp +++ b/noncore/apps/opie-reader/QTReaderApp.cpp | |||
@@ -16,9 +16,8 @@ | |||
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 "useqpe.h" | ||
21 | #include <qregexp.h> | 20 | #include <qregexp.h> |
22 | #include <qclipboard.h> | 21 | #include <qclipboard.h> |
23 | #include <qwidgetstack.h> | 22 | #include <qwidgetstack.h> |
24 | #ifdef USEQPE | 23 | #ifdef USEQPE |
@@ -82,9 +81,8 @@ using namespace Opie::Ui; | |||
82 | 81 | ||
83 | #include "QTReaderApp.h" | 82 | #include "QTReaderApp.h" |
84 | #include "CDrawBuffer.h" | 83 | #include "CDrawBuffer.h" |
85 | #include "Filedata.h" | 84 | #include "Filedata.h" |
86 | #include "useqpe.h" | ||
87 | #include "names.h" | 85 | #include "names.h" |
88 | #include "CEncoding_tables.h" | 86 | #include "CEncoding_tables.h" |
89 | #include "CloseDialog.h" | 87 | #include "CloseDialog.h" |
90 | 88 | ||
diff --git a/noncore/apps/opie-reader/QTReaderApp.h b/noncore/apps/opie-reader/QTReaderApp.h index 5ecc42d..ad47fc9 100644 --- a/noncore/apps/opie-reader/QTReaderApp.h +++ b/noncore/apps/opie-reader/QTReaderApp.h | |||
@@ -25,9 +25,8 @@ | |||
25 | 25 | ||
26 | //#define MAX_ENCODING 6 | 26 | //#define MAX_ENCODING 6 |
27 | #define MAX_ACTIONS 5 | 27 | #define MAX_ACTIONS 5 |
28 | 28 | ||
29 | #include "useqpe.h" | ||
30 | #include <sys/timeb.h> | 29 | #include <sys/timeb.h> |
31 | #include <qmainwindow.h> | 30 | #include <qmainwindow.h> |
32 | #include "CExpander.h" | 31 | #include "CExpander.h" |
33 | #include "CEncoding.h" | 32 | #include "CEncoding.h" |
diff --git a/noncore/apps/opie-reader/ToolbarPrefs.cpp b/noncore/apps/opie-reader/ToolbarPrefs.cpp index 5cf220a..56c4e9b 100644 --- a/noncore/apps/opie-reader/ToolbarPrefs.cpp +++ b/noncore/apps/opie-reader/ToolbarPrefs.cpp | |||
@@ -5,9 +5,8 @@ | |||
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "useqpe.h" | ||
10 | #include "ToolbarPrefs.h" | 9 | #include "ToolbarPrefs.h" |
11 | 10 | ||
12 | #include <qcheckbox.h> | 11 | #include <qcheckbox.h> |
13 | #include <qlabel.h> | 12 | #include <qlabel.h> |
diff --git a/noncore/apps/opie-reader/ToolbarPrefs.h b/noncore/apps/opie-reader/ToolbarPrefs.h index a2686e5..0bdae6b 100644 --- a/noncore/apps/opie-reader/ToolbarPrefs.h +++ b/noncore/apps/opie-reader/ToolbarPrefs.h | |||
@@ -7,9 +7,8 @@ | |||
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #ifndef CTOOLBARPREFS_H | 9 | #ifndef CTOOLBARPREFS_H |
10 | #define CTOOLBARPREFS_H | 10 | #define CTOOLBARPREFS_H |
11 | #include "useqpe.h" | ||
12 | #include <qvariant.h> | 11 | #include <qvariant.h> |
13 | #include <qwidget.h> | 12 | #include <qwidget.h> |
14 | #include <qtabdialog.h> | 13 | #include <qtabdialog.h> |
15 | #include <qtabwidget.h> | 14 | #include <qtabwidget.h> |
@@ -22,9 +21,8 @@ | |||
22 | #include <qpe/config.h> | 21 | #include <qpe/config.h> |
23 | #else | 22 | #else |
24 | #include "preferences.h" | 23 | #include "preferences.h" |
25 | #endif | 24 | #endif |
26 | //#include "opie.h" | ||
27 | //#ifdef OPIE | 25 | //#ifdef OPIE |
28 | #define USECOMBO | 26 | #define USECOMBO |
29 | //#endif | 27 | //#endif |
30 | 28 | ||
diff --git a/noncore/apps/opie-reader/URLDialog.h b/noncore/apps/opie-reader/URLDialog.h index 1bcc4bd..792d13a 100644 --- a/noncore/apps/opie-reader/URLDialog.h +++ b/noncore/apps/opie-reader/URLDialog.h | |||
@@ -8,9 +8,8 @@ | |||
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #ifndef __URLDIALOG_H | 9 | #ifndef __URLDIALOG_H |
10 | #define __URLDIALOG_H | 10 | #define __URLDIALOG_H |
11 | 11 | ||
12 | #include "useqpe.h" | ||
13 | #include <qvariant.h> | 12 | #include <qvariant.h> |
14 | #include <qwidget.h> | 13 | #include <qwidget.h> |
15 | #include <qtabdialog.h> | 14 | #include <qtabdialog.h> |
16 | #include <qtabwidget.h> | 15 | #include <qtabwidget.h> |
diff --git a/noncore/apps/opie-reader/WeaselCodec/WeaselCodec.pro b/noncore/apps/opie-reader/WeaselCodec/WeaselCodec.pro index 61e7dc9..f20bdc6 100644 --- a/noncore/apps/opie-reader/WeaselCodec/WeaselCodec.pro +++ b/noncore/apps/opie-reader/WeaselCodec/WeaselCodec.pro | |||
@@ -10,8 +10,8 @@ INTERFACES = | |||
10 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs | 10 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs |
11 | TARGET = Weasel | 11 | TARGET = Weasel |
12 | LIBS += -lreader_pdb -lreader_codec | 12 | LIBS += -lreader_pdb -lreader_codec |
13 | 13 | ||
14 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 14 | INCLUDEPATH+= $(OPIEDIR)/include |
15 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 15 | DEPENDPATH+= $(OPIEDIR)/include |
16 | 16 | ||
17 | include ( $(OPIEDIR)/include.pro ) | 17 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/ZText.h b/noncore/apps/opie-reader/ZText.h index 06e3bf8..199c7da 100644 --- a/noncore/apps/opie-reader/ZText.h +++ b/noncore/apps/opie-reader/ZText.h | |||
@@ -2,9 +2,8 @@ | |||
2 | #define __Text_h | 2 | #define __Text_h |
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <zlib.h> | 4 | #include <zlib.h> |
5 | #include <sys/stat.h> | 5 | #include <sys/stat.h> |
6 | #include "useqpe.h" | ||
7 | #include "CExpander.h" | 6 | #include "CExpander.h" |
8 | 7 | ||
9 | class Text: public CExpander { | 8 | class Text: public CExpander { |
10 | gzFile file; | 9 | gzFile file; |
diff --git a/noncore/apps/opie-reader/codeclib/codeclib.pro b/noncore/apps/opie-reader/codeclib/codeclib.pro index 6adcda8..c24767b 100644 --- a/noncore/apps/opie-reader/codeclib/codeclib.pro +++ b/noncore/apps/opie-reader/codeclib/codeclib.pro | |||
@@ -10,8 +10,8 @@ SOURCES = CExpander.cpp CBuffer.cpp StyleConsts.cpp \ | |||
10 | INTERFACES= | 10 | INTERFACES= |
11 | DESTDIR = $(OPIEDIR)/lib | 11 | DESTDIR = $(OPIEDIR)/lib |
12 | TARGET = reader_codec | 12 | TARGET = reader_codec |
13 | 13 | ||
14 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 14 | INCLUDEPATH+= $(OPIEDIR)/include |
15 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 15 | DEPENDPATH+= $(OPIEDIR)/include |
16 | 16 | ||
17 | include ( $(OPIEDIR)/include.pro ) | 17 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/ebookcodec.h b/noncore/apps/opie-reader/ebookcodec.h index b341e55..f6e2daf 100644 --- a/noncore/apps/opie-reader/ebookcodec.h +++ b/noncore/apps/opie-reader/ebookcodec.h | |||
@@ -2,16 +2,14 @@ | |||
2 | 2 | ||
3 | #include <qfileinfo.h> | 3 | #include <qfileinfo.h> |
4 | #include <qdir.h> | 4 | #include <qdir.h> |
5 | 5 | ||
6 | #include "useqpe.h" | ||
7 | #ifdef USEQPE | 6 | #ifdef USEQPE |
8 | #include <qpe/global.h> | 7 | #include <qpe/global.h> |
9 | #endif | 8 | #endif |
10 | 9 | ||
11 | #include "util.h" | 10 | #include "util.h" |
12 | 11 | ||
13 | #include "static.h" | ||
14 | #ifndef __STATIC | 12 | #ifndef __STATIC |
15 | #include <dlfcn.h> | 13 | #include <dlfcn.h> |
16 | class ebookcodec : public CExpander_Interface | 14 | class ebookcodec : public CExpander_Interface |
17 | { | 15 | { |
diff --git a/noncore/apps/opie-reader/iSiloCodec/iSiloCodec.pro b/noncore/apps/opie-reader/iSiloCodec/iSiloCodec.pro index 78d5a49..5cf075e 100644 --- a/noncore/apps/opie-reader/iSiloCodec/iSiloCodec.pro +++ b/noncore/apps/opie-reader/iSiloCodec/iSiloCodec.pro | |||
@@ -11,9 +11,9 @@ INTERFACES = | |||
11 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs | 11 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs |
12 | TARGET = iSilo | 12 | TARGET = iSilo |
13 | LIBS += -lreader_pdb -lreader_codec | 13 | LIBS += -lreader_pdb -lreader_codec |
14 | 14 | ||
15 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 15 | INCLUDEPATH+= $(OPIEDIR)/include |
16 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 16 | DEPENDPATH+= $(OPIEDIR)/include |
17 | 17 | ||
18 | include ( $(OPIEDIR)/include.pro ) | 18 | include ( $(OPIEDIR)/include.pro ) |
19 | 19 | ||
diff --git a/noncore/apps/opie-reader/main.cpp b/noncore/apps/opie-reader/main.cpp index 3e1f5e7..af276da 100644 --- a/noncore/apps/opie-reader/main.cpp +++ b/noncore/apps/opie-reader/main.cpp | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "useqpe.h" | ||
2 | #ifdef USEQPE | 1 | #ifdef USEQPE |
3 | #include <qpe/qpeapplication.h> | 2 | #include <qpe/qpeapplication.h> |
4 | #else | 3 | #else |
5 | #include <qapplication.h> | 4 | #include <qapplication.h> |
diff --git a/noncore/apps/opie-reader/pdb.cpp b/noncore/apps/opie-reader/pdb.cpp index 39551cc..6719af4 100644 --- a/noncore/apps/opie-reader/pdb.cpp +++ b/noncore/apps/opie-reader/pdb.cpp | |||
@@ -2,9 +2,8 @@ | |||
2 | #ifdef _WINDOWS | 2 | #ifdef _WINDOWS |
3 | #include <winsock2.h> | 3 | #include <winsock2.h> |
4 | #endif | 4 | #endif |
5 | 5 | ||
6 | #include "useqpe.h" | ||
7 | 6 | ||
8 | #ifdef USEQPE | 7 | #ifdef USEQPE |
9 | void Cpdb::suspend() | 8 | void Cpdb::suspend() |
10 | { | 9 | { |
diff --git a/noncore/apps/opie-reader/pdb.h b/noncore/apps/opie-reader/pdb.h index 7a6580d..7458919 100644 --- a/noncore/apps/opie-reader/pdb.h +++ b/noncore/apps/opie-reader/pdb.h | |||
@@ -14,9 +14,8 @@ | |||
14 | #ifndef _WINDOWS | 14 | #ifndef _WINDOWS |
15 | #include <netinet/in.h> | 15 | #include <netinet/in.h> |
16 | #endif | 16 | #endif |
17 | #include <stdio.h> | 17 | #include <stdio.h> |
18 | #include "useqpe.h" | ||
19 | #include "CExpander.h" | 18 | #include "CExpander.h" |
20 | 19 | ||
21 | /* Normal Palm typedefs */ | 20 | /* Normal Palm typedefs */ |
22 | typedef unsigned char UInt8; | 21 | typedef unsigned char UInt8; |
diff --git a/noncore/apps/opie-reader/pdblib/pdblib.pro b/noncore/apps/opie-reader/pdblib/pdblib.pro index cb861a8..830d988 100644 --- a/noncore/apps/opie-reader/pdblib/pdblib.pro +++ b/noncore/apps/opie-reader/pdblib/pdblib.pro | |||
@@ -9,8 +9,8 @@ SOURCES = pdb.cpp | |||
9 | INTERFACES= | 9 | INTERFACES= |
10 | DESTDIR = $(OPIEDIR)/lib | 10 | DESTDIR = $(OPIEDIR)/lib |
11 | TARGET = reader_pdb | 11 | TARGET = reader_pdb |
12 | 12 | ||
13 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 13 | INCLUDEPATH+= $(OPIEDIR)/include |
14 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 14 | DEPENDPATH+= $(OPIEDIR)/include |
15 | 15 | ||
16 | include ( $(OPIEDIR)/include.pro ) | 16 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/plucker.cpp b/noncore/apps/opie-reader/plucker.cpp index d1ccd6f..4ea807a 100644 --- a/noncore/apps/opie-reader/plucker.cpp +++ b/noncore/apps/opie-reader/plucker.cpp | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "useqpe.h" | ||
2 | #include <stdio.h> | 1 | #include <stdio.h> |
3 | #include <string.h> | 2 | #include <string.h> |
4 | #include <qmessagebox.h> | 3 | #include <qmessagebox.h> |
5 | #include <qpixmap.h> | 4 | #include <qpixmap.h> |
@@ -19,9 +18,8 @@ | |||
19 | 18 | ||
20 | #include "plucker.h" | 19 | #include "plucker.h" |
21 | #include "Aportis.h" | 20 | #include "Aportis.h" |
22 | #include "Palm2QImage.h" | 21 | #include "Palm2QImage.h" |
23 | #include "static.h" | ||
24 | 22 | ||
25 | 23 | ||
26 | struct CPlucker_dataRecord | 24 | struct CPlucker_dataRecord |
27 | { | 25 | { |
diff --git a/noncore/apps/opie-reader/plucker_base.cpp b/noncore/apps/opie-reader/plucker_base.cpp index 0b7fae8..d7d538f 100644 --- a/noncore/apps/opie-reader/plucker_base.cpp +++ b/noncore/apps/opie-reader/plucker_base.cpp | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "useqpe.h" | ||
2 | #include "usenef.h" | 1 | #include "usenef.h" |
3 | #include <stdio.h> | 2 | #include <stdio.h> |
4 | #include <string.h> | 3 | #include <string.h> |
5 | #include <qmessagebox.h> | 4 | #include <qmessagebox.h> |
@@ -20,9 +19,8 @@ | |||
20 | #include <qpe/qpeapplication.h> | 19 | #include <qpe/qpeapplication.h> |
21 | #endif /* USEQPE */ | 20 | #endif /* USEQPE */ |
22 | #include <qimage.h> | 21 | #include <qimage.h> |
23 | 22 | ||
24 | #include "static.h" | ||
25 | #include "plucker_base.h" | 23 | #include "plucker_base.h" |
26 | #include "Aportis.h" | 24 | #include "Aportis.h" |
27 | #include "hrule.h" | 25 | #include "hrule.h" |
28 | #include "util.h" | 26 | #include "util.h" |
@@ -1358,9 +1356,8 @@ tchar CPlucker_base::getch_base(bool fast) | |||
1358 | 1356 | ||
1359 | return (ch == EOF) ? UEOF : ch; | 1357 | return (ch == EOF) ? UEOF : ch; |
1360 | } | 1358 | } |
1361 | 1359 | ||
1362 | #include "static.h" | ||
1363 | #if defined(__STATIC) && defined(USENEF) | 1360 | #if defined(__STATIC) && defined(USENEF) |
1364 | #include "Model.h" | 1361 | #include "Model.h" |
1365 | void (*CPlucker_base::getdecompressor(const QString& _s))(UInt8*, size_t, UInt8*, size_t) | 1362 | void (*CPlucker_base::getdecompressor(const QString& _s))(UInt8*, size_t, UInt8*, size_t) |
1366 | { | 1363 | { |
diff --git a/noncore/apps/opie-reader/pluckerbaselib/pluckerbaselib.pro b/noncore/apps/opie-reader/pluckerbaselib/pluckerbaselib.pro index bee1a2d..7c2f31e 100644 --- a/noncore/apps/opie-reader/pluckerbaselib/pluckerbaselib.pro +++ b/noncore/apps/opie-reader/pluckerbaselib/pluckerbaselib.pro | |||
@@ -11,8 +11,8 @@ INTERFACES = | |||
11 | DESTDIR = $(OPIEDIR)/lib | 11 | DESTDIR = $(OPIEDIR)/lib |
12 | TARGET = reader_pluckerbase | 12 | TARGET = reader_pluckerbase |
13 | LIBS += -ldl | 13 | LIBS += -ldl |
14 | 14 | ||
15 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 15 | INCLUDEPATH+= $(OPIEDIR)/include |
16 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 16 | DEPENDPATH+= $(OPIEDIR)/include |
17 | 17 | ||
18 | include ( $(OPIEDIR)/include.pro ) | 18 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/ppm_expander.cpp b/noncore/apps/opie-reader/ppm_expander.cpp index ea5b955..2a4318b 100644 --- a/noncore/apps/opie-reader/ppm_expander.cpp +++ b/noncore/apps/opie-reader/ppm_expander.cpp | |||
@@ -7,9 +7,8 @@ | |||
7 | //#include <unistd.h> | 7 | //#include <unistd.h> |
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
10 | #include <time.h> | 10 | #include <time.h> |
11 | #include "static.h" | ||
12 | 11 | ||
13 | /*************************************************************************** | 12 | /*************************************************************************** |
14 | * Interface avec les routines de compression | 13 | * Interface avec les routines de compression |
15 | */ | 14 | */ |
diff --git a/noncore/apps/opie-reader/ppm_expander.h b/noncore/apps/opie-reader/ppm_expander.h index a1a3b60..ccc89c2 100644 --- a/noncore/apps/opie-reader/ppm_expander.h +++ b/noncore/apps/opie-reader/ppm_expander.h | |||
@@ -1,8 +1,7 @@ | |||
1 | #ifndef __ppm_expander_h | 1 | #ifndef __ppm_expander_h |
2 | #define __ppm_expander_h | 2 | #define __ppm_expander_h |
3 | 3 | ||
4 | #include "useqpe.h" | ||
5 | #include "CExpander.h" | 4 | #include "CExpander.h" |
6 | #include <sys/stat.h> | 5 | #include <sys/stat.h> |
7 | 6 | ||
8 | 7 | ||
diff --git a/noncore/apps/opie-reader/ppmsCodec/ppmsCodec.pro b/noncore/apps/opie-reader/ppmsCodec/ppmsCodec.pro index 8699d3b..d6ec97b 100644 --- a/noncore/apps/opie-reader/ppmsCodec/ppmsCodec.pro +++ b/noncore/apps/opie-reader/ppmsCodec/ppmsCodec.pro | |||
@@ -12,8 +12,8 @@ INTERFACES = | |||
12 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs | 12 | DESTDIR = $(OPIEDIR)/plugins/reader/codecs |
13 | TARGET = ppms | 13 | TARGET = ppms |
14 | LIBS += -lreader_codec | 14 | LIBS += -lreader_codec |
15 | 15 | ||
16 | INCLUDEPATH+= ../OREADERINC $(OPIEDIR)/include | 16 | INCLUDEPATH+= $(OPIEDIR)/include |
17 | DEPENDPATH+= ../OREADERINC $(OPIEDIR)/include | 17 | DEPENDPATH+= $(OPIEDIR)/include |
18 | 18 | ||
19 | include ( $(OPIEDIR)/include.pro ) | 19 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/opie-reader/preferences.cpp b/noncore/apps/opie-reader/preferences.cpp index b9397cf..0f59a22 100755 --- a/noncore/apps/opie-reader/preferences.cpp +++ b/noncore/apps/opie-reader/preferences.cpp | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "useqpe.h" | ||
2 | #ifndef USEQPE | 1 | #ifndef USEQPE |
3 | 2 | ||
4 | #include "preferences.h" | 3 | #include "preferences.h" |
5 | 4 | ||
diff --git a/noncore/apps/opie-reader/preferences.h b/noncore/apps/opie-reader/preferences.h index 69d1774..aeb2a84 100644 --- a/noncore/apps/opie-reader/preferences.h +++ b/noncore/apps/opie-reader/preferences.h | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "useqpe.h" | ||
2 | #ifndef USEQPE | 1 | #ifndef USEQPE |
3 | #ifndef __PREFERENCES_H | 2 | #ifndef __PREFERENCES_H |
4 | #define __PREFERENCES_H | 3 | #define __PREFERENCES_H |
5 | 4 | ||
diff --git a/noncore/apps/opie-reader/static.h b/noncore/apps/opie-reader/static.h deleted file mode 100644 index e69de29..0000000 --- a/noncore/apps/opie-reader/static.h +++ b/dev/null | |||
diff --git a/noncore/apps/opie-reader/striphtml.cpp b/noncore/apps/opie-reader/striphtml.cpp index 9cd6a0d..e86402b 100644 --- a/noncore/apps/opie-reader/striphtml.cpp +++ b/noncore/apps/opie-reader/striphtml.cpp | |||
@@ -1,9 +1,8 @@ | |||
1 | #include <qmap.h> | 1 | #include <qmap.h> |
2 | #include <qfileinfo.h> | 2 | #include <qfileinfo.h> |
3 | #include <qtextstream.h> | 3 | #include <qtextstream.h> |
4 | #include <qdir.h> | 4 | #include <qdir.h> |
5 | #include "useqpe.h" | ||
6 | #ifdef USEQPE | 5 | #ifdef USEQPE |
7 | #include <qpe/global.h> | 6 | #include <qpe/global.h> |
8 | #endif | 7 | #endif |
9 | #include "CDrawBuffer.h" | 8 | #include "CDrawBuffer.h" |
diff --git a/noncore/apps/opie-reader/useqpe.h b/noncore/apps/opie-reader/useqpe.h deleted file mode 100644 index e69de29..0000000 --- a/noncore/apps/opie-reader/useqpe.h +++ b/dev/null | |||
diff --git a/noncore/apps/opie-reader/ztxt.cpp b/noncore/apps/opie-reader/ztxt.cpp index 79c5fa4..35db05e 100644 --- a/noncore/apps/opie-reader/ztxt.cpp +++ b/noncore/apps/opie-reader/ztxt.cpp | |||
@@ -2,9 +2,8 @@ | |||
2 | #include <string.h> | 2 | #include <string.h> |
3 | #include "ztxt.h" | 3 | #include "ztxt.h" |
4 | #include "my_list.h" | 4 | #include "my_list.h" |
5 | #include "Bkmks.h" | 5 | #include "Bkmks.h" |
6 | #include "static.h" | ||
7 | 6 | ||
8 | ztxt::ztxt() : bInit(false), expandedtextbuffer(NULL), compressedtextbuffer(NULL) { /*printf("constructing:%x\n",fin);*/ } | 7 | ztxt::ztxt() : bInit(false), expandedtextbuffer(NULL), compressedtextbuffer(NULL) { /*printf("constructing:%x\n",fin);*/ } |
9 | 8 | ||
10 | 9 | ||