comparison cpp/qt_core/QPoint_shell.cpp @ 357:9784459f0750

An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables Q_CLASSINFO implementation Now Qtd can be built on Windows
author Max Samukha <maxter@spambox.com>
date Wed, 02 Jun 2010 19:38:05 +0300
parents e78566595089
children d2f48c4cb3e3
comparison
equal deleted inserted replaced
356:12cec2d14e1c 357:9784459f0750
3 3
4 #include "qtd_core.h" 4 #include "qtd_core.h"
5 5
6 6
7 // QPoint::manhattanLength() const 7 // QPoint::manhattanLength() const
8 extern "C" DLL_PUBLIC int qtd_QPoint_manhattanLength 8 QTD_EXTERN QTD_DLL_EXPORT int qtd_QPoint_manhattanLength
9 (void* __this_nativeId) 9 (void* __this_nativeId)
10 { 10 {
11 QPoint *__qt_this = (QPoint *) __this_nativeId; 11 QPoint *__qt_this = (QPoint *) __this_nativeId;
12 int __qt_return_value = __qt_this->manhattanLength(); 12 int __qt_return_value = __qt_this->manhattanLength();
13 13
15 15
16 return __d_return_value; 16 return __d_return_value;
17 } 17 }
18 18
19 // QPoint::operator<<(QDataStream & arg__1) 19 // QPoint::operator<<(QDataStream & arg__1)
20 extern "C" DLL_PUBLIC void qtd_QPoint_writeTo_QDataStream 20 QTD_EXTERN QTD_DLL_EXPORT void qtd_QPoint_writeTo_QDataStream
21 (void* __this_nativeId, 21 (void* __this_nativeId,
22 void* arg__1) 22 void* arg__1)
23 { 23 {
24 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; 24 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1;
25 QPoint *__qt_this = (QPoint *) __this_nativeId; 25 QPoint *__qt_this = (QPoint *) __this_nativeId;
26 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); 26 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this);
27 27
28 } 28 }
29 29
30 // QPoint::operator>>(QDataStream & arg__1) 30 // QPoint::operator>>(QDataStream & arg__1)
31 extern "C" DLL_PUBLIC void qtd_QPoint_readFrom_QDataStream 31 QTD_EXTERN QTD_DLL_EXPORT void qtd_QPoint_readFrom_QDataStream
32 (void* __this_nativeId, 32 (void* __this_nativeId,
33 void* arg__1) 33 void* arg__1)
34 { 34 {
35 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; 35 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1;
36 QPoint *__qt_this = (QPoint *) __this_nativeId; 36 QPoint *__qt_this = (QPoint *) __this_nativeId;