Hi Marcos


Marcos Gambeta wrote:
> 
> The work is done manually. See the example:
> 
> -----------------
> File: qdialog.cpp
> -----------------
> 
> #include <QDialog>
> #include "hbapi.h"
> 
> /*
> QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
> */
> HB_FUNC( QT_QDIALOG )
> {
>    QDialog* dialog = NULL;
>    QWidget* parent = ISNIL(1)? 0 : (QWidget*) hb_parptr(1);
>    int f = ISNIL(2)? 0 : hb_parni(2);
>    dialog = new QDialog( parent, (Qt::WindowFlags) f );
>    hb_retptr( (QDialog*) dialog );
> }
> 
> ...
> 

Sounds very much portable.
If group agrees, post it in contrib. Przemek, Viktor ?

Regards
Pritpal Bedi

-- 
View this message in context: 
http://www.nabble.com/Build-xhgtk-inside-harbour-tp20867759p22568921.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to