author | eilers <eilers> | 2003-11-17 16:04:15 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-11-17 16:04:15 (UTC) |
commit | d7bc4cb1af3ef107b3acc30fb6b4da36b7bdffea (patch) (unidiff) | |
tree | 78c58ab76e7244fb72eb02c8b5bdcf30e5c66741 | |
parent | 74a1afb21424a4f69c7a01fda2cc517daf69fd82 (diff) | |
download | opie-d7bc4cb1af3ef107b3acc30fb6b4da36b7bdffea.zip opie-d7bc4cb1af3ef107b3acc30fb6b4da36b7bdffea.tar.gz opie-d7bc4cb1af3ef107b3acc30fb6b4da36b7bdffea.tar.bz2 |
Panther patches included
-rw-r--r-- | qt/qt-2.3.7.patch/qte237-all-macosx.patch | 448 |
1 files changed, 64 insertions, 384 deletions
diff --git a/qt/qt-2.3.7.patch/qte237-all-macosx.patch b/qt/qt-2.3.7.patch/qte237-all-macosx.patch index 82ed530..d1b3fdc 100644 --- a/qt/qt-2.3.7.patch/qte237-all-macosx.patch +++ b/qt/qt-2.3.7.patch/qte237-all-macosx.patch | |||
@@ -1,1161 +1,841 @@ | |||
1 | diff -ru qte-2.3.7_orig/include/qapplication.h qte-2.3.7/include/qapplication.h | 1 | diff -ru qt-2.3.7/include/qapplication.h qte-2.3.7/include/qapplication.h |
2 | --- qte-2.3.7_orig/include/qapplication.hThu Jul 17 03:20:25 2003 | 2 | --- qt-2.3.7/include/qapplication.hThu Jul 17 03:20:25 2003 |
3 | +++ qte-2.3.7/include/qapplication.hMon Oct 27 14:21:28 2003 | 3 | +++ qte-2.3.7/include/qapplication.hMon Oct 27 14:21:28 2003 |
4 | @@ -61,6 +61,10 @@ | 4 | @@ -61,6 +61,10 @@ |
5 | class QSemaphore; | 5 | class QSemaphore; |
6 | #endif | 6 | #endif |
7 | 7 | ||
8 | +#if !defined( QT_WEAK_SYMBOL ) | 8 | +#if !defined( QT_WEAK_SYMBOL ) |
9 | +#define QT_WEAK_SYMBOL | 9 | +#define QT_WEAK_SYMBOL |
10 | +#endif | 10 | +#endif |
11 | + | 11 | + |
12 | // REMOVE IN 3.0 (just here for moc source compatibility) | 12 | // REMOVE IN 3.0 (just here for moc source compatibility) |
13 | #define QNonBaseApplication QApplication | 13 | #define QNonBaseApplication QApplication |
14 | 14 | ||
15 | @@ -85,7 +89,10 @@ | 15 | @@ -85,7 +89,10 @@ |
16 | 16 | ||
17 | #ifndef QT_NO_STYLE | 17 | #ifndef QT_NO_STYLE |
18 | static QStyle &style(); | 18 | static QStyle &style(); |
19 | - static void setStyle( QStyle* ); | 19 | - static void setStyle( QStyle* ); |
20 | + static void setStyle( QStyle* ) QT_WEAK_SYMBOL; | 20 | + static void setStyle( QStyle* ) QT_WEAK_SYMBOL; |
21 | +private: | 21 | +private: |
22 | +static void setStyle_NonWeak( QStyle* ); | 22 | +static void setStyle_NonWeak( QStyle* ); |
23 | +public: | 23 | +public: |
24 | #endif | 24 | #endif |
25 | #if 1/* OBSOLETE */ | 25 | #if 1/* OBSOLETE */ |
26 | enum ColorMode { NormalColors, CustomColors }; | 26 | enum ColorMode { NormalColors, CustomColors }; |
27 | @@ -106,11 +113,19 @@ | 27 | @@ -106,11 +113,19 @@ |
28 | #ifndef QT_NO_PALETTE | 28 | #ifndef QT_NO_PALETTE |
29 | static QPalette palette( const QWidget* = 0 ); | 29 | static QPalette palette( const QWidget* = 0 ); |
30 | static void setPalette( const QPalette &, bool informWidgets=FALSE, | 30 | static void setPalette( const QPalette &, bool informWidgets=FALSE, |
31 | + const char* className = 0 ) QT_WEAK_SYMBOL; | 31 | + const char* className = 0 ) QT_WEAK_SYMBOL; |
32 | +private: | 32 | +private: |
33 | + static void setPalette_NonWeak( const QPalette &, bool informWidgets=FALSE, | 33 | + static void setPalette_NonWeak( const QPalette &, bool informWidgets=FALSE, |
34 | const char* className = 0 ); | 34 | const char* className = 0 ); |
35 | +public: | 35 | +public: |
36 | #endif | 36 | #endif |
37 | static QFont font( const QWidget* = 0 ); | 37 | static QFont font( const QWidget* = 0 ); |
38 | static void setFont( const QFont &, bool informWidgets=FALSE, | 38 | static void setFont( const QFont &, bool informWidgets=FALSE, |
39 | + const char* className = 0 ) QT_WEAK_SYMBOL; | 39 | + const char* className = 0 ) QT_WEAK_SYMBOL; |
40 | +private: | 40 | +private: |
41 | + static void setFont_NonWeak( const QFont &, bool informWidgets=FALSE, | 41 | + static void setFont_NonWeak( const QFont &, bool informWidgets=FALSE, |
42 | const char* className = 0 ); | 42 | const char* className = 0 ); |
43 | +public: | 43 | +public: |
44 | static QFontMetrics fontMetrics(); | 44 | static QFontMetrics fontMetrics(); |
45 | 45 | ||
46 | QWidget *mainWidget() const; | 46 | QWidget *mainWidget() const; |
47 | @@ -207,7 +222,10 @@ | 47 | @@ -207,7 +222,10 @@ |
48 | void qwsSetCustomColors( QRgb *colortable, int start, int numColors ); | 48 | void qwsSetCustomColors( QRgb *colortable, int start, int numColors ); |
49 | #ifndef QT_NO_QWS_MANAGER | 49 | #ifndef QT_NO_QWS_MANAGER |
50 | static QWSDecoration &qwsDecoration(); | 50 | static QWSDecoration &qwsDecoration(); |
51 | - static void qwsSetDecoration( QWSDecoration *); | 51 | - static void qwsSetDecoration( QWSDecoration *); |
52 | + static void qwsSetDecoration( QWSDecoration *) QT_WEAK_SYMBOL; | 52 | + static void qwsSetDecoration( QWSDecoration *) QT_WEAK_SYMBOL; |
53 | +private: | 53 | +private: |
54 | + static void qwsSetDecoration_NonWeak( QWSDecoration *); | 54 | + static void qwsSetDecoration_NonWeak( QWSDecoration *); |
55 | +public: | 55 | +public: |
56 | #endif | 56 | #endif |
57 | #endif | 57 | #endif |
58 | 58 | ||
59 | Only in qte-2.3.7/include: qconfig-qpe.h | 59 | diff -ru qt-2.3.7/include/qconfig.h qte-2.3.7/include/qconfig.h |
60 | diff -ru qte-2.3.7_orig/include/qconfig.h qte-2.3.7/include/qconfig.h | 60 | --- qt-2.3.7/include/qconfig.hFri Jan 26 14:43:06 2001 |
61 | --- qte-2.3.7_orig/include/qconfig.hFri Jan 26 14:43:06 2001 | 61 | +++ qte-2.3.7/include/qconfig.hSun Nov 16 13:35:10 2003 |
62 | +++ qte-2.3.7/include/qconfig.hWed Oct 29 22:13:16 2003 | ||
63 | @@ -1,3 +1,26 @@ | 62 | @@ -1,3 +1,26 @@ |
64 | +// Copied from qconfig-qpe.h | 63 | +// Copied from qconfig-qpe.h |
65 | +/********************************************************************** | 64 | +/********************************************************************** |
66 | +** Copyright (C) 2000 Trolltech AS. All rights reserved. | 65 | +** Copyright (C) 2000 Trolltech AS. All rights reserved. |
67 | +** | 66 | +** |
68 | +** This file is part of Qtopia Environment. | 67 | +** This file is part of Qtopia Environment. |
69 | +** | 68 | +** |
70 | +** This file may be distributed and/or modified under the terms of the | 69 | +** This file may be distributed and/or modified under the terms of the |
71 | +** GNU General Public License version 2 as published by the Free Software | 70 | +** GNU General Public License version 2 as published by the Free Software |
72 | +** Foundation and appearing in the file LICENSE.GPL included in the | 71 | +** Foundation and appearing in the file LICENSE.GPL included in the |
73 | +** packaging of this file. | 72 | +** packaging of this file. |
74 | +** | 73 | +** |
75 | +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 74 | +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
76 | +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 75 | +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
77 | +** | 76 | +** |
78 | +** See http://www.trolltech.com/gpl/ for GPL licensing information. | 77 | +** See http://www.trolltech.com/gpl/ for GPL licensing information. |
79 | +** | 78 | +** |
80 | +** Contact info@trolltech.com if any conditions of this licensing are | 79 | +** Contact info@trolltech.com if any conditions of this licensing are |
81 | +** not clear to you. | 80 | +** not clear to you. |
82 | +** | 81 | +** |
83 | +**********************************************************************/ | 82 | +**********************************************************************/ |
84 | +#ifndef QT_H | 83 | +#ifndef QT_H |
85 | +#endif // QT_H | 84 | +#endif // QT_H |
86 | + | 85 | + |
87 | // Empty leaves all features enabled. See doc/html/features.html for choices. | 86 | // Empty leaves all features enabled. See doc/html/features.html for choices. |
88 | 87 | ||
89 | // Note that disabling some features will produce a libqt that is not | 88 | // Note that disabling some features will produce a libqt that is not |
90 | @@ -8,3 +31,69 @@ | 89 | @@ -8,3 +31,71 @@ |
91 | #ifndef QT_DLL | 90 | #ifndef QT_DLL |
92 | #define QT_DLL // Internal | 91 | #define QT_DLL // Internal |
93 | #endif | 92 | #endif |
94 | + | 93 | + |
95 | +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) | 94 | +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) |
96 | +# define QT_NO_QWS_CURSOR | 95 | +# define QT_NO_QWS_CURSOR |
97 | +# define QT_NO_QWS_MOUSE_AUTO | 96 | +# define QT_NO_QWS_MOUSE_AUTO |
98 | +#endif | 97 | +#endif |
99 | +#ifndef QT_NO_CODECS | 98 | +#ifndef QT_NO_CODECS |
100 | +#define QT_NO_CODECS | 99 | +#define QT_NO_CODECS |
101 | +#endif | 100 | +#endif |
102 | +#define QT_NO_UNICODETABLES | 101 | +#define QT_NO_UNICODETABLES |
103 | +//#define QT_NO_IMAGEIO_BMP | 102 | +//#define QT_NO_IMAGEIO_BMP |
104 | +#define QT_NO_IMAGEIO_PPM | 103 | +#define QT_NO_IMAGEIO_PPM |
105 | +//#define QT_NO_ASYNC_IO | 104 | +//#define QT_NO_ASYNC_IO |
106 | +//#define QT_NO_ASYNC_IMAGE_IO | 105 | +//#define QT_NO_ASYNC_IMAGE_IO |
107 | +#define QT_NO_FREETYPE | 106 | +#define QT_NO_FREETYPE |
108 | +#define QT_NO_BDF | 107 | +#define QT_NO_BDF |
109 | +//#define QT_NO_FONTDATABASE | 108 | +//#define QT_NO_FONTDATABASE |
110 | +#define QT_NO_DRAGANDDROP | 109 | +#define QT_NO_DRAGANDDROP |
111 | +//#define QT_NO_CLIPBOARD | 110 | +//#define QT_NO_CLIPBOARD |
112 | +#define QT_NO_PROPERTIES | 111 | +#define QT_NO_PROPERTIES |
113 | +#define QT_NO_NETWORKPROTOCOL | 112 | +#define QT_NO_NETWORKPROTOCOL |
114 | + | 113 | + |
115 | +#define QT_NO_IMAGE_TEXT | 114 | +#define QT_NO_IMAGE_TEXT |
116 | + | 115 | + |
117 | +//#define QT_NO_TOOLTIP | 116 | +//#define QT_NO_TOOLTIP |
118 | +#define QT_NO_COLORNAMES | 117 | +#define QT_NO_COLORNAMES |
119 | +#define QT_NO_TRANSFORMATIONS | 118 | +#define QT_NO_TRANSFORMATIONS |
120 | +#define QT_NO_TRANSLATION_BUILDER | 119 | +#define QT_NO_TRANSLATION_BUILDER |
121 | +#define QT_NO_COMPLEXTEXT | 120 | +#define QT_NO_COMPLEXTEXT |
122 | +#define QT_NO_PRINTER | 121 | +#define QT_NO_PRINTER |
123 | +#define QT_NO_PICTURE | 122 | +#define QT_NO_PICTURE |
124 | +//#define QT_NO_ICONVIEW | 123 | +//#define QT_NO_ICONVIEW |
125 | +#define QT_NO_DIAL | 124 | +#define QT_NO_DIAL |
126 | +#define QT_NO_SIZEGRIP | 125 | +#define QT_NO_SIZEGRIP |
127 | +#define QT_NO_WORKSPACE | 126 | +#define QT_NO_WORKSPACE |
128 | +//#define QT_NO_TABLE | 127 | +//#define QT_NO_TABLE |
129 | +//#define QT_NO_ACTION | 128 | +//#define QT_NO_ACTION |
130 | +//#define QT_NO_SETTINGS | 129 | +//#define QT_NO_SETTINGS |
131 | +#define QT_NO_STYLE_POCKETPC | 130 | +#define QT_NO_STYLE_POCKETPC |
132 | +#ifndef QT_NO_STYLE_AQUA | 131 | +#ifndef QT_NO_STYLE_AQUA |
133 | +# define QT_NO_STYLE_AQUA | 132 | +# define QT_NO_STYLE_AQUA |
134 | +#endif | 133 | +#endif |
135 | +#define QT_NO_STYLE_MOTIF | 134 | +#define QT_NO_STYLE_MOTIF |
136 | +#define QT_NO_STYLE_PLATINUM | 135 | +#define QT_NO_STYLE_PLATINUM |
137 | +#define QT_NO_FILEDIALOG | 136 | +#define QT_NO_FILEDIALOG |
138 | +#define QT_NO_FONTDIALOG | 137 | +#define QT_NO_FONTDIALOG |
139 | +#define QT_NO_PRINTDIALOG | 138 | +#define QT_NO_PRINTDIALOG |
140 | +#define QT_NO_COLORDIALOG | 139 | +#define QT_NO_COLORDIALOG |
141 | +#define QT_NO_INPUTDIALOG | 140 | +#define QT_NO_INPUTDIALOG |
142 | +//#define QT_NO_MESSAGEBOX | 141 | +//#define QT_NO_MESSAGEBOX |
143 | +#define QT_NO_PROGRESSDIALOG | 142 | +#define QT_NO_PROGRESSDIALOG |
144 | +//#define QT_NO_TABDIALOG | 143 | +//#define QT_NO_TABDIALOG |
145 | +#define QT_NO_WIZARD | 144 | +#define QT_NO_WIZARD |
146 | +#define QT_NO_EFFECTS | 145 | +#define QT_NO_EFFECTS |
147 | +//#define QT_NO_COMPONENT | 146 | +//#define QT_NO_COMPONENT |
148 | +#define QT_NO_DOM | 147 | +#define QT_NO_DOM |
149 | +#define QT_NO_SEMIMODAL | 148 | +#define QT_NO_SEMIMODAL |
150 | +//#define QT_NO_PROGRESSBAR | 149 | +//#define QT_NO_PROGRESSBAR |
151 | +#define QT_NO_SPLITTER | 150 | +#define QT_NO_SPLITTER |
152 | + | 151 | + |
153 | +//#define QT_NO_QWS_SAVEFONTS | 152 | +//#define QT_NO_QWS_SAVEFONTS |
154 | +//#define QT_NO_QWS_PROPERTIES | 153 | +//#define QT_NO_QWS_PROPERTIES |
155 | + | 154 | + |
156 | +#define QT_NO_QWS_BEOS_WM_STYLE | 155 | +#define QT_NO_QWS_BEOS_WM_STYLE |
157 | +#define QT_NO_QWS_KDE2_WM_STYLE | 156 | +#define QT_NO_QWS_KDE2_WM_STYLE |
158 | +#define QT_NO_QWS_KDE_WM_STYLE | 157 | +#define QT_NO_QWS_KDE_WM_STYLE |
159 | +#define QT_NO_QWS_WINDOWS_WM_STYLE | 158 | +#define QT_NO_QWS_WINDOWS_WM_STYLE |
160 | diff -ru qte-2.3.7_orig/include/qfontdatabase.h qte-2.3.7/include/qfontdatabase.h | 159 | + |
161 | --- qte-2.3.7_orig/include/qfontdatabase.hThu Jul 17 03:20:25 2003 | 160 | +#define QT_NO_SOUND |
161 | \ No newline at end of file | ||
162 | diff -ru qt-2.3.7/include/qfontdatabase.h qte-2.3.7/include/qfontdatabase.h | ||
163 | --- qt-2.3.7/include/qfontdatabase.hThu Jul 17 03:20:25 2003 | ||
162 | +++ qte-2.3.7/include/qfontdatabase.hMon Oct 27 14:21:28 2003 | 164 | +++ qte-2.3.7/include/qfontdatabase.hMon Oct 27 14:21:28 2003 |
163 | @@ -59,6 +59,10 @@ | 165 | @@ -59,6 +59,10 @@ |
164 | class QDiskFont; | 166 | class QDiskFont; |
165 | #endif | 167 | #endif |
166 | 168 | ||
167 | +#if !defined( QT_WEAK_SYMBOL ) | 169 | +#if !defined( QT_WEAK_SYMBOL ) |
168 | +#define QT_WEAK_SYMBOL | 170 | +#define QT_WEAK_SYMBOL |
169 | +#endif | 171 | +#endif |
170 | + | 172 | + |
171 | class QFontDatabasePrivate; | 173 | class QFontDatabasePrivate; |
172 | 174 | ||
173 | class Q_EXPORT QFontDatabase | 175 | class Q_EXPORT QFontDatabase |
174 | @@ -67,9 +71,16 @@ | 176 | @@ -67,9 +71,16 @@ |
175 | QFontDatabase(); | 177 | QFontDatabase(); |
176 | 178 | ||
177 | QStringList families( bool onlyForLocale = TRUE ) const; | 179 | QStringList families( bool onlyForLocale = TRUE ) const; |
178 | + | 180 | + |
179 | + | 181 | + |
180 | QValueList<int> pointSizes( const QString &family, | 182 | QValueList<int> pointSizes( const QString &family, |
181 | const QString &style = QString::null, | 183 | const QString &style = QString::null, |
182 | - const QString &charSet = QString::null ); | 184 | - const QString &charSet = QString::null ); |
183 | + const QString &charSet = QString::null ) QT_WEAK_SYMBOL; | 185 | + const QString &charSet = QString::null ) QT_WEAK_SYMBOL; |
184 | +private: | 186 | +private: |
185 | + QValueList<int> pointSizes_NonWeak( const QString &family, | 187 | + QValueList<int> pointSizes_NonWeak( const QString &family, |
186 | + const QString &style, | 188 | + const QString &style, |
187 | + const QString &charSet ); | 189 | + const QString &charSet ); |
188 | +public: | 190 | +public: |
189 | QStringList styles( const QString &family, | 191 | QStringList styles( const QString &family, |
190 | const QString &charSet = QString::null ) const; | 192 | const QString &charSet = QString::null ) const; |
191 | QStringList charSets( const QString &familyName, | 193 | QStringList charSets( const QString &familyName, |
192 | Only in qte-2.3.7_orig/include: qgifimageformat_p.h | 194 | diff -ru qt-2.3.7/include/qmodules.h qte-2.3.7/include/qmodules.h |
193 | diff -ru qte-2.3.7_orig/include/qmodules.h qte-2.3.7/include/qmodules.h | 195 | --- qt-2.3.7/include/qmodules.hFri Aug 31 17:00:56 2001 |
194 | --- qte-2.3.7_orig/include/qmodules.hFri Aug 31 17:00:56 2001 | 196 | +++ qte-2.3.7/include/qmodules.hSun Nov 16 13:34:58 2003 |
195 | +++ qte-2.3.7/include/qmodules.hWed Oct 29 21:57:53 2003 | ||
196 | @@ -1,14 +1,12 @@ | 197 | @@ -1,14 +1,12 @@ |
197 | -#ifndef QT_H | 198 | -#ifndef QT_H |
198 | -#endif // QT_H | 199 | -#endif // QT_H |
199 | - | 200 | - |
200 | +// These modules are licensed to you | 201 | +// These modules are licensed to you |
201 | #define QT_MODULE_TOOLS | 202 | #define QT_MODULE_TOOLS |
202 | #define QT_MODULE_KERNEL | 203 | #define QT_MODULE_KERNEL |
203 | #define QT_MODULE_WIDGETS | 204 | #define QT_MODULE_WIDGETS |
204 | #define QT_MODULE_DIALOGS | 205 | #define QT_MODULE_DIALOGS |
205 | - | 206 | - |
206 | #define QT_MODULE_ICONVIEW | 207 | #define QT_MODULE_ICONVIEW |
207 | #define QT_MODULE_WORKSPACE | 208 | #define QT_MODULE_WORKSPACE |
208 | -#define QT_MODULE_TABLE | 209 | -#define QT_MODULE_TABLE |
209 | +#define QT_MODULE_NETWORK | 210 | +#define QT_MODULE_NETWORK |
210 | #define QT_MODULE_CANVAS | 211 | #define QT_MODULE_CANVAS |
211 | +#define QT_MODULE_TABLE | 212 | +#define QT_MODULE_TABLE |
212 | #define QT_MODULE_XML | 213 | #define QT_MODULE_XML |
213 | -#define QT_MODULE_NETWORK | 214 | -#define QT_MODULE_NETWORK |
214 | +#define QT_MODULE_OPENGL | 215 | +#define QT_MODULE_OPENGL |
215 | Only in qte-2.3.7_orig/include: qxt.h | 216 | diff -ru qt-2.3.7/src/kernel/qapplication.cpp qte-2.3.7/src/kernel/qapplication.cpp |
216 | Only in qte-2.3.7/lib: libqte.dylib | 217 | --- qt-2.3.7/src/kernel/qapplication.cppThu Jul 17 03:20:25 2003 |
217 | Only in qte-2.3.7/lib: libqte.dylib.2 | ||
218 | Only in qte-2.3.7/lib: libqte.dylib.2.3 | ||
219 | Only in qte-2.3.7/lib: libqte.dylib.2.3.7 | ||
220 | Only in qte-2.3.7/src/3rdparty/kernel: qgifimageformat.o | ||
221 | Only in qte-2.3.7/src/3rdparty/kernel: qpointarray.o | ||
222 | Only in qte-2.3.7/src/3rdparty/kernel: qpolygonscanner.o | ||
223 | Only in qte-2.3.7/src/3rdparty/kernel: qregion_qws.o | ||
224 | Only in qte-2.3.7/src/3rdparty/libpng: png.o | ||
225 | Only in qte-2.3.7/src/3rdparty/libpng: pngerror.o | ||
226 | Only in qte-2.3.7/src/3rdparty/libpng: pngget.o | ||
227 | Only in qte-2.3.7/src/3rdparty/libpng: pngmem.o | ||
228 | Only in qte-2.3.7/src/3rdparty/libpng: pngpread.o | ||
229 | Only in qte-2.3.7/src/3rdparty/libpng: pngread.o | ||
230 | Only in qte-2.3.7/src/3rdparty/libpng: pngrio.o | ||
231 | Only in qte-2.3.7/src/3rdparty/libpng: pngrtran.o | ||
232 | Only in qte-2.3.7/src/3rdparty/libpng: pngrutil.o | ||
233 | Only in qte-2.3.7/src/3rdparty/libpng: pngset.o | ||
234 | Only in qte-2.3.7/src/3rdparty/libpng: pngtrans.o | ||
235 | Only in qte-2.3.7/src/3rdparty/libpng: pngwio.o | ||
236 | Only in qte-2.3.7/src/3rdparty/libpng: pngwrite.o | ||
237 | Only in qte-2.3.7/src/3rdparty/libpng: pngwtran.o | ||
238 | Only in qte-2.3.7/src/3rdparty/libpng: pngwutil.o | ||
239 | Only in qte-2.3.7/src/3rdparty/tools: qbig5codec.o | ||
240 | Only in qte-2.3.7/src/3rdparty/tools: qeucjpcodec.o | ||
241 | Only in qte-2.3.7/src/3rdparty/tools: qeuckrcodec.o | ||
242 | Only in qte-2.3.7/src/3rdparty/tools: qgbkcodec.o | ||
243 | Only in qte-2.3.7/src/3rdparty/tools: qjiscodec.o | ||
244 | Only in qte-2.3.7/src/3rdparty/tools: qjpunicode.o | ||
245 | Only in qte-2.3.7/src/3rdparty/tools: qrtlcodec.o | ||
246 | Only in qte-2.3.7/src/3rdparty/tools: qsjiscodec.o | ||
247 | Only in qte-2.3.7/src/3rdparty/tools: qtsciicodec.o | ||
248 | Only in qte-2.3.7/src/3rdparty/zlib: Makefile | ||
249 | Only in qte-2.3.7/src/3rdparty/zlib: adler32.o | ||
250 | Only in qte-2.3.7/src/3rdparty/zlib: compress.o | ||
251 | Only in qte-2.3.7/src/3rdparty/zlib: crc32.o | ||
252 | Only in qte-2.3.7/src/3rdparty/zlib: deflate.o | ||
253 | Only in qte-2.3.7/src/3rdparty/zlib: gzio.o | ||
254 | Only in qte-2.3.7/src/3rdparty/zlib: infblock.o | ||
255 | Only in qte-2.3.7/src/3rdparty/zlib: infcodes.o | ||
256 | Only in qte-2.3.7/src/3rdparty/zlib: inffast.o | ||
257 | Only in qte-2.3.7/src/3rdparty/zlib: inflate.o | ||
258 | Only in qte-2.3.7/src/3rdparty/zlib: inftrees.o | ||
259 | Only in qte-2.3.7/src/3rdparty/zlib: infutil.o | ||
260 | Only in qte-2.3.7/src/3rdparty/zlib: trees.o | ||
261 | Only in qte-2.3.7/src/3rdparty/zlib: uncompr.o | ||
262 | Only in qte-2.3.7/src/3rdparty/zlib: zutil.o | ||
263 | Only in qte-2.3.7/src: Makefile | ||
264 | Only in qte-2.3.7/src: allmoc.cpp | ||
265 | Only in qte-2.3.7/src: allmoc.o | ||
266 | Only in qte-2.3.7/src/canvas: qcanvas.o | ||
267 | Only in qte-2.3.7/src/dialogs: qcolordialog.moc | ||
268 | Only in qte-2.3.7/src/dialogs: qcolordialog.o | ||
269 | Only in qte-2.3.7/src/dialogs: qfiledialog.moc | ||
270 | Only in qte-2.3.7/src/dialogs: qfiledialog.o | ||
271 | Only in qte-2.3.7/src/dialogs: qfontdialog.o | ||
272 | Only in qte-2.3.7/src/dialogs: qinputdialog.o | ||
273 | Only in qte-2.3.7/src/dialogs: qmessagebox.o | ||
274 | Only in qte-2.3.7/src/dialogs: qprintdialog.o | ||
275 | Only in qte-2.3.7/src/dialogs: qprogressdialog.o | ||
276 | Only in qte-2.3.7/src/dialogs: qtabdialog.o | ||
277 | Only in qte-2.3.7/src/dialogs: qwizard.o | ||
278 | Only in qte-2.3.7/src/iconview: qiconview.o | ||
279 | Only in qte-2.3.7/src/kernel: qabstractlayout.o | ||
280 | Only in qte-2.3.7/src/kernel: qaccel.o | ||
281 | diff -ru qte-2.3.7_orig/src/kernel/qapplication.cpp qte-2.3.7/src/kernel/qapplication.cpp | ||
282 | --- qte-2.3.7_orig/src/kernel/qapplication.cppThu Jul 17 03:20:25 2003 | ||
283 | +++ qte-2.3.7/src/kernel/qapplication.cppMon Oct 27 14:21:28 2003 | 218 | +++ qte-2.3.7/src/kernel/qapplication.cppMon Oct 27 14:21:28 2003 |
284 | @@ -35,6 +35,8 @@ | 219 | @@ -35,6 +35,8 @@ |
285 | ** | 220 | ** |
286 | **********************************************************************/ | 221 | **********************************************************************/ |
287 | 222 | ||
288 | +#define QT_WEAK_SYMBOL__attribute__(( weak )) | 223 | +#define QT_WEAK_SYMBOL__attribute__(( weak )) |
289 | + | 224 | + |
290 | #include "qobjectlist.h" | 225 | #include "qobjectlist.h" |
291 | #include "qobjectdict.h" | 226 | #include "qobjectdict.h" |
292 | #include "qapplication.h" | 227 | #include "qapplication.h" |
293 | @@ -933,11 +935,16 @@ | 228 | @@ -933,11 +935,16 @@ |
294 | #ifndef QT_NO_STYLE | 229 | #ifndef QT_NO_STYLE |
295 | void QApplication::setStyle( QStyle *style ) | 230 | void QApplication::setStyle( QStyle *style ) |
296 | { | 231 | { |
297 | +setStyle_NonWeak ( style ); | 232 | +setStyle_NonWeak ( style ); |
298 | +} | 233 | +} |
299 | + | 234 | + |
300 | +void QApplication::setStyle_NonWeak( QStyle *style ) | 235 | +void QApplication::setStyle_NonWeak( QStyle *style ) |
301 | +{ | 236 | +{ |
302 | QStyle* old = app_style; | 237 | QStyle* old = app_style; |
303 | - app_style = style; | 238 | - app_style = style; |
304 | 239 | ||
305 | if ( startingUp() ) { | 240 | if ( startingUp() ) { |
306 | delete old; | 241 | delete old; |
307 | +app_style = style; | 242 | +app_style = style; |
308 | return; | 243 | return; |
309 | } | 244 | } |
310 | 245 | ||
311 | @@ -958,6 +965,8 @@ | 246 | @@ -958,6 +965,8 @@ |
312 | old->unPolish( qApp ); | 247 | old->unPolish( qApp ); |
313 | } | 248 | } |
314 | 249 | ||
315 | + app_style = style; | 250 | + app_style = style; |
316 | + | 251 | + |
317 | // take care of possible palette requirements of certain gui | 252 | // take care of possible palette requirements of certain gui |
318 | // styles. Do it before polishing the application since the style | 253 | // styles. Do it before polishing the application since the style |
319 | // might call QApplication::setStyle() itself | 254 | // might call QApplication::setStyle() itself |
320 | @@ -1184,13 +1193,30 @@ | 255 | @@ -1184,13 +1193,30 @@ |
321 | \sa QWidget::setPalette(), palette(), QStyle::polish() | 256 | \sa QWidget::setPalette(), palette(), QStyle::polish() |
322 | */ | 257 | */ |
323 | 258 | ||
324 | -void QApplication::setPalette( const QPalette &palette, bool informWidgets, | 259 | -void QApplication::setPalette( const QPalette &palette, bool informWidgets, |
325 | +void QApplication::setPalette ( const QPalette &palette, bool informWidgets, | 260 | +void QApplication::setPalette ( const QPalette &palette, bool informWidgets, |
326 | + const char* className ) | 261 | + const char* className ) |
327 | +{ | 262 | +{ |
328 | +setPalette_NonWeak ( palette, informWidgets, className ); | 263 | +setPalette_NonWeak ( palette, informWidgets, className ); |
329 | +} | 264 | +} |
330 | + | 265 | + |
331 | +void QApplication::setPalette_NonWeak ( const QPalette &palette, bool informWidgets, | 266 | +void QApplication::setPalette_NonWeak ( const QPalette &palette, bool informWidgets, |
332 | const char* className ) | 267 | const char* className ) |
333 | { | 268 | { |
334 | QPalette pal = palette; | 269 | QPalette pal = palette; |
335 | #ifndef QT_NO_STYLE | 270 | #ifndef QT_NO_STYLE |
336 | - if ( !startingUp() ) | 271 | - if ( !startingUp() ) |
337 | + if ( !startingUp() ) { | 272 | + if ( !startingUp() ) { |
338 | qApp->style().polish( pal );// NB: non-const reference | 273 | qApp->style().polish( pal );// NB: non-const reference |
339 | +if ( className ) { | 274 | +if ( className ) { |
340 | + // if we just polished a class specific palette (this normally | 275 | + // if we just polished a class specific palette (this normally |
341 | + // only called by qt_fix_tooltips - see below), we better re- | 276 | + // only called by qt_fix_tooltips - see below), we better re- |
342 | + // polish the global palette. Some styles like liquid can get | 277 | + // polish the global palette. Some styles like liquid can get |
343 | + // confused, because they can not detect if the polished palette | 278 | + // confused, because they can not detect if the polished palette |
344 | + // is the global one or only a class specific one. | 279 | + // is the global one or only a class specific one. |
345 | + // (liquid uses this palette to calculate blending pixmaps) | 280 | + // (liquid uses this palette to calculate blending pixmaps) |
346 | + QPalette p = qApp-> palette ( ); | 281 | + QPalette p = qApp-> palette ( ); |
347 | + qApp->style().polish ( p ); | 282 | + qApp->style().polish ( p ); |
348 | +} | 283 | +} |
349 | + } | 284 | + } |
350 | #endif | 285 | #endif |
351 | bool all = FALSE; | 286 | bool all = FALSE; |
352 | if ( !className ) { | 287 | if ( !className ) { |
353 | @@ -1273,6 +1299,12 @@ | 288 | @@ -1273,6 +1299,12 @@ |
354 | */ | 289 | */ |
355 | 290 | ||
356 | void QApplication::setFont( const QFont &font, bool informWidgets, | 291 | void QApplication::setFont( const QFont &font, bool informWidgets, |
357 | + const char* className ) | 292 | + const char* className ) |
358 | +{ | 293 | +{ |
359 | +setFont_NonWeak ( font, informWidgets, className ); | 294 | +setFont_NonWeak ( font, informWidgets, className ); |
360 | +} | 295 | +} |
361 | + | 296 | + |
362 | +void QApplication::setFont_NonWeak( const QFont &font, bool informWidgets, | 297 | +void QApplication::setFont_NonWeak( const QFont &font, bool informWidgets, |
363 | const char* className ) | 298 | const char* className ) |
364 | { | 299 | { |
365 | bool all = FALSE; | 300 | bool all = FALSE; |
366 | diff -ru qte-2.3.7_orig/src/kernel/qapplication.h qte-2.3.7/src/kernel/qapplication.h | 301 | diff -ru qt-2.3.7/src/kernel/qapplication.h qte-2.3.7/src/kernel/qapplication.h |
367 | --- qte-2.3.7_orig/src/kernel/qapplication.hThu Jul 17 03:20:25 2003 | 302 | --- qt-2.3.7/src/kernel/qapplication.hThu Jul 17 03:20:25 2003 |
368 | +++ qte-2.3.7/src/kernel/qapplication.hMon Oct 27 14:21:28 2003 | 303 | +++ qte-2.3.7/src/kernel/qapplication.hMon Oct 27 14:21:28 2003 |
369 | @@ -61,6 +61,10 @@ | 304 | @@ -61,6 +61,10 @@ |
370 | class QSemaphore; | 305 | class QSemaphore; |
371 | #endif | 306 | #endif |
372 | 307 | ||
373 | +#if !defined( QT_WEAK_SYMBOL ) | 308 | +#if !defined( QT_WEAK_SYMBOL ) |
374 | +#define QT_WEAK_SYMBOL | 309 | +#define QT_WEAK_SYMBOL |
375 | +#endif | 310 | +#endif |
376 | + | 311 | + |
377 | // REMOVE IN 3.0 (just here for moc source compatibility) | 312 | // REMOVE IN 3.0 (just here for moc source compatibility) |
378 | #define QNonBaseApplication QApplication | 313 | #define QNonBaseApplication QApplication |
379 | 314 | ||
380 | @@ -85,7 +89,10 @@ | 315 | @@ -85,7 +89,10 @@ |
381 | 316 | ||
382 | #ifndef QT_NO_STYLE | 317 | #ifndef QT_NO_STYLE |
383 | static QStyle &style(); | 318 | static QStyle &style(); |
384 | - static void setStyle( QStyle* ); | 319 | - static void setStyle( QStyle* ); |
385 | + static void setStyle( QStyle* ) QT_WEAK_SYMBOL; | 320 | + static void setStyle( QStyle* ) QT_WEAK_SYMBOL; |
386 | +private: | 321 | +private: |
387 | +static void setStyle_NonWeak( QStyle* ); | 322 | +static void setStyle_NonWeak( QStyle* ); |
388 | +public: | 323 | +public: |
389 | #endif | 324 | #endif |
390 | #if 1/* OBSOLETE */ | 325 | #if 1/* OBSOLETE */ |
391 | enum ColorMode { NormalColors, CustomColors }; | 326 | enum ColorMode { NormalColors, CustomColors }; |
392 | @@ -106,11 +113,19 @@ | 327 | @@ -106,11 +113,19 @@ |
393 | #ifndef QT_NO_PALETTE | 328 | #ifndef QT_NO_PALETTE |
394 | static QPalette palette( const QWidget* = 0 ); | 329 | static QPalette palette( const QWidget* = 0 ); |
395 | static void setPalette( const QPalette &, bool informWidgets=FALSE, | 330 | static void setPalette( const QPalette &, bool informWidgets=FALSE, |
396 | + const char* className = 0 ) QT_WEAK_SYMBOL; | 331 | + const char* className = 0 ) QT_WEAK_SYMBOL; |
397 | +private: | 332 | +private: |
398 | + static void setPalette_NonWeak( const QPalette &, bool informWidgets=FALSE, | 333 | + static void setPalette_NonWeak( const QPalette &, bool informWidgets=FALSE, |
399 | const char* className = 0 ); | 334 | const char* className = 0 ); |
400 | +public: | 335 | +public: |
401 | #endif | 336 | #endif |
402 | static QFont font( const QWidget* = 0 ); | 337 | static QFont font( const QWidget* = 0 ); |
403 | static void setFont( const QFont &, bool informWidgets=FALSE, | 338 | static void setFont( const QFont &, bool informWidgets=FALSE, |
404 | + const char* className = 0 ) QT_WEAK_SYMBOL; | 339 | + const char* className = 0 ) QT_WEAK_SYMBOL; |
405 | +private: | 340 | +private: |
406 | + static void setFont_NonWeak( const QFont &, bool informWidgets=FALSE, | 341 | + static void setFont_NonWeak( const QFont &, bool informWidgets=FALSE, |
407 | const char* className = 0 ); | 342 | const char* className = 0 ); |
408 | +public: | 343 | +public: |
409 | static QFontMetrics fontMetrics(); | 344 | static QFontMetrics fontMetrics(); |
410 | 345 | ||
411 | QWidget *mainWidget() const; | 346 | QWidget *mainWidget() const; |
412 | @@ -207,7 +222,10 @@ | 347 | @@ -207,7 +222,10 @@ |
413 | void qwsSetCustomColors( QRgb *colortable, int start, int numColors ); | 348 | void qwsSetCustomColors( QRgb *colortable, int start, int numColors ); |
414 | #ifndef QT_NO_QWS_MANAGER | 349 | #ifndef QT_NO_QWS_MANAGER |
415 | static QWSDecoration &qwsDecoration(); | 350 | static QWSDecoration &qwsDecoration(); |
416 | - static void qwsSetDecoration( QWSDecoration *); | 351 | - static void qwsSetDecoration( QWSDecoration *); |
417 | + static void qwsSetDecoration( QWSDecoration *) QT_WEAK_SYMBOL; | 352 | + static void qwsSetDecoration( QWSDecoration *) QT_WEAK_SYMBOL; |
418 | +private: | 353 | +private: |
419 | + static void qwsSetDecoration_NonWeak( QWSDecoration *); | 354 | + static void qwsSetDecoration_NonWeak( QWSDecoration *); |
420 | +public: | 355 | +public: |
421 | #endif | 356 | #endif |
422 | #endif | 357 | #endif |
423 | 358 | ||
424 | Only in qte-2.3.7/src/kernel: qapplication.o | 359 | diff -ru qt-2.3.7/src/kernel/qapplication_qws.cpp qte-2.3.7/src/kernel/qapplication_qws.cpp |
425 | diff -ru qte-2.3.7_orig/src/kernel/qapplication_qws.cpp qte-2.3.7/src/kernel/qapplication_qws.cpp | 360 | --- qt-2.3.7/src/kernel/qapplication_qws.cppThu Jul 17 03:20:25 2003 |
426 | --- qte-2.3.7_orig/src/kernel/qapplication_qws.cppThu Jul 17 03:20:25 2003 | ||
427 | +++ qte-2.3.7/src/kernel/qapplication_qws.cppMon Oct 27 14:21:28 2003 | 361 | +++ qte-2.3.7/src/kernel/qapplication_qws.cppMon Oct 27 14:21:28 2003 |
428 | @@ -2804,6 +2804,11 @@ | 362 | @@ -2804,6 +2804,11 @@ |
429 | */ | 363 | */ |
430 | void QApplication::qwsSetDecoration( QWSDecoration *d ) | 364 | void QApplication::qwsSetDecoration( QWSDecoration *d ) |
431 | { | 365 | { |
432 | +qwsSetDecoration_NonWeak ( d ); | 366 | +qwsSetDecoration_NonWeak ( d ); |
433 | +} | 367 | +} |
434 | + | 368 | + |
435 | +void QApplication::qwsSetDecoration_NonWeak( QWSDecoration *d ) | 369 | +void QApplication::qwsSetDecoration_NonWeak( QWSDecoration *d ) |
436 | +{ | 370 | +{ |
437 | if ( d ) { | 371 | if ( d ) { |
438 | delete qws_decoration; | 372 | delete qws_decoration; |
439 | qws_decoration = d; | 373 | qws_decoration = d; |
440 | Only in qte-2.3.7/src/kernel: qapplication_qws.cpp~ | 374 | diff -ru qt-2.3.7/src/kernel/qfontdatabase.cpp qte-2.3.7/src/kernel/qfontdatabase.cpp |
441 | Only in qte-2.3.7/src/kernel: qapplication_qws.o | 375 | --- qt-2.3.7/src/kernel/qfontdatabase.cppThu Jul 17 03:20:25 2003 |
442 | Only in qte-2.3.7/src/kernel: qasyncimageio.o | ||
443 | Only in qte-2.3.7/src/kernel: qasyncio.o | ||
444 | Only in qte-2.3.7/src/kernel: qbitmap.o | ||
445 | Only in qte-2.3.7/src/kernel: qclipboard.o | ||
446 | Only in qte-2.3.7/src/kernel: qclipboard_qws.o | ||
447 | Only in qte-2.3.7/src/kernel: qcolor.o | ||
448 | Only in qte-2.3.7/src/kernel: qcolor_p.o | ||
449 | Only in qte-2.3.7/src/kernel: qcolor_qws.o | ||
450 | Only in qte-2.3.7/src/kernel: qconnection.o | ||
451 | Only in qte-2.3.7/src/kernel: qcopchannel_qws.moc | ||
452 | Only in qte-2.3.7/src/kernel: qcopchannel_qws.o | ||
453 | Only in qte-2.3.7/src/kernel: qcursor.o | ||
454 | Only in qte-2.3.7/src/kernel: qcursor_qws.o | ||
455 | Only in qte-2.3.7/src/kernel: qdialog.o | ||
456 | Only in qte-2.3.7/src/kernel: qdirectpainter_qws.o | ||
457 | Only in qte-2.3.7/src/kernel: qdnd_qws.o | ||
458 | Only in qte-2.3.7/src/kernel: qdragobject.o | ||
459 | Only in qte-2.3.7/src/kernel: qdrawutil.o | ||
460 | Only in qte-2.3.7/src/kernel: qdropsite.o | ||
461 | Only in qte-2.3.7/src/kernel: qevent.o | ||
462 | Only in qte-2.3.7/src/kernel: qfocusdata.o | ||
463 | Only in qte-2.3.7/src/kernel: qfont.o | ||
464 | Only in qte-2.3.7/src/kernel: qfont_qws.o | ||
465 | diff -ru qte-2.3.7_orig/src/kernel/qfontdatabase.cpp qte-2.3.7/src/kernel/qfontdatabase.cpp | ||
466 | --- qte-2.3.7_orig/src/kernel/qfontdatabase.cppThu Jul 17 03:20:25 2003 | ||
467 | +++ qte-2.3.7/src/kernel/qfontdatabase.cppMon Oct 27 14:21:28 2003 | 376 | +++ qte-2.3.7/src/kernel/qfontdatabase.cppMon Oct 27 14:21:28 2003 |
468 | @@ -35,6 +35,8 @@ | 377 | @@ -35,6 +35,8 @@ |
469 | ** | 378 | ** |
470 | **********************************************************************/ | 379 | **********************************************************************/ |
471 | 380 | ||
472 | +#define QT_WEAK_SYMBOL __attribute__(( weak )) | 381 | +#define QT_WEAK_SYMBOL __attribute__(( weak )) |
473 | + | 382 | + |
474 | #include "qfontdatabase.h" | 383 | #include "qfontdatabase.h" |
475 | 384 | ||
476 | #ifndef QT_NO_FONTDATABASE | 385 | #ifndef QT_NO_FONTDATABASE |
477 | @@ -2421,6 +2423,13 @@ | 386 | @@ -2421,6 +2423,13 @@ |
478 | */ | 387 | */ |
479 | 388 | ||
480 | QValueList<int> QFontDatabase::pointSizes( const QString &family, | 389 | QValueList<int> QFontDatabase::pointSizes( const QString &family, |
481 | + const QString &style, | 390 | + const QString &style, |
482 | + const QString &charSet ) | 391 | + const QString &charSet ) |
483 | +{ | 392 | +{ |
484 | +return pointSizes_NonWeak ( family, style, charSet ); | 393 | +return pointSizes_NonWeak ( family, style, charSet ); |
485 | +} | 394 | +} |
486 | + | 395 | + |
487 | +QValueList<int> QFontDatabase::pointSizes_NonWeak ( const QString &family, | 396 | +QValueList<int> QFontDatabase::pointSizes_NonWeak ( const QString &family, |
488 | const QString &style, | 397 | const QString &style, |
489 | const QString &charSet ) | 398 | const QString &charSet ) |
490 | { | 399 | { |
491 | diff -ru qte-2.3.7_orig/src/kernel/qfontdatabase.h qte-2.3.7/src/kernel/qfontdatabase.h | 400 | diff -ru qt-2.3.7/src/kernel/qfontdatabase.h qte-2.3.7/src/kernel/qfontdatabase.h |
492 | --- qte-2.3.7_orig/src/kernel/qfontdatabase.hThu Jul 17 03:20:25 2003 | 401 | --- qt-2.3.7/src/kernel/qfontdatabase.hThu Jul 17 03:20:25 2003 |
493 | +++ qte-2.3.7/src/kernel/qfontdatabase.hMon Oct 27 14:21:28 2003 | 402 | +++ qte-2.3.7/src/kernel/qfontdatabase.hMon Oct 27 14:21:28 2003 |
494 | @@ -59,6 +59,10 @@ | 403 | @@ -59,6 +59,10 @@ |
495 | class QDiskFont; | 404 | class QDiskFont; |
496 | #endif | 405 | #endif |
497 | 406 | ||
498 | +#if !defined( QT_WEAK_SYMBOL ) | 407 | +#if !defined( QT_WEAK_SYMBOL ) |
499 | +#define QT_WEAK_SYMBOL | 408 | +#define QT_WEAK_SYMBOL |
500 | +#endif | 409 | +#endif |
501 | + | 410 | + |
502 | class QFontDatabasePrivate; | 411 | class QFontDatabasePrivate; |
503 | 412 | ||
504 | class Q_EXPORT QFontDatabase | 413 | class Q_EXPORT QFontDatabase |
505 | @@ -67,9 +71,16 @@ | 414 | @@ -67,9 +71,16 @@ |
506 | QFontDatabase(); | 415 | QFontDatabase(); |
507 | 416 | ||
508 | QStringList families( bool onlyForLocale = TRUE ) const; | 417 | QStringList families( bool onlyForLocale = TRUE ) const; |
509 | + | 418 | + |
510 | + | 419 | + |
511 | QValueList<int> pointSizes( const QString &family, | 420 | QValueList<int> pointSizes( const QString &family, |
512 | const QString &style = QString::null, | 421 | const QString &style = QString::null, |
513 | - const QString &charSet = QString::null ); | 422 | - const QString &charSet = QString::null ); |
514 | + const QString &charSet = QString::null ) QT_WEAK_SYMBOL; | 423 | + const QString &charSet = QString::null ) QT_WEAK_SYMBOL; |
515 | +private: | 424 | +private: |
516 | + QValueList<int> pointSizes_NonWeak( const QString &family, | 425 | + QValueList<int> pointSizes_NonWeak( const QString &family, |
517 | + const QString &style, | 426 | + const QString &style, |
518 | + const QString &charSet ); | 427 | + const QString &charSet ); |
519 | +public: | 428 | +public: |
520 | QStringList styles( const QString &family, | 429 | QStringList styles( const QString &family, |
521 | const QString &charSet = QString::null ) const; | 430 | const QString &charSet = QString::null ) const; |
522 | QStringList charSets( const QString &familyName, | 431 | QStringList charSets( const QString &familyName, |
523 | Only in qte-2.3.7/src/kernel: qfontdatabase.o | 432 | diff -ru qt-2.3.7/src/kernel/qgfx_qws.cpp qte-2.3.7/src/kernel/qgfx_qws.cpp |
524 | Only in qte-2.3.7/src/kernel: qfontfactorybdf_qws.o | 433 | --- qt-2.3.7/src/kernel/qgfx_qws.cppThu Jul 17 03:20:25 2003 |
525 | Only in qte-2.3.7/src/kernel: qfontfactoryttf_qws.o | ||
526 | Only in qte-2.3.7/src/kernel: qfontmanager_qws.o | ||
527 | diff -ru qte-2.3.7_orig/src/kernel/qgfx_qws.cpp qte-2.3.7/src/kernel/qgfx_qws.cpp | ||
528 | --- qte-2.3.7_orig/src/kernel/qgfx_qws.cppThu Jul 17 03:20:25 2003 | ||
529 | +++ qte-2.3.7/src/kernel/qgfx_qws.cppMon Oct 27 14:27:25 2003 | 434 | +++ qte-2.3.7/src/kernel/qgfx_qws.cppMon Oct 27 14:27:25 2003 |
530 | @@ -32,7 +32,7 @@ | 435 | @@ -32,7 +32,7 @@ |
531 | #include "qgfx_qws.h" | 436 | #include "qgfx_qws.h" |
532 | 437 | ||
533 | #include <stdio.h> | 438 | #include <stdio.h> |
534 | -#include <dlfcn.h> | 439 | -#include <dlfcn.h> |
535 | +//#include <dlfcn.h> | 440 | +//#include <dlfcn.h> |
536 | #include <sys/types.h> | 441 | #include <sys/types.h> |
537 | #include <dirent.h> | 442 | #include <dirent.h> |
538 | #include <stdlib.h> | 443 | #include <stdlib.h> |
539 | Only in qte-2.3.7/src/kernel: qgfx_qws.o | 444 | diff -ru qt-2.3.7/src/kernel/qgfxraster_qws.cpp qte-2.3.7/src/kernel/qgfxraster_qws.cpp |
540 | diff -ru qte-2.3.7_orig/src/kernel/qgfxraster_qws.cpp qte-2.3.7/src/kernel/qgfxraster_qws.cpp | 445 | --- qt-2.3.7/src/kernel/qgfxraster_qws.cppThu Jul 17 03:20:25 2003 |
541 | --- qte-2.3.7_orig/src/kernel/qgfxraster_qws.cppThu Jul 17 03:20:25 2003 | ||
542 | +++ qte-2.3.7/src/kernel/qgfxraster_qws.cppMon Oct 27 14:27:25 2003 | 446 | +++ qte-2.3.7/src/kernel/qgfxraster_qws.cppMon Oct 27 14:27:25 2003 |
543 | @@ -75,7 +75,11 @@ | 447 | @@ -75,7 +75,11 @@ |
544 | # if __BYTE_ORDER == __BIG_ENDIAN | 448 | # if __BYTE_ORDER == __BIG_ENDIAN |
545 | # define QWS_BIG_ENDIAN | 449 | # define QWS_BIG_ENDIAN |
546 | # endif | 450 | # endif |
547 | +#elif defined(__APPLE__) | 451 | +#elif defined(__APPLE__) |
548 | +# define QWS_BIG_ENDIAN | 452 | +# define QWS_BIG_ENDIAN |
549 | #endif | 453 | #endif |
550 | +// AJ: the above (test for __APPLE__) is very hacky, but I can't | 454 | +// AJ: the above (test for __APPLE__) is very hacky, but I can't |
551 | +// think of something better at the moment. | 455 | +// think of something better at the moment. |
552 | 456 | ||
553 | // Pull this private function in from qglobal.cpp | 457 | // Pull this private function in from qglobal.cpp |
554 | extern unsigned int qt_int_sqrt( unsigned int n ); | 458 | extern unsigned int qt_int_sqrt( unsigned int n ); |
555 | @@ -3770,6 +3774,19 @@ | 459 | @@ -3770,6 +3774,19 @@ |
556 | b = srcval & 0xff; | 460 | b = srcval & 0xff; |
557 | 461 | ||
558 | unsigned char * tmp=(unsigned char *)&alphabuf[loopc]; | 462 | unsigned char * tmp=(unsigned char *)&alphabuf[loopc]; |
559 | +# ifdef QWS_BIG_ENDIAN | 463 | +# ifdef QWS_BIG_ENDIAN |
560 | + if(av==255) { | 464 | + if(av==255) { |
561 | + // Do nothing - we already have source values in r,g,b | 465 | + // Do nothing - we already have source values in r,g,b |
562 | + } else if(av==0) { | 466 | + } else if(av==0) { |
563 | + r = *(tmp+1); | 467 | + r = *(tmp+1); |
564 | + g = *(tmp+2); | 468 | + g = *(tmp+2); |
565 | + b = *(tmp+3); | 469 | + b = *(tmp+3); |
566 | + } else { | 470 | + } else { |
567 | + r = ((r-*(tmp+1)) * av) / 256 + *(tmp+1); | 471 | + r = ((r-*(tmp+1)) * av) / 256 + *(tmp+1); |
568 | + g = ((g-*(tmp+2)) * av) / 256 + *(tmp+2); | 472 | + g = ((g-*(tmp+2)) * av) / 256 + *(tmp+2); |
569 | + b = ((b-*(tmp+3)) * av) / 256 + *(tmp+3); | 473 | + b = ((b-*(tmp+3)) * av) / 256 + *(tmp+3); |
570 | + } | 474 | + } |
571 | +# else | 475 | +# else |
572 | if(av==255) { | 476 | if(av==255) { |
573 | // Do nothing - we already have source values in r,g,b | 477 | // Do nothing - we already have source values in r,g,b |
574 | } else if(av==0) { | 478 | } else if(av==0) { |
575 | @@ -3781,6 +3798,7 @@ | 479 | @@ -3781,6 +3798,7 @@ |
576 | g = ((g-*(tmp+1)) * av) / 256 + *(tmp+1); | 480 | g = ((g-*(tmp+1)) * av) / 256 + *(tmp+1); |
577 | b = ((b-*(tmp+0)) * av) / 256 + *(tmp+0); | 481 | b = ((b-*(tmp+0)) * av) / 256 + *(tmp+0); |
578 | } | 482 | } |
579 | +# endif | 483 | +# endif |
580 | *(alphaptr++) = (r << 16) | (g << 8) | b; | 484 | *(alphaptr++) = (r << 16) | (g << 8) | b; |
581 | } | 485 | } |
582 | 486 | ||
583 | @@ -4204,7 +4222,7 @@ | 487 | @@ -4204,7 +4222,7 @@ |
584 | 488 | ||
585 | } else if ( depth == 1 ) { | 489 | } else if ( depth == 1 ) { |
586 | if (srctype==SourceImage) { | 490 | if (srctype==SourceImage) { |
587 | - static int warn; | 491 | - static int warn; |
588 | + static int warn = 0; | 492 | + static int warn = 0; |
589 | if ( warn++ < 5 ) | 493 | if ( warn++ < 5 ) |
590 | qDebug( "bitmap alpha-image not implemented" ); | 494 | qDebug( "bitmap alpha-image not implemented" ); |
591 | hImageLineUnclipped( x1, x2, l, srcdata, FALSE ); | 495 | hImageLineUnclipped( x1, x2, l, srcdata, FALSE ); |
592 | @@ -4237,7 +4255,7 @@ | 496 | @@ -4237,7 +4255,7 @@ |
593 | setAlphaType(IgnoreAlpha); | 497 | setAlphaType(IgnoreAlpha); |
594 | if ( w <= 0 || h <= 0 || !ncliprect ) return; | 498 | if ( w <= 0 || h <= 0 || !ncliprect ) return; |
595 | GFX_START(QRect(rx+xoffs, ry+yoffs, w+1, h+1)) | 499 | GFX_START(QRect(rx+xoffs, ry+yoffs, w+1, h+1)) |
596 | -#ifdef QWS_EXPERIMENTAL_FASTPATH | 500 | -#ifdef QWS_EXPERIMENTAL_FASTPATH |
597 | +#if 0 // def QWS_EXPERIMENTAL_FASTPATH !! this is crashing HancomWord on OZ !! | 501 | +#if 0 // def QWS_EXPERIMENTAL_FASTPATH !! this is crashing HancomWord on OZ !! |
598 | // ### fix for 8bpp | 502 | // ### fix for 8bpp |
599 | // This seems to be reliable now, at least for 16bpp | 503 | // This seems to be reliable now, at least for 16bpp |
600 | 504 | ||
601 | Only in qte-2.3.7/src/kernel: qgfxraster_qws.cpp~ | 505 | diff -ru qt-2.3.7/src/kernel/qkeyboard_qws.cpp qte-2.3.7/src/kernel/qkeyboard_qws.cpp |
602 | Only in qte-2.3.7/src/kernel: qgfxraster_qws.o | 506 | --- qt-2.3.7/src/kernel/qkeyboard_qws.cppThu Jul 17 03:20:25 2003 |
603 | Only in qte-2.3.7/src/kernel: qguardedptr.o | ||
604 | Only in qte-2.3.7/src/kernel: qiconset.o | ||
605 | Only in qte-2.3.7/src/kernel: qimage.o | ||
606 | Only in qte-2.3.7/src/kernel: qinputcontext_qws.o | ||
607 | Only in qte-2.3.7/src/kernel: qjpegio.o | ||
608 | diff -ru qte-2.3.7_orig/src/kernel/qkeyboard_qws.cpp qte-2.3.7/src/kernel/qkeyboard_qws.cpp | ||
609 | --- qte-2.3.7_orig/src/kernel/qkeyboard_qws.cppThu Jul 17 03:20:25 2003 | ||
610 | +++ qte-2.3.7/src/kernel/qkeyboard_qws.cppMon Oct 27 14:42:11 2003 | 507 | +++ qte-2.3.7/src/kernel/qkeyboard_qws.cppMon Oct 27 14:42:11 2003 |
611 | @@ -69,7 +69,7 @@ | 508 | @@ -69,7 +69,7 @@ |
612 | #if !defined(_OS_QNX6_) | 509 | #if !defined(_OS_QNX6_) |
613 | 510 | ||
614 | #include <termios.h> | 511 | #include <termios.h> |
615 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 512 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
616 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 513 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
617 | #include <sys/kd.h> | 514 | #include <sys/kd.h> |
618 | #include <sys/vt.h> | 515 | #include <sys/vt.h> |
619 | #endif | 516 | #endif |
620 | @@ -468,10 +468,12 @@ | 517 | @@ -468,10 +468,12 @@ |
621 | void QWSPC101KeyboardHandler::restoreLeds() | 518 | void QWSPC101KeyboardHandler::restoreLeds() |
622 | { | 519 | { |
623 | char leds; | 520 | char leds; |
624 | +#if !defined(_OS_MACX_) | 521 | +#if !defined(_OS_MACX_) |
625 | ioctl(0, KDGETLED, &leds); | 522 | ioctl(0, KDGETLED, &leds); |
626 | leds = leds & ~LED_CAP; | 523 | leds = leds & ~LED_CAP; |
627 | if ( caps ) leds |= LED_CAP; | 524 | if ( caps ) leds |= LED_CAP; |
628 | ioctl(0, KDSETLED, leds); | 525 | ioctl(0, KDSETLED, leds); |
629 | +#endif | 526 | +#endif |
630 | } | 527 | } |
631 | 528 | ||
632 | class QWSTtyKeyboardHandler : public QWSPC101KeyboardHandler | 529 | class QWSTtyKeyboardHandler : public QWSPC101KeyboardHandler |
633 | @@ -547,7 +549,7 @@ | 530 | @@ -547,7 +549,7 @@ |
634 | 531 | ||
635 | static void vtSwitchHandler(int /*sig*/) | 532 | static void vtSwitchHandler(int /*sig*/) |
636 | { | 533 | { |
637 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 534 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
638 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 535 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
639 | if (vtActive) { | 536 | if (vtActive) { |
640 | qwsServer->enablePainting(false); | 537 | qwsServer->enablePainting(false); |
641 | qt_screen->save(); | 538 | qt_screen->save(); |
642 | @@ -880,7 +882,7 @@ | 539 | @@ -880,7 +882,7 @@ |
643 | if (term && !release) { | 540 | if (term && !release) { |
644 | ctrl = false; | 541 | ctrl = false; |
645 | alt = false; | 542 | alt = false; |
646 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 543 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
647 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 544 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
648 | ioctl(kbdFD, VT_ACTIVATE, term); | 545 | ioctl(kbdFD, VT_ACTIVATE, term); |
649 | #endif | 546 | #endif |
650 | return; | 547 | return; |
651 | @@ -1031,7 +1033,7 @@ | 548 | @@ -1031,7 +1033,7 @@ |
652 | struct termios termdata; | 549 | struct termios termdata; |
653 | tcgetattr( kbdFD, &termdata ); | 550 | tcgetattr( kbdFD, &termdata ); |
654 | 551 | ||
655 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 552 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
656 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 553 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
657 | ioctl(kbdFD, KDSKBMODE, K_RAW); | 554 | ioctl(kbdFD, KDSKBMODE, K_RAW); |
658 | #endif | 555 | #endif |
659 | 556 | ||
660 | @@ -1047,7 +1049,7 @@ | 557 | @@ -1047,7 +1049,7 @@ |
661 | 558 | ||
662 | signal(VTSWITCHSIG, vtSwitchHandler); | 559 | signal(VTSWITCHSIG, vtSwitchHandler); |
663 | 560 | ||
664 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 561 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
665 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 562 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
666 | struct vt_mode vtMode; | 563 | struct vt_mode vtMode; |
667 | ioctl(kbdFD, VT_GETMODE, &vtMode); | 564 | ioctl(kbdFD, VT_GETMODE, &vtMode); |
668 | 565 | ||
669 | @@ -1068,7 +1070,7 @@ | 566 | @@ -1068,7 +1070,7 @@ |
670 | { | 567 | { |
671 | if (kbdFD >= 0) | 568 | if (kbdFD >= 0) |
672 | { | 569 | { |
673 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 570 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
674 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 571 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
675 | ioctl(kbdFD, KDSKBMODE, K_XLATE); | 572 | ioctl(kbdFD, KDSKBMODE, K_XLATE); |
676 | #endif | 573 | #endif |
677 | tcsetattr(kbdFD, TCSANOW, &origTermData); | 574 | tcsetattr(kbdFD, TCSANOW, &origTermData); |
678 | Only in qte-2.3.7/src/kernel: qkeyboard_qws.cpp.rej | 575 | diff -ru qt-2.3.7/src/kernel/qlock_qws.cpp qte-2.3.7/src/kernel/qlock_qws.cpp |
679 | Only in qte-2.3.7/src/kernel: qkeyboard_qws.cpp~ | 576 | --- qt-2.3.7/src/kernel/qlock_qws.cppThu Jul 17 03:20:25 2003 |
680 | Only in qte-2.3.7/src/kernel: qkeyboard_qws.moc | ||
681 | Only in qte-2.3.7/src/kernel: qkeyboard_qws.o | ||
682 | Only in qte-2.3.7/src/kernel: qlayout.o | ||
683 | Only in qte-2.3.7/src/kernel: qlayoutengine.o | ||
684 | Only in qte-2.3.7/src/kernel: qlocalfs.o | ||
685 | diff -ru qte-2.3.7_orig/src/kernel/qlock_qws.cpp qte-2.3.7/src/kernel/qlock_qws.cpp | ||
686 | --- qte-2.3.7_orig/src/kernel/qlock_qws.cppThu Jul 17 03:20:25 2003 | ||
687 | +++ qte-2.3.7/src/kernel/qlock_qws.cppMon Oct 27 14:27:25 2003 | 577 | +++ qte-2.3.7/src/kernel/qlock_qws.cppMon Oct 27 14:27:25 2003 |
688 | @@ -38,7 +38,7 @@ | 578 | @@ -38,7 +38,7 @@ |
689 | #include <errno.h> | 579 | #include <errno.h> |
690 | 580 | ||
691 | #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) \ | 581 | #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) \ |
692 | - || defined _OS_FREEBSD_ | 582 | - || defined _OS_FREEBSD_ |
693 | + || defined(_OS_FREEBSD_) || defined(_OS_MACX_) | 583 | + || defined(_OS_FREEBSD_) || defined(_OS_MACX_) |
694 | /* union semun is defined by including <sys/sem.h> */ | 584 | /* union semun is defined by including <sys/sem.h> */ |
695 | #else | 585 | #else |
696 | /* according to X/OPEN we have to define it ourselves */ | 586 | /* according to X/OPEN we have to define it ourselves */ |
697 | Only in qte-2.3.7/src/kernel: qlock_qws.o | 587 | diff -ru qt-2.3.7/src/kernel/qwindowsystem_qws.cpp qte-2.3.7/src/kernel/qwindowsystem_qws.cpp |
698 | Only in qte-2.3.7/src/kernel: qmemorymanager_qws.o | 588 | --- qt-2.3.7/src/kernel/qwindowsystem_qws.cppThu Jul 17 03:20:26 2003 |
699 | Only in qte-2.3.7/src/kernel: qmetaobject.o | ||
700 | Only in qte-2.3.7/src/kernel: qmime.o | ||
701 | Only in qte-2.3.7/src/kernel: qmngio.o | ||
702 | Only in qte-2.3.7/src/kernel: qmovie.moc | ||
703 | Only in qte-2.3.7/src/kernel: qmovie.o | ||
704 | Only in qte-2.3.7/src/kernel: qnetworkprotocol.o | ||
705 | Only in qte-2.3.7/src/kernel: qobject.o | ||
706 | Only in qte-2.3.7/src/kernel: qpaintdevice_qws.o | ||
707 | Only in qte-2.3.7/src/kernel: qpaintdevicemetrics.o | ||
708 | Only in qte-2.3.7/src/kernel: qpainter.o | ||
709 | Only in qte-2.3.7/src/kernel: qpainter_qws.o | ||
710 | Only in qte-2.3.7/src/kernel: qpalette.o | ||
711 | Only in qte-2.3.7/src/kernel: qpicture.o | ||
712 | Only in qte-2.3.7/src/kernel: qpixmap.o | ||
713 | Only in qte-2.3.7/src/kernel: qpixmap_qws.o | ||
714 | Only in qte-2.3.7/src/kernel: qpixmapcache.o | ||
715 | Only in qte-2.3.7/src/kernel: qpngio.o | ||
716 | Only in qte-2.3.7/src/kernel: qpoint.o | ||
717 | Only in qte-2.3.7/src/kernel: qprinter.o | ||
718 | Only in qte-2.3.7/src/kernel: qprinter_qws.o | ||
719 | Only in qte-2.3.7/src/kernel: qpsprinter.o | ||
720 | Only in qte-2.3.7/src/kernel: qrect.o | ||
721 | Only in qte-2.3.7/src/kernel: qregion.o | ||
722 | Only in qte-2.3.7/src/kernel: qrichtext.o | ||
723 | Only in qte-2.3.7/src/kernel: qsemimodal.o | ||
724 | Only in qte-2.3.7/src/kernel: qsharedmemory.o | ||
725 | Only in qte-2.3.7/src/kernel: qsignal.o | ||
726 | Only in qte-2.3.7/src/kernel: qsignalmapper.o | ||
727 | Only in qte-2.3.7/src/kernel: qsimplerichtext.o | ||
728 | Only in qte-2.3.7/src/kernel: qsize.o | ||
729 | Only in qte-2.3.7/src/kernel: qsizegrip.o | ||
730 | Only in qte-2.3.7/src/kernel: qsocketnotifier.o | ||
731 | Only in qte-2.3.7/src/kernel: qsound.o | ||
732 | Only in qte-2.3.7/src/kernel: qsound_qws.o | ||
733 | Only in qte-2.3.7/src/kernel: qsoundqss_qws.moc | ||
734 | Only in qte-2.3.7/src/kernel: qsoundqss_qws.o | ||
735 | Only in qte-2.3.7/src/kernel: qstyle.o | ||
736 | Only in qte-2.3.7/src/kernel: qstylesheet.o | ||
737 | Only in qte-2.3.7/src/kernel: qthread_unix.moc | ||
738 | Only in qte-2.3.7/src/kernel: qthread_unix.o | ||
739 | Only in qte-2.3.7/src/kernel: qtimer.o | ||
740 | Only in qte-2.3.7/src/kernel: qtranslator.o | ||
741 | Only in qte-2.3.7/src/kernel: qurl.o | ||
742 | Only in qte-2.3.7/src/kernel: qurlinfo.o | ||
743 | Only in qte-2.3.7/src/kernel: qurloperator.o | ||
744 | Only in qte-2.3.7/src/kernel: qvariant.o | ||
745 | Only in qte-2.3.7/src/kernel: qwidget.o | ||
746 | Only in qte-2.3.7/src/kernel: qwidget_qws.o | ||
747 | diff -ru qte-2.3.7_orig/src/kernel/qwindowsystem_qws.cpp qte-2.3.7/src/kernel/qwindowsystem_qws.cpp | ||
748 | --- qte-2.3.7_orig/src/kernel/qwindowsystem_qws.cppThu Jul 17 03:20:26 2003 | ||
749 | +++ qte-2.3.7/src/kernel/qwindowsystem_qws.cppMon Oct 27 14:27:25 2003 | 589 | +++ qte-2.3.7/src/kernel/qwindowsystem_qws.cppMon Oct 27 14:27:25 2003 |
750 | @@ -844,6 +844,18 @@ | 590 | @@ -844,6 +844,18 @@ |
751 | { | 591 | { |
752 | } | 592 | } |
753 | 593 | ||
754 | +static void catchSegvSignal( int ) | 594 | +static void catchSegvSignal( int ) |
755 | +{ | 595 | +{ |
756 | +#ifndef QT_NO_QWS_KEYBOARD | 596 | +#ifndef QT_NO_QWS_KEYBOARD |
757 | + if ( qwsServer ) | 597 | + if ( qwsServer ) |
758 | +qwsServer->closeKeyboard(); | 598 | +qwsServer->closeKeyboard(); |
759 | +#endif | 599 | +#endif |
760 | + QWSServer::closedown(); | 600 | + QWSServer::closedown(); |
761 | + fprintf(stderr, "Segmentation fault.\n"); | 601 | + fprintf(stderr, "Segmentation fault.\n"); |
762 | + exit(1); | 602 | + exit(1); |
763 | +} | 603 | +} |
764 | + | 604 | + |
765 | + | 605 | + |
766 | /*! | 606 | /*! |
767 | \class QWSServer qwindowsystem_qws.h | 607 | \class QWSServer qwindowsystem_qws.h |
768 | \brief Server-specific functionality in Qt/Embedded | 608 | \brief Server-specific functionality in Qt/Embedded |
769 | @@ -936,6 +948,7 @@ | 609 | @@ -936,6 +948,7 @@ |
770 | } | 610 | } |
771 | 611 | ||
772 | signal(SIGPIPE, ignoreSignal); //we get it when we read | 612 | signal(SIGPIPE, ignoreSignal); //we get it when we read |
773 | + signal(SIGSEGV, catchSegvSignal); //recover the keyboard on crash | 613 | + signal(SIGSEGV, catchSegvSignal); //recover the keyboard on crash |
774 | #endif | 614 | #endif |
775 | focusw = 0; | 615 | focusw = 0; |
776 | mouseGrabber = 0; | 616 | mouseGrabber = 0; |
777 | @@ -950,7 +963,7 @@ | 617 | @@ -950,7 +963,7 @@ |
778 | 618 | ||
779 | #ifndef QT_NO_QWS_MULTIPROCESS | 619 | #ifndef QT_NO_QWS_MULTIPROCESS |
780 | if ( !geteuid() ) { | 620 | if ( !geteuid() ) { |
781 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 621 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
782 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 622 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
783 | if( mount(0, "/var/shm", "shm", 0, 0) ) { | 623 | if( mount(0, "/var/shm", "shm", 0, 0) ) { |
784 | /* This just confuses people with 2.2 kernels | 624 | /* This just confuses people with 2.2 kernels |
785 | if ( errno != EBUSY ) | 625 | if ( errno != EBUSY ) |
786 | Only in qte-2.3.7/src/kernel: qwindowsystem_qws.cpp~ | 626 | diff -ru qt-2.3.7/src/kernel/qwsmouse_qws.cpp qte-2.3.7/src/kernel/qwsmouse_qws.cpp |
787 | Only in qte-2.3.7/src/kernel: qwindowsystem_qws.o | 627 | --- qt-2.3.7/src/kernel/qwsmouse_qws.cppThu Jul 17 03:20:26 2003 |
788 | Only in qte-2.3.7/src/kernel: qwmatrix.o | ||
789 | Only in qte-2.3.7/src/kernel: qwsbeosdecoration_qws.o | ||
790 | Only in qte-2.3.7/src/kernel: qwscommand_qws.o | ||
791 | Only in qte-2.3.7/src/kernel: qwscursor_qws.o | ||
792 | Only in qte-2.3.7/src/kernel: qwsdecoration_qws.o | ||
793 | Only in qte-2.3.7/src/kernel: qwsdefaultdecoration_qws.o | ||
794 | Only in qte-2.3.7/src/kernel: qwsevent_qws.o | ||
795 | Only in qte-2.3.7/src/kernel: qwshydrodecoration_qws.o | ||
796 | Only in qte-2.3.7/src/kernel: qwskde2decoration_qws.o | ||
797 | Only in qte-2.3.7/src/kernel: qwskdedecoration_qws.o | ||
798 | Only in qte-2.3.7/src/kernel: qwsmanager_qws.o | ||
799 | diff -ru qte-2.3.7_orig/src/kernel/qwsmouse_qws.cpp qte-2.3.7/src/kernel/qwsmouse_qws.cpp | ||
800 | --- qte-2.3.7_orig/src/kernel/qwsmouse_qws.cppThu Jul 17 03:20:26 2003 | ||
801 | +++ qte-2.3.7/src/kernel/qwsmouse_qws.cppMon Oct 27 14:27:25 2003 | 628 | +++ qte-2.3.7/src/kernel/qwsmouse_qws.cppMon Oct 27 14:27:25 2003 |
802 | @@ -336,7 +336,7 @@ | 629 | @@ -336,7 +336,7 @@ |
803 | tty.c_oflag = 0; | 630 | tty.c_oflag = 0; |
804 | tty.c_lflag = 0; | 631 | tty.c_lflag = 0; |
805 | tty.c_cflag = f | CREAD | CLOCAL | HUPCL; | 632 | tty.c_cflag = f | CREAD | CLOCAL | HUPCL; |
806 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 633 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
807 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 634 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
808 | tty.c_line = 0; | 635 | tty.c_line = 0; |
809 | #endif | 636 | #endif |
810 | tty.c_cc[VTIME] = 0; | 637 | tty.c_cc[VTIME] = 0; |
811 | @@ -889,7 +889,7 @@ | 638 | @@ -889,7 +889,7 @@ |
812 | tty.c_iflag = IGNBRK | IGNPAR; | 639 | tty.c_iflag = IGNBRK | IGNPAR; |
813 | tty.c_oflag = 0; | 640 | tty.c_oflag = 0; |
814 | tty.c_lflag = 0; | 641 | tty.c_lflag = 0; |
815 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 642 | -#if !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
816 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) | 643 | +#if !defined(_OS_MACX_) && !defined(_OS_FREEBSD_) && !defined(_OS_SOLARIS_) |
817 | tty.c_line = 0; | 644 | tty.c_line = 0; |
818 | #endif // _OS_FREEBSD_ | 645 | #endif // _OS_FREEBSD_ |
819 | tty.c_cc[VTIME] = 0; | 646 | tty.c_cc[VTIME] = 0; |
820 | Only in qte-2.3.7/src/kernel: qwsmouse_qws.moc | 647 | diff -ru qt-2.3.7/src/network/qdns.cpp qte-2.3.7/src/network/qdns.cpp |
821 | Only in qte-2.3.7/src/kernel: qwsmouse_qws.o | 648 | --- qt-2.3.7/src/network/qdns.cppThu Jul 17 03:20:26 2003 |
822 | Only in qte-2.3.7/src/kernel: qwsproperty_qws.o | 649 | +++ qte-2.3.7/src/network/qdns.cppSun Nov 16 13:44:27 2003 |
823 | Only in qte-2.3.7/src/kernel: qwsregionmanager_qws.o | 650 | @@ -1991,7 +1991,7 @@ |
824 | Only in qte-2.3.7/src/kernel: qwssocket_qws.o | 651 | domains = new QStrList( TRUE ); |
825 | Only in qte-2.3.7/src/kernel: qwswindowsdecoration_qws.o | 652 | domains->setAutoDelete( TRUE ); |
826 | Only in qte-2.3.7/src/moc: Makefile | 653 | |
827 | Only in qte-2.3.7/src/moc: moc | 654 | - res_init(); |
828 | Only in qte-2.3.7/src/moc: mocgen.o | 655 | + // res_init(); (eilers: Caused link problems) |
829 | Only in qte-2.3.7/src/moc: qbuffer.o | 656 | int i; |
830 | Only in qte-2.3.7/src/moc: qcollection.o | 657 | // find the name servers to use |
831 | Only in qte-2.3.7/src/moc: qcstring.o | 658 | for( i=0; i < MAXNS && i < _res.nscount; i++ ) { |
832 | Only in qte-2.3.7/src/moc: qdatastream.o | 659 | diff -ru qt-2.3.7/src/tools/qconfig.h qte-2.3.7/src/tools/qconfig.h |
833 | Only in qte-2.3.7/src/moc: qdatetime.o | 660 | --- qt-2.3.7/src/tools/qconfig.hFri Jan 26 14:43:06 2001 |
834 | Only in qte-2.3.7/src/moc: qfile.o | 661 | +++ qte-2.3.7/src/tools/qconfig.hSun Nov 16 13:35:10 2003 |
835 | Only in qte-2.3.7/src/moc: qfile_unix.o | ||
836 | Only in qte-2.3.7/src/moc: qgarray.o | ||
837 | Only in qte-2.3.7/src/moc: qgdict.o | ||
838 | Only in qte-2.3.7/src/moc: qglist.o | ||
839 | Only in qte-2.3.7/src/moc: qglobal.o | ||
840 | Only in qte-2.3.7/src/moc: qgvector.o | ||
841 | Only in qte-2.3.7/src/moc: qiodevice.o | ||
842 | Only in qte-2.3.7/src/moc: qregexp.o | ||
843 | Only in qte-2.3.7/src/moc: qstring.o | ||
844 | Only in qte-2.3.7/src/moc: qtextcodec.o | ||
845 | Only in qte-2.3.7/src/moc: qtextstream.o | ||
846 | Only in qte-2.3.7/src/moc: qutfcodec.o | ||
847 | Only in qte-2.3.7/src/network: qdns.o | ||
848 | Only in qte-2.3.7/src/network: qftp.o | ||
849 | Only in qte-2.3.7/src/network: qhostaddress.o | ||
850 | Only in qte-2.3.7/src/network: qnetwork.o | ||
851 | Only in qte-2.3.7/src/network: qserversocket.o | ||
852 | Only in qte-2.3.7/src/network: qsocket.o | ||
853 | Only in qte-2.3.7/src/network: qsocketdevice.o | ||
854 | Only in qte-2.3.7/src/network: qsocketdevice_unix.o | ||
855 | Only in qte-2.3.7/src/table: qtable.o | ||
856 | Only in qte-2.3.7/src/tools: qbitarray.o | ||
857 | Only in qte-2.3.7/src/tools: qbuffer.o | ||
858 | Only in qte-2.3.7/src/tools: qcollection.o | ||
859 | Only in qte-2.3.7/src/tools: qconfig-qpe.h | ||
860 | Only in qte-2.3.7/src/tools: qconfig-qpe.h~ | ||
861 | diff -ru qte-2.3.7_orig/src/tools/qconfig.h qte-2.3.7/src/tools/qconfig.h | ||
862 | --- qte-2.3.7_orig/src/tools/qconfig.hFri Jan 26 14:43:06 2001 | ||
863 | +++ qte-2.3.7/src/tools/qconfig.hWed Oct 29 22:13:16 2003 | ||
864 | @@ -1,3 +1,26 @@ | 662 | @@ -1,3 +1,26 @@ |
865 | +// Copied from qconfig-qpe.h | 663 | +// Copied from qconfig-qpe.h |
866 | +/********************************************************************** | 664 | +/********************************************************************** |
867 | +** Copyright (C) 2000 Trolltech AS. All rights reserved. | 665 | +** Copyright (C) 2000 Trolltech AS. All rights reserved. |
868 | +** | 666 | +** |
869 | +** This file is part of Qtopia Environment. | 667 | +** This file is part of Qtopia Environment. |
870 | +** | 668 | +** |
871 | +** This file may be distributed and/or modified under the terms of the | 669 | +** This file may be distributed and/or modified under the terms of the |
872 | +** GNU General Public License version 2 as published by the Free Software | 670 | +** GNU General Public License version 2 as published by the Free Software |
873 | +** Foundation and appearing in the file LICENSE.GPL included in the | 671 | +** Foundation and appearing in the file LICENSE.GPL included in the |
874 | +** packaging of this file. | 672 | +** packaging of this file. |
875 | +** | 673 | +** |
876 | +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 674 | +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
877 | +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 675 | +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
878 | +** | 676 | +** |
879 | +** See http://www.trolltech.com/gpl/ for GPL licensing information. | 677 | +** See http://www.trolltech.com/gpl/ for GPL licensing information. |
880 | +** | 678 | +** |
881 | +** Contact info@trolltech.com if any conditions of this licensing are | 679 | +** Contact info@trolltech.com if any conditions of this licensing are |
882 | +** not clear to you. | 680 | +** not clear to you. |
883 | +** | 681 | +** |
884 | +**********************************************************************/ | 682 | +**********************************************************************/ |
885 | +#ifndef QT_H | 683 | +#ifndef QT_H |
886 | +#endif // QT_H | 684 | +#endif // QT_H |
887 | + | 685 | + |
888 | // Empty leaves all features enabled. See doc/html/features.html for choices. | 686 | // Empty leaves all features enabled. See doc/html/features.html for choices. |
889 | 687 | ||
890 | // Note that disabling some features will produce a libqt that is not | 688 | // Note that disabling some features will produce a libqt that is not |
891 | @@ -8,3 +31,69 @@ | 689 | @@ -8,3 +31,71 @@ |
892 | #ifndef QT_DLL | 690 | #ifndef QT_DLL |
893 | #define QT_DLL // Internal | 691 | #define QT_DLL // Internal |
894 | #endif | 692 | #endif |
895 | + | 693 | + |
896 | +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) | 694 | +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) |
897 | +# define QT_NO_QWS_CURSOR | 695 | +# define QT_NO_QWS_CURSOR |
898 | +# define QT_NO_QWS_MOUSE_AUTO | 696 | +# define QT_NO_QWS_MOUSE_AUTO |
899 | +#endif | 697 | +#endif |
900 | +#ifndef QT_NO_CODECS | 698 | +#ifndef QT_NO_CODECS |
901 | +#define QT_NO_CODECS | 699 | +#define QT_NO_CODECS |
902 | +#endif | 700 | +#endif |
903 | +#define QT_NO_UNICODETABLES | 701 | +#define QT_NO_UNICODETABLES |
904 | +//#define QT_NO_IMAGEIO_BMP | 702 | +//#define QT_NO_IMAGEIO_BMP |
905 | +#define QT_NO_IMAGEIO_PPM | 703 | +#define QT_NO_IMAGEIO_PPM |
906 | +//#define QT_NO_ASYNC_IO | 704 | +//#define QT_NO_ASYNC_IO |
907 | +//#define QT_NO_ASYNC_IMAGE_IO | 705 | +//#define QT_NO_ASYNC_IMAGE_IO |
908 | +#define QT_NO_FREETYPE | 706 | +#define QT_NO_FREETYPE |
909 | +#define QT_NO_BDF | 707 | +#define QT_NO_BDF |
910 | +//#define QT_NO_FONTDATABASE | 708 | +//#define QT_NO_FONTDATABASE |
911 | +#define QT_NO_DRAGANDDROP | 709 | +#define QT_NO_DRAGANDDROP |
912 | +//#define QT_NO_CLIPBOARD | 710 | +//#define QT_NO_CLIPBOARD |
913 | +#define QT_NO_PROPERTIES | 711 | +#define QT_NO_PROPERTIES |
914 | +#define QT_NO_NETWORKPROTOCOL | 712 | +#define QT_NO_NETWORKPROTOCOL |
915 | + | 713 | + |
916 | +#define QT_NO_IMAGE_TEXT | 714 | +#define QT_NO_IMAGE_TEXT |
917 | + | 715 | + |
918 | +//#define QT_NO_TOOLTIP | 716 | +//#define QT_NO_TOOLTIP |
919 | +#define QT_NO_COLORNAMES | 717 | +#define QT_NO_COLORNAMES |
920 | +#define QT_NO_TRANSFORMATIONS | 718 | +#define QT_NO_TRANSFORMATIONS |
921 | +#define QT_NO_TRANSLATION_BUILDER | 719 | +#define QT_NO_TRANSLATION_BUILDER |
922 | +#define QT_NO_COMPLEXTEXT | 720 | +#define QT_NO_COMPLEXTEXT |
923 | +#define QT_NO_PRINTER | 721 | +#define QT_NO_PRINTER |
924 | +#define QT_NO_PICTURE | 722 | +#define QT_NO_PICTURE |
925 | +//#define QT_NO_ICONVIEW | 723 | +//#define QT_NO_ICONVIEW |
926 | +#define QT_NO_DIAL | 724 | +#define QT_NO_DIAL |
927 | +#define QT_NO_SIZEGRIP | 725 | +#define QT_NO_SIZEGRIP |
928 | +#define QT_NO_WORKSPACE | 726 | +#define QT_NO_WORKSPACE |
929 | +//#define QT_NO_TABLE | 727 | +//#define QT_NO_TABLE |
930 | +//#define QT_NO_ACTION | 728 | +//#define QT_NO_ACTION |
931 | +//#define QT_NO_SETTINGS | 729 | +//#define QT_NO_SETTINGS |
932 | +#define QT_NO_STYLE_POCKETPC | 730 | +#define QT_NO_STYLE_POCKETPC |
933 | +#ifndef QT_NO_STYLE_AQUA | 731 | +#ifndef QT_NO_STYLE_AQUA |
934 | +# define QT_NO_STYLE_AQUA | 732 | +# define QT_NO_STYLE_AQUA |
935 | +#endif | 733 | +#endif |
936 | +#define QT_NO_STYLE_MOTIF | 734 | +#define QT_NO_STYLE_MOTIF |
937 | +#define QT_NO_STYLE_PLATINUM | 735 | +#define QT_NO_STYLE_PLATINUM |
938 | +#define QT_NO_FILEDIALOG | 736 | +#define QT_NO_FILEDIALOG |
939 | +#define QT_NO_FONTDIALOG | 737 | +#define QT_NO_FONTDIALOG |
940 | +#define QT_NO_PRINTDIALOG | 738 | +#define QT_NO_PRINTDIALOG |
941 | +#define QT_NO_COLORDIALOG | 739 | +#define QT_NO_COLORDIALOG |
942 | +#define QT_NO_INPUTDIALOG | 740 | +#define QT_NO_INPUTDIALOG |
943 | +//#define QT_NO_MESSAGEBOX | 741 | +//#define QT_NO_MESSAGEBOX |
944 | +#define QT_NO_PROGRESSDIALOG | 742 | +#define QT_NO_PROGRESSDIALOG |
945 | +//#define QT_NO_TABDIALOG | 743 | +//#define QT_NO_TABDIALOG |
946 | +#define QT_NO_WIZARD | 744 | +#define QT_NO_WIZARD |
947 | +#define QT_NO_EFFECTS | 745 | +#define QT_NO_EFFECTS |
948 | +//#define QT_NO_COMPONENT | 746 | +//#define QT_NO_COMPONENT |
949 | +#define QT_NO_DOM | 747 | +#define QT_NO_DOM |
950 | +#define QT_NO_SEMIMODAL | 748 | +#define QT_NO_SEMIMODAL |
951 | +//#define QT_NO_PROGRESSBAR | 749 | +//#define QT_NO_PROGRESSBAR |
952 | +#define QT_NO_SPLITTER | 750 | +#define QT_NO_SPLITTER |
953 | + | 751 | + |
954 | +//#define QT_NO_QWS_SAVEFONTS | 752 | +//#define QT_NO_QWS_SAVEFONTS |
955 | +//#define QT_NO_QWS_PROPERTIES | 753 | +//#define QT_NO_QWS_PROPERTIES |
956 | + | 754 | + |
957 | +#define QT_NO_QWS_BEOS_WM_STYLE | 755 | +#define QT_NO_QWS_BEOS_WM_STYLE |
958 | +#define QT_NO_QWS_KDE2_WM_STYLE | 756 | +#define QT_NO_QWS_KDE2_WM_STYLE |
959 | +#define QT_NO_QWS_KDE_WM_STYLE | 757 | +#define QT_NO_QWS_KDE_WM_STYLE |
960 | +#define QT_NO_QWS_WINDOWS_WM_STYLE | 758 | +#define QT_NO_QWS_WINDOWS_WM_STYLE |
961 | Only in qte-2.3.7/src/tools: qconfig.h~ | 759 | + |
962 | Only in qte-2.3.7/src/tools: qcstring.o | 760 | +#define QT_NO_SOUND |
963 | Only in qte-2.3.7/src/tools: qdatastream.o | 761 | \ No newline at end of file |
964 | Only in qte-2.3.7/src/tools: qdatetime.o | 762 | diff -ru qt-2.3.7/src/tools/qmodules.h qte-2.3.7/src/tools/qmodules.h |
965 | Only in qte-2.3.7/src/tools: qdir.o | 763 | --- qt-2.3.7/src/tools/qmodules.hFri Aug 31 17:00:56 2001 |
966 | Only in qte-2.3.7/src/tools: qdir_unix.o | 764 | +++ qte-2.3.7/src/tools/qmodules.hSun Nov 16 13:34:58 2003 |
967 | Only in qte-2.3.7/src/tools: qfile.o | ||
968 | Only in qte-2.3.7/src/tools: qfile_unix.o | ||
969 | Only in qte-2.3.7/src/tools: qfileinfo.o | ||
970 | Only in qte-2.3.7/src/tools: qfileinfo_unix.o | ||
971 | Only in qte-2.3.7/src/tools: qgarray.o | ||
972 | Only in qte-2.3.7/src/tools: qgcache.o | ||
973 | Only in qte-2.3.7/src/tools: qgdict.o | ||
974 | Only in qte-2.3.7/src/tools: qglist.o | ||
975 | Only in qte-2.3.7/src/tools: qglobal.o | ||
976 | Only in qte-2.3.7/src/tools: qgvector.o | ||
977 | Only in qte-2.3.7/src/tools: qiodevice.o | ||
978 | Only in qte-2.3.7/src/tools: qmap.o | ||
979 | diff -ru qte-2.3.7_orig/src/tools/qmodules.h qte-2.3.7/src/tools/qmodules.h | ||
980 | --- qte-2.3.7_orig/src/tools/qmodules.hFri Aug 31 17:00:56 2001 | ||
981 | +++ qte-2.3.7/src/tools/qmodules.hWed Oct 29 21:57:53 2003 | ||
982 | @@ -1,14 +1,12 @@ | 765 | @@ -1,14 +1,12 @@ |
983 | -#ifndef QT_H | 766 | -#ifndef QT_H |
984 | -#endif // QT_H | 767 | -#endif // QT_H |
985 | - | 768 | - |
986 | +// These modules are licensed to you | 769 | +// These modules are licensed to you |
987 | #define QT_MODULE_TOOLS | 770 | #define QT_MODULE_TOOLS |
988 | #define QT_MODULE_KERNEL | 771 | #define QT_MODULE_KERNEL |
989 | #define QT_MODULE_WIDGETS | 772 | #define QT_MODULE_WIDGETS |
990 | #define QT_MODULE_DIALOGS | 773 | #define QT_MODULE_DIALOGS |
991 | - | 774 | - |
992 | #define QT_MODULE_ICONVIEW | 775 | #define QT_MODULE_ICONVIEW |
993 | #define QT_MODULE_WORKSPACE | 776 | #define QT_MODULE_WORKSPACE |
994 | -#define QT_MODULE_TABLE | 777 | -#define QT_MODULE_TABLE |
995 | +#define QT_MODULE_NETWORK | 778 | +#define QT_MODULE_NETWORK |
996 | #define QT_MODULE_CANVAS | 779 | #define QT_MODULE_CANVAS |
997 | +#define QT_MODULE_TABLE | 780 | +#define QT_MODULE_TABLE |
998 | #define QT_MODULE_XML | 781 | #define QT_MODULE_XML |
999 | -#define QT_MODULE_NETWORK | 782 | -#define QT_MODULE_NETWORK |
1000 | +#define QT_MODULE_OPENGL | 783 | +#define QT_MODULE_OPENGL |
1001 | Only in qte-2.3.7/src/tools: qregexp.o | 784 | diff -ru qt-2.3.7/src/widgets/qcommonstyle.cpp qte-2.3.7/src/widgets/qcommonstyle.cpp |
1002 | Only in qte-2.3.7/src/tools: qstring.o | 785 | --- qt-2.3.7/src/widgets/qcommonstyle.cppThu Jul 17 03:20:26 2003 |
1003 | Only in qte-2.3.7/src/tools: qstringlist.o | ||
1004 | Only in qte-2.3.7/src/tools: qtextcodec.o | ||
1005 | Only in qte-2.3.7/src/tools: qtextstream.o | ||
1006 | Only in qte-2.3.7/src/tools: qutfcodec.o | ||
1007 | Only in qte-2.3.7/src/widgets: qaction.o | ||
1008 | Only in qte-2.3.7/src/widgets: qbutton.o | ||
1009 | Only in qte-2.3.7/src/widgets: qbuttongroup.o | ||
1010 | Only in qte-2.3.7/src/widgets: qcdestyle.o | ||
1011 | Only in qte-2.3.7/src/widgets: qcheckbox.o | ||
1012 | Only in qte-2.3.7/src/widgets: qcombobox.o | ||
1013 | diff -ru qte-2.3.7_orig/src/widgets/qcommonstyle.cpp qte-2.3.7/src/widgets/qcommonstyle.cpp | ||
1014 | --- qte-2.3.7_orig/src/widgets/qcommonstyle.cppThu Jul 17 03:20:26 2003 | ||
1015 | +++ qte-2.3.7/src/widgets/qcommonstyle.cppMon Oct 27 14:21:28 2003 | 786 | +++ qte-2.3.7/src/widgets/qcommonstyle.cppMon Oct 27 14:21:28 2003 |
1016 | @@ -566,7 +566,7 @@ | 787 | @@ -566,7 +566,7 @@ |
1017 | bool enabled, bool active ) | 788 | bool enabled, bool active ) |
1018 | { | 789 | { |
1019 | #ifndef QT_NO_MENUBAR | 790 | #ifndef QT_NO_MENUBAR |
1020 | -#ifndef QT_NO_STYLE_SGI | 791 | -#ifndef QT_NO_STYLE_SGI |
1021 | +#if 1 // #ifndef QT_NO_STYLE_SGI | 792 | +#if 1 // #ifndef QT_NO_STYLE_SGI |
1022 | if (draw_menu_bar_impl != 0) { | 793 | if (draw_menu_bar_impl != 0) { |
1023 | QDrawMenuBarItemImpl impl = draw_menu_bar_impl; | 794 | QDrawMenuBarItemImpl impl = draw_menu_bar_impl; |
1024 | (this->*impl)(p, x, y, w, h, mi, g, enabled, active); | 795 | (this->*impl)(p, x, y, w, h, mi, g, enabled, active); |
1025 | Only in qte-2.3.7/src/widgets: qcommonstyle.o | 796 | diff -ru qt-2.3.7/src/widgets/qlistview.cpp qte-2.3.7/src/widgets/qlistview.cpp |
1026 | Only in qte-2.3.7/src/widgets: qcompactstyle.o | 797 | --- qt-2.3.7/src/widgets/qlistview.cppThu Jul 17 03:20:26 2003 |
1027 | Only in qte-2.3.7/src/widgets: qdial.o | ||
1028 | Only in qte-2.3.7/src/widgets: qeffects.moc | ||
1029 | Only in qte-2.3.7/src/widgets: qeffects.o | ||
1030 | Only in qte-2.3.7/src/widgets: qframe.o | ||
1031 | Only in qte-2.3.7/src/widgets: qgrid.o | ||
1032 | Only in qte-2.3.7/src/widgets: qgroupbox.o | ||
1033 | Only in qte-2.3.7/src/widgets: qhbox.o | ||
1034 | Only in qte-2.3.7/src/widgets: qhbuttongroup.o | ||
1035 | Only in qte-2.3.7/src/widgets: qheader.o | ||
1036 | Only in qte-2.3.7/src/widgets: qhgroupbox.o | ||
1037 | Only in qte-2.3.7/src/widgets: qinterlacestyle.o | ||
1038 | Only in qte-2.3.7/src/widgets: qlabel.o | ||
1039 | Only in qte-2.3.7/src/widgets: qlcdnumber.o | ||
1040 | Only in qte-2.3.7/src/widgets: qlineedit.o | ||
1041 | Only in qte-2.3.7/src/widgets: qlistbox.o | ||
1042 | diff -ru qte-2.3.7_orig/src/widgets/qlistview.cpp qte-2.3.7/src/widgets/qlistview.cpp | ||
1043 | --- qte-2.3.7_orig/src/widgets/qlistview.cppThu Jul 17 03:20:26 2003 | ||
1044 | +++ qte-2.3.7/src/widgets/qlistview.cppMon Oct 27 14:21:28 2003 | 798 | +++ qte-2.3.7/src/widgets/qlistview.cppMon Oct 27 14:21:28 2003 |
1045 | @@ -4968,9 +4968,9 @@ | 799 | @@ -4968,9 +4968,9 @@ |
1046 | l = l->childItem ? l->childItem : l->siblingItem; | 800 | l = l->childItem ? l->childItem : l->siblingItem; |
1047 | 801 | ||
1048 | if ( l && l->height() ) | 802 | if ( l && l->height() ) |
1049 | -s.setHeight( s.height() + 10 * l->height() ); | 803 | -s.setHeight( s.height() + 10 * l->height() ); |
1050 | - else | 804 | - else |
1051 | -s.setHeight( s.height() + 140 ); | 805 | -s.setHeight( s.height() + 140 ); |
1052 | +s.setHeight( s.height() + 4 /*10*/ * l->height() ); | 806 | +s.setHeight( s.height() + 4 /*10*/ * l->height() ); |
1053 | + else // ^v much too big for handhelds | 807 | + else // ^v much too big for handhelds |
1054 | +s.setHeight( s.height() + 30 /*140*/ ); | 808 | +s.setHeight( s.height() + 30 /*140*/ ); |
1055 | 809 | ||
1056 | if ( s.width() > s.height() * 3 ) | 810 | if ( s.width() > s.height() * 3 ) |
1057 | s.setHeight( s.width() / 3 ); | 811 | s.setHeight( s.width() / 3 ); |
1058 | Only in qte-2.3.7/src/widgets: qlistview.o | 812 | diff -ru qt-2.3.7/src/widgets/qtoolbutton.cpp qte-2.3.7/src/widgets/qtoolbutton.cpp |
1059 | Only in qte-2.3.7/src/widgets: qmainwindow.moc | 813 | --- qt-2.3.7/src/widgets/qtoolbutton.cppThu Jul 17 03:20:27 2003 |
1060 | Only in qte-2.3.7/src/widgets: qmainwindow.o | ||
1061 | Only in qte-2.3.7/src/widgets: qmenubar.o | ||
1062 | Only in qte-2.3.7/src/widgets: qmenudata.o | ||
1063 | Only in qte-2.3.7/src/widgets: qmotifplusstyle.o | ||
1064 | Only in qte-2.3.7/src/widgets: qmotifstyle.o | ||
1065 | Only in qte-2.3.7/src/widgets: qmultilineedit.o | ||
1066 | Only in qte-2.3.7/src/widgets: qplatinumstyle.o | ||
1067 | Only in qte-2.3.7/src/widgets: qpopupmenu.o | ||
1068 | Only in qte-2.3.7/src/widgets: qprogressbar.o | ||
1069 | Only in qte-2.3.7/src/widgets: qpushbutton.o | ||
1070 | Only in qte-2.3.7/src/widgets: qradiobutton.o | ||
1071 | Only in qte-2.3.7/src/widgets: qrangecontrol.o | ||
1072 | Only in qte-2.3.7/src/widgets: qscrollbar.o | ||
1073 | Only in qte-2.3.7/src/widgets: qscrollview.o | ||
1074 | Only in qte-2.3.7/src/widgets: qsgistyle.o | ||
1075 | Only in qte-2.3.7/src/widgets: qslider.o | ||
1076 | Only in qte-2.3.7/src/widgets: qspinbox.o | ||
1077 | Only in qte-2.3.7/src/widgets: qsplitter.o | ||
1078 | Only in qte-2.3.7/src/widgets: qstatusbar.o | ||
1079 | Only in qte-2.3.7/src/widgets: qtabbar.o | ||
1080 | Only in qte-2.3.7/src/widgets: qtableview.o | ||
1081 | Only in qte-2.3.7/src/widgets: qtabwidget.o | ||
1082 | Only in qte-2.3.7/src/widgets: qtextbrowser.o | ||
1083 | Only in qte-2.3.7/src/widgets: qtextview.o | ||
1084 | Only in qte-2.3.7/src/widgets: qtoolbar.moc | ||
1085 | Only in qte-2.3.7/src/widgets: qtoolbar.o | ||
1086 | diff -ru qte-2.3.7_orig/src/widgets/qtoolbutton.cpp qte-2.3.7/src/widgets/qtoolbutton.cpp | ||
1087 | --- qte-2.3.7_orig/src/widgets/qtoolbutton.cppThu Jul 17 03:20:27 2003 | ||
1088 | +++ qte-2.3.7/src/widgets/qtoolbutton.cppMon Oct 27 14:21:28 2003 | 814 | +++ qte-2.3.7/src/widgets/qtoolbutton.cppMon Oct 27 14:21:28 2003 |
1089 | @@ -230,7 +230,7 @@ | 815 | @@ -230,7 +230,7 @@ |
1090 | else | 816 | else |
1091 | QToolTip::add( this, textLabel ); | 817 | QToolTip::add( this, textLabel ); |
1092 | } | 818 | } |
1093 | -#endif | 819 | -#endif |
1094 | +#endif | 820 | +#endif |
1095 | } | 821 | } |
1096 | 822 | ||
1097 | 823 | ||
1098 | @@ -324,12 +324,12 @@ | 824 | @@ -324,12 +324,12 @@ |
1099 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Large, QIconSet::Normal); | 825 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Large, QIconSet::Normal); |
1100 | w = pm.width(); | 826 | w = pm.width(); |
1101 | h = pm.height(); | 827 | h = pm.height(); |
1102 | -if ( w < 32 ) | 828 | -if ( w < 32 ) |
1103 | - w = 32; | 829 | - w = 32; |
1104 | -if ( h < 32 ) | 830 | -if ( h < 32 ) |
1105 | - h = 32; | 831 | - h = 32; |
1106 | +if ( w < 24 ) | 832 | +if ( w < 24 ) |
1107 | + w = 24; | 833 | + w = 24; |
1108 | +if ( h < 24 ) | 834 | +if ( h < 24 ) |
1109 | + h = 24; | 835 | + h = 24; |
1110 | } else { | 836 | } else { |
1111 | -w = h = 16; | 837 | -w = h = 16; |
1112 | +w = h = 14; | 838 | +w = h = 14; |
1113 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal); | 839 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal); |
1114 | w = pm.width(); | 840 | w = pm.width(); |
1115 | h = pm.height(); | 841 | h = pm.height(); |
1116 | Only in qte-2.3.7/src/widgets: qtoolbutton.o | ||
1117 | Only in qte-2.3.7/src/widgets: qtooltip.moc | ||
1118 | Only in qte-2.3.7/src/widgets: qtooltip.o | ||
1119 | Only in qte-2.3.7/src/widgets: qvalidator.o | ||
1120 | Only in qte-2.3.7/src/widgets: qvbox.o | ||
1121 | Only in qte-2.3.7/src/widgets: qvbuttongroup.o | ||
1122 | Only in qte-2.3.7/src/widgets: qvgroupbox.o | ||
1123 | Only in qte-2.3.7/src/widgets: qwhatsthis.moc | ||
1124 | Only in qte-2.3.7/src/widgets: qwhatsthis.o | ||
1125 | Only in qte-2.3.7/src/widgets: qwidgetstack.o | ||
1126 | Only in qte-2.3.7/src/widgets: qwindowsstyle.o | ||
1127 | Only in qte-2.3.7/src/workspace: qworkspace.moc | ||
1128 | Only in qte-2.3.7/src/workspace: qworkspace.o | ||
1129 | Only in qte-2.3.7/src/xml: qdom.o | ||
1130 | Only in qte-2.3.7/src/xml: qxml.o | ||
1131 | Only in qte-2.3.7: src-mt.mk | ||
1132 | Only in qte-2.3.7: stamp-headers | ||
1133 | Only in qte-2.3.7/tools: Makefile | ||
1134 | Only in qte-2.3.7/tools/designer: Makefile | ||
1135 | Only in qte-2.3.7/tools/designer/designer: Makefile | ||
1136 | Only in qte-2.3.7/tools/designer/examples/walkthrough: Makefile | ||
1137 | Only in qte-2.3.7/tools/designer/integration/rc2ui: Makefile | ||
1138 | Only in qte-2.3.7/tools/designer/tools/createcw: Makefile | ||
1139 | Only in qte-2.3.7/tools/designer/uic: Makefile | ||
1140 | Only in qte-2.3.7/tools/designer/util: Makefile | ||
1141 | Only in qte-2.3.7/tools/makeqpf: Makefile | ||
1142 | Only in qte-2.3.7/tools/mergetr: Makefile | ||
1143 | Only in qte-2.3.7/tools/msg2qm: Makefile | ||
1144 | Only in qte-2.3.7/tools/qconfig: Makefile | ||
1145 | Only in qte-2.3.7/tools/qembed: Makefile | ||
1146 | Only in qte-2.3.7/tools/qvfb: Makefile | ||
1147 | Only in qte-2.3.7/tutorial: Makefile | ||
1148 | Only in qte-2.3.7/tutorial/t1: Makefile | ||
1149 | Only in qte-2.3.7/tutorial/t10: Makefile | ||
1150 | Only in qte-2.3.7/tutorial/t11: Makefile | ||
1151 | Only in qte-2.3.7/tutorial/t12: Makefile | ||
1152 | Only in qte-2.3.7/tutorial/t13: Makefile | ||
1153 | Only in qte-2.3.7/tutorial/t14: Makefile | ||
1154 | Only in qte-2.3.7/tutorial/t2: Makefile | ||
1155 | Only in qte-2.3.7/tutorial/t3: Makefile | ||
1156 | Only in qte-2.3.7/tutorial/t4: Makefile | ||
1157 | Only in qte-2.3.7/tutorial/t5: Makefile | ||
1158 | Only in qte-2.3.7/tutorial/t6: Makefile | ||
1159 | Only in qte-2.3.7/tutorial/t7: Makefile | ||
1160 | Only in qte-2.3.7/tutorial/t8: Makefile | ||
1161 | Only in qte-2.3.7/tutorial/t9: Makefile | ||