summaryrefslogtreecommitdiff
path: root/qte/qte-2.3.8-snapshot/qtopia.patch
blob: 0361aaf91518a06a6f7b2ca0be2872e2e92a89d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
--- /dev/null	2003-01-10 02:39:01.000000000 +1000
+++ qt-2.3.7/src/tools/qconfig-qpe.h	2003-11-09 18:32:29.000000000 +1000
@@ -0,0 +1,117 @@
+/**********************************************************************
+** Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.
+**
+** This file is part of the Qtopia Environment.
+**
+** This file may be distributed and/or modified under the terms of the
+** GNU General Public License version 2 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file.
+**
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+** See http://www.trolltech.com/gpl/ for GPL licensing information.
+**
+** Contact info@trolltech.com if any conditions of this licensing are
+** not clear to you.
+**
+**********************************************************************/
+#ifndef QT_H
+#endif // QT_H
+
+// Note that disabling more features will produce a libqte that is not
+// compatible with other libqte builds.
+
+#ifndef QT_DLL
+#define QT_DLL // Internal
+#endif
+
+// Platforms where mouse cursor is never required.
+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX)
+# define QT_NO_QWS_CURSOR
+# define QT_NO_QWS_MOUSE_AUTO
+#endif
+
+// No builtin codecs (Qtopia uses plugins to add codecs individually)
+#ifndef QT_NO_CODECS
+#define QT_NO_CODECS
+#endif
+
+// No builtin font factories (Qtopia uses plugins)
+#define QT_NO_FREETYPE
+#define QT_NO_BDF
+
+// No builtin styles (Qtopia uses plugins)
+#define QT_NO_STYLE_POCKETPC
+#ifndef QT_NO_STYLE_AQUA
+# define QT_NO_STYLE_AQUA
+#endif
+#define QT_NO_STYLE_MOTIF
+#define QT_NO_STYLE_PLATINUM
+
+// No builtin WM styles (Qtopia uses plugins)
+#define QT_NO_QWS_BEOS_WM_STYLE
+#define QT_NO_QWS_KDE2_WM_STYLE
+#define QT_NO_QWS_KDE_WM_STYLE
+#define QT_NO_QWS_WINDOWS_WM_STYLE
+
+// Space savings: disable expensive features
+#define QT_NO_UNICODETABLES
+#ifndef QT_NO_IMAGEIO_MNG
+# define QT_NO_IMAGEIO_MNG
+#endif
+#define QT_NO_PROPERTIES
+#define QT_NO_COLORNAMES
+
+// Space savings: features insufficiently useful on handheld device
+#define QT_NO_IMAGEIO_PPM
+#define QT_NO_NETWORKPROTOCOL
+#define QT_NO_PICTURE
+#define QT_NO_PRINTER
+#define QT_NO_QWS_SAVEFONTS
+
+// Space savings: features impractical on small display
+#define QT_NO_COLORDIALOG
+#define QT_NO_FILEDIALOG
+#define QT_NO_FONTDIALOG
+
+// Space savings: features impractical on stylus device
+#define QT_NO_DIAL
+#define QT_NO_DRAGANDDROP
+#define QT_NO_IMAGE_TEXT
+#define QT_NO_INPUTDIALOG
+#define QT_NO_PRINTDIALOG
+#define QT_NO_PROGRESSDIALOG
+#define QT_NO_SEMIMODAL
+#define QT_NO_SIZEGRIP
+#define QT_NO_SPLITTER
+#define QT_NO_WORKSPACE
+
+// Speed savings: features that incur unacceptable performance penalty
+#define QT_NO_DOM
+#define QT_NO_EFFECTS
+#define QT_NO_TRANSFORMATIONS
+
+// Qt 3 features (not relevant at this time)
+#define QT_NO_TRANSLATION_BUILDER
+#define QT_NO_COMPLEXTEXT
+
+// Features included directly in Qtopia
+#if !(defined (_OS_WIN32_) || defined (_WS_WIN32_))
+#define QT_NO_WIZARD_IMPL
+#endif
+
+// Features for Qtopia under Win32 SDK
+#if defined (_OS_WIN32_) || defined (_WS_WIN32_)
+#define QT_NO_PRINTER
+#define QT_NO_QWS_LINUXFB
+#define QT_NO_QWS_MACH64
+#define QT_NO_QWS_VOODOO3
+#define QT_NO_QWS_MATROX
+#define QT_NO_QWS_VNC
+#define QT_NO_QWS_TRANSFORMED
+#define QT_NO_QWS_VGA_16
+#define QT_NO_QWS_SVGALIB
+#endif
+#define QT_NO_QMEMORYFILE