view cpp/qt_core/QPoint_shell.cpp @ 282:256ab6cb8e85

Signals look-up andNew syntax for connect. The old one will not work from now on. This will allow for the signals overload. Although changes are done for both D1 and D2 versions, D1 won't work because of compiler bugs. I am tired of waiting for fixes.
author eldar
date Fri, 16 Oct 2009 02:43:59 +0000
parents e78566595089
children 9784459f0750
line wrap: on
line source

#include <qdatastream.h>
#include <qpoint.h>

#include "qtd_core.h"


// QPoint::manhattanLength() const
extern "C" DLL_PUBLIC int qtd_QPoint_manhattanLength
(void* __this_nativeId)
{
    QPoint *__qt_this = (QPoint *) __this_nativeId;
    int  __qt_return_value = __qt_this->manhattanLength();

    int __d_return_value = __qt_return_value;

    return __d_return_value;
}

// QPoint::operator<<(QDataStream & arg__1)
extern "C" DLL_PUBLIC void qtd_QPoint_writeTo_QDataStream
(void* __this_nativeId,
 void* arg__1)
{
    QDataStream&  __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1;
    QPoint *__qt_this = (QPoint *) __this_nativeId;
    if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this);

}

// QPoint::operator>>(QDataStream & arg__1)
extern "C" DLL_PUBLIC void qtd_QPoint_readFrom_QDataStream
(void* __this_nativeId,
 void* arg__1)
{
    QDataStream&  __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1;
    QPoint *__qt_this = (QPoint *) __this_nativeId;
    if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this);

}
// ---externC---end