Hi

Still better, but I did not test yet:

METHOD QSomePlainObject:new( ... )
   LOCAL p
   LOCAL aP := hb_aParams()
   LOCAL nParams := len( aP )

   IF nParams > 0
       FOR EACH p IN aP
          p := hbqt_ptr( p )
       NEXT
   ENDIF

   ::pPtr := hb_execFromArray( @Qt_QSomePlainObject(), aP )

   return self

Regards
Pritpal Bedi
-- 
View this message in context: 
http://old.nabble.com/SF.net-SVN%3A-harbour-project%3A-13275--trunk-harbour-tp26826400p26850790.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to