From 93fdb71f2ce86fa3861252fb0ba1488796f4a2fd Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Tue, 28 Sep 2010 16:43:38 +0000 Subject: [PATCH] 2010-09-28 09:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDesktopServices.qth * contrib/hbqt/qtgui/qth/QGraphicsScene.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QPainter.qth * contrib/hbqt/qtgui/qth/QPainterPath.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * Normalized. Pulled all c++ level constructs. * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/utils/hbqtgen.prg * contrib/hbqt/utils/qtgui.qtp + Implemented: many-to-one method call resolving protocol. * contrib/hbqt/qt*/g/*.cpp, *.prg, *.txt * Re-generated. Details follow in next commit. --- harbour/ChangeLog | 19 + .../doc/en/class_qsciabstractapis.txt | 2 +- .../hbqt/qscintilla/doc/en/class_qsciapis.txt | 4 +- .../qscintilla/doc/en/class_qscicommand.txt | 2 +- .../doc/en/class_qscicommandset.txt | 2 +- .../qscintilla/doc/en/class_qscilexer.txt | 2 +- .../qscintilla/doc/en/class_qscilexercpp.txt | 4 +- .../doc/en/class_qscilexerflagship.txt | 4 +- .../qscintilla/doc/en/class_qsciscintilla.txt | 2 +- .../qscintilla/doc/en/class_qscistyle.txt | 2 +- .../doc/en/class_qscistyledtext.txt | 2 +- .../hbqt/qscintilla/g/HBQsciScintilla.cpp | 38 +- .../contrib/hbqt/qscintilla/g/QsciAPIs.cpp | 38 +- .../hbqt/qscintilla/g/QsciAbstractAPIs.cpp | 38 +- .../contrib/hbqt/qscintilla/g/QsciCommand.cpp | 38 +- .../hbqt/qscintilla/g/QsciCommandSet.cpp | 38 +- .../hbqt/qscintilla/g/QsciDocument.cpp | 38 +- .../contrib/hbqt/qscintilla/g/QsciLexer.cpp | 38 +- .../hbqt/qscintilla/g/QsciLexerCPP.cpp | 38 +- .../hbqt/qscintilla/g/QsciLexerFlagship.cpp | 38 +- .../hbqt/qscintilla/g/QsciScintilla.cpp | 38 +- .../contrib/hbqt/qscintilla/g/QsciStyle.cpp | 38 +- .../hbqt/qscintilla/g/QsciStyledText.cpp | 38 +- .../hbqt/qscintilla/g/THBQsciScintilla.prg | 38 +- .../contrib/hbqt/qscintilla/g/TQsciAPIs.prg | 40 +- .../hbqt/qscintilla/g/TQsciAbstractAPIs.prg | 40 +- .../hbqt/qscintilla/g/TQsciCommand.prg | 38 +- .../hbqt/qscintilla/g/TQsciCommandSet.prg | 40 +- .../hbqt/qscintilla/g/TQsciDocument.prg | 38 +- .../contrib/hbqt/qscintilla/g/TQsciLexer.prg | 131 +- .../hbqt/qscintilla/g/TQsciLexerCPP.prg | 46 +- .../hbqt/qscintilla/g/TQsciLexerFlagship.prg | 46 +- .../hbqt/qscintilla/g/TQsciScintilla.prg | 248 +-- .../contrib/hbqt/qscintilla/g/TQsciStyle.prg | 44 +- .../hbqt/qscintilla/g/TQsciStyledText.prg | 38 +- .../hbqt/qtcore/doc/en/class_hbqevents.txt | 4 +- .../hbqt/qtcore/doc/en/class_hbqslots.txt | 4 +- .../doc/en/class_qabstractitemmodel.txt | 4 +- .../doc/en/class_qabstractlistmodel.txt | 4 +- .../doc/en/class_qabstracttablemodel.txt | 4 +- .../hbqt/qtcore/doc/en/class_qbitarray.txt | 2 +- .../hbqt/qtcore/doc/en/class_qbuffer.txt | 4 +- .../hbqt/qtcore/doc/en/class_qbytearray.txt | 2 +- .../hbqt/qtcore/doc/en/class_qchar.txt | 2 +- .../qtcore/doc/en/class_qcoreapplication.txt | 4 +- .../hbqt/qtcore/doc/en/class_qdatastream.txt | 2 +- .../hbqt/qtcore/doc/en/class_qdate.txt | 2 +- .../hbqt/qtcore/doc/en/class_qdatetime.txt | 2 +- .../contrib/hbqt/qtcore/doc/en/class_qdir.txt | 2 +- .../hbqt/qtcore/doc/en/class_qevent.txt | 2 +- .../hbqt/qtcore/doc/en/class_qeventloop.txt | 4 +- .../hbqt/qtcore/doc/en/class_qfile.txt | 4 +- .../hbqt/qtcore/doc/en/class_qfileinfo.txt | 2 +- .../hbqt/qtcore/doc/en/class_qiodevice.txt | 4 +- .../hbqt/qtcore/doc/en/class_qlatin1char.txt | 2 +- .../qtcore/doc/en/class_qlatin1string.txt | 2 +- .../hbqt/qtcore/doc/en/class_qline.txt | 2 +- .../hbqt/qtcore/doc/en/class_qlinef.txt | 2 +- .../hbqt/qtcore/doc/en/class_qlist.txt | 2 +- .../hbqt/qtcore/doc/en/class_qlocale.txt | 2 +- .../hbqt/qtcore/doc/en/class_qmimedata.txt | 4 +- .../hbqt/qtcore/doc/en/class_qmodelindex.txt | 2 +- .../hbqt/qtcore/doc/en/class_qobject.txt | 2 +- .../hbqt/qtcore/doc/en/class_qpoint.txt | 2 +- .../hbqt/qtcore/doc/en/class_qpointf.txt | 2 +- .../hbqt/qtcore/doc/en/class_qprocess.txt | 4 +- .../hbqt/qtcore/doc/en/class_qrect.txt | 2 +- .../hbqt/qtcore/doc/en/class_qrectf.txt | 2 +- .../hbqt/qtcore/doc/en/class_qregexp.txt | 2 +- .../hbqt/qtcore/doc/en/class_qresource.txt | 2 +- .../hbqt/qtcore/doc/en/class_qsettings.txt | 4 +- .../qtcore/doc/en/class_qsignalmapper.txt | 4 +- .../hbqt/qtcore/doc/en/class_qsize.txt | 2 +- .../hbqt/qtcore/doc/en/class_qsizef.txt | 2 +- .../hbqt/qtcore/doc/en/class_qstringlist.txt | 4 +- .../doc/en/class_qtextboundaryfinder.txt | 2 +- .../hbqt/qtcore/doc/en/class_qtextcodec.txt | 2 +- .../hbqt/qtcore/doc/en/class_qtextdecoder.txt | 2 +- .../hbqt/qtcore/doc/en/class_qtextencoder.txt | 2 +- .../hbqt/qtcore/doc/en/class_qtextstream.txt | 2 +- .../hbqt/qtcore/doc/en/class_qthread.txt | 4 +- .../hbqt/qtcore/doc/en/class_qtime.txt | 2 +- .../hbqt/qtcore/doc/en/class_qtimeline.txt | 4 +- .../hbqt/qtcore/doc/en/class_qtimer.txt | 4 +- .../hbqt/qtcore/doc/en/class_qtranslator.txt | 4 +- .../contrib/hbqt/qtcore/doc/en/class_qurl.txt | 4 +- .../hbqt/qtcore/doc/en/class_qvariant.txt | 2 +- harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/HBQString.cpp | 38 +- .../hbqt/qtcore/g/QAbstractItemModel.cpp | 38 +- .../hbqt/qtcore/g/QAbstractListModel.cpp | 38 +- .../hbqt/qtcore/g/QAbstractTableModel.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QBitArray.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QBuffer.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QByteArray.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QChar.cpp | 38 +- .../hbqt/qtcore/g/QCoreApplication.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QDataStream.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QDate.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QDateTime.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QDir.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QEvent.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QFile.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QIODevice.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp | 38 +- .../contrib/hbqt/qtcore/g/QLatin1String.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QLine.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QLineF.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QList.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QLocale.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QMimeData.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QObject.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QPoint.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QPointF.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QProcess.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QRect.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QRectF.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QRegExp.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QResource.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QSettings.cpp | 38 +- .../contrib/hbqt/qtcore/g/QSignalMapper.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QSize.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QSizeF.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QStringList.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QStringRef.cpp | 38 +- .../hbqt/qtcore/g/QTextBoundaryFinder.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp | 38 +- .../contrib/hbqt/qtcore/g/QTextDecoder.cpp | 38 +- .../contrib/hbqt/qtcore/g/QTextEncoder.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QTextStream.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QThread.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QTime.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QTimer.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QTranslator.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QUrl.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/QVariant.cpp | 38 +- harbour/contrib/hbqt/qtcore/g/THBQEvents.prg | 38 +- harbour/contrib/hbqt/qtcore/g/THBQSlots.prg | 38 +- harbour/contrib/hbqt/qtcore/g/THBQString.prg | 68 +- .../hbqt/qtcore/g/TQAbstractItemModel.prg | 54 +- .../hbqt/qtcore/g/TQAbstractListModel.prg | 40 +- .../hbqt/qtcore/g/TQAbstractTableModel.prg | 40 +- harbour/contrib/hbqt/qtcore/g/TQBitArray.prg | 122 +- harbour/contrib/hbqt/qtcore/g/TQBuffer.prg | 69 +- harbour/contrib/hbqt/qtcore/g/TQByteArray.prg | 136 +- harbour/contrib/hbqt/qtcore/g/TQChar.prg | 48 +- .../hbqt/qtcore/g/TQCoreApplication.prg | 186 +- .../contrib/hbqt/qtcore/g/TQDataStream.prg | 40 +- harbour/contrib/hbqt/qtcore/g/TQDate.prg | 72 +- harbour/contrib/hbqt/qtcore/g/TQDateTime.prg | 127 +- harbour/contrib/hbqt/qtcore/g/TQDir.prg | 145 +- harbour/contrib/hbqt/qtcore/g/TQEvent.prg | 38 +- harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg | 69 +- harbour/contrib/hbqt/qtcore/g/TQFile.prg | 294 +-- harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg | 79 +- harbour/contrib/hbqt/qtcore/g/TQIODevice.prg | 162 +- .../contrib/hbqt/qtcore/g/TQLatin1Char.prg | 38 +- .../contrib/hbqt/qtcore/g/TQLatin1String.prg | 38 +- harbour/contrib/hbqt/qtcore/g/TQLine.prg | 100 +- harbour/contrib/hbqt/qtcore/g/TQLineF.prg | 108 +- harbour/contrib/hbqt/qtcore/g/TQList.prg | 88 +- harbour/contrib/hbqt/qtcore/g/TQLocale.prg | 270 +-- harbour/contrib/hbqt/qtcore/g/TQMimeData.prg | 50 +- .../contrib/hbqt/qtcore/g/TQModelIndex.prg | 48 +- harbour/contrib/hbqt/qtcore/g/TQObject.prg | 46 +- harbour/contrib/hbqt/qtcore/g/TQPoint.prg | 38 +- harbour/contrib/hbqt/qtcore/g/TQPointF.prg | 40 +- harbour/contrib/hbqt/qtcore/g/TQProcess.prg | 152 +- harbour/contrib/hbqt/qtcore/g/TQRect.prg | 201 +- harbour/contrib/hbqt/qtcore/g/TQRectF.prg | 184 +- harbour/contrib/hbqt/qtcore/g/TQRegExp.prg | 40 +- harbour/contrib/hbqt/qtcore/g/TQResource.prg | 42 +- harbour/contrib/hbqt/qtcore/g/TQSettings.prg | 75 +- .../contrib/hbqt/qtcore/g/TQSignalMapper.prg | 123 +- harbour/contrib/hbqt/qtcore/g/TQSize.prg | 69 +- harbour/contrib/hbqt/qtcore/g/TQSizeF.prg | 71 +- .../contrib/hbqt/qtcore/g/TQStringList.prg | 214 +- harbour/contrib/hbqt/qtcore/g/TQStringRef.prg | 135 +- .../hbqt/qtcore/g/TQTextBoundaryFinder.prg | 38 +- harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg | 167 +- .../contrib/hbqt/qtcore/g/TQTextDecoder.prg | 38 +- .../contrib/hbqt/qtcore/g/TQTextEncoder.prg | 69 +- .../contrib/hbqt/qtcore/g/TQTextStream.prg | 73 +- harbour/contrib/hbqt/qtcore/g/TQThread.prg | 40 +- harbour/contrib/hbqt/qtcore/g/TQTime.prg | 139 +- harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg | 38 +- harbour/contrib/hbqt/qtcore/g/TQTimer.prg | 61 +- .../contrib/hbqt/qtcore/g/TQTranslator.prg | 72 +- harbour/contrib/hbqt/qtcore/g/TQUrl.prg | 176 +- harbour/contrib/hbqt/qtcore/g/TQVariant.prg | 108 +- harbour/contrib/hbqt/qtcore/hbqt_destruct.cpp | 64 +- harbour/contrib/hbqt/qtcore/hbqt_misc.prg | 42 +- .../class_qdesigneractioneditorinterface.txt | 4 +- .../en/class_qdesignerformeditorinterface.txt | 4 +- ...ass_qdesignerformwindowcursorinterface.txt | 2 +- .../en/class_qdesignerformwindowinterface.txt | 4 +- ...ss_qdesignerformwindowmanagerinterface.txt | 4 +- ...lass_qdesignerobjectinspectorinterface.txt | 4 +- ...class_qdesignerpropertyeditorinterface.txt | 4 +- .../en/class_qdesignerwidgetboxinterface.txt | 4 +- .../g/QDesignerActionEditorInterface.cpp | 38 +- .../g/QDesignerFormEditorInterface.cpp | 38 +- .../g/QDesignerFormWindowCursorInterface.cpp | 38 +- .../g/QDesignerFormWindowInterface.cpp | 38 +- .../g/QDesignerFormWindowManagerInterface.cpp | 38 +- .../g/QDesignerObjectInspectorInterface.cpp | 38 +- .../g/QDesignerPropertyEditorInterface.cpp | 38 +- .../g/QDesignerWidgetBoxInterface.cpp | 38 +- .../g/TQDesignerActionEditorInterface.prg | 40 +- .../g/TQDesignerFormEditorInterface.prg | 50 +- .../g/TQDesignerFormWindowCursorInterface.prg | 46 +- .../g/TQDesignerFormWindowInterface.prg | 104 +- .../TQDesignerFormWindowManagerInterface.prg | 82 +- .../g/TQDesignerObjectInspectorInterface.prg | 40 +- .../g/TQDesignerPropertyEditorInterface.prg | 42 +- .../g/TQDesignerWidgetBoxInterface.prg | 38 +- harbour/contrib/hbqt/qtgui/THbQtUI.prg | 12 +- .../doc/en/class_hbqabstractitemmodel.txt | 4 +- .../qtgui/doc/en/class_hbqgraphicsitem.txt | 4 +- .../qtgui/doc/en/class_hbqgraphicsscene.txt | 4 +- .../qtgui/doc/en/class_hbqplaintextedit.txt | 4 +- .../doc/en/class_hbqsyntaxhighlighter.txt | 4 +- .../doc/en/class_hbqtextblockuserdata.txt | 2 +- .../qtgui/doc/en/class_qabstractbutton.txt | 4 +- .../en/class_qabstractgraphicsshapeitem.txt | 4 +- .../doc/en/class_qabstractitemdelegate.txt | 4 +- .../qtgui/doc/en/class_qabstractitemview.txt | 4 +- .../doc/en/class_qabstractprintdialog.txt | 4 +- .../doc/en/class_qabstractproxymodel.txt | 4 +- .../doc/en/class_qabstractscrollarea.txt | 4 +- .../qtgui/doc/en/class_qabstractslider.txt | 4 +- .../qtgui/doc/en/class_qabstractspinbox.txt | 4 +- .../en/class_qabstracttextdocumentlayout.txt | 4 +- .../hbqt/qtgui/doc/en/class_qaction.txt | 4 +- .../hbqt/qtgui/doc/en/class_qactiongroup.txt | 4 +- .../hbqt/qtgui/doc/en/class_qapplication.txt | 4 +- .../hbqt/qtgui/doc/en/class_qbitmap.txt | 4 +- .../hbqt/qtgui/doc/en/class_qboxlayout.txt | 4 +- .../hbqt/qtgui/doc/en/class_qbrush.txt | 2 +- .../hbqt/qtgui/doc/en/class_qbuttongroup.txt | 4 +- .../qtgui/doc/en/class_qcalendarwidget.txt | 4 +- .../hbqt/qtgui/doc/en/class_qcheckbox.txt | 4 +- .../hbqt/qtgui/doc/en/class_qclipboard.txt | 4 +- .../hbqt/qtgui/doc/en/class_qcolor.txt | 2 +- .../hbqt/qtgui/doc/en/class_qcolordialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qcombobox.txt | 4 +- .../qtgui/doc/en/class_qcommandlinkbutton.txt | 4 +- .../hbqt/qtgui/doc/en/class_qcompleter.txt | 4 +- .../qtgui/doc/en/class_qconicalgradient.txt | 4 +- .../qtgui/doc/en/class_qcontextmenuevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qcursor.txt | 2 +- .../hbqt/qtgui/doc/en/class_qdatetimeedit.txt | 4 +- .../qtgui/doc/en/class_qdesktopservices.txt | 56 + .../qtgui/doc/en/class_qdesktopwidget.txt | 4 +- .../contrib/hbqt/qtgui/doc/en/class_qdial.txt | 4 +- .../hbqt/qtgui/doc/en/class_qdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qdirmodel.txt | 4 +- .../hbqt/qtgui/doc/en/class_qdockwidget.txt | 4 +- .../qtgui/doc/en/class_qdoublespinbox.txt | 4 +- .../qtgui/doc/en/class_qdoublevalidator.txt | 4 +- .../contrib/hbqt/qtgui/doc/en/class_qdrag.txt | 4 +- .../qtgui/doc/en/class_qdragmoveevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qdropevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qerrormessage.txt | 4 +- .../hbqt/qtgui/doc/en/class_qfiledialog.txt | 4 +- .../qtgui/doc/en/class_qfileiconprovider.txt | 2 +- .../qtgui/doc/en/class_qfilesystemmodel.txt | 4 +- .../hbqt/qtgui/doc/en/class_qfocusevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qfocusframe.txt | 4 +- .../contrib/hbqt/qtgui/doc/en/class_qfont.txt | 2 +- .../hbqt/qtgui/doc/en/class_qfontcombobox.txt | 4 +- .../hbqt/qtgui/doc/en/class_qfontdatabase.txt | 2 +- .../hbqt/qtgui/doc/en/class_qfontdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qfontinfo.txt | 2 +- .../hbqt/qtgui/doc/en/class_qfontmetrics.txt | 2 +- .../hbqt/qtgui/doc/en/class_qfontmetricsf.txt | 2 +- .../hbqt/qtgui/doc/en/class_qformlayout.txt | 4 +- .../hbqt/qtgui/doc/en/class_qframe.txt | 4 +- .../hbqt/qtgui/doc/en/class_qgradient.txt | 2 +- .../doc/en/class_qgraphicsellipseitem.txt | 4 +- .../doc/en/class_qgraphicsgridlayout.txt | 4 +- .../hbqt/qtgui/doc/en/class_qgraphicsitem.txt | 2 +- .../doc/en/class_qgraphicsitemanimation.txt | 4 +- .../qtgui/doc/en/class_qgraphicsitemgroup.txt | 4 +- .../qtgui/doc/en/class_qgraphicslayout.txt | 4 +- .../doc/en/class_qgraphicslayoutitem.txt | 2 +- .../doc/en/class_qgraphicslinearlayout.txt | 4 +- .../qtgui/doc/en/class_qgraphicslineitem.txt | 4 +- .../qtgui/doc/en/class_qgraphicspathitem.txt | 4 +- .../doc/en/class_qgraphicspixmapitem.txt | 4 +- .../doc/en/class_qgraphicspolygonitem.txt | 4 +- .../doc/en/class_qgraphicsproxywidget.txt | 4 +- .../qtgui/doc/en/class_qgraphicsrectitem.txt | 4 +- .../qtgui/doc/en/class_qgraphicsscene.txt | 4 +- .../class_qgraphicsscenecontextmenuevent.txt | 4 +- .../en/class_qgraphicsscenedragdropevent.txt | 4 +- .../doc/en/class_qgraphicssceneevent.txt | 4 +- .../doc/en/class_qgraphicsscenehelpevent.txt | 4 +- .../doc/en/class_qgraphicsscenehoverevent.txt | 4 +- .../doc/en/class_qgraphicsscenemouseevent.txt | 4 +- .../doc/en/class_qgraphicsscenemoveevent.txt | 4 +- .../en/class_qgraphicssceneresizeevent.txt | 4 +- .../doc/en/class_qgraphicsscenewheelevent.txt | 4 +- .../doc/en/class_qgraphicssimpletextitem.txt | 4 +- .../qtgui/doc/en/class_qgraphicstextitem.txt | 4 +- .../hbqt/qtgui/doc/en/class_qgraphicsview.txt | 4 +- .../qtgui/doc/en/class_qgraphicswidget.txt | 4 +- .../hbqt/qtgui/doc/en/class_qgridlayout.txt | 4 +- .../hbqt/qtgui/doc/en/class_qgroupbox.txt | 4 +- .../hbqt/qtgui/doc/en/class_qheaderview.txt | 4 +- .../hbqt/qtgui/doc/en/class_qhelpevent.txt | 2 +- .../contrib/hbqt/qtgui/doc/en/class_qicon.txt | 2 +- .../hbqt/qtgui/doc/en/class_qimage.txt | 2 +- .../hbqt/qtgui/doc/en/class_qimagereader.txt | 2 +- .../hbqt/qtgui/doc/en/class_qimagewriter.txt | 2 +- .../hbqt/qtgui/doc/en/class_qinputdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qinputevent.txt | 4 +- .../qtgui/doc/en/class_qinputmethodevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qintvalidator.txt | 4 +- .../hbqt/qtgui/doc/en/class_qitemdelegate.txt | 4 +- .../doc/en/class_qitemeditorcreatorbase.txt | 2 +- .../qtgui/doc/en/class_qitemeditorfactory.txt | 2 +- .../qtgui/doc/en/class_qitemselection.txt | 4 +- .../doc/en/class_qitemselectionmodel.txt | 4 +- .../hbqt/qtgui/doc/en/class_qkeyevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qkeysequence.txt | 2 +- .../hbqt/qtgui/doc/en/class_qlabel.txt | 4 +- .../hbqt/qtgui/doc/en/class_qlayout.txt | 4 +- .../hbqt/qtgui/doc/en/class_qlayoutitem.txt | 2 +- .../hbqt/qtgui/doc/en/class_qlcdnumber.txt | 4 +- .../qtgui/doc/en/class_qlineargradient.txt | 4 +- .../hbqt/qtgui/doc/en/class_qlineedit.txt | 4 +- .../hbqt/qtgui/doc/en/class_qlistview.txt | 4 +- .../hbqt/qtgui/doc/en/class_qlistwidget.txt | 4 +- .../qtgui/doc/en/class_qlistwidgetitem.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmainwindow.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmatrix.txt | 2 +- .../hbqt/qtgui/doc/en/class_qmdiarea.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmdisubwindow.txt | 4 +- .../contrib/hbqt/qtgui/doc/en/class_qmenu.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmenubar.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmessagebox.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmouseevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmoveevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qmovie.txt | 4 +- .../qtgui/doc/en/class_qpagesetupdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qpaintdevice.txt | 2 +- .../hbqt/qtgui/doc/en/class_qpaintengine.txt | 2 +- .../hbqt/qtgui/doc/en/class_qpainter.txt | 142 +- .../hbqt/qtgui/doc/en/class_qpainterpath.txt | 9 +- .../hbqt/qtgui/doc/en/class_qpaintevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qpalette.txt | 2 +- .../contrib/hbqt/qtgui/doc/en/class_qpen.txt | 2 +- .../hbqt/qtgui/doc/en/class_qpicture.txt | 4 +- .../hbqt/qtgui/doc/en/class_qpixmap.txt | 4 +- .../doc/en/class_qplaintextdocumentlayout.txt | 4 +- .../qtgui/doc/en/class_qplaintextedit.txt | 4 +- .../hbqt/qtgui/doc/en/class_qpolygon.txt | 2 +- .../hbqt/qtgui/doc/en/class_qpolygonf.txt | 2 +- .../hbqt/qtgui/doc/en/class_qprintdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qprintengine.txt | 2 +- .../hbqt/qtgui/doc/en/class_qprinter.txt | 4 +- .../hbqt/qtgui/doc/en/class_qprinterinfo.txt | 2 +- .../doc/en/class_qprintpreviewdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qprogressbar.txt | 4 +- .../qtgui/doc/en/class_qprogressdialog.txt | 4 +- .../hbqt/qtgui/doc/en/class_qpushbutton.txt | 4 +- .../qtgui/doc/en/class_qradialgradient.txt | 4 +- .../qtgui/doc/en/class_qregexpvalidator.txt | 4 +- .../hbqt/qtgui/doc/en/class_qregion.txt | 2 +- .../hbqt/qtgui/doc/en/class_qresizeevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qscrollarea.txt | 4 +- .../qtgui/doc/en/class_qsessionmanager.txt | 4 +- .../hbqt/qtgui/doc/en/class_qsizepolicy.txt | 2 +- .../hbqt/qtgui/doc/en/class_qslider.txt | 4 +- .../hbqt/qtgui/doc/en/class_qsound.txt | 2 +- .../hbqt/qtgui/doc/en/class_qspaceritem.txt | 4 +- .../hbqt/qtgui/doc/en/class_qspinbox.txt | 4 +- .../hbqt/qtgui/doc/en/class_qsplashscreen.txt | 4 +- .../hbqt/qtgui/doc/en/class_qsplitter.txt | 4 +- .../qtgui/doc/en/class_qstackedwidget.txt | 4 +- .../hbqt/qtgui/doc/en/class_qstandarditem.txt | 2 +- .../qtgui/doc/en/class_qstandarditemmodel.txt | 4 +- .../hbqt/qtgui/doc/en/class_qstatusbar.txt | 4 +- .../qtgui/doc/en/class_qstringlistmodel.txt | 4 +- .../hbqt/qtgui/doc/en/class_qstyle.txt | 4 +- .../doc/en/class_qstyleditemdelegate.txt | 2 +- .../hbqt/qtgui/doc/en/class_qstylefactory.txt | 2 +- .../hbqt/qtgui/doc/en/class_qstyleoption.txt | 2 +- .../qtgui/doc/en/class_qstyleoptionbutton.txt | 4 +- .../doc/en/class_qstyleoptioncombobox.txt | 4 +- .../doc/en/class_qstyleoptioncomplex.txt | 4 +- .../doc/en/class_qstyleoptiondockwidget.txt | 4 +- .../doc/en/class_qstyleoptionfocusrect.txt | 4 +- .../qtgui/doc/en/class_qstyleoptionframe.txt | 4 +- .../doc/en/class_qstyleoptiongraphicsitem.txt | 4 +- .../doc/en/class_qstyleoptiongroupbox.txt | 4 +- .../qtgui/doc/en/class_qstyleoptionheader.txt | 4 +- .../doc/en/class_qstyleoptionmenuitem.txt | 4 +- .../doc/en/class_qstyleoptionprogressbar.txt | 4 +- .../doc/en/class_qstyleoptionsizegrip.txt | 4 +- .../qtgui/doc/en/class_qstyleoptionslider.txt | 4 +- .../doc/en/class_qstyleoptionspinbox.txt | 4 +- .../qtgui/doc/en/class_qstyleoptiontab.txt | 4 +- .../doc/en/class_qstyleoptiontabbarbase.txt | 4 +- .../en/class_qstyleoptiontabwidgetframe.txt | 4 +- .../doc/en/class_qstyleoptiontitlebar.txt | 4 +- .../doc/en/class_qstyleoptiontoolbar.txt | 4 +- .../doc/en/class_qstyleoptiontoolbox.txt | 4 +- .../doc/en/class_qstyleoptiontoolbutton.txt | 4 +- .../doc/en/class_qstyleoptionviewitem.txt | 4 +- .../hbqt/qtgui/doc/en/class_qstylepainter.txt | 4 +- .../qtgui/doc/en/class_qsyntaxhighlighter.txt | 4 +- .../qtgui/doc/en/class_qsystemtrayicon.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtabbar.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtableview.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtablewidget.txt | 4 +- .../qtgui/doc/en/class_qtablewidgetitem.txt | 2 +- .../en/class_qtablewidgetselectionrange.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtabwidget.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtextblock.txt | 2 +- .../qtgui/doc/en/class_qtextblockformat.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtextbrowser.txt | 4 +- .../qtgui/doc/en/class_qtextcharformat.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtextcursor.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextdocument.txt | 4 +- .../doc/en/class_qtextdocumentfragment.txt | 2 +- .../doc/en/class_qtextdocumentwriter.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextedit.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtextformat.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextfragment.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextframe.txt | 4 +- .../qtgui/doc/en/class_qtextframeformat.txt | 4 +- .../qtgui/doc/en/class_qtextimageformat.txt | 4 +- .../qtgui/doc/en/class_qtextinlineobject.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextitem.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextlayout.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextlength.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextline.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtextlist.txt | 4 +- .../qtgui/doc/en/class_qtextlistformat.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtextobject.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtextoption.txt | 2 +- .../qtgui/doc/en/class_qtexttableformat.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtoolbar.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtoolbox.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtoolbutton.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtransform.txt | 2 +- .../hbqt/qtgui/doc/en/class_qtreeview.txt | 4 +- .../hbqt/qtgui/doc/en/class_qtreewidget.txt | 4 +- .../qtgui/doc/en/class_qtreewidgetitem.txt | 2 +- .../hbqt/qtgui/doc/en/class_quiloader.txt | 4 +- .../hbqt/qtgui/doc/en/class_qvalidator.txt | 4 +- .../hbqt/qtgui/doc/en/class_qwheelevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qwidget.txt | 4 +- .../hbqt/qtgui/doc/en/class_qwidgetaction.txt | 4 +- .../hbqt/qtgui/doc/en/class_qwidgetitem.txt | 4 +- .../doc/en/class_qwindowstatechangeevent.txt | 4 +- .../hbqt/qtgui/doc/en/class_qwizard.txt | 4 +- .../hbqt/qtgui/doc/en/class_qwizardpage.txt | 4 +- .../hbqt/qtgui/g/HBQAbstractItemModel.cpp | 38 +- .../contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp | 38 +- .../contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp | 38 +- .../contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp | 38 +- .../hbqt/qtgui/g/HBQSyntaxHighlighter.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp | 38 +- .../hbqt/qtgui/g/HBQTextBlockUserData.cpp | 38 +- .../contrib/hbqt/qtgui/g/QAbstractButton.cpp | 38 +- .../qtgui/g/QAbstractGraphicsShapeItem.cpp | 38 +- .../hbqt/qtgui/g/QAbstractItemDelegate.cpp | 38 +- .../hbqt/qtgui/g/QAbstractItemView.cpp | 38 +- .../hbqt/qtgui/g/QAbstractPrintDialog.cpp | 38 +- .../hbqt/qtgui/g/QAbstractProxyModel.cpp | 38 +- .../hbqt/qtgui/g/QAbstractScrollArea.cpp | 38 +- .../contrib/hbqt/qtgui/g/QAbstractSlider.cpp | 38 +- .../contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp | 38 +- .../qtgui/g/QAbstractTextDocumentLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QAction.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QApplication.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QBitmap.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QBrush.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp | 38 +- .../contrib/hbqt/qtgui/g/QCalendarWidget.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QClipboard.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QColor.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QComboBox.cpp | 38 +- .../hbqt/qtgui/g/QCommandLinkButton.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QCompleter.cpp | 38 +- .../contrib/hbqt/qtgui/g/QConicalGradient.cpp | 38 +- .../hbqt/qtgui/g/QContextMenuEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QCursor.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDateTimeEdit.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDesktopServices.cpp | 211 ++ .../contrib/hbqt/qtgui/g/QDesktopWidget.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDial.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDirModel.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDoubleValidator.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDrag.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDragEnterEvent.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp | 38 +- .../contrib/hbqt/qtgui/g/QDragMoveEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp | 38 +- .../contrib/hbqt/qtgui/g/QErrorMessage.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp | 38 +- .../hbqt/qtgui/g/QFileIconProvider.cpp | 38 +- .../contrib/hbqt/qtgui/g/QFileSystemModel.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFont.cpp | 38 +- .../contrib/hbqt/qtgui/g/QFontComboBox.cpp | 38 +- .../contrib/hbqt/qtgui/g/QFontDatabase.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp | 38 +- .../contrib/hbqt/qtgui/g/QFontMetricsF.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QFrame.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QGradient.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsEllipseItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsGridLayout.cpp | 38 +- .../contrib/hbqt/qtgui/g/QGraphicsItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsItemAnimation.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsItemGroup.cpp | 38 +- .../contrib/hbqt/qtgui/g/QGraphicsLayout.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsLayoutItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsLineItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsLinearLayout.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsPathItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsPixmapItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsPolygonItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsProxyWidget.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsRectItem.cpp | 38 +- .../contrib/hbqt/qtgui/g/QGraphicsScene.cpp | 55 +- .../g/QGraphicsSceneContextMenuEvent.cpp | 38 +- .../qtgui/g/QGraphicsSceneDragDropEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSceneEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp | 38 +- .../qtgui/g/QGraphicsSceneResizeEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp | 38 +- .../hbqt/qtgui/g/QGraphicsTextItem.cpp | 38 +- .../contrib/hbqt/qtgui/g/QGraphicsView.cpp | 38 +- .../contrib/hbqt/qtgui/g/QGraphicsWidget.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QIcon.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QImage.cpp | 65 +- harbour/contrib/hbqt/qtgui/g/QImageReader.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp | 38 +- .../hbqt/qtgui/g/QInputMethodEvent.cpp | 38 +- .../contrib/hbqt/qtgui/g/QIntValidator.cpp | 38 +- .../contrib/hbqt/qtgui/g/QItemDelegate.cpp | 38 +- .../hbqt/qtgui/g/QItemEditorCreatorBase.cpp | 38 +- .../hbqt/qtgui/g/QItemEditorFactory.cpp | 38 +- .../contrib/hbqt/qtgui/g/QItemSelection.cpp | 38 +- .../hbqt/qtgui/g/QItemSelectionModel.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QLabel.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp | 38 +- .../contrib/hbqt/qtgui/g/QLinearGradient.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QListView.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QListWidget.cpp | 38 +- .../contrib/hbqt/qtgui/g/QListWidgetItem.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMatrix.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp | 38 +- .../contrib/hbqt/qtgui/g/QMdiSubWindow.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMenu.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QMovie.cpp | 38 +- .../contrib/hbqt/qtgui/g/QPageSetupDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPainter.cpp | 1968 ++++++++++------- harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp | 111 +- harbour/contrib/hbqt/qtgui/g/QPalette.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPen.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPicture.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPixmap.cpp | 65 +- .../hbqt/qtgui/g/QPlainTextDocumentLayout.cpp | 38 +- .../contrib/hbqt/qtgui/g/QPlainTextEdit.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPolygon.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp | 38 +- .../hbqt/qtgui/g/QPrintPreviewDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPrinter.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp | 38 +- .../contrib/hbqt/qtgui/g/QProgressDialog.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QPushButton.cpp | 38 +- .../contrib/hbqt/qtgui/g/QRadialGradient.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp | 38 +- .../contrib/hbqt/qtgui/g/QRegExpValidator.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QRegion.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp | 38 +- .../contrib/hbqt/qtgui/g/QSessionManager.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSlider.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSound.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp | 38 +- .../contrib/hbqt/qtgui/g/QSplashScreen.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QSplitter.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStackedWidget.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStandardItem.cpp | 38 +- .../hbqt/qtgui/g/QStandardItemModel.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStringListModel.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QStyle.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStyleFactory.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStyleHintReturn.cpp | 38 +- .../hbqt/qtgui/g/QStyleHintReturnMask.cpp | 38 +- .../hbqt/qtgui/g/QStyleHintReturnVariant.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionButton.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionComboBox.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionComplex.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionDockWidget.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionFocusRect.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionFrame.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionGroupBox.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionHeader.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionMenuItem.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionProgressBar.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionSizeGrip.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionSlider.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionSpinBox.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStyleOptionTab.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionTabBarBase.cpp | 38 +- .../qtgui/g/QStyleOptionTabWidgetFrame.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionTitleBar.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionToolBar.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionToolBox.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionToolButton.cpp | 38 +- .../hbqt/qtgui/g/QStyleOptionViewItem.cpp | 38 +- .../contrib/hbqt/qtgui/g/QStylePainter.cpp | 38 +- .../hbqt/qtgui/g/QStyledItemDelegate.cpp | 38 +- .../hbqt/qtgui/g/QSyntaxHighlighter.cpp | 38 +- .../contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTabBar.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTableView.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTableWidgetItem.cpp | 38 +- .../qtgui/g/QTableWidgetSelectionRange.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextBlockFormat.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextBlockGroup.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextCharFormat.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextDocument.cpp | 38 +- .../hbqt/qtgui/g/QTextDocumentFragment.cpp | 38 +- .../hbqt/qtgui/g/QTextDocumentWriter.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextFragment.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextFrameFormat.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextImageFormat.cpp | 38 +- .../hbqt/qtgui/g/QTextInlineObject.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextItem.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextLength.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextLine.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextList.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextListFormat.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextObject.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTextOption.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTextTableFormat.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QToolBar.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QToolBox.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QToolButton.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTransform.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTreeView.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp | 38 +- .../contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QUiLoader.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QValidator.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QWidget.cpp | 38 +- .../contrib/hbqt/qtgui/g/QWidgetAction.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp | 38 +- .../hbqt/qtgui/g/QWindowStateChangeEvent.cpp | 38 +- .../contrib/hbqt/qtgui/g/QWindowsStyle.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QWizard.cpp | 38 +- harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp | 38 +- .../hbqt/qtgui/g/THBQAbstractItemModel.prg | 40 +- .../contrib/hbqt/qtgui/g/THBQGraphicsItem.prg | 58 +- .../hbqt/qtgui/g/THBQGraphicsScene.prg | 42 +- .../hbqt/qtgui/g/THBQPlainTextEdit.prg | 84 +- .../hbqt/qtgui/g/THBQSyntaxHighlighter.prg | 38 +- .../contrib/hbqt/qtgui/g/THBQTableView.prg | 38 +- .../hbqt/qtgui/g/THBQTextBlockUserData.prg | 38 +- .../contrib/hbqt/qtgui/g/TQAbstractButton.prg | 46 +- .../qtgui/g/TQAbstractGraphicsShapeItem.prg | 42 +- .../hbqt/qtgui/g/TQAbstractItemDelegate.prg | 42 +- .../hbqt/qtgui/g/TQAbstractItemView.prg | 87 +- .../hbqt/qtgui/g/TQAbstractPrintDialog.prg | 40 +- .../hbqt/qtgui/g/TQAbstractProxyModel.prg | 48 +- .../hbqt/qtgui/g/TQAbstractScrollArea.prg | 48 +- .../contrib/hbqt/qtgui/g/TQAbstractSlider.prg | 38 +- .../hbqt/qtgui/g/TQAbstractSpinBox.prg | 38 +- .../qtgui/g/TQAbstractTextDocumentLayout.prg | 48 +- harbour/contrib/hbqt/qtgui/g/TQAction.prg | 56 +- .../contrib/hbqt/qtgui/g/TQActionGroup.prg | 79 +- .../contrib/hbqt/qtgui/g/TQApplication.prg | 218 +- harbour/contrib/hbqt/qtgui/g/TQBitmap.prg | 70 +- harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg | 68 +- harbour/contrib/hbqt/qtgui/g/TQBrush.prg | 72 +- .../contrib/hbqt/qtgui/g/TQButtonGroup.prg | 71 +- .../contrib/hbqt/qtgui/g/TQCalendarWidget.prg | 50 +- harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQClipboard.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQColor.prg | 138 +- .../contrib/hbqt/qtgui/g/TQColorDialog.prg | 88 +- harbour/contrib/hbqt/qtgui/g/TQComboBox.prg | 134 +- .../hbqt/qtgui/g/TQCommandLinkButton.prg | 38 +- .../contrib/hbqt/qtgui/g/TQCommonStyle.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQCompleter.prg | 50 +- .../hbqt/qtgui/g/TQConicalGradient.prg | 67 +- .../hbqt/qtgui/g/TQContextMenuEvent.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQCursor.prg | 75 +- harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg | 38 +- .../contrib/hbqt/qtgui/g/TQDateTimeEdit.prg | 58 +- .../hbqt/qtgui/g/TQDesktopServices.prg | 142 ++ .../contrib/hbqt/qtgui/g/TQDesktopWidget.prg | 158 +- harbour/contrib/hbqt/qtgui/g/TQDial.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQDialog.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQDirModel.prg | 102 +- harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg | 44 +- .../contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg | 38 +- .../hbqt/qtgui/g/TQDoubleValidator.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQDrag.prg | 79 +- .../contrib/hbqt/qtgui/g/TQDragEnterEvent.prg | 38 +- .../contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg | 38 +- .../contrib/hbqt/qtgui/g/TQDragMoveEvent.prg | 86 +- harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg | 44 +- .../contrib/hbqt/qtgui/g/TQErrorMessage.prg | 65 +- harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg | 80 +- .../hbqt/qtgui/g/TQFileIconProvider.prg | 66 +- .../hbqt/qtgui/g/TQFileSystemModel.prg | 58 +- harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQFont.prg | 42 +- .../contrib/hbqt/qtgui/g/TQFontComboBox.prg | 40 +- .../contrib/hbqt/qtgui/g/TQFontDatabase.prg | 82 +- harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg | 114 +- harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg | 38 +- .../contrib/hbqt/qtgui/g/TQFontMetrics.prg | 137 +- .../contrib/hbqt/qtgui/g/TQFontMetricsF.prg | 112 +- harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg | 162 +- harbour/contrib/hbqt/qtgui/g/TQFrame.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQGradient.prg | 38 +- .../hbqt/qtgui/g/TQGraphicsEllipseItem.prg | 67 +- .../hbqt/qtgui/g/TQGraphicsGridLayout.prg | 110 +- .../contrib/hbqt/qtgui/g/TQGraphicsItem.prg | 748 +++---- .../hbqt/qtgui/g/TQGraphicsItemAnimation.prg | 46 +- .../hbqt/qtgui/g/TQGraphicsItemGroup.prg | 38 +- .../contrib/hbqt/qtgui/g/TQGraphicsLayout.prg | 40 +- .../hbqt/qtgui/g/TQGraphicsLayoutItem.prg | 171 +- .../hbqt/qtgui/g/TQGraphicsLineItem.prg | 69 +- .../hbqt/qtgui/g/TQGraphicsLinearLayout.prg | 38 +- .../hbqt/qtgui/g/TQGraphicsPathItem.prg | 40 +- .../hbqt/qtgui/g/TQGraphicsPixmapItem.prg | 69 +- .../hbqt/qtgui/g/TQGraphicsPolygonItem.prg | 40 +- .../hbqt/qtgui/g/TQGraphicsProxyWidget.prg | 44 +- .../hbqt/qtgui/g/TQGraphicsRectItem.prg | 67 +- .../contrib/hbqt/qtgui/g/TQGraphicsScene.prg | 464 ++-- .../g/TQGraphicsSceneContextMenuEvent.prg | 44 +- .../qtgui/g/TQGraphicsSceneDragDropEvent.prg | 48 +- .../hbqt/qtgui/g/TQGraphicsSceneEvent.prg | 40 +- .../hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg | 42 +- .../qtgui/g/TQGraphicsSceneHoverEvent.prg | 50 +- .../qtgui/g/TQGraphicsSceneMouseEvent.prg | 56 +- .../hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg | 42 +- .../qtgui/g/TQGraphicsSceneResizeEvent.prg | 42 +- .../qtgui/g/TQGraphicsSceneWheelEvent.prg | 44 +- .../hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg | 40 +- .../hbqt/qtgui/g/TQGraphicsTextItem.prg | 46 +- .../contrib/hbqt/qtgui/g/TQGraphicsView.prg | 476 ++-- .../contrib/hbqt/qtgui/g/TQGraphicsWidget.prg | 112 +- harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg | 124 +- harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg | 100 +- harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQIcon.prg | 129 +- harbour/contrib/hbqt/qtgui/g/TQImage.prg | 354 ++- .../contrib/hbqt/qtgui/g/TQImageReader.prg | 114 +- .../contrib/hbqt/qtgui/g/TQImageWriter.prg | 44 +- .../contrib/hbqt/qtgui/g/TQInputDialog.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg | 38 +- .../hbqt/qtgui/g/TQInputMethodEvent.prg | 38 +- .../contrib/hbqt/qtgui/g/TQIntValidator.prg | 38 +- .../contrib/hbqt/qtgui/g/TQItemDelegate.prg | 44 +- .../hbqt/qtgui/g/TQItemEditorCreatorBase.prg | 42 +- .../hbqt/qtgui/g/TQItemEditorFactory.prg | 42 +- .../contrib/hbqt/qtgui/g/TQItemSelection.prg | 38 +- .../hbqt/qtgui/g/TQItemSelectionModel.prg | 74 +- harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg | 38 +- .../contrib/hbqt/qtgui/g/TQKeySequence.prg | 44 +- harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg | 86 +- harbour/contrib/hbqt/qtgui/g/TQLabel.prg | 68 +- harbour/contrib/hbqt/qtgui/g/TQLayout.prg | 91 +- harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg | 52 +- harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg | 48 +- .../contrib/hbqt/qtgui/g/TQLinearGradient.prg | 96 +- harbour/contrib/hbqt/qtgui/g/TQListView.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQListWidget.prg | 185 +- .../contrib/hbqt/qtgui/g/TQListWidgetItem.prg | 54 +- harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg | 114 +- harbour/contrib/hbqt/qtgui/g/TQMatrix.prg | 149 +- harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg | 48 +- .../contrib/hbqt/qtgui/g/TQMdiSubWindow.prg | 44 +- harbour/contrib/hbqt/qtgui/g/TQMenu.prg | 197 +- harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg | 118 +- harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg | 133 +- harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg | 44 +- harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQMovie.prg | 52 +- .../hbqt/qtgui/g/TQPageSetupDialog.prg | 40 +- .../contrib/hbqt/qtgui/g/TQPaintDevice.prg | 40 +- .../contrib/hbqt/qtgui/g/TQPaintEngine.prg | 192 +- harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQPainter.prg | 1040 +++++++-- .../contrib/hbqt/qtgui/g/TQPainterPath.prg | 495 ++--- harbour/contrib/hbqt/qtgui/g/TQPalette.prg | 194 +- harbour/contrib/hbqt/qtgui/g/TQPen.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQPicture.prg | 110 +- harbour/contrib/hbqt/qtgui/g/TQPixmap.prg | 346 ++- .../qtgui/g/TQPlainTextDocumentLayout.prg | 38 +- .../contrib/hbqt/qtgui/g/TQPlainTextEdit.prg | 77 +- harbour/contrib/hbqt/qtgui/g/TQPolygon.prg | 129 +- harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg | 75 +- .../contrib/hbqt/qtgui/g/TQPrintDialog.prg | 40 +- .../contrib/hbqt/qtgui/g/TQPrintEngine.prg | 40 +- .../hbqt/qtgui/g/TQPrintPreviewDialog.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQPrinter.prg | 150 +- .../contrib/hbqt/qtgui/g/TQPrinterInfo.prg | 42 +- .../contrib/hbqt/qtgui/g/TQProgressBar.prg | 38 +- .../contrib/hbqt/qtgui/g/TQProgressDialog.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQPushButton.prg | 40 +- .../contrib/hbqt/qtgui/g/TQRadialGradient.prg | 96 +- .../contrib/hbqt/qtgui/g/TQRadioButton.prg | 38 +- .../hbqt/qtgui/g/TQRegExpValidator.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQRegion.prg | 222 +- .../contrib/hbqt/qtgui/g/TQResizeEvent.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg | 38 +- .../contrib/hbqt/qtgui/g/TQSessionManager.prg | 66 +- harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQSlider.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQSound.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg | 38 +- .../contrib/hbqt/qtgui/g/TQSplashScreen.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQSplitter.prg | 44 +- .../contrib/hbqt/qtgui/g/TQStackedWidget.prg | 42 +- .../contrib/hbqt/qtgui/g/TQStandardItem.prg | 93 +- .../hbqt/qtgui/g/TQStandardItemModel.prg | 126 +- harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg | 38 +- .../hbqt/qtgui/g/TQStringListModel.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQStyle.prg | 125 +- .../contrib/hbqt/qtgui/g/TQStyleFactory.prg | 42 +- .../hbqt/qtgui/g/TQStyleHintReturn.prg | 38 +- .../hbqt/qtgui/g/TQStyleHintReturnMask.prg | 38 +- .../hbqt/qtgui/g/TQStyleHintReturnVariant.prg | 38 +- .../contrib/hbqt/qtgui/g/TQStyleOption.prg | 44 +- .../hbqt/qtgui/g/TQStyleOptionButton.prg | 42 +- .../hbqt/qtgui/g/TQStyleOptionComboBox.prg | 44 +- .../hbqt/qtgui/g/TQStyleOptionComplex.prg | 38 +- .../hbqt/qtgui/g/TQStyleOptionDockWidget.prg | 38 +- .../hbqt/qtgui/g/TQStyleOptionFocusRect.prg | 40 +- .../hbqt/qtgui/g/TQStyleOptionFrame.prg | 38 +- .../qtgui/g/TQStyleOptionGraphicsItem.prg | 42 +- .../hbqt/qtgui/g/TQStyleOptionGroupBox.prg | 40 +- .../hbqt/qtgui/g/TQStyleOptionHeader.prg | 40 +- .../hbqt/qtgui/g/TQStyleOptionMenuItem.prg | 44 +- .../hbqt/qtgui/g/TQStyleOptionProgressBar.prg | 38 +- .../hbqt/qtgui/g/TQStyleOptionSizeGrip.prg | 38 +- .../hbqt/qtgui/g/TQStyleOptionSlider.prg | 38 +- .../hbqt/qtgui/g/TQStyleOptionSpinBox.prg | 38 +- .../contrib/hbqt/qtgui/g/TQStyleOptionTab.prg | 40 +- .../hbqt/qtgui/g/TQStyleOptionTabBarBase.prg | 42 +- .../qtgui/g/TQStyleOptionTabWidgetFrame.prg | 44 +- .../hbqt/qtgui/g/TQStyleOptionTitleBar.prg | 40 +- .../hbqt/qtgui/g/TQStyleOptionToolBar.prg | 38 +- .../hbqt/qtgui/g/TQStyleOptionToolBox.prg | 40 +- .../hbqt/qtgui/g/TQStyleOptionToolButton.prg | 46 +- .../hbqt/qtgui/g/TQStyleOptionViewItem.prg | 42 +- .../contrib/hbqt/qtgui/g/TQStylePainter.prg | 67 +- .../hbqt/qtgui/g/TQStyledItemDelegate.prg | 42 +- .../hbqt/qtgui/g/TQSyntaxHighlighter.prg | 40 +- .../contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg | 44 +- harbour/contrib/hbqt/qtgui/g/TQTabBar.prg | 50 +- harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg | 102 +- harbour/contrib/hbqt/qtgui/g/TQTableView.prg | 44 +- .../contrib/hbqt/qtgui/g/TQTableWidget.prg | 149 +- .../hbqt/qtgui/g/TQTableWidgetItem.prg | 54 +- .../qtgui/g/TQTableWidgetSelectionRange.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg | 54 +- .../hbqt/qtgui/g/TQTextBlockFormat.prg | 38 +- .../contrib/hbqt/qtgui/g/TQTextBlockGroup.prg | 38 +- .../contrib/hbqt/qtgui/g/TQTextBrowser.prg | 46 +- .../contrib/hbqt/qtgui/g/TQTextCharFormat.prg | 46 +- harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg | 214 +- .../contrib/hbqt/qtgui/g/TQTextDocument.prg | 190 +- .../hbqt/qtgui/g/TQTextDocumentFragment.prg | 94 +- .../hbqt/qtgui/g/TQTextDocumentWriter.prg | 74 +- harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg | 108 +- harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg | 64 +- .../contrib/hbqt/qtgui/g/TQTextFragment.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg | 48 +- .../hbqt/qtgui/g/TQTextFrameFormat.prg | 92 +- .../hbqt/qtgui/g/TQTextImageFormat.prg | 38 +- .../hbqt/qtgui/g/TQTextInlineObject.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQTextItem.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg | 79 +- harbour/contrib/hbqt/qtgui/g/TQTextLength.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQTextLine.prg | 114 +- harbour/contrib/hbqt/qtgui/g/TQTextList.prg | 42 +- .../contrib/hbqt/qtgui/g/TQTextListFormat.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQTextObject.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQTextOption.prg | 40 +- .../hbqt/qtgui/g/TQTextTableFormat.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQToolBar.prg | 136 +- harbour/contrib/hbqt/qtgui/g/TQToolBox.prg | 98 +- harbour/contrib/hbqt/qtgui/g/TQToolButton.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQTransform.prg | 161 +- harbour/contrib/hbqt/qtgui/g/TQTreeView.prg | 46 +- harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg | 125 +- .../contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg | 62 +- harbour/contrib/hbqt/qtgui/g/TQUiLoader.prg | 56 +- harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQValidator.prg | 40 +- harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQWidget.prg | 614 +++-- .../contrib/hbqt/qtgui/g/TQWidgetAction.prg | 42 +- harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg | 40 +- .../hbqt/qtgui/g/TQWindowStateChangeEvent.prg | 38 +- .../contrib/hbqt/qtgui/g/TQWindowsStyle.prg | 38 +- harbour/contrib/hbqt/qtgui/g/TQWizard.prg | 52 +- harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg | 40 +- harbour/contrib/hbqt/qtgui/g/filelist.hbm | 2 + harbour/contrib/hbqt/qtgui/g/hbqtgui.h | 4 + .../hbqt/qtgui/qth/QDesktopServices.qth | 114 + .../contrib/hbqt/qtgui/qth/QGraphicsScene.qth | 12 +- harbour/contrib/hbqt/qtgui/qth/QImage.qth | 20 +- harbour/contrib/hbqt/qtgui/qth/QPainter.qth | 1064 +-------- .../contrib/hbqt/qtgui/qth/QPainterPath.qth | 46 +- harbour/contrib/hbqt/qtgui/qth/QPixmap.qth | 20 +- .../hbqt/qtnetwork/doc/en/class_qftp.txt | 4 +- .../hbqt/qtnetwork/doc/en/class_qhttp.txt | 4 +- .../qtnetwork/doc/en/class_qhttpheader.txt | 2 +- .../doc/en/class_qhttprequestheader.txt | 4 +- .../doc/en/class_qhttpresponseheader.txt | 4 +- .../doc/en/class_qnetworkrequest.txt | 2 +- harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp | 38 +- harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp | 38 +- .../contrib/hbqt/qtnetwork/g/QHttpHeader.cpp | 38 +- .../hbqt/qtnetwork/g/QHttpRequestHeader.cpp | 38 +- .../hbqt/qtnetwork/g/QHttpResponseHeader.cpp | 38 +- .../hbqt/qtnetwork/g/QNetworkRequest.cpp | 38 +- harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg | 89 +- harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg | 183 +- .../contrib/hbqt/qtnetwork/g/TQHttpHeader.prg | 42 +- .../hbqt/qtnetwork/g/TQHttpRequestHeader.prg | 38 +- .../hbqt/qtnetwork/g/TQHttpResponseHeader.prg | 38 +- .../hbqt/qtnetwork/g/TQNetworkRequest.prg | 48 +- .../hbqt/qtwebkit/doc/en/class_qwebframe.txt | 4 +- .../qtwebkit/doc/en/class_qwebhistory.txt | 2 +- .../doc/en/class_qwebhistoryinterface.txt | 4 +- .../qtwebkit/doc/en/class_qwebhistoryitem.txt | 2 +- .../doc/en/class_qwebhittestresult.txt | 2 +- .../hbqt/qtwebkit/doc/en/class_qwebpage.txt | 4 +- .../doc/en/class_qwebpluginfactory.txt | 4 +- .../doc/en/class_qwebsecurityorigin.txt | 2 +- .../qtwebkit/doc/en/class_qwebsettings.txt | 2 +- .../hbqt/qtwebkit/doc/en/class_qwebview.txt | 4 +- harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp | 38 +- .../contrib/hbqt/qtwebkit/g/QWebHistory.cpp | 38 +- .../hbqt/qtwebkit/g/QWebHistoryInterface.cpp | 38 +- .../hbqt/qtwebkit/g/QWebHistoryItem.cpp | 38 +- .../hbqt/qtwebkit/g/QWebHitTestResult.cpp | 38 +- harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp | 38 +- .../hbqt/qtwebkit/g/QWebPluginFactory.cpp | 38 +- .../hbqt/qtwebkit/g/QWebSecurityOrigin.cpp | 38 +- .../contrib/hbqt/qtwebkit/g/QWebSettings.cpp | 38 +- harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp | 38 +- .../contrib/hbqt/qtwebkit/g/TQWebFrame.prg | 116 +- .../contrib/hbqt/qtwebkit/g/TQWebHistory.prg | 52 +- .../hbqt/qtwebkit/g/TQWebHistoryInterface.prg | 40 +- .../hbqt/qtwebkit/g/TQWebHistoryItem.prg | 48 +- .../hbqt/qtwebkit/g/TQWebHitTestResult.prg | 54 +- harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg | 60 +- .../hbqt/qtwebkit/g/TQWebPluginFactory.prg | 40 +- harbour/contrib/hbqt/utils/qtgui.qtp | 1 + 1041 files changed, 32995 insertions(+), 12978 deletions(-) create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt create mode 100644 harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg create mode 100644 harbour/contrib/hbqt/qtgui/qth/QDesktopServices.qth diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 8f62bf8d41..c1ef37781d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,25 @@ The license applies to all entries newer than 2009-04-28. */ +2010-09-28 09:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbqt/qtgui/qth/QDesktopServices.qth + * contrib/hbqt/qtgui/qth/QGraphicsScene.qth + * contrib/hbqt/qtgui/qth/QImage.qth + * contrib/hbqt/qtgui/qth/QPainter.qth + * contrib/hbqt/qtgui/qth/QPainterPath.qth + * contrib/hbqt/qtgui/qth/QPixmap.qth + * Normalized. Pulled all c++ level constructs. + + * contrib/hbqt/qtgui/THbQtUI.prg + * contrib/hbqt/utils/hbqtgen.prg + * contrib/hbqt/utils/qtgui.qtp + + Implemented: many-to-one method call resolving protocol. + + * contrib/hbqt/qt*/g/*.cpp, *.prg, *.txt + * Re-generated. + + Details follow in next commit. + 2010-09-28 17:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/compiler/hbusage.c + Added to the list of contributors: diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt index 3ffdff5e06..fc710e4a50 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciAbstractAPIs( ... ) * QsciAbstractAPIs():from( pPtr_OR_oObj_of_type_QsciAbstractAPIs ) - * QsciAbstractAPIs():configure( pPtr_OR_oObj_of_type_QsciAbstractAPIs ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt index 1321834936..4ba105417d 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciAPIs( ... ) * QsciAPIs():from( pPtr_OR_oObj_of_type_QsciAPIs ) - * QsciAPIs():configure( pPtr_OR_oObj_of_type_QsciAPIs ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qscintilla/QsciAPIs.cpp * Library : hbqscintilla * $SEEALSO$ - * QsciAbstractAPIs + * QsciAbstractAPIs() * $END$ */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt index 0004505153..545a13708c 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciCommand( ... ) * QsciCommand():from( pPtr_OR_oObj_of_type_QsciCommand ) - * QsciCommand():configure( pPtr_OR_oObj_of_type_QsciCommand ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt index 2de189abf0..c603903b79 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciCommandSet( ... ) * QsciCommandSet():from( pPtr_OR_oObj_of_type_QsciCommandSet ) - * QsciCommandSet():configure( pPtr_OR_oObj_of_type_QsciCommandSet ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt index a9eb03a01e..5f4fb5731b 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciLexer( ... ) * QsciLexer():from( pPtr_OR_oObj_of_type_QsciLexer ) - * QsciLexer():configure( pPtr_OR_oObj_of_type_QsciLexer ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt index 2867dd12ee..da252e7ceb 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciLexerCPP( ... ) * QsciLexerCPP():from( pPtr_OR_oObj_of_type_QsciLexerCPP ) - * QsciLexerCPP():configure( pPtr_OR_oObj_of_type_QsciLexerCPP ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -73,6 +73,6 @@ * C++ wrappers : contrib/hbqt/qscintilla/QsciLexerCPP.cpp * Library : hbqscintilla * $SEEALSO$ - * QsciLexer + * QsciLexer() * $END$ */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt index ca891f72c6..8196e0c225 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciLexerFlagship( ... ) * QsciLexerFlagship():from( pPtr_OR_oObj_of_type_QsciLexerFlagship ) - * QsciLexerFlagship():configure( pPtr_OR_oObj_of_type_QsciLexerFlagship ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -73,6 +73,6 @@ * C++ wrappers : contrib/hbqt/qscintilla/QsciLexerFlagship.cpp * Library : hbqscintilla * $SEEALSO$ - * QsciLexer + * QsciLexer() * $END$ */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt index 2a2391afff..a08e4ed43a 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciScintilla( ... ) * QsciScintilla():from( pPtr_OR_oObj_of_type_QsciScintilla ) - * QsciScintilla():configure( pPtr_OR_oObj_of_type_QsciScintilla ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt index e949f700a0..29ca810af6 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciStyle( ... ) * QsciStyle():from( pPtr_OR_oObj_of_type_QsciStyle ) - * QsciStyle():configure( pPtr_OR_oObj_of_type_QsciStyle ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt index aa28092a69..9a0a1b0cd6 100644 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt +++ b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QsciStyledText( ... ) * QsciStyledText():from( pPtr_OR_oObj_of_type_QsciStyledText ) - * QsciStyledText():configure( pPtr_OR_oObj_of_type_QsciStyledText ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp b/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp index 2cc4cbef6b..db3579ead4 100644 --- a/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp index 699973497e..242f2f67e5 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp index d2fd0b8ef9..7bac0ff9ef 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp index 0a0a85378f..2d5536b51f 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp index e3071f4838..1ec4da3001 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp index 81327cb330..cb834aabb3 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp index 6884492279..fbf04f92d6 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp index 525637b088..08c0bd3c0e 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp index 73fedd763d..866b992c26 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp index 54bda344c2..e8cc429f4e 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp index a34da3b59f..9e08ec8f6b 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp index e1a4529348..aea813a1f0 100644 --- a/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp +++ b/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqscintilla.h" diff --git a/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg b/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg index 3f569b337d..435ba3be94 100644 --- a/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg +++ b/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg index 89a7effe35..7f6281638c 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -151,5 +183,5 @@ METHOD QsciAPIs:event( pE ) METHOD QsciAPIs:installedAPIFiles() - RETURN Qt_QsciAPIs_installedAPIFiles( ::pPtr ) + RETURN HB_QStringList():from( Qt_QsciAPIs_installedAPIFiles( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg index 2f11b898a4..45b5dcbf75 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -88,7 +120,7 @@ METHOD QsciAbstractAPIs:new( ... ) METHOD QsciAbstractAPIs:lexer() - RETURN Qt_QsciAbstractAPIs_lexer( ::pPtr ) + RETURN HB_QsciLexer():from( Qt_QsciAbstractAPIs_lexer( ::pPtr ) ) METHOD QsciAbstractAPIs:updateAutoCompletionList( pContext, pList ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg index 4a90da7ff4..1919e2feef 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg index e2192b4533..6d1019e75c 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -98,7 +130,7 @@ METHOD QsciCommandSet:writeSettings( pQs, pPrefix ) METHOD QsciCommandSet:commands() - RETURN Qt_QsciCommandSet_commands( ::pPtr ) + RETURN HB_QList():from( Qt_QsciCommandSet_commands( ::pPtr ) ) METHOD QsciCommandSet:clearKeys() diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg index 9fc3acd9f3..ca7ca83bfb 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg index c3280b138e..33e117afcd 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -138,7 +170,7 @@ METHOD QsciLexer:lexerId() METHOD QsciLexer:apis() - RETURN Qt_QsciLexer_apis( ::pPtr ) + RETURN HB_QsciAbstractAPIs():from( Qt_QsciLexer_apis( ::pPtr ) ) METHOD QsciLexer:autoCompletionFillups() @@ -146,7 +178,7 @@ METHOD QsciLexer:autoCompletionFillups() METHOD QsciLexer:autoCompletionWordSeparators() - RETURN Qt_QsciLexer_autoCompletionWordSeparators( ::pPtr ) + RETURN HB_QStringList():from( Qt_QsciLexer_autoCompletionWordSeparators( ::pPtr ) ) METHOD QsciLexer:autoIndentStyle() @@ -178,7 +210,7 @@ METHOD QsciLexer:caseSensitive() METHOD QsciLexer:color( nStyle ) - RETURN Qt_QsciLexer_color( ::pPtr, nStyle ) + RETURN HB_QColor():from( Qt_QsciLexer_color( ::pPtr, nStyle ) ) METHOD QsciLexer:eolFill( nStyle ) @@ -186,7 +218,7 @@ METHOD QsciLexer:eolFill( nStyle ) METHOD QsciLexer:font( nStyle ) - RETURN Qt_QsciLexer_font( ::pPtr, nStyle ) + RETURN HB_QFont():from( Qt_QsciLexer_font( ::pPtr, nStyle ) ) METHOD QsciLexer:indentationGuideView() @@ -206,30 +238,21 @@ METHOD QsciLexer:description( nStyle ) METHOD QsciLexer:paper( nStyle ) - RETURN Qt_QsciLexer_paper( ::pPtr, nStyle ) + RETURN HB_QColor():from( Qt_QsciLexer_paper( ::pPtr, nStyle ) ) METHOD QsciLexer:defaultColor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual QColor defaultColor (int style) const - // N n int - RETURN QColor():from( Qt_QsciLexer_defaultColor_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QColor():from( Qt_QsciLexer_defaultColor_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QColor defaultColor () const - RETURN QColor():from( Qt_QsciLexer_defaultColor( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QColor():from( Qt_QsciLexer_defaultColor( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QsciLexer:defaultEolFill( nStyle ) @@ -237,53 +260,35 @@ METHOD QsciLexer:defaultEolFill( nStyle ) METHOD QsciLexer:defaultFont( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual QFont defaultFont (int style) const - // N n int - RETURN QFont():from( Qt_QsciLexer_defaultFont_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QFont():from( Qt_QsciLexer_defaultFont_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QFont defaultFont () const - RETURN QFont():from( Qt_QsciLexer_defaultFont( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QFont():from( Qt_QsciLexer_defaultFont( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QsciLexer:defaultPaper( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual QColor defaultPaper (int style) const - // N n int - RETURN QColor():from( Qt_QsciLexer_defaultPaper_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QColor():from( Qt_QsciLexer_defaultPaper_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QColor defaultPaper () const - RETURN QColor():from( Qt_QsciLexer_defaultPaper( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QColor():from( Qt_QsciLexer_defaultPaper( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QsciLexer:editor() - RETURN Qt_QsciLexer_editor( ::pPtr ) + RETURN HB_QsciScintilla():from( Qt_QsciLexer_editor( ::pPtr ) ) METHOD QsciLexer:setEditor( pEditor ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg index 34590b025c..8ac26ff9db 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -120,7 +152,7 @@ METHOD QsciLexerCPP:lexer() METHOD QsciLexerCPP:autoCompletionWordSeparators() - RETURN Qt_QsciLexerCPP_autoCompletionWordSeparators( ::pPtr ) + RETURN HB_QStringList():from( Qt_QsciLexerCPP_autoCompletionWordSeparators( ::pPtr ) ) METHOD QsciLexerCPP:blockEnd( nStyle ) @@ -144,7 +176,7 @@ METHOD QsciLexerCPP:wordCharacters() METHOD QsciLexerCPP:defaultColor( nStyle ) - RETURN Qt_QsciLexerCPP_defaultColor( ::pPtr, nStyle ) + RETURN HB_QColor():from( Qt_QsciLexerCPP_defaultColor( ::pPtr, nStyle ) ) METHOD QsciLexerCPP:defaultEolFill( nStyle ) @@ -152,11 +184,11 @@ METHOD QsciLexerCPP:defaultEolFill( nStyle ) METHOD QsciLexerCPP:defaultFont( nStyle ) - RETURN Qt_QsciLexerCPP_defaultFont( ::pPtr, nStyle ) + RETURN HB_QFont():from( Qt_QsciLexerCPP_defaultFont( ::pPtr, nStyle ) ) METHOD QsciLexerCPP:defaultPaper( nStyle ) - RETURN Qt_QsciLexerCPP_defaultPaper( ::pPtr, nStyle ) + RETURN HB_QColor():from( Qt_QsciLexerCPP_defaultPaper( ::pPtr, nStyle ) ) METHOD QsciLexerCPP:keywords( nSet ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg index 18a8ad5809..22469db523 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -120,7 +152,7 @@ METHOD QsciLexerFlagship:lexer() METHOD QsciLexerFlagship:autoCompletionWordSeparators() - RETURN Qt_QsciLexerFlagship_autoCompletionWordSeparators( ::pPtr ) + RETURN HB_QStringList():from( Qt_QsciLexerFlagship_autoCompletionWordSeparators( ::pPtr ) ) METHOD QsciLexerFlagship:blockEnd( nStyle ) @@ -144,7 +176,7 @@ METHOD QsciLexerFlagship:wordCharacters() METHOD QsciLexerFlagship:defaultColor( nStyle ) - RETURN Qt_QsciLexerFlagship_defaultColor( ::pPtr, nStyle ) + RETURN HB_QColor():from( Qt_QsciLexerFlagship_defaultColor( ::pPtr, nStyle ) ) METHOD QsciLexerFlagship:defaultEolFill( nStyle ) @@ -152,11 +184,11 @@ METHOD QsciLexerFlagship:defaultEolFill( nStyle ) METHOD QsciLexerFlagship:defaultFont( nStyle ) - RETURN Qt_QsciLexerFlagship_defaultFont( ::pPtr, nStyle ) + RETURN HB_QFont():from( Qt_QsciLexerFlagship_defaultFont( ::pPtr, nStyle ) ) METHOD QsciLexerFlagship:defaultPaper( nStyle ) - RETURN Qt_QsciLexerFlagship_defaultPaper( ::pPtr, nStyle ) + RETURN HB_QColor():from( Qt_QsciLexerFlagship_defaultPaper( ::pPtr, nStyle ) ) METHOD QsciLexerFlagship:keywords( nSet ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg index 0d8ebff4a4..fe80e5fae3 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -270,34 +302,23 @@ METHOD QsciScintilla:new( ... ) METHOD QsciScintilla:annotate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "N" - // void annotate (int line, const QString &text, int style) - // N n int, C c QString, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QsciScintilla_annotate( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" - // void annotate (int line, const QString &text, const QsciStyle &style) - // N n int, C c QString, PO p QsciStyle + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QsciScintilla_annotate_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void annotate (int line, const QsciStyledText &text) - // N n int, PO p QsciStyledText + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_annotate_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:annotation( nLine ) @@ -377,7 +398,7 @@ METHOD QsciScintilla:clearRegisteredImages() METHOD QsciScintilla:color() - RETURN Qt_QsciScintilla_color( ::pPtr ) + RETURN HB_QColor():from( Qt_QsciScintilla_color( ::pPtr ) ) METHOD QsciScintilla:convertEols( nMode ) @@ -385,7 +406,7 @@ METHOD QsciScintilla:convertEols( nMode ) METHOD QsciScintilla:document() - RETURN Qt_QsciScintilla_document( ::pPtr ) + RETURN HB_QsciDocument():from( Qt_QsciScintilla_document( ::pPtr ) ) METHOD QsciScintilla:endUndoAction() @@ -393,7 +414,7 @@ METHOD QsciScintilla:endUndoAction() METHOD QsciScintilla:edgeColor() - RETURN Qt_QsciScintilla_edgeColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QsciScintilla_edgeColor( ::pPtr ) ) METHOD QsciScintilla:edgeColumn() @@ -513,7 +534,7 @@ METHOD QsciScintilla:length() METHOD QsciScintilla:lexer() - RETURN Qt_QsciScintilla_lexer( ::pPtr ) + RETURN HB_QsciLexer():from( Qt_QsciScintilla_lexer( ::pPtr ) ) METHOD QsciScintilla:marginLineNumbers( nMargin ) @@ -537,46 +558,29 @@ METHOD QsciScintilla:marginWidth( nMargin ) METHOD QsciScintilla:markerDefine( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // int markerDefine (char ch, int mnr=-1) - // C c char, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_markerDefine_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // int markerDefine (MarkerSymbol sym, int mnr=-1) - // N n QsciScintilla::MarkerSymbol, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_markerDefine( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // int markerDefine (const QPixmap &pm, int mnr=-1) - // PO p QPixmap, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_markerDefine_2( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int markerDefine (char ch, int mnr=-1) - // C c char, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QsciScintilla_markerDefine_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" - // int markerDefine (MarkerSymbol sym, int mnr=-1) - // N n QsciScintilla::MarkerSymbol, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QsciScintilla_markerDefine( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int markerDefine (const QPixmap &pm, int mnr=-1) - // PO p QPixmap, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QsciScintilla_markerDefine_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:markerAdd( nLinenr, nMnr ) @@ -612,7 +616,7 @@ METHOD QsciScintilla:markerFindPrevious( nLinenr, nMask ) METHOD QsciScintilla:paper() - RETURN Qt_QsciScintilla_paper( ::pPtr ) + RETURN HB_QColor():from( Qt_QsciScintilla_paper( ::pPtr ) ) METHOD QsciScintilla:positionFromLineIndex( nLine, nIndex ) @@ -696,34 +700,23 @@ METHOD QsciScintilla:setEdgeMode( nMode ) METHOD QsciScintilla:setMarginText( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "N" - // void setMarginText (int line, const QString &text, int style) - // N n int, C c QString, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QsciScintilla_setMarginText( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" - // void setMarginText (int line, const QString &text, const QsciStyle &style) - // N n int, C c QString, PO p QsciStyle + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QsciScintilla_setMarginText_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void setMarginText (int line, const QsciStyledText &text) - // N n int, PO p QsciStyledText + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_setMarginText_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:setMarginType( nMargin, nType ) @@ -779,7 +772,7 @@ METHOD QsciScintilla:showUserList( nId, pList ) METHOD QsciScintilla:standardCommands() - RETURN Qt_QsciScintilla_standardCommands( ::pPtr ) + RETURN HB_QsciCommandSet():from( Qt_QsciScintilla_standardCommands( ::pPtr ) ) METHOD QsciScintilla:tabIndents() @@ -791,26 +784,17 @@ METHOD QsciScintilla:tabWidth() METHOD QsciScintilla:text( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QString text (int line) const - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QsciScintilla_text_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QString text () const + EXIT + CASE 0 RETURN Qt_QsciScintilla_text( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:textHeight( nLinenr ) @@ -1050,27 +1034,17 @@ METHOD QsciScintilla:setMarginSensitivity( nMargin, lSens ) METHOD QsciScintilla:setMarginWidth( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" - // virtual void setMarginWidth (int margin, const QString &s) - // N n int, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_setMarginWidth_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // virtual void setMarginWidth (int margin, int width) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QsciScintilla_setMarginWidth( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:setModified( lM ) @@ -1130,49 +1104,31 @@ METHOD QsciScintilla:unindent( nLine ) METHOD QsciScintilla:zoomIn( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual void zoomIn (int range) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QsciScintilla_zoomIn( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // virtual void zoomIn () + EXIT + CASE 0 RETURN Qt_QsciScintilla_zoomIn_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:zoomOut( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual void zoomOut (int range) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QsciScintilla_zoomOut( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // virtual void zoomOut () + EXIT + CASE 0 RETURN Qt_QsciScintilla_zoomOut_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QsciScintilla:zoomTo( nSize ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg index b3bf41f3ff..1783665382 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -121,7 +153,7 @@ METHOD QsciStyle:setColor( pColor ) METHOD QsciStyle:color() - RETURN Qt_QsciStyle_color( ::pPtr ) + RETURN HB_QColor():from( Qt_QsciStyle_color( ::pPtr ) ) METHOD QsciStyle:setPaper( pPaper ) @@ -129,7 +161,7 @@ METHOD QsciStyle:setPaper( pPaper ) METHOD QsciStyle:paper() - RETURN Qt_QsciStyle_paper( ::pPtr ) + RETURN HB_QColor():from( Qt_QsciStyle_paper( ::pPtr ) ) METHOD QsciStyle:setFont( pFont ) @@ -137,7 +169,7 @@ METHOD QsciStyle:setFont( pFont ) METHOD QsciStyle:font() - RETURN Qt_QsciStyle_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QsciStyle_font( ::pPtr ) ) METHOD QsciStyle:setEolFill( lFill ) diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg index 4a979ac850..a5fc12eef6 100644 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg +++ b/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt index 2525071be2..711427a258 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQEvents( ... ) * HBQEvents():from( pPtr_OR_oObj_of_type_HBQEvents ) - * HBQEvents():configure( pPtr_OR_oObj_of_type_HBQEvents ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtcore/HBQEvents.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt index 9b4a776b3e..eee2cfc88e 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQSlots( ... ) * HBQSlots():from( pPtr_OR_oObj_of_type_HBQSlots ) - * HBQSlots():configure( pPtr_OR_oObj_of_type_HBQSlots ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtcore/HBQSlots.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt index 400187a313..4acc064bde 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractItemModel( ... ) * QAbstractItemModel():from( pPtr_OR_oObj_of_type_QAbstractItemModel ) - * QAbstractItemModel():configure( pPtr_OR_oObj_of_type_QAbstractItemModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -78,6 +78,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QAbstractItemModel.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt index fc153b1cac..9e1a5099e2 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractListModel( ... ) * QAbstractListModel():from( pPtr_OR_oObj_of_type_QAbstractListModel ) - * QAbstractListModel():configure( pPtr_OR_oObj_of_type_QAbstractListModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QAbstractListModel.cpp * Library : hbqtcore * $SEEALSO$ - * QAbstractItemModel + * QAbstractItemModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt index 31a2944aa9..e16306c64e 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractTableModel( ... ) * QAbstractTableModel():from( pPtr_OR_oObj_of_type_QAbstractTableModel ) - * QAbstractTableModel():configure( pPtr_OR_oObj_of_type_QAbstractTableModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QAbstractTableModel.cpp * Library : hbqtcore * $SEEALSO$ - * QAbstractItemModel + * QAbstractItemModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt index 9ffcb99c12..223aba9193 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QBitArray( ... ) * QBitArray():from( pPtr_OR_oObj_of_type_QBitArray ) - * QBitArray():configure( pPtr_OR_oObj_of_type_QBitArray ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt index 7d4d89ffea..58a85f0c18 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QBuffer( ... ) * QBuffer():from( pPtr_OR_oObj_of_type_QBuffer ) - * QBuffer():configure( pPtr_OR_oObj_of_type_QBuffer ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QBuffer.cpp * Library : hbqtcore * $SEEALSO$ - * QIODevice + * QIODevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt index 6e971d749a..9263f5ebdb 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QByteArray( ... ) * QByteArray():from( pPtr_OR_oObj_of_type_QByteArray ) - * QByteArray():configure( pPtr_OR_oObj_of_type_QByteArray ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt index 9c6cf6efb1..3f69d01c77 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QChar( ... ) * QChar():from( pPtr_OR_oObj_of_type_QChar ) - * QChar():configure( pPtr_OR_oObj_of_type_QChar ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt index 2317ac2f8f..bbe095d662 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QCoreApplication( ... ) * QCoreApplication():from( pPtr_OR_oObj_of_type_QCoreApplication ) - * QCoreApplication():configure( pPtr_OR_oObj_of_type_QCoreApplication ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -85,6 +85,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QCoreApplication.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt index d875e4958c..5ae339ec45 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDataStream( ... ) * QDataStream():from( pPtr_OR_oObj_of_type_QDataStream ) - * QDataStream():configure( pPtr_OR_oObj_of_type_QDataStream ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt index a63bb1ecd5..763069739e 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDate( ... ) * QDate():from( pPtr_OR_oObj_of_type_QDate ) - * QDate():configure( pPtr_OR_oObj_of_type_QDate ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt index fecc6db6ed..9c65f75cd2 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDateTime( ... ) * QDateTime():from( pPtr_OR_oObj_of_type_QDateTime ) - * QDateTime():configure( pPtr_OR_oObj_of_type_QDateTime ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt index d86e924d25..fdd68da2ad 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDir( ... ) * QDir():from( pPtr_OR_oObj_of_type_QDir ) - * QDir():configure( pPtr_OR_oObj_of_type_QDir ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt index 454426b176..b08d001b02 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QEvent( ... ) * QEvent():from( pPtr_OR_oObj_of_type_QEvent ) - * QEvent():configure( pPtr_OR_oObj_of_type_QEvent ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt index b5556fb774..3e07db4f9d 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QEventLoop( ... ) * QEventLoop():from( pPtr_OR_oObj_of_type_QEventLoop ) - * QEventLoop():configure( pPtr_OR_oObj_of_type_QEventLoop ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QEventLoop.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt index ef2ea78227..84d1ca2575 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFile( ... ) * QFile():from( pPtr_OR_oObj_of_type_QFile ) - * QFile():configure( pPtr_OR_oObj_of_type_QFile ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -79,6 +79,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QFile.cpp * Library : hbqtcore * $SEEALSO$ - * QIODevice + * QIODevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt index cf8b0f910c..83663ef527 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFileInfo( ... ) * QFileInfo():from( pPtr_OR_oObj_of_type_QFileInfo ) - * QFileInfo():configure( pPtr_OR_oObj_of_type_QFileInfo ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt index 5771833c20..3ec210a205 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QIODevice( ... ) * QIODevice():from( pPtr_OR_oObj_of_type_QIODevice ) - * QIODevice():configure( pPtr_OR_oObj_of_type_QIODevice ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -79,6 +79,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QIODevice.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt index 0ab9e86e8a..ea2960de40 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLatin1Char( ... ) * QLatin1Char():from( pPtr_OR_oObj_of_type_QLatin1Char ) - * QLatin1Char():configure( pPtr_OR_oObj_of_type_QLatin1Char ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt index b9efd61578..d652d7eaeb 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLatin1String( ... ) * QLatin1String():from( pPtr_OR_oObj_of_type_QLatin1String ) - * QLatin1String():configure( pPtr_OR_oObj_of_type_QLatin1String ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt index 172ebbacb1..96ce993f01 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLine( ... ) * QLine():from( pPtr_OR_oObj_of_type_QLine ) - * QLine():configure( pPtr_OR_oObj_of_type_QLine ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt index 01753df90a..8f14c48f41 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLineF( ... ) * QLineF():from( pPtr_OR_oObj_of_type_QLineF ) - * QLineF():configure( pPtr_OR_oObj_of_type_QLineF ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt index 76f0aa01f6..84e8fdd3c9 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QList( ... ) * QList():from( pPtr_OR_oObj_of_type_QList ) - * QList():configure( pPtr_OR_oObj_of_type_QList ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt index 13b2c5bbe2..ad97bddfc1 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLocale( ... ) * QLocale():from( pPtr_OR_oObj_of_type_QLocale ) - * QLocale():configure( pPtr_OR_oObj_of_type_QLocale ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt index 1acbe71fa8..3e85de2aee 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMimeData( ... ) * QMimeData():from( pPtr_OR_oObj_of_type_QMimeData ) - * QMimeData():configure( pPtr_OR_oObj_of_type_QMimeData ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -67,6 +67,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QMimeData.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt index b5fccbb4b1..70ff3e1a40 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QModelIndex( ... ) * QModelIndex():from( pPtr_OR_oObj_of_type_QModelIndex ) - * QModelIndex():configure( pPtr_OR_oObj_of_type_QModelIndex ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt index 6bf395b273..535bdb302f 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QObject( ... ) * QObject():from( pPtr_OR_oObj_of_type_QObject ) - * QObject():configure( pPtr_OR_oObj_of_type_QObject ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt index 62c65f2816..f24fa742c4 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPoint( ... ) * QPoint():from( pPtr_OR_oObj_of_type_QPoint ) - * QPoint():configure( pPtr_OR_oObj_of_type_QPoint ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt index 2a754899bb..716170051a 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPointF( ... ) * QPointF():from( pPtr_OR_oObj_of_type_QPointF ) - * QPointF():configure( pPtr_OR_oObj_of_type_QPointF ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt index 3dfea9a502..e4b5c1ba1b 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QProcess( ... ) * QProcess():from( pPtr_OR_oObj_of_type_QProcess ) - * QProcess():configure( pPtr_OR_oObj_of_type_QProcess ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -79,6 +79,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QProcess.cpp * Library : hbqtcore * $SEEALSO$ - * QIODevice + * QIODevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt index 0dffcb9839..5da6ae5b09 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QRect( ... ) * QRect():from( pPtr_OR_oObj_of_type_QRect ) - * QRect():configure( pPtr_OR_oObj_of_type_QRect ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt index 66ff33628e..01efce3ee0 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QRectF( ... ) * QRectF():from( pPtr_OR_oObj_of_type_QRectF ) - * QRectF():configure( pPtr_OR_oObj_of_type_QRectF ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt index 57100388b6..0d11128c0b 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QRegExp( ... ) * QRegExp():from( pPtr_OR_oObj_of_type_QRegExp ) - * QRegExp():configure( pPtr_OR_oObj_of_type_QRegExp ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt index 4d8aea9b1a..c71a429b7a 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QResource( ... ) * QResource():from( pPtr_OR_oObj_of_type_QResource ) - * QResource():configure( pPtr_OR_oObj_of_type_QResource ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt index bff1772dee..077c858bd5 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSettings( ... ) * QSettings():from( pPtr_OR_oObj_of_type_QSettings ) - * QSettings():configure( pPtr_OR_oObj_of_type_QSettings ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -77,6 +77,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QSettings.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt index 092b868505..11f5753bd7 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSignalMapper( ... ) * QSignalMapper():from( pPtr_OR_oObj_of_type_QSignalMapper ) - * QSignalMapper():configure( pPtr_OR_oObj_of_type_QSignalMapper ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QSignalMapper.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt index e63e27cd8e..689886d8a1 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSize( ... ) * QSize():from( pPtr_OR_oObj_of_type_QSize ) - * QSize():configure( pPtr_OR_oObj_of_type_QSize ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt index 05d5862cd8..749ab8ead1 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSizeF( ... ) * QSizeF():from( pPtr_OR_oObj_of_type_QSizeF ) - * QSizeF():configure( pPtr_OR_oObj_of_type_QSizeF ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt index f99b201d7c..e6ba800b11 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStringList( ... ) * QStringList():from( pPtr_OR_oObj_of_type_QStringList ) - * QStringList():configure( pPtr_OR_oObj_of_type_QStringList ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -77,6 +77,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QStringList.cpp * Library : hbqtcore * $SEEALSO$ - * QList + * QList() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt index baf70f6c54..124ee87484 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextBoundaryFinder( ... ) * QTextBoundaryFinder():from( pPtr_OR_oObj_of_type_QTextBoundaryFinder ) - * QTextBoundaryFinder():configure( pPtr_OR_oObj_of_type_QTextBoundaryFinder ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt index 3c2955c1c4..1b3db08f8c 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextCodec( ... ) * QTextCodec():from( pPtr_OR_oObj_of_type_QTextCodec ) - * QTextCodec():configure( pPtr_OR_oObj_of_type_QTextCodec ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt index 94bfb65a1e..78656f284f 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextDecoder( ... ) * QTextDecoder():from( pPtr_OR_oObj_of_type_QTextDecoder ) - * QTextDecoder():configure( pPtr_OR_oObj_of_type_QTextDecoder ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt index e12f0dfeeb..7e510fb72b 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextEncoder( ... ) * QTextEncoder():from( pPtr_OR_oObj_of_type_QTextEncoder ) - * QTextEncoder():configure( pPtr_OR_oObj_of_type_QTextEncoder ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt index ca67e03fc4..de74951a60 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextStream( ... ) * QTextStream():from( pPtr_OR_oObj_of_type_QTextStream ) - * QTextStream():configure( pPtr_OR_oObj_of_type_QTextStream ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt index e55474126a..c3fc37eda1 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QThread( ... ) * QThread():from( pPtr_OR_oObj_of_type_QThread ) - * QThread():configure( pPtr_OR_oObj_of_type_QThread ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -59,6 +59,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QThread.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt index 2bf964f92c..c7168c877b 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTime( ... ) * QTime():from( pPtr_OR_oObj_of_type_QTime ) - * QTime():configure( pPtr_OR_oObj_of_type_QTime ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt index 7ae47df968..d731abaf68 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTimeLine( ... ) * QTimeLine():from( pPtr_OR_oObj_of_type_QTimeLine ) - * QTimeLine():configure( pPtr_OR_oObj_of_type_QTimeLine ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -73,6 +73,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QTimeLine.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt index 5208987f4c..a83e5d4972 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTimer( ... ) * QTimer():from( pPtr_OR_oObj_of_type_QTimer ) - * QTimer():configure( pPtr_OR_oObj_of_type_QTimer ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QTimer.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt index c813ea4319..2fcb9b3108 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTranslator( ... ) * QTranslator():from( pPtr_OR_oObj_of_type_QTranslator ) - * QTranslator():configure( pPtr_OR_oObj_of_type_QTranslator ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QTranslator.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt index 29fd6f51fb..1c745f9bbc 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QUrl( ... ) * QUrl():from( pPtr_OR_oObj_of_type_QUrl ) - * QUrl():configure( pPtr_OR_oObj_of_type_QUrl ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -112,6 +112,6 @@ * C++ wrappers : contrib/hbqt/qtcore/QUrl.cpp * Library : hbqtcore * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt index 1a075a2391..21f3c2c0f5 100644 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt +++ b/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QVariant( ... ) * QVariant():from( pPtr_OR_oObj_of_type_QVariant ) - * QVariant():configure( pPtr_OR_oObj_of_type_QVariant ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp b/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp index f58c4d40b2..0fda125e63 100644 --- a/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp +++ b/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp b/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp index 5ab3f987bd..2c8c6128b9 100644 --- a/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp +++ b/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/HBQString.cpp b/harbour/contrib/hbqt/qtcore/g/HBQString.cpp index ffd5943076..189a09936c 100644 --- a/harbour/contrib/hbqt/qtcore/g/HBQString.cpp +++ b/harbour/contrib/hbqt/qtcore/g/HBQString.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp b/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp index 24cef0669c..a0dd5b0c96 100644 --- a/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp b/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp index a93af29bd6..40d0ea23e8 100644 --- a/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp b/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp index 7a8dab5de7..daaec05f82 100644 --- a/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp b/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp index 8110de44ed..1419dd1923 100644 --- a/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp b/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp index d02144fce4..d3f19d470d 100644 --- a/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp b/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp index 7b4432ab55..f41b11953c 100644 --- a/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QChar.cpp b/harbour/contrib/hbqt/qtcore/g/QChar.cpp index c6630e3f70..313f747649 100644 --- a/harbour/contrib/hbqt/qtcore/g/QChar.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QChar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp b/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp index 0282257906..32c131f4ce 100644 --- a/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp b/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp index 0be57d5309..66dc5bf244 100644 --- a/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QDate.cpp b/harbour/contrib/hbqt/qtcore/g/QDate.cpp index a6f7c1dc15..da233d18f2 100644 --- a/harbour/contrib/hbqt/qtcore/g/QDate.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QDate.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp b/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp index 231546fc97..dd60f8ab2a 100644 --- a/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QDir.cpp b/harbour/contrib/hbqt/qtcore/g/QDir.cpp index 50184eb8c5..1a7a2ef207 100644 --- a/harbour/contrib/hbqt/qtcore/g/QDir.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QDir.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QEvent.cpp b/harbour/contrib/hbqt/qtcore/g/QEvent.cpp index a4884cf80e..06563875ed 100644 --- a/harbour/contrib/hbqt/qtcore/g/QEvent.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp b/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp index 3165e30d87..311b918f41 100644 --- a/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QFile.cpp b/harbour/contrib/hbqt/qtcore/g/QFile.cpp index 224204294b..d3f5f8d9db 100644 --- a/harbour/contrib/hbqt/qtcore/g/QFile.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QFile.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp b/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp index b5baf30b85..18ef2a9447 100644 --- a/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp b/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp index fef4928647..385a4fe011 100644 --- a/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp b/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp index b962c690fa..a291a4cb52 100644 --- a/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp b/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp index 9fa1fe8b9f..9c39a6e774 100644 --- a/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QLine.cpp b/harbour/contrib/hbqt/qtcore/g/QLine.cpp index 4dd5b332f8..74451fd30a 100644 --- a/harbour/contrib/hbqt/qtcore/g/QLine.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QLine.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QLineF.cpp b/harbour/contrib/hbqt/qtcore/g/QLineF.cpp index 87a368561a..e9995bd2f2 100644 --- a/harbour/contrib/hbqt/qtcore/g/QLineF.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QLineF.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QList.cpp b/harbour/contrib/hbqt/qtcore/g/QList.cpp index 3051ce38bc..bbe674cae1 100644 --- a/harbour/contrib/hbqt/qtcore/g/QList.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QList.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QLocale.cpp b/harbour/contrib/hbqt/qtcore/g/QLocale.cpp index af151fd6cc..9ba2667e2b 100644 --- a/harbour/contrib/hbqt/qtcore/g/QLocale.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QLocale.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp b/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp index f7d84b3462..b6ed821a1d 100644 --- a/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp b/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp index 5055824c96..4ff5487b52 100644 --- a/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QObject.cpp b/harbour/contrib/hbqt/qtcore/g/QObject.cpp index 0986a9d873..6385880de6 100644 --- a/harbour/contrib/hbqt/qtcore/g/QObject.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QObject.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QPoint.cpp b/harbour/contrib/hbqt/qtcore/g/QPoint.cpp index 1190655f9d..0b9d5f5255 100644 --- a/harbour/contrib/hbqt/qtcore/g/QPoint.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QPoint.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QPointF.cpp b/harbour/contrib/hbqt/qtcore/g/QPointF.cpp index 13ee3dd354..61750cbe14 100644 --- a/harbour/contrib/hbqt/qtcore/g/QPointF.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QPointF.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QProcess.cpp b/harbour/contrib/hbqt/qtcore/g/QProcess.cpp index a6fc3652f9..10ba3e961b 100644 --- a/harbour/contrib/hbqt/qtcore/g/QProcess.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QProcess.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QRect.cpp b/harbour/contrib/hbqt/qtcore/g/QRect.cpp index 512a8151d2..fec35abf89 100644 --- a/harbour/contrib/hbqt/qtcore/g/QRect.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QRect.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QRectF.cpp b/harbour/contrib/hbqt/qtcore/g/QRectF.cpp index 85044c4e7d..3162673e88 100644 --- a/harbour/contrib/hbqt/qtcore/g/QRectF.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QRectF.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp b/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp index c02f01d436..ff79730529 100644 --- a/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QResource.cpp b/harbour/contrib/hbqt/qtcore/g/QResource.cpp index 7c0d628a1d..fe88fd6b8a 100644 --- a/harbour/contrib/hbqt/qtcore/g/QResource.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QResource.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QSettings.cpp b/harbour/contrib/hbqt/qtcore/g/QSettings.cpp index e80828eec4..5f7d89b3aa 100644 --- a/harbour/contrib/hbqt/qtcore/g/QSettings.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QSettings.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp b/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp index 2b812e6638..92684239c1 100644 --- a/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QSize.cpp b/harbour/contrib/hbqt/qtcore/g/QSize.cpp index 4676cdca25..5889da39c8 100644 --- a/harbour/contrib/hbqt/qtcore/g/QSize.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QSize.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp b/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp index c801fbf07a..e748b79c4a 100644 --- a/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QStringList.cpp b/harbour/contrib/hbqt/qtcore/g/QStringList.cpp index 2b76b024a5..2535b577b5 100644 --- a/harbour/contrib/hbqt/qtcore/g/QStringList.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QStringList.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp b/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp index e6e8099cd3..704e8385de 100644 --- a/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp b/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp index bb6bb67fbc..d333674108 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp b/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp index a50079142e..374130337f 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp b/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp index 33d706b5d7..6328da0ca3 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp b/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp index 925a99aac9..063c957802 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp b/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp index e193b1abd7..f5726095f8 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QThread.cpp b/harbour/contrib/hbqt/qtcore/g/QThread.cpp index 3536bcb15e..a4758f5098 100644 --- a/harbour/contrib/hbqt/qtcore/g/QThread.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QThread.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTime.cpp b/harbour/contrib/hbqt/qtcore/g/QTime.cpp index a33078ca8a..3ca62323e3 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTime.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTime.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp b/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp index 51041404ca..f5aa092d40 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTimer.cpp b/harbour/contrib/hbqt/qtcore/g/QTimer.cpp index c5b7a842bb..e1ba44001c 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTimer.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTimer.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp b/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp index e536810963..cb145335cd 100644 --- a/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QUrl.cpp b/harbour/contrib/hbqt/qtcore/g/QUrl.cpp index 4e06f01716..b77bce366f 100644 --- a/harbour/contrib/hbqt/qtcore/g/QUrl.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QUrl.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/QVariant.cpp b/harbour/contrib/hbqt/qtcore/g/QVariant.cpp index 43811b7f4c..1429855a8a 100644 --- a/harbour/contrib/hbqt/qtcore/g/QVariant.cpp +++ b/harbour/contrib/hbqt/qtcore/g/QVariant.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" diff --git a/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg b/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg index 0b991e6f31..5d0e098ea6 100644 --- a/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg +++ b/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg b/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg index 56fc0d4fd2..e112d576cc 100644 --- a/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg +++ b/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/THBQString.prg b/harbour/contrib/hbqt/qtcore/g/THBQString.prg index cdc84232d2..9a87ccadc0 100644 --- a/harbour/contrib/hbqt/qtcore/g/THBQString.prg +++ b/harbour/contrib/hbqt/qtcore/g/THBQString.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -356,7 +388,7 @@ METHOD HBQString:arg_19( nA, nFieldWidth, cFormat, nPrecision, pFillChar ) METHOD HBQString:at( nPosition ) - RETURN Qt_HBQString_at( ::pPtr, nPosition ) + RETURN HB_QChar():from( Qt_HBQString_at( ::pPtr, nPosition ) ) METHOD HBQString:capacity() @@ -388,7 +420,7 @@ METHOD HBQString:compare_3( pRef, nCs ) METHOD HBQString:constData() - RETURN Qt_HBQString_constData( ::pPtr ) + RETURN HB_QChar():from( Qt_HBQString_constData( ::pPtr ) ) METHOD HBQString:count( cStr, nCs ) @@ -408,11 +440,11 @@ METHOD HBQString:count_3() METHOD HBQString:data() - RETURN Qt_HBQString_data( ::pPtr ) + RETURN HB_QChar():from( Qt_HBQString_data( ::pPtr ) ) METHOD HBQString:data_1() - RETURN Qt_HBQString_data_1( ::pPtr ) + RETURN HB_QChar():from( Qt_HBQString_data_1( ::pPtr ) ) METHOD HBQString:endsWith( cS, nCs ) @@ -504,7 +536,7 @@ METHOD HBQString:leftJustified( nWidth, pFill, lTruncate ) METHOD HBQString:leftRef( nN ) - RETURN Qt_HBQString_leftRef( ::pPtr, nN ) + RETURN HB_QStringRef():from( Qt_HBQString_leftRef( ::pPtr, nN ) ) METHOD HBQString:length() @@ -524,7 +556,7 @@ METHOD HBQString:mid( nPosition, nN ) METHOD HBQString:midRef( nPosition, nN ) - RETURN Qt_HBQString_midRef( ::pPtr, nPosition, nN ) + RETURN HB_QStringRef():from( Qt_HBQString_midRef( ::pPtr, nPosition, nN ) ) METHOD HBQString:normalized( nMode ) @@ -656,7 +688,7 @@ METHOD HBQString:rightJustified( nWidth, pFill, lTruncate ) METHOD HBQString:rightRef( nN ) - RETURN Qt_HBQString_rightRef( ::pPtr, nN ) + RETURN HB_QStringRef():from( Qt_HBQString_rightRef( ::pPtr, nN ) ) METHOD HBQString:section( pSep, nStart, nEnd, nFlags ) @@ -728,15 +760,15 @@ METHOD HBQString:size() METHOD HBQString:split( cSep, nBehavior, nCs ) - RETURN Qt_HBQString_split( ::pPtr, cSep, nBehavior, nCs ) + RETURN HB_QStringList():from( Qt_HBQString_split( ::pPtr, cSep, nBehavior, nCs ) ) METHOD HBQString:split_1( pSep, nBehavior, nCs ) - RETURN Qt_HBQString_split_1( ::pPtr, hbqt_ptr( pSep ), nBehavior, nCs ) + RETURN HB_QStringList():from( Qt_HBQString_split_1( ::pPtr, hbqt_ptr( pSep ), nBehavior, nCs ) ) METHOD HBQString:split_2( pRx, nBehavior ) - RETURN Qt_HBQString_split_2( ::pPtr, hbqt_ptr( pRx ), nBehavior ) + RETURN HB_QStringList():from( Qt_HBQString_split_2( ::pPtr, hbqt_ptr( pRx ), nBehavior ) ) METHOD HBQString:squeeze() @@ -756,7 +788,7 @@ METHOD HBQString:startsWith_2( pC, nCs ) METHOD HBQString:toAscii() - RETURN Qt_HBQString_toAscii( ::pPtr ) + RETURN HB_QByteArray():from( Qt_HBQString_toAscii( ::pPtr ) ) METHOD HBQString:toCaseFolded() @@ -776,11 +808,11 @@ METHOD HBQString:toInt( lOk, nBase ) METHOD HBQString:toLatin1() - RETURN Qt_HBQString_toLatin1( ::pPtr ) + RETURN HB_QByteArray():from( Qt_HBQString_toLatin1( ::pPtr ) ) METHOD HBQString:toLocal8Bit() - RETURN Qt_HBQString_toLocal8Bit( ::pPtr ) + RETURN HB_QByteArray():from( Qt_HBQString_toLocal8Bit( ::pPtr ) ) METHOD HBQString:toLong( lOk, nBase ) @@ -820,7 +852,7 @@ METHOD HBQString:toUpper() METHOD HBQString:toUtf8() - RETURN Qt_HBQString_toUtf8( ::pPtr ) + RETURN HB_QByteArray():from( Qt_HBQString_toUtf8( ::pPtr ) ) METHOD HBQString:trimmed() @@ -832,7 +864,7 @@ METHOD HBQString:truncate( nPosition ) METHOD HBQString:unicode() - RETURN Qt_HBQString_unicode( ::pPtr ) + RETURN HB_QChar():from( Qt_HBQString_unicode( ::pPtr ) ) METHOD HBQString:compare_4( cS1, cS2, nCs ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg b/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg index 837f069976..691bc20f29 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -117,7 +149,7 @@ METHOD QAbstractItemModel:new( ... ) METHOD QAbstractItemModel:buddy( pIndex ) - RETURN Qt_QAbstractItemModel_buddy( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemModel_buddy( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemModel:canFetchMore( pParent ) @@ -129,7 +161,7 @@ METHOD QAbstractItemModel:columnCount( pParent ) METHOD QAbstractItemModel:data( pIndex, nRole ) - RETURN Qt_QAbstractItemModel_data( ::pPtr, hbqt_ptr( pIndex ), nRole ) + RETURN HB_QVariant():from( Qt_QAbstractItemModel_data( ::pPtr, hbqt_ptr( pIndex ), nRole ) ) METHOD QAbstractItemModel:dropMimeData( pData, nAction, nRow, nColumn, pParent ) @@ -153,11 +185,11 @@ METHOD QAbstractItemModel:hasIndex( nRow, nColumn, pParent ) METHOD QAbstractItemModel:headerData( nSection, nOrientation, nRole ) - RETURN Qt_QAbstractItemModel_headerData( ::pPtr, nSection, nOrientation, nRole ) + RETURN HB_QVariant():from( Qt_QAbstractItemModel_headerData( ::pPtr, nSection, nOrientation, nRole ) ) METHOD QAbstractItemModel:index( nRow, nColumn, pParent ) - RETURN Qt_QAbstractItemModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) ) METHOD QAbstractItemModel:insertColumn( nColumn, pParent ) @@ -177,11 +209,11 @@ METHOD QAbstractItemModel:insertRows( nRow, nCount, pParent ) METHOD QAbstractItemModel:mimeTypes() - RETURN Qt_QAbstractItemModel_mimeTypes( ::pPtr ) + RETURN HB_QStringList():from( Qt_QAbstractItemModel_mimeTypes( ::pPtr ) ) METHOD QAbstractItemModel:parent( pIndex ) - RETURN Qt_QAbstractItemModel_parent( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemModel_parent( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemModel:removeColumn( nColumn, pParent ) @@ -217,7 +249,7 @@ METHOD QAbstractItemModel:setSupportedDragActions( nActions ) METHOD QAbstractItemModel:sibling( nRow, nColumn, pIndex ) - RETURN Qt_QAbstractItemModel_sibling( ::pPtr, nRow, nColumn, hbqt_ptr( pIndex ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemModel_sibling( ::pPtr, nRow, nColumn, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemModel:sort( nColumn, nOrder ) @@ -225,7 +257,7 @@ METHOD QAbstractItemModel:sort( nColumn, nOrder ) METHOD QAbstractItemModel:span( pIndex ) - RETURN Qt_QAbstractItemModel_span( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QSize():from( Qt_QAbstractItemModel_span( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemModel:supportedDragActions() diff --git a/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg b/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg index 54333e0518..6225ce2305 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -86,5 +118,5 @@ METHOD QAbstractListModel:new( ... ) METHOD QAbstractListModel:index( nRow, nColumn, pParent ) - RETURN Qt_QAbstractListModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractListModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg b/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg index da03b650c4..f4fe469800 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -86,5 +118,5 @@ METHOD QAbstractTableModel:new( ... ) METHOD QAbstractTableModel:index( nRow, nColumn, pParent ) - RETURN Qt_QAbstractTableModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractTableModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg b/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg index bef1293643..56d7411242 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -110,60 +142,41 @@ METHOD QBitArray:clearBit( nI ) METHOD QBitArray:count( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "L" - // int count ( bool on ) const - // L l bool + CASE hb_isLogical( hb_pvalue( 1 ) ) RETURN Qt_QBitArray_count_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // int count () const + EXIT + CASE 0 RETURN Qt_QBitArray_count( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QBitArray:fill( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void fill ( bool value, int begin, int end ) - // L l bool, N n int, N n int + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QBitArray_fill_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "N" - // bool fill ( bool value, int size = -1 ) - // L l bool, N n int + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QBitArray_fill( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "L" - // bool fill ( bool value, int size = -1 ) - // L l bool, N n int + CASE hb_isLogical( hb_pvalue( 1 ) ) RETURN Qt_QBitArray_fill( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QBitArray:isEmpty() @@ -179,30 +192,21 @@ METHOD QBitArray:resize( nSize ) METHOD QBitArray:setBit( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "L" - // void setBit ( int i, bool value ) - // N n int, L l bool + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) RETURN Qt_QBitArray_setBit_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setBit ( int i ) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QBitArray_setBit( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QBitArray:size() diff --git a/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg b/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg index 219ed93f7c..14abacb5c8 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,11 +121,11 @@ METHOD QBuffer:new( ... ) METHOD QBuffer:buffer() - RETURN Qt_QBuffer_buffer( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QBuffer_buffer( ::pPtr ) ) METHOD QBuffer:data() - RETURN Qt_QBuffer_data( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QBuffer_data( ::pPtr ) ) METHOD QBuffer:setBuffer( pByteArray ) @@ -101,28 +133,19 @@ METHOD QBuffer:setBuffer( pByteArray ) METHOD QBuffer:setData( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setData ( const char * data, int size ) - // PO p char, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QBuffer_setData( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setData ( const QByteArray & data ) - // PO p QByteArray + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QBuffer_setData_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg b/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg index 793f5bae8d..29091013f5 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -183,23 +215,23 @@ METHOD QByteArray:new( ... ) METHOD QByteArray:append( pBa ) - RETURN Qt_QByteArray_append( ::pPtr, hbqt_ptr( pBa ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_append( ::pPtr, hbqt_ptr( pBa ) ) ) METHOD QByteArray:append_1( cStr ) - RETURN Qt_QByteArray_append_1( ::pPtr, cStr ) + RETURN HB_QByteArray():from( Qt_QByteArray_append_1( ::pPtr, cStr ) ) METHOD QByteArray:append_2( pStr ) - RETURN Qt_QByteArray_append_2( ::pPtr, hbqt_ptr( pStr ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_append_2( ::pPtr, hbqt_ptr( pStr ) ) ) METHOD QByteArray:append_3( pStr, nLen ) - RETURN Qt_QByteArray_append_3( ::pPtr, hbqt_ptr( pStr ), nLen ) + RETURN HB_QByteArray():from( Qt_QByteArray_append_3( ::pPtr, hbqt_ptr( pStr ), nLen ) ) METHOD QByteArray:append_4( cCh ) - RETURN Qt_QByteArray_append_4( ::pPtr, cCh ) + RETURN HB_QByteArray():from( Qt_QByteArray_append_4( ::pPtr, cCh ) ) METHOD QByteArray:at( nI ) @@ -259,7 +291,7 @@ METHOD QByteArray:endsWith_2( cCh ) METHOD QByteArray:fill( cCh, nSize ) - RETURN Qt_QByteArray_fill( ::pPtr, cCh, nSize ) + RETURN HB_QByteArray():from( Qt_QByteArray_fill( ::pPtr, cCh, nSize ) ) METHOD QByteArray:indexOf( pBa, nFrom ) @@ -279,19 +311,19 @@ METHOD QByteArray:indexOf_3( cCh, nFrom ) METHOD QByteArray:insert( nI, pBa ) - RETURN Qt_QByteArray_insert( ::pPtr, nI, hbqt_ptr( pBa ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_insert( ::pPtr, nI, hbqt_ptr( pBa ) ) ) METHOD QByteArray:insert_1( nI, cStr ) - RETURN Qt_QByteArray_insert_1( ::pPtr, nI, cStr ) + RETURN HB_QByteArray():from( Qt_QByteArray_insert_1( ::pPtr, nI, cStr ) ) METHOD QByteArray:insert_2( nI, pStr ) - RETURN Qt_QByteArray_insert_2( ::pPtr, nI, hbqt_ptr( pStr ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_insert_2( ::pPtr, nI, hbqt_ptr( pStr ) ) ) METHOD QByteArray:insert_3( nI, cCh ) - RETURN Qt_QByteArray_insert_3( ::pPtr, nI, cCh ) + RETURN HB_QByteArray():from( Qt_QByteArray_insert_3( ::pPtr, nI, cCh ) ) METHOD QByteArray:isEmpty() @@ -319,11 +351,11 @@ METHOD QByteArray:lastIndexOf_3( cCh, nFrom ) METHOD QByteArray:left( nLen ) - RETURN Qt_QByteArray_left( ::pPtr, nLen ) + RETURN HB_QByteArray():from( Qt_QByteArray_left( ::pPtr, nLen ) ) METHOD QByteArray:leftJustified( nWidth, cFill, lTruncate ) - RETURN Qt_QByteArray_leftJustified( ::pPtr, nWidth, cFill, lTruncate ) + RETURN HB_QByteArray():from( Qt_QByteArray_leftJustified( ::pPtr, nWidth, cFill, lTruncate ) ) METHOD QByteArray:length() @@ -331,19 +363,19 @@ METHOD QByteArray:length() METHOD QByteArray:mid( nPos, nLen ) - RETURN Qt_QByteArray_mid( ::pPtr, nPos, nLen ) + RETURN HB_QByteArray():from( Qt_QByteArray_mid( ::pPtr, nPos, nLen ) ) METHOD QByteArray:prepend( pBa ) - RETURN Qt_QByteArray_prepend( ::pPtr, hbqt_ptr( pBa ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_prepend( ::pPtr, hbqt_ptr( pBa ) ) ) METHOD QByteArray:prepend_1( pStr ) - RETURN Qt_QByteArray_prepend_1( ::pPtr, hbqt_ptr( pStr ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_prepend_1( ::pPtr, hbqt_ptr( pStr ) ) ) METHOD QByteArray:prepend_2( cCh ) - RETURN Qt_QByteArray_prepend_2( ::pPtr, cCh ) + RETURN HB_QByteArray():from( Qt_QByteArray_prepend_2( ::pPtr, cCh ) ) METHOD QByteArray:push_back( pOther ) @@ -371,63 +403,63 @@ METHOD QByteArray:push_front_2( cCh ) METHOD QByteArray:remove( nPos, nLen ) - RETURN Qt_QByteArray_remove( ::pPtr, nPos, nLen ) + RETURN HB_QByteArray():from( Qt_QByteArray_remove( ::pPtr, nPos, nLen ) ) METHOD QByteArray:repeated( nTimes ) - RETURN Qt_QByteArray_repeated( ::pPtr, nTimes ) + RETURN HB_QByteArray():from( Qt_QByteArray_repeated( ::pPtr, nTimes ) ) METHOD QByteArray:replace( nPos, nLen, pAfter ) - RETURN Qt_QByteArray_replace( ::pPtr, nPos, nLen, hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace( ::pPtr, nPos, nLen, hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_1( nPos, nLen, pAfter ) - RETURN Qt_QByteArray_replace_1( ::pPtr, nPos, nLen, hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_1( ::pPtr, nPos, nLen, hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_2( pBefore, pAfter ) - RETURN Qt_QByteArray_replace_2( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_2( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_3( pBefore, pAfter ) - RETURN Qt_QByteArray_replace_3( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_3( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_4( pBefore, nBsize, pAfter, nAsize ) - RETURN Qt_QByteArray_replace_4( ::pPtr, hbqt_ptr( pBefore ), nBsize, hbqt_ptr( pAfter ), nAsize ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_4( ::pPtr, hbqt_ptr( pBefore ), nBsize, hbqt_ptr( pAfter ), nAsize ) ) METHOD QByteArray:replace_5( pBefore, pAfter ) - RETURN Qt_QByteArray_replace_5( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_5( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_6( cBefore, pAfter ) - RETURN Qt_QByteArray_replace_6( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_6( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_7( cBefore, pAfter ) - RETURN Qt_QByteArray_replace_7( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_7( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_8( pBefore, pAfter ) - RETURN Qt_QByteArray_replace_8( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_8( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_9( cBefore, pAfter ) - RETURN Qt_QByteArray_replace_9( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_9( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_10( cBefore, cAfter ) - RETURN Qt_QByteArray_replace_10( ::pPtr, cBefore, cAfter ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_10( ::pPtr, cBefore, cAfter ) ) METHOD QByteArray:replace_11( cBefore, pAfter ) - RETURN Qt_QByteArray_replace_11( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_11( ::pPtr, cBefore, hbqt_ptr( pAfter ) ) ) METHOD QByteArray:replace_12( cBefore, cAfter ) - RETURN Qt_QByteArray_replace_12( ::pPtr, cBefore, cAfter ) + RETURN HB_QByteArray():from( Qt_QByteArray_replace_12( ::pPtr, cBefore, cAfter ) ) METHOD QByteArray:reserve( nSize ) @@ -439,47 +471,47 @@ METHOD QByteArray:resize( nSize ) METHOD QByteArray:right( nLen ) - RETURN Qt_QByteArray_right( ::pPtr, nLen ) + RETURN HB_QByteArray():from( Qt_QByteArray_right( ::pPtr, nLen ) ) METHOD QByteArray:rightJustified( nWidth, cFill, lTruncate ) - RETURN Qt_QByteArray_rightJustified( ::pPtr, nWidth, cFill, lTruncate ) + RETURN HB_QByteArray():from( Qt_QByteArray_rightJustified( ::pPtr, nWidth, cFill, lTruncate ) ) METHOD QByteArray:setNum( nN, nBase ) - RETURN Qt_QByteArray_setNum( ::pPtr, nN, nBase ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum( ::pPtr, nN, nBase ) ) METHOD QByteArray:setNum_1( nN, nBase ) - RETURN Qt_QByteArray_setNum_1( ::pPtr, nN, nBase ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_1( ::pPtr, nN, nBase ) ) METHOD QByteArray:setNum_2( nN, nBase ) - RETURN Qt_QByteArray_setNum_2( ::pPtr, nN, nBase ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_2( ::pPtr, nN, nBase ) ) METHOD QByteArray:setNum_3( nN, nBase ) - RETURN Qt_QByteArray_setNum_3( ::pPtr, nN, nBase ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_3( ::pPtr, nN, nBase ) ) METHOD QByteArray:setNum_4( nN, nBase ) - RETURN Qt_QByteArray_setNum_4( ::pPtr, nN, nBase ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_4( ::pPtr, nN, nBase ) ) METHOD QByteArray:setNum_5( nN, nBase ) - RETURN Qt_QByteArray_setNum_5( ::pPtr, nN, nBase ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_5( ::pPtr, nN, nBase ) ) METHOD QByteArray:setNum_6( nN, cF, nPrec ) - RETURN Qt_QByteArray_setNum_6( ::pPtr, nN, cF, nPrec ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_6( ::pPtr, nN, cF, nPrec ) ) METHOD QByteArray:setNum_7( nN, cF, nPrec ) - RETURN Qt_QByteArray_setNum_7( ::pPtr, nN, cF, nPrec ) + RETURN HB_QByteArray():from( Qt_QByteArray_setNum_7( ::pPtr, nN, cF, nPrec ) ) METHOD QByteArray:simplified() - RETURN Qt_QByteArray_simplified( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QByteArray_simplified( ::pPtr ) ) METHOD QByteArray:size() @@ -487,7 +519,7 @@ METHOD QByteArray:size() METHOD QByteArray:split( cSep ) - RETURN Qt_QByteArray_split( ::pPtr, cSep ) + RETURN HB_QList():from( Qt_QByteArray_split( ::pPtr, cSep ) ) METHOD QByteArray:squeeze() @@ -507,7 +539,7 @@ METHOD QByteArray:startsWith_2( cCh ) METHOD QByteArray:toBase64() - RETURN Qt_QByteArray_toBase64( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QByteArray_toBase64( ::pPtr ) ) METHOD QByteArray:toDouble( lOk ) @@ -519,7 +551,7 @@ METHOD QByteArray:toFloat( lOk ) METHOD QByteArray:toHex() - RETURN Qt_QByteArray_toHex( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QByteArray_toHex( ::pPtr ) ) METHOD QByteArray:toInt( lOk, nBase ) @@ -535,11 +567,11 @@ METHOD QByteArray:toLongLong( lOk, nBase ) METHOD QByteArray:toLower() - RETURN Qt_QByteArray_toLower( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QByteArray_toLower( ::pPtr ) ) METHOD QByteArray:toPercentEncoding( pExclude, pInclude, cPercent ) - RETURN Qt_QByteArray_toPercentEncoding( ::pPtr, hbqt_ptr( pExclude ), hbqt_ptr( pInclude ), cPercent ) + RETURN HB_QByteArray():from( Qt_QByteArray_toPercentEncoding( ::pPtr, hbqt_ptr( pExclude ), hbqt_ptr( pInclude ), cPercent ) ) METHOD QByteArray:toShort( lOk, nBase ) @@ -563,11 +595,11 @@ METHOD QByteArray:toUShort( lOk, nBase ) METHOD QByteArray:toUpper() - RETURN Qt_QByteArray_toUpper( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QByteArray_toUpper( ::pPtr ) ) METHOD QByteArray:trimmed() - RETURN Qt_QByteArray_trimmed( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QByteArray_trimmed( ::pPtr ) ) METHOD QByteArray:truncate( nPos ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQChar.prg b/harbour/contrib/hbqt/qtcore/g/TQChar.prg index 240e75c887..1cfa6d48f3 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQChar.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQChar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -209,7 +241,7 @@ METHOD QChar:joining() METHOD QChar:mirroredChar() - RETURN Qt_QChar_mirroredChar( ::pPtr ) + RETURN HB_QChar():from( Qt_QChar_mirroredChar( ::pPtr ) ) METHOD QChar:toAscii() @@ -217,7 +249,7 @@ METHOD QChar:toAscii() METHOD QChar:toCaseFolded() - RETURN Qt_QChar_toCaseFolded( ::pPtr ) + RETURN HB_QChar():from( Qt_QChar_toCaseFolded( ::pPtr ) ) METHOD QChar:toLatin1() @@ -225,15 +257,15 @@ METHOD QChar:toLatin1() METHOD QChar:toLower() - RETURN Qt_QChar_toLower( ::pPtr ) + RETURN HB_QChar():from( Qt_QChar_toLower( ::pPtr ) ) METHOD QChar:toTitleCase() - RETURN Qt_QChar_toTitleCase( ::pPtr ) + RETURN HB_QChar():from( Qt_QChar_toTitleCase( ::pPtr ) ) METHOD QChar:toUpper() - RETURN Qt_QChar_toUpper( ::pPtr ) + RETURN HB_QChar():from( Qt_QChar_toUpper( ::pPtr ) ) METHOD QChar:unicode() diff --git a/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg b/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg index 7640f2a67a..7ec6fef738 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -148,7 +180,7 @@ METHOD QCoreApplication:applicationVersion() METHOD QCoreApplication:arguments() - RETURN Qt_QCoreApplication_arguments( ::pPtr ) + RETURN HB_QStringList():from( Qt_QCoreApplication_arguments( ::pPtr ) ) METHOD QCoreApplication:closingDown() @@ -176,11 +208,11 @@ METHOD QCoreApplication:installTranslator( pTranslationFile ) METHOD QCoreApplication:instance() - RETURN Qt_QCoreApplication_instance( ::pPtr ) + RETURN HB_QCoreApplication():from( Qt_QCoreApplication_instance( ::pPtr ) ) METHOD QCoreApplication:libraryPaths() - RETURN Qt_QCoreApplication_libraryPaths( ::pPtr ) + RETURN HB_QStringList():from( Qt_QCoreApplication_libraryPaths( ::pPtr ) ) METHOD QCoreApplication:organizationDomain() @@ -192,61 +224,41 @@ METHOD QCoreApplication:organizationName() METHOD QCoreApplication:postEvent( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // void postEvent ( QObject * receiver, QEvent * event, int priority ) - // PO p QObject, PO p QEvent, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QCoreApplication_postEvent_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void postEvent ( QObject * receiver, QEvent * event ) - // PO p QObject, PO p QEvent + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QCoreApplication_postEvent( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QCoreApplication:processEvents( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void processEvents ( QEventLoop::ProcessEventsFlags flags, int maxtime ) - // N n QEventLoop::ProcessEventsFlags, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QCoreApplication_processEvents_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void processEvents ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents ) - // N n QEventLoop::ProcessEventsFlags + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QCoreApplication_processEvents( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void processEvents ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents ) - // N n QEventLoop::ProcessEventsFlags + EXIT + CASE 0 RETURN Qt_QCoreApplication_processEvents( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QCoreApplication:removeLibraryPath( cPath ) @@ -254,30 +266,21 @@ METHOD QCoreApplication:removeLibraryPath( cPath ) METHOD QCoreApplication:removePostedEvents( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void removePostedEvents ( QObject * receiver, int eventType ) - // PO p QObject, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QCoreApplication_removePostedEvents_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void removePostedEvents ( QObject * receiver ) - // PO p QObject + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QCoreApplication_removePostedEvents( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QCoreApplication:removeTranslator( pTranslationFile ) @@ -289,26 +292,17 @@ METHOD QCoreApplication:sendEvent( pReceiver, pEvent ) METHOD QCoreApplication:sendPostedEvents( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void sendPostedEvents ( QObject * receiver, int event_type ) - // PO p QObject, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QCoreApplication_sendPostedEvents( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void sendPostedEvents () + EXIT + CASE 0 RETURN Qt_QCoreApplication_sendPostedEvents_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QCoreApplication:setApplicationName( cApplication ) @@ -344,37 +338,27 @@ METHOD QCoreApplication:testAttribute( nAttribute ) METHOD QCoreApplication:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QString translate ( const char * context, const char * sourceText, const char * disambiguation, Encoding encoding, int n ) - // PO p char, PO p char, PO p char, N n QCoreApplication::Encoding, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QCoreApplication_translate( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "N" - // QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0, Encoding encoding = CodecForTr ) - // PO p char, PO p char, PO p char, N n QCoreApplication::Encoding + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QCoreApplication_translate_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0, Encoding encoding = CodecForTr ) - // PO p char, PO p char, PO p char, N n QCoreApplication::Encoding + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QCoreApplication_translate_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QCoreApplication:quit() diff --git a/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg b/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg index aca8dd0791..51edcb6c8f 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -106,7 +138,7 @@ METHOD QDataStream:byteOrder() METHOD QDataStream:device() - RETURN Qt_QDataStream_device( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QDataStream_device( ::pPtr ) ) METHOD QDataStream:readRawData( cS, nLen ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQDate.prg b/harbour/contrib/hbqt/qtcore/g/TQDate.prg index a4fe29e373..911dacba6a 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQDate.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQDate.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,15 +135,15 @@ METHOD QDate:new( ... ) METHOD QDate:addDays( nNdays ) - RETURN Qt_QDate_addDays( ::pPtr, nNdays ) + RETURN HB_QDate():from( Qt_QDate_addDays( ::pPtr, nNdays ) ) METHOD QDate:addMonths( nNmonths ) - RETURN Qt_QDate_addMonths( ::pPtr, nNmonths ) + RETURN HB_QDate():from( Qt_QDate_addMonths( ::pPtr, nNmonths ) ) METHOD QDate:addYears( nNyears ) - RETURN Qt_QDate_addYears( ::pPtr, nNyears ) + RETURN HB_QDate():from( Qt_QDate_addYears( ::pPtr, nNyears ) ) METHOD QDate:day() @@ -163,31 +195,19 @@ METHOD QDate:toJulianDay() METHOD QDate:toString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QString toString ( const QString & format ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QDate_toString( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" - // QString toString ( Qt::DateFormat format = Qt::TextDate ) const - // N n Qt::DateFormat + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QDate_toString_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QString toString ( Qt::DateFormat format = Qt::TextDate ) const - // N n Qt::DateFormat + EXIT + CASE 0 RETURN Qt_QDate_toString_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QDate:weekNumber( nYearNumber ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg b/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg index 347685ab28..cbbc62c60c 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -109,27 +141,27 @@ METHOD QDateTime:new( ... ) METHOD QDateTime:addDays( nNdays ) - RETURN Qt_QDateTime_addDays( ::pPtr, nNdays ) + RETURN HB_QDateTime():from( Qt_QDateTime_addDays( ::pPtr, nNdays ) ) METHOD QDateTime:addMSecs( nMsecs ) - RETURN Qt_QDateTime_addMSecs( ::pPtr, nMsecs ) + RETURN HB_QDateTime():from( Qt_QDateTime_addMSecs( ::pPtr, nMsecs ) ) METHOD QDateTime:addMonths( nNmonths ) - RETURN Qt_QDateTime_addMonths( ::pPtr, nNmonths ) + RETURN HB_QDateTime():from( Qt_QDateTime_addMonths( ::pPtr, nNmonths ) ) METHOD QDateTime:addSecs( nS ) - RETURN Qt_QDateTime_addSecs( ::pPtr, nS ) + RETURN HB_QDateTime():from( Qt_QDateTime_addSecs( ::pPtr, nS ) ) METHOD QDateTime:addYears( nNyears ) - RETURN Qt_QDateTime_addYears( ::pPtr, nNyears ) + RETURN HB_QDateTime():from( Qt_QDateTime_addYears( ::pPtr, nNyears ) ) METHOD QDateTime:date() - RETURN Qt_QDateTime_date( ::pPtr ) + RETURN HB_QDate():from( Qt_QDateTime_date( ::pPtr ) ) METHOD QDateTime:daysTo( pOther ) @@ -165,7 +197,7 @@ METHOD QDateTime:setTime_t( nSeconds ) METHOD QDateTime:time() - RETURN Qt_QDateTime_time( ::pPtr ) + RETURN HB_QTime():from( Qt_QDateTime_time( ::pPtr ) ) METHOD QDateTime:timeSpec() @@ -173,39 +205,27 @@ METHOD QDateTime:timeSpec() METHOD QDateTime:toLocalTime() - RETURN Qt_QDateTime_toLocalTime( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QDateTime_toLocalTime( ::pPtr ) ) METHOD QDateTime:toString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QString toString ( const QString & format ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QDateTime_toString( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" - // QString toString ( Qt::DateFormat format = Qt::TextDate ) const - // N n Qt::DateFormat + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QDateTime_toString_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QString toString ( Qt::DateFormat format = Qt::TextDate ) const - // N n Qt::DateFormat + EXIT + CASE 0 RETURN Qt_QDateTime_toString_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QDateTime:toTimeSpec( nSpecification ) - RETURN Qt_QDateTime_toTimeSpec( ::pPtr, nSpecification ) + RETURN HB_QDateTime():from( Qt_QDateTime_toTimeSpec( ::pPtr, nSpecification ) ) METHOD QDateTime:toTime_t() @@ -213,44 +233,33 @@ METHOD QDateTime:toTime_t() METHOD QDateTime:toUTC() - RETURN Qt_QDateTime_toUTC( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QDateTime_toUTC( ::pPtr ) ) METHOD QDateTime:currentDateTime() - RETURN Qt_QDateTime_currentDateTime( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QDateTime_currentDateTime( ::pPtr ) ) METHOD QDateTime:fromString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // QDateTime fromString ( const QString & string, const QString & format ) - // C c QString, C c QString - RETURN QDateTime():from( Qt_QDateTime_fromString_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QDateTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - // C c QString, N n Qt::DateFormat - RETURN QDateTime():from( Qt_QDateTime_fromString( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QDateTime():from( Qt_QDateTime_fromString_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QDateTime():from( Qt_QDateTime_fromString( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QDateTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - // C c QString, N n Qt::DateFormat - RETURN QDateTime():from( Qt_QDateTime_fromString( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QDateTime():from( Qt_QDateTime_fromString( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QDateTime:fromTime_t( nSeconds ) - RETURN Qt_QDateTime_fromTime_t( ::pPtr, nSeconds ) + RETURN HB_QDateTime():from( Qt_QDateTime_fromTime_t( ::pPtr, nSeconds ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQDir.prg b/harbour/contrib/hbqt/qtcore/g/TQDir.prg index 25bb9a6918..40d3abcc8f 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQDir.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQDir.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -163,64 +195,43 @@ METHOD QDir:dirName() METHOD QDir:entryList( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QStringList entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const - // PO p QStringList, N n QDir::Filters, N n QDir::SortFlags - RETURN QStringList():from( Qt_QDir_entryList( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QStringList():from( Qt_QDir_entryList( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QStringList entryList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const - // N n QDir::Filters, N n QDir::SortFlags - RETURN QStringList():from( Qt_QDir_entryList_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QStringList():from( Qt_QDir_entryList_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QStringList entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const - // PO p QStringList, N n QDir::Filters, N n QDir::SortFlags - RETURN QStringList():from( Qt_QDir_entryList( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QStringList():from( Qt_QDir_entryList( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QStringList entryList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const - // N n QDir::Filters, N n QDir::SortFlags - RETURN QStringList():from( Qt_QDir_entryList_1( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QStringList():from( Qt_QDir_entryList_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QDir:exists( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool exists ( const QString & name ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QDir_exists( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool exists () const + EXIT + CASE 0 RETURN Qt_QDir_exists_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QDir:filePath( cFileName ) @@ -260,7 +271,7 @@ METHOD QDir:mkpath( cDirPath ) METHOD QDir:nameFilters() - RETURN Qt_QDir_nameFilters( ::pPtr ) + RETURN HB_QStringList():from( Qt_QDir_nameFilters( ::pPtr ) ) METHOD QDir:path() @@ -320,7 +331,7 @@ METHOD QDir:cleanPath( cPath ) METHOD QDir:current() - RETURN Qt_QDir_current( ::pPtr ) + RETURN HB_QDir():from( Qt_QDir_current( ::pPtr ) ) METHOD QDir:currentPath() @@ -332,7 +343,7 @@ METHOD QDir:fromNativeSeparators( cPathName ) METHOD QDir:home() - RETURN Qt_QDir_home( ::pPtr ) + RETURN HB_QDir():from( Qt_QDir_home( ::pPtr ) ) METHOD QDir:homePath() @@ -348,31 +359,21 @@ METHOD QDir:isRelativePath( cPath ) METHOD QDir:match( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // bool match ( const QString & filter, const QString & fileName ) - // C c QString, C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QDir_match( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // bool match ( const QStringList & filters, const QString & fileName ) - // PO p QStringList, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QDir_match_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QDir:root() - RETURN Qt_QDir_root( ::pPtr ) + RETURN HB_QDir():from( Qt_QDir_root( ::pPtr ) ) METHOD QDir:rootPath() @@ -380,11 +381,11 @@ METHOD QDir:rootPath() METHOD QDir:searchPaths( cPrefix ) - RETURN Qt_QDir_searchPaths( ::pPtr, cPrefix ) + RETURN HB_QStringList():from( Qt_QDir_searchPaths( ::pPtr, cPrefix ) ) METHOD QDir:separator() - RETURN Qt_QDir_separator( ::pPtr ) + RETURN HB_QChar():from( Qt_QDir_separator( ::pPtr ) ) METHOD QDir:setCurrent( cPath ) @@ -396,7 +397,7 @@ METHOD QDir:setSearchPaths( cPrefix, pSearchPaths ) METHOD QDir:temp() - RETURN Qt_QDir_temp( ::pPtr ) + RETURN HB_QDir():from( Qt_QDir_temp( ::pPtr ) ) METHOD QDir:tempPath() diff --git a/harbour/contrib/hbqt/qtcore/g/TQEvent.prg b/harbour/contrib/hbqt/qtcore/g/TQEvent.prg index 951f113a57..26fde1f674 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQEvent.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg b/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg index 01aade4a33..96bd7bcb98 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,34 +134,23 @@ METHOD QEventLoop:isRunning() METHOD QEventLoop:processEvents( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void processEvents ( ProcessEventsFlags flags, int maxTime ) - // N n QEventLoop::ProcessEventsFlags, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QEventLoop_processEvents_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // bool processEvents ( ProcessEventsFlags flags = AllEvents ) - // N n QEventLoop::ProcessEventsFlags + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QEventLoop_processEvents( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool processEvents ( ProcessEventsFlags flags = AllEvents ) - // N n QEventLoop::ProcessEventsFlags + EXIT + CASE 0 RETURN Qt_QEventLoop_processEvents( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QEventLoop:wakeUp() diff --git a/harbour/contrib/hbqt/qtcore/g/TQFile.prg b/harbour/contrib/hbqt/qtcore/g/TQFile.prg index f9b46a04d5..d3cad904ab 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQFile.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQFile.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,30 +148,21 @@ METHOD QFile:close() METHOD QFile:copy( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // bool copy ( const QString & fileName, const QString & newName ) - // C c QString, C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QFile_copy_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool copy ( const QString & newName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_copy( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFile:error() @@ -147,26 +170,17 @@ METHOD QFile:error() METHOD QFile:exists( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool exists ( const QString & fileName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_exists_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool exists () const + EXIT + CASE 0 RETURN Qt_QFile_exists( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QFile:fileName() @@ -186,30 +200,21 @@ METHOD QFile:isSequential() METHOD QFile:link( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // bool link ( const QString & fileName, const QString & linkName ) - // C c QString, C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QFile_link_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool link ( const QString & linkName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_link( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFile:map( nOffset, nSize, nFlags ) @@ -217,130 +222,85 @@ METHOD QFile:map( nOffset, nSize, nFlags ) METHOD QFile:open( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // bool open ( int fd, OpenMode mode ) - // N n int, N n QFile::OpenMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QFile_open_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual bool open ( OpenMode mode ) - // N n QFile::OpenMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QFile_open( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFile:permissions( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // Permissions permissions ( const QString & fileName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_permissions_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // Permissions permissions () const + EXIT + CASE 0 RETURN Qt_QFile_permissions( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QFile:remove( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool remove ( const QString & fileName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_remove_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool remove () + EXIT + CASE 0 RETURN Qt_QFile_remove( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QFile:rename( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // bool rename ( const QString & oldName, const QString & newName ) - // C c QString, C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QFile_rename_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool rename ( const QString & newName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_rename( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFile:resize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // bool resize ( const QString & fileName, qint64 sz ) - // C c QString, N n qint64 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QFile_resize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // bool resize ( qint64 sz ) - // N n qint64 + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QFile_resize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFile:setFileName( cName ) @@ -348,30 +308,21 @@ METHOD QFile:setFileName( cName ) METHOD QFile:setPermissions( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // bool setPermissions ( const QString & fileName, Permissions permissions ) - // C c QString, N n QFile::Permissions + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QFile_setPermissions_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // bool setPermissions ( Permissions permissions ) - // N n QFile::Permissions + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QFile_setPermissions( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFile:size() @@ -379,26 +330,17 @@ METHOD QFile:size() METHOD QFile:symLinkTarget( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QString symLinkTarget ( const QString & fileName ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFile_symLinkTarget_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QString symLinkTarget () const + EXIT + CASE 0 RETURN Qt_QFile_symLinkTarget( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QFile:unsetError() @@ -410,5 +352,5 @@ METHOD QFile:decodeName( pLocalFileName ) METHOD QFile:encodeName( cFileName ) - RETURN Qt_QFile_encodeName( ::pPtr, cFileName ) + RETURN HB_QByteArray():from( Qt_QFile_encodeName( ::pPtr, cFileName ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg b/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg index 354ee842d2..2e3154f81f 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -127,7 +159,7 @@ METHOD QFileInfo:new( ... ) METHOD QFileInfo:absoluteDir() - RETURN Qt_QFileInfo_absoluteDir( ::pPtr ) + RETURN HB_QDir():from( Qt_QFileInfo_absoluteDir( ::pPtr ) ) METHOD QFileInfo:absoluteFilePath() @@ -167,11 +199,11 @@ METHOD QFileInfo:completeSuffix() METHOD QFileInfo:created() - RETURN Qt_QFileInfo_created( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QFileInfo_created( ::pPtr ) ) METHOD QFileInfo:dir() - RETURN Qt_QFileInfo_dir( ::pPtr ) + RETURN HB_QDir():from( Qt_QFileInfo_dir( ::pPtr ) ) METHOD QFileInfo:exists() @@ -239,11 +271,11 @@ METHOD QFileInfo:isWritable() METHOD QFileInfo:lastModified() - RETURN Qt_QFileInfo_lastModified( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QFileInfo_lastModified( ::pPtr ) ) METHOD QFileInfo:lastRead() - RETURN Qt_QFileInfo_lastRead( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QFileInfo_lastRead( ::pPtr ) ) METHOD QFileInfo:makeAbsolute() @@ -279,34 +311,23 @@ METHOD QFileInfo:setCaching( lEnable ) METHOD QFileInfo:setFile( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // void setFile ( const QDir & dir, const QString & file ) - // PO p QDir, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QFileInfo_setFile_2( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void setFile ( const QString & file ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFileInfo_setFile( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setFile ( const QFile & file ) - // PO p QFile + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QFileInfo_setFile_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFileInfo:size() diff --git a/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg b/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg index 69cf5ea832..a482539184 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -169,30 +201,21 @@ METHOD QIODevice:openMode() METHOD QIODevice:peek( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // qint64 peek ( char * data, qint64 maxSize ) - // C c char, N n qint64 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QIODevice_peek( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QByteArray peek ( qint64 maxSize ) - // N n qint64 - RETURN QByteArray():from( Qt_QIODevice_peek_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QByteArray():from( Qt_QIODevice_peek_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QIODevice:pos() @@ -204,65 +227,45 @@ METHOD QIODevice:putChar( cC ) METHOD QIODevice:read( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // qint64 read ( char * data, qint64 maxSize ) - // C c char, N n qint64 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QIODevice_read( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QByteArray read ( qint64 maxSize ) - // N n qint64 - RETURN QByteArray():from( Qt_QIODevice_read_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QByteArray():from( Qt_QIODevice_read_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QIODevice:readAll() - RETURN Qt_QIODevice_readAll( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QIODevice_readAll( ::pPtr ) ) METHOD QIODevice:readLine( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // qint64 readLine ( char * data, qint64 maxSize ) - // C c char, N n qint64 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QIODevice_readLine( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QByteArray readLine ( qint64 maxSize = 0 ) - // N n qint64 - RETURN QByteArray():from( Qt_QIODevice_readLine_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QByteArray():from( Qt_QIODevice_readLine_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QByteArray readLine ( qint64 maxSize = 0 ) - // N n qint64 - RETURN QByteArray():from( Qt_QIODevice_readLine_1( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QByteArray():from( Qt_QIODevice_readLine_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QIODevice:reset() @@ -294,31 +297,20 @@ METHOD QIODevice:waitForReadyRead( nMsecs ) METHOD QIODevice:write( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // qint64 write ( const char * data, qint64 maxSize ) - // PO p char, N n qint64 + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QIODevice_write( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // qint64 write ( const char * data ) - // PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QIODevice_write_1( ::pPtr, ... ) - // qint64 write ( const QByteArray & byteArray ) - // PO p QByteArray // RETURN Qt_QIODevice_write_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg b/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg index 3922d8ebae..c50b167aab 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg b/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg index 6bcba414a3..c26e9b1003 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQLine.prg b/harbour/contrib/hbqt/qtcore/g/TQLine.prg index 9b2a0895f7..4be597d12d 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQLine.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQLine.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -100,11 +132,11 @@ METHOD QLine:new( ... ) METHOD QLine:p1() - RETURN Qt_QLine_p1( ::pPtr ) + RETURN HB_QPoint():from( Qt_QLine_p1( ::pPtr ) ) METHOD QLine:p2() - RETURN Qt_QLine_p2( ::pPtr ) + RETURN HB_QPoint():from( Qt_QLine_p2( ::pPtr ) ) METHOD QLine:x1() @@ -152,55 +184,37 @@ METHOD QLine:setPoints( pP1, pP2 ) METHOD QLine:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( int dx, int dy ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QLine_translate_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPoint & offset ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QLine_translate( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLine:translated( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QLine translated ( int dx, int dy ) const - // N n int, N n int - RETURN QLine():from( Qt_QLine_translated_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QLine():from( Qt_QLine_translated_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QLine translated ( const QPoint & offset ) const - // PO p QPoint - RETURN QLine():from( Qt_QLine_translated( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QLine():from( Qt_QLine_translated( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQLineF.prg b/harbour/contrib/hbqt/qtcore/g/TQLineF.prg index f16290d2d8..7471b78561 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQLineF.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQLineF.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -110,11 +142,11 @@ METHOD QLineF:new( ... ) METHOD QLineF:p1() - RETURN Qt_QLineF_p1( ::pPtr ) + RETURN HB_QPointF():from( Qt_QLineF_p1( ::pPtr ) ) METHOD QLineF:p2() - RETURN Qt_QLineF_p2( ::pPtr ) + RETURN HB_QPointF():from( Qt_QLineF_p2( ::pPtr ) ) METHOD QLineF:x1() @@ -162,11 +194,11 @@ METHOD QLineF:length() METHOD QLineF:normalVector() - RETURN Qt_QLineF_normalVector( ::pPtr ) + RETURN HB_QLineF():from( Qt_QLineF_normalVector( ::pPtr ) ) METHOD QLineF:pointAt( nT ) - RETURN Qt_QLineF_pointAt( ::pPtr, nT ) + RETURN HB_QPointF():from( Qt_QLineF_pointAt( ::pPtr, nT ) ) METHOD QLineF:setP1( pP1 ) @@ -194,63 +226,45 @@ METHOD QLineF:setPoints( pP1, pP2 ) METHOD QLineF:toLine() - RETURN Qt_QLineF_toLine( ::pPtr ) + RETURN HB_QLine():from( Qt_QLineF_toLine( ::pPtr ) ) METHOD QLineF:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( qreal dx, qreal dy ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QLineF_translate_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPointF & offset ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QLineF_translate( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLineF:translated( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QLineF translated ( qreal dx, qreal dy ) const - // N n qreal, N n qreal - RETURN QLineF():from( Qt_QLineF_translated_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QLineF():from( Qt_QLineF_translated_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QLineF translated ( const QPointF & offset ) const - // PO p QPointF - RETURN QLineF():from( Qt_QLineF_translated( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QLineF():from( Qt_QLineF_translated( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLineF:unitVector() - RETURN Qt_QLineF_unitVector( ::pPtr ) + RETURN HB_QLineF():from( Qt_QLineF_unitVector( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQList.prg b/harbour/contrib/hbqt/qtcore/g/TQList.prg index 94ab6a3890..6fcbcbe3bc 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQList.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQList.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -135,26 +167,17 @@ METHOD QList:clear() METHOD QList:count( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "X" - // int count ( const T & value ) const - // X x T + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QList_count( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // int count () const + EXIT + CASE 0 RETURN Qt_QList_count_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QList:empty() @@ -270,28 +293,19 @@ METHOD QList:takeLast() METHOD QList:value( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "X" - // T value ( int i, const T & defaultValue ) const - // N n int, X x T + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QList_value_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // T value ( int i ) const - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QList_value( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQLocale.prg b/harbour/contrib/hbqt/qtcore/g/TQLocale.prg index ac4d5ac14a..c5291fb6e2 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQLocale.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQLocale.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -144,15 +176,15 @@ METHOD QLocale:dayName( nDay, nType ) METHOD QLocale:decimalPoint() - RETURN Qt_QLocale_decimalPoint( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_decimalPoint( ::pPtr ) ) METHOD QLocale:exponential() - RETURN Qt_QLocale_exponential( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_exponential( ::pPtr ) ) METHOD QLocale:groupSeparator() - RETURN Qt_QLocale_groupSeparator( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_groupSeparator( ::pPtr ) ) METHOD QLocale:language() @@ -172,7 +204,7 @@ METHOD QLocale:name() METHOD QLocale:negativeSign() - RETURN Qt_QLocale_negativeSign( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_negativeSign( ::pPtr ) ) METHOD QLocale:numberOptions() @@ -180,7 +212,7 @@ METHOD QLocale:numberOptions() METHOD QLocale:percent() - RETURN Qt_QLocale_percent( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_percent( ::pPtr ) ) METHOD QLocale:pmText() @@ -188,7 +220,7 @@ METHOD QLocale:pmText() METHOD QLocale:positiveSign() - RETURN Qt_QLocale_positiveSign( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_positiveSign( ::pPtr ) ) METHOD QLocale:setNumberOptions( nOptions ) @@ -208,65 +240,43 @@ METHOD QLocale:timeFormat( nFormat ) METHOD QLocale:toDate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // QDate toDate ( const QString & string, const QString & format ) const - // C c QString, C c QString - RETURN QDate():from( Qt_QLocale_toDate_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QDate toDate ( const QString & string, FormatType format = LongFormat ) const - // C c QString, N n QLocale::FormatType - RETURN QDate():from( Qt_QLocale_toDate( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QDate():from( Qt_QLocale_toDate_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QDate():from( Qt_QLocale_toDate( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QDate toDate ( const QString & string, FormatType format = LongFormat ) const - // C c QString, N n QLocale::FormatType - RETURN QDate():from( Qt_QLocale_toDate( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QDate():from( Qt_QLocale_toDate( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLocale:toDateTime( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // QDateTime toDateTime ( const QString & string, const QString & format ) const - // C c QString, C c QString - RETURN QDateTime():from( Qt_QLocale_toDateTime_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QDateTime toDateTime ( const QString & string, FormatType format = LongFormat ) const - // C c QString, N n QLocale::FormatType - RETURN QDateTime():from( Qt_QLocale_toDateTime( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QDateTime():from( Qt_QLocale_toDateTime_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QDateTime():from( Qt_QLocale_toDateTime( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QDateTime toDateTime ( const QString & string, FormatType format = LongFormat ) const - // C c QString, N n QLocale::FormatType - RETURN QDateTime():from( Qt_QLocale_toDateTime( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QDateTime():from( Qt_QLocale_toDateTime( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLocale:toDouble( cS, lOk ) @@ -290,118 +300,80 @@ METHOD QLocale:toShort( cS, lOk, nBase ) METHOD QLocale:toString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "N" - // QString toString ( float i, char f = 'g', int prec = 6 ) const - // N n float, C c char, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QLocale_toString_13( ::pPtr, ... ) - // QString toString ( double i, char f = 'g', int prec = 6 ) const - // N n double, C c char, N n int // RETURN Qt_QLocale_toString_8( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // QString toString ( const QDate & date, const QString & format ) const - // PO p QDate, C c QString - RETURN Qt_QLocale_toString_1( ::pPtr, ... ) - // QString toString ( const QDateTime & dateTime, const QString & format ) const - // PO p QDateTime, C c QString - // RETURN Qt_QLocale_toString_6( ::pPtr, ... ) - // QString toString ( const QTime & time, const QString & format ) const - // PO p QTime, C c QString - // RETURN Qt_QLocale_toString_3( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // QString toString ( const QDate & date, FormatType format = LongFormat ) const - // PO p QDate, N n QLocale::FormatType - RETURN Qt_QLocale_toString_2( ::pPtr, ... ) - // QString toString ( const QDateTime & dateTime, FormatType format = LongFormat ) const - // PO p QDateTime, N n QLocale::FormatType - // RETURN Qt_QLocale_toString_5( ::pPtr, ... ) - // QString toString ( const QTime & time, FormatType format = LongFormat ) const - // PO p QTime, N n QLocale::FormatType - // RETURN Qt_QLocale_toString_4( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QDATE" + RETURN Qt_QLocale_toString_1( ::pPtr, ... ) + CASE "QDATETIME" + RETURN Qt_QLocale_toString_6( ::pPtr, ... ) + CASE "QTIME" + RETURN Qt_QLocale_toString_3( ::pPtr, ... ) + ENDSWITCH + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QDATE" + RETURN Qt_QLocale_toString_2( ::pPtr, ... ) + CASE "QDATETIME" + RETURN Qt_QLocale_toString_5( ::pPtr, ... ) + CASE "QTIME" + RETURN Qt_QLocale_toString_4( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QString toString ( qlonglong i ) const - // N n qlonglong + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QLocale_toString( ::pPtr, ... ) - // QString toString ( ushort i ) const - // N n ushort // RETURN Qt_QLocale_toString_10( ::pPtr, ... ) - // QString toString ( float i, char f = 'g', int prec = 6 ) const - // N n float, C c char, N n int // RETURN Qt_QLocale_toString_13( ::pPtr, ... ) - // QString toString ( short i ) const - // N n short // RETURN Qt_QLocale_toString_9( ::pPtr, ... ) - // QString toString ( double i, char f = 'g', int prec = 6 ) const - // N n double, C c char, N n int // RETURN Qt_QLocale_toString_8( ::pPtr, ... ) - // QString toString ( qulonglong i ) const - // N n qulonglong // RETURN Qt_QLocale_toString_7( ::pPtr, ... ) - // QString toString ( uint i ) const - // N n uint // RETURN Qt_QLocale_toString_12( ::pPtr, ... ) - // QString toString ( int i ) const - // N n int // RETURN Qt_QLocale_toString_11( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // QString toString ( const QDate & date, FormatType format = LongFormat ) const - // PO p QDate, N n QLocale::FormatType - RETURN Qt_QLocale_toString_2( ::pPtr, ... ) - // QString toString ( const QTime & time, FormatType format = LongFormat ) const - // PO p QTime, N n QLocale::FormatType - // RETURN Qt_QLocale_toString_4( ::pPtr, ... ) - // QString toString ( const QDateTime & dateTime, FormatType format = LongFormat ) const - // PO p QDateTime, N n QLocale::FormatType - // RETURN Qt_QLocale_toString_5( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QDATE" + RETURN Qt_QLocale_toString_2( ::pPtr, ... ) + CASE "QTIME" + RETURN Qt_QLocale_toString_4( ::pPtr, ... ) + CASE "QDATETIME" + RETURN Qt_QLocale_toString_5( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLocale:toTime( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // QTime toTime ( const QString & string, const QString & format ) const - // C c QString, C c QString - RETURN QTime():from( Qt_QLocale_toTime_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QTime toTime ( const QString & string, FormatType format = LongFormat ) const - // C c QString, N n QLocale::FormatType - RETURN QTime():from( Qt_QLocale_toTime( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QTime():from( Qt_QLocale_toTime_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QTime():from( Qt_QLocale_toTime( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QTime toTime ( const QString & string, FormatType format = LongFormat ) const - // C c QString, N n QLocale::FormatType - RETURN QTime():from( Qt_QLocale_toTime( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QTime():from( Qt_QLocale_toTime( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLocale:toUInt( cS, lOk, nBase ) @@ -417,11 +389,11 @@ METHOD QLocale:toUShort( cS, lOk, nBase ) METHOD QLocale:zeroDigit() - RETURN Qt_QLocale_zeroDigit( ::pPtr ) + RETURN HB_QChar():from( Qt_QLocale_zeroDigit( ::pPtr ) ) METHOD QLocale:c() - RETURN Qt_QLocale_c( ::pPtr ) + RETURN HB_QLocale():from( Qt_QLocale_c( ::pPtr ) ) METHOD QLocale:countryToString( nCountry ) @@ -437,5 +409,5 @@ METHOD QLocale:setDefault( pLocale ) METHOD QLocale:system() - RETURN Qt_QLocale_system( ::pPtr ) + RETURN HB_QLocale():from( Qt_QLocale_system( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg b/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg index 3bee3e76ef..5023fd78ec 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -110,15 +142,15 @@ METHOD QMimeData:clear() METHOD QMimeData:colorData() - RETURN Qt_QMimeData_colorData( ::pPtr ) + RETURN HB_QVariant():from( Qt_QMimeData_colorData( ::pPtr ) ) METHOD QMimeData:data( cMimeType ) - RETURN Qt_QMimeData_data( ::pPtr, cMimeType ) + RETURN HB_QByteArray():from( Qt_QMimeData_data( ::pPtr, cMimeType ) ) METHOD QMimeData:formats() - RETURN Qt_QMimeData_formats( ::pPtr ) + RETURN HB_QStringList():from( Qt_QMimeData_formats( ::pPtr ) ) METHOD QMimeData:hasColor() @@ -150,7 +182,7 @@ METHOD QMimeData:html() METHOD QMimeData:imageData() - RETURN Qt_QMimeData_imageData( ::pPtr ) + RETURN HB_QVariant():from( Qt_QMimeData_imageData( ::pPtr ) ) METHOD QMimeData:removeFormat( cMimeType ) @@ -182,9 +214,9 @@ METHOD QMimeData:text() METHOD QMimeData:urls() - RETURN Qt_QMimeData_urls( ::pPtr ) + RETURN HB_QList():from( Qt_QMimeData_urls( ::pPtr ) ) METHOD QMimeData:hbUrlList() - RETURN Qt_QMimeData_hbUrlList( ::pPtr ) + RETURN HB_QStringList():from( Qt_QMimeData_hbUrlList( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg b/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg index bd29e8bb08..84c57ac6f5 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -96,7 +128,7 @@ METHOD QModelIndex:new( ... ) METHOD QModelIndex:child( nRow, nColumn ) - RETURN Qt_QModelIndex_child( ::pPtr, nRow, nColumn ) + RETURN HB_QModelIndex():from( Qt_QModelIndex_child( ::pPtr, nRow, nColumn ) ) METHOD QModelIndex:column() @@ -104,7 +136,7 @@ METHOD QModelIndex:column() METHOD QModelIndex:data( nRole ) - RETURN Qt_QModelIndex_data( ::pPtr, nRole ) + RETURN HB_QVariant():from( Qt_QModelIndex_data( ::pPtr, nRole ) ) METHOD QModelIndex:flags() @@ -124,11 +156,11 @@ METHOD QModelIndex:isValid() METHOD QModelIndex:model() - RETURN Qt_QModelIndex_model( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QModelIndex_model( ::pPtr ) ) METHOD QModelIndex:parent() - RETURN Qt_QModelIndex_parent( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QModelIndex_parent( ::pPtr ) ) METHOD QModelIndex:row() @@ -136,5 +168,5 @@ METHOD QModelIndex:row() METHOD QModelIndex:sibling( nRow, nColumn ) - RETURN Qt_QModelIndex_sibling( ::pPtr, nRow, nColumn ) + RETURN HB_QModelIndex():from( Qt_QModelIndex_sibling( ::pPtr, nRow, nColumn ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQObject.prg b/harbour/contrib/hbqt/qtcore/g/TQObject.prg index 44ee5d7e8d..aad57b7b1f 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQObject.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQObject.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -121,7 +153,7 @@ METHOD QObject:dumpObjectTree() METHOD QObject:dynamicPropertyNames() - RETURN Qt_QObject_dynamicPropertyNames( ::pPtr ) + RETURN HB_QList():from( Qt_QObject_dynamicPropertyNames( ::pPtr ) ) METHOD QObject:event( pE ) @@ -157,11 +189,11 @@ METHOD QObject:objectName() METHOD QObject:parent() - RETURN Qt_QObject_parent( ::pPtr ) + RETURN HB_QObject():from( Qt_QObject_parent( ::pPtr ) ) METHOD QObject:property( pName ) - RETURN Qt_QObject_property( ::pPtr, hbqt_ptr( pName ) ) + RETURN HB_QVariant():from( Qt_QObject_property( ::pPtr, hbqt_ptr( pName ) ) ) METHOD QObject:removeEventFilter( pObj ) @@ -189,7 +221,7 @@ METHOD QObject:startTimer( nInterval ) METHOD QObject:thread() - RETURN Qt_QObject_thread( ::pPtr ) + RETURN HB_QThread():from( Qt_QObject_thread( ::pPtr ) ) METHOD QObject:tr( pSourceText, pDisambiguation, nN ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQPoint.prg b/harbour/contrib/hbqt/qtcore/g/TQPoint.prg index 8b7a0522b5..e74febcb13 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQPoint.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQPoint.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQPointF.prg b/harbour/contrib/hbqt/qtcore/g/TQPointF.prg index 52082c18a2..ab3dee5e99 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQPointF.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQPointF.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -113,7 +145,7 @@ METHOD QPointF:setY( nY ) METHOD QPointF:toPoint() - RETURN Qt_QPointF_toPoint( ::pPtr ) + RETURN HB_QPoint():from( Qt_QPointF_toPoint( ::pPtr ) ) METHOD QPointF:x() diff --git a/harbour/contrib/hbqt/qtcore/g/TQProcess.prg b/harbour/contrib/hbqt/qtcore/g/TQProcess.prg index 77ce505d03..d99277d5c6 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQProcess.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQProcess.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -126,7 +158,7 @@ METHOD QProcess:closeWriteChannel() METHOD QProcess:environment() - RETURN Qt_QProcess_environment( ::pPtr ) + RETURN HB_QStringList():from( Qt_QProcess_environment( ::pPtr ) ) METHOD QProcess:error() @@ -146,11 +178,11 @@ METHOD QProcess:processChannelMode() METHOD QProcess:readAllStandardError() - RETURN Qt_QProcess_readAllStandardError( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QProcess_readAllStandardError( ::pPtr ) ) METHOD QProcess:readAllStandardOutput() - RETURN Qt_QProcess_readAllStandardOutput( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QProcess_readAllStandardOutput( ::pPtr ) ) METHOD QProcess:readChannel() @@ -190,41 +222,29 @@ METHOD QProcess:setWorkingDirectory( cDir ) METHOD QProcess:start( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // void start ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) - // C c QString, PO p QStringList, N n QProcess::OpenMode + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QProcess_start( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // void start ( const QString & program, OpenMode mode = ReadWrite ) - // C c QString, N n QProcess::OpenMode + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QProcess_start_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // void start ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) - // C c QString, PO p QStringList, N n QProcess::OpenMode + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QProcess_start( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void start ( const QString & program, OpenMode mode = ReadWrite ) - // C c QString, N n QProcess::OpenMode + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QProcess_start_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QProcess:state() @@ -244,75 +264,55 @@ METHOD QProcess:workingDirectory() METHOD QProcess:execute( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // int execute ( const QString & program, const QStringList & arguments ) - // C c QString, PO p QStringList + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QProcess_execute( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int execute ( const QString & program ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QProcess_execute_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QProcess:startDetached( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" .AND. aV[ 4 ] $ "N" - // bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 ) - // C c QString, PO p QStringList, C c QString, N @ qint64 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QProcess_startDetached( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" - // bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 ) - // C c QString, PO p QStringList, C c QString, N @ qint64 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QProcess_startDetached( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // bool startDetached ( const QString & program, const QStringList & arguments ) - // C c QString, PO p QStringList + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QProcess_startDetached_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool startDetached ( const QString & program ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QProcess_startDetached_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QProcess:systemEnvironment() - RETURN Qt_QProcess_systemEnvironment( ::pPtr ) + RETURN HB_QStringList():from( Qt_QProcess_systemEnvironment( ::pPtr ) ) METHOD QProcess:kill() diff --git a/harbour/contrib/hbqt/qtcore/g/TQRect.prg b/harbour/contrib/hbqt/qtcore/g/TQRect.prg index cf38080a28..eae3488369 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQRect.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQRect.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -142,7 +174,7 @@ METHOD QRect:adjust( nDx1, nDy1, nDx2, nDy2 ) METHOD QRect:adjusted( nDx1, nDy1, nDx2, nDy2 ) - RETURN Qt_QRect_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) + RETURN HB_QRect():from( Qt_QRect_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) ) METHOD QRect:bottom() @@ -150,59 +182,51 @@ METHOD QRect:bottom() METHOD QRect:bottomLeft() - RETURN Qt_QRect_bottomLeft( ::pPtr ) + RETURN HB_QPoint():from( Qt_QRect_bottomLeft( ::pPtr ) ) METHOD QRect:bottomRight() - RETURN Qt_QRect_bottomRight( ::pPtr ) + RETURN HB_QPoint():from( Qt_QRect_bottomRight( ::pPtr ) ) METHOD QRect:center() - RETURN Qt_QRect_center( ::pPtr ) + RETURN HB_QPoint():from( Qt_QRect_center( ::pPtr ) ) METHOD QRect:contains( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "L" - // bool contains ( int x, int y, bool proper ) const - // N n int, N n int, L l bool + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) RETURN Qt_QRect_contains_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // bool contains ( int x, int y ) const - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRect_contains_2( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "L" - // bool contains ( const QRect & rectangle, bool proper = false ) const - // PO p QRect, L l bool - RETURN Qt_QRect_contains_3( ::pPtr, ... ) - // bool contains ( const QPoint & point, bool proper = false ) const - // PO p QPoint, L l bool - // RETURN Qt_QRect_contains( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QRect_contains_3( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QRect_contains( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool contains ( const QRect & rectangle, bool proper = false ) const - // PO p QRect, L l bool - RETURN Qt_QRect_contains_3( ::pPtr, ... ) - // bool contains ( const QPoint & point, bool proper = false ) const - // PO p QPoint, L l bool - // RETURN Qt_QRect_contains( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QRect_contains_3( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QRect_contains( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRect:getCoords( nX1, nY1, nX2, nY2 ) @@ -218,7 +242,7 @@ METHOD QRect:height() METHOD QRect:intersected( pRectangle ) - RETURN Qt_QRect_intersected( ::pPtr, hbqt_ptr( pRectangle ) ) + RETURN HB_QRect():from( Qt_QRect_intersected( ::pPtr, hbqt_ptr( pRectangle ) ) ) METHOD QRect:intersects( pRectangle ) @@ -266,30 +290,21 @@ METHOD QRect:moveRight( nX ) METHOD QRect:moveTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void moveTo ( int x, int y ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRect_moveTo( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void moveTo ( const QPoint & position ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRect_moveTo_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRect:moveTop( nY ) @@ -305,7 +320,7 @@ METHOD QRect:moveTopRight( pPosition ) METHOD QRect:normalized() - RETURN Qt_QRect_normalized( ::pPtr ) + RETURN HB_QRect():from( Qt_QRect_normalized( ::pPtr ) ) METHOD QRect:right() @@ -373,7 +388,7 @@ METHOD QRect:setY( nY ) METHOD QRect:size() - RETURN Qt_QRect_size( ::pPtr ) + RETURN HB_QSize():from( Qt_QRect_size( ::pPtr ) ) METHOD QRect:top() @@ -381,69 +396,51 @@ METHOD QRect:top() METHOD QRect:topLeft() - RETURN Qt_QRect_topLeft( ::pPtr ) + RETURN HB_QPoint():from( Qt_QRect_topLeft( ::pPtr ) ) METHOD QRect:topRight() - RETURN Qt_QRect_topRight( ::pPtr ) + RETURN HB_QPoint():from( Qt_QRect_topRight( ::pPtr ) ) METHOD QRect:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( int dx, int dy ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRect_translate( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPoint & offset ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRect_translate_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRect:translated( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QRect translated ( int dx, int dy ) const - // N n int, N n int - RETURN QRect():from( Qt_QRect_translated( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QRect():from( Qt_QRect_translated( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRect translated ( const QPoint & offset ) const - // PO p QPoint - RETURN QRect():from( Qt_QRect_translated_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QRect_translated_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRect:united( pRectangle ) - RETURN Qt_QRect_united( ::pPtr, hbqt_ptr( pRectangle ) ) + RETURN HB_QRect():from( Qt_QRect_united( ::pPtr, hbqt_ptr( pRectangle ) ) ) METHOD QRect:width() diff --git a/harbour/contrib/hbqt/qtcore/g/TQRectF.prg b/harbour/contrib/hbqt/qtcore/g/TQRectF.prg index bb8bec0a4a..8d24821bc6 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQRectF.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQRectF.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -144,7 +176,7 @@ METHOD QRectF:adjust( nDx1, nDy1, nDx2, nDy2 ) METHOD QRectF:adjusted( nDx1, nDy1, nDx2, nDy2 ) - RETURN Qt_QRectF_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) + RETURN HB_QRectF():from( Qt_QRectF_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) ) METHOD QRectF:bottom() @@ -152,45 +184,38 @@ METHOD QRectF:bottom() METHOD QRectF:bottomLeft() - RETURN Qt_QRectF_bottomLeft( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRectF_bottomLeft( ::pPtr ) ) METHOD QRectF:bottomRight() - RETURN Qt_QRectF_bottomRight( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRectF_bottomRight( ::pPtr ) ) METHOD QRectF:center() - RETURN Qt_QRectF_center( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRectF_center( ::pPtr ) ) METHOD QRectF:contains( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // bool contains ( qreal x, qreal y ) const - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRectF_contains_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool contains ( const QPointF & point ) const - // PO p QPointF - RETURN Qt_QRectF_contains( ::pPtr, ... ) - // bool contains ( const QRectF & rectangle ) const - // PO p QRectF - // RETURN Qt_QRectF_contains_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QRectF_contains( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QRectF_contains_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRectF:getCoords( nX1, nY1, nX2, nY2 ) @@ -206,7 +231,7 @@ METHOD QRectF:height() METHOD QRectF:intersected( pRectangle ) - RETURN Qt_QRectF_intersected( ::pPtr, hbqt_ptr( pRectangle ) ) + RETURN HB_QRectF():from( Qt_QRectF_intersected( ::pPtr, hbqt_ptr( pRectangle ) ) ) METHOD QRectF:intersects( pRectangle ) @@ -254,30 +279,21 @@ METHOD QRectF:moveRight( nX ) METHOD QRectF:moveTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void moveTo ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRectF_moveTo( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void moveTo ( const QPointF & position ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRectF_moveTo_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRectF:moveTop( nY ) @@ -293,7 +309,7 @@ METHOD QRectF:moveTopRight( pPosition ) METHOD QRectF:normalized() - RETURN Qt_QRectF_normalized( ::pPtr ) + RETURN HB_QRectF():from( Qt_QRectF_normalized( ::pPtr ) ) METHOD QRectF:right() @@ -361,15 +377,15 @@ METHOD QRectF:setY( nY ) METHOD QRectF:size() - RETURN Qt_QRectF_size( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QRectF_size( ::pPtr ) ) METHOD QRectF:toAlignedRect() - RETURN Qt_QRectF_toAlignedRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QRectF_toAlignedRect( ::pPtr ) ) METHOD QRectF:toRect() - RETURN Qt_QRectF_toRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QRectF_toRect( ::pPtr ) ) METHOD QRectF:top() @@ -377,69 +393,51 @@ METHOD QRectF:top() METHOD QRectF:topLeft() - RETURN Qt_QRectF_topLeft( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRectF_topLeft( ::pPtr ) ) METHOD QRectF:topRight() - RETURN Qt_QRectF_topRight( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRectF_topRight( ::pPtr ) ) METHOD QRectF:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( qreal dx, qreal dy ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRectF_translate( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPointF & offset ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRectF_translate_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRectF:translated( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QRectF translated ( qreal dx, qreal dy ) const - // N n qreal, N n qreal - RETURN QRectF():from( Qt_QRectF_translated( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QRectF():from( Qt_QRectF_translated( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF translated ( const QPointF & offset ) const - // PO p QPointF - RETURN QRectF():from( Qt_QRectF_translated_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QRectF_translated_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRectF:united( pRectangle ) - RETURN Qt_QRectF_united( ::pPtr, hbqt_ptr( pRectangle ) ) + RETURN HB_QRectF():from( Qt_QRectF_united( ::pPtr, hbqt_ptr( pRectangle ) ) ) METHOD QRectF:width() diff --git a/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg b/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg index 1eee7ca5d8..2951e00e7e 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -108,7 +140,7 @@ METHOD QRegExp:cap( nNth ) METHOD QRegExp:capturedTexts() - RETURN Qt_QRegExp_capturedTexts( ::pPtr ) + RETURN HB_QStringList():from( Qt_QRegExp_capturedTexts( ::pPtr ) ) METHOD QRegExp:caseSensitivity() diff --git a/harbour/contrib/hbqt/qtcore/g/TQResource.prg b/harbour/contrib/hbqt/qtcore/g/TQResource.prg index ec386453e4..db52d84d11 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQResource.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQResource.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -119,7 +151,7 @@ METHOD QResource:isValid() METHOD QResource:locale() - RETURN Qt_QResource_locale( ::pPtr ) + RETURN HB_QLocale():from( Qt_QResource_locale( ::pPtr ) ) METHOD QResource:setFileName( cFile ) @@ -143,7 +175,7 @@ METHOD QResource:registerResource_1( pRccData, cMapRoot ) METHOD QResource:searchPaths() - RETURN Qt_QResource_searchPaths( ::pPtr ) + RETURN HB_QStringList():from( Qt_QResource_searchPaths( ::pPtr ) ) METHOD QResource:unregisterResource( cRccFileName, cMapRoot ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQSettings.prg b/harbour/contrib/hbqt/qtcore/g/TQSettings.prg index aa4e8fb774..8f87c90a4a 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQSettings.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQSettings.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -115,7 +147,7 @@ METHOD QSettings:new( ... ) METHOD QSettings:allKeys() - RETURN Qt_QSettings_allKeys( ::pPtr ) + RETURN HB_QStringList():from( Qt_QSettings_allKeys( ::pPtr ) ) METHOD QSettings:applicationName() @@ -135,11 +167,11 @@ METHOD QSettings:beginWriteArray( cPrefix, nSize ) METHOD QSettings:childGroups() - RETURN Qt_QSettings_childGroups( ::pPtr ) + RETURN HB_QStringList():from( Qt_QSettings_childGroups( ::pPtr ) ) METHOD QSettings:childKeys() - RETURN Qt_QSettings_childKeys( ::pPtr ) + RETURN HB_QStringList():from( Qt_QSettings_childKeys( ::pPtr ) ) METHOD QSettings:clear() @@ -175,7 +207,7 @@ METHOD QSettings:group() METHOD QSettings:iniCodec() - RETURN Qt_QSettings_iniCodec( ::pPtr ) + RETURN HB_QTextCodec():from( Qt_QSettings_iniCodec( ::pPtr ) ) METHOD QSettings:isWritable() @@ -203,26 +235,19 @@ METHOD QSettings:setFallbacksEnabled( lB ) METHOD QSettings:setIniCodec( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setIniCodec ( QTextCodec * codec ) - // PO p QTextCodec - RETURN Qt_QSettings_setIniCodec( ::pPtr, ... ) - // void setIniCodec ( const char * codecName ) - // PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTEXTCODEC" + RETURN Qt_QSettings_setIniCodec( ::pPtr, ... ) // RETURN Qt_QSettings_setIniCodec_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QSettings:setValue( cKey, pValue ) @@ -238,7 +263,7 @@ METHOD QSettings:sync() METHOD QSettings:value( cKey, pDefaultValue ) - RETURN Qt_QSettings_value( ::pPtr, cKey, hbqt_ptr( pDefaultValue ) ) + RETURN HB_QVariant():from( Qt_QSettings_value( ::pPtr, cKey, hbqt_ptr( pDefaultValue ) ) ) METHOD QSettings:defaultFormat() diff --git a/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg b/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg index cd26a1626a..35aac9bfe4 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,31 +121,19 @@ METHOD QSignalMapper:new( ... ) METHOD QSignalMapper:mapping( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QObject * mapping ( const QString & id ) const - // C c QString - RETURN QObject():from( Qt_QSignalMapper_mapping_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "N" - // QObject * mapping ( int id ) const - // N n int - RETURN QObject():from( Qt_QSignalMapper_mapping( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QObject * mapping ( QObject * object ) const - // PO p QObject - RETURN QObject():from( Qt_QSignalMapper_mapping_2( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QObject():from( Qt_QSignalMapper_mapping_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QObject():from( Qt_QSignalMapper_mapping( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QObject():from( Qt_QSignalMapper_mapping_2( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QSignalMapper:removeMappings( pSender ) @@ -121,52 +141,31 @@ METHOD QSignalMapper:removeMappings( pSender ) METHOD QSignalMapper:setMapping( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // void setMapping ( QObject * sender, const QString & text ) - // PO p QObject, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QSignalMapper_setMapping_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setMapping ( QObject * sender, int id ) - // PO p QObject, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QSignalMapper_setMapping( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void setMapping ( QObject * sender, QObject * object ) - // PO p QObject, PO p QObject + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QSignalMapper_setMapping_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QSignalMapper:map( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void map ( QObject * sender ) - // PO p QObject + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QSignalMapper_map_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void map () + EXIT + CASE 0 RETURN Qt_QSignalMapper_map( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQSize.prg b/harbour/contrib/hbqt/qtcore/g/TQSize.prg index 1f30366db8..781dcccd89 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQSize.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQSize.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -122,30 +154,21 @@ METHOD QSize:rwidth() METHOD QSize:scale( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void scale ( int width, int height, Qt::AspectRatioMode mode ) - // N n int, N n int, N n Qt::AspectRatioMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QSize_scale( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void scale ( const QSize & size, Qt::AspectRatioMode mode ) - // PO p QSize, N n Qt::AspectRatioMode + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QSize_scale_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QSize:setHeight( nHeight ) @@ -165,9 +188,9 @@ METHOD QSize:width() METHOD QSize:boundedTo( pOtherSize ) - RETURN Qt_QSize_boundedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) + RETURN HB_QSize():from( Qt_QSize_boundedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) ) METHOD QSize:expandedTo( pOtherSize ) - RETURN Qt_QSize_expandedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) + RETURN HB_QSize():from( Qt_QSize_expandedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg b/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg index b3312f6686..2dfafc5881 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,11 +131,11 @@ METHOD QSizeF:new( ... ) METHOD QSizeF:boundedTo( pOtherSize ) - RETURN Qt_QSizeF_boundedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) + RETURN HB_QSizeF():from( Qt_QSizeF_boundedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) ) METHOD QSizeF:expandedTo( pOtherSize ) - RETURN Qt_QSizeF_expandedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) + RETURN HB_QSizeF():from( Qt_QSizeF_expandedTo( ::pPtr, hbqt_ptr( pOtherSize ) ) ) METHOD QSizeF:height() @@ -131,30 +163,21 @@ METHOD QSizeF:rwidth() METHOD QSizeF:scale( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void scale ( qreal width, qreal height, Qt::AspectRatioMode mode ) - // N n qreal, N n qreal, N n Qt::AspectRatioMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QSizeF_scale( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void scale ( const QSizeF & size, Qt::AspectRatioMode mode ) - // PO p QSizeF, N n Qt::AspectRatioMode + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QSizeF_scale_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QSizeF:setHeight( nHeight ) @@ -166,7 +189,7 @@ METHOD QSizeF:setWidth( nWidth ) METHOD QSizeF:toSize() - RETURN Qt_QSizeF_toSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QSizeF_toSize( ::pPtr ) ) METHOD QSizeF:transpose() diff --git a/harbour/contrib/hbqt/qtcore/g/TQStringList.prg b/harbour/contrib/hbqt/qtcore/g/TQStringList.prg index 5cbb111e24..f5819893c8 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQStringList.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQStringList.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,75 +148,55 @@ METHOD QStringList:append( cValue ) METHOD QStringList:filter( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QStringList filter ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - // C c QString, N n Qt::CaseSensitivity - RETURN QStringList():from( Qt_QStringList_filter( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QStringList():from( Qt_QStringList_filter( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QStringList filter ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - // C c QString, N n Qt::CaseSensitivity - RETURN QStringList():from( Qt_QStringList_filter( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QStringList filter ( const QRegExp & rx ) const - // PO p QRegExp - RETURN QStringList():from( Qt_QStringList_filter_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QStringList():from( Qt_QStringList_filter( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QStringList():from( Qt_QStringList_filter_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStringList:indexOf( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // int indexOf ( const QString & value, int from = 0 ) const - // C c QString, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QStringList_indexOf( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // int indexOf ( const QRegExp & rx, int from = 0 ) const - // PO p QRegExp, N n int - RETURN Qt_QStringList_indexOf_1( ::pPtr, ... ) - // int indexOf ( QRegExp & rx, int from = 0 ) const - // PO p QRegExp, N n int - // RETURN Qt_QStringList_indexOf_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGEXP" + RETURN Qt_QStringList_indexOf_1( ::pPtr, ... ) + CASE "QREGEXP" + RETURN Qt_QStringList_indexOf_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int indexOf ( const QString & value, int from = 0 ) const - // C c QString, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QStringList_indexOf( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int indexOf ( const QRegExp & rx, int from = 0 ) const - // PO p QRegExp, N n int - RETURN Qt_QStringList_indexOf_1( ::pPtr, ... ) - // int indexOf ( QRegExp & rx, int from = 0 ) const - // PO p QRegExp, N n int - // RETURN Qt_QStringList_indexOf_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGEXP" + RETURN Qt_QStringList_indexOf_1( ::pPtr, ... ) + CASE "QREGEXP" + RETURN Qt_QStringList_indexOf_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStringList:join( cSeparator ) @@ -192,44 +204,35 @@ METHOD QStringList:join( cSeparator ) METHOD QStringList:lastIndexOf( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // int lastIndexOf ( const QString & value, int from = -1 ) const - // C c QString, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QStringList_lastIndexOf_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // int lastIndexOf ( QRegExp & rx, int from = -1 ) const - // PO p QRegExp, N n int - RETURN Qt_QStringList_lastIndexOf_2( ::pPtr, ... ) - // int lastIndexOf ( const QRegExp & rx, int from = -1 ) const - // PO p QRegExp, N n int - // RETURN Qt_QStringList_lastIndexOf( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGEXP" + RETURN Qt_QStringList_lastIndexOf_2( ::pPtr, ... ) + CASE "QREGEXP" + RETURN Qt_QStringList_lastIndexOf( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int lastIndexOf ( const QString & value, int from = -1 ) const - // C c QString, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QStringList_lastIndexOf_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int lastIndexOf ( QRegExp & rx, int from = -1 ) const - // PO p QRegExp, N n int - RETURN Qt_QStringList_lastIndexOf_2( ::pPtr, ... ) - // int lastIndexOf ( const QRegExp & rx, int from = -1 ) const - // PO p QRegExp, N n int - // RETURN Qt_QStringList_lastIndexOf( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGEXP" + RETURN Qt_QStringList_lastIndexOf_2( ::pPtr, ... ) + CASE "QREGEXP" + RETURN Qt_QStringList_lastIndexOf( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStringList:removeDuplicates() @@ -273,7 +276,7 @@ METHOD QStringList:last() METHOD QStringList:mid( nPos, nLength ) - RETURN Qt_QStringList_mid( ::pPtr, nPos, nLength ) + RETURN HB_QList():from( Qt_QStringList_mid( ::pPtr, nPos, nLength ) ) METHOD QStringList:prepend( cValue ) @@ -317,28 +320,19 @@ METHOD QStringList:takeLast() METHOD QStringList:value( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" - // QString value ( int i, const QString & defaultValue ) const - // N n int, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QStringList_value_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QString value ( int i ) const - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QStringList_value( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg b/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg index 638f0f718b..051551a822 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -98,7 +130,7 @@ METHOD QStringRef:new( ... ) METHOD QStringRef:at( nPosition ) - RETURN Qt_QStringRef_at( ::pPtr, nPosition ) + RETURN HB_QChar():from( Qt_QStringRef_at( ::pPtr, nPosition ) ) METHOD QStringRef:clear() @@ -106,61 +138,41 @@ METHOD QStringRef:clear() METHOD QStringRef:compare( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "N" - // int compare ( const QStringRef & s1, const QString & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - // PO p QStringRef, C c QString, N n Qt::CaseSensitivity + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QStringRef_compare_2( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // int compare ( const QStringRef & s1, const QStringRef & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - // PO p QStringRef, PO p QStringRef, N n Qt::CaseSensitivity + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QStringRef_compare_3( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // int compare ( const QString & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - // C c QString, N n Qt::CaseSensitivity + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QStringRef_compare( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // int compare ( const QStringRef & s1, const QString & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - // PO p QStringRef, C c QString, N n Qt::CaseSensitivity + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QStringRef_compare_2( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // int compare ( const QStringRef & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - // PO p QStringRef, N n Qt::CaseSensitivity + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QStringRef_compare_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // int compare ( const QStringRef & s1, const QStringRef & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - // PO p QStringRef, PO p QStringRef, N n Qt::CaseSensitivity + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QStringRef_compare_3( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int compare ( const QString & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - // C c QString, N n Qt::CaseSensitivity + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QStringRef_compare( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int compare ( const QStringRef & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - // PO p QStringRef, N n Qt::CaseSensitivity + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QStringRef_compare_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStringRef:constData() - RETURN Qt_QStringRef_constData( ::pPtr ) + RETURN HB_QChar():from( Qt_QStringRef_constData( ::pPtr ) ) METHOD QStringRef:count() @@ -168,7 +180,7 @@ METHOD QStringRef:count() METHOD QStringRef:data() - RETURN Qt_QStringRef_data( ::pPtr ) + RETURN HB_QChar():from( Qt_QStringRef_data( ::pPtr ) ) METHOD QStringRef:isEmpty() @@ -184,38 +196,25 @@ METHOD QStringRef:length() METHOD QStringRef:localeAwareCompare( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // int localeAwareCompare ( const QStringRef & s1, const QString & s2 ) - // PO p QStringRef, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QStringRef_localeAwareCompare_2( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // int localeAwareCompare ( const QStringRef & s1, const QStringRef & s2 ) - // PO p QStringRef, PO p QStringRef + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QStringRef_localeAwareCompare_3( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int localeAwareCompare ( const QString & other ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QStringRef_localeAwareCompare( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int localeAwareCompare ( const QStringRef & other ) const - // PO p QStringRef + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QStringRef_localeAwareCompare_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStringRef:position() @@ -227,5 +226,5 @@ METHOD QStringRef:size() METHOD QStringRef:unicode() - RETURN Qt_QStringRef_unicode( ::pPtr ) + RETURN HB_QChar():from( Qt_QStringRef_unicode( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg b/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg index 22eb49eb9e..6663e4f45b 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg b/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg index e3697aa9ad..858a9a6aad 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,43 +134,33 @@ METHOD QTextCodec:new( ... ) METHOD QTextCodec:aliases() - RETURN Qt_QTextCodec_aliases( ::pPtr ) + RETURN HB_QList():from( Qt_QTextCodec_aliases( ::pPtr ) ) METHOD QTextCodec:canEncode( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool canEncode ( const QString & s ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QTextCodec_canEncode_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // bool canEncode ( QChar ch ) const - // PO p QChar + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextCodec_canEncode( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCodec:fromUnicode( cStr ) - RETURN Qt_QTextCodec_fromUnicode( ::pPtr, cStr ) + RETURN HB_QByteArray():from( Qt_QTextCodec_fromUnicode( ::pPtr, cStr ) ) METHOD QTextCodec:makeDecoder() - RETURN Qt_QTextCodec_makeDecoder( ::pPtr ) + RETURN HB_QTextDecoder():from( Qt_QTextCodec_makeDecoder( ::pPtr ) ) METHOD QTextCodec:makeEncoder() - RETURN Qt_QTextCodec_makeEncoder( ::pPtr ) + RETURN HB_QTextEncoder():from( Qt_QTextCodec_makeEncoder( ::pPtr ) ) METHOD QTextCodec:mibEnum() @@ -146,96 +168,73 @@ METHOD QTextCodec:mibEnum() METHOD QTextCodec:name() - RETURN Qt_QTextCodec_name( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QTextCodec_name( ::pPtr ) ) METHOD QTextCodec:toUnicode( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QString toUnicode ( const QByteArray & a ) const - // PO p QByteArray - RETURN Qt_QTextCodec_toUnicode( ::pPtr, ... ) - // QString toUnicode ( const char * chars ) const - // PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QBYTEARRAY" + RETURN Qt_QTextCodec_toUnicode( ::pPtr, ... ) // RETURN Qt_QTextCodec_toUnicode_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCodec:codecForCStrings() - RETURN Qt_QTextCodec_codecForCStrings( ::pPtr ) + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForCStrings( ::pPtr ) ) METHOD QTextCodec:codecForHtml( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QTextCodec * codecForHtml ( const QByteArray & ba, QTextCodec * defaultCodec ) - // PO p QByteArray, PO p QTextCodec - RETURN QTextCodec():from( Qt_QTextCodec_codecForHtml( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForHtml( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QTextCodec * codecForHtml ( const QByteArray & ba ) - // PO p QByteArray - RETURN QTextCodec():from( Qt_QTextCodec_codecForHtml_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForHtml_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCodec:codecForLocale() - RETURN Qt_QTextCodec_codecForLocale( ::pPtr ) + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForLocale( ::pPtr ) ) METHOD QTextCodec:codecForMib( nMib ) - RETURN Qt_QTextCodec_codecForMib( ::pPtr, nMib ) + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForMib( ::pPtr, nMib ) ) METHOD QTextCodec:codecForName( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QTextCodec * codecForName ( const QByteArray & name ) - // PO p QByteArray - RETURN QTextCodec():from( Qt_QTextCodec_codecForName( ::pPtr, ... ) ) - // QTextCodec * codecForName ( const char * name ) - // PO p char - // RETURN QTextCodec():from( Qt_QTextCodec_codecForName_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QBYTEARRAY" + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForName( ::pPtr, ... ) ) + // RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForName_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCodec:codecForTr() - RETURN Qt_QTextCodec_codecForTr( ::pPtr ) + RETURN HB_QTextCodec():from( Qt_QTextCodec_codecForTr( ::pPtr ) ) METHOD QTextCodec:setCodecForCStrings( pCodec ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg b/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg index 7baaddce8d..6f252c4fa1 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg b/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg index 4047241808..6460f8177d 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -86,28 +118,19 @@ METHOD QTextEncoder:new( ... ) METHOD QTextEncoder:fromUnicode( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // QByteArray fromUnicode ( const QChar * uc, int len ) - // PO p QChar, N n int - RETURN QByteArray():from( Qt_QTextEncoder_fromUnicode_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QByteArray():from( Qt_QTextEncoder_fromUnicode_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QByteArray fromUnicode ( const QString & str ) - // C c QString - RETURN QByteArray():from( Qt_QTextEncoder_fromUnicode( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QByteArray():from( Qt_QTextEncoder_fromUnicode( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg b/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg index d2580b4fd0..953ef3d765 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -121,7 +153,7 @@ METHOD QTextStream:new( ... ) METHOD QTextStream:padChar() - RETURN Qt_QTextStream_padChar( ::pPtr ) + RETURN HB_QChar():from( Qt_QTextStream_padChar( ::pPtr ) ) METHOD QTextStream:atEnd() @@ -133,11 +165,11 @@ METHOD QTextStream:autoDetectUnicode() METHOD QTextStream:codec() - RETURN Qt_QTextStream_codec( ::pPtr ) + RETURN HB_QTextCodec():from( Qt_QTextStream_codec( ::pPtr ) ) METHOD QTextStream:device() - RETURN Qt_QTextStream_device( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QTextStream_device( ::pPtr ) ) METHOD QTextStream:fieldAlignment() @@ -161,7 +193,7 @@ METHOD QTextStream:integerBase() METHOD QTextStream:locale() - RETURN Qt_QTextStream_locale( ::pPtr ) + RETURN HB_QLocale():from( Qt_QTextStream_locale( ::pPtr ) ) METHOD QTextStream:numberFlags() @@ -209,26 +241,19 @@ METHOD QTextStream:setAutoDetectUnicode( lEnabled ) METHOD QTextStream:setCodec( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setCodec ( QTextCodec * codec ) - // PO p QTextCodec - RETURN Qt_QTextStream_setCodec( ::pPtr, ... ) - // void setCodec ( const char * codecName ) - // PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTEXTCODEC" + RETURN Qt_QTextStream_setCodec( ::pPtr, ... ) // RETURN Qt_QTextStream_setCodec_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextStream:setDevice( pDevice ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQThread.prg b/harbour/contrib/hbqt/qtcore/g/TQThread.prg index e1f912bd39..2ddd28b834 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQThread.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQThread.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -131,7 +163,7 @@ METHOD QThread:wait( nTime ) METHOD QThread:currentThread() - RETURN Qt_QThread_currentThread( ::pPtr ) + RETURN HB_QThread():from( Qt_QThread_currentThread( ::pPtr ) ) METHOD QThread:idealThreadCount() diff --git a/harbour/contrib/hbqt/qtcore/g/TQTime.prg b/harbour/contrib/hbqt/qtcore/g/TQTime.prg index 7a3dc62118..99e8248ed4 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTime.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTime.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,11 +134,11 @@ METHOD QTime:new( ... ) METHOD QTime:addMSecs( nMs ) - RETURN Qt_QTime_addMSecs( ::pPtr, nMs ) + RETURN HB_QTime():from( Qt_QTime_addMSecs( ::pPtr, nMs ) ) METHOD QTime:addSecs( nS ) - RETURN Qt_QTime_addSecs( ::pPtr, nS ) + RETURN HB_QTime():from( Qt_QTime_addSecs( ::pPtr, nS ) ) METHOD QTime:elapsed() @@ -122,33 +154,23 @@ METHOD QTime:isNull() METHOD QTime:isValid( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // bool isValid ( int h, int m, int s, int ms = 0 ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QTime_isValid_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // bool isValid ( int h, int m, int s, int ms = 0 ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QTime_isValid_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool isValid () const + EXIT + CASE 0 RETURN Qt_QTime_isValid( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTime:minute() @@ -184,64 +206,41 @@ METHOD QTime:start() METHOD QTime:toString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QString toString ( const QString & format ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QTime_toString( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" - // QString toString ( Qt::DateFormat format = Qt::TextDate ) const - // N n Qt::DateFormat + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QTime_toString_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QString toString ( Qt::DateFormat format = Qt::TextDate ) const - // N n Qt::DateFormat + EXIT + CASE 0 RETURN Qt_QTime_toString_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTime:currentTime() - RETURN Qt_QTime_currentTime( ::pPtr ) + RETURN HB_QTime():from( Qt_QTime_currentTime( ::pPtr ) ) METHOD QTime:fromString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // QTime fromString ( const QString & string, const QString & format ) - // C c QString, C c QString - RETURN QTime():from( Qt_QTime_fromString_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - // C c QString, N n Qt::DateFormat - RETURN QTime():from( Qt_QTime_fromString( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QTime():from( Qt_QTime_fromString_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QTime():from( Qt_QTime_fromString( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - // C c QString, N n Qt::DateFormat - RETURN QTime():from( Qt_QTime_fromString( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QTime():from( Qt_QTime_fromString( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg b/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg index 923204f069..632dfc72a2 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtcore/g/TQTimer.prg b/harbour/contrib/hbqt/qtcore/g/TQTimer.prg index a310f6d3b3..cf12c502c9 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTimer.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTimer.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -122,26 +154,17 @@ METHOD QTimer:singleShot( nMsec, pReceiver, pMember ) METHOD QTimer:start( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void start ( int msec ) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QTimer_start_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void start () + EXIT + CASE 0 RETURN Qt_QTimer_start( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTimer:stop() diff --git a/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg b/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg index 0a5d495df1..d57ba95487 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -96,35 +128,25 @@ METHOD QTranslator:load( cFilename, cDirectory, cSearch_delimiters, cSuffix ) METHOD QTranslator:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "N" - // QString translate ( const char * context, const char * sourceText, const char * disambiguation, int n ) const - // PO p char, PO p char, PO p char, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QTranslator_translate_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // virtual QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0 ) const - // PO p char, PO p char, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QTranslator_translate( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // virtual QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0 ) const - // PO p char, PO p char, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QTranslator_translate( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtcore/g/TQUrl.prg b/harbour/contrib/hbqt/qtcore/g/TQUrl.prg index af2ec405c1..71713c398f 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQUrl.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQUrl.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -159,11 +191,11 @@ METHOD QUrl:addQueryItem( cKey, cValue ) METHOD QUrl:allEncodedQueryItemValues( pKey ) - RETURN Qt_QUrl_allEncodedQueryItemValues( ::pPtr, hbqt_ptr( pKey ) ) + RETURN HB_QList():from( Qt_QUrl_allEncodedQueryItemValues( ::pPtr, hbqt_ptr( pKey ) ) ) METHOD QUrl:allQueryItemValues( cKey ) - RETURN Qt_QUrl_allQueryItemValues( ::pPtr, cKey ) + RETURN HB_QStringList():from( Qt_QUrl_allQueryItemValues( ::pPtr, cKey ) ) METHOD QUrl:authority() @@ -175,31 +207,31 @@ METHOD QUrl:clear() METHOD QUrl:encodedFragment() - RETURN Qt_QUrl_encodedFragment( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedFragment( ::pPtr ) ) METHOD QUrl:encodedHost() - RETURN Qt_QUrl_encodedHost( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedHost( ::pPtr ) ) METHOD QUrl:encodedPassword() - RETURN Qt_QUrl_encodedPassword( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedPassword( ::pPtr ) ) METHOD QUrl:encodedPath() - RETURN Qt_QUrl_encodedPath( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedPath( ::pPtr ) ) METHOD QUrl:encodedQuery() - RETURN Qt_QUrl_encodedQuery( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedQuery( ::pPtr ) ) METHOD QUrl:encodedQueryItemValue( pKey ) - RETURN Qt_QUrl_encodedQueryItemValue( ::pPtr, hbqt_ptr( pKey ) ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedQueryItemValue( ::pPtr, hbqt_ptr( pKey ) ) ) METHOD QUrl:encodedUserName() - RETURN Qt_QUrl_encodedUserName( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QUrl_encodedUserName( ::pPtr ) ) METHOD QUrl:errorString() @@ -255,26 +287,17 @@ METHOD QUrl:path() METHOD QUrl:port( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // int port ( int defaultPort ) const - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QUrl_port_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // int port () const + EXIT + CASE 0 RETURN Qt_QUrl_port( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QUrl:queryItemValue( cKey ) @@ -306,7 +329,7 @@ METHOD QUrl:removeQueryItem( cKey ) METHOD QUrl:resolved( pRelative ) - RETURN Qt_QUrl_resolved( ::pPtr, hbqt_ptr( pRelative ) ) + RETURN HB_QUrl():from( Qt_QUrl_resolved( ::pPtr, hbqt_ptr( pRelative ) ) ) METHOD QUrl:scheme() @@ -338,30 +361,21 @@ METHOD QUrl:setEncodedQuery( pQuery ) METHOD QUrl:setEncodedUrl( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setEncodedUrl ( const QByteArray & encodedUrl, ParsingMode parsingMode ) - // PO p QByteArray, N n QUrl::ParsingMode + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QUrl_setEncodedUrl_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setEncodedUrl ( const QByteArray & encodedUrl ) - // PO p QByteArray + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QUrl_setEncodedUrl( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QUrl:setEncodedUserName( pUserName ) @@ -393,30 +407,21 @@ METHOD QUrl:setScheme( cScheme ) METHOD QUrl:setUrl( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // void setUrl ( const QString & url, ParsingMode parsingMode ) - // C c QString, N n QUrl::ParsingMode + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QUrl_setUrl_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void setUrl ( const QString & url ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QUrl_setUrl( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QUrl:setUserInfo( cUserInfo ) @@ -428,7 +433,7 @@ METHOD QUrl:setUserName( cUserName ) METHOD QUrl:toEncoded( nOptions ) - RETURN Qt_QUrl_toEncoded( ::pPtr, nOptions ) + RETURN HB_QByteArray():from( Qt_QUrl_toEncoded( ::pPtr, nOptions ) ) METHOD QUrl:toLocalFile() @@ -452,34 +457,25 @@ METHOD QUrl:fromAce( pDomain ) METHOD QUrl:fromEncoded( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // QUrl fromEncoded ( const QByteArray & input, ParsingMode parsingMode ) - // PO p QByteArray, N n QUrl::ParsingMode - RETURN QUrl():from( Qt_QUrl_fromEncoded_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QUrl():from( Qt_QUrl_fromEncoded_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QUrl fromEncoded ( const QByteArray & input ) - // PO p QByteArray - RETURN QUrl():from( Qt_QUrl_fromEncoded( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QUrl():from( Qt_QUrl_fromEncoded( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QUrl:fromLocalFile( cLocalFile ) - RETURN Qt_QUrl_fromLocalFile( ::pPtr, cLocalFile ) + RETURN HB_QUrl():from( Qt_QUrl_fromLocalFile( ::pPtr, cLocalFile ) ) METHOD QUrl:fromPercentEncoding( pInput ) @@ -487,7 +483,7 @@ METHOD QUrl:fromPercentEncoding( pInput ) METHOD QUrl:idnWhitelist() - RETURN Qt_QUrl_idnWhitelist( ::pPtr ) + RETURN HB_QStringList():from( Qt_QUrl_idnWhitelist( ::pPtr ) ) METHOD QUrl:setIdnWhitelist( pList ) @@ -495,9 +491,9 @@ METHOD QUrl:setIdnWhitelist( pList ) METHOD QUrl:toAce( cDomain ) - RETURN Qt_QUrl_toAce( ::pPtr, cDomain ) + RETURN HB_QByteArray():from( Qt_QUrl_toAce( ::pPtr, cDomain ) ) METHOD QUrl:toPercentEncoding( cInput, pExclude, pInclude ) - RETURN Qt_QUrl_toPercentEncoding( ::pPtr, cInput, hbqt_ptr( pExclude ), hbqt_ptr( pInclude ) ) + RETURN HB_QByteArray():from( Qt_QUrl_toPercentEncoding( ::pPtr, cInput, hbqt_ptr( pExclude ), hbqt_ptr( pInclude ) ) ) diff --git a/harbour/contrib/hbqt/qtcore/g/TQVariant.prg b/harbour/contrib/hbqt/qtcore/g/TQVariant.prg index 2a472394ce..e12c7e44a3 100644 --- a/harbour/contrib/hbqt/qtcore/g/TQVariant.prg +++ b/harbour/contrib/hbqt/qtcore/g/TQVariant.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -122,26 +154,20 @@ METHOD QVariant:new( ... ) METHOD QVariant:canConvert( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // bool canConvert ( Type t ) const - // N n QVariant::Type - RETURN Qt_QVariant_canConvert( ::pPtr, ... ) - // bool canConvert ( Type t ) const - // N n QVariant::Type - // RETURN Qt_QVariant_canConvert_1( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QVARIANT::TYPE" + RETURN Qt_QVariant_canConvert( ::pPtr, ... ) + CASE "QVARIANT::TYPE" + RETURN Qt_QVariant_canConvert_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QVariant:clear() @@ -165,7 +191,7 @@ METHOD QVariant:setValue( xValue ) METHOD QVariant:toBitArray() - RETURN Qt_QVariant_toBitArray( ::pPtr ) + RETURN HB_QBitArray():from( Qt_QVariant_toBitArray( ::pPtr ) ) METHOD QVariant:toBool() @@ -173,19 +199,19 @@ METHOD QVariant:toBool() METHOD QVariant:toByteArray() - RETURN Qt_QVariant_toByteArray( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QVariant_toByteArray( ::pPtr ) ) METHOD QVariant:toChar() - RETURN Qt_QVariant_toChar( ::pPtr ) + RETURN HB_QChar():from( Qt_QVariant_toChar( ::pPtr ) ) METHOD QVariant:toDate() - RETURN Qt_QVariant_toDate( ::pPtr ) + RETURN HB_QDate():from( Qt_QVariant_toDate( ::pPtr ) ) METHOD QVariant:toDateTime() - RETURN Qt_QVariant_toDateTime( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QVariant_toDateTime( ::pPtr ) ) METHOD QVariant:toDouble( lOk ) @@ -197,19 +223,19 @@ METHOD QVariant:toInt( lOk ) METHOD QVariant:toLine() - RETURN Qt_QVariant_toLine( ::pPtr ) + RETURN HB_QLine():from( Qt_QVariant_toLine( ::pPtr ) ) METHOD QVariant:toLineF() - RETURN Qt_QVariant_toLineF( ::pPtr ) + RETURN HB_QLineF():from( Qt_QVariant_toLineF( ::pPtr ) ) METHOD QVariant:toList() - RETURN Qt_QVariant_toList( ::pPtr ) + RETURN HB_QList():from( Qt_QVariant_toList( ::pPtr ) ) METHOD QVariant:toLocale() - RETURN Qt_QVariant_toLocale( ::pPtr ) + RETURN HB_QLocale():from( Qt_QVariant_toLocale( ::pPtr ) ) METHOD QVariant:toLongLong( lOk ) @@ -217,31 +243,31 @@ METHOD QVariant:toLongLong( lOk ) METHOD QVariant:toPoint() - RETURN Qt_QVariant_toPoint( ::pPtr ) + RETURN HB_QPoint():from( Qt_QVariant_toPoint( ::pPtr ) ) METHOD QVariant:toPointF() - RETURN Qt_QVariant_toPointF( ::pPtr ) + RETURN HB_QPointF():from( Qt_QVariant_toPointF( ::pPtr ) ) METHOD QVariant:toRect() - RETURN Qt_QVariant_toRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QVariant_toRect( ::pPtr ) ) METHOD QVariant:toRectF() - RETURN Qt_QVariant_toRectF( ::pPtr ) + RETURN HB_QRectF():from( Qt_QVariant_toRectF( ::pPtr ) ) METHOD QVariant:toRegExp() - RETURN Qt_QVariant_toRegExp( ::pPtr ) + RETURN HB_QRegExp():from( Qt_QVariant_toRegExp( ::pPtr ) ) METHOD QVariant:toSize() - RETURN Qt_QVariant_toSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QVariant_toSize( ::pPtr ) ) METHOD QVariant:toSizeF() - RETURN Qt_QVariant_toSizeF( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QVariant_toSizeF( ::pPtr ) ) METHOD QVariant:toString() @@ -249,11 +275,11 @@ METHOD QVariant:toString() METHOD QVariant:toStringList() - RETURN Qt_QVariant_toStringList( ::pPtr ) + RETURN HB_QStringList():from( Qt_QVariant_toStringList( ::pPtr ) ) METHOD QVariant:toTime() - RETURN Qt_QVariant_toTime( ::pPtr ) + RETURN HB_QTime():from( Qt_QVariant_toTime( ::pPtr ) ) METHOD QVariant:toUInt( lOk ) @@ -265,7 +291,7 @@ METHOD QVariant:toULongLong( lOk ) METHOD QVariant:toUrl() - RETURN Qt_QVariant_toUrl( ::pPtr ) + RETURN HB_QUrl():from( Qt_QVariant_toUrl( ::pPtr ) ) METHOD QVariant:type() @@ -277,7 +303,7 @@ METHOD QVariant:userType() METHOD QVariant:fromValue( xValue ) - RETURN Qt_QVariant_fromValue( ::pPtr, xValue ) + RETURN HB_QVariant():from( Qt_QVariant_fromValue( ::pPtr, xValue ) ) METHOD QVariant:nameToType( pName ) diff --git a/harbour/contrib/hbqt/qtcore/hbqt_destruct.cpp b/harbour/contrib/hbqt/qtcore/hbqt_destruct.cpp index dfb5354862..725aa1723c 100644 --- a/harbour/contrib/hbqt/qtcore/hbqt_destruct.cpp +++ b/harbour/contrib/hbqt/qtcore/hbqt_destruct.cpp @@ -55,6 +55,7 @@ #include "hbapiitm.h" #include "hbvm.h" +#include "hbapierr.h" #if QT_VERSION >= 0x040500 @@ -103,8 +104,57 @@ void * hbqt_gcpointerFromItem( PHB_ITEM pObj ) } } +void * hbqt_par_obj( int iParam ) +{ + PHB_ITEM pItem; + + HB_TRACE( HB_TR_DEBUG, ( "hbqt_par_obj( %d )", iParam ) ); + + if( ( pItem = hb_param( iParam, HB_IT_OBJECT ) ) != NULL ) + { + HBQT_GC_T * p; + void * pr; + + hb_vmPushSymbol( hb_dynsymSymbol( hb_dynsymFindName( "PPTR" ) ) ); + hb_vmPush( pItem ); + hb_vmSend( 0 ); + + pItem = hb_param( -1, HB_IT_POINTER ); + + p = ( HBQT_GC_T * ) hb_itemGetPtrGC( pItem, hbqt_gcFuncs() ); + + if( p && p->ph ) + return p->ph; +#if 1 + else if( ( pr = hb_itemGetPtr( pItem ) ) != NULL ) + return pr; /* TOFIX: Only required in QList.cpp hb_retptr() calls. Though the latter should be fixed, rather than this code. */ +#endif + else + hb_errRT_BASE( EG_ARG, 8001, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS ); + } + else if( HB_ISPOINTER( iParam ) ) + { + return hb_parptr( iParam ); + } + else + { + //hb_errRT_BASE( EG_ARG, 8000, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS ); + HBQT_GC_T * p; + p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), iParam ); + if( p && p->ph ) + { + return p->ph; + } + } + + return NULL; +} + void * hbqt_gcpointer( int iParam ) { +#if 0 + return hbqt_par_obj( iParam ); +#else HBQT_GC_T * p; HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcpointer( %d )", iParam ) ); @@ -112,17 +162,29 @@ void * hbqt_gcpointer( int iParam ) p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), iParam ); if( p && p->ph ) + { return p->ph; + } else if( HB_ISPOINTER( iParam ) ) { - HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcpointer(): returns raw pointer: %p", hb_parptr( iParam ) ) ); + HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcpointer(): returns RAW pointer: %p", hb_parptr( iParam ) ) ); return hb_parptr( iParam ); /* TOFIX: In what cases is this needed? Reference counting to avoid referring to freed pointers? */ } + else if( HB_ISOBJECT( iParam ) ) + { + PHB_ITEM pObj = hb_param( iParam, HB_IT_ANY ); + + hb_vmPushSymbol( hb_dynsymSymbol( hb_dynsymFindName( "PPTR" ) ) ); + hb_vmPush( pObj ); + hb_vmSend( 0 ); + return hbqt_gcpointer( -1 ); + } else { HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcpointer(): returns NULL" ) ); return NULL; /* TODO: Still better if RTE. */ } +#endif } void * hbqt_pPtrFromItem( PHB_ITEM pObj ) diff --git a/harbour/contrib/hbqt/qtcore/hbqt_misc.prg b/harbour/contrib/hbqt/qtcore/hbqt_misc.prg index 82ff57bce4..090fa6cf17 100644 --- a/harbour/contrib/hbqt/qtcore/hbqt_misc.prg +++ b/harbour/contrib/hbqt/qtcore/hbqt_misc.prg @@ -63,9 +63,8 @@ CLASS HbQtObjectHandler VAR pSlots VAR pEvents - METHOD configure( xObject ) - METHOD from( xObject ) INLINE ::configure( xObject ) - METHOD valtypes( aP, aV ) + METHOD from( xObject ) + METHOD isValidObject() METHOD connect( cnEvent, bBlock ) METHOD disconnect( cnEvent ) @@ -76,21 +75,16 @@ CLASS HbQtObjectHandler /*----------------------------------------------------------------------*/ -METHOD HbQtObjectHandler:configure( xObject ) - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - RETURN Self +METHOD HbQtObjectHandler:isValidObject() + RETURN ! hbqt_isEmptyQtPointer( ::pPtr ) /*----------------------------------------------------------------------*/ -METHOD HbQtObjectHandler:valtypes( aP, aV ) - LOCAL p - FOR EACH p IN aP - aadd( aV, valtype( p ) ) - NEXT +METHOD HbQtObjectHandler:from( xObject ) + LOCAL pPtr + IF hb_isPointer( pPtr := hbqt_ptr( xObject ) ) + ::pPtr := pPtr + ENDIF RETURN Self /*----------------------------------------------------------------------*/ @@ -167,3 +161,21 @@ FUNCTION hbqt_ptr( xParam ) RETURN xParam /*----------------------------------------------------------------------*/ + +FUNCTION hbqt_error() + LOCAL oError := ErrorNew() + + oError:severity := ES_ERROR + oError:genCode := EG_ARG + oError:subSystem := "HBQT" + oError:subCode := 1001 + oError:canRetry := .F. + oError:canDefault := .F. + oError:Args := hb_AParams() + oError:operation := ProcName() + oError:Description := "Incorrect parameters type" + + RETURN Eval( ErrorBlock(), oError ) + +/*----------------------------------------------------------------------*/ + diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt index a32ac63658..9db227966a 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerActionEditorInterface( ... ) * QDesignerActionEditorInterface():from( pPtr_OR_oObj_of_type_QDesignerActionEditorInterface ) - * QDesignerActionEditorInterface():configure( pPtr_OR_oObj_of_type_QDesignerActionEditorInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerActionEditorInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt index e84ebec998..cbbc7bfab8 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerFormEditorInterface( ... ) * QDesignerFormEditorInterface():from( pPtr_OR_oObj_of_type_QDesignerFormEditorInterface ) - * QDesignerFormEditorInterface():configure( pPtr_OR_oObj_of_type_QDesignerFormEditorInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormEditorInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt index f2207c62df..1fdde5b3fd 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerFormWindowCursorInterface( ... ) * QDesignerFormWindowCursorInterface():from( pPtr_OR_oObj_of_type_QDesignerFormWindowCursorInterface ) - * QDesignerFormWindowCursorInterface():configure( pPtr_OR_oObj_of_type_QDesignerFormWindowCursorInterface ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt index cc0aa50b65..56d79cfe22 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerFormWindowInterface( ... ) * QDesignerFormWindowInterface():from( pPtr_OR_oObj_of_type_QDesignerFormWindowInterface ) - * QDesignerFormWindowInterface():configure( pPtr_OR_oObj_of_type_QDesignerFormWindowInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -83,6 +83,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormWindowInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt index eb76b0ee4f..191ffad39b 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerFormWindowManagerInterface( ... ) * QDesignerFormWindowManagerInterface():from( pPtr_OR_oObj_of_type_QDesignerFormWindowManagerInterface ) - * QDesignerFormWindowManagerInterface():configure( pPtr_OR_oObj_of_type_QDesignerFormWindowManagerInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormWindowManagerInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt index 989a5e0a03..7e1699c5e7 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerObjectInspectorInterface( ... ) * QDesignerObjectInspectorInterface():from( pPtr_OR_oObj_of_type_QDesignerObjectInspectorInterface ) - * QDesignerObjectInspectorInterface():configure( pPtr_OR_oObj_of_type_QDesignerObjectInspectorInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerObjectInspectorInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt index 644d5eb223..250279d93a 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerPropertyEditorInterface( ... ) * QDesignerPropertyEditorInterface():from( pPtr_OR_oObj_of_type_QDesignerPropertyEditorInterface ) - * QDesignerPropertyEditorInterface():configure( pPtr_OR_oObj_of_type_QDesignerPropertyEditorInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerPropertyEditorInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt index 421aadf2b4..1dd7579509 100644 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt +++ b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesignerWidgetBoxInterface( ... ) * QDesignerWidgetBoxInterface():from( pPtr_OR_oObj_of_type_QDesignerWidgetBoxInterface ) - * QDesignerWidgetBoxInterface():configure( pPtr_OR_oObj_of_type_QDesignerWidgetBoxInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerWidgetBoxInterface.cpp * Library : hbqtdesigner * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp index 511d6691d7..59a884cd14 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp index 29db40649f..90fde6173b 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp index c52d8581a9..237459eae7 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp index 6375145acf..ca46f2deb1 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp index 0cdf8ea02d..6fce4df899 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp index d50b453600..fbaad602d3 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp index b2dca62d8c..099941a0be 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp index 356e64257d..6b8da3c3d7 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp +++ b/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtdesigner.h" diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg index 23dade004c..c6f44bb96f 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,7 +121,7 @@ METHOD QDesignerActionEditorInterface:new( ... ) METHOD QDesignerActionEditorInterface:core() - RETURN Qt_QDesignerActionEditorInterface_core( ::pPtr ) + RETURN HB_QDesignerFormEditorInterface():from( Qt_QDesignerActionEditorInterface_core( ::pPtr ) ) METHOD QDesignerActionEditorInterface:manageAction( pAction ) diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg index 0fe84d8383..6ce8489c9c 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,19 +127,19 @@ METHOD QDesignerFormEditorInterface:new( ... ) METHOD QDesignerFormEditorInterface:actionEditor() - RETURN Qt_QDesignerFormEditorInterface_actionEditor( ::pPtr ) + RETURN HB_QDesignerActionEditorInterface():from( Qt_QDesignerFormEditorInterface_actionEditor( ::pPtr ) ) METHOD QDesignerFormEditorInterface:formWindowManager() - RETURN Qt_QDesignerFormEditorInterface_formWindowManager( ::pPtr ) + RETURN HB_QDesignerFormWindowManagerInterface():from( Qt_QDesignerFormEditorInterface_formWindowManager( ::pPtr ) ) METHOD QDesignerFormEditorInterface:objectInspector() - RETURN Qt_QDesignerFormEditorInterface_objectInspector( ::pPtr ) + RETURN HB_QDesignerObjectInspectorInterface():from( Qt_QDesignerFormEditorInterface_objectInspector( ::pPtr ) ) METHOD QDesignerFormEditorInterface:propertyEditor() - RETURN Qt_QDesignerFormEditorInterface_propertyEditor( ::pPtr ) + RETURN HB_QDesignerPropertyEditorInterface():from( Qt_QDesignerFormEditorInterface_propertyEditor( ::pPtr ) ) METHOD QDesignerFormEditorInterface:setActionEditor( pActionEditor ) @@ -127,9 +159,9 @@ METHOD QDesignerFormEditorInterface:setWidgetBox( pWidgetBox ) METHOD QDesignerFormEditorInterface:topLevel() - RETURN Qt_QDesignerFormEditorInterface_topLevel( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDesignerFormEditorInterface_topLevel( ::pPtr ) ) METHOD QDesignerFormEditorInterface:widgetBox() - RETURN Qt_QDesignerFormEditorInterface_widgetBox( ::pPtr ) + RETURN HB_QDesignerWidgetBoxInterface():from( Qt_QDesignerFormEditorInterface_widgetBox( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg index 594ef2f1f7..9a67680447 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,11 +131,11 @@ METHOD QDesignerFormWindowCursorInterface:new( ... ) METHOD QDesignerFormWindowCursorInterface:current() - RETURN Qt_QDesignerFormWindowCursorInterface_current( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDesignerFormWindowCursorInterface_current( ::pPtr ) ) METHOD QDesignerFormWindowCursorInterface:formWindow() - RETURN Qt_QDesignerFormWindowCursorInterface_formWindow( ::pPtr ) + RETURN HB_QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowCursorInterface_formWindow( ::pPtr ) ) METHOD QDesignerFormWindowCursorInterface:hasSelection() @@ -127,7 +159,7 @@ METHOD QDesignerFormWindowCursorInterface:resetWidgetProperty( pWidget, cName ) METHOD QDesignerFormWindowCursorInterface:selectedWidget( nIndex ) - RETURN Qt_QDesignerFormWindowCursorInterface_selectedWidget( ::pPtr, nIndex ) + RETURN HB_QWidget():from( Qt_QDesignerFormWindowCursorInterface_selectedWidget( ::pPtr, nIndex ) ) METHOD QDesignerFormWindowCursorInterface:selectedWidgetCount() @@ -147,7 +179,7 @@ METHOD QDesignerFormWindowCursorInterface:setWidgetProperty( pWidget, cName, pVa METHOD QDesignerFormWindowCursorInterface:widget( nIndex ) - RETURN Qt_QDesignerFormWindowCursorInterface_widget( ::pPtr, nIndex ) + RETURN HB_QWidget():from( Qt_QDesignerFormWindowCursorInterface_widget( ::pPtr, nIndex ) ) METHOD QDesignerFormWindowCursorInterface:widgetCount() diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg index f698409176..31d39ff7cf 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -138,11 +170,11 @@ METHOD QDesignerFormWindowInterface:contents() METHOD QDesignerFormWindowInterface:core() - RETURN Qt_QDesignerFormWindowInterface_core( ::pPtr ) + RETURN HB_QDesignerFormEditorInterface():from( Qt_QDesignerFormWindowInterface_core( ::pPtr ) ) METHOD QDesignerFormWindowInterface:cursor() - RETURN Qt_QDesignerFormWindowInterface_cursor( ::pPtr ) + RETURN HB_QDesignerFormWindowCursorInterface():from( Qt_QDesignerFormWindowInterface_cursor( ::pPtr ) ) METHOD QDesignerFormWindowInterface:emitSelectionChanged() @@ -162,7 +194,7 @@ METHOD QDesignerFormWindowInterface:fileName() METHOD QDesignerFormWindowInterface:grid() - RETURN Qt_QDesignerFormWindowInterface_grid( ::pPtr ) + RETURN HB_QPoint():from( Qt_QDesignerFormWindowInterface_grid( ::pPtr ) ) METHOD QDesignerFormWindowInterface:hasFeature( nFeature ) @@ -170,7 +202,7 @@ METHOD QDesignerFormWindowInterface:hasFeature( nFeature ) METHOD QDesignerFormWindowInterface:includeHints() - RETURN Qt_QDesignerFormWindowInterface_includeHints( ::pPtr ) + RETURN HB_QStringList():from( Qt_QDesignerFormWindowInterface_includeHints( ::pPtr ) ) METHOD QDesignerFormWindowInterface:isDirty() @@ -186,7 +218,7 @@ METHOD QDesignerFormWindowInterface:layoutDefault( nMargin, nSpacing ) METHOD QDesignerFormWindowInterface:mainContainer() - RETURN Qt_QDesignerFormWindowInterface_mainContainer( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDesignerFormWindowInterface_mainContainer( ::pPtr ) ) METHOD QDesignerFormWindowInterface:pixmapFunction() @@ -198,7 +230,7 @@ METHOD QDesignerFormWindowInterface:removeResourceFile( cPath ) METHOD QDesignerFormWindowInterface:resourceFiles() - RETURN Qt_QDesignerFormWindowInterface_resourceFiles( ::pPtr ) + RETURN HB_QStringList():from( Qt_QDesignerFormWindowInterface_resourceFiles( ::pPtr ) ) METHOD QDesignerFormWindowInterface:setAuthor( cAuthor ) @@ -210,27 +242,17 @@ METHOD QDesignerFormWindowInterface:setComment( cComment ) METHOD QDesignerFormWindowInterface:setContents( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // virtual void setContents ( const QString & contents ) = 0 - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QDesignerFormWindowInterface_setContents_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // virtual void setContents ( QIODevice * device ) = 0 - // PO p QIODevice + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QDesignerFormWindowInterface_setContents( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QDesignerFormWindowInterface:setExportMacro( cExportMacro ) @@ -254,26 +276,20 @@ METHOD QDesignerFormWindowInterface:setPixmapFunction( cPixmapFunction ) METHOD QDesignerFormWindowInterface:findFormWindow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QDesignerFormWindowInterface * findFormWindow ( QWidget * widget ) - // PO p QWidget - RETURN QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowInterface_findFormWindow( ::pPtr, ... ) ) - // QDesignerFormWindowInterface * findFormWindow ( QObject * object ) - // PO p QObject - // RETURN QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowInterface_findFormWindow_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN HB_QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowInterface_findFormWindow( ::pPtr, ... ) ) + CASE "QOBJECT" + RETURN HB_QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowInterface_findFormWindow_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QDesignerFormWindowInterface:clearSelection( lUpdate ) diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg index af819df1d0..2802eb32a3 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -111,91 +143,91 @@ METHOD QDesignerFormWindowManagerInterface:new( ... ) METHOD QDesignerFormWindowManagerInterface:actionAdjustSize() - RETURN Qt_QDesignerFormWindowManagerInterface_actionAdjustSize( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionAdjustSize( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionBreakLayout() - RETURN Qt_QDesignerFormWindowManagerInterface_actionBreakLayout( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionBreakLayout( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionCopy() - RETURN Qt_QDesignerFormWindowManagerInterface_actionCopy( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionCopy( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionCut() - RETURN Qt_QDesignerFormWindowManagerInterface_actionCut( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionCut( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionDelete() - RETURN Qt_QDesignerFormWindowManagerInterface_actionDelete( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionDelete( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionFormLayout() - RETURN Qt_QDesignerFormWindowManagerInterface_actionFormLayout( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionFormLayout( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionGridLayout() - RETURN Qt_QDesignerFormWindowManagerInterface_actionGridLayout( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionGridLayout( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionHorizontalLayout() - RETURN Qt_QDesignerFormWindowManagerInterface_actionHorizontalLayout( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionHorizontalLayout( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionLower() - RETURN Qt_QDesignerFormWindowManagerInterface_actionLower( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionLower( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionPaste() - RETURN Qt_QDesignerFormWindowManagerInterface_actionPaste( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionPaste( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionRaise() - RETURN Qt_QDesignerFormWindowManagerInterface_actionRaise( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionRaise( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionRedo() - RETURN Qt_QDesignerFormWindowManagerInterface_actionRedo( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionRedo( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionSelectAll() - RETURN Qt_QDesignerFormWindowManagerInterface_actionSelectAll( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionSelectAll( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionSimplifyLayout() - RETURN Qt_QDesignerFormWindowManagerInterface_actionSimplifyLayout( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionSimplifyLayout( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionSplitHorizontal() - RETURN Qt_QDesignerFormWindowManagerInterface_actionSplitHorizontal( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionSplitHorizontal( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionSplitVertical() - RETURN Qt_QDesignerFormWindowManagerInterface_actionSplitVertical( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionSplitVertical( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionUndo() - RETURN Qt_QDesignerFormWindowManagerInterface_actionUndo( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionUndo( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:actionVerticalLayout() - RETURN Qt_QDesignerFormWindowManagerInterface_actionVerticalLayout( ::pPtr ) + RETURN HB_QAction():from( Qt_QDesignerFormWindowManagerInterface_actionVerticalLayout( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:activeFormWindow() - RETURN Qt_QDesignerFormWindowManagerInterface_activeFormWindow( ::pPtr ) + RETURN HB_QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowManagerInterface_activeFormWindow( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:core() - RETURN Qt_QDesignerFormWindowManagerInterface_core( ::pPtr ) + RETURN HB_QDesignerFormEditorInterface():from( Qt_QDesignerFormWindowManagerInterface_core( ::pPtr ) ) METHOD QDesignerFormWindowManagerInterface:createFormWindow( pParent, nFlags ) - RETURN Qt_QDesignerFormWindowManagerInterface_createFormWindow( ::pPtr, hbqt_ptr( pParent ), nFlags ) + RETURN HB_QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowManagerInterface_createFormWindow( ::pPtr, hbqt_ptr( pParent ), nFlags ) ) METHOD QDesignerFormWindowManagerInterface:formWindow( nIndex ) - RETURN Qt_QDesignerFormWindowManagerInterface_formWindow( ::pPtr, nIndex ) + RETURN HB_QDesignerFormWindowInterface():from( Qt_QDesignerFormWindowManagerInterface_formWindow( ::pPtr, nIndex ) ) METHOD QDesignerFormWindowManagerInterface:formWindowCount() diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg index 1280d07f11..0ac61ec334 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,7 +119,7 @@ METHOD QDesignerObjectInspectorInterface:new( ... ) METHOD QDesignerObjectInspectorInterface:core() - RETURN Qt_QDesignerObjectInspectorInterface_core( ::pPtr ) + RETURN HB_QDesignerFormEditorInterface():from( Qt_QDesignerObjectInspectorInterface_core( ::pPtr ) ) METHOD QDesignerObjectInspectorInterface:setFormWindow( pFormWindow ) diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg index 104afb34e4..bd2749ddae 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,7 +124,7 @@ METHOD QDesignerPropertyEditorInterface:new( ... ) METHOD QDesignerPropertyEditorInterface:core() - RETURN Qt_QDesignerPropertyEditorInterface_core( ::pPtr ) + RETURN HB_QDesignerFormEditorInterface():from( Qt_QDesignerPropertyEditorInterface_core( ::pPtr ) ) METHOD QDesignerPropertyEditorInterface:currentPropertyName() @@ -104,7 +136,7 @@ METHOD QDesignerPropertyEditorInterface:isReadOnly() METHOD QDesignerPropertyEditorInterface:object() - RETURN Qt_QDesignerPropertyEditorInterface_object( ::pPtr ) + RETURN HB_QObject():from( Qt_QDesignerPropertyEditorInterface_object( ::pPtr ) ) METHOD QDesignerPropertyEditorInterface:setObject( pObject ) diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg index 4eed1042aa..8beed3ccb0 100644 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg +++ b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/THbQtUI.prg b/harbour/contrib/hbqt/qtgui/THbQtUI.prg index 2fb55a7e47..34db31cefe 100644 --- a/harbour/contrib/hbqt/qtgui/THbQtUI.prg +++ b/harbour/contrib/hbqt/qtgui/THbQtUI.prg @@ -68,6 +68,7 @@ #include "hbclass.ch" #include "common.ch" #include "error.ch" +#include "hbtrace.ch" #include "hbqtgui.ch" @@ -156,8 +157,6 @@ METHOD HbQtUI:create( cFile, qParent ) METHOD HbQtUI:destroy() LOCAL a_, i - ::oWidget:hide() - ::pSlots := NIL ::pEvents := NIL @@ -227,7 +226,7 @@ METHOD HbQtUI:loadContents( cUiFull ) /*----------------------------------------------------------------------*/ METHOD HbQtUI:loadUI( cUiFull, qParent ) - LOCAL oWidget, qUiLoader, qFile, pWidget + LOCAL oWidget, qUiLoader, qFile //, pWidget #if 1 LOCAL cBuffer @@ -242,6 +241,8 @@ METHOD HbQtUI:loadUI( cUiFull, qParent ) #endif IF qFile:open( 1 ) qUiLoader := QUiLoader() + oWidget := qUiLoader:load( qFile, qParent ) + #if 0 pWidget := qUiLoader:load( qFile, qParent ) DO CASE CASE ::widgets[ 1,1 ] == "QWidget" @@ -253,6 +254,7 @@ METHOD HbQtUI:loadUI( cUiFull, qParent ) OTHERWISE oWidget := QWidget():from( pWidget ) ENDCASE + #endif qFile:close() qFile := NIL qUiLoader := NIL @@ -293,7 +295,9 @@ METHOD HbQtUI:OnError( ... ) Eval( ErrorBlock(), oError ) ENDIF ELSE - xReturn := ::oWidget:&cMsg( ... ) + IF ::oWidget:isValidObject() + xReturn := ::oWidget:&cMsg( ... ) + ENDIF ENDIF RETURN xReturn diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt index 7e070d6efc..6404539687 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQAbstractItemModel( ... ) * HBQAbstractItemModel():from( pPtr_OR_oObj_of_type_HBQAbstractItemModel ) - * HBQAbstractItemModel():configure( pPtr_OR_oObj_of_type_HBQAbstractItemModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/HBQAbstractItemModel.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemModel + * QAbstractItemModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt index 6ab5fac179..4146216a74 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQGraphicsItem( ... ) * HBQGraphicsItem():from( pPtr_OR_oObj_of_type_HBQGraphicsItem ) - * HBQGraphicsItem():configure( pPtr_OR_oObj_of_type_HBQGraphicsItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -114,6 +114,6 @@ * C++ wrappers : contrib/hbqt/qtgui/HBQGraphicsItem.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsItem + * QGraphicsItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt index bf1444cdce..67118dec94 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQGraphicsScene( ... ) * HBQGraphicsScene():from( pPtr_OR_oObj_of_type_HBQGraphicsScene ) - * HBQGraphicsScene():configure( pPtr_OR_oObj_of_type_HBQGraphicsScene ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -65,6 +65,6 @@ * C++ wrappers : contrib/hbqt/qtgui/HBQGraphicsScene.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsScene + * QGraphicsScene() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt index 308275d0cf..706aca1fbd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQPlainTextEdit( ... ) * HBQPlainTextEdit():from( pPtr_OR_oObj_of_type_HBQPlainTextEdit ) - * HBQPlainTextEdit():configure( pPtr_OR_oObj_of_type_HBQPlainTextEdit ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -102,6 +102,6 @@ * C++ wrappers : contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * Library : hbqtgui * $SEEALSO$ - * QPlainTextEdit + * QPlainTextEdit() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt index f8bf7a50d5..64386cb85d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQSyntaxHighlighter( ... ) * HBQSyntaxHighlighter():from( pPtr_OR_oObj_of_type_HBQSyntaxHighlighter ) - * HBQSyntaxHighlighter():configure( pPtr_OR_oObj_of_type_HBQSyntaxHighlighter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp * Library : hbqtgui * $SEEALSO$ - * QSyntaxHighlighter + * QSyntaxHighlighter() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt index 433f3bc358..3945fe372a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * HBQTextBlockUserData( ... ) * HBQTextBlockUserData():from( pPtr_OR_oObj_of_type_HBQTextBlockUserData ) - * HBQTextBlockUserData():configure( pPtr_OR_oObj_of_type_HBQTextBlockUserData ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt index 4368bae776..927726ddb3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractButton( ... ) * QAbstractButton():from( pPtr_OR_oObj_of_type_QAbstractButton ) - * QAbstractButton():configure( pPtr_OR_oObj_of_type_QAbstractButton ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractButton.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt index cc1626fd21..f5d416225f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractGraphicsShapeItem( ... ) * QAbstractGraphicsShapeItem():from( pPtr_OR_oObj_of_type_QAbstractGraphicsShapeItem ) - * QAbstractGraphicsShapeItem():configure( pPtr_OR_oObj_of_type_QAbstractGraphicsShapeItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractGraphicsShapeItem.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsItem + * QGraphicsItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt index 81d31d2355..1375b809a2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractItemDelegate( ... ) * QAbstractItemDelegate():from( pPtr_OR_oObj_of_type_QAbstractItemDelegate ) - * QAbstractItemDelegate():configure( pPtr_OR_oObj_of_type_QAbstractItemDelegate ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractItemDelegate.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt index 0e598fe449..0eab47bf4f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractItemView( ... ) * QAbstractItemView():from( pPtr_OR_oObj_of_type_QAbstractItemView ) - * QAbstractItemView():configure( pPtr_OR_oObj_of_type_QAbstractItemView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -109,6 +109,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractItemView.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractScrollArea + * QAbstractScrollArea() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt index 172afef59d..8d139946cd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractPrintDialog( ... ) * QAbstractPrintDialog():from( pPtr_OR_oObj_of_type_QAbstractPrintDialog ) - * QAbstractPrintDialog():configure( pPtr_OR_oObj_of_type_QAbstractPrintDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractPrintDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt index d3c1d599ba..28dba8081c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractProxyModel( ... ) * QAbstractProxyModel():from( pPtr_OR_oObj_of_type_QAbstractProxyModel ) - * QAbstractProxyModel():configure( pPtr_OR_oObj_of_type_QAbstractProxyModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractProxyModel.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemModel + * QAbstractItemModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt index e2a9c79043..c970b3b665 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractScrollArea( ... ) * QAbstractScrollArea():from( pPtr_OR_oObj_of_type_QAbstractScrollArea ) - * QAbstractScrollArea():configure( pPtr_OR_oObj_of_type_QAbstractScrollArea ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractScrollArea.cpp * Library : hbqtgui * $SEEALSO$ - * QFrame + * QFrame() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt index 41bee09b5c..7c1419d2b3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractSlider( ... ) * QAbstractSlider():from( pPtr_OR_oObj_of_type_QAbstractSlider ) - * QAbstractSlider():configure( pPtr_OR_oObj_of_type_QAbstractSlider ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -70,6 +70,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractSlider.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt index 813978afa7..2f411680b3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractSpinBox( ... ) * QAbstractSpinBox():from( pPtr_OR_oObj_of_type_QAbstractSpinBox ) - * QAbstractSpinBox():configure( pPtr_OR_oObj_of_type_QAbstractSpinBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractSpinBox.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt index ac3af2182b..4a774f77d1 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAbstractTextDocumentLayout( ... ) * QAbstractTextDocumentLayout():from( pPtr_OR_oObj_of_type_QAbstractTextDocumentLayout ) - * QAbstractTextDocumentLayout():configure( pPtr_OR_oObj_of_type_QAbstractTextDocumentLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt index 2572c78d2f..3e7cac2b7e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QAction( ... ) * QAction():from( pPtr_OR_oObj_of_type_QAction ) - * QAction():configure( pPtr_OR_oObj_of_type_QAction ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -96,6 +96,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QAction.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt index 830d45a05c..e8a8c55320 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QActionGroup( ... ) * QActionGroup():from( pPtr_OR_oObj_of_type_QActionGroup ) - * QActionGroup():configure( pPtr_OR_oObj_of_type_QActionGroup ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -59,6 +59,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QActionGroup.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt index 5c745870f8..bf3fc32c02 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QApplication( ... ) * QApplication():from( pPtr_OR_oObj_of_type_QApplication ) - * QApplication():configure( pPtr_OR_oObj_of_type_QApplication ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -120,6 +120,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QApplication.cpp * Library : hbqtgui * $SEEALSO$ - * QCoreApplication + * QCoreApplication() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt index cf27dfa6ef..d1d1464164 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QBitmap( ... ) * QBitmap():from( pPtr_OR_oObj_of_type_QBitmap ) - * QBitmap():configure( pPtr_OR_oObj_of_type_QBitmap ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QBitmap.cpp * Library : hbqtgui * $SEEALSO$ - * QPixmap + * QPixmap() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt index 449b10697e..58b813c6e1 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QBoxLayout( ... ) * QBoxLayout():from( pPtr_OR_oObj_of_type_QBoxLayout ) - * QBoxLayout():configure( pPtr_OR_oObj_of_type_QBoxLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -66,6 +66,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QBoxLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QLayout + * QLayout() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt index 76d5eced9e..1e237b00df 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QBrush( ... ) * QBrush():from( pPtr_OR_oObj_of_type_QBrush ) - * QBrush():configure( pPtr_OR_oObj_of_type_QBrush ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt index d3542e13fe..78191b1b5a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QButtonGroup( ... ) * QButtonGroup():from( pPtr_OR_oObj_of_type_QButtonGroup ) - * QButtonGroup():configure( pPtr_OR_oObj_of_type_QButtonGroup ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -57,6 +57,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QButtonGroup.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt index 07116aae97..7bedba7662 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QCalendarWidget( ... ) * QCalendarWidget():from( pPtr_OR_oObj_of_type_QCalendarWidget ) - * QCalendarWidget():configure( pPtr_OR_oObj_of_type_QCalendarWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -84,6 +84,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QCalendarWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt index 9f73102e7b..172815f501 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QCheckBox( ... ) * QCheckBox():from( pPtr_OR_oObj_of_type_QCheckBox ) - * QCheckBox():configure( pPtr_OR_oObj_of_type_QCheckBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QCheckBox.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractButton + * QAbstractButton() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt index cca9780e97..d0a56aac2b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QClipboard( ... ) * QClipboard():from( pPtr_OR_oObj_of_type_QClipboard ) - * QClipboard():configure( pPtr_OR_oObj_of_type_QClipboard ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -59,6 +59,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QClipboard.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt index 742b91b762..484f918dd4 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QColor( ... ) * QColor():from( pPtr_OR_oObj_of_type_QColor ) - * QColor():configure( pPtr_OR_oObj_of_type_QColor ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt index ce078c8b3a..eab83a7dd2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QColorDialog( ... ) * QColorDialog():from( pPtr_OR_oObj_of_type_QColorDialog ) - * QColorDialog():configure( pPtr_OR_oObj_of_type_QColorDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -61,6 +61,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QColorDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt index e977e2e23c..37e5361d9e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QComboBox( ... ) * QComboBox():from( pPtr_OR_oObj_of_type_QComboBox ) - * QComboBox():configure( pPtr_OR_oObj_of_type_QComboBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -105,6 +105,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QComboBox.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt index 60eaa74214..9000e65308 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QCommandLinkButton( ... ) * QCommandLinkButton():from( pPtr_OR_oObj_of_type_QCommandLinkButton ) - * QCommandLinkButton():configure( pPtr_OR_oObj_of_type_QCommandLinkButton ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QCommandLinkButton.cpp * Library : hbqtgui * $SEEALSO$ - * QPushButton + * QPushButton() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt index 3f4f5b9e8e..6322bd0023 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QCompleter( ... ) * QCompleter():from( pPtr_OR_oObj_of_type_QCompleter ) - * QCompleter():configure( pPtr_OR_oObj_of_type_QCompleter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QCompleter.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt index 10c93757a5..9736a4335c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QConicalGradient( ... ) * QConicalGradient():from( pPtr_OR_oObj_of_type_QConicalGradient ) - * QConicalGradient():configure( pPtr_OR_oObj_of_type_QConicalGradient ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QConicalGradient.cpp * Library : hbqtgui * $SEEALSO$ - * QGradient + * QGradient() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt index 04e18f785a..c2d28237e1 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QContextMenuEvent( ... ) * QContextMenuEvent():from( pPtr_OR_oObj_of_type_QContextMenuEvent ) - * QContextMenuEvent():configure( pPtr_OR_oObj_of_type_QContextMenuEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QContextMenuEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QInputEvent + * QInputEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt index 6d4c9e7fb1..ae13db6541 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QCursor( ... ) * QCursor():from( pPtr_OR_oObj_of_type_QCursor ) - * QCursor():configure( pPtr_OR_oObj_of_type_QCursor ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt index 8717e23b63..644dc15399 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDateTimeEdit( ... ) * QDateTimeEdit():from( pPtr_OR_oObj_of_type_QDateTimeEdit ) - * QDateTimeEdit():configure( pPtr_OR_oObj_of_type_QDateTimeEdit ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -90,6 +90,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDateTimeEdit.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractSpinBox + * QAbstractSpinBox() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt new file mode 100644 index 0000000000..1b2c8bc700 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt @@ -0,0 +1,56 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QDesktopServices() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qdesktopservices.html + * $ONELINER$ + * Creates a new QDesktopServices object. + * $INHERITS$ + * + * $SYNTAX$ + * QDesktopServices( ... ) + * QDesktopServices():from( pPtr_OR_oObj_of_type_QDesktopServices ) + * + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QDesktopServices + * $METHODS$ + * :displayName( nType ) -> cQString + * :openUrl( pUrl ) -> lBool + * :setUrlHandler( cScheme, pReceiver, pMethod ) -> NIL + * :storageLocation( nType ) -> cQString + * :unsetUrlHandler( cScheme ) -> NIL + * + * $DESCRIPTION$ + * + * $EXAMPLES$ + * + * $TESTS$ + * + * $STATUS$ + * R + * $COMPLIANCE$ + * Not Clipper compatible + * $PLATFORMS$ + * Windows, Linux, Mac OS X, OS/2 + * $VERSION$ + * 4.5 or upper + * $FILES$ + * Harbour source: contrib/hbqt/qtgui/TQDesktopServices.prg + * C++ wrappers : contrib/hbqt/qtgui/QDesktopServices.cpp + * Library : hbqtgui + * $SEEALSO$ + * + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt index 762ed6b805..c48aa35059 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDesktopWidget( ... ) * QDesktopWidget():from( pPtr_OR_oObj_of_type_QDesktopWidget ) - * QDesktopWidget():configure( pPtr_OR_oObj_of_type_QDesktopWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -58,6 +58,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDesktopWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt index 25e6c30e5c..f381a493c0 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDial( ... ) * QDial():from( pPtr_OR_oObj_of_type_QDial ) - * QDial():configure( pPtr_OR_oObj_of_type_QDial ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDial.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractSlider + * QAbstractSlider() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt index eb8db0557a..fe7bd483bd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDialog( ... ) * QDialog():from( pPtr_OR_oObj_of_type_QDialog ) - * QDialog():configure( pPtr_OR_oObj_of_type_QDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt index 2a266bd3e7..1d77d680fc 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDirModel( ... ) * QDirModel():from( pPtr_OR_oObj_of_type_QDirModel ) - * QDirModel():configure( pPtr_OR_oObj_of_type_QDirModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -83,6 +83,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDirModel.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemModel + * QAbstractItemModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt index 0aa371d6a6..cf6f364571 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDockWidget( ... ) * QDockWidget():from( pPtr_OR_oObj_of_type_QDockWidget ) - * QDockWidget():configure( pPtr_OR_oObj_of_type_QDockWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -58,6 +58,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDockWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt index 73a6924d4b..1e09eded5f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDoubleSpinBox( ... ) * QDoubleSpinBox():from( pPtr_OR_oObj_of_type_QDoubleSpinBox ) - * QDoubleSpinBox():configure( pPtr_OR_oObj_of_type_QDoubleSpinBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -64,6 +64,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDoubleSpinBox.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractSpinBox + * QAbstractSpinBox() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt index 26af19e4c9..cd16abca3b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDoubleValidator( ... ) * QDoubleValidator():from( pPtr_OR_oObj_of_type_QDoubleValidator ) - * QDoubleValidator():configure( pPtr_OR_oObj_of_type_QDoubleValidator ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDoubleValidator.cpp * Library : hbqtgui * $SEEALSO$ - * QValidator + * QValidator() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt index 9ca4148a49..483fa5fef2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDrag( ... ) * QDrag():from( pPtr_OR_oObj_of_type_QDrag ) - * QDrag():configure( pPtr_OR_oObj_of_type_QDrag ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -57,6 +57,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDrag.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt index b07604a18e..229527c1e3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDragMoveEvent( ... ) * QDragMoveEvent():from( pPtr_OR_oObj_of_type_QDragMoveEvent ) - * QDragMoveEvent():configure( pPtr_OR_oObj_of_type_QDragMoveEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDragMoveEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QDropEvent + * QDropEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt index 4a3480574b..3c2bac7e8b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QDropEvent( ... ) * QDropEvent():from( pPtr_OR_oObj_of_type_QDropEvent ) - * QDropEvent():configure( pPtr_OR_oObj_of_type_QDropEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QDropEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt index f5ac206aa9..26f430be52 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QErrorMessage( ... ) * QErrorMessage():from( pPtr_OR_oObj_of_type_QErrorMessage ) - * QErrorMessage():configure( pPtr_OR_oObj_of_type_QErrorMessage ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QErrorMessage.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt index 243c0e0c2e..f6589bdce2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFileDialog( ... ) * QFileDialog():from( pPtr_OR_oObj_of_type_QFileDialog ) - * QFileDialog():configure( pPtr_OR_oObj_of_type_QFileDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -92,6 +92,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFileDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt index 60afade2ea..c3aad0111b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFileIconProvider( ... ) * QFileIconProvider():from( pPtr_OR_oObj_of_type_QFileIconProvider ) - * QFileIconProvider():configure( pPtr_OR_oObj_of_type_QFileIconProvider ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt index 84c2da0b98..4708657a96 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFileSystemModel( ... ) * QFileSystemModel():from( pPtr_OR_oObj_of_type_QFileSystemModel ) - * QFileSystemModel():configure( pPtr_OR_oObj_of_type_QFileSystemModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFileSystemModel.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemModel + * QAbstractItemModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt index 0635cec657..ca71401281 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFocusEvent( ... ) * QFocusEvent():from( pPtr_OR_oObj_of_type_QFocusEvent ) - * QFocusEvent():configure( pPtr_OR_oObj_of_type_QFocusEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFocusEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt index 672daf828f..2fd2eb7dc2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFocusFrame( ... ) * QFocusFrame():from( pPtr_OR_oObj_of_type_QFocusFrame ) - * QFocusFrame():configure( pPtr_OR_oObj_of_type_QFocusFrame ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFocusFrame.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt index 267ca96e8d..c5f43d7e85 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFont( ... ) * QFont():from( pPtr_OR_oObj_of_type_QFont ) - * QFont():configure( pPtr_OR_oObj_of_type_QFont ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt index 084d05f58f..c90c480289 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFontComboBox( ... ) * QFontComboBox():from( pPtr_OR_oObj_of_type_QFontComboBox ) - * QFontComboBox():configure( pPtr_OR_oObj_of_type_QFontComboBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFontComboBox.cpp * Library : hbqtgui * $SEEALSO$ - * QComboBox + * QComboBox() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt index 6897908c66..0be2e7ea53 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFontDatabase( ... ) * QFontDatabase():from( pPtr_OR_oObj_of_type_QFontDatabase ) - * QFontDatabase():configure( pPtr_OR_oObj_of_type_QFontDatabase ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt index 2844191a99..6a4889db6b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFontDialog( ... ) * QFontDialog():from( pPtr_OR_oObj_of_type_QFontDialog ) - * QFontDialog():configure( pPtr_OR_oObj_of_type_QFontDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -58,6 +58,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFontDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt index af3a7be27d..38a6da9f5a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFontInfo( ... ) * QFontInfo():from( pPtr_OR_oObj_of_type_QFontInfo ) - * QFontInfo():configure( pPtr_OR_oObj_of_type_QFontInfo ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt index 13899fa6a6..1d585b708b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFontMetrics( ... ) * QFontMetrics():from( pPtr_OR_oObj_of_type_QFontMetrics ) - * QFontMetrics():configure( pPtr_OR_oObj_of_type_QFontMetrics ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt index 5ed678d1e8..5152688a75 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFontMetricsF( ... ) * QFontMetricsF():from( pPtr_OR_oObj_of_type_QFontMetricsF ) - * QFontMetricsF():configure( pPtr_OR_oObj_of_type_QFontMetricsF ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt index 7fc4b56806..40e58b40aa 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFormLayout( ... ) * QFormLayout():from( pPtr_OR_oObj_of_type_QFormLayout ) - * QFormLayout():configure( pPtr_OR_oObj_of_type_QFormLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -79,6 +79,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFormLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QLayout + * QLayout() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt index 78d218ecc6..970daaeba7 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFrame( ... ) * QFrame():from( pPtr_OR_oObj_of_type_QFrame ) - * QFrame():configure( pPtr_OR_oObj_of_type_QFrame ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -59,6 +59,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QFrame.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt index 9068400716..8ad819191f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGradient( ... ) * QGradient():from( pPtr_OR_oObj_of_type_QGradient ) - * QGradient():configure( pPtr_OR_oObj_of_type_QGradient ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt index cd5bcd0981..303c53dc7b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsEllipseItem( ... ) * QGraphicsEllipseItem():from( pPtr_OR_oObj_of_type_QGraphicsEllipseItem ) - * QGraphicsEllipseItem():configure( pPtr_OR_oObj_of_type_QGraphicsEllipseItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsEllipseItem.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractGraphicsShapeItem + * QAbstractGraphicsShapeItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt index 98ef991a65..444db81bef 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsGridLayout( ... ) * QGraphicsGridLayout():from( pPtr_OR_oObj_of_type_QGraphicsGridLayout ) - * QGraphicsGridLayout():configure( pPtr_OR_oObj_of_type_QGraphicsGridLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -88,6 +88,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsGridLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsLayout + * QGraphicsLayout() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt index 9be686c29f..575d687064 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsItem( ... ) * QGraphicsItem():from( pPtr_OR_oObj_of_type_QGraphicsItem ) - * QGraphicsItem():configure( pPtr_OR_oObj_of_type_QGraphicsItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt index 81e6470d8b..e206cb88a2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsItemAnimation( ... ) * QGraphicsItemAnimation():from( pPtr_OR_oObj_of_type_QGraphicsItemAnimation ) - * QGraphicsItemAnimation():configure( pPtr_OR_oObj_of_type_QGraphicsItemAnimation ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -66,6 +66,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsItemAnimation.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt index 62810b05cd..f67634280b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsItemGroup( ... ) * QGraphicsItemGroup():from( pPtr_OR_oObj_of_type_QGraphicsItemGroup ) - * QGraphicsItemGroup():configure( pPtr_OR_oObj_of_type_QGraphicsItemGroup ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsItemGroup.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsItem + * QGraphicsItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt index c45e47c7c1..e7f086ffb8 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsLayout( ... ) * QGraphicsLayout():from( pPtr_OR_oObj_of_type_QGraphicsLayout ) - * QGraphicsLayout():configure( pPtr_OR_oObj_of_type_QGraphicsLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -54,6 +54,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsLayoutItem + * QGraphicsLayoutItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt index 325cd61cb0..ae77e94cfb 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsLayoutItem( ... ) * QGraphicsLayoutItem():from( pPtr_OR_oObj_of_type_QGraphicsLayoutItem ) - * QGraphicsLayoutItem():configure( pPtr_OR_oObj_of_type_QGraphicsLayoutItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt index b5748b2e8a..3a4de04030 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsLinearLayout( ... ) * QGraphicsLinearLayout():from( pPtr_OR_oObj_of_type_QGraphicsLinearLayout ) - * QGraphicsLinearLayout():configure( pPtr_OR_oObj_of_type_QGraphicsLinearLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -62,6 +62,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLinearLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsLayout + * QGraphicsLayout() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt index c891afda19..b83b164cdb 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsLineItem( ... ) * QGraphicsLineItem():from( pPtr_OR_oObj_of_type_QGraphicsLineItem ) - * QGraphicsLineItem():configure( pPtr_OR_oObj_of_type_QGraphicsLineItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLineItem.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsItem + * QGraphicsItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt index 461ceb2bb2..82e652cef2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsPathItem( ... ) * QGraphicsPathItem():from( pPtr_OR_oObj_of_type_QGraphicsPathItem ) - * QGraphicsPathItem():configure( pPtr_OR_oObj_of_type_QGraphicsPathItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsPathItem.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractGraphicsShapeItem + * QAbstractGraphicsShapeItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt index bf00d55b0d..e971d38c64 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsPixmapItem( ... ) * QGraphicsPixmapItem():from( pPtr_OR_oObj_of_type_QGraphicsPixmapItem ) - * QGraphicsPixmapItem():configure( pPtr_OR_oObj_of_type_QGraphicsPixmapItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsPixmapItem.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsItem + * QGraphicsItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt index fc9caaa429..7532307528 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsPolygonItem( ... ) * QGraphicsPolygonItem():from( pPtr_OR_oObj_of_type_QGraphicsPolygonItem ) - * QGraphicsPolygonItem():configure( pPtr_OR_oObj_of_type_QGraphicsPolygonItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsPolygonItem.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractGraphicsShapeItem + * QAbstractGraphicsShapeItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt index 3186bc92da..da6cb10b72 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsProxyWidget( ... ) * QGraphicsProxyWidget():from( pPtr_OR_oObj_of_type_QGraphicsProxyWidget ) - * QGraphicsProxyWidget():configure( pPtr_OR_oObj_of_type_QGraphicsProxyWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsProxyWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsWidget + * QGraphicsWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt index 2e19f29170..f747d8e27e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsRectItem( ... ) * QGraphicsRectItem():from( pPtr_OR_oObj_of_type_QGraphicsRectItem ) - * QGraphicsRectItem():configure( pPtr_OR_oObj_of_type_QGraphicsRectItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsRectItem.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractGraphicsShapeItem + * QAbstractGraphicsShapeItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt index 18719b6932..7fed352d2a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsScene( ... ) * QGraphicsScene():from( pPtr_OR_oObj_of_type_QGraphicsScene ) - * QGraphicsScene():configure( pPtr_OR_oObj_of_type_QGraphicsScene ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -115,6 +115,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsScene.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt index 093decf1e7..2609777f88 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneContextMenuEvent( ... ) * QGraphicsSceneContextMenuEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneContextMenuEvent ) - * QGraphicsSceneContextMenuEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneContextMenuEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneContextMenuEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt index 2096fd4b83..1126fda274 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneDragDropEvent( ... ) * QGraphicsSceneDragDropEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneDragDropEvent ) - * QGraphicsSceneDragDropEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneDragDropEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -58,6 +58,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneDragDropEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt index ec674be2ba..dc9db54d60 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneEvent( ... ) * QGraphicsSceneEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneEvent ) - * QGraphicsSceneEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt index f12a7cb27d..e2046a531f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneHelpEvent( ... ) * QGraphicsSceneHelpEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneHelpEvent ) - * QGraphicsSceneHelpEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneHelpEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneHelpEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt index 5d33eb938f..433ac8b7cb 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneHoverEvent( ... ) * QGraphicsSceneHoverEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneHoverEvent ) - * QGraphicsSceneHoverEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneHoverEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneHoverEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt index 5ac374c9a6..6bc435e74e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneMouseEvent( ... ) * QGraphicsSceneMouseEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneMouseEvent ) - * QGraphicsSceneMouseEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneMouseEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -58,6 +58,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneMouseEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt index 8fb65cabb6..7d981b5fa8 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneMoveEvent( ... ) * QGraphicsSceneMoveEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneMoveEvent ) - * QGraphicsSceneMoveEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneMoveEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneMoveEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt index 9885491b48..e06ada3bfd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneResizeEvent( ... ) * QGraphicsSceneResizeEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneResizeEvent ) - * QGraphicsSceneResizeEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneResizeEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneResizeEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt index 7218ce5840..95b7ac3cfc 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSceneWheelEvent( ... ) * QGraphicsSceneWheelEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneWheelEvent ) - * QGraphicsSceneWheelEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneWheelEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneWheelEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QGraphicsSceneEvent + * QGraphicsSceneEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt index b43cefcc69..a9e8f2e2d0 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsSimpleTextItem( ... ) * QGraphicsSimpleTextItem():from( pPtr_OR_oObj_of_type_QGraphicsSimpleTextItem ) - * QGraphicsSimpleTextItem():configure( pPtr_OR_oObj_of_type_QGraphicsSimpleTextItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSimpleTextItem.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractGraphicsShapeItem + * QAbstractGraphicsShapeItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt index 7535a1b78d..a9eded771e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsTextItem( ... ) * QGraphicsTextItem():from( pPtr_OR_oObj_of_type_QGraphicsTextItem ) - * QGraphicsTextItem():configure( pPtr_OR_oObj_of_type_QGraphicsTextItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -67,6 +67,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsTextItem.cpp * Library : hbqtgui * $SEEALSO$ - * QObject, QGraphicsItem + * QObject, QGraphicsItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt index 7ab3f37bc4..2641cf8c86 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsView( ... ) * QGraphicsView():from( pPtr_OR_oObj_of_type_QGraphicsView ) - * QGraphicsView():configure( pPtr_OR_oObj_of_type_QGraphicsView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -122,6 +122,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsView.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractScrollArea + * QAbstractScrollArea() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt index eda9b86c57..68bbc15e4f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGraphicsWidget( ... ) * QGraphicsWidget():from( pPtr_OR_oObj_of_type_QGraphicsWidget ) - * QGraphicsWidget():configure( pPtr_OR_oObj_of_type_QGraphicsWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -91,6 +91,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGraphicsWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QObject, QGraphicsItem, QGraphicsLayoutItem + * QObject, QGraphicsItem, QGraphicsLayoutItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt index 8865f48937..4ea0e9d84b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGridLayout( ... ) * QGridLayout():from( pPtr_OR_oObj_of_type_QGridLayout ) - * QGridLayout():configure( pPtr_OR_oObj_of_type_QGridLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGridLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QLayout + * QLayout() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt index dc7abe6921..f80c3328eb 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QGroupBox( ... ) * QGroupBox():from( pPtr_OR_oObj_of_type_QGroupBox ) - * QGroupBox():configure( pPtr_OR_oObj_of_type_QGroupBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QGroupBox.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt index 2ddc477321..138bec46e9 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QHeaderView( ... ) * QHeaderView():from( pPtr_OR_oObj_of_type_QHeaderView ) - * QHeaderView():configure( pPtr_OR_oObj_of_type_QHeaderView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -103,6 +103,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QHeaderView.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemView + * QAbstractItemView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt index bfa08b7695..96d72a0427 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QHelpEvent( ... ) * QHelpEvent():from( pPtr_OR_oObj_of_type_QHelpEvent ) - * QHelpEvent():configure( pPtr_OR_oObj_of_type_QHelpEvent ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt index 9e94f242eb..b15922df7c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QIcon( ... ) * QIcon():from( pPtr_OR_oObj_of_type_QIcon ) - * QIcon():configure( pPtr_OR_oObj_of_type_QIcon ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt index bb490258c8..dfc9c2f745 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QImage( ... ) * QImage():from( pPtr_OR_oObj_of_type_QImage ) - * QImage():configure( pPtr_OR_oObj_of_type_QImage ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt index cb8cd9adb3..c7502e509c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QImageReader( ... ) * QImageReader():from( pPtr_OR_oObj_of_type_QImageReader ) - * QImageReader():configure( pPtr_OR_oObj_of_type_QImageReader ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt index e8fb8f3d4a..358465d8b3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QImageWriter( ... ) * QImageWriter():from( pPtr_OR_oObj_of_type_QImageWriter ) - * QImageWriter():configure( pPtr_OR_oObj_of_type_QImageWriter ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt index 7d12dfc32e..439d1520de 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QInputDialog( ... ) * QInputDialog():from( pPtr_OR_oObj_of_type_QInputDialog ) - * QInputDialog():configure( pPtr_OR_oObj_of_type_QInputDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -90,6 +90,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QInputDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt index e2485c979e..fd53b63aa4 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QInputEvent( ... ) * QInputEvent():from( pPtr_OR_oObj_of_type_QInputEvent ) - * QInputEvent():configure( pPtr_OR_oObj_of_type_QInputEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QInputEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt index 4610e0c63c..8e2146322a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QInputMethodEvent( ... ) * QInputMethodEvent():from( pPtr_OR_oObj_of_type_QInputMethodEvent ) - * QInputMethodEvent():configure( pPtr_OR_oObj_of_type_QInputMethodEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QInputMethodEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt index 7be1ae30b4..68b8d96130 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QIntValidator( ... ) * QIntValidator():from( pPtr_OR_oObj_of_type_QIntValidator ) - * QIntValidator():configure( pPtr_OR_oObj_of_type_QIntValidator ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QIntValidator.cpp * Library : hbqtgui * $SEEALSO$ - * QValidator + * QValidator() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt index dd9cb98d4f..928ea4002b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QItemDelegate( ... ) * QItemDelegate():from( pPtr_OR_oObj_of_type_QItemDelegate ) - * QItemDelegate():configure( pPtr_OR_oObj_of_type_QItemDelegate ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QItemDelegate.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemDelegate + * QAbstractItemDelegate() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt index e91480ee19..bd1d44b7b0 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QItemEditorCreatorBase( ... ) * QItemEditorCreatorBase():from( pPtr_OR_oObj_of_type_QItemEditorCreatorBase ) - * QItemEditorCreatorBase():configure( pPtr_OR_oObj_of_type_QItemEditorCreatorBase ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt index 8eb3ac5fb0..0be6f77503 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QItemEditorFactory( ... ) * QItemEditorFactory():from( pPtr_OR_oObj_of_type_QItemEditorFactory ) - * QItemEditorFactory():configure( pPtr_OR_oObj_of_type_QItemEditorFactory ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt index b2e6e5096f..0d8aac070d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QItemSelection( ... ) * QItemSelection():from( pPtr_OR_oObj_of_type_QItemSelection ) - * QItemSelection():configure( pPtr_OR_oObj_of_type_QItemSelection ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QItemSelection.cpp * Library : hbqtgui * $SEEALSO$ - * QList + * QList() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt index e925d5e828..f9c674bd56 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QItemSelectionModel( ... ) * QItemSelectionModel():from( pPtr_OR_oObj_of_type_QItemSelectionModel ) - * QItemSelectionModel():configure( pPtr_OR_oObj_of_type_QItemSelectionModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -61,6 +61,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QItemSelectionModel.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt index e4080912a2..aed674a9e0 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QKeyEvent( ... ) * QKeyEvent():from( pPtr_OR_oObj_of_type_QKeyEvent ) - * QKeyEvent():configure( pPtr_OR_oObj_of_type_QKeyEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QKeyEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QInputEvent + * QInputEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt index a2199e2916..08fb80313c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QKeySequence( ... ) * QKeySequence():from( pPtr_OR_oObj_of_type_QKeySequence ) - * QKeySequence():configure( pPtr_OR_oObj_of_type_QKeySequence ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt index d589d28984..bc67e0ee5d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLabel( ... ) * QLabel():from( pPtr_OR_oObj_of_type_QLabel ) - * QLabel():configure( pPtr_OR_oObj_of_type_QLabel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QLabel.cpp * Library : hbqtgui * $SEEALSO$ - * QFrame + * QFrame() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt index 8493fff3f1..673920f123 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLayout( ... ) * QLayout():from( pPtr_OR_oObj_of_type_QLayout ) - * QLayout():configure( pPtr_OR_oObj_of_type_QLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QObject, QLayoutItem + * QObject, QLayoutItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt index bd3acf88d7..6176567fbd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLayoutItem( ... ) * QLayoutItem():from( pPtr_OR_oObj_of_type_QLayoutItem ) - * QLayoutItem():configure( pPtr_OR_oObj_of_type_QLayoutItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt index a8b0277a4a..7a58cfe48f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLCDNumber( ... ) * QLCDNumber():from( pPtr_OR_oObj_of_type_QLCDNumber ) - * QLCDNumber():configure( pPtr_OR_oObj_of_type_QLCDNumber ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -65,6 +65,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QLCDNumber.cpp * Library : hbqtgui * $SEEALSO$ - * QFrame + * QFrame() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt index 4d66b3ba71..116066512c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLinearGradient( ... ) * QLinearGradient():from( pPtr_OR_oObj_of_type_QLinearGradient ) - * QLinearGradient():configure( pPtr_OR_oObj_of_type_QLinearGradient ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QLinearGradient.cpp * Library : hbqtgui * $SEEALSO$ - * QGradient + * QGradient() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt index c36bf88f4a..9c031dff6d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QLineEdit( ... ) * QLineEdit():from( pPtr_OR_oObj_of_type_QLineEdit ) - * QLineEdit():configure( pPtr_OR_oObj_of_type_QLineEdit ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -101,6 +101,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QLineEdit.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt index d43031148a..f112396324 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QListView( ... ) * QListView():from( pPtr_OR_oObj_of_type_QListView ) - * QListView():configure( pPtr_OR_oObj_of_type_QListView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QListView.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemView + * QAbstractItemView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt index 965d2b0908..9fe7aebe1c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QListWidget( ... ) * QListWidget():from( pPtr_OR_oObj_of_type_QListWidget ) - * QListWidget():configure( pPtr_OR_oObj_of_type_QListWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -78,6 +78,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QListWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QListView + * QListView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt index 7979e27360..ad6bcbd491 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QListWidgetItem( ... ) * QListWidgetItem():from( pPtr_OR_oObj_of_type_QListWidgetItem ) - * QListWidgetItem():configure( pPtr_OR_oObj_of_type_QListWidgetItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -80,6 +80,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QListWidgetItem.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt index f9f90402be..9938b0a941 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMainWindow( ... ) * QMainWindow():from( pPtr_OR_oObj_of_type_QMainWindow ) - * QMainWindow():configure( pPtr_OR_oObj_of_type_QMainWindow ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -95,6 +95,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMainWindow.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt index 5780f855d5..b82905647c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMatrix( ... ) * QMatrix():from( pPtr_OR_oObj_of_type_QMatrix ) - * QMatrix():configure( pPtr_OR_oObj_of_type_QMatrix ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt index 24069b0d2d..898455da7d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMdiArea( ... ) * QMdiArea():from( pPtr_OR_oObj_of_type_QMdiArea ) - * QMdiArea():configure( pPtr_OR_oObj_of_type_QMdiArea ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMdiArea.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractScrollArea + * QAbstractScrollArea() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt index 492f61aeba..51588d1c71 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMdiSubWindow( ... ) * QMdiSubWindow():from( pPtr_OR_oObj_of_type_QMdiSubWindow ) - * QMdiSubWindow():configure( pPtr_OR_oObj_of_type_QMdiSubWindow ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMdiSubWindow.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt index c4ce4098ae..7a29509a99 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMenu( ... ) * QMenu():from( pPtr_OR_oObj_of_type_QMenu ) - * QMenu():configure( pPtr_OR_oObj_of_type_QMenu ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -77,6 +77,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMenu.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt index aef8a809bf..35d635d1f2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMenuBar( ... ) * QMenuBar():from( pPtr_OR_oObj_of_type_QMenuBar ) - * QMenuBar():configure( pPtr_OR_oObj_of_type_QMenuBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMenuBar.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt index f6f1398809..39e530f153 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMessageBox( ... ) * QMessageBox():from( pPtr_OR_oObj_of_type_QMessageBox ) - * QMessageBox():configure( pPtr_OR_oObj_of_type_QMessageBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -85,6 +85,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMessageBox.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt index 4d7ca8b501..0f81cdd856 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMouseEvent( ... ) * QMouseEvent():from( pPtr_OR_oObj_of_type_QMouseEvent ) - * QMouseEvent():configure( pPtr_OR_oObj_of_type_QMouseEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMouseEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QInputEvent + * QInputEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt index a8b8872b55..0130525420 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMoveEvent( ... ) * QMoveEvent():from( pPtr_OR_oObj_of_type_QMoveEvent ) - * QMoveEvent():configure( pPtr_OR_oObj_of_type_QMoveEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMoveEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt index 51b020d8b0..c1343a5817 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QMovie( ... ) * QMovie():from( pPtr_OR_oObj_of_type_QMovie ) - * QMovie():configure( pPtr_OR_oObj_of_type_QMovie ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -74,6 +74,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QMovie.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt index 5a1eac6017..9624bf0701 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPageSetupDialog( ... ) * QPageSetupDialog():from( pPtr_OR_oObj_of_type_QPageSetupDialog ) - * QPageSetupDialog():configure( pPtr_OR_oObj_of_type_QPageSetupDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -54,6 +54,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPageSetupDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt index fcb3ffb2ec..3aacd52d3b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPaintDevice( ... ) * QPaintDevice():from( pPtr_OR_oObj_of_type_QPaintDevice ) - * QPaintDevice():configure( pPtr_OR_oObj_of_type_QPaintDevice ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt index c4903820bc..fa59aafb03 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPaintEngine( ... ) * QPaintEngine():from( pPtr_OR_oObj_of_type_QPaintEngine ) - * QPaintEngine():configure( pPtr_OR_oObj_of_type_QPaintEngine ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt index b0320be271..16e7ec5b27 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPainter( ... ) * QPainter():from( pPtr_OR_oObj_of_type_QPainter ) - * QPainter():configure( pPtr_OR_oObj_of_type_QPainter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -29,7 +29,10 @@ * :background() -> pQBrush * :backgroundMode() -> nQt::BGMode * :begin( pDevice ) -> lBool - * :boundingRect( ... ) -> NIL + * :boundingRect( pRectangle, nFlags, cText ) -> pQRectF + * :boundingRect_1( pRectangle, nFlags, cText ) -> pQRect + * :boundingRect_2( nX, nY, nW, nH, nFlags, cText ) -> pQRect + * :boundingRect_3( pRectangle, cText, pOption ) -> pQRectF * :brush() -> pQBrush * :brushOrigin() -> pQPoint * :clipPath() -> Path @@ -40,30 +43,107 @@ * :device() -> pQPaintDevice * :deviceMatrix() -> pQMatrix * :deviceTransform() -> pQTransform - * :drawArc( ... ) -> NIL - * :drawChord( ... ) -> NIL - * :drawConvexPolygon( ... ) -> NIL - * :drawEllipse( ... ) -> NIL - * :drawImage( ... ) -> NIL - * :drawLine( ... ) -> NIL - * :drawLines( ... ) -> NIL + * :drawArc( pRectangle, nStartAngle, nSpanAngle ) -> NIL + * :drawArc_1( pRectangle, nStartAngle, nSpanAngle ) -> NIL + * :drawArc_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL + * :drawChord( pRectangle, nStartAngle, nSpanAngle ) -> NIL + * :drawChord_1( pRectangle, nStartAngle, nSpanAngle ) -> NIL + * :drawChord_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL + * :drawConvexPolygon( pPoints, nPointCount ) -> NIL + * :drawConvexPolygon_1( pPoints, nPointCount ) -> NIL + * :drawConvexPolygon_2( pPolygon ) -> NIL + * :drawConvexPolygon_3( pPolygon ) -> NIL + * :drawEllipse( pRectangle ) -> NIL + * :drawEllipse_1( pRectangle ) -> NIL + * :drawEllipse_2( nX, nY, nWidth, nHeight ) -> NIL + * :drawEllipse_3( pCenter, nRx, nRy ) -> NIL + * :drawEllipse_4( pCenter, nRx, nRy ) -> NIL + * :drawImage( pTarget, pImage, pSource, nFlags ) -> NIL + * :drawImage_1( pTarget, pImage, pSource, nFlags ) -> NIL + * :drawImage_2( pPoint, pImage ) -> NIL + * :drawImage_3( pPoint, pImage ) -> NIL + * :drawImage_4( pPoint, pImage, pSource, nFlags ) -> NIL + * :drawImage_5( pPoint, pImage, pSource, nFlags ) -> NIL + * :drawImage_6( pRectangle, pImage ) -> NIL + * :drawImage_7( pRectangle, pImage ) -> NIL + * :drawImage_8( nX, nY, pImage, nSx, nSy, nSw, nSh, nFlags ) -> NIL + * :drawLine( pLine ) -> NIL + * :drawLine_1( pLine ) -> NIL + * :drawLine_2( pP1, pP2 ) -> NIL + * :drawLine_3( pP1, pP2 ) -> NIL + * :drawLine_4( nX1, nY1, nX2, nY2 ) -> NIL + * :drawLines( pLines, nLineCount ) -> NIL + * :drawLines_1( pLines, nLineCount ) -> NIL + * :drawLines_2( pPointPairs, nLineCount ) -> NIL + * :drawLines_3( pPointPairs, nLineCount ) -> NIL * :drawPath( pPath ) -> NIL - * :drawPicture( ... ) -> NIL - * :drawPie( ... ) -> NIL - * :drawPixmap( ... ) -> NIL - * :drawPoint( ... ) -> NIL - * :drawPoints( ... ) -> NIL - * :drawPolygon( ... ) -> NIL - * :drawPolyline( ... ) -> NIL - * :drawRect( ... ) -> NIL - * :drawRects( ... ) -> NIL - * :drawRoundedRect( ... ) -> NIL - * :drawText( ... ) -> NIL - * :drawTiledPixmap( ... ) -> NIL + * :drawPicture( pPoint, pPicture ) -> NIL + * :drawPicture_1( pPoint, pPicture ) -> NIL + * :drawPicture_2( nX, nY, pPicture ) -> NIL + * :drawPie( pRectangle, nStartAngle, nSpanAngle ) -> NIL + * :drawPie_1( pRectangle, nStartAngle, nSpanAngle ) -> NIL + * :drawPie_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL + * :drawPixmap( pTarget, pPixmap, pSource ) -> NIL + * :drawPixmap_1( pTarget, pPixmap, pSource ) -> NIL + * :drawPixmap_2( pPoint, pPixmap, pSource ) -> NIL + * :drawPixmap_3( pPoint, pPixmap, pSource ) -> NIL + * :drawPixmap_4( pPoint, pPixmap ) -> NIL + * :drawPixmap_5( pPoint, pPixmap ) -> NIL + * :drawPixmap_6( nX, nY, pPixmap ) -> NIL + * :drawPixmap_7( pRectangle, pPixmap ) -> NIL + * :drawPixmap_8( nX, nY, nWidth, nHeight, pPixmap ) -> NIL + * :drawPixmap_9( nX, nY, nW, nH, pPixmap, nSx, nSy, nSw, nSh ) -> NIL + * :drawPixmap_10( nX, nY, pPixmap, nSx, nSy, nSw, nSh ) -> NIL + * :drawPoint( pPosition ) -> NIL + * :drawPoint_1( pPosition ) -> NIL + * :drawPoint_2( nX, nY ) -> NIL + * :drawPoints( pPoints, nPointCount ) -> NIL + * :drawPoints_1( pPoints, nPointCount ) -> NIL + * :drawPoints_2( pPoints ) -> NIL + * :drawPoints_3( pPoints ) -> NIL + * :drawPolygon( pPoints, nPointCount, nFillRule ) -> NIL + * :drawPolygon_1( pPoints, nPointCount, nFillRule ) -> NIL + * :drawPolygon_2( pPoints, nFillRule ) -> NIL + * :drawPolygon_3( pPoints, nFillRule ) -> NIL + * :drawPolyline( pPoints, nPointCount ) -> NIL + * :drawPolyline_1( pPoints, nPointCount ) -> NIL + * :drawPolyline_2( pPoints ) -> NIL + * :drawPolyline_3( pPoints ) -> NIL + * :drawRect( pRectangle ) -> NIL + * :drawRect_1( pRectangle ) -> NIL + * :drawRect_2( nX, nY, nWidth, nHeight ) -> NIL + * :drawRects( pRectangles, nRectCount ) -> NIL + * :drawRects_1( pRectangles, nRectCount ) -> NIL + * :drawRoundedRect( pRect, nXRadius, nYRadius, nMode ) -> NIL + * :drawRoundedRect_1( pRect, nXRadius, nYRadius, nMode ) -> NIL + * :drawRoundedRect_2( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) -> NIL + * :drawText( pPosition, cText ) -> NIL + * :drawText_1( pPosition, cText ) -> NIL + * :drawText_2( pRectangle, nFlags, cText, pBoundingRect ) -> NIL + * :drawText_3( pRectangle, nFlags, cText, pBoundingRect ) -> NIL + * :drawText_4( nX, nY, cText ) -> NIL + * :drawText_5( nX, nY, nWidth, nHeight, nFlags, cText, pBoundingRect ) -> NIL + * :drawText_6( pRectangle, cText, pOption ) -> NIL + * :drawTiledPixmap( pRectangle, pPixmap, pPosition ) -> NIL + * :drawTiledPixmap_1( pRectangle, pPixmap, pPosition ) -> NIL + * :drawTiledPixmap_2( nX, nY, nWidth, nHeight, pPixmap, nSx, nSy ) -> NIL * :end() -> lBool - * :eraseRect( ... ) -> NIL + * :eraseRect( pRectangle ) -> NIL + * :eraseRect_1( pRectangle ) -> NIL + * :eraseRect_2( nX, nY, nWidth, nHeight ) -> NIL * :fillPath( pPath, pBrush ) -> NIL - * :fillRect( ... ) -> NIL + * :fillRect( pRectangle, pBrush ) -> NIL + * :fillRect_1( pRectangle, pColor ) -> NIL + * :fillRect_2( pRectangle, nColor ) -> NIL + * :fillRect_3( pRectangle, pBrush ) -> NIL + * :fillRect_4( pRectangle, pColor ) -> NIL + * :fillRect_5( pRectangle, nColor ) -> NIL + * :fillRect_6( nX, nY, nWidth, nHeight, pBrush ) -> NIL + * :fillRect_7( nX, nY, nWidth, nHeight, pColor ) -> NIL + * :fillRect_8( nX, nY, nWidth, nHeight, nColor ) -> NIL + * :fillRect_9( pRectangle, nStyle ) -> NIL + * :fillRect_10( pRectangle, nStyle ) -> NIL + * :fillRect_11( nX, nY, nWidth, nHeight, nStyle ) -> NIL * :font() -> pQFont * :fontInfo() -> pQFontInfo * :fontMetrics() -> pQFontMetrics @@ -85,16 +165,22 @@ * :setBackgroundMode( nMode ) -> NIL * :setBrush( pBrush ) -> NIL * :setBrush_1( nStyle ) -> NIL - * :setBrushOrigin( ... ) -> NIL + * :setBrushOrigin( pPosition ) -> NIL + * :setBrushOrigin_1( pPosition ) -> NIL + * :setBrushOrigin_2( nX, nY ) -> NIL * :setClipPath( pPath, nOperation ) -> NIL - * :setClipRect( ... ) -> NIL + * :setClipRect( pRectangle, nOperation ) -> NIL + * :setClipRect_1( nX, nY, nWidth, nHeight, nOperation ) -> NIL + * :setClipRect_2( pRectangle, nOperation ) -> NIL * :setClipRegion( pRegion, nOperation ) -> NIL * :setClipping( lEnable ) -> NIL * :setCompositionMode( nMode ) -> NIL * :setFont( pFont ) -> NIL * :setLayoutDirection( nDirection ) -> NIL * :setOpacity( nOpacity ) -> NIL - * :setPen( ... ) -> NIL + * :setPen( pPen ) -> NIL + * :setPen_1( pColor ) -> NIL + * :setPen_2( nStyle ) -> NIL * :setRenderHint( nHint, lOn ) -> NIL * :setRenderHints( nHints, lOn ) -> NIL * :setTransform( pTransform, lCombine ) -> NIL @@ -110,7 +196,9 @@ * :strokePath( pPath, pPen ) -> NIL * :testRenderHint( nHint ) -> lBool * :transform() -> pQTransform - * :translate( ... ) -> NIL + * :translate( pOffset ) -> NIL + * :translate_1( pOffset ) -> NIL + * :translate_2( nDx, nDy ) -> NIL * :viewTransformEnabled() -> lBool * :viewport() -> pQRect * :window() -> pQRect diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt index a524d9d575..029a19cb75 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPainterPath( ... ) * QPainterPath():from( pPtr_OR_oObj_of_type_QPainterPath ) - * QPainterPath():configure( pPtr_OR_oObj_of_type_QPainterPath ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -46,14 +46,17 @@ * :boundingRect() -> pQRectF * :closeSubpath() -> NIL * :connectPath( pPath ) -> NIL - * :contains( ... ) -> NIL + * :contains( pPoint ) -> lBool + * :contains_1( pRectangle ) -> lBool + * :contains_2( pP ) -> lBool * :controlPointRect() -> pQRectF * :cubicTo( pC1, pC2, pEndPoint ) -> NIL * :cubicTo_1( nC1X, nC1Y, nC2X, nC2Y, nEndPointX, nEndPointY ) -> NIL * :currentPosition() -> pQPointF * :elementCount() -> nInt * :fillRule() -> nQt::FillRule - * :intersects( ... ) -> NIL + * :intersects( pRectangle ) -> lBool + * :intersects_1( pP ) -> lBool * :isEmpty() -> lBool * :length() -> nQreal * :lineTo( pEndPoint ) -> NIL diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt index c464794071..7d4792613c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPaintEvent( ... ) * QPaintEvent():from( pPtr_OR_oObj_of_type_QPaintEvent ) - * QPaintEvent():configure( pPtr_OR_oObj_of_type_QPaintEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPaintEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt index ab1d9402aa..2ede24d7b9 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPalette( ... ) * QPalette():from( pPtr_OR_oObj_of_type_QPalette ) - * QPalette():configure( pPtr_OR_oObj_of_type_QPalette ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt index 1389d2cd1b..30affcb206 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPen( ... ) * QPen():from( pPtr_OR_oObj_of_type_QPen ) - * QPen():configure( pPtr_OR_oObj_of_type_QPen ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt index a91adb65ed..df80366e01 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPicture( ... ) * QPicture():from( pPtr_OR_oObj_of_type_QPicture ) - * QPicture():configure( pPtr_OR_oObj_of_type_QPicture ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPicture.cpp * Library : hbqtgui * $SEEALSO$ - * QPaintDevice + * QPaintDevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt index 1834c1a7cb..bd84d1915b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPixmap( ... ) * QPixmap():from( pPtr_OR_oObj_of_type_QPixmap ) - * QPixmap():configure( pPtr_OR_oObj_of_type_QPixmap ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -78,6 +78,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPixmap.cpp * Library : hbqtgui * $SEEALSO$ - * QPaintDevice + * QPaintDevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt index 981e7ab400..7b9a4997a7 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPlainTextDocumentLayout( ... ) * QPlainTextDocumentLayout():from( pPtr_OR_oObj_of_type_QPlainTextDocumentLayout ) - * QPlainTextDocumentLayout():configure( pPtr_OR_oObj_of_type_QPlainTextDocumentLayout ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPlainTextDocumentLayout.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractTextDocumentLayout + * QAbstractTextDocumentLayout() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt index 42e40d98a6..1ff1e80c97 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPlainTextEdit( ... ) * QPlainTextEdit():from( pPtr_OR_oObj_of_type_QPlainTextEdit ) - * QPlainTextEdit():configure( pPtr_OR_oObj_of_type_QPlainTextEdit ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -103,6 +103,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPlainTextEdit.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractScrollArea + * QAbstractScrollArea() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt index 5c2c4735bf..094ace56c3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPolygon( ... ) * QPolygon():from( pPtr_OR_oObj_of_type_QPolygon ) - * QPolygon():configure( pPtr_OR_oObj_of_type_QPolygon ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt index c7dd457a8c..4864f48af2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPolygonF( ... ) * QPolygonF():from( pPtr_OR_oObj_of_type_QPolygonF ) - * QPolygonF():configure( pPtr_OR_oObj_of_type_QPolygonF ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt index a251593b56..c95409dc9f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPrintDialog( ... ) * QPrintDialog():from( pPtr_OR_oObj_of_type_QPrintDialog ) - * QPrintDialog():configure( pPtr_OR_oObj_of_type_QPrintDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -54,6 +54,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPrintDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractPrintDialog + * QAbstractPrintDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt index 85b435d8fb..1574b80410 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPrintEngine( ... ) * QPrintEngine():from( pPtr_OR_oObj_of_type_QPrintEngine ) - * QPrintEngine():configure( pPtr_OR_oObj_of_type_QPrintEngine ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt index 008e472c29..6beea4ae02 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPrinter( ... ) * QPrinter():from( pPtr_OR_oObj_of_type_QPrinter ) - * QPrinter():configure( pPtr_OR_oObj_of_type_QPrinter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -102,6 +102,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPrinter.cpp * Library : hbqtgui * $SEEALSO$ - * QPaintDevice + * QPaintDevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt index f36f7f1955..4d3287d51d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPrinterInfo( ... ) * QPrinterInfo():from( pPtr_OR_oObj_of_type_QPrinterInfo ) - * QPrinterInfo():configure( pPtr_OR_oObj_of_type_QPrinterInfo ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt index 2ce7f42671..9aeb50282e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPrintPreviewDialog( ... ) * QPrintPreviewDialog():from( pPtr_OR_oObj_of_type_QPrintPreviewDialog ) - * QPrintPreviewDialog():configure( pPtr_OR_oObj_of_type_QPrintPreviewDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt index 5696dfd386..d75e057213 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QProgressBar( ... ) * QProgressBar():from( pPtr_OR_oObj_of_type_QProgressBar ) - * QProgressBar():configure( pPtr_OR_oObj_of_type_QProgressBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -67,6 +67,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QProgressBar.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt index d4ff32a254..4c0a35087b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QProgressDialog( ... ) * QProgressDialog():from( pPtr_OR_oObj_of_type_QProgressDialog ) - * QProgressDialog():configure( pPtr_OR_oObj_of_type_QProgressDialog ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -70,6 +70,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QProgressDialog.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt index 5a51fbeca4..f948dec126 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QPushButton( ... ) * QPushButton():from( pPtr_OR_oObj_of_type_QPushButton ) - * QPushButton():configure( pPtr_OR_oObj_of_type_QPushButton ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QPushButton.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractButton + * QAbstractButton() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt index 463832ce60..fc496b601e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QRadialGradient( ... ) * QRadialGradient():from( pPtr_OR_oObj_of_type_QRadialGradient ) - * QRadialGradient():configure( pPtr_OR_oObj_of_type_QRadialGradient ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -59,6 +59,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QRadialGradient.cpp * Library : hbqtgui * $SEEALSO$ - * QGradient + * QGradient() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt index c906f30011..043d2d45a6 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QRegExpValidator( ... ) * QRegExpValidator():from( pPtr_OR_oObj_of_type_QRegExpValidator ) - * QRegExpValidator():configure( pPtr_OR_oObj_of_type_QRegExpValidator ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QRegExpValidator.cpp * Library : hbqtgui * $SEEALSO$ - * QValidator + * QValidator() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt index 02e0e6d9e6..c93f5cb2d4 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QRegion( ... ) * QRegion():from( pPtr_OR_oObj_of_type_QRegion ) - * QRegion():configure( pPtr_OR_oObj_of_type_QRegion ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt index cbbb5a6aac..111f5e78b9 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QResizeEvent( ... ) * QResizeEvent():from( pPtr_OR_oObj_of_type_QResizeEvent ) - * QResizeEvent():configure( pPtr_OR_oObj_of_type_QResizeEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QResizeEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt index 976a01bd0b..778d6a7101 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QScrollArea( ... ) * QScrollArea():from( pPtr_OR_oObj_of_type_QScrollArea ) - * QScrollArea():configure( pPtr_OR_oObj_of_type_QScrollArea ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QScrollArea.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractScrollArea + * QAbstractScrollArea() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt index b9d1a2f8b9..6f43d37305 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSessionManager( ... ) * QSessionManager():from( pPtr_OR_oObj_of_type_QSessionManager ) - * QSessionManager():configure( pPtr_OR_oObj_of_type_QSessionManager ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -62,6 +62,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSessionManager.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt index 78d634342a..ddcd446dc5 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSizePolicy( ... ) * QSizePolicy():from( pPtr_OR_oObj_of_type_QSizePolicy ) - * QSizePolicy():configure( pPtr_OR_oObj_of_type_QSizePolicy ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt index f9dded8595..2f3ae2cd85 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSlider( ... ) * QSlider():from( pPtr_OR_oObj_of_type_QSlider ) - * QSlider():configure( pPtr_OR_oObj_of_type_QSlider ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSlider.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractSlider + * QAbstractSlider() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt index cd8f1a657a..1190004b71 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSound( ... ) * QSound():from( pPtr_OR_oObj_of_type_QSound ) - * QSound():configure( pPtr_OR_oObj_of_type_QSound ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt index e689d7f89c..424d0292a1 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSpacerItem( ... ) * QSpacerItem():from( pPtr_OR_oObj_of_type_QSpacerItem ) - * QSpacerItem():configure( pPtr_OR_oObj_of_type_QSpacerItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSpacerItem.cpp * Library : hbqtgui * $SEEALSO$ - * QLayoutItem + * QLayoutItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt index abc9c3585e..833ac06437 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSpinBox( ... ) * QSpinBox():from( pPtr_OR_oObj_of_type_QSpinBox ) - * QSpinBox():configure( pPtr_OR_oObj_of_type_QSpinBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSpinBox.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractSpinBox + * QAbstractSpinBox() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt index 5eff382235..55727eeb72 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSplashScreen( ... ) * QSplashScreen():from( pPtr_OR_oObj_of_type_QSplashScreen ) - * QSplashScreen():configure( pPtr_OR_oObj_of_type_QSplashScreen ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSplashScreen.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt index 69698af9ef..7f06b9b393 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSplitter( ... ) * QSplitter():from( pPtr_OR_oObj_of_type_QSplitter ) - * QSplitter():configure( pPtr_OR_oObj_of_type_QSplitter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -67,6 +67,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSplitter.cpp * Library : hbqtgui * $SEEALSO$ - * QFrame + * QFrame() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt index d434a3b56a..033ab1c7e5 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStackedWidget( ... ) * QStackedWidget():from( pPtr_OR_oObj_of_type_QStackedWidget ) - * QStackedWidget():configure( pPtr_OR_oObj_of_type_QStackedWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStackedWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QFrame + * QFrame() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt index d72e37b1fd..a2ef21c0a6 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStandardItem( ... ) * QStandardItem():from( pPtr_OR_oObj_of_type_QStandardItem ) - * QStandardItem():configure( pPtr_OR_oObj_of_type_QStandardItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt index c6940304ae..3cd1db0a6c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStandardItemModel( ... ) * QStandardItemModel():from( pPtr_OR_oObj_of_type_QStandardItemModel ) - * QStandardItemModel():configure( pPtr_OR_oObj_of_type_QStandardItemModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -74,6 +74,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStandardItemModel.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemModeL + * QAbstractItemModeL() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt index 2501d1c23c..6b1df7e930 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStatusBar( ... ) * QStatusBar():from( pPtr_OR_oObj_of_type_QStatusBar ) - * QStatusBar():configure( pPtr_OR_oObj_of_type_QStatusBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStatusBar.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt index 7e43e46745..190b8c641e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStringListModel( ... ) * QStringListModel():from( pPtr_OR_oObj_of_type_QStringListModel ) - * QStringListModel():configure( pPtr_OR_oObj_of_type_QStringListModel ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -54,6 +54,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStringListModel.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractListModel + * QAbstractListModel() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt index 2b62f8bb2a..442047b177 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyle( ... ) * QStyle():from( pPtr_OR_oObj_of_type_QStyle ) - * QStyle():configure( pPtr_OR_oObj_of_type_QStyle ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyle.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt index 2cf241678a..286b214373 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyledItemDelegate( ... ) * QStyledItemDelegate():from( pPtr_OR_oObj_of_type_QStyledItemDelegate ) - * QStyledItemDelegate():configure( pPtr_OR_oObj_of_type_QStyledItemDelegate ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt index 88ccc2ffd3..bae659d8cb 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleFactory( ... ) * QStyleFactory():from( pPtr_OR_oObj_of_type_QStyleFactory ) - * QStyleFactory():configure( pPtr_OR_oObj_of_type_QStyleFactory ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt index 78edc8bc00..ab3e89604c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOption( ... ) * QStyleOption():from( pPtr_OR_oObj_of_type_QStyleOption ) - * QStyleOption():configure( pPtr_OR_oObj_of_type_QStyleOption ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt index 1dde2962b5..77df3aa41a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionButton( ... ) * QStyleOptionButton():from( pPtr_OR_oObj_of_type_QStyleOptionButton ) - * QStyleOptionButton():configure( pPtr_OR_oObj_of_type_QStyleOptionButton ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionButton.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt index a8e834d71b..8782791668 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionComboBox( ... ) * QStyleOptionComboBox():from( pPtr_OR_oObj_of_type_QStyleOptionComboBox ) - * QStyleOptionComboBox():configure( pPtr_OR_oObj_of_type_QStyleOptionComboBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt index 3d13b70f4c..cc5a06ec43 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionComplex( ... ) * QStyleOptionComplex():from( pPtr_OR_oObj_of_type_QStyleOptionComplex ) - * QStyleOptionComplex():configure( pPtr_OR_oObj_of_type_QStyleOptionComplex ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionComplex.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt index 79cb73d369..5b1b5bb67b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionDockWidget( ... ) * QStyleOptionDockWidget():from( pPtr_OR_oObj_of_type_QStyleOptionDockWidget ) - * QStyleOptionDockWidget():configure( pPtr_OR_oObj_of_type_QStyleOptionDockWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt index b94edd9a03..2ab6e89297 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionFocusRect( ... ) * QStyleOptionFocusRect():from( pPtr_OR_oObj_of_type_QStyleOptionFocusRect ) - * QStyleOptionFocusRect():configure( pPtr_OR_oObj_of_type_QStyleOptionFocusRect ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt index 33ecee5b7d..da6bde36cd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionFrame( ... ) * QStyleOptionFrame():from( pPtr_OR_oObj_of_type_QStyleOptionFrame ) - * QStyleOptionFrame():configure( pPtr_OR_oObj_of_type_QStyleOptionFrame ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionFrame.cpp * Library : hbqtgui * $SEEALSO$ - * qStyleOption + * qStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt index 5c7b252d81..7957fd85e0 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionGraphicsItem( ... ) * QStyleOptionGraphicsItem():from( pPtr_OR_oObj_of_type_QStyleOptionGraphicsItem ) - * QStyleOptionGraphicsItem():configure( pPtr_OR_oObj_of_type_QStyleOptionGraphicsItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionGraphicsItem.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt index 3de6e4f954..df76eee9fb 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionGroupBox( ... ) * QStyleOptionGroupBox():from( pPtr_OR_oObj_of_type_QStyleOptionGroupBox ) - * QStyleOptionGroupBox():configure( pPtr_OR_oObj_of_type_QStyleOptionGroupBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOptionComplex + * QStyleOptionComplex() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt index e926410172..1d878ee197 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionHeader( ... ) * QStyleOptionHeader():from( pPtr_OR_oObj_of_type_QStyleOptionHeader ) - * QStyleOptionHeader():configure( pPtr_OR_oObj_of_type_QStyleOptionHeader ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionHeader.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt index 974687137b..7d721a12a5 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionMenuItem( ... ) * QStyleOptionMenuItem():from( pPtr_OR_oObj_of_type_QStyleOptionMenuItem ) - * QStyleOptionMenuItem():configure( pPtr_OR_oObj_of_type_QStyleOptionMenuItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -56,6 +56,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt index f4cf1e59c1..b855a75f69 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionProgressBar( ... ) * QStyleOptionProgressBar():from( pPtr_OR_oObj_of_type_QStyleOptionProgressBar ) - * QStyleOptionProgressBar():configure( pPtr_OR_oObj_of_type_QStyleOptionProgressBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt index 1c847d4d18..46e4054e4f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionSizeGrip( ... ) * QStyleOptionSizeGrip():from( pPtr_OR_oObj_of_type_QStyleOptionSizeGrip ) - * QStyleOptionSizeGrip():configure( pPtr_OR_oObj_of_type_QStyleOptionSizeGrip ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOptionComplex + * QStyleOptionComplex() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt index a1b41258f1..b4acf91cf6 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionSlider( ... ) * QStyleOptionSlider():from( pPtr_OR_oObj_of_type_QStyleOptionSlider ) - * QStyleOptionSlider():configure( pPtr_OR_oObj_of_type_QStyleOptionSlider ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -58,6 +58,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionSlider.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOptionComplex + * QStyleOptionComplex() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt index a9f60646bf..54471afa25 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionSpinBox( ... ) * QStyleOptionSpinBox():from( pPtr_OR_oObj_of_type_QStyleOptionSpinBox ) - * QStyleOptionSpinBox():configure( pPtr_OR_oObj_of_type_QStyleOptionSpinBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOptionComplex + * QStyleOptionComplex() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt index c6d959f8d6..36b45a3af2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionTab( ... ) * QStyleOptionTab():from( pPtr_OR_oObj_of_type_QStyleOptionTab ) - * QStyleOptionTab():configure( pPtr_OR_oObj_of_type_QStyleOptionTab ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTab.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt index 14da149c3a..528b8669e3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionTabBarBase( ... ) * QStyleOptionTabBarBase():from( pPtr_OR_oObj_of_type_QStyleOptionTabBarBase ) - * QStyleOptionTabBarBase():configure( pPtr_OR_oObj_of_type_QStyleOptionTabBarBase ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt index 50e2244b6e..0ae43f87e3 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionTabWidgetFrame( ... ) * QStyleOptionTabWidgetFrame():from( pPtr_OR_oObj_of_type_QStyleOptionTabWidgetFrame ) - * QStyleOptionTabWidgetFrame():configure( pPtr_OR_oObj_of_type_QStyleOptionTabWidgetFrame ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt index 9960608b85..74b299999c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionTitleBar( ... ) * QStyleOptionTitleBar():from( pPtr_OR_oObj_of_type_QStyleOptionTitleBar ) - * QStyleOptionTitleBar():configure( pPtr_OR_oObj_of_type_QStyleOptionTitleBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOptionComplex + * QStyleOptionComplex() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt index e01b51b44c..daff8f3a60 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionToolBar( ... ) * QStyleOptionToolBar():from( pPtr_OR_oObj_of_type_QStyleOptionToolBar ) - * QStyleOptionToolBar():configure( pPtr_OR_oObj_of_type_QStyleOptionToolBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt index 061532e07a..5c0b33ec85 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionToolBox( ... ) * QStyleOptionToolBox():from( pPtr_OR_oObj_of_type_QStyleOptionToolBox ) - * QStyleOptionToolBox():configure( pPtr_OR_oObj_of_type_QStyleOptionToolBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt index 25b05a60f0..d4532c2cb7 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionToolButton( ... ) * QStyleOptionToolButton():from( pPtr_OR_oObj_of_type_QStyleOptionToolButton ) - * QStyleOptionToolButton():configure( pPtr_OR_oObj_of_type_QStyleOptionToolButton ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -54,6 +54,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOptionComplex + * QStyleOptionComplex() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt index ef1df47264..84f074d94b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStyleOptionViewItem( ... ) * QStyleOptionViewItem():from( pPtr_OR_oObj_of_type_QStyleOptionViewItem ) - * QStyleOptionViewItem():configure( pPtr_OR_oObj_of_type_QStyleOptionViewItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * Library : hbqtgui * $SEEALSO$ - * QStyleOption + * QStyleOption() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt index 9ad626edd3..9d60e6f70c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QStylePainter( ... ) * QStylePainter():from( pPtr_OR_oObj_of_type_QStylePainter ) - * QStylePainter():configure( pPtr_OR_oObj_of_type_QStylePainter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -54,6 +54,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QStylePainter.cpp * Library : hbqtgui * $SEEALSO$ - * QPainter + * QPainter() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt index 43944c532c..88c201df6a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSyntaxHighlighter( ... ) * QSyntaxHighlighter():from( pPtr_OR_oObj_of_type_QSyntaxHighlighter ) - * QSyntaxHighlighter():configure( pPtr_OR_oObj_of_type_QSyntaxHighlighter ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -52,6 +52,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt index 3bc2a89973..6d8ff8ddf1 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QSystemTrayIcon( ... ) * QSystemTrayIcon():from( pPtr_OR_oObj_of_type_QSystemTrayIcon ) - * QSystemTrayIcon():configure( pPtr_OR_oObj_of_type_QSystemTrayIcon ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QSystemTrayIcon.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt index 72bd9735c3..5e087c0f7b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTabBar( ... ) * QTabBar():from( pPtr_OR_oObj_of_type_QTabBar ) - * QTabBar():configure( pPtr_OR_oObj_of_type_QTabBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -90,6 +90,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTabBar.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt index e85b1f3def..9b8abf6df1 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTableView( ... ) * QTableView():from( pPtr_OR_oObj_of_type_QTableView ) - * QTableView():configure( pPtr_OR_oObj_of_type_QTableView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -88,6 +88,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTableView.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemView + * QAbstractItemView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt index 39bd7dd3e8..e21acc670e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTableWidget( ... ) * QTableWidget():from( pPtr_OR_oObj_of_type_QTableWidget ) - * QTableWidget():configure( pPtr_OR_oObj_of_type_QTableWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -95,6 +95,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTableWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QTableView + * QTableView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt index 1c0e816ec3..9b6e58e23f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTableWidgetItem( ... ) * QTableWidgetItem():from( pPtr_OR_oObj_of_type_QTableWidgetItem ) - * QTableWidgetItem():configure( pPtr_OR_oObj_of_type_QTableWidgetItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt index f0ce7e5206..f3c3e7919d 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTableWidgetSelectionRange( ... ) * QTableWidgetSelectionRange():from( pPtr_OR_oObj_of_type_QTableWidgetSelectionRange ) - * QTableWidgetSelectionRange():configure( pPtr_OR_oObj_of_type_QTableWidgetSelectionRange ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt index e70f538b59..a604cfd207 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTabWidget( ... ) * QTabWidget():from( pPtr_OR_oObj_of_type_QTabWidget ) - * QTabWidget():configure( pPtr_OR_oObj_of_type_QTabWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -87,6 +87,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTabWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt index 1f87d79a41..28154a84d6 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextBlock( ... ) * QTextBlock():from( pPtr_OR_oObj_of_type_QTextBlock ) - * QTextBlock():configure( pPtr_OR_oObj_of_type_QTextBlock ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt index d39a6f79de..883af10d44 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextBlockFormat( ... ) * QTextBlockFormat():from( pPtr_OR_oObj_of_type_QTextBlockFormat ) - * QTextBlockFormat():configure( pPtr_OR_oObj_of_type_QTextBlockFormat ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -65,6 +65,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextBlockFormat.cpp * Library : hbqtgui * $SEEALSO$ - * QTextFormat + * QTextFormat() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt index ae2e9c5216..5f622149d9 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextBrowser( ... ) * QTextBrowser():from( pPtr_OR_oObj_of_type_QTextBrowser ) - * QTextBrowser():configure( pPtr_OR_oObj_of_type_QTextBrowser ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -66,6 +66,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextBrowser.cpp * Library : hbqtgui * $SEEALSO$ - * QTextEdit + * QTextEdit() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt index 2a728d3426..d6183fd62b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextCharFormat( ... ) * QTextCharFormat():from( pPtr_OR_oObj_of_type_QTextCharFormat ) - * QTextCharFormat():configure( pPtr_OR_oObj_of_type_QTextCharFormat ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -93,6 +93,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextCharFormat.cpp * Library : hbqtgui * $SEEALSO$ - * QTextFormat + * QTextFormat() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt index 3ce519b70e..442764c804 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextCursor( ... ) * QTextCursor():from( pPtr_OR_oObj_of_type_QTextCursor ) - * QTextCursor():configure( pPtr_OR_oObj_of_type_QTextCursor ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt index 10cd948027..4021cf69a6 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextDocument( ... ) * QTextDocument():from( pPtr_OR_oObj_of_type_QTextDocument ) - * QTextDocument():configure( pPtr_OR_oObj_of_type_QTextDocument ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -112,6 +112,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextDocument.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt index 179b94200e..dfa0171097 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextDocumentFragment( ... ) * QTextDocumentFragment():from( pPtr_OR_oObj_of_type_QTextDocumentFragment ) - * QTextDocumentFragment():configure( pPtr_OR_oObj_of_type_QTextDocumentFragment ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt index 2de91fcc5e..5019af236c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextDocumentWriter( ... ) * QTextDocumentWriter():from( pPtr_OR_oObj_of_type_QTextDocumentWriter ) - * QTextDocumentWriter():configure( pPtr_OR_oObj_of_type_QTextDocumentWriter ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt index fe526ff934..292e446670 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextEdit( ... ) * QTextEdit():from( pPtr_OR_oObj_of_type_QTextEdit ) - * QTextEdit():configure( pPtr_OR_oObj_of_type_QTextEdit ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -127,6 +127,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextEdit.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractScrollArea + * QAbstractScrollArea() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt index 038566b847..1545c69afe 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextFormat( ... ) * QTextFormat():from( pPtr_OR_oObj_of_type_QTextFormat ) - * QTextFormat():configure( pPtr_OR_oObj_of_type_QTextFormat ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt index 9295b3aab7..7502cf19dd 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextFragment( ... ) * QTextFragment():from( pPtr_OR_oObj_of_type_QTextFragment ) - * QTextFragment():configure( pPtr_OR_oObj_of_type_QTextFragment ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt index e77678171f..eabdb521db 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextFrame( ... ) * QTextFrame():from( pPtr_OR_oObj_of_type_QTextFrame ) - * QTextFrame():configure( pPtr_OR_oObj_of_type_QTextFrame ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextFrame.cpp * Library : hbqtgui * $SEEALSO$ - * QTextObject + * QTextObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt index 63bfa300de..347145dcca 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextFrameFormat( ... ) * QTextFrameFormat():from( pPtr_OR_oObj_of_type_QTextFrameFormat ) - * QTextFrameFormat():configure( pPtr_OR_oObj_of_type_QTextFrameFormat ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -75,6 +75,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextFrameFormat.cpp * Library : hbqtgui * $SEEALSO$ - * QTextFormat + * QTextFormat() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt index b5cd29b8e5..adda647373 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextImageFormat( ... ) * QTextImageFormat():from( pPtr_OR_oObj_of_type_QTextImageFormat ) - * QTextImageFormat():configure( pPtr_OR_oObj_of_type_QTextImageFormat ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -53,6 +53,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextImageFormat.cpp * Library : hbqtgui * $SEEALSO$ - * QTextCharFormat + * QTextCharFormat() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt index 6354faf762..2aed08d6ac 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextInlineObject( ... ) * QTextInlineObject():from( pPtr_OR_oObj_of_type_QTextInlineObject ) - * QTextInlineObject():configure( pPtr_OR_oObj_of_type_QTextInlineObject ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt index b390c576a3..4a09e69c6f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextItem( ... ) * QTextItem():from( pPtr_OR_oObj_of_type_QTextItem ) - * QTextItem():configure( pPtr_OR_oObj_of_type_QTextItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt index d2fb754a39..97dfca6a56 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextLayout( ... ) * QTextLayout():from( pPtr_OR_oObj_of_type_QTextLayout ) - * QTextLayout():configure( pPtr_OR_oObj_of_type_QTextLayout ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt index 7510f19fa1..3772345da6 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextLength( ... ) * QTextLength():from( pPtr_OR_oObj_of_type_QTextLength ) - * QTextLength():configure( pPtr_OR_oObj_of_type_QTextLength ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt index 8f0d7b86c4..85ccea4b43 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextLine( ... ) * QTextLine():from( pPtr_OR_oObj_of_type_QTextLine ) - * QTextLine():configure( pPtr_OR_oObj_of_type_QTextLine ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt index 9173a1dd2c..75b41aaf02 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextList( ... ) * QTextList():from( pPtr_OR_oObj_of_type_QTextList ) - * QTextList():configure( pPtr_OR_oObj_of_type_QTextList ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextList.cpp * Library : hbqtgui * $SEEALSO$ - * QTextBlockGroup + * QTextBlockGroup() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt index 471c705717..2f58f5bd8c 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextListFormat( ... ) * QTextListFormat():from( pPtr_OR_oObj_of_type_QTextListFormat ) - * QTextListFormat():configure( pPtr_OR_oObj_of_type_QTextListFormat ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextListFormat.cpp * Library : hbqtgui * $SEEALSO$ - * QTextFormat + * QTextFormat() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt index 6ff7186242..d4cef6e24a 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextObject( ... ) * QTextObject():from( pPtr_OR_oObj_of_type_QTextObject ) - * QTextObject():configure( pPtr_OR_oObj_of_type_QTextObject ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextObject.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt index 915fc27549..b3b59bdd7e 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextOption( ... ) * QTextOption():from( pPtr_OR_oObj_of_type_QTextOption ) - * QTextOption():configure( pPtr_OR_oObj_of_type_QTextOption ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt index ef126cd80c..c9ed4d027b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTextTableFormat( ... ) * QTextTableFormat():from( pPtr_OR_oObj_of_type_QTextTableFormat ) - * QTextTableFormat():configure( pPtr_OR_oObj_of_type_QTextTableFormat ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -57,6 +57,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTextTableFormat.cpp * Library : hbqtgui * $SEEALSO$ - * QTextFrameFormat + * QTextFrameFormat() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt index 9b7fe76fbf..b73d18d53f 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QToolBar( ... ) * QToolBar():from( pPtr_OR_oObj_of_type_QToolBar ) - * QToolBar():configure( pPtr_OR_oObj_of_type_QToolBar ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -74,6 +74,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QToolBar.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt index ca56b1384a..fd36ec28d2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QToolBox( ... ) * QToolBox():from( pPtr_OR_oObj_of_type_QToolBox ) - * QToolBox():configure( pPtr_OR_oObj_of_type_QToolBox ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -66,6 +66,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QToolBox.cpp * Library : hbqtgui * $SEEALSO$ - * QFrame + * QFrame() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt index a27c992759..5e6b7b4c3b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QToolButton( ... ) * QToolButton():from( pPtr_OR_oObj_of_type_QToolButton ) - * QToolButton():configure( pPtr_OR_oObj_of_type_QToolButton ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -59,6 +59,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QToolButton.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractButton + * QAbstractButton() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt index 12935859f5..1abfd36967 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTransform( ... ) * QTransform():from( pPtr_OR_oObj_of_type_QTransform ) - * QTransform():configure( pPtr_OR_oObj_of_type_QTransform ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt index 5e865da032..5d4b3eba51 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTreeView( ... ) * QTreeView():from( pPtr_OR_oObj_of_type_QTreeView ) - * QTreeView():configure( pPtr_OR_oObj_of_type_QTreeView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -95,6 +95,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTreeView.cpp * Library : hbqtgui * $SEEALSO$ - * QAbstractItemView + * QAbstractItemView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt index e129e48bd8..6e77763946 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTreeWidget( ... ) * QTreeWidget():from( pPtr_OR_oObj_of_type_QTreeWidget ) - * QTreeWidget():configure( pPtr_OR_oObj_of_type_QTreeWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -85,6 +85,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QTreeWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QTreeView + * QTreeView() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt index 47c83951ac..67aa202344 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QTreeWidgetItem( ... ) * QTreeWidgetItem():from( pPtr_OR_oObj_of_type_QTreeWidgetItem ) - * QTreeWidgetItem():configure( pPtr_OR_oObj_of_type_QTreeWidgetItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_quiloader.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_quiloader.txt index 04f4111eb5..48af73f9e4 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_quiloader.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_quiloader.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QUiLoader( ... ) * QUiLoader():from( pPtr_OR_oObj_of_type_QUiLoader ) - * QUiLoader():configure( pPtr_OR_oObj_of_type_QUiLoader ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -60,6 +60,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QUiLoader.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt index fd0f601692..e796a6a66b 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QValidator( ... ) * QValidator():from( pPtr_OR_oObj_of_type_QValidator ) - * QValidator():configure( pPtr_OR_oObj_of_type_QValidator ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QValidator.cpp * Library : hbqtgui * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt index 0752f0ec05..62ea896553 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWheelEvent( ... ) * QWheelEvent():from( pPtr_OR_oObj_of_type_QWheelEvent ) - * QWheelEvent():configure( pPtr_OR_oObj_of_type_QWheelEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -55,6 +55,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWheelEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QInputEvent + * QInputEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt index 3b132d8c29..b08eecb109 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWidget( ... ) * QWidget():from( pPtr_OR_oObj_of_type_QWidget ) - * QWidget():configure( pPtr_OR_oObj_of_type_QWidget ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -242,6 +242,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWidget.cpp * Library : hbqtgui * $SEEALSO$ - * QObject, QPaintDevice + * QObject, QPaintDevice() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt index 3bf5529069..113ec41393 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWidgetAction( ... ) * QWidgetAction():from( pPtr_OR_oObj_of_type_QWidgetAction ) - * QWidgetAction():configure( pPtr_OR_oObj_of_type_QWidgetAction ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -50,6 +50,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWidgetAction.cpp * Library : hbqtgui * $SEEALSO$ - * QAction + * QAction() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt index ac406c885d..09ccc497f2 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWidgetItem( ... ) * QWidgetItem():from( pPtr_OR_oObj_of_type_QWidgetItem ) - * QWidgetItem():configure( pPtr_OR_oObj_of_type_QWidgetItem ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -48,6 +48,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWidgetItem.cpp * Library : hbqtgui * $SEEALSO$ - * QLayoutItem + * QLayoutItem() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt index a36906b530..520d101c25 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWindowStateChangeEvent( ... ) * QWindowStateChangeEvent():from( pPtr_OR_oObj_of_type_QWindowStateChangeEvent ) - * QWindowStateChangeEvent():configure( pPtr_OR_oObj_of_type_QWindowStateChangeEvent ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -47,6 +47,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWindowStateChangeEvent.cpp * Library : hbqtgui * $SEEALSO$ - * QEvent + * QEvent() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt index 9d46134853..f7b5b3c1be 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWizard( ... ) * QWizard():from( pPtr_OR_oObj_of_type_QWizard ) - * QWizard():configure( pPtr_OR_oObj_of_type_QWizard ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -81,6 +81,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWizard.cpp * Library : hbqtgui * $SEEALSO$ - * QDialog + * QDialog() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt index 2610016ce2..58a6b831a0 100644 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWizardPage( ... ) * QWizardPage():from( pPtr_OR_oObj_of_type_QWizardPage ) - * QWizardPage():configure( pPtr_OR_oObj_of_type_QWizardPage ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -63,6 +63,6 @@ * C++ wrappers : contrib/hbqt/qtgui/QWizardPage.cpp * Library : hbqtgui * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp b/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp index 7b8a8eb897..b5d87c1ad6 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp b/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp index 90e866bbf0..763e3b23d9 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp b/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp index f4596ef67a..2d0a5cbdd6 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp b/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp index 9feb52d6cf..2f7abe6740 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp b/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp index bfa4b3e736..ed0b04aaba 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp b/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp index 4779900bee..8f0919f6fd 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp b/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp index 1b12de96c7..6705c65170 100644 --- a/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp +++ b/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp index 1bed79af7c..8e9fd635a4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp index f76ed23bf4..29201dbd07 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp index 3a4f9b54b3..393cbfeb29 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp index 0b17d3c221..bf55c74625 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp index 0f556613bf..70a554720d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp index 7a9e6bf83d..ee53d0ec7c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp index 17187bc7dc..12151e2138 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp index 851a766f3b..3ea6aabc32 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp index 96c18d0568..55ab0d5887 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp index 03ea47ebcd..eac4571b42 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QAction.cpp b/harbour/contrib/hbqt/qtgui/g/QAction.cpp index 0a1213509b..a2eb6fca63 100644 --- a/harbour/contrib/hbqt/qtgui/g/QAction.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QAction.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp index 4199938106..1740772d2a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QApplication.cpp b/harbour/contrib/hbqt/qtgui/g/QApplication.cpp index 9a22f827f7..861d5749aa 100644 --- a/harbour/contrib/hbqt/qtgui/g/QApplication.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QApplication.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp b/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp index 2c51890a1a..67159762c3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp index 9157b0ca8d..0305a3254c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QBrush.cpp b/harbour/contrib/hbqt/qtgui/g/QBrush.cpp index ee2abdbb20..443ec8c736 100644 --- a/harbour/contrib/hbqt/qtgui/g/QBrush.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QBrush.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp index 7bf4118448..c205df5724 100644 --- a/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp index 2fa9044acf..2fdc5512cf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp b/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp index 7e997954a9..a8435f9340 100644 --- a/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp b/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp index c832a55be9..c2c12bc7cf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QColor.cpp b/harbour/contrib/hbqt/qtgui/g/QColor.cpp index 8e2cc8b96c..8beb1c5f20 100644 --- a/harbour/contrib/hbqt/qtgui/g/QColor.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QColor.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp index f12f167f3c..6b72a4feaf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp b/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp index 7dd6599d96..df4f072c8e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp b/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp index 721e1ec3fa..b69a2f81d1 100644 --- a/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp b/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp index dda337b016..7f43e96efb 100644 --- a/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp b/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp index 69b6c21cda..403ca6b2b4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp index 3cd8e558e8..7120cd5c4b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp index 4149351249..3222363491 100644 --- a/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QCursor.cpp b/harbour/contrib/hbqt/qtgui/g/QCursor.cpp index 66ae3c3bfb..a21cfda33d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QCursor.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QCursor.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp index d1222b800d..5068a8b1d8 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp index c968e2aa0f..1b24e56eda 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp b/harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp new file mode 100644 index 0000000000..d8ec658ae6 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp @@ -0,0 +1,211 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ + +#include "hbqtcore.h" +#include "hbqtgui.h" + +/*----------------------------------------------------------------------*/ +#if QT_VERSION >= 0x040500 +/*----------------------------------------------------------------------*/ + +/* + * enum StandardLocation { DesktopLocation, DocumentsLocation, FontsLocation, ApplicationsLocation, ..., CacheLocation } + */ + +/* + * Constructed[ 5/5 [ 100.00% ] ] + * + */ + +#include + +#include + + +/* + * + * + */ + +typedef struct +{ + QDesktopServices * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QDesktopServices; + +HBQT_GC_FUNC( hbqt_gcRelease_QDesktopServices ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QDesktopServices( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QDesktopServices * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QDesktopServices; + p->type = HBQT_TYPE_QDesktopServices; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QDesktopServices", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QDesktopServices", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QDESKTOPSERVICES ) +{ + //hb_retptr( QDesktopServices() ); +} + +/* + * QString displayName ( StandardLocation type ) + */ +HB_FUNC( QT_QDESKTOPSERVICES_DISPLAYNAME ) +{ + hb_retstr_utf8( QDesktopServices::displayName( ( QDesktopServices::StandardLocation ) hb_parni( 2 ) ).toUtf8().data() ); +} + +/* + * bool openUrl ( const QUrl & url ) + */ +HB_FUNC( QT_QDESKTOPSERVICES_OPENURL ) +{ + hb_retl( QDesktopServices::openUrl( *hbqt_par_QUrl( 2 ) ) ); +} + +/* + * void setUrlHandler ( const QString & scheme, QObject * receiver, const char * method ) + */ +HB_FUNC( QT_QDESKTOPSERVICES_SETURLHANDLER ) +{ + void * pText; + QDesktopServices::setUrlHandler( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ) ); + hb_strfree( pText ); +} + +/* + * QString storageLocation ( StandardLocation type ) + */ +HB_FUNC( QT_QDESKTOPSERVICES_STORAGELOCATION ) +{ + hb_retstr_utf8( QDesktopServices::storageLocation( ( QDesktopServices::StandardLocation ) hb_parni( 2 ) ).toUtf8().data() ); +} + +/* + * void unsetUrlHandler ( const QString & scheme ) + */ +HB_FUNC( QT_QDESKTOPSERVICES_UNSETURLHANDLER ) +{ + void * pText; + QDesktopServices::unsetUrlHandler( hb_parstr_utf8( 2, &pText, NULL ) ); + hb_strfree( pText ); +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QDesktopWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QDesktopWidget.cpp index acc8bd7121..f8f0e01eaa 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDesktopWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDesktopWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDial.cpp b/harbour/contrib/hbqt/qtgui/g/QDial.cpp index e19c59b930..d4bf473581 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDial.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDial.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QDialog.cpp index c5a7637729..ac0a324d67 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp b/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp index 4a5394a739..32d6477da3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp index 0e3d81a440..646cba6500 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp index 48b3621f20..21e8f73a43 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp index ad1b7e5b14..451ab48a3c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDrag.cpp b/harbour/contrib/hbqt/qtgui/g/QDrag.cpp index ab18fd91b1..bcc70a3fb8 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDrag.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDrag.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp index 36cafd427a..e6e598ebbf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp index d2254da8f3..ce13bdb201 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp index 7a2b888882..b415e37e01 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp index c727929143..d21086f8aa 100644 --- a/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp b/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp index d3094ccf62..60a62c3276 100644 --- a/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp index 8805fffb2f..5b4f068c0e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp b/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp index 099203e6b6..9cd149d000 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp b/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp index 89f8324261..54ac8953a9 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp index 7c7b89be49..efe5b3469f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp index a4e7473721..46c561e463 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFont.cpp b/harbour/contrib/hbqt/qtgui/g/QFont.cpp index 69c4aaab6d..5261e77fdf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFont.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFont.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp b/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp index c1980b230d..aff14b76d8 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp b/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp index 86bf38d38c..324bea068b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp index 01f248c6d8..e808969d50 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp b/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp index ed6e94f444..3fdb518576 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp b/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp index 328e739ef9..38365f9f6c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp b/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp index fb510be54a..b3ae3af06c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp index 730e11aac7..50fd202472 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QFrame.cpp index 22329d1f2c..9416ee6683 100644 --- a/harbour/contrib/hbqt/qtgui/g/QFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QFrame.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QGradient.cpp index 28fc4af6c8..dcf6ded2e4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGradient.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp index 218bc6ed51..c5e95de10a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp index 04c3d72e05..73a7647c20 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp index f688ae8fed..e75fbd1e87 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp index 2677fd65c3..221d838e5f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp index 9cb1dbe565..266e5cdd77 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp index 3ed227083f..4c2a5cf5bb 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp index 42c1a4eec2..2fd9e4c77b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp index 4f7d97dbd6..740bc65154 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp index 4e6a98de66..4161fe3c59 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp index 05db891e34..64762913c7 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp index 36a8d9c403..eaaca96e7b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp index 2ce9c4d922..9ed7ea1138 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp index d5ebd0e4b6..0ae0c2874c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp index bfff3e2755..281a54cfbc 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp index 63340a1dd0..0e1f586a20 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" @@ -226,18 +258,19 @@ HB_FUNC( QT_QGRAPHICSSCENE_ADDELLIPSE_1 ) } /* - * void addItem ( QGraphicsItem * item ) + * void addItem ( QGraphicsItem * item ) [*D=1*] */ HB_FUNC( QT_QGRAPHICSSCENE_ADDITEM ) { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QGRAPHICSSCENE_ADDITEM()" ) ); - if( p && p->ph && q && q->ph ) + QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); + if( p ) { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRAPHICSSCENE_ADDITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QGraphicsScene( 1 )->addItem( hbqt_par_QGraphicsItem( 2 ) ); + HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + if( q && q->ph ) + { + q->bNew = false; + } + ( p )->addItem( hbqt_par_QGraphicsItem( 2 ) ); } } diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp index 78a9be29e5..839c129725 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp index ee64f05e69..df7a6ea03f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp index 2c57537323..987018025c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp index 28ddc14c30..94dc3f6b63 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp index cde11d7751..1e11bf0174 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp index dfa0b15073..b63bb4f188 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp index 021faa17e5..18e0530163 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp index f8e4e35a6d..9e61db3f4a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp index 66107d36cc..4818dace8e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp index 0edafd29e1..35b39996eb 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp index 9e1269f317..d9100d4ae7 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp index 534e1ebb69..6fd0d7cadf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp index 5cdd04e6c2..aa7132a0fe 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp index d0f36d8d84..cdd67d792f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp b/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp index d59db4499a..b5e327b19a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp index 02cf91b567..cbdce55e9c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp b/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp index 836151f7be..cb294838ec 100644 --- a/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp index 0b596da915..a1f2118b08 100644 --- a/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp index ef73941c62..d54529a23a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QIcon.cpp b/harbour/contrib/hbqt/qtgui/g/QIcon.cpp index 4d338e82fb..f5197acdf6 100644 --- a/harbour/contrib/hbqt/qtgui/g/QIcon.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QIcon.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QImage.cpp b/harbour/contrib/hbqt/qtgui/g/QImage.cpp index a874743132..c0c072739f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QImage.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QImage.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" @@ -72,7 +104,7 @@ */ /* - * Constructed[ 57/60 [ 95.00% ] ] + * Constructed[ 58/61 [ 95.08% ] ] * * *** Unconvered Prototypes *** * @@ -85,8 +117,6 @@ * //uchar * bits () * // bool loadFromData ( const uchar * data, int len, const char * format = 0 ) * //uchar * scanLine ( int i ) - * //QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const - * //QImage transformed ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const */ #include @@ -849,23 +879,26 @@ HB_FUNC( QT_QIMAGE_TEXTKEYS ) } /* - * QImage transformed ( ... ) + * QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const */ HB_FUNC( QT_QIMAGE_TRANSFORMED ) { QImage * p = hbqt_par_QImage( 1 ); if( p ) { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); + } +} - if( q->type == HBQT_TYPE_QTransform ) - { - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } - else if( q->type == HBQT_TYPE_QMatrix ) - { - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } +/* + * QImage transformed ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const + */ +HB_FUNC( QT_QIMAGE_TRANSFORMED_1 ) +{ + QImage * p = hbqt_par_QImage( 1 ); + if( p ) + { + hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); } } diff --git a/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp b/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp index 8e5105da4b..3471052ed4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp b/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp index 5defb54982..9ac3ca605e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp index 5c42af5565..af7f61f798 100644 --- a/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp index 5357f742d0..24def3c386 100644 --- a/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp index 0f7157d271..2fbb971006 100644 --- a/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp index f739379348..4941ba3609 100644 --- a/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp index ecd8b8d065..9b7422d9fc 100644 --- a/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp b/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp index 742795d0b8..8fb02c93be 100644 --- a/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp b/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp index 124def46cf..4aafe760c6 100644 --- a/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp b/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp index e9b17ce5ae..a5877f4532 100644 --- a/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp b/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp index 1bc7ce5e9b..80a94735c3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp index d594f733d0..fa8cdfeedd 100644 --- a/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp b/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp index 2f22bea82d..22b87924ca 100644 --- a/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp b/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp index 55fcd6f7c1..95bbcaaf29 100644 --- a/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QLabel.cpp b/harbour/contrib/hbqt/qtgui/g/QLabel.cpp index a0cfb55554..5fe4412b34 100644 --- a/harbour/contrib/hbqt/qtgui/g/QLabel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QLabel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QLayout.cpp index ca81ca74e3..6bf01a9b71 100644 --- a/harbour/contrib/hbqt/qtgui/g/QLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp b/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp index b42a44d960..4a7a544047 100644 --- a/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp index 38feda00b8..342e956502 100644 --- a/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp index 2b3fa12685..872e98ffab 100644 --- a/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QListView.cpp b/harbour/contrib/hbqt/qtgui/g/QListView.cpp index 77af875368..c82697bbfc 100644 --- a/harbour/contrib/hbqt/qtgui/g/QListView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QListView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp index 856ff145ae..1c7860bf44 100644 --- a/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp index 0c0d8cc088..7f48e1a2b7 100644 --- a/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp b/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp index a276cbe6a1..f373114779 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp b/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp index 0d96af9892..d72501b5ba 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp b/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp index 808387ca1a..9515d21587 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp b/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp index fc11fdaf18..1b82f42f91 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMenu.cpp b/harbour/contrib/hbqt/qtgui/g/QMenu.cpp index 7c9297f27c..3da54d5f0b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMenu.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMenu.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp b/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp index 6a3e161a18..422830c455 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp b/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp index 458083e693..93870fc6e4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp index 609746a85e..444035a082 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp index ce4c952c7d..227df89d55 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QMovie.cpp b/harbour/contrib/hbqt/qtgui/g/QMovie.cpp index b4c251d561..d26d580ef6 100644 --- a/harbour/contrib/hbqt/qtgui/g/QMovie.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QMovie.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp index 7def40512c..e061ce9831 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp b/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp index a1a7d30202..1164e9090c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp b/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp index 758b12132c..d5fce78701 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp index 7292016680..3d3f856625 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPainter.cpp b/harbour/contrib/hbqt/qtgui/g/QPainter.cpp index 51c3eff778..eeb6263851 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPainter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPainter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" @@ -73,125 +105,21 @@ */ /* - * Constructed[ 94/94 [ 100.00% ] ] + * Constructed[ 182/188 [ 96.81% ] ] * + * *** Unconvered Prototypes *** + * + * void drawLines ( const QVector & pointPairs ) + * void drawLines ( const QVector & pointPairs ) + * void drawLines ( const QVector & lines ) + * void drawLines ( const QVector & lines ) + * void drawRects ( const QVector & rectangles ) + * void drawRects ( const QVector & rectangles ) * * *** Commented out protostypes *** * - * //QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) - * //QRect boundingRect ( const QRect & rectangle, int flags, const QString & text ) - * //QRect boundingRect ( int x, int y, int w, int h, int flags, const QString & text ) - * //QRectF boundingRect ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) - * //void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) - * //void drawArc ( const QRect & rectangle, int startAngle, int spanAngle ) - * //void drawArc ( int x, int y, int width, int height, int startAngle, int spanAngle ) - * //void drawChord ( const QRectF & rectangle, int startAngle, int spanAngle ) - * //void drawChord ( const QRect & rectangle, int startAngle, int spanAngle ) - * //void drawChord ( int x, int y, int width, int height, int startAngle, int spanAngle ) - * //void drawConvexPolygon ( const QPointF * points, int pointCount ) - * //void drawConvexPolygon ( const QPoint * points, int pointCount ) - * //void drawConvexPolygon ( const QPolygonF & polygon ) - * //void drawConvexPolygon ( const QPolygon & polygon ) - * //void drawEllipse ( const QRectF & rectangle ) - * //void drawEllipse ( const QRect & rectangle ) - * //void drawEllipse ( int x, int y, int width, int height ) - * //void drawEllipse ( const QPointF & center, qreal rx, qreal ry ) - * //void drawEllipse ( const QPoint & center, int rx, int ry ) - * //void drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * //void drawImage ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * //void drawImage ( const QPointF & point, const QImage & image ) - * //void drawImage ( const QPoint & point, const QImage & image ) - * //void drawImage ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * //void drawImage ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * //void drawImage ( const QRectF & rectangle, const QImage & image ) - * //void drawImage ( const QRect & rectangle, const QImage & image ) - * //void drawImage ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * //void drawLine ( const QLineF & line ) - * //void drawLine ( const QLine & line ) - * //void drawLine ( const QPoint & p1, const QPoint & p2 ) - * //void drawLine ( const QPointF & p1, const QPointF & p2 ) - * //void drawLine ( int x1, int y1, int x2, int y2 ) - * //void drawLines ( const QLineF * lines, int lineCount ) - * //void drawLines ( const QLine * lines, int lineCount ) - * //void drawLines ( const QPointF * pointPairs, int lineCount ) - * //void drawLines ( const QPoint * pointPairs, int lineCount ) - * // - * //void drawLines ( const QVector & pointPairs ) - * //void drawLines ( const QVector & pointPairs ) - * //void drawLines ( const QVector & lines ) - * //void drawLines ( const QVector & lines ) - * //void drawPicture ( const QPointF & point, const QPicture & picture ) - * //void drawPicture ( const QPoint & point, const QPicture & picture ) - * //void drawPicture ( int x, int y, const QPicture & picture ) - * //void drawPie ( const QRectF & rectangle, int startAngle, int spanAngle ) - * //void drawPie ( const QRect & rectangle, int startAngle, int spanAngle ) - * //void drawPie ( int x, int y, int width, int height, int startAngle, int spanAngle ) - * //void drawPixmap ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) - * //void drawPixmap ( const QRect & target, const QPixmap & pixmap, const QRect & source ) - * //void drawPixmap ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) - * //void drawPixmap ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) - * //void drawPixmap ( const QPointF & point, const QPixmap & pixmap ) - * //void drawPixmap ( const QPoint & point, const QPixmap & pixmap ) - * //void drawPixmap ( int x, int y, const QPixmap & pixmap ) - * //void drawPixmap ( const QRect & rectangle, const QPixmap & pixmap ) - * //void drawPixmap ( int x, int y, int width, int height, const QPixmap & pixmap ) - * //void drawPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - * //void drawPixmap ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - * //void drawPoint ( const QPointF & position ) - * //void drawPoint ( const QPoint & position ) - * //void drawPoint ( int x, int y ) - * //void drawPoints ( const QPointF * points, int pointCount ) - * //void drawPoints ( const QPoint * points, int pointCount ) - * //void drawPoints ( const QPolygonF & points ) - * //void drawPoints ( const QPolygon & points ) - * //void drawPolygon ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) - * //void drawPolygon ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) - * //void drawPolygon ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - * //void drawPolygon ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - * //void drawPolyline ( const QPointF * points, int pointCount ) - * //void drawPolyline ( const QPoint * points, int pointCount ) - * //void drawPolyline ( const QPolygonF & points ) - * //void drawPolyline ( const QPolygon & points ) - * //void drawRect ( const QRectF & rectangle ) - * //void drawRect ( const QRect & rectangle ) - * //void drawRect ( int x, int y, int width, int height ) - * //void drawRects ( const QRectF * rectangles, int rectCount ) - * //void drawRects ( const QRect * rectangles, int rectCount ) - * // - * //void drawRects ( const QVector & rectangles ) - * //void drawRects ( const QVector & rectangles ) - * //void drawRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - * //void drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - * //void drawRoundedRect ( int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - * //void drawText ( const QPointF & position, const QString & text ) - * //void drawText ( const QPoint & position, const QString & text ) - * //void drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) - * //void drawText ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) - * //void drawText ( int x, int y, const QString & text ) - * //void drawText ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) - * //void drawText ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) - * //void drawTiledPixmap ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() ) - * //void drawTiledPixmap ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() ) - * //void drawTiledPixmap ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) - * //void eraseRect ( const QRectF & rectangle ) - * //void eraseRect ( const QRect & rectangle ) - * //void eraseRect ( int x, int y, int width, int height ) - * // void fillRect ( const QRectF & rectangle, const QBrush & brush ) - * // void fillRect ( const QRectF & rectangle, const QColor & color ) - * // void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) - * // // - * // void fillRect ( const QRect & rectangle, const QBrush & brush ) - * // void fillRect ( const QRect & rectangle, const QColor & color ) - * // void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) - * // // - * // void fillRect ( int x, int y, int width, int height, const QBrush & brush ) - * // void fillRect ( int x, int y, int width, int height, const QColor & color ) - * // void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) * // * // NOT IMPLEMENTED - * // void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) - * // void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) - * // void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) * // * // original order * // void fillRect ( const QRectF & rectangle, const QBrush & brush ) @@ -206,18 +134,6 @@ * // void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) * // void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) * // void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) - * //void setBrushOrigin ( const QPointF & position ) - * //void setBrushOrigin ( const QPoint & position ) - * //void setBrushOrigin ( int x, int y ) - * //void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) - * //void setClipRect ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) - * //void setClipRect ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) - * //void setPen ( const QPen & pen ) - * //void setPen ( const QColor & color ) - * //void setPen ( Qt::PenStyle style ) - * //void translate ( const QPointF & offset ) - * //void translate ( const QPoint & offset ) - * //void translate ( qreal dx, qreal dy ) */ #include @@ -337,41 +253,58 @@ HB_FUNC( QT_QPAINTER_BEGIN ) } /* - * void boundingRect ( ... ) + * QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) */ HB_FUNC( QT_QPAINTER_BOUNDINGRECT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 4 ) - { - if( HB_ISCHAR( 4 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + void * pText; + hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ) ), true ) ); + hb_strfree( pText ); + } +} - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->boundingRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); - } - } - else if( HB_ISPOINTER( 4 ) ) - { - ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), *hbqt_par_QTextOption( 4 ) ); - } - } - else if( hb_pcount() == 3 ) - { - ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), QTextOption() ); - } - else if( hb_pcount() == 7 ) - { - ( p )->boundingRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ) ); - } +/* + * QRect boundingRect ( const QRect & rectangle, int flags, const QString & text ) + */ +HB_FUNC( QT_QPAINTER_BOUNDINGRECT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ) ), true ) ); + hb_strfree( pText ); + } +} + +/* + * QRect boundingRect ( int x, int y, int w, int h, int flags, const QString & text ) + */ +HB_FUNC( QT_QPAINTER_BOUNDINGRECT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parstr_utf8( 7, &pText, NULL ) ) ), true ) ); + hb_strfree( pText ); + } +} + +/* + * QRectF boundingRect ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) + */ +HB_FUNC( QT_QPAINTER_BOUNDINGRECT_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ) ), true ) ); + hb_strfree( pText ); } } @@ -496,276 +429,398 @@ HB_FUNC( QT_QPAINTER_DEVICETRANSFORM ) } /* - * void drawArc ( ... ) + * void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) */ HB_FUNC( QT_QPAINTER_DRAWARC ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawArc( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawArc( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - else if( hb_pcount() == 6 ) - { - ( p )->drawArc( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); - } + ( p )->drawArc( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); } } /* - * void drawChord ( ... ) + * void drawArc ( const QRect & rectangle, int startAngle, int spanAngle ) + */ +HB_FUNC( QT_QPAINTER_DRAWARC_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawArc( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); + } +} + +/* + * void drawArc ( int x, int y, int width, int height, int startAngle, int spanAngle ) + */ +HB_FUNC( QT_QPAINTER_DRAWARC_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawArc( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); + } +} + +/* + * void drawChord ( const QRectF & rectangle, int startAngle, int spanAngle ) */ HB_FUNC( QT_QPAINTER_DRAWCHORD ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawChord( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawChord( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - else if( hb_pcount() == 6 ) - { - ( p )->drawChord( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); - } + ( p )->drawChord( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); } } /* - * void drawConvexPolygon ( ... ) + * void drawChord ( const QRect & rectangle, int startAngle, int spanAngle ) + */ +HB_FUNC( QT_QPAINTER_DRAWCHORD_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawChord( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); + } +} + +/* + * void drawChord ( int x, int y, int width, int height, int startAngle, int spanAngle ) + */ +HB_FUNC( QT_QPAINTER_DRAWCHORD_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawChord( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); + } +} + +/* + * void drawConvexPolygon ( const QPointF * points, int pointCount ) */ HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawConvexPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawConvexPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawConvexPolygon( *hbqt_par_QPolygonF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawConvexPolygon( *hbqt_par_QPolygon( 2 ) ); - } - } + ( p )->drawConvexPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); } } /* - * void drawEllipse ( ... ) + * void drawConvexPolygon ( const QPoint * points, int pointCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawConvexPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawConvexPolygon ( const QPolygonF & polygon ) + */ +HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawConvexPolygon( *hbqt_par_QPolygonF( 2 ) ); + } +} + +/* + * void drawConvexPolygon ( const QPolygon & polygon ) + */ +HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawConvexPolygon( *hbqt_par_QPolygon( 2 ) ); + } +} + +/* + * void drawEllipse ( const QRectF & rectangle ) */ HB_FUNC( QT_QPAINTER_DRAWELLIPSE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() >= 4 ) - { - if( HB_ISNUM( 2 ) ) - { - ( p )->drawEllipse( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawEllipse( *hbqt_par_QPointF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawEllipse( *hbqt_par_QPoint( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawEllipse( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawEllipse( *hbqt_par_QRect( 2 ) ); - } - } + ( p )->drawEllipse( *hbqt_par_QRectF( 2 ) ); } } /* - * void drawImage ( ... ) + * void drawEllipse ( const QRect & rectangle ) + */ +HB_FUNC( QT_QPAINTER_DRAWELLIPSE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawEllipse( *hbqt_par_QRect( 2 ) ); + } +} + +/* + * void drawEllipse ( int x, int y, int width, int height ) + */ +HB_FUNC( QT_QPAINTER_DRAWELLIPSE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawEllipse( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); + } +} + +/* + * void drawEllipse ( const QPointF & center, qreal rx, qreal ry ) + */ +HB_FUNC( QT_QPAINTER_DRAWELLIPSE_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawEllipse( *hbqt_par_QPointF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); + } +} + +/* + * void drawEllipse ( const QPoint & center, int rx, int ry ) + */ +HB_FUNC( QT_QPAINTER_DRAWELLIPSE_4 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawEllipse( *hbqt_par_QPoint( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); + } +} + +/* + * void drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) */ HB_FUNC( QT_QPAINTER_DRAWIMAGE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() >= 4 ) - { - if( HB_ISNUM( 2 ) ) - { - ( p )->drawImage( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QImage( 4 ), hb_parni( 5 ), hb_parni( 6 ), HB_ISNUM( 7 ) ? hb_parni( 7 ) : -1, HB_ISNUM( 8 ) ? hb_parni( 8 ) : -1, ( Qt::ImageConversionFlags ) ( HB_ISNUM( 9 ) ? hb_parni( 9 ) : Qt::AutoColor ) ); - } - else - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ) ); - } - } - } - else if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ) ); - } - } + ( p )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); } } /* - * void drawLine ( ... ) + * void drawImage ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); + } +} + +/* + * void drawImage ( const QPointF & point, const QImage & image ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ) ); + } +} + +/* + * void drawImage ( const QPoint & point, const QImage & image ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ) ); + } +} + +/* + * void drawImage ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_4 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); + } +} + +/* + * void drawImage ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_5 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); + } +} + +/* + * void drawImage ( const QRectF & rectangle, const QImage & image ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_6 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ) ); + } +} + +/* + * void drawImage ( const QRect & rectangle, const QImage & image ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_7 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ) ); + } +} + +/* + * void drawImage ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) + */ +HB_FUNC( QT_QPAINTER_DRAWIMAGE_8 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawImage( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QImage( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parnidef( 7, -1 ), hb_parnidef( 8, -1 ), ( HB_ISNUM( 9 ) ? ( Qt::ImageConversionFlags ) hb_parni( 9 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); + } +} + +/* + * void drawLine ( const QLineF & line ) */ HB_FUNC( QT_QPAINTER_DRAWLINE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - switch( hb_pcount() ) - { - case 5: - ( p )->drawLine( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); - break; - case 3: - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawLine( *hbqt_par_QPoint( 2 ), *hbqt_par_QPoint( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawLine( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ) ); - } - } - break; - case 2: - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QLineF ) - { - ( p )->drawLine( *hbqt_par_QLineF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QLine ) - { - ( p )->drawLine( *hbqt_par_QLine( 2 ) ); - } - } - break; - } + ( p )->drawLine( *hbqt_par_QLineF( 2 ) ); } } /* - * void drawLines ( ... ) + * void drawLine ( const QLine & line ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLine( *hbqt_par_QLine( 2 ) ); + } +} + +/* + * void drawLine ( const QPoint & p1, const QPoint & p2 ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLine( *hbqt_par_QPoint( 2 ), *hbqt_par_QPoint( 3 ) ); + } +} + +/* + * void drawLine ( const QPointF & p1, const QPointF & p2 ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINE_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLine( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ) ); + } +} + +/* + * void drawLine ( int x1, int y1, int x2, int y2 ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINE_4 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLine( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); + } +} + +/* + * void drawLines ( const QLineF * lines, int lineCount ) */ HB_FUNC( QT_QPAINTER_DRAWLINES ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->drawLines( hbqt_par_QLineF( 2 ), hb_parni( 3 ) ); + } +} - if( q->type == HBQT_TYPE_QLineF ) - { - ( p )->drawLines( hbqt_par_QLineF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QLine ) - { - ( p )->drawLines( hbqt_par_QLine( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawLines( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawLines( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } +/* + * void drawLines ( const QLine * lines, int lineCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINES_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLines( hbqt_par_QLine( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawLines ( const QPointF * pointPairs, int lineCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINES_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLines( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawLines ( const QPoint * pointPairs, int lineCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWLINES_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawLines( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); } } @@ -782,423 +837,616 @@ HB_FUNC( QT_QPAINTER_DRAWPATH ) } /* - * void drawPicture ( ... ) + * void drawPicture ( const QPointF & point, const QPicture & picture ) */ HB_FUNC( QT_QPAINTER_DRAWPICTURE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 4 ) - { - ( p )->drawPicture( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPicture( 4 ) ); - } - else if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPicture( *hbqt_par_QPointF( 2 ), *hbqt_par_QPicture( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPicture( *hbqt_par_QPoint( 2 ), *hbqt_par_QPicture( 3 ) ); - } - } + ( p )->drawPicture( *hbqt_par_QPointF( 2 ), *hbqt_par_QPicture( 3 ) ); } } /* - * void drawPie ( ... ) + * void drawPicture ( const QPoint & point, const QPicture & picture ) + */ +HB_FUNC( QT_QPAINTER_DRAWPICTURE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPicture( *hbqt_par_QPoint( 2 ), *hbqt_par_QPicture( 3 ) ); + } +} + +/* + * void drawPicture ( int x, int y, const QPicture & picture ) + */ +HB_FUNC( QT_QPAINTER_DRAWPICTURE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPicture( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPicture( 4 ) ); + } +} + +/* + * void drawPie ( const QRectF & rectangle, int startAngle, int spanAngle ) */ HB_FUNC( QT_QPAINTER_DRAWPIE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 6 && HB_ISNUM( 2 ) ) - { - ( p )->drawPie( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); - } - else if( hb_pcount() == 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawPie( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawPie( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } + ( p )->drawPie( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); } } /* - * void drawPixmap ( ... ) + * void drawPie ( const QRect & rectangle, int startAngle, int spanAngle ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPie( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); + } +} + +/* + * void drawPie ( int x, int y, int width, int height, int startAngle, int spanAngle ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPie( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); + } +} + +/* + * void drawPixmap ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) */ HB_FUNC( QT_QPAINTER_DRAWPIXMAP ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - switch( hb_pcount() ) - { - case 10: - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), hb_parni( 7 ), hb_parni( 8 ), hb_parni( 9 ), hb_parni( 10 ) ); - break; - case 8: - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ), hb_parni( 8 ) ); - break; - case 6: - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ) ); - break; - case 4: - if( HB_ISNUM( 2 ) ) - { - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ); - } - else - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); - } - } - break; - case 3: - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ) ); - } - break; - } + ( p )->drawPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); } } /* - * void drawPoint ( ... ) + * void drawPixmap ( const QRect & target, const QPixmap & pixmap, const QRect & source ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); + } +} + +/* + * void drawPixmap ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); + } +} + +/* + * void drawPixmap ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); + } +} + +/* + * void drawPixmap ( const QPointF & point, const QPixmap & pixmap ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_4 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ) ); + } +} + +/* + * void drawPixmap ( const QPoint & point, const QPixmap & pixmap ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_5 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ) ); + } +} + +/* + * void drawPixmap ( int x, int y, const QPixmap & pixmap ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_6 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ); + } +} + +/* + * void drawPixmap ( const QRect & rectangle, const QPixmap & pixmap ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_7 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ) ); + } +} + +/* + * void drawPixmap ( int x, int y, int width, int height, const QPixmap & pixmap ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_8 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ) ); + } +} + +/* + * void drawPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_9 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), hb_parni( 7 ), hb_parni( 8 ), hb_parni( 9 ), hb_parni( 10 ) ); + } +} + +/* + * void drawPixmap ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) + */ +HB_FUNC( QT_QPAINTER_DRAWPIXMAP_10 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ), hb_parni( 8 ) ); + } +} + +/* + * void drawPoint ( const QPointF & position ) */ HB_FUNC( QT_QPAINTER_DRAWPOINT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 ) - { - ( p )->drawPoint( hb_parni( 2 ), hb_parni( 3 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPoint( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPoint( *hbqt_par_QPoint( 2 ) ); - } - } + ( p )->drawPoint( *hbqt_par_QPointF( 2 ) ); } } /* - * void drawPoints ( ... ) + * void drawPoint ( const QPoint & position ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOINT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPoint( *hbqt_par_QPoint( 2 ) ); + } +} + +/* + * void drawPoint ( int x, int y ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOINT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPoint( hb_parni( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawPoints ( const QPointF * points, int pointCount ) */ HB_FUNC( QT_QPAINTER_DRAWPOINTS ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPoints( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPoints( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawPoints( *hbqt_par_QPolygonF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawPoints( *hbqt_par_QPolygon( 2 ) ); - } - } + ( p )->drawPoints( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); } } /* - * void drawPolygon ( ... ) + * void drawPoints ( const QPoint * points, int pointCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOINTS_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPoints( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawPoints ( const QPolygonF & points ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOINTS_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPoints( *hbqt_par_QPolygonF( 2 ) ); + } +} + +/* + * void drawPoints ( const QPolygon & points ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOINTS_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPoints( *hbqt_par_QPolygon( 2 ) ); + } +} + +/* + * void drawPolygon ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) */ HB_FUNC( QT_QPAINTER_DRAWPOLYGON ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() >= 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ), ( Qt::FillRule ) ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::OddEvenFill ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ), ( Qt::FillRule ) ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::OddEvenFill ) ); - } - } - else if( hb_pcount() >= 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawPolygon( *hbqt_par_QPolygonF( 2 ), ( Qt::FillRule ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::OddEvenFill ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawPolygon( *hbqt_par_QPolygonF( 2 ), ( Qt::FillRule ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::OddEvenFill ) ); - } - } + ( p )->drawPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::FillRule ) hb_parni( 4 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); } } /* - * void drawPolyline ( ... ) + * void drawPolygon ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOLYGON_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::FillRule ) hb_parni( 4 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); + } +} + +/* + * void drawPolygon ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOLYGON_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPolygon( *hbqt_par_QPolygonF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::FillRule ) hb_parni( 3 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); + } +} + +/* + * void drawPolygon ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOLYGON_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPolygon( *hbqt_par_QPolygon( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::FillRule ) hb_parni( 3 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); + } +} + +/* + * void drawPolyline ( const QPointF * points, int pointCount ) */ HB_FUNC( QT_QPAINTER_DRAWPOLYLINE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPolyline( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPolyline( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawPolyline( *hbqt_par_QPolygonF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawPolyline( *hbqt_par_QPolygon( 2 ) ); - } - } + ( p )->drawPolyline( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); } } /* - * void drawRect ( ... ) + * void drawPolyline ( const QPoint * points, int pointCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOLYLINE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPolyline( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawPolyline ( const QPolygonF & points ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOLYLINE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPolyline( *hbqt_par_QPolygonF( 2 ) ); + } +} + +/* + * void drawPolyline ( const QPolygon & points ) + */ +HB_FUNC( QT_QPAINTER_DRAWPOLYLINE_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawPolyline( *hbqt_par_QPolygon( 2 ) ); + } +} + +/* + * void drawRect ( const QRectF & rectangle ) */ HB_FUNC( QT_QPAINTER_DRAWRECT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 4 && HB_ISNUM( 2 ) ) - { - ( p )->drawRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawRect( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawRect( *hbqt_par_QRect( 2 ) ); - } - } + ( p )->drawRect( *hbqt_par_QRectF( 2 ) ); } } /* - * void drawRects ( ... ) + * void drawRect ( const QRect & rectangle ) + */ +HB_FUNC( QT_QPAINTER_DRAWRECT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawRect( *hbqt_par_QRect( 2 ) ); + } +} + +/* + * void drawRect ( int x, int y, int width, int height ) + */ +HB_FUNC( QT_QPAINTER_DRAWRECT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); + } +} + +/* + * void drawRects ( const QRectF * rectangles, int rectCount ) */ HB_FUNC( QT_QPAINTER_DRAWRECTS ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawRects( hbqt_par_QRectF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); - } - } + ( p )->drawRects( hbqt_par_QRectF( 2 ), hb_parni( 3 ) ); } } /* - * void drawRoundedRect ( ... ) + * void drawRects ( const QRect * rectangles, int rectCount ) + */ +HB_FUNC( QT_QPAINTER_DRAWRECTS_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); + } +} + +/* + * void drawRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) */ HB_FUNC( QT_QPAINTER_DRAWROUNDEDRECT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() >= 6 && HB_ISNUM( 2 ) ) - { - ( p )->drawRoundedRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parnd( 6 ), ( Qt::SizeMode ) ( HB_ISNUM( 7 ) ? hb_parni( 7 ) : Qt::AbsoluteSize ) ); - } - else if( hb_pcount() >= 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawRoundedRect( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( Qt::SizeMode ) ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : Qt::AbsoluteSize ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawRoundedRect( *hbqt_par_QRect( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( Qt::SizeMode ) ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : Qt::AbsoluteSize ) ); - } - } + ( p )->drawRoundedRect( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::SizeMode ) hb_parni( 5 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); } } /* - * void drawText ( ... ) + * void drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) + */ +HB_FUNC( QT_QPAINTER_DRAWROUNDEDRECT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawRoundedRect( *hbqt_par_QRect( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::SizeMode ) hb_parni( 5 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); + } +} + +/* + * void drawRoundedRect ( int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) + */ +HB_FUNC( QT_QPAINTER_DRAWROUNDEDRECT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawRoundedRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parnd( 6 ), hb_parnd( 7 ), ( HB_ISNUM( 8 ) ? ( Qt::SizeMode ) hb_parni( 8 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); + } +} + +/* + * void drawText ( const QPointF & position, const QString & text ) */ HB_FUNC( QT_QPAINTER_DRAWTEXT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - int iP = hb_pcount(); - - if( HB_ISNUM( 2 ) ) - { - if( iP >= 7 ) - { - ( p )->drawText( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ), ( HB_ISPOINTER( 8 ) ? hbqt_par_QRect( 8 ) : 0 ) ); - } - else if( iP == 4 ) - { - ( p )->drawText( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); - } - } - else if( HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawText( *hbqt_par_QPointF( 2 ), hbqt_par_QString( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawText( *hbqt_par_QPoint( 2 ), hbqt_par_QString( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QRect( 5 ) : 0 ) ); - } - else if( q->type == HBQT_TYPE_QRectF ) - { - if( HB_ISNUM( 3 ) ) - { - ( p )->drawText( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QRectF( 5 ) : 0 ) ); - } - else if( HB_ISCHAR( 3 ) ) - { - ( p )->drawText( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ); - } - } - } + void * pText; + ( p )->drawText( *hbqt_par_QPointF( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); + hb_strfree( pText ); } } /* - * void drawTiledPixmap ( ... ) + * void drawText ( const QPoint & position, const QString & text ) + */ +HB_FUNC( QT_QPAINTER_DRAWTEXT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + ( p )->drawText( *hbqt_par_QPoint( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); + hb_strfree( pText ); + } +} + +/* + * void drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) + */ +HB_FUNC( QT_QPAINTER_DRAWTEXT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + ( p )->drawText( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ), hbqt_par_QRectF( 5 ) ); + hb_strfree( pText ); + } +} + +/* + * void drawText ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) + */ +HB_FUNC( QT_QPAINTER_DRAWTEXT_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + ( p )->drawText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ), hbqt_par_QRect( 5 ) ); + hb_strfree( pText ); + } +} + +/* + * void drawText ( int x, int y, const QString & text ) + */ +HB_FUNC( QT_QPAINTER_DRAWTEXT_4 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + ( p )->drawText( hb_parni( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ); + hb_strfree( pText ); + } +} + +/* + * void drawText ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) + */ +HB_FUNC( QT_QPAINTER_DRAWTEXT_5 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + ( p )->drawText( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parstr_utf8( 7, &pText, NULL ), hbqt_par_QRect( 8 ) ); + hb_strfree( pText ); + } +} + +/* + * void drawText ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) + */ +HB_FUNC( QT_QPAINTER_DRAWTEXT_6 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + void * pText; + ( p )->drawText( *hbqt_par_QRectF( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ); + hb_strfree( pText ); + } +} + +/* + * void drawTiledPixmap ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() ) */ HB_FUNC( QT_QPAINTER_DRAWTILEDPIXMAP ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() >= 6 && HB_ISNUM( 2 ) ) - { - ( p )->drawTiledPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), ( HB_ISNUM( 7 ) ? hb_parni( 7 ) : 0 ), ( HB_ISNUM( 8 ) ? hb_parni( 8 ) : 0 ) ); - } - else if( hb_pcount() >= 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->drawTiledPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPointF( 4 ) : QPointF() ) ); + } +} - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawTiledPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPointF( 4 ) : QPointF() ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawTiledPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPointF( 4 ) : QPointF() ) ); - } - } +/* + * void drawTiledPixmap ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() ) + */ +HB_FUNC( QT_QPAINTER_DRAWTILEDPIXMAP_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawTiledPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPoint( 4 ) : QPoint() ) ); + } +} + +/* + * void drawTiledPixmap ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) + */ +HB_FUNC( QT_QPAINTER_DRAWTILEDPIXMAP_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->drawTiledPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), hb_parni( 7 ), hb_parni( 8 ) ); } } @@ -1215,30 +1463,38 @@ HB_FUNC( QT_QPAINTER_END ) } /* - * void eraseRect ( ... ) + * void eraseRect ( const QRectF & rectangle ) */ HB_FUNC( QT_QPAINTER_ERASERECT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 5 && HB_ISNUM( 2 ) ) - { - ( p )->eraseRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->eraseRect( *hbqt_par_QRectF( 2 ) ); + } +} - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->eraseRect( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->eraseRect( *hbqt_par_QRect( 2 ) ); - } - } +/* + * void eraseRect ( const QRect & rectangle ) + */ +HB_FUNC( QT_QPAINTER_ERASERECT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->eraseRect( *hbqt_par_QRect( 2 ) ); + } +} + +/* + * void eraseRect ( int x, int y, int width, int height ) + */ +HB_FUNC( QT_QPAINTER_ERASERECT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->eraseRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); } } @@ -1255,76 +1511,146 @@ HB_FUNC( QT_QPAINTER_FILLPATH ) } /* - * void fillRect ( ... ) + * void fillRect ( const QRectF & rectangle, const QBrush & brush ) */ HB_FUNC( QT_QPAINTER_FILLRECT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 6 && HB_ISNUM( 2 ) ) - { - if( HB_ISNUM( 6 ) ) - { - ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::GlobalColor ) hb_parni( 6 ) ); - } - else if( HB_ISPOINTER( 6 ) ) - { - HBQT_GC_T * r = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 6 ); + ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QBrush( 3 ) ); + } +} - if( r->type == HBQT_TYPE_QBrush ) - { - ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QBrush( 6 ) ); - } - if( r->type == HBQT_TYPE_QColor ) - { - ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QColor( 6 ) ); - } - } - } - else if( hb_pcount() == 3 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +/* + * void fillRect ( const QRectF & rectangle, const QColor & color ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QColor( 3 ) ); + } +} - if( HB_ISNUM( 3 ) ) - { - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); - } - } - else if( HB_ISPOINTER( 3 ) ) - { - HBQT_GC_T * r = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 3 ); +/* + * void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); + } +} - if( q->type == HBQT_TYPE_QRectF ) - { - if( r->type == HBQT_TYPE_QBrush ) - { - ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QBrush( 3 ) ); - } - if( r->type == HBQT_TYPE_QColor ) - { - ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QColor( 3 ) ); - } - } - else if( q->type == HBQT_TYPE_QRect ) - { - if( r->type == HBQT_TYPE_QBrush ) - { - ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QBrush( 3 ) ); - } - if( r->type == HBQT_TYPE_QColor ) - { - ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QColor( 3 ) ); - } - } - } - } +/* + * void fillRect ( const QRect & rectangle, const QBrush & brush ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_3 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QBrush( 3 ) ); + } +} + +/* + * void fillRect ( const QRect & rectangle, const QColor & color ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_4 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QColor( 3 ) ); + } +} + +/* + * void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_5 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); + } +} + +/* + * void fillRect ( int x, int y, int width, int height, const QBrush & brush ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_6 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QBrush( 6 ) ); + } +} + +/* + * void fillRect ( int x, int y, int width, int height, const QColor & color ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_7 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QColor( 6 ) ); + } +} + +/* + * void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_8 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::GlobalColor ) hb_parni( 6 ) ); + } +} + +/* + * void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_9 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::BrushStyle ) hb_parni( 3 ) ); + } +} + +/* + * void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_10 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::BrushStyle ) hb_parni( 3 ) ); + } +} + +/* + * void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) + */ +HB_FUNC( QT_QPAINTER_FILLRECT_11 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::BrushStyle ) hb_parni( 6 ) ); } } @@ -1581,30 +1907,38 @@ HB_FUNC( QT_QPAINTER_SETBRUSH_1 ) } /* - * void setBrushOrigin ( ... ) + * void setBrushOrigin ( const QPointF & position ) */ HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 && HB_ISNUM( 2 ) ) - { - ( p )->setBrushOrigin( hb_parni( 2 ), hb_parni( 3 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->setBrushOrigin( *hbqt_par_QPointF( 2 ) ); + } +} - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->setBrushOrigin( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->setBrushOrigin( *hbqt_par_QPoint( 2 ) ); - } - } +/* + * void setBrushOrigin ( const QPoint & position ) + */ +HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->setBrushOrigin( *hbqt_par_QPoint( 2 ) ); + } +} + +/* + * void setBrushOrigin ( int x, int y ) + */ +HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->setBrushOrigin( hb_parni( 2 ), hb_parni( 3 ) ); } } @@ -1621,30 +1955,38 @@ HB_FUNC( QT_QPAINTER_SETCLIPPATH ) } /* - * void setClipRect ( ... ) + * void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) */ HB_FUNC( QT_QPAINTER_SETCLIPRECT ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() >= 5 && HB_ISNUM( 2 ) ) - { - ( p )->setClipRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::ClipOperation ) ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : Qt::ReplaceClip ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->setClipRect( *hbqt_par_QRectF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); + } +} - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->setClipRect( *hbqt_par_QRectF( 2 ), ( Qt::ClipOperation ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::ReplaceClip ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->setClipRect( *hbqt_par_QRect( 2 ), ( Qt::ClipOperation ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::ReplaceClip ) ); - } - } +/* + * void setClipRect ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) + */ +HB_FUNC( QT_QPAINTER_SETCLIPRECT_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->setClipRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::ClipOperation ) hb_parni( 6 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); + } +} + +/* + * void setClipRect ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) + */ +HB_FUNC( QT_QPAINTER_SETCLIPRECT_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->setClipRect( *hbqt_par_QRect( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); } } @@ -1721,30 +2063,38 @@ HB_FUNC( QT_QPAINTER_SETOPACITY ) } /* - * void setPen ( ... ) + * void setPen ( const QPen & pen ) */ HB_FUNC( QT_QPAINTER_SETPEN ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 2 && HB_ISNUM( 2 ) ) - { - ( p )->setPen( ( Qt::PenStyle ) hb_parni( 2 ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->setPen( *hbqt_par_QPen( 2 ) ); + } +} - if( q->type == HBQT_TYPE_QPen ) - { - ( p )->setPen( *hbqt_par_QPen( 2 ) ); - } - else if( q->type == HBQT_TYPE_QColor ) - { - ( p )->setPen( *hbqt_par_QColor( 2 ) ); - } - } +/* + * void setPen ( const QColor & color ) + */ +HB_FUNC( QT_QPAINTER_SETPEN_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->setPen( *hbqt_par_QColor( 2 ) ); + } +} + +/* + * void setPen ( Qt::PenStyle style ) + */ +HB_FUNC( QT_QPAINTER_SETPEN_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->setPen( ( Qt::PenStyle ) hb_parni( 2 ) ); } } @@ -1929,30 +2279,38 @@ HB_FUNC( QT_QPAINTER_TRANSFORM ) } /* - * void translate ( ... ) + * void translate ( const QPointF & offset ) */ HB_FUNC( QT_QPAINTER_TRANSLATE ) { QPainter * p = hbqt_par_QPainter( 1 ); if( p ) { - if( hb_pcount() == 3 && HB_ISNUM( 2 ) ) - { - ( p )->translate( hb_parni( 2 ), hb_parni( 3 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + ( p )->translate( *hbqt_par_QPointF( 2 ) ); + } +} - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->translate( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->translate( *hbqt_par_QPoint( 2 ) ); - } - } +/* + * void translate ( const QPoint & offset ) + */ +HB_FUNC( QT_QPAINTER_TRANSLATE_1 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->translate( *hbqt_par_QPoint( 2 ) ); + } +} + +/* + * void translate ( qreal dx, qreal dy ) + */ +HB_FUNC( QT_QPAINTER_TRANSLATE_2 ) +{ + QPainter * p = hbqt_par_QPainter( 1 ); + if( p ) + { + ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); } } diff --git a/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp b/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp index 508290a7cc..a8a6d45b49 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" @@ -71,17 +103,12 @@ */ /* - * Constructed[ 52/52 [ 100.00% ] ] + * Constructed[ 55/55 [ 100.00% ] ] * * * *** Commented out protostypes *** * - * //bool contains ( const QPointF & point ) const - * //bool contains ( const QRectF & rectangle ) const - * //bool contains ( const QPainterPath & p ) const * // const QPainterPath::Element & elementAt ( int index ) const - * //bool intersects ( const QRectF & rectangle ) const - * //bool intersects ( const QPainterPath & p ) const */ #include @@ -403,27 +430,38 @@ HB_FUNC( QT_QPAINTERPATH_CONNECTPATH ) } /* - * void contains ( ... ) + * bool contains ( const QPointF & point ) const */ HB_FUNC( QT_QPAINTERPATH_CONTAINS ) { QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p && hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) + if( p ) { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + hb_retl( ( p )->contains( *hbqt_par_QPointF( 2 ) ) ); + } +} - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->contains( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->contains( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPainterPath ) - { - ( p )->contains( *hbqt_par_QPainterPath( 2 ) ); - } +/* + * bool contains ( const QRectF & rectangle ) const + */ +HB_FUNC( QT_QPAINTERPATH_CONTAINS_1 ) +{ + QPainterPath * p = hbqt_par_QPainterPath( 1 ); + if( p ) + { + hb_retl( ( p )->contains( *hbqt_par_QRectF( 2 ) ) ); + } +} + +/* + * bool contains ( const QPainterPath & p ) const + */ +HB_FUNC( QT_QPAINTERPATH_CONTAINS_2 ) +{ + QPainterPath * p = hbqt_par_QPainterPath( 1 ); + if( p ) + { + hb_retl( ( p )->contains( *hbqt_par_QPainterPath( 2 ) ) ); } } @@ -512,23 +550,26 @@ HB_FUNC( QT_QPAINTERPATH_INTERSECTED ) } /* - * void intersects ( ... ) + * bool intersects ( const QRectF & rectangle ) const */ HB_FUNC( QT_QPAINTERPATH_INTERSECTS ) { QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p && hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) + if( p ) { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + hb_retl( ( p )->intersects( *hbqt_par_QRectF( 2 ) ) ); + } +} - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->intersects( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPainterPath ) - { - ( p )->intersects( *hbqt_par_QPainterPath( 2 ) ); - } +/* + * bool intersects ( const QPainterPath & p ) const + */ +HB_FUNC( QT_QPAINTERPATH_INTERSECTS_1 ) +{ + QPainterPath * p = hbqt_par_QPainterPath( 1 ); + if( p ) + { + hb_retl( ( p )->intersects( *hbqt_par_QPainterPath( 2 ) ) ); } } diff --git a/harbour/contrib/hbqt/qtgui/g/QPalette.cpp b/harbour/contrib/hbqt/qtgui/g/QPalette.cpp index 7e8518f0dc..19c400a344 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPalette.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPalette.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPen.cpp b/harbour/contrib/hbqt/qtgui/g/QPen.cpp index 2180f8c686..291f45d4cb 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPen.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPen.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPicture.cpp b/harbour/contrib/hbqt/qtgui/g/QPicture.cpp index 4860daa02a..054ec198a2 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPicture.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPicture.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp b/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp index b8895cd372..7485bdd64c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" @@ -72,7 +104,7 @@ */ /* - * Constructed[ 39/39 [ 100.00% ] ] + * Constructed[ 40/40 [ 100.00% ] ] * * * *** Commented out protostypes *** @@ -85,8 +117,6 @@ * // int qwsBytesPerLine () const * // CGImageRef toMacCGImageRef () const * //HBITMAP toWinHBITMAP ( HBitmapFormat format = NoAlpha ) const - * //QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const - * //QPixmap transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const * //QPixmap fromMacCGImageRef ( CGImageRef image ) * //QPixmap fromWinHBITMAP ( HBITMAP bitmap, HBitmapFormat format = NoAlpha ) * //QPixmap fromX11Pixmap ( Qt::HANDLE pixmap, ShareMode mode = ImplicitlyShared ) @@ -578,23 +608,26 @@ HB_FUNC( QT_QPIXMAP_TOIMAGE ) } /* - * QPixmap transformed ( ... ) + * QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const */ HB_FUNC( QT_QPIXMAP_TRANSFORMED ) { QPixmap * p = hbqt_par_QPixmap( 1 ); if( p ) { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); + hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); + } +} - if( q->type == HBQT_TYPE_QTransform ) - { - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } - else if( q->type == HBQT_TYPE_QMatrix ) - { - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } +/* + * QPixmap transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const + */ +HB_FUNC( QT_QPIXMAP_TRANSFORMED_1 ) +{ + QPixmap * p = hbqt_par_QPixmap( 1 ); + if( p ) + { + hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); } } diff --git a/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp index 8988255ff5..1011b49c78 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp index 831ce10870..d73206488b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp b/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp index 75cc9366ff..3ce0cc9699 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp b/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp index 3c126c525f..e5d6784e47 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp index bf829ef74b..bf66205d14 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp b/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp index 74008911bf..effea5bf3d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp index e04d921890..bf00587a53 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp b/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp index 99d17d5b68..078c951f7e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp b/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp index f1f999b849..71413aadec 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp b/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp index c565a2b1de..45a411a60a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp index 8f71c25d6e..88b0548584 100644 --- a/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp b/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp index b2d46f0b6a..164ff3cc5e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp index da56f7bdb4..7e6c0f6420 100644 --- a/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp b/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp index ff486043ed..c3c4ac73fe 100644 --- a/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp index 5ad147e06a..74698d984b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QRegion.cpp b/harbour/contrib/hbqt/qtgui/g/QRegion.cpp index 5b91836fc9..e38bf10818 100644 --- a/harbour/contrib/hbqt/qtgui/g/QRegion.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QRegion.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp index 81376c40f0..c0b0698124 100644 --- a/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp b/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp index 15c4d7ae02..d59fadc279 100644 --- a/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp b/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp index ce5e02fbba..b7ba03236f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp b/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp index ce2f52f3be..cfacd4109b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp index 229541251a..c4661b6163 100644 --- a/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp b/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp index fcd794db92..d89ff65b00 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp b/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp index 5f825fe4e7..fd0eb0533e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSlider.cpp b/harbour/contrib/hbqt/qtgui/g/QSlider.cpp index e91f24ee7f..74216a950b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSlider.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSlider.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSound.cpp b/harbour/contrib/hbqt/qtgui/g/QSound.cpp index 9b8c8c5651..8b10ac2e11 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSound.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSound.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp b/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp index 5c57090443..35631ef179 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp index db9370b919..1628d7481c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp b/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp index 7bc26c62d2..5253b1e39e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp b/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp index 6fb7fa0b61..bb96f8e868 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp index aed5c26c78..63cecd4424 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp index a081187dcb..5b503a19f9 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp b/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp index 1d0a070976..750239738f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp index 75dd6fb096..e5ea96a4b2 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp b/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp index bbb09c9e96..1ff1a0be88 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyle.cpp b/harbour/contrib/hbqt/qtgui/g/QStyle.cpp index a0ee3f8a03..7225d44ee8 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyle.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyle.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp index 0f89ae0bfc..14f89caee6 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp index 6cdbf5d5f6..05d4907585 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp index 98e8c1a99c..c362c897dc 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp index d910540866..c434a7b813 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp index 4fe6646a6a..c9793adf7a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp index 7ea7fb1b14..5a4cc27602 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp index 6694e61593..434b70b68a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp index b22c0bc4e6..045d31f2e4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp index 06810f26c6..2adddfebf8 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp index 9ef4c161ac..bd19abb105 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp index c77e1abf89..1d1ecc289d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp index 7570a94bdf..18442c57d1 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp index 64a8e60f92..8f43b9583e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp index 564e230d88..954360d534 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp index 12b3b98d6f..fbef2c5148 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp index 8bfd110124..85aa1b4c25 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp index ecae15c067..975beabaa3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp index 126f167a19..c4ec58b86d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp index 034674eff4..92b1e03cff 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp index cd734ab7e5..8dd6faff7d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp index 1c90d69a41..7614441ca4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp index aa3ab4a63d..409edf26df 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp index 868b312aee..6d6f2cf45c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp index 4e0951b646..38c6161375 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp index e41cf4618d..748f02159e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp index 25225ff71a..5b22aa337a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp index 33fec0cfbd..7a9f40914a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp b/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp index 27b3e6be6a..5277b2238f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp index 647fb27767..68d8cba4cc 100644 --- a/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp b/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp index 5f2e641c8d..892e808f7b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp b/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp index 9fa8762c88..67aa5c1306 100644 --- a/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp b/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp index 9cfb29b332..0949be1489 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp index ad71260000..1bc2d15c5a 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTableView.cpp b/harbour/contrib/hbqt/qtgui/g/QTableView.cpp index 2ebe89bd32..32c5e50764 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTableView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTableView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp index 5d10997399..66b3abf9f3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp index 3f5d763365..aee2a6f1ad 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp b/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp index 5c840bec16..7324444686 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp index 11ae66e2a5..c4089ec340 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp index b90f1d9ea7..b7f1ca639d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp index 2946c1b5ee..23b61c9a50 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp index e649f88c35..0a0bf1e9e0 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp index 8d1f0f67b4..2dd1f1469f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp b/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp index 865dfdf2cf..7a0458037b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp b/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp index f8b8f0adbe..74efc9522e 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp b/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp index d362f6b82b..3d8398da87 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp b/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp index c3c6a33325..663f98e101 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp index 26089e3ded..efabe711d0 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp index 1247c2d69b..518769048f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp index 9113f556d2..356dd67592 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp index c41961f2b4..c6e2b9e25d 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp index 6dbe8c366d..f1be6de0be 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp index c8824d2e29..44a751bc2b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp b/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp index 1d0067ca44..cac5e67e1b 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp b/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp index 50801cb34c..fca7d56995 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp index 9a6046dbbb..152c938ed2 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp b/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp index d57eeb27b9..ec0d9e757f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp b/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp index cf1701715d..ea95d734e3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextList.cpp b/harbour/contrib/hbqt/qtgui/g/QTextList.cpp index 6f13968c9a..152520512f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextList.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextList.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp index a2d4ddacad..2a1a143457 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp b/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp index d473a0e693..78ca6b7f1f 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp b/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp index 09e72e53e0..9e48e76580 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp index 97073aeea5..92dfc3ec26 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp index a7e87ab331..20ff0b30d3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp b/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp index c5430f8e7b..695f0306d9 100644 --- a/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp b/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp index 272a52ba59..e012baf292 100644 --- a/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp b/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp index ab96d62745..542518e970 100644 --- a/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTransform.cpp b/harbour/contrib/hbqt/qtgui/g/QTransform.cpp index 6307335c0e..1c45b73933 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTransform.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTransform.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp b/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp index cff2143523..68cb145ed4 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp index ef379d8bff..9dead19a04 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp index b2cef2a11a..d86520a2e6 100644 --- a/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QUiLoader.cpp b/harbour/contrib/hbqt/qtgui/g/QUiLoader.cpp index 1040dd2ec2..845c83f104 100644 --- a/harbour/contrib/hbqt/qtgui/g/QUiLoader.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QUiLoader.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp index 8940f1f90e..7cdbf18519 100644 --- a/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QValidator.cpp index 534cd8e938..37c070e305 100644 --- a/harbour/contrib/hbqt/qtgui/g/QValidator.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QValidator.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp index 1beaee3fdb..c8bbad31c8 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QWidget.cpp index 63456edd24..2f1ab72ebf 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWidget.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp b/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp index b9fee2c34e..6de73fec37 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp index 560a156d0b..ba7a5a407c 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp index 700e5a69b7..1bf656e4db 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp b/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp index b3a4f36e49..6aaee3a964 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWizard.cpp b/harbour/contrib/hbqt/qtgui/g/QWizard.cpp index 43ccc2dc01..d410009de3 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWizard.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWizard.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp b/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp index cfe6b8f720..c3e04339cc 100644 --- a/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp +++ b/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtgui.h" diff --git a/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg b/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg index be4b55b7c7..6213657194 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,5 +123,5 @@ METHOD HBQAbstractItemModel:reset() METHOD HBQAbstractItemModel:index( nRow, nColumn, pParent ) - RETURN Qt_HBQAbstractItemModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) + RETURN HB_QModelIndex():from( Qt_HBQAbstractItemModel_index( ::pPtr, nRow, nColumn, hbqt_ptr( pParent ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg b/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg index b78867fd04..6e6a7e5c15 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -157,7 +189,7 @@ METHOD HBQGraphicsItem:hbSetBlock( xBlock ) METHOD HBQGraphicsItem:boundingRect() - RETURN Qt_HBQGraphicsItem_boundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_HBQGraphicsItem_boundingRect( ::pPtr ) ) METHOD HBQGraphicsItem:paint( pPainter, pOption, pWidget ) @@ -169,7 +201,7 @@ METHOD HBQGraphicsItem:determineResizeMode( pPos ) METHOD HBQGraphicsItem:adjustRect( pRect ) - RETURN Qt_HBQGraphicsItem_adjustRect( ::pPtr, hbqt_ptr( pRect ) ) + RETURN HB_QRectF():from( Qt_HBQGraphicsItem_adjustRect( ::pPtr, hbqt_ptr( pRect ) ) ) METHOD HBQGraphicsItem:prepare( pPainter ) @@ -177,7 +209,7 @@ METHOD HBQGraphicsItem:prepare( pPainter ) METHOD HBQGraphicsItem:pen() - RETURN Qt_HBQGraphicsItem_pen( ::pPtr ) + RETURN HB_QPen():from( Qt_HBQGraphicsItem_pen( ::pPtr ) ) METHOD HBQGraphicsItem:setPen( pPen ) @@ -185,7 +217,7 @@ METHOD HBQGraphicsItem:setPen( pPen ) METHOD HBQGraphicsItem:brush() - RETURN Qt_HBQGraphicsItem_brush( ::pPtr ) + RETURN HB_QBrush():from( Qt_HBQGraphicsItem_brush( ::pPtr ) ) METHOD HBQGraphicsItem:setBrush( pBrush ) @@ -193,7 +225,7 @@ METHOD HBQGraphicsItem:setBrush( pBrush ) METHOD HBQGraphicsItem:backgroundBrush() - RETURN Qt_HBQGraphicsItem_backgroundBrush( ::pPtr ) + RETURN HB_QBrush():from( Qt_HBQGraphicsItem_backgroundBrush( ::pPtr ) ) METHOD HBQGraphicsItem:setBackgroundBrush( pBrush ) @@ -201,7 +233,7 @@ METHOD HBQGraphicsItem:setBackgroundBrush( pBrush ) METHOD HBQGraphicsItem:font() - RETURN Qt_HBQGraphicsItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_HBQGraphicsItem_font( ::pPtr ) ) METHOD HBQGraphicsItem:setFont( pFont ) @@ -257,7 +289,7 @@ METHOD HBQGraphicsItem:setOpacity( nOpacity ) METHOD HBQGraphicsItem:geometry() - RETURN Qt_HBQGraphicsItem_geometry( ::pPtr ) + RETURN HB_QRectF():from( Qt_HBQGraphicsItem_geometry( ::pPtr ) ) METHOD HBQGraphicsItem:setGeometry( pRect ) @@ -313,7 +345,7 @@ METHOD HBQGraphicsItem:setDrawTextType( nDrawTextType ) METHOD HBQGraphicsItem:pixmap() - RETURN Qt_HBQGraphicsItem_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_HBQGraphicsItem_pixmap( ::pPtr ) ) METHOD HBQGraphicsItem:setPixmap( pPixmap ) @@ -321,7 +353,7 @@ METHOD HBQGraphicsItem:setPixmap( pPixmap ) METHOD HBQGraphicsItem:textColor() - RETURN Qt_HBQGraphicsItem_textColor( ::pPtr ) + RETURN HB_QColor():from( Qt_HBQGraphicsItem_textColor( ::pPtr ) ) METHOD HBQGraphicsItem:setTextColor( pColor ) @@ -337,7 +369,7 @@ METHOD HBQGraphicsItem:setBorderWidth( nBWidth ) METHOD HBQGraphicsItem:borderColor() - RETURN Qt_HBQGraphicsItem_borderColor( ::pPtr ) + RETURN HB_QColor():from( Qt_HBQGraphicsItem_borderColor( ::pPtr ) ) METHOD HBQGraphicsItem:setBorderColor( pColor ) diff --git a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg b/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg index 85ceaae6ab..773fba8134 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,7 +148,7 @@ METHOD HBQGraphicsScene:setPageSize( nPageSize ) METHOD HBQGraphicsScene:paperRect() - RETURN Qt_HBQGraphicsScene_paperRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_HBQGraphicsScene_paperRect( ::pPtr ) ) METHOD HBQGraphicsScene:setPaperRect( pPaperRect ) @@ -132,7 +164,7 @@ METHOD HBQGraphicsScene:setOrientation( nOrientation ) METHOD HBQGraphicsScene:geometry() - RETURN Qt_HBQGraphicsScene_geometry( ::pPtr ) + RETURN HB_QRectF():from( Qt_HBQGraphicsScene_geometry( ::pPtr ) ) METHOD HBQGraphicsScene:setGeometry( pRect ) diff --git a/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg b/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg index f477038ba5..53521411da 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -175,49 +207,31 @@ METHOD HBQPlainTextEdit:hbGotoBookmark( nBlock ) METHOD HBQPlainTextEdit:hbNumberBlockVisible( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "L" - // void hbNumberBlockVisible(bool b) - // L l bool + CASE hb_isLogical( hb_pvalue( 1 ) ) RETURN Qt_HBQPlainTextEdit_hbNumberBlockVisible( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool hbNumberBlockVisible() + EXIT + CASE 0 RETURN Qt_HBQPlainTextEdit_hbNumberBlockVisible_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD HBQPlainTextEdit:hbHighlightCurrentLine( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "L" - // void hbHighlightCurrentLine(bool b) - // L l bool + CASE hb_isLogical( hb_pvalue( 1 ) ) RETURN Qt_HBQPlainTextEdit_hbHighlightCurrentLine( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool hbHighlightCurrentLine() + EXIT + CASE 0 RETURN Qt_HBQPlainTextEdit_hbHighlightCurrentLine_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD HBQPlainTextEdit:hbSetEventBlock( xBlock ) diff --git a/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg b/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg index 472bc61fa7..a45ff8af57 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg b/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg index 95914af1bf..cc802c3075 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg b/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg index bfdc2b3b2b..b60ecb5911 100644 --- a/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg +++ b/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg index 837bcb019e..51789ed0e1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -127,15 +159,15 @@ METHOD QAbstractButton:autoRepeatInterval() METHOD QAbstractButton:group() - RETURN Qt_QAbstractButton_group( ::pPtr ) + RETURN HB_QButtonGroup():from( Qt_QAbstractButton_group( ::pPtr ) ) METHOD QAbstractButton:icon() - RETURN Qt_QAbstractButton_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QAbstractButton_icon( ::pPtr ) ) METHOD QAbstractButton:iconSize() - RETURN Qt_QAbstractButton_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QAbstractButton_iconSize( ::pPtr ) ) METHOD QAbstractButton:isCheckable() @@ -187,7 +219,7 @@ METHOD QAbstractButton:setText( cText ) METHOD QAbstractButton:shortcut() - RETURN Qt_QAbstractButton_shortcut( ::pPtr ) + RETURN HB_QKeySequence():from( Qt_QAbstractButton_shortcut( ::pPtr ) ) METHOD QAbstractButton:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg index 1458ea9ec2..5c3d9d6c20 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,11 +121,11 @@ METHOD QAbstractGraphicsShapeItem:new( ... ) METHOD QAbstractGraphicsShapeItem:brush() - RETURN Qt_QAbstractGraphicsShapeItem_brush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QAbstractGraphicsShapeItem_brush( ::pPtr ) ) METHOD QAbstractGraphicsShapeItem:pen() - RETURN Qt_QAbstractGraphicsShapeItem_pen( ::pPtr ) + RETURN HB_QPen():from( Qt_QAbstractGraphicsShapeItem_pen( ::pPtr ) ) METHOD QAbstractGraphicsShapeItem:setBrush( pBrush ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg index 71143e0e0d..672d6b15fa 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,7 +124,7 @@ METHOD QAbstractItemDelegate:new( ... ) METHOD QAbstractItemDelegate:createEditor( pParent, pOption, pIndex ) - RETURN Qt_QAbstractItemDelegate_createEditor( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) + RETURN HB_QWidget():from( Qt_QAbstractItemDelegate_createEditor( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemDelegate:editorEvent( pEvent, pModel, pOption, pIndex ) @@ -112,7 +144,7 @@ METHOD QAbstractItemDelegate:setModelData( pEditor, pModel, pIndex ) METHOD QAbstractItemDelegate:sizeHint( pOption, pIndex ) - RETURN Qt_QAbstractItemDelegate_sizeHint( ::pPtr, hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) + RETURN HB_QSize():from( Qt_QAbstractItemDelegate_sizeHint( ::pPtr, hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemDelegate:updateEditorGeometry( pEditor, pOption, pIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg index f42deafbc5..f2c31e20e2 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -159,7 +191,7 @@ METHOD QAbstractItemView:closePersistentEditor( pIndex ) METHOD QAbstractItemView:currentIndex() - RETURN Qt_QAbstractItemView_currentIndex( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemView_currentIndex( ::pPtr ) ) METHOD QAbstractItemView:dragDropMode() @@ -187,46 +219,37 @@ METHOD QAbstractItemView:horizontalScrollMode() METHOD QAbstractItemView:iconSize() - RETURN Qt_QAbstractItemView_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QAbstractItemView_iconSize( ::pPtr ) ) METHOD QAbstractItemView:indexAt( pPoint ) - RETURN Qt_QAbstractItemView_indexAt( ::pPtr, hbqt_ptr( pPoint ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemView_indexAt( ::pPtr, hbqt_ptr( pPoint ) ) ) METHOD QAbstractItemView:indexWidget( pIndex ) - RETURN Qt_QAbstractItemView_indexWidget( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QWidget():from( Qt_QAbstractItemView_indexWidget( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemView:itemDelegate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QAbstractItemDelegate * itemDelegate ( const QModelIndex & index ) const - // PO p QModelIndex - RETURN QAbstractItemDelegate():from( Qt_QAbstractItemView_itemDelegate_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QAbstractItemDelegate():from( Qt_QAbstractItemView_itemDelegate_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QAbstractItemDelegate * itemDelegate () const - RETURN QAbstractItemDelegate():from( Qt_QAbstractItemView_itemDelegate( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QAbstractItemDelegate():from( Qt_QAbstractItemView_itemDelegate( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QAbstractItemView:itemDelegateForColumn( nColumn ) - RETURN Qt_QAbstractItemView_itemDelegateForColumn( ::pPtr, nColumn ) + RETURN HB_QAbstractItemDelegate():from( Qt_QAbstractItemView_itemDelegateForColumn( ::pPtr, nColumn ) ) METHOD QAbstractItemView:itemDelegateForRow( nRow ) - RETURN Qt_QAbstractItemView_itemDelegateForRow( ::pPtr, nRow ) + RETURN HB_QAbstractItemDelegate():from( Qt_QAbstractItemView_itemDelegateForRow( ::pPtr, nRow ) ) METHOD QAbstractItemView:keyboardSearch( cSearch ) @@ -234,7 +257,7 @@ METHOD QAbstractItemView:keyboardSearch( cSearch ) METHOD QAbstractItemView:model() - RETURN Qt_QAbstractItemView_model( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QAbstractItemView_model( ::pPtr ) ) METHOD QAbstractItemView:openPersistentEditor( pIndex ) @@ -242,7 +265,7 @@ METHOD QAbstractItemView:openPersistentEditor( pIndex ) METHOD QAbstractItemView:rootIndex() - RETURN Qt_QAbstractItemView_rootIndex( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QAbstractItemView_rootIndex( ::pPtr ) ) METHOD QAbstractItemView:scrollTo( pIndex, nHint ) @@ -258,7 +281,7 @@ METHOD QAbstractItemView:selectionMode() METHOD QAbstractItemView:selectionModel() - RETURN Qt_QAbstractItemView_selectionModel( ::pPtr ) + RETURN HB_QItemSelectionModel():from( Qt_QAbstractItemView_selectionModel( ::pPtr ) ) METHOD QAbstractItemView:setAlternatingRowColors( lEnable ) @@ -354,7 +377,7 @@ METHOD QAbstractItemView:sizeHintForColumn( nColumn ) METHOD QAbstractItemView:sizeHintForIndex( pIndex ) - RETURN Qt_QAbstractItemView_sizeHintForIndex( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QSize():from( Qt_QAbstractItemView_sizeHintForIndex( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemView:sizeHintForRow( nRow ) @@ -374,7 +397,7 @@ METHOD QAbstractItemView:verticalScrollMode() METHOD QAbstractItemView:visualRect( pIndex ) - RETURN Qt_QAbstractItemView_visualRect( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QRect():from( Qt_QAbstractItemView_visualRect( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QAbstractItemView:clearSelection() diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg index 5a07121848..d0e5264bf0 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -115,7 +147,7 @@ METHOD QAbstractPrintDialog:printRange() METHOD QAbstractPrintDialog:printer() - RETURN Qt_QAbstractPrintDialog_printer( ::pPtr ) + RETURN HB_QPrinter():from( Qt_QAbstractPrintDialog_printer( ::pPtr ) ) METHOD QAbstractPrintDialog:setFromTo( nFrom, nTo ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg index 6302e0b988..b445632f59 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,19 +123,19 @@ METHOD QAbstractProxyModel:new( ... ) METHOD QAbstractProxyModel:mapFromSource( pSourceIndex ) - RETURN Qt_QAbstractProxyModel_mapFromSource( ::pPtr, hbqt_ptr( pSourceIndex ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractProxyModel_mapFromSource( ::pPtr, hbqt_ptr( pSourceIndex ) ) ) METHOD QAbstractProxyModel:mapSelectionFromSource( pSourceSelection ) - RETURN Qt_QAbstractProxyModel_mapSelectionFromSource( ::pPtr, hbqt_ptr( pSourceSelection ) ) + RETURN HB_QItemSelection():from( Qt_QAbstractProxyModel_mapSelectionFromSource( ::pPtr, hbqt_ptr( pSourceSelection ) ) ) METHOD QAbstractProxyModel:mapSelectionToSource( pProxySelection ) - RETURN Qt_QAbstractProxyModel_mapSelectionToSource( ::pPtr, hbqt_ptr( pProxySelection ) ) + RETURN HB_QItemSelection():from( Qt_QAbstractProxyModel_mapSelectionToSource( ::pPtr, hbqt_ptr( pProxySelection ) ) ) METHOD QAbstractProxyModel:mapToSource( pProxyIndex ) - RETURN Qt_QAbstractProxyModel_mapToSource( ::pPtr, hbqt_ptr( pProxyIndex ) ) + RETURN HB_QModelIndex():from( Qt_QAbstractProxyModel_mapToSource( ::pPtr, hbqt_ptr( pProxyIndex ) ) ) METHOD QAbstractProxyModel:setSourceModel( pSourceModel ) @@ -111,5 +143,5 @@ METHOD QAbstractProxyModel:setSourceModel( pSourceModel ) METHOD QAbstractProxyModel:sourceModel() - RETURN Qt_QAbstractProxyModel_sourceModel( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QAbstractProxyModel_sourceModel( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg index ff2d5ba94b..dd51c8a49b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,11 +135,11 @@ METHOD QAbstractScrollArea:addScrollBarWidget( pWidget, nAlignment ) METHOD QAbstractScrollArea:cornerWidget() - RETURN Qt_QAbstractScrollArea_cornerWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QAbstractScrollArea_cornerWidget( ::pPtr ) ) METHOD QAbstractScrollArea:horizontalScrollBar() - RETURN Qt_QAbstractScrollArea_horizontalScrollBar( ::pPtr ) + RETURN HB_QScrollBar():from( Qt_QAbstractScrollArea_horizontalScrollBar( ::pPtr ) ) METHOD QAbstractScrollArea:horizontalScrollBarPolicy() @@ -115,7 +147,7 @@ METHOD QAbstractScrollArea:horizontalScrollBarPolicy() METHOD QAbstractScrollArea:maximumViewportSize() - RETURN Qt_QAbstractScrollArea_maximumViewportSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QAbstractScrollArea_maximumViewportSize( ::pPtr ) ) METHOD QAbstractScrollArea:setCornerWidget( pWidget ) @@ -143,7 +175,7 @@ METHOD QAbstractScrollArea:setViewport( pWidget ) METHOD QAbstractScrollArea:verticalScrollBar() - RETURN Qt_QAbstractScrollArea_verticalScrollBar( ::pPtr ) + RETURN HB_QScrollBar():from( Qt_QAbstractScrollArea_verticalScrollBar( ::pPtr ) ) METHOD QAbstractScrollArea:verticalScrollBarPolicy() @@ -151,5 +183,5 @@ METHOD QAbstractScrollArea:verticalScrollBarPolicy() METHOD QAbstractScrollArea:viewport() - RETURN Qt_QAbstractScrollArea_viewport( ::pPtr ) + RETURN HB_QWidget():from( Qt_QAbstractScrollArea_viewport( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg index 56470cc32b..092c2e7c42 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg index 2a19e5618d..4ef219656f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg index 629296e07d..09d5adea70 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,19 +131,19 @@ METHOD QAbstractTextDocumentLayout:anchorAt( pPosition ) METHOD QAbstractTextDocumentLayout:blockBoundingRect( pBlock ) - RETURN Qt_QAbstractTextDocumentLayout_blockBoundingRect( ::pPtr, hbqt_ptr( pBlock ) ) + RETURN HB_QRectF():from( Qt_QAbstractTextDocumentLayout_blockBoundingRect( ::pPtr, hbqt_ptr( pBlock ) ) ) METHOD QAbstractTextDocumentLayout:document() - RETURN Qt_QAbstractTextDocumentLayout_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QAbstractTextDocumentLayout_document( ::pPtr ) ) METHOD QAbstractTextDocumentLayout:documentSize() - RETURN Qt_QAbstractTextDocumentLayout_documentSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QAbstractTextDocumentLayout_documentSize( ::pPtr ) ) METHOD QAbstractTextDocumentLayout:frameBoundingRect( pFrame ) - RETURN Qt_QAbstractTextDocumentLayout_frameBoundingRect( ::pPtr, hbqt_ptr( pFrame ) ) + RETURN HB_QRectF():from( Qt_QAbstractTextDocumentLayout_frameBoundingRect( ::pPtr, hbqt_ptr( pFrame ) ) ) METHOD QAbstractTextDocumentLayout:hitTest( pPoint, nAccuracy ) @@ -123,7 +155,7 @@ METHOD QAbstractTextDocumentLayout:pageCount() METHOD QAbstractTextDocumentLayout:paintDevice() - RETURN Qt_QAbstractTextDocumentLayout_paintDevice( ::pPtr ) + RETURN HB_QPaintDevice():from( Qt_QAbstractTextDocumentLayout_paintDevice( ::pPtr ) ) METHOD QAbstractTextDocumentLayout:registerHandler( nObjectType, pComponent ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQAction.prg b/harbour/contrib/hbqt/qtgui/g/TQAction.prg index 74edda3ec7..93973bf291 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQAction.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQAction.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -135,7 +167,7 @@ METHOD QAction:new( ... ) METHOD QAction:actionGroup() - RETURN Qt_QAction_actionGroup( ::pPtr ) + RETURN HB_QActionGroup():from( Qt_QAction_actionGroup( ::pPtr ) ) METHOD QAction:activate( nEvent ) @@ -143,7 +175,7 @@ METHOD QAction:activate( nEvent ) METHOD QAction:associatedWidgets() - RETURN Qt_QAction_associatedWidgets( ::pPtr ) + RETURN HB_QList():from( Qt_QAction_associatedWidgets( ::pPtr ) ) METHOD QAction:autoRepeat() @@ -151,15 +183,15 @@ METHOD QAction:autoRepeat() METHOD QAction:data() - RETURN Qt_QAction_data( ::pPtr ) + RETURN HB_QVariant():from( Qt_QAction_data( ::pPtr ) ) METHOD QAction:font() - RETURN Qt_QAction_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QAction_font( ::pPtr ) ) METHOD QAction:icon() - RETURN Qt_QAction_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QAction_icon( ::pPtr ) ) METHOD QAction:iconText() @@ -191,7 +223,7 @@ METHOD QAction:isVisible() METHOD QAction:menu() - RETURN Qt_QAction_menu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QAction_menu( ::pPtr ) ) METHOD QAction:menuRole() @@ -199,7 +231,7 @@ METHOD QAction:menuRole() METHOD QAction:parentWidget() - RETURN Qt_QAction_parentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QAction_parentWidget( ::pPtr ) ) METHOD QAction:setActionGroup( pGroup ) @@ -275,7 +307,7 @@ METHOD QAction:setWhatsThis( cWhat ) METHOD QAction:shortcut() - RETURN Qt_QAction_shortcut( ::pPtr ) + RETURN HB_QKeySequence():from( Qt_QAction_shortcut( ::pPtr ) ) METHOD QAction:shortcutContext() @@ -283,7 +315,7 @@ METHOD QAction:shortcutContext() METHOD QAction:shortcuts() - RETURN Qt_QAction_shortcuts( ::pPtr ) + RETURN HB_QList():from( Qt_QAction_shortcuts( ::pPtr ) ) METHOD QAction:showStatusText( pWidget ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg index ba07d03d1d..72849fd884 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -96,42 +128,31 @@ METHOD QActionGroup:new( ... ) METHOD QActionGroup:actions() - RETURN Qt_QActionGroup_actions( ::pPtr ) + RETURN HB_QList():from( Qt_QActionGroup_actions( ::pPtr ) ) METHOD QActionGroup:addAction( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" - // QAction * addAction ( const QIcon & icon, const QString & text ) - // PCO p QIcon, C c QString - RETURN QAction():from( Qt_QActionGroup_addAction_2( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QAction():from( Qt_QActionGroup_addAction_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QAction * addAction ( const QString & text ) - // C c QString - RETURN QAction():from( Qt_QActionGroup_addAction_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QAction * addAction ( QAction * action ) - // PO p QAction - RETURN QAction():from( Qt_QActionGroup_addAction( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QActionGroup_addAction_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QActionGroup_addAction( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QActionGroup:checkedAction() - RETURN Qt_QActionGroup_checkedAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QActionGroup_checkedAction( ::pPtr ) ) METHOD QActionGroup:isEnabled() diff --git a/harbour/contrib/hbqt/qtgui/g/TQApplication.prg b/harbour/contrib/hbqt/qtgui/g/TQApplication.prg index 92d8d95661..4e02881583 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQApplication.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQApplication.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -176,15 +208,15 @@ METHOD QApplication:styleSheet() METHOD QApplication:activeModalWidget() - RETURN Qt_QApplication_activeModalWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QApplication_activeModalWidget( ::pPtr ) ) METHOD QApplication:activePopupWidget() - RETURN Qt_QApplication_activePopupWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QApplication_activePopupWidget( ::pPtr ) ) METHOD QApplication:activeWindow() - RETURN Qt_QApplication_activeWindow( ::pPtr ) + RETURN HB_QWidget():from( Qt_QApplication_activeWindow( ::pPtr ) ) METHOD QApplication:alert( pWidget, nMsec ) @@ -200,7 +232,7 @@ METHOD QApplication:changeOverrideCursor( pCursor ) METHOD QApplication:clipboard() - RETURN Qt_QApplication_clipboard( ::pPtr ) + RETURN HB_QClipboard():from( Qt_QApplication_clipboard( ::pPtr ) ) METHOD QApplication:colorSpec() @@ -212,7 +244,7 @@ METHOD QApplication:cursorFlashTime() METHOD QApplication:desktop() - RETURN Qt_QApplication_desktop( ::pPtr ) + RETURN HB_QDesktopWidget():from( Qt_QApplication_desktop( ::pPtr ) ) METHOD QApplication:desktopSettingsAware() @@ -228,41 +260,33 @@ METHOD QApplication:exec() METHOD QApplication:focusWidget() - RETURN Qt_QApplication_focusWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QApplication_focusWidget( ::pPtr ) ) METHOD QApplication:font( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QFont font ( const QWidget * widget ) - // PO p QWidget - RETURN QFont():from( Qt_QApplication_font_1( ::pPtr, ... ) ) - // QFont font ( const char * className ) - // PO p char - // RETURN QFont():from( Qt_QApplication_font_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN HB_QFont():from( Qt_QApplication_font_1( ::pPtr, ... ) ) + // RETURN HB_QFont():from( Qt_QApplication_font_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QFont font () - RETURN QFont():from( Qt_QApplication_font( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QFont():from( Qt_QApplication_font( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QApplication:fontMetrics() - RETURN Qt_QApplication_fontMetrics( ::pPtr ) + RETURN HB_QFontMetrics():from( Qt_QApplication_fontMetrics( ::pPtr ) ) METHOD QApplication:globalStrut() - RETURN Qt_QApplication_globalStrut( ::pPtr ) + RETURN HB_QSize():from( Qt_QApplication_globalStrut( ::pPtr ) ) METHOD QApplication:isEffectEnabled( nEffect ) @@ -286,7 +310,7 @@ METHOD QApplication:keyboardInputInterval() METHOD QApplication:keyboardInputLocale() - RETURN Qt_QApplication_keyboardInputLocale( ::pPtr ) + RETURN HB_QLocale():from( Qt_QApplication_keyboardInputLocale( ::pPtr ) ) METHOD QApplication:keyboardModifiers() @@ -302,33 +326,25 @@ METHOD QApplication:mouseButtons() METHOD QApplication:overrideCursor() - RETURN Qt_QApplication_overrideCursor( ::pPtr ) + RETURN HB_QCursor():from( Qt_QApplication_overrideCursor( ::pPtr ) ) METHOD QApplication:palette( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPalette palette ( const QWidget * widget ) - // PO p QWidget - RETURN QPalette():from( Qt_QApplication_palette_1( ::pPtr, ... ) ) - // QPalette palette ( const char * className ) - // PO p char - // RETURN QPalette():from( Qt_QApplication_palette_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN HB_QPalette():from( Qt_QApplication_palette_1( ::pPtr, ... ) ) + // RETURN HB_QPalette():from( Qt_QApplication_palette_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QPalette palette () - RETURN QPalette():from( Qt_QApplication_palette( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QPalette():from( Qt_QApplication_palette( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QApplication:quitOnLastWindowClosed() @@ -404,27 +420,17 @@ METHOD QApplication:setStartDragTime( nMs ) METHOD QApplication:setStyle( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QStyle * setStyle ( const QString & style ) - // C c QString - RETURN QStyle():from( Qt_QApplication_setStyle_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // void setStyle ( QStyle * style ) - // PO p QStyle + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QStyle():from( Qt_QApplication_setStyle_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QApplication_setStyle( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QApplication:setWheelScrollLines( nInt ) @@ -444,7 +450,7 @@ METHOD QApplication:startDragTime() METHOD QApplication:style() - RETURN Qt_QApplication_style( ::pPtr ) + RETURN HB_QStyle():from( Qt_QApplication_style( ::pPtr ) ) METHOD QApplication:syncX() @@ -452,30 +458,21 @@ METHOD QApplication:syncX() METHOD QApplication:topLevelAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QWidget * topLevelAt ( int x, int y ) - // N n int, N n int - RETURN QWidget():from( Qt_QApplication_topLevelAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QWidget():from( Qt_QApplication_topLevelAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QWidget * topLevelAt ( const QPoint & point ) - // PO p QPoint - RETURN QWidget():from( Qt_QApplication_topLevelAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QWidget():from( Qt_QApplication_topLevelAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QApplication:type() @@ -487,34 +484,25 @@ METHOD QApplication:wheelScrollLines() METHOD QApplication:widgetAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QWidget * widgetAt ( int x, int y ) - // N n int, N n int - RETURN QWidget():from( Qt_QApplication_widgetAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QWidget():from( Qt_QApplication_widgetAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QWidget * widgetAt ( const QPoint & point ) - // PO p QPoint - RETURN QWidget():from( Qt_QApplication_widgetAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QWidget():from( Qt_QApplication_widgetAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QApplication:windowIcon() - RETURN Qt_QApplication_windowIcon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QApplication_windowIcon( ::pPtr ) ) METHOD QApplication:aboutQt() diff --git a/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg b/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg index cbc419e44f..1d658583c9 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,28 +124,22 @@ METHOD QBitmap:clear() METHOD QBitmap:transformed( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QBitmap transformed ( const QTransform & matrix ) const - // PO p QTransform - RETURN QBitmap():from( Qt_QBitmap_transformed( ::pPtr, ... ) ) - // QBitmap transformed ( const QMatrix & matrix ) const - // PO p QMatrix - // RETURN QBitmap():from( Qt_QBitmap_transformed_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QBitmap():from( Qt_QBitmap_transformed( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QBitmap():from( Qt_QBitmap_transformed_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QBitmap:fromImage( pImage, nFlags ) - RETURN Qt_QBitmap_fromImage( ::pPtr, hbqt_ptr( pImage ), nFlags ) + RETURN HB_QBitmap():from( Qt_QBitmap_fromImage( ::pPtr, hbqt_ptr( pImage ), nFlags ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg index ce20f1655b..5d1115a8c1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -168,26 +200,20 @@ METHOD QBoxLayout:setStretch( nIndex, nStretch ) METHOD QBoxLayout:setStretchFactor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // bool setStretchFactor ( QWidget * widget, int stretch ) - // PO p QWidget, N n int - RETURN Qt_QBoxLayout_setStretchFactor( ::pPtr, ... ) - // bool setStretchFactor ( QLayout * layout, int stretch ) - // PO p QLayout, N n int - // RETURN Qt_QBoxLayout_setStretchFactor_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN Qt_QBoxLayout_setStretchFactor( ::pPtr, ... ) + CASE "QLAYOUT" + RETURN Qt_QBoxLayout_setStretchFactor_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QBoxLayout:spacing() diff --git a/harbour/contrib/hbqt/qtgui/g/TQBrush.prg b/harbour/contrib/hbqt/qtgui/g/TQBrush.prg index d3c1fab310..af4f158db6 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQBrush.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQBrush.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -98,7 +130,7 @@ METHOD QBrush:new( ... ) METHOD QBrush:color() - RETURN Qt_QBrush_color( ::pPtr ) + RETURN HB_QColor():from( Qt_QBrush_color( ::pPtr ) ) METHOD QBrush:isOpaque() @@ -106,31 +138,21 @@ METHOD QBrush:isOpaque() METHOD QBrush:matrix() - RETURN Qt_QBrush_matrix( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QBrush_matrix( ::pPtr ) ) METHOD QBrush:setColor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setColor ( Qt::GlobalColor color ) - // N n Qt::GlobalColor + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QBrush_setColor_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setColor ( const QColor & color ) - // PO p QColor + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QBrush_setColor( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QBrush:setMatrix( pMatrix ) @@ -158,13 +180,13 @@ METHOD QBrush:style() METHOD QBrush:texture() - RETURN Qt_QBrush_texture( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QBrush_texture( ::pPtr ) ) METHOD QBrush:textureImage() - RETURN Qt_QBrush_textureImage( ::pPtr ) + RETURN HB_QImage():from( Qt_QBrush_textureImage( ::pPtr ) ) METHOD QBrush:transform() - RETURN Qt_QBrush_transform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QBrush_transform( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg index 647f29e376..2199f9942b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,42 +127,33 @@ METHOD QButtonGroup:new( ... ) METHOD QButtonGroup:addButton( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void addButton ( QAbstractButton * button, int id ) - // PO p QAbstractButton, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QButtonGroup_addButton_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void addButton ( QAbstractButton * button ) - // PO p QAbstractButton + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QButtonGroup_addButton( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QButtonGroup:button( nId ) - RETURN Qt_QButtonGroup_button( ::pPtr, nId ) + RETURN HB_QAbstractButton():from( Qt_QButtonGroup_button( ::pPtr, nId ) ) METHOD QButtonGroup:buttons() - RETURN Qt_QButtonGroup_buttons( ::pPtr ) + RETURN HB_QList():from( Qt_QButtonGroup_buttons( ::pPtr ) ) METHOD QButtonGroup:checkedButton() - RETURN Qt_QButtonGroup_checkedButton( ::pPtr ) + RETURN HB_QAbstractButton():from( Qt_QButtonGroup_checkedButton( ::pPtr ) ) METHOD QButtonGroup:checkedId() diff --git a/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg index f2bc7685cb..b8fd55a359 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -127,7 +159,7 @@ METHOD QCalendarWidget:dateEditAcceptDelay() METHOD QCalendarWidget:dateTextFormat( pDate ) - RETURN Qt_QCalendarWidget_dateTextFormat( ::pPtr, hbqt_ptr( pDate ) ) + RETURN HB_QTextCharFormat():from( Qt_QCalendarWidget_dateTextFormat( ::pPtr, hbqt_ptr( pDate ) ) ) METHOD QCalendarWidget:firstDayOfWeek() @@ -135,7 +167,7 @@ METHOD QCalendarWidget:firstDayOfWeek() METHOD QCalendarWidget:headerTextFormat() - RETURN Qt_QCalendarWidget_headerTextFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QCalendarWidget_headerTextFormat( ::pPtr ) ) METHOD QCalendarWidget:horizontalHeaderFormat() @@ -155,11 +187,11 @@ METHOD QCalendarWidget:isNavigationBarVisible() METHOD QCalendarWidget:maximumDate() - RETURN Qt_QCalendarWidget_maximumDate( ::pPtr ) + RETURN HB_QDate():from( Qt_QCalendarWidget_maximumDate( ::pPtr ) ) METHOD QCalendarWidget:minimumDate() - RETURN Qt_QCalendarWidget_minimumDate( ::pPtr ) + RETURN HB_QDate():from( Qt_QCalendarWidget_minimumDate( ::pPtr ) ) METHOD QCalendarWidget:monthShown() @@ -167,7 +199,7 @@ METHOD QCalendarWidget:monthShown() METHOD QCalendarWidget:selectedDate() - RETURN Qt_QCalendarWidget_selectedDate( ::pPtr ) + RETURN HB_QDate():from( Qt_QCalendarWidget_selectedDate( ::pPtr ) ) METHOD QCalendarWidget:selectionMode() @@ -223,7 +255,7 @@ METHOD QCalendarWidget:verticalHeaderFormat() METHOD QCalendarWidget:weekdayTextFormat( nDayOfWeek ) - RETURN Qt_QCalendarWidget_weekdayTextFormat( ::pPtr, nDayOfWeek ) + RETURN HB_QTextCharFormat():from( Qt_QCalendarWidget_weekdayTextFormat( ::pPtr, nDayOfWeek ) ) METHOD QCalendarWidget:yearShown() diff --git a/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg b/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg index 9afcacb079..64c7faa25a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg b/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg index 0a306ea927..30b06353ab 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,7 +134,7 @@ METHOD QClipboard:clear( nMode ) METHOD QClipboard:image( nMode ) - RETURN Qt_QClipboard_image( ::pPtr, nMode ) + RETURN HB_QImage():from( Qt_QClipboard_image( ::pPtr, nMode ) ) METHOD QClipboard:ownsClipboard() @@ -118,7 +150,7 @@ METHOD QClipboard:ownsSelection() METHOD QClipboard:pixmap( nMode ) - RETURN Qt_QClipboard_pixmap( ::pPtr, nMode ) + RETURN HB_QPixmap():from( Qt_QClipboard_pixmap( ::pPtr, nMode ) ) METHOD QClipboard:setImage( pImage, nMode ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQColor.prg b/harbour/contrib/hbqt/qtgui/g/TQColor.prg index 2180d5b24a..00b1b3f918 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQColor.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQColor.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -172,7 +204,7 @@ METHOD QColor:blueF() METHOD QColor:convertTo( nColorSpec ) - RETURN Qt_QColor_convertTo( ::pPtr, nColorSpec ) + RETURN HB_QColor():from( Qt_QColor_convertTo( ::pPtr, nColorSpec ) ) METHOD QColor:cyan() @@ -184,7 +216,7 @@ METHOD QColor:cyanF() METHOD QColor:darker( nFactor ) - RETURN Qt_QColor_darker( ::pPtr, nFactor ) + RETURN HB_QColor():from( Qt_QColor_darker( ::pPtr, nFactor ) ) METHOD QColor:getCmyk( nC, nM, nY, nK, nA ) @@ -232,7 +264,7 @@ METHOD QColor:isValid() METHOD QColor:lighter( nFactor ) - RETURN Qt_QColor_lighter( ::pPtr, nFactor ) + RETURN HB_QColor():from( Qt_QColor_lighter( ::pPtr, nFactor ) ) METHOD QColor:magenta() @@ -324,37 +356,27 @@ METHOD QColor:setRedF( nRed ) METHOD QColor:setRgb( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setRgb ( int r, int g, int b, int a = 255 ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QColor_setRgb_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void setRgb ( int r, int g, int b, int a = 255 ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QColor_setRgb_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setRgb ( QRgb rgb ) - // N n QRgb + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QColor_setRgb( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QColor:setRgba( nRgba ) @@ -370,15 +392,15 @@ METHOD QColor:spec() METHOD QColor:toCmyk() - RETURN Qt_QColor_toCmyk( ::pPtr ) + RETURN HB_QColor():from( Qt_QColor_toCmyk( ::pPtr ) ) METHOD QColor:toHsv() - RETURN Qt_QColor_toHsv( ::pPtr ) + RETURN HB_QColor():from( Qt_QColor_toHsv( ::pPtr ) ) METHOD QColor:toRgb() - RETURN Qt_QColor_toRgb( ::pPtr ) + RETURN HB_QColor():from( Qt_QColor_toRgb( ::pPtr ) ) METHOD QColor:value() @@ -398,63 +420,53 @@ METHOD QColor:yellowF() METHOD QColor:colorNames() - RETURN Qt_QColor_colorNames( ::pPtr ) + RETURN HB_QStringList():from( Qt_QColor_colorNames( ::pPtr ) ) METHOD QColor:fromCmyk( nC, nM, nY, nK, nA ) - RETURN Qt_QColor_fromCmyk( ::pPtr, nC, nM, nY, nK, nA ) + RETURN HB_QColor():from( Qt_QColor_fromCmyk( ::pPtr, nC, nM, nY, nK, nA ) ) METHOD QColor:fromCmykF( nC, nM, nY, nK, nA ) - RETURN Qt_QColor_fromCmykF( ::pPtr, nC, nM, nY, nK, nA ) + RETURN HB_QColor():from( Qt_QColor_fromCmykF( ::pPtr, nC, nM, nY, nK, nA ) ) METHOD QColor:fromHsv( nH, nS, nV, nA ) - RETURN Qt_QColor_fromHsv( ::pPtr, nH, nS, nV, nA ) + RETURN HB_QColor():from( Qt_QColor_fromHsv( ::pPtr, nH, nS, nV, nA ) ) METHOD QColor:fromHsvF( nH, nS, nV, nA ) - RETURN Qt_QColor_fromHsvF( ::pPtr, nH, nS, nV, nA ) + RETURN HB_QColor():from( Qt_QColor_fromHsvF( ::pPtr, nH, nS, nV, nA ) ) METHOD QColor:fromRgb( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QColor fromRgb ( int r, int g, int b, int a = 255 ) - // N n int, N n int, N n int, N n int - RETURN QColor():from( Qt_QColor_fromRgb_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QColor():from( Qt_QColor_fromRgb_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QColor fromRgb ( int r, int g, int b, int a = 255 ) - // N n int, N n int, N n int, N n int - RETURN QColor():from( Qt_QColor_fromRgb_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QColor():from( Qt_QColor_fromRgb_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QColor fromRgb ( QRgb rgb ) - // N n QRgb - RETURN QColor():from( Qt_QColor_fromRgb( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QColor():from( Qt_QColor_fromRgb( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QColor:fromRgbF( nR, nG, nB, nA ) - RETURN Qt_QColor_fromRgbF( ::pPtr, nR, nG, nB, nA ) + RETURN HB_QColor():from( Qt_QColor_fromRgbF( ::pPtr, nR, nG, nB, nA ) ) METHOD QColor:fromRgba( nRgba ) - RETURN Qt_QColor_fromRgba( ::pPtr, nRgba ) + RETURN HB_QColor():from( Qt_QColor_fromRgba( ::pPtr, nRgba ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg index 2403eb972d..9877542bca 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,7 +131,7 @@ METHOD QColorDialog:new( ... ) METHOD QColorDialog:currentColor() - RETURN Qt_QColorDialog_currentColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QColorDialog_currentColor( ::pPtr ) ) METHOD QColorDialog:open() @@ -111,7 +143,7 @@ METHOD QColorDialog:options() METHOD QColorDialog:selectedColor() - RETURN Qt_QColorDialog_selectedColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QColorDialog_selectedColor( ::pPtr ) ) METHOD QColorDialog:setCurrentColor( pColor ) @@ -143,41 +175,29 @@ METHOD QColorDialog:customCount() METHOD QColorDialog:getColor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" .AND. aV[ 4 ] $ "N" - // QColor getColor ( const QColor & initial, QWidget * parent, const QString & title, ColorDialogOptions options = 0 ) - // PO p QColor, PO p QWidget, C c QString, N n QColorDialog::ColorDialogOptions - RETURN QColor():from( Qt_QColorDialog_getColor( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QColor():from( Qt_QColorDialog_getColor( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" - // QColor getColor ( const QColor & initial, QWidget * parent, const QString & title, ColorDialogOptions options = 0 ) - // PO p QColor, PO p QWidget, C c QString, N n QColorDialog::ColorDialogOptions - RETURN QColor():from( Qt_QColorDialog_getColor( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) + RETURN HB_QColor():from( Qt_QColorDialog_getColor( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QColor getColor ( const QColor & initial = Qt::white, QWidget * parent = 0 ) - // PO p QColor, PO p QWidget - RETURN QColor():from( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QColor():from( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QColor getColor ( const QColor & initial = Qt::white, QWidget * parent = 0 ) - // PO p QColor, PO p QWidget - RETURN QColor():from( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QColor():from( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QColorDialog:setCustomColor( nIndex, nColor ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg b/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg index 3be7c344c3..ddf97d912c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -142,41 +174,29 @@ METHOD QComboBox:new( ... ) METHOD QComboBox:addItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" - // void addItem ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) - // PCO p QIcon, C c QString, PO p QVariant + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QComboBox_addItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // void addItem ( const QString & text, const QVariant & userData = QVariant() ) - // C c QString, PO p QVariant + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QComboBox_addItem( ::pPtr, ... ) - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" - // void addItem ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) - // PCO p QIcon, C c QString, PO p QVariant + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QComboBox_addItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void addItem ( const QString & text, const QVariant & userData = QVariant() ) - // C c QString, PO p QVariant + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QComboBox_addItem( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QComboBox:addItems( pTexts ) @@ -184,7 +204,7 @@ METHOD QComboBox:addItems( pTexts ) METHOD QComboBox:completer() - RETURN Qt_QComboBox_completer( ::pPtr ) + RETURN HB_QCompleter():from( Qt_QComboBox_completer( ::pPtr ) ) METHOD QComboBox:count() @@ -220,45 +240,33 @@ METHOD QComboBox:hidePopup() METHOD QComboBox:iconSize() - RETURN Qt_QComboBox_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QComboBox_iconSize( ::pPtr ) ) METHOD QComboBox:insertItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PCO" .AND. aV[ 3 ] $ "C" .AND. aV[ 4 ] $ "PO" - // void insertItem ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) - // N n int, PCO p QIcon, C c QString, PO p QVariant + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) RETURN Qt_QComboBox_insertItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" - // void insertItem ( int index, const QString & text, const QVariant & userData = QVariant() ) - // N n int, C c QString, PO p QVariant + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QComboBox_insertItem( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PCO" .AND. aV[ 3 ] $ "C" - // void insertItem ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) - // N n int, PCO p QIcon, C c QString, PO p QVariant + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QComboBox_insertItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" - // void insertItem ( int index, const QString & text, const QVariant & userData = QVariant() ) - // N n int, C c QString, PO p QVariant + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QComboBox_insertItem( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QComboBox:insertItems( nIndex, pList ) @@ -278,15 +286,15 @@ METHOD QComboBox:isEditable() METHOD QComboBox:itemData( nIndex, nRole ) - RETURN Qt_QComboBox_itemData( ::pPtr, nIndex, nRole ) + RETURN HB_QVariant():from( Qt_QComboBox_itemData( ::pPtr, nIndex, nRole ) ) METHOD QComboBox:itemDelegate() - RETURN Qt_QComboBox_itemDelegate( ::pPtr ) + RETURN HB_QAbstractItemDelegate():from( Qt_QComboBox_itemDelegate( ::pPtr ) ) METHOD QComboBox:itemIcon( nIndex ) - RETURN Qt_QComboBox_itemIcon( ::pPtr, nIndex ) + RETURN HB_QIcon():from( Qt_QComboBox_itemIcon( ::pPtr, nIndex ) ) METHOD QComboBox:itemText( nIndex ) @@ -294,7 +302,7 @@ METHOD QComboBox:itemText( nIndex ) METHOD QComboBox:lineEdit() - RETURN Qt_QComboBox_lineEdit( ::pPtr ) + RETURN HB_QLineEdit():from( Qt_QComboBox_lineEdit( ::pPtr ) ) METHOD QComboBox:maxCount() @@ -310,7 +318,7 @@ METHOD QComboBox:minimumContentsLength() METHOD QComboBox:model() - RETURN Qt_QComboBox_model( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QComboBox_model( ::pPtr ) ) METHOD QComboBox:modelColumn() @@ -322,7 +330,7 @@ METHOD QComboBox:removeItem( nIndex ) METHOD QComboBox:rootModelIndex() - RETURN Qt_QComboBox_rootModelIndex( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QComboBox_rootModelIndex( ::pPtr ) ) METHOD QComboBox:setCompleter( pCompleter ) @@ -414,11 +422,11 @@ METHOD QComboBox:sizeAdjustPolicy() METHOD QComboBox:validator() - RETURN Qt_QComboBox_validator( ::pPtr ) + RETURN HB_QValidator():from( Qt_QComboBox_validator( ::pPtr ) ) METHOD QComboBox:view() - RETURN Qt_QComboBox_view( ::pPtr ) + RETURN HB_QAbstractItemView():from( Qt_QComboBox_view( ::pPtr ) ) METHOD QComboBox:clear() diff --git a/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg b/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg index 9aa6ee50cc..a9b445197b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg b/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg index e2684c7ef0..99253a3181 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg b/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg index 94ba1a7da9..2a057fd092 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -130,7 +162,7 @@ METHOD QCompleter:completionMode() METHOD QCompleter:completionModel() - RETURN Qt_QCompleter_completionModel( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QCompleter_completionModel( ::pPtr ) ) METHOD QCompleter:completionPrefix() @@ -146,7 +178,7 @@ METHOD QCompleter:currentCompletion() METHOD QCompleter:currentIndex() - RETURN Qt_QCompleter_currentIndex( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QCompleter_currentIndex( ::pPtr ) ) METHOD QCompleter:currentRow() @@ -154,7 +186,7 @@ METHOD QCompleter:currentRow() METHOD QCompleter:model() - RETURN Qt_QCompleter_model( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QCompleter_model( ::pPtr ) ) METHOD QCompleter:modelSorting() @@ -166,7 +198,7 @@ METHOD QCompleter:pathFromIndex( pIndex ) METHOD QCompleter:popup() - RETURN Qt_QCompleter_popup( ::pPtr ) + RETURN HB_QAbstractItemView():from( Qt_QCompleter_popup( ::pPtr ) ) METHOD QCompleter:setCaseSensitivity( nCaseSensitivity ) @@ -206,11 +238,11 @@ METHOD QCompleter:setWidget( pWidget ) METHOD QCompleter:splitPath( cPath ) - RETURN Qt_QCompleter_splitPath( ::pPtr, cPath ) + RETURN HB_QStringList():from( Qt_QCompleter_splitPath( ::pPtr, cPath ) ) METHOD QCompleter:widget() - RETURN Qt_QCompleter_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QCompleter_widget( ::pPtr ) ) METHOD QCompleter:wrapAround() diff --git a/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg index 456b977a53..8407ab43ad 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QConicalGradient:angle() METHOD QConicalGradient:center() - RETURN Qt_QConicalGradient_center( ::pPtr ) + RETURN HB_QPointF():from( Qt_QConicalGradient_center( ::pPtr ) ) METHOD QConicalGradient:setAngle( nAngle ) @@ -101,28 +133,19 @@ METHOD QConicalGradient:setAngle( nAngle ) METHOD QConicalGradient:setCenter( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setCenter ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QConicalGradient_setCenter_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setCenter ( const QPointF & center ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QConicalGradient_setCenter( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg index 68308dd6ec..217ee3989d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,7 +124,7 @@ METHOD QContextMenuEvent:new( ... ) METHOD QContextMenuEvent:globalPos() - RETURN Qt_QContextMenuEvent_globalPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QContextMenuEvent_globalPos( ::pPtr ) ) METHOD QContextMenuEvent:globalX() @@ -104,7 +136,7 @@ METHOD QContextMenuEvent:globalY() METHOD QContextMenuEvent:pos() - RETURN Qt_QContextMenuEvent_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QContextMenuEvent_pos( ::pPtr ) ) METHOD QContextMenuEvent:reason() diff --git a/harbour/contrib/hbqt/qtgui/g/TQCursor.prg b/harbour/contrib/hbqt/qtgui/g/TQCursor.prg index 2b76306094..51c3d1fbe6 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQCursor.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQCursor.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,19 +125,19 @@ METHOD QCursor:new( ... ) METHOD QCursor:bitmap() - RETURN Qt_QCursor_bitmap( ::pPtr ) + RETURN HB_QBitmap():from( Qt_QCursor_bitmap( ::pPtr ) ) METHOD QCursor:hotSpot() - RETURN Qt_QCursor_hotSpot( ::pPtr ) + RETURN HB_QPoint():from( Qt_QCursor_hotSpot( ::pPtr ) ) METHOD QCursor:mask() - RETURN Qt_QCursor_mask( ::pPtr ) + RETURN HB_QBitmap():from( Qt_QCursor_mask( ::pPtr ) ) METHOD QCursor:pixmap() - RETURN Qt_QCursor_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QCursor_pixmap( ::pPtr ) ) METHOD QCursor:setShape( nShape ) @@ -117,32 +149,23 @@ METHOD QCursor:shape() METHOD QCursor:pos() - RETURN Qt_QCursor_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QCursor_pos( ::pPtr ) ) METHOD QCursor:setPos( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setPos ( int x, int y ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QCursor_setPos( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setPos ( const QPoint & p ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QCursor_setPos_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg index 74eedf5469..46d8c4e2f8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg index ce37675980..e1d8e99af5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -133,7 +165,7 @@ METHOD QDateTimeEdit:calendarPopup() METHOD QDateTimeEdit:calendarWidget() - RETURN Qt_QDateTimeEdit_calendarWidget( ::pPtr ) + RETURN HB_QCalendarWidget():from( Qt_QDateTimeEdit_calendarWidget( ::pPtr ) ) METHOD QDateTimeEdit:clearMaximumDate() @@ -169,11 +201,11 @@ METHOD QDateTimeEdit:currentSectionIndex() METHOD QDateTimeEdit:date() - RETURN Qt_QDateTimeEdit_date( ::pPtr ) + RETURN HB_QDate():from( Qt_QDateTimeEdit_date( ::pPtr ) ) METHOD QDateTimeEdit:dateTime() - RETURN Qt_QDateTimeEdit_dateTime( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QDateTimeEdit_dateTime( ::pPtr ) ) METHOD QDateTimeEdit:displayFormat() @@ -185,27 +217,27 @@ METHOD QDateTimeEdit:displayedSections() METHOD QDateTimeEdit:maximumDate() - RETURN Qt_QDateTimeEdit_maximumDate( ::pPtr ) + RETURN HB_QDate():from( Qt_QDateTimeEdit_maximumDate( ::pPtr ) ) METHOD QDateTimeEdit:maximumDateTime() - RETURN Qt_QDateTimeEdit_maximumDateTime( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QDateTimeEdit_maximumDateTime( ::pPtr ) ) METHOD QDateTimeEdit:maximumTime() - RETURN Qt_QDateTimeEdit_maximumTime( ::pPtr ) + RETURN HB_QTime():from( Qt_QDateTimeEdit_maximumTime( ::pPtr ) ) METHOD QDateTimeEdit:minimumDate() - RETURN Qt_QDateTimeEdit_minimumDate( ::pPtr ) + RETURN HB_QDate():from( Qt_QDateTimeEdit_minimumDate( ::pPtr ) ) METHOD QDateTimeEdit:minimumDateTime() - RETURN Qt_QDateTimeEdit_minimumDateTime( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QDateTimeEdit_minimumDateTime( ::pPtr ) ) METHOD QDateTimeEdit:minimumTime() - RETURN Qt_QDateTimeEdit_minimumTime( ::pPtr ) + RETURN HB_QTime():from( Qt_QDateTimeEdit_minimumTime( ::pPtr ) ) METHOD QDateTimeEdit:sectionAt( nIndex ) @@ -285,7 +317,7 @@ METHOD QDateTimeEdit:setTimeSpec( nSpec ) METHOD QDateTimeEdit:time() - RETURN Qt_QDateTimeEdit_time( ::pPtr ) + RETURN HB_QTime():from( Qt_QDateTimeEdit_time( ::pPtr ) ) METHOD QDateTimeEdit:timeSpec() diff --git a/harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg b/harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg new file mode 100644 index 0000000000..1e0364f085 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg @@ -0,0 +1,142 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ + + +#include "hbclass.ch" + + +FUNCTION QDesktopServices( ... ) + RETURN HB_QDesktopServices():new( ... ) + + +CREATE CLASS QDesktopServices INHERIT HbQtObjectHandler FUNCTION HB_QDesktopServices + + METHOD new( ... ) + + METHOD displayName( nType ) + METHOD openUrl( pUrl ) + METHOD setUrlHandler( cScheme, pReceiver, pMethod ) + METHOD storageLocation( nType ) + METHOD unsetUrlHandler( cScheme ) + + ENDCLASS + + +METHOD QDesktopServices:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QDesktopServices( ... ) + RETURN Self + + +METHOD QDesktopServices:displayName( nType ) + RETURN Qt_QDesktopServices_displayName( ::pPtr, nType ) + + +METHOD QDesktopServices:openUrl( pUrl ) + RETURN Qt_QDesktopServices_openUrl( ::pPtr, hbqt_ptr( pUrl ) ) + + +METHOD QDesktopServices:setUrlHandler( cScheme, pReceiver, pMethod ) + RETURN Qt_QDesktopServices_setUrlHandler( ::pPtr, cScheme, hbqt_ptr( pReceiver ), hbqt_ptr( pMethod ) ) + + +METHOD QDesktopServices:storageLocation( nType ) + RETURN Qt_QDesktopServices_storageLocation( ::pPtr, nType ) + + +METHOD QDesktopServices:unsetUrlHandler( cScheme ) + RETURN Qt_QDesktopServices_unsetUrlHandler( ::pPtr, cScheme ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg index ca460c4840..77715377d9 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,34 +124,24 @@ METHOD QDesktopWidget:new( ... ) METHOD QDesktopWidget:availableGeometry( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // const QRect availableGeometry ( int screen = -1 ) const - // N n int - RETURN QRect():from( Qt_QDesktopWidget_availableGeometry( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // const QRect availableGeometry ( const QWidget * widget ) const - // PO p QWidget - RETURN QRect():from( Qt_QDesktopWidget_availableGeometry_1( ::pPtr, ... ) ) - // const QRect availableGeometry ( const QPoint & p ) const - // PO p QPoint - // RETURN QRect():from( Qt_QDesktopWidget_availableGeometry_2( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QDesktopWidget_availableGeometry( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN HB_QRect():from( Qt_QDesktopWidget_availableGeometry_1( ::pPtr, ... ) ) + CASE "QPOINT" + RETURN HB_QRect():from( Qt_QDesktopWidget_availableGeometry_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // const QRect availableGeometry ( int screen = -1 ) const - // N n int - RETURN QRect():from( Qt_QDesktopWidget_availableGeometry( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QRect():from( Qt_QDesktopWidget_availableGeometry( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QDesktopWidget:isVirtualDesktop() @@ -135,63 +157,45 @@ METHOD QDesktopWidget:primaryScreen() METHOD QDesktopWidget:screen( nScreen ) - RETURN Qt_QDesktopWidget_screen( ::pPtr, nScreen ) + RETURN HB_QWidget():from( Qt_QDesktopWidget_screen( ::pPtr, nScreen ) ) METHOD QDesktopWidget:screenGeometry( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // const QRect screenGeometry ( int screen = -1 ) const - // N n int - RETURN QRect():from( Qt_QDesktopWidget_screenGeometry( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // const QRect screenGeometry ( const QWidget * widget ) const - // PO p QWidget - RETURN QRect():from( Qt_QDesktopWidget_screenGeometry_1( ::pPtr, ... ) ) - // const QRect screenGeometry ( const QPoint & p ) const - // PO p QPoint - // RETURN QRect():from( Qt_QDesktopWidget_screenGeometry_2( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QDesktopWidget_screenGeometry( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN HB_QRect():from( Qt_QDesktopWidget_screenGeometry_1( ::pPtr, ... ) ) + CASE "QPOINT" + RETURN HB_QRect():from( Qt_QDesktopWidget_screenGeometry_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // const QRect screenGeometry ( int screen = -1 ) const - // N n int - RETURN QRect():from( Qt_QDesktopWidget_screenGeometry( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QRect():from( Qt_QDesktopWidget_screenGeometry( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QDesktopWidget:screenNumber( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // int screenNumber ( const QWidget * widget = 0 ) const - // PO p QWidget - RETURN Qt_QDesktopWidget_screenNumber( ::pPtr, ... ) - // int screenNumber ( const QPoint & point ) const - // PO p QPoint - // RETURN Qt_QDesktopWidget_screenNumber_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN Qt_QDesktopWidget_screenNumber( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QDesktopWidget_screenNumber_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 0 - // int screenNumber ( const QWidget * widget = 0 ) const - // PO p QWidget + EXIT + CASE 0 RETURN Qt_QDesktopWidget_screenNumber( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQDial.prg b/harbour/contrib/hbqt/qtgui/g/TQDial.prg index 35b0d77ba9..42d2f7df2f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDial.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDial.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQDialog.prg index 370bcdec6f..16eff8bd1c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg b/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg index 308e5f5942..e0242c4526 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -125,7 +157,7 @@ METHOD QDirModel:columnCount( pParent ) METHOD QDirModel:data( pIndex, nRole ) - RETURN Qt_QDirModel_data( ::pPtr, hbqt_ptr( pIndex ), nRole ) + RETURN HB_QVariant():from( Qt_QDirModel_data( ::pPtr, hbqt_ptr( pIndex ), nRole ) ) METHOD QDirModel:dropMimeData( pData, nAction, nRow, nColumn, pParent ) @@ -133,11 +165,11 @@ METHOD QDirModel:dropMimeData( pData, nAction, nRow, nColumn, pParent ) METHOD QDirModel:fileIcon( pIndex ) - RETURN Qt_QDirModel_fileIcon( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QIcon():from( Qt_QDirModel_fileIcon( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QDirModel:fileInfo( pIndex ) - RETURN Qt_QDirModel_fileInfo( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QFileInfo():from( Qt_QDirModel_fileInfo( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QDirModel:fileName( pIndex ) @@ -161,49 +193,37 @@ METHOD QDirModel:hasChildren( pParent ) METHOD QDirModel:headerData( nSection, nOrientation, nRole ) - RETURN Qt_QDirModel_headerData( ::pPtr, nSection, nOrientation, nRole ) + RETURN HB_QVariant():from( Qt_QDirModel_headerData( ::pPtr, nSection, nOrientation, nRole ) ) METHOD QDirModel:iconProvider() - RETURN Qt_QDirModel_iconProvider( ::pPtr ) + RETURN HB_QFileIconProvider():from( Qt_QDirModel_iconProvider( ::pPtr ) ) METHOD QDirModel:index( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" - // virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const - // N n int, N n int, PO p QModelIndex - RETURN QModelIndex():from( Qt_QDirModel_index( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QModelIndex():from( Qt_QDirModel_index( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QModelIndex index ( const QString & path, int column = 0 ) const - // C c QString, N n int - RETURN QModelIndex():from( Qt_QDirModel_index_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const - // N n int, N n int, PO p QModelIndex - RETURN QModelIndex():from( Qt_QDirModel_index( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QModelIndex():from( Qt_QDirModel_index_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QModelIndex():from( Qt_QDirModel_index( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QModelIndex index ( const QString & path, int column = 0 ) const - // C c QString, N n int - RETURN QModelIndex():from( Qt_QDirModel_index_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QModelIndex():from( Qt_QDirModel_index_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QDirModel:isDir( pIndex ) @@ -219,19 +239,19 @@ METHOD QDirModel:lazyChildCount() METHOD QDirModel:mimeTypes() - RETURN Qt_QDirModel_mimeTypes( ::pPtr ) + RETURN HB_QStringList():from( Qt_QDirModel_mimeTypes( ::pPtr ) ) METHOD QDirModel:mkdir( pParent, cName ) - RETURN Qt_QDirModel_mkdir( ::pPtr, hbqt_ptr( pParent ), cName ) + RETURN HB_QModelIndex():from( Qt_QDirModel_mkdir( ::pPtr, hbqt_ptr( pParent ), cName ) ) METHOD QDirModel:nameFilters() - RETURN Qt_QDirModel_nameFilters( ::pPtr ) + RETURN HB_QStringList():from( Qt_QDirModel_nameFilters( ::pPtr ) ) METHOD QDirModel:parent( pChild ) - RETURN Qt_QDirModel_parent( ::pPtr, hbqt_ptr( pChild ) ) + RETURN HB_QModelIndex():from( Qt_QDirModel_parent( ::pPtr, hbqt_ptr( pChild ) ) ) METHOD QDirModel:remove( pIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg index f8636da13a..97dcfa3105 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -133,13 +165,13 @@ METHOD QDockWidget:setWidget( pWidget ) METHOD QDockWidget:titleBarWidget() - RETURN Qt_QDockWidget_titleBarWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDockWidget_titleBarWidget( ::pPtr ) ) METHOD QDockWidget:toggleViewAction() - RETURN Qt_QDockWidget_toggleViewAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QDockWidget_toggleViewAction( ::pPtr ) ) METHOD QDockWidget:widget() - RETURN Qt_QDockWidget_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDockWidget_widget( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg index 3a9471ae2a..1d5a004125 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg index 82c43faa19..95ec3ce39d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDrag.prg b/harbour/contrib/hbqt/qtgui/g/TQDrag.prg index 7181e877d9..18aad669ff 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDrag.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDrag.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,46 +127,35 @@ METHOD QDrag:new( ... ) METHOD QDrag:exec( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // Qt::DropAction exec ( Qt::DropActions supportedActions, Qt::DropAction defaultDropAction ) - // N n Qt::DropActions, N n Qt::DropAction + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QDrag_exec_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // Qt::DropAction exec ( Qt::DropActions supportedActions = Qt::MoveAction ) - // N n Qt::DropActions + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QDrag_exec( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // Qt::DropAction exec ( Qt::DropActions supportedActions = Qt::MoveAction ) - // N n Qt::DropActions + EXIT + CASE 0 RETURN Qt_QDrag_exec( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QDrag:hotSpot() - RETURN Qt_QDrag_hotSpot( ::pPtr ) + RETURN HB_QPoint():from( Qt_QDrag_hotSpot( ::pPtr ) ) METHOD QDrag:mimeData() - RETURN Qt_QDrag_mimeData( ::pPtr ) + RETURN HB_QMimeData():from( Qt_QDrag_mimeData( ::pPtr ) ) METHOD QDrag:pixmap() - RETURN Qt_QDrag_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QDrag_pixmap( ::pPtr ) ) METHOD QDrag:setDragCursor( pCursor, nAction ) @@ -154,9 +175,9 @@ METHOD QDrag:setPixmap( pPixmap ) METHOD QDrag:source() - RETURN Qt_QDrag_source( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDrag_source( ::pPtr ) ) METHOD QDrag:target() - RETURN Qt_QDrag_target( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDrag_target( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg index 129eed720a..bbe2358ddb 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg index c9be6f6bc3..f9e6df400d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg index c67d6e334e..450b21ee8e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -88,51 +120,33 @@ METHOD QDragMoveEvent:new( ... ) METHOD QDragMoveEvent:accept( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void accept ( const QRect & rectangle ) - // PO p QRect + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QDragMoveEvent_accept( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void accept () + EXIT + CASE 0 RETURN Qt_QDragMoveEvent_accept_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QDragMoveEvent:answerRect() - RETURN Qt_QDragMoveEvent_answerRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QDragMoveEvent_answerRect( ::pPtr ) ) METHOD QDragMoveEvent:ignore( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void ignore ( const QRect & rectangle ) - // PO p QRect + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QDragMoveEvent_ignore( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void ignore () + EXIT + CASE 0 RETURN Qt_QDragMoveEvent_ignore_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg index 9a1a660bbf..2ab88fd007 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -107,7 +139,7 @@ METHOD QDropEvent:keyboardModifiers() METHOD QDropEvent:mimeData() - RETURN Qt_QDropEvent_mimeData( ::pPtr ) + RETURN HB_QMimeData():from( Qt_QDropEvent_mimeData( ::pPtr ) ) METHOD QDropEvent:mouseButtons() @@ -115,7 +147,7 @@ METHOD QDropEvent:mouseButtons() METHOD QDropEvent:pos() - RETURN Qt_QDropEvent_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QDropEvent_pos( ::pPtr ) ) METHOD QDropEvent:possibleActions() @@ -131,5 +163,5 @@ METHOD QDropEvent:setDropAction( nAction ) METHOD QDropEvent:source() - RETURN Qt_QDropEvent_source( ::pPtr ) + RETURN HB_QWidget():from( Qt_QDropEvent_source( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg b/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg index 8fef7d619c..aa4fdc52b8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -86,28 +118,19 @@ METHOD QErrorMessage:new( ... ) METHOD QErrorMessage:showMessage( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // void showMessage ( const QString & message, const QString & type ) - // C c QString, C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QErrorMessage_showMessage_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void showMessage ( const QString & message ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QErrorMessage_showMessage( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg index 1cc877b067..30fcd1a0cf 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -142,7 +174,7 @@ METHOD QFileDialog:defaultSuffix() METHOD QFileDialog:directory() - RETURN Qt_QFileDialog_directory( ::pPtr ) + RETURN HB_QDir():from( Qt_QFileDialog_directory( ::pPtr ) ) METHOD QFileDialog:fileMode() @@ -154,11 +186,11 @@ METHOD QFileDialog:filter() METHOD QFileDialog:history() - RETURN Qt_QFileDialog_history( ::pPtr ) + RETURN HB_QStringList():from( Qt_QFileDialog_history( ::pPtr ) ) METHOD QFileDialog:iconProvider() - RETURN Qt_QFileDialog_iconProvider( ::pPtr ) + RETURN HB_QFileIconProvider():from( Qt_QFileDialog_iconProvider( ::pPtr ) ) METHOD QFileDialog:isNameFilterDetailsVisible() @@ -170,7 +202,7 @@ METHOD QFileDialog:isReadOnly() METHOD QFileDialog:itemDelegate() - RETURN Qt_QFileDialog_itemDelegate( ::pPtr ) + RETURN HB_QAbstractItemDelegate():from( Qt_QFileDialog_itemDelegate( ::pPtr ) ) METHOD QFileDialog:labelText( nLabel ) @@ -178,7 +210,7 @@ METHOD QFileDialog:labelText( nLabel ) METHOD QFileDialog:nameFilters() - RETURN Qt_QFileDialog_nameFilters( ::pPtr ) + RETURN HB_QStringList():from( Qt_QFileDialog_nameFilters( ::pPtr ) ) METHOD QFileDialog:options() @@ -186,7 +218,7 @@ METHOD QFileDialog:options() METHOD QFileDialog:proxyModel() - RETURN Qt_QFileDialog_proxyModel( ::pPtr ) + RETURN HB_QAbstractProxyModel():from( Qt_QFileDialog_proxyModel( ::pPtr ) ) METHOD QFileDialog:resolveSymlinks() @@ -198,7 +230,7 @@ METHOD QFileDialog:restoreState( pState ) METHOD QFileDialog:saveState() - RETURN Qt_QFileDialog_saveState( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QFileDialog_saveState( ::pPtr ) ) METHOD QFileDialog:selectFile( cFilename ) @@ -210,7 +242,7 @@ METHOD QFileDialog:selectNameFilter( cFilter ) METHOD QFileDialog:selectedFiles() - RETURN Qt_QFileDialog_selectedFiles( ::pPtr ) + RETURN HB_QStringList():from( Qt_QFileDialog_selectedFiles( ::pPtr ) ) METHOD QFileDialog:selectedNameFilter() @@ -230,27 +262,17 @@ METHOD QFileDialog:setDefaultSuffix( cSuffix ) METHOD QFileDialog:setDirectory( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void setDirectory ( const QString & directory ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFileDialog_setDirectory( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setDirectory ( const QDir & directory ) - // PO p QDir + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QFileDialog_setDirectory_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFileDialog:setFileMode( nMode ) @@ -314,7 +336,7 @@ METHOD QFileDialog:setViewMode( nMode ) METHOD QFileDialog:sidebarUrls() - RETURN Qt_QFileDialog_sidebarUrls( ::pPtr ) + RETURN HB_QList():from( Qt_QFileDialog_sidebarUrls( ::pPtr ) ) METHOD QFileDialog:testOption( nOption ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg b/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg index 21611702c8..10ed26e47a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,27 +119,17 @@ METHOD QFileIconProvider:new( ... ) METHOD QFileIconProvider:icon( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual QIcon icon ( IconType type ) const - // N n QFileIconProvider::IconType - RETURN QIcon():from( Qt_QFileIconProvider_icon( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // virtual QIcon icon ( const QFileInfo & info ) const - // PO p QFileInfo - RETURN QIcon():from( Qt_QFileIconProvider_icon_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QIcon():from( Qt_QFileIconProvider_icon( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QIcon():from( Qt_QFileIconProvider_icon_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFileIconProvider:type( pInfo ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg b/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg index 541c3a85d6..5a72d4641a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -118,11 +150,11 @@ METHOD QFileSystemModel:dropMimeData( pData, nAction, nRow, nColumn, pParent ) METHOD QFileSystemModel:fileIcon( pIndex ) - RETURN Qt_QFileSystemModel_fileIcon( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QIcon():from( Qt_QFileSystemModel_fileIcon( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QFileSystemModel:fileInfo( pIndex ) - RETURN Qt_QFileSystemModel_fileInfo( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QFileInfo():from( Qt_QFileSystemModel_fileInfo( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QFileSystemModel:fileName( pIndex ) @@ -138,7 +170,7 @@ METHOD QFileSystemModel:filter() METHOD QFileSystemModel:index( cPath, nColumn ) - RETURN Qt_QFileSystemModel_index( ::pPtr, cPath, nColumn ) + RETURN HB_QModelIndex():from( Qt_QFileSystemModel_index( ::pPtr, cPath, nColumn ) ) METHOD QFileSystemModel:isDir( pIndex ) @@ -150,19 +182,19 @@ METHOD QFileSystemModel:isReadOnly() METHOD QFileSystemModel:lastModified( pIndex ) - RETURN Qt_QFileSystemModel_lastModified( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QDateTime():from( Qt_QFileSystemModel_lastModified( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QFileSystemModel:mimeTypes() - RETURN Qt_QFileSystemModel_mimeTypes( ::pPtr ) + RETURN HB_QStringList():from( Qt_QFileSystemModel_mimeTypes( ::pPtr ) ) METHOD QFileSystemModel:mkdir( pParent, cName ) - RETURN Qt_QFileSystemModel_mkdir( ::pPtr, hbqt_ptr( pParent ), cName ) + RETURN HB_QModelIndex():from( Qt_QFileSystemModel_mkdir( ::pPtr, hbqt_ptr( pParent ), cName ) ) METHOD QFileSystemModel:myComputer( nRole ) - RETURN Qt_QFileSystemModel_myComputer( ::pPtr, nRole ) + RETURN HB_QVariant():from( Qt_QFileSystemModel_myComputer( ::pPtr, nRole ) ) METHOD QFileSystemModel:nameFilterDisables() @@ -170,7 +202,7 @@ METHOD QFileSystemModel:nameFilterDisables() METHOD QFileSystemModel:nameFilters() - RETURN Qt_QFileSystemModel_nameFilters( ::pPtr ) + RETURN HB_QStringList():from( Qt_QFileSystemModel_nameFilters( ::pPtr ) ) METHOD QFileSystemModel:permissions( pIndex ) @@ -190,7 +222,7 @@ METHOD QFileSystemModel:rmdir( pIndex ) METHOD QFileSystemModel:rootDirectory() - RETURN Qt_QFileSystemModel_rootDirectory( ::pPtr ) + RETURN HB_QDir():from( Qt_QFileSystemModel_rootDirectory( ::pPtr ) ) METHOD QFileSystemModel:rootPath() @@ -218,7 +250,7 @@ METHOD QFileSystemModel:setResolveSymlinks( lEnable ) METHOD QFileSystemModel:setRootPath( cNewPath ) - RETURN Qt_QFileSystemModel_setRootPath( ::pPtr, cNewPath ) + RETURN HB_QModelIndex():from( Qt_QFileSystemModel_setRootPath( ::pPtr, cNewPath ) ) METHOD QFileSystemModel:size( pIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg index 82529e66de..e8dea6bf73 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg index 16a6aef5f1..624487e508 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,5 +123,5 @@ METHOD QFocusFrame:setWidget( pWidget ) METHOD QFocusFrame:widget() - RETURN Qt_QFocusFrame_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QFocusFrame_widget( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQFont.prg b/harbour/contrib/hbqt/qtgui/g/TQFont.prg index 31c9ebc21c..a0512b5f0f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFont.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFont.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -367,9 +399,9 @@ METHOD QFont:substitute( cFamilyName ) METHOD QFont:substitutes( cFamilyName ) - RETURN Qt_QFont_substitutes( ::pPtr, cFamilyName ) + RETURN HB_QStringList():from( Qt_QFont_substitutes( ::pPtr, cFamilyName ) ) METHOD QFont:substitutions() - RETURN Qt_QFont_substitutions( ::pPtr ) + RETURN HB_QStringList():from( Qt_QFont_substitutions( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg b/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg index ec54ef1bb9..7cbd4a7020 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,7 +123,7 @@ METHOD QFontComboBox:new( ... ) METHOD QFontComboBox:currentFont() - RETURN Qt_QFontComboBox_currentFont( ::pPtr ) + RETURN HB_QFont():from( Qt_QFontComboBox_currentFont( ::pPtr ) ) METHOD QFontComboBox:fontFilters() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg b/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg index 48031c1753..576a78a04d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -111,11 +143,11 @@ METHOD QFontDatabase:bold( cFamily, cStyle ) METHOD QFontDatabase:families( nWritingSystem ) - RETURN Qt_QFontDatabase_families( ::pPtr, nWritingSystem ) + RETURN HB_QStringList():from( Qt_QFontDatabase_families( ::pPtr, nWritingSystem ) ) METHOD QFontDatabase:font( cFamily, cStyle, nPointSize ) - RETURN Qt_QFontDatabase_font( ::pPtr, cFamily, cStyle, nPointSize ) + RETURN HB_QFont():from( Qt_QFontDatabase_font( ::pPtr, cFamily, cStyle, nPointSize ) ) METHOD QFontDatabase:isBitmapScalable( cFamily, cStyle ) @@ -139,38 +171,32 @@ METHOD QFontDatabase:italic( cFamily, cStyle ) METHOD QFontDatabase:pointSizes( cFamily, cStyle ) - RETURN Qt_QFontDatabase_pointSizes( ::pPtr, cFamily, cStyle ) + RETURN HB_QList():from( Qt_QFontDatabase_pointSizes( ::pPtr, cFamily, cStyle ) ) METHOD QFontDatabase:smoothSizes( cFamily, cStyle ) - RETURN Qt_QFontDatabase_smoothSizes( ::pPtr, cFamily, cStyle ) + RETURN HB_QList():from( Qt_QFontDatabase_smoothSizes( ::pPtr, cFamily, cStyle ) ) METHOD QFontDatabase:styleString( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QString styleString ( const QFont & font ) - // PO p QFont - RETURN Qt_QFontDatabase_styleString( ::pPtr, ... ) - // QString styleString ( const QFontInfo & fontInfo ) - // PO p QFontInfo - // RETURN Qt_QFontDatabase_styleString_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QFONT" + RETURN Qt_QFontDatabase_styleString( ::pPtr, ... ) + CASE "QFONTINFO" + RETURN Qt_QFontDatabase_styleString_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFontDatabase:styles( cFamily ) - RETURN Qt_QFontDatabase_styles( ::pPtr, cFamily ) + RETURN HB_QStringList():from( Qt_QFontDatabase_styles( ::pPtr, cFamily ) ) METHOD QFontDatabase:weight( cFamily, cStyle ) @@ -186,7 +212,7 @@ METHOD QFontDatabase:addApplicationFontFromData( pFontData ) METHOD QFontDatabase:applicationFontFamilies( nId ) - RETURN Qt_QFontDatabase_applicationFontFamilies( ::pPtr, nId ) + RETURN HB_QStringList():from( Qt_QFontDatabase_applicationFontFamilies( ::pPtr, nId ) ) METHOD QFontDatabase:removeAllApplicationFonts() @@ -198,7 +224,7 @@ METHOD QFontDatabase:removeApplicationFont( nId ) METHOD QFontDatabase:standardSizes() - RETURN Qt_QFontDatabase_standardSizes( ::pPtr ) + RETURN HB_QList():from( Qt_QFontDatabase_standardSizes( ::pPtr ) ) METHOD QFontDatabase:supportsThreadedFontRendering() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg index ac24d7c094..7b5e81bf8f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QFontDialog:new( ... ) METHOD QFontDialog:currentFont() - RETURN Qt_QFontDialog_currentFont( ::pPtr ) + RETURN HB_QFont():from( Qt_QFontDialog_currentFont( ::pPtr ) ) METHOD QFontDialog:options() @@ -101,7 +133,7 @@ METHOD QFontDialog:options() METHOD QFontDialog:selectedFont() - RETURN Qt_QFontDialog_selectedFont( ::pPtr ) + RETURN HB_QFont():from( Qt_QFontDialog_selectedFont( ::pPtr ) ) METHOD QFontDialog:setCurrentFont( pFont ) @@ -121,56 +153,44 @@ METHOD QFontDialog:testOption( nOption ) METHOD QFontDialog:getFont( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "C" .AND. aV[ 5 ] $ "N" - // QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title, FontDialogOptions options ) - // L @ bool, PO p QFont, PO p QWidget, C c QString, N n QFontDialog::FontDialogOptions - RETURN QFont():from( Qt_QFontDialog_getFont( ::pPtr, ... ) ) + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QFont():from( Qt_QFontDialog_getFont( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "C" - // QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title ) - // L @ bool, PO p QFont, PO p QWidget, C c QString - RETURN QFont():from( Qt_QFontDialog_getFont_2( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "PO" - // QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const char * name ) - // L @ bool, PO p QFont, PO p QWidget, PO p char - RETURN QFont():from( Qt_QFontDialog_getFont_1( ::pPtr, ... ) ) + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) + RETURN HB_QFont():from( Qt_QFontDialog_getFont_2( ::pPtr, ... ) ) + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) + RETURN HB_QFont():from( Qt_QFontDialog_getFont_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // QFont getFont ( bool * ok, const QFont & initial, QWidget * parent = 0 ) - // L @ bool, PO p QFont, PO p QWidget - RETURN QFont():from( Qt_QFontDialog_getFont_3( ::pPtr, ... ) ) + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QFont():from( Qt_QFontDialog_getFont_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "L" .AND. aV[ 2 ] $ "PO" - // QFont getFont ( bool * ok, QWidget * parent = 0 ) - // L @ bool, PO p QWidget - RETURN QFont():from( Qt_QFontDialog_getFont_4( ::pPtr, ... ) ) - // QFont getFont ( bool * ok, const QFont & initial, QWidget * parent = 0 ) - // L @ bool, PO p QFont, PO p QWidget - // RETURN QFont():from( Qt_QFontDialog_getFont_3( ::pPtr, ... ) ) + CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 2 ) ) + CASE "QWIDGET" + RETURN HB_QFont():from( Qt_QFontDialog_getFont_4( ::pPtr, ... ) ) + CASE "QFONT" + RETURN HB_QFont():from( Qt_QFontDialog_getFont_3( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "L" - // QFont getFont ( bool * ok, QWidget * parent = 0 ) - // L @ bool, PO p QWidget - RETURN QFont():from( Qt_QFontDialog_getFont_4( ::pPtr, ... ) ) + CASE hb_isLogical( hb_pvalue( 1 ) ) + RETURN HB_QFont():from( Qt_QFontDialog_getFont_4( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg b/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg index b54075110b..1c3e49023e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg b/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg index a68803d274..bbcfcbe4bf 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -115,55 +147,41 @@ METHOD QFontMetrics:averageCharWidth() METHOD QFontMetrics:boundingRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 8 + SWITCH PCount() + CASE 8 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "C" .AND. aV[ 7 ] $ "N" .AND. aV[ 8 ] $ "N" - // QRect boundingRect ( int x, int y, int width, int height, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - // N n int, N n int, N n int, N n int, N n int, C c QString, N n int, N @ int - RETURN QRect():from( Qt_QFontMetrics_boundingRect_2( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) + RETURN HB_QRect():from( Qt_QFontMetrics_boundingRect_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 6 + EXIT + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "C" - // QRect boundingRect ( int x, int y, int width, int height, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - // N n int, N n int, N n int, N n int, N n int, C c QString, N n int, N @ int - RETURN QRect():from( Qt_QFontMetrics_boundingRect_2( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) + RETURN HB_QRect():from( Qt_QFontMetrics_boundingRect_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 5 + EXIT + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "C" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QRect boundingRect ( const QRect & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - // PO p QRect, N n int, C c QString, N n int, N @ int - RETURN QRect():from( Qt_QFontMetrics_boundingRect_3( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QRect():from( Qt_QFontMetrics_boundingRect_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "C" - // QRect boundingRect ( const QRect & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - // PO p QRect, N n int, C c QString, N n int, N @ int - RETURN QRect():from( Qt_QFontMetrics_boundingRect_3( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) + RETURN HB_QRect():from( Qt_QFontMetrics_boundingRect_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QRect boundingRect ( const QString & text ) const - // C c QString - RETURN QRect():from( Qt_QFontMetrics_boundingRect_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QRect boundingRect ( QChar ch ) const - // PO p QChar - RETURN QRect():from( Qt_QFontMetrics_boundingRect( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QFontMetrics_boundingRect_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QFontMetrics_boundingRect( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFontMetrics:descent() @@ -219,7 +237,7 @@ METHOD QFontMetrics:rightBearing( pCh ) METHOD QFontMetrics:size( nFlags, cText, nTabStops, nTabArray ) - RETURN Qt_QFontMetrics_size( ::pPtr, nFlags, cText, nTabStops, nTabArray ) + RETURN HB_QSize():from( Qt_QFontMetrics_size( ::pPtr, nFlags, cText, nTabStops, nTabArray ) ) METHOD QFontMetrics:strikeOutPos() @@ -227,7 +245,7 @@ METHOD QFontMetrics:strikeOutPos() METHOD QFontMetrics:tightBoundingRect( cText ) - RETURN Qt_QFontMetrics_tightBoundingRect( ::pPtr, cText ) + RETURN HB_QRect():from( Qt_QFontMetrics_tightBoundingRect( ::pPtr, cText ) ) METHOD QFontMetrics:underlinePos() @@ -235,34 +253,23 @@ METHOD QFontMetrics:underlinePos() METHOD QFontMetrics:width( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // int width ( const QString & text, int len = -1 ) const - // C c QString, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QFontMetrics_width( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int width ( const QString & text, int len = -1 ) const - // C c QString, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFontMetrics_width( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int width ( QChar ch ) const - // PO p QChar + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QFontMetrics_width_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFontMetrics:xHeight() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg b/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg index 6c7b78d815..6784dfbe5c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -115,41 +147,29 @@ METHOD QFontMetricsF:averageCharWidth() METHOD QFontMetricsF:boundingRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "C" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QRectF boundingRect ( const QRectF & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - // PO p QRectF, N n int, C c QString, N n int, N @ int - RETURN QRectF():from( Qt_QFontMetricsF_boundingRect_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QRectF():from( Qt_QFontMetricsF_boundingRect_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "C" - // QRectF boundingRect ( const QRectF & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - // PO p QRectF, N n int, C c QString, N n int, N @ int - RETURN QRectF():from( Qt_QFontMetricsF_boundingRect_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) + RETURN HB_QRectF():from( Qt_QFontMetricsF_boundingRect_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QRectF boundingRect ( const QString & text ) const - // C c QString - RETURN QRectF():from( Qt_QFontMetricsF_boundingRect( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QRectF boundingRect ( QChar ch ) const - // PO p QChar - RETURN QRectF():from( Qt_QFontMetricsF_boundingRect_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QFontMetricsF_boundingRect( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QFontMetricsF_boundingRect_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFontMetricsF:descent() @@ -205,7 +225,7 @@ METHOD QFontMetricsF:rightBearing( pCh ) METHOD QFontMetricsF:size( nFlags, cText, nTabStops, nTabArray ) - RETURN Qt_QFontMetricsF_size( ::pPtr, nFlags, cText, nTabStops, nTabArray ) + RETURN HB_QSizeF():from( Qt_QFontMetricsF_size( ::pPtr, nFlags, cText, nTabStops, nTabArray ) ) METHOD QFontMetricsF:strikeOutPos() @@ -213,7 +233,7 @@ METHOD QFontMetricsF:strikeOutPos() METHOD QFontMetricsF:tightBoundingRect( cText ) - RETURN Qt_QFontMetricsF_tightBoundingRect( ::pPtr, cText ) + RETURN HB_QRectF():from( Qt_QFontMetricsF_tightBoundingRect( ::pPtr, cText ) ) METHOD QFontMetricsF:underlinePos() @@ -221,27 +241,17 @@ METHOD QFontMetricsF:underlinePos() METHOD QFontMetricsF:width( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // qreal width ( const QString & text ) const - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QFontMetricsF_width( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // qreal width ( QChar ch ) const - // PO p QChar + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QFontMetricsF_width_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFontMetricsF:xHeight() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg index 9d25262654..763d73d1d8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -110,34 +142,23 @@ METHOD QFormLayout:new( ... ) METHOD QFormLayout:addRow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // void addRow ( const QString & labelText, QWidget * field ) - // C c QString, PO p QWidget + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QFormLayout_addRow_2( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void addRow ( QWidget * label, QWidget * field ) - // PO p QWidget, PO p QWidget + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QFormLayout_addRow( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void addRow ( QWidget * widget ) - // PO p QWidget + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QFormLayout_addRow_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFormLayout:fieldGrowthPolicy() @@ -165,47 +186,42 @@ METHOD QFormLayout:horizontalSpacing() METHOD QFormLayout:insertRow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" - // void insertRow ( int row, const QString & labelText, QLayout * field ) - // N n int, C c QString, PO p QLayout - RETURN Qt_QFormLayout_insertRow_4( ::pPtr, ... ) - // void insertRow ( int row, const QString & labelText, QWidget * field ) - // N n int, C c QString, PO p QWidget - // RETURN Qt_QFormLayout_insertRow_3( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // void insertRow ( int row, QWidget * label, QLayout * field ) - // N n int, PO p QWidget, PO p QLayout - RETURN Qt_QFormLayout_insertRow_1( ::pPtr, ... ) - // void insertRow ( int row, QWidget * label, QWidget * field ) - // N n int, PO p QWidget, PO p QWidget - // RETURN Qt_QFormLayout_insertRow( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 2 ) ) + CASE "QSTRING" + RETURN Qt_QFormLayout_insertRow_4( ::pPtr, ... ) + CASE "QSTRING" + RETURN Qt_QFormLayout_insertRow_3( ::pPtr, ... ) + ENDSWITCH + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 2 ) ) + CASE "QWIDGET" + RETURN Qt_QFormLayout_insertRow_1( ::pPtr, ... ) + CASE "QWIDGET" + RETURN Qt_QFormLayout_insertRow( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void insertRow ( int row, QWidget * widget ) - // N n int, PO p QWidget - RETURN Qt_QFormLayout_insertRow_2( ::pPtr, ... ) - // void insertRow ( int row, QLayout * layout ) - // N n int, PO p QLayout - // RETURN Qt_QFormLayout_insertRow_5( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 2 ) ) + CASE "QWIDGET" + RETURN Qt_QFormLayout_insertRow_2( ::pPtr, ... ) + CASE "QLAYOUT" + RETURN Qt_QFormLayout_insertRow_5( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFormLayout:itemAt( nRow, nRole ) - RETURN Qt_QFormLayout_itemAt( ::pPtr, nRow, nRole ) + RETURN HB_QLayoutItem():from( Qt_QFormLayout_itemAt( ::pPtr, nRow, nRole ) ) METHOD QFormLayout:labelAlignment() @@ -213,26 +229,20 @@ METHOD QFormLayout:labelAlignment() METHOD QFormLayout:labelForField( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QWidget * labelForField ( QWidget * field ) const - // PO p QWidget - RETURN QWidget():from( Qt_QFormLayout_labelForField( ::pPtr, ... ) ) - // QWidget * labelForField ( QLayout * field ) const - // PO p QLayout - // RETURN QWidget():from( Qt_QFormLayout_labelForField_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN HB_QWidget():from( Qt_QFormLayout_labelForField( ::pPtr, ... ) ) + CASE "QLAYOUT" + RETURN HB_QWidget():from( Qt_QFormLayout_labelForField_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFormLayout:rowCount() diff --git a/harbour/contrib/hbqt/qtgui/g/TQFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQFrame.prg index 1b4aa7200b..350b9b9a84 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQFrame.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQFrame.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -98,7 +130,7 @@ METHOD QFrame:new( ... ) METHOD QFrame:frameRect() - RETURN Qt_QFrame_frameRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QFrame_frameRect( ::pPtr ) ) METHOD QFrame:frameShadow() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQGradient.prg index 23fcac3847..559a3c3b9f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGradient.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGradient.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg index b4b9a6db39..1b87429f3d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,34 +123,25 @@ METHOD QGraphicsEllipseItem:new( ... ) METHOD QGraphicsEllipseItem:rect() - RETURN Qt_QGraphicsEllipseItem_rect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsEllipseItem_rect( ::pPtr ) ) METHOD QGraphicsEllipseItem:setRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setRect ( qreal x, qreal y, qreal width, qreal height ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsEllipseItem_setRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setRect ( const QRectF & rect ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsEllipseItem_setRect( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsEllipseItem:setSpanAngle( nAngle ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg index 05bd4010b2..00c18f7f54 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -125,44 +157,33 @@ METHOD QGraphicsGridLayout:new( ... ) METHOD QGraphicsGridLayout:addItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void addItem ( QGraphicsLayoutItem * item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) - // PO p QGraphicsLayoutItem, N n int, N n int, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QGraphicsGridLayout_addItem( ::pPtr, ... ) ENDCASE - CASE nP == 5 + EXIT + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void addItem ( QGraphicsLayoutItem * item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) - // PO p QGraphicsLayoutItem, N n int, N n int, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QGraphicsGridLayout_addItem( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void addItem ( QGraphicsLayoutItem * item, int row, int column, Qt::Alignment alignment = 0 ) - // PO p QGraphicsLayoutItem, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsGridLayout_addItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void addItem ( QGraphicsLayoutItem * item, int row, int column, Qt::Alignment alignment = 0 ) - // PO p QGraphicsLayoutItem, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QGraphicsGridLayout_addItem_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsGridLayout:alignment( pItem ) @@ -206,30 +227,21 @@ METHOD QGraphicsGridLayout:horizontalSpacing() METHOD QGraphicsGridLayout:itemAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QGraphicsLayoutItem * itemAt ( int row, int column ) const - // N n int, N n int - RETURN QGraphicsLayoutItem():from( Qt_QGraphicsGridLayout_itemAt( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QGraphicsLayoutItem():from( Qt_QGraphicsGridLayout_itemAt( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // virtual QGraphicsLayoutItem * itemAt ( int index ) const - // N n int - RETURN QGraphicsLayoutItem():from( Qt_QGraphicsGridLayout_itemAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QGraphicsLayoutItem():from( Qt_QGraphicsGridLayout_itemAt_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsGridLayout:removeAt( nIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg index 868e3c02ec..bff385e497 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -210,11 +242,11 @@ METHOD QGraphicsItem:advance( nPhase ) METHOD QGraphicsItem:boundingRect() - RETURN Qt_QGraphicsItem_boundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_boundingRect( ::pPtr ) ) METHOD QGraphicsItem:boundingRegion( pItemToDeviceTransform ) - RETURN Qt_QGraphicsItem_boundingRegion( ::pPtr, hbqt_ptr( pItemToDeviceTransform ) ) + RETURN HB_QRegion():from( Qt_QGraphicsItem_boundingRegion( ::pPtr, hbqt_ptr( pItemToDeviceTransform ) ) ) METHOD QGraphicsItem:boundingRegionGranularity() @@ -226,11 +258,11 @@ METHOD QGraphicsItem:cacheMode() METHOD QGraphicsItem:childItems() - RETURN Qt_QGraphicsItem_childItems( ::pPtr ) + RETURN HB_QList():from( Qt_QGraphicsItem_childItems( ::pPtr ) ) METHOD QGraphicsItem:childrenBoundingRect() - RETURN Qt_QGraphicsItem_childrenBoundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_childrenBoundingRect( ::pPtr ) ) METHOD QGraphicsItem:clearFocus() @@ -238,7 +270,7 @@ METHOD QGraphicsItem:clearFocus() METHOD QGraphicsItem:clipPath() - RETURN Qt_QGraphicsItem_clipPath( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_clipPath( ::pPtr ) ) METHOD QGraphicsItem:collidesWithItem( pOther, nMode ) @@ -250,11 +282,11 @@ METHOD QGraphicsItem:collidesWithPath( pPath, nMode ) METHOD QGraphicsItem:collidingItems( nMode ) - RETURN Qt_QGraphicsItem_collidingItems( ::pPtr, nMode ) + RETURN HB_QList():from( Qt_QGraphicsItem_collidingItems( ::pPtr, nMode ) ) METHOD QGraphicsItem:commonAncestorItem( pOther ) - RETURN Qt_QGraphicsItem_commonAncestorItem( ::pPtr, hbqt_ptr( pOther ) ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsItem_commonAncestorItem( ::pPtr, hbqt_ptr( pOther ) ) ) METHOD QGraphicsItem:contains( pPoint ) @@ -262,15 +294,15 @@ METHOD QGraphicsItem:contains( pPoint ) METHOD QGraphicsItem:cursor() - RETURN Qt_QGraphicsItem_cursor( ::pPtr ) + RETURN HB_QCursor():from( Qt_QGraphicsItem_cursor( ::pPtr ) ) METHOD QGraphicsItem:data( nKey ) - RETURN Qt_QGraphicsItem_data( ::pPtr, nKey ) + RETURN HB_QVariant():from( Qt_QGraphicsItem_data( ::pPtr, nKey ) ) METHOD QGraphicsItem:deviceTransform( pViewportTransform ) - RETURN Qt_QGraphicsItem_deviceTransform( ::pPtr, hbqt_ptr( pViewportTransform ) ) + RETURN HB_QTransform():from( Qt_QGraphicsItem_deviceTransform( ::pPtr, hbqt_ptr( pViewportTransform ) ) ) METHOD QGraphicsItem:effectiveOpacity() @@ -278,41 +310,29 @@ METHOD QGraphicsItem:effectiveOpacity() METHOD QGraphicsItem:ensureVisible( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QGraphicsItem_ensureVisible_1( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsItem_ensureVisible_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void ensureVisible ( const QRectF & rect = QRectF(), int xmargin = 50, int ymargin = 50 ) - // PO p QRectF, N n int, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void ensureVisible ( const QRectF & rect = QRectF(), int xmargin = 50, int ymargin = 50 ) - // PO p QRectF, N n int, N n int + EXIT + CASE 0 RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:flags() @@ -328,7 +348,7 @@ METHOD QGraphicsItem:grabMouse() METHOD QGraphicsItem:group() - RETURN Qt_QGraphicsItem_group( ::pPtr ) + RETURN HB_QGraphicsItemGroup():from( Qt_QGraphicsItem_group( ::pPtr ) ) METHOD QGraphicsItem:handlesChildEvents() @@ -364,33 +384,23 @@ METHOD QGraphicsItem:isEnabled() METHOD QGraphicsItem:isObscured( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // bool isObscured ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsItem_isObscured_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool isObscured ( const QRectF & rect ) const - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsItem_isObscured_2( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // bool isObscured () const + EXIT + CASE 0 RETURN Qt_QGraphicsItem_isObscured( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:isObscuredBy( pItem ) @@ -422,427 +432,313 @@ METHOD QGraphicsItem:isWindow() METHOD QGraphicsItem:itemTransform( pOther, lOk ) - RETURN Qt_QGraphicsItem_itemTransform( ::pPtr, hbqt_ptr( pOther ), lOk ) + RETURN HB_QTransform():from( Qt_QGraphicsItem_itemTransform( ::pPtr, hbqt_ptr( pOther ), lOk ) ) METHOD QGraphicsItem:mapFromItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QPolygonF mapFromItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const - // PO p QGraphicsItem, N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromItem_4( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromItem_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QPointF mapFromItem ( const QGraphicsItem * item, qreal x, qreal y ) const - // PO p QGraphicsItem, N n qreal, N n qreal - RETURN QPointF():from( Qt_QGraphicsItem_mapFromItem_5( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapFromItem_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QPainterPath mapFromItem ( const QGraphicsItem * item, const QPainterPath & path ) const - // PO p QGraphicsItem, PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsItem_mapFromItem_3( ::pPtr, ... ) ) - // QPointF mapFromItem ( const QGraphicsItem * item, const QPointF & point ) const - // PO p QGraphicsItem, PO p QPointF - // RETURN QPointF():from( Qt_QGraphicsItem_mapFromItem( ::pPtr, ... ) ) - // QPolygonF mapFromItem ( const QGraphicsItem * item, const QRectF & rect ) const - // PO p QGraphicsItem, PO p QRectF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromItem_1( ::pPtr, ... ) ) - // QPolygonF mapFromItem ( const QGraphicsItem * item, const QPolygonF & polygon ) const - // PO p QGraphicsItem, PO p QPolygonF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromItem_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_mapFromItem_3( ::pPtr, ... ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapFromItem( ::pPtr, ... ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromItem_1( ::pPtr, ... ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromItem_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapFromParent( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPolygonF mapFromParent ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromParent_4( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromParent_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPointF mapFromParent ( qreal x, qreal y ) const - // N n qreal, N n qreal - RETURN QPointF():from( Qt_QGraphicsItem_mapFromParent_5( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapFromParent_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPainterPath mapFromParent ( const QPainterPath & path ) const - // PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsItem_mapFromParent_3( ::pPtr, ... ) ) - // QPointF mapFromParent ( const QPointF & point ) const - // PO p QPointF - // RETURN QPointF():from( Qt_QGraphicsItem_mapFromParent( ::pPtr, ... ) ) - // QPolygonF mapFromParent ( const QRectF & rect ) const - // PO p QRectF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromParent_1( ::pPtr, ... ) ) - // QPolygonF mapFromParent ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromParent_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_mapFromParent_3( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapFromParent( ::pPtr, ... ) ) + CASE "QRECTF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromParent_1( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromParent_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapFromScene( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPolygonF mapFromScene ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromScene_4( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromScene_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPointF mapFromScene ( qreal x, qreal y ) const - // N n qreal, N n qreal - RETURN QPointF():from( Qt_QGraphicsItem_mapFromScene_5( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapFromScene_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPainterPath mapFromScene ( const QPainterPath & path ) const - // PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsItem_mapFromScene_3( ::pPtr, ... ) ) - // QPointF mapFromScene ( const QPointF & point ) const - // PO p QPointF - // RETURN QPointF():from( Qt_QGraphicsItem_mapFromScene( ::pPtr, ... ) ) - // QPolygonF mapFromScene ( const QRectF & rect ) const - // PO p QRectF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromScene_1( ::pPtr, ... ) ) - // QPolygonF mapFromScene ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapFromScene_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_mapFromScene_3( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapFromScene( ::pPtr, ... ) ) + CASE "QRECTF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromScene_1( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapFromScene_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapRectFromItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QRectF mapRectFromItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const - // PO p QGraphicsItem, N n qreal, N n qreal, N n qreal, N n qreal - RETURN QRectF():from( Qt_QGraphicsItem_mapRectFromItem_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectFromItem_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QRectF mapRectFromItem ( const QGraphicsItem * item, const QRectF & rect ) const - // PO p QGraphicsItem, PO p QRectF - RETURN QRectF():from( Qt_QGraphicsItem_mapRectFromItem( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectFromItem( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapRectFromParent( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QRectF mapRectFromParent ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QRectF():from( Qt_QGraphicsItem_mapRectFromParent_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectFromParent_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF mapRectFromParent ( const QRectF & rect ) const - // PO p QRectF - RETURN QRectF():from( Qt_QGraphicsItem_mapRectFromParent( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectFromParent( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapRectFromScene( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QRectF mapRectFromScene ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QRectF():from( Qt_QGraphicsItem_mapRectFromScene_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectFromScene_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF mapRectFromScene ( const QRectF & rect ) const - // PO p QRectF - RETURN QRectF():from( Qt_QGraphicsItem_mapRectFromScene( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectFromScene( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapRectToItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QRectF mapRectToItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const - // PO p QGraphicsItem, N n qreal, N n qreal, N n qreal, N n qreal - RETURN QRectF():from( Qt_QGraphicsItem_mapRectToItem_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectToItem_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QRectF mapRectToItem ( const QGraphicsItem * item, const QRectF & rect ) const - // PO p QGraphicsItem, PO p QRectF - RETURN QRectF():from( Qt_QGraphicsItem_mapRectToItem( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectToItem( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapRectToParent( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QRectF mapRectToParent ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QRectF():from( Qt_QGraphicsItem_mapRectToParent_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectToParent_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF mapRectToParent ( const QRectF & rect ) const - // PO p QRectF - RETURN QRectF():from( Qt_QGraphicsItem_mapRectToParent( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectToParent( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapRectToScene( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QRectF mapRectToScene ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QRectF():from( Qt_QGraphicsItem_mapRectToScene_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectToScene_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF mapRectToScene ( const QRectF & rect ) const - // PO p QRectF - RETURN QRectF():from( Qt_QGraphicsItem_mapRectToScene( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_mapRectToScene( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapToItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QPolygonF mapToItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const - // PO p QGraphicsItem, N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygonF():from( Qt_QGraphicsItem_mapToItem_4( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToItem_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QPointF mapToItem ( const QGraphicsItem * item, qreal x, qreal y ) const - // PO p QGraphicsItem, N n qreal, N n qreal - RETURN QPointF():from( Qt_QGraphicsItem_mapToItem_5( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapToItem_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QPainterPath mapToItem ( const QGraphicsItem * item, const QPainterPath & path ) const - // PO p QGraphicsItem, PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsItem_mapToItem_3( ::pPtr, ... ) ) - // QPointF mapToItem ( const QGraphicsItem * item, const QPointF & point ) const - // PO p QGraphicsItem, PO p QPointF - // RETURN QPointF():from( Qt_QGraphicsItem_mapToItem( ::pPtr, ... ) ) - // QPolygonF mapToItem ( const QGraphicsItem * item, const QRectF & rect ) const - // PO p QGraphicsItem, PO p QRectF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapToItem_1( ::pPtr, ... ) ) - // QPolygonF mapToItem ( const QGraphicsItem * item, const QPolygonF & polygon ) const - // PO p QGraphicsItem, PO p QPolygonF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapToItem_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_mapToItem_3( ::pPtr, ... ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapToItem( ::pPtr, ... ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToItem_1( ::pPtr, ... ) ) + CASE "QGRAPHICSITEM" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToItem_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapToParent( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPolygonF mapToParent ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygonF():from( Qt_QGraphicsItem_mapToParent_4( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToParent_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPointF mapToParent ( qreal x, qreal y ) const - // N n qreal, N n qreal - RETURN QPointF():from( Qt_QGraphicsItem_mapToParent_5( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapToParent_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPainterPath mapToParent ( const QPainterPath & path ) const - // PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsItem_mapToParent_3( ::pPtr, ... ) ) - // QPointF mapToParent ( const QPointF & point ) const - // PO p QPointF - // RETURN QPointF():from( Qt_QGraphicsItem_mapToParent( ::pPtr, ... ) ) - // QPolygonF mapToParent ( const QRectF & rect ) const - // PO p QRectF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapToParent_1( ::pPtr, ... ) ) - // QPolygonF mapToParent ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapToParent_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_mapToParent_3( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapToParent( ::pPtr, ... ) ) + CASE "QRECTF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToParent_1( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToParent_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:mapToScene( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPolygonF mapToScene ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygonF():from( Qt_QGraphicsItem_mapToScene_4( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToScene_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPointF mapToScene ( qreal x, qreal y ) const - // N n qreal, N n qreal - RETURN QPointF():from( Qt_QGraphicsItem_mapToScene_5( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapToScene_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPainterPath mapToScene ( const QPainterPath & path ) const - // PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsItem_mapToScene_3( ::pPtr, ... ) ) - // QPointF mapToScene ( const QPointF & point ) const - // PO p QPointF - // RETURN QPointF():from( Qt_QGraphicsItem_mapToScene( ::pPtr, ... ) ) - // QPolygonF mapToScene ( const QRectF & rect ) const - // PO p QRectF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapToScene_1( ::pPtr, ... ) ) - // QPolygonF mapToScene ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygonF():from( Qt_QGraphicsItem_mapToScene_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_mapToScene_3( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QPointF():from( Qt_QGraphicsItem_mapToScene( ::pPtr, ... ) ) + CASE "QRECTF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToScene_1( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygonF():from( Qt_QGraphicsItem_mapToScene_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:moveBy( nDx, nDy ) @@ -854,7 +750,7 @@ METHOD QGraphicsItem:opacity() METHOD QGraphicsItem:opaqueArea() - RETURN Qt_QGraphicsItem_opaqueArea( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_opaqueArea( ::pPtr ) ) METHOD QGraphicsItem:paint( pPainter, pOption, pWidget ) @@ -862,15 +758,15 @@ METHOD QGraphicsItem:paint( pPainter, pOption, pWidget ) METHOD QGraphicsItem:parentItem() - RETURN Qt_QGraphicsItem_parentItem( ::pPtr ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsItem_parentItem( ::pPtr ) ) METHOD QGraphicsItem:parentWidget() - RETURN Qt_QGraphicsItem_parentWidget( ::pPtr ) + RETURN HB_QGraphicsWidget():from( Qt_QGraphicsItem_parentWidget( ::pPtr ) ) METHOD QGraphicsItem:pos() - RETURN Qt_QGraphicsItem_pos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_pos( ::pPtr ) ) METHOD QGraphicsItem:removeSceneEventFilter( pFilterItem ) @@ -890,19 +786,19 @@ METHOD QGraphicsItem:scale( nSx, nSy ) METHOD QGraphicsItem:scene() - RETURN Qt_QGraphicsItem_scene( ::pPtr ) + RETURN HB_QGraphicsScene():from( Qt_QGraphicsItem_scene( ::pPtr ) ) METHOD QGraphicsItem:sceneBoundingRect() - RETURN Qt_QGraphicsItem_sceneBoundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsItem_sceneBoundingRect( ::pPtr ) ) METHOD QGraphicsItem:scenePos() - RETURN Qt_QGraphicsItem_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsItem_scenePos( ::pPtr ) ) METHOD QGraphicsItem:sceneTransform() - RETURN Qt_QGraphicsItem_sceneTransform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QGraphicsItem_sceneTransform( ::pPtr ) ) METHOD QGraphicsItem:scroll( nDx, nDy, pRect ) @@ -970,30 +866,21 @@ METHOD QGraphicsItem:setParentItem( pParent ) METHOD QGraphicsItem:setPos( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setPos ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsItem_setPos_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setPos ( const QPointF & pos ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsItem_setPos( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:setSelected( lSelected ) @@ -1017,7 +904,7 @@ METHOD QGraphicsItem:setZValue( nZ ) METHOD QGraphicsItem:shape() - RETURN Qt_QGraphicsItem_shape( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QGraphicsItem_shape( ::pPtr ) ) METHOD QGraphicsItem:shear( nSh, nSv ) @@ -1033,15 +920,15 @@ METHOD QGraphicsItem:toolTip() METHOD QGraphicsItem:topLevelItem() - RETURN Qt_QGraphicsItem_topLevelItem( ::pPtr ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsItem_topLevelItem( ::pPtr ) ) METHOD QGraphicsItem:topLevelWidget() - RETURN Qt_QGraphicsItem_topLevelWidget( ::pPtr ) + RETURN HB_QGraphicsWidget():from( Qt_QGraphicsItem_topLevelWidget( ::pPtr ) ) METHOD QGraphicsItem:transform() - RETURN Qt_QGraphicsItem_transform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QGraphicsItem_transform( ::pPtr ) ) METHOD QGraphicsItem:translate( nDx, nDy ) @@ -1065,38 +952,27 @@ METHOD QGraphicsItem:unsetCursor() METHOD QGraphicsItem:update( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void update ( qreal x, qreal y, qreal width, qreal height ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsItem_update_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void update ( const QRectF & rect = QRectF() ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsItem_update( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void update ( const QRectF & rect = QRectF() ) - // PO p QRectF + EXIT + CASE 0 RETURN Qt_QGraphicsItem_update( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsItem:window() - RETURN Qt_QGraphicsItem_window( ::pPtr ) + RETURN HB_QGraphicsWidget():from( Qt_QGraphicsItem_window( ::pPtr ) ) METHOD QGraphicsItem:x() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg index 0bc2e554a3..3f9b8fb300 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -117,15 +149,15 @@ METHOD QGraphicsItemAnimation:horizontalShearAt( nStep ) METHOD QGraphicsItemAnimation:item() - RETURN Qt_QGraphicsItemAnimation_item( ::pPtr ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsItemAnimation_item( ::pPtr ) ) METHOD QGraphicsItemAnimation:matrixAt( nStep ) - RETURN Qt_QGraphicsItemAnimation_matrixAt( ::pPtr, nStep ) + RETURN HB_QMatrix():from( Qt_QGraphicsItemAnimation_matrixAt( ::pPtr, nStep ) ) METHOD QGraphicsItemAnimation:posAt( nStep ) - RETURN Qt_QGraphicsItemAnimation_posAt( ::pPtr, nStep ) + RETURN HB_QPointF():from( Qt_QGraphicsItemAnimation_posAt( ::pPtr, nStep ) ) METHOD QGraphicsItemAnimation:rotationAt( nStep ) @@ -161,7 +193,7 @@ METHOD QGraphicsItemAnimation:setTranslationAt( nStep, nDx, nDy ) METHOD QGraphicsItemAnimation:timeLine() - RETURN Qt_QGraphicsItemAnimation_timeLine( ::pPtr ) + RETURN HB_QTimeLine():from( Qt_QGraphicsItemAnimation_timeLine( ::pPtr ) ) METHOD QGraphicsItemAnimation:verticalScaleAt( nStep ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg index 7a9db51045..e68445d316 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg index 0096d0d02d..6d79078924 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -109,7 +141,7 @@ METHOD QGraphicsLayout:isActivated() METHOD QGraphicsLayout:itemAt( nI ) - RETURN Qt_QGraphicsLayout_itemAt( ::pPtr, nI ) + RETURN HB_QGraphicsLayoutItem():from( Qt_QGraphicsLayout_itemAt( ::pPtr, nI ) ) METHOD QGraphicsLayout:removeAt( nIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg index 37c25e85c8..46bd73172b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,15 +148,15 @@ METHOD QGraphicsLayoutItem:new( ... ) METHOD QGraphicsLayoutItem:contentsRect() - RETURN Qt_QGraphicsLayoutItem_contentsRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsLayoutItem_contentsRect( ::pPtr ) ) METHOD QGraphicsLayoutItem:effectiveSizeHint( nWhich, pConstraint ) - RETURN Qt_QGraphicsLayoutItem_effectiveSizeHint( ::pPtr, nWhich, hbqt_ptr( pConstraint ) ) + RETURN HB_QSizeF():from( Qt_QGraphicsLayoutItem_effectiveSizeHint( ::pPtr, nWhich, hbqt_ptr( pConstraint ) ) ) METHOD QGraphicsLayoutItem:geometry() - RETURN Qt_QGraphicsLayoutItem_geometry( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsLayoutItem_geometry( ::pPtr ) ) METHOD QGraphicsLayoutItem:getContentsMargins( nLeft, nTop, nRight, nBottom ) @@ -132,7 +164,7 @@ METHOD QGraphicsLayoutItem:getContentsMargins( nLeft, nTop, nRight, nBottom ) METHOD QGraphicsLayoutItem:graphicsItem() - RETURN Qt_QGraphicsLayoutItem_graphicsItem( ::pPtr ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsLayoutItem_graphicsItem( ::pPtr ) ) METHOD QGraphicsLayoutItem:isLayout() @@ -144,7 +176,7 @@ METHOD QGraphicsLayoutItem:maximumHeight() METHOD QGraphicsLayoutItem:maximumSize() - RETURN Qt_QGraphicsLayoutItem_maximumSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QGraphicsLayoutItem_maximumSize( ::pPtr ) ) METHOD QGraphicsLayoutItem:maximumWidth() @@ -156,7 +188,7 @@ METHOD QGraphicsLayoutItem:minimumHeight() METHOD QGraphicsLayoutItem:minimumSize() - RETURN Qt_QGraphicsLayoutItem_minimumSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QGraphicsLayoutItem_minimumSize( ::pPtr ) ) METHOD QGraphicsLayoutItem:minimumWidth() @@ -168,7 +200,7 @@ METHOD QGraphicsLayoutItem:ownedByLayout() METHOD QGraphicsLayoutItem:parentLayoutItem() - RETURN Qt_QGraphicsLayoutItem_parentLayoutItem( ::pPtr ) + RETURN HB_QGraphicsLayoutItem():from( Qt_QGraphicsLayoutItem_parentLayoutItem( ::pPtr ) ) METHOD QGraphicsLayoutItem:preferredHeight() @@ -176,7 +208,7 @@ METHOD QGraphicsLayoutItem:preferredHeight() METHOD QGraphicsLayoutItem:preferredSize() - RETURN Qt_QGraphicsLayoutItem_preferredSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QGraphicsLayoutItem_preferredSize( ::pPtr ) ) METHOD QGraphicsLayoutItem:preferredWidth() @@ -192,30 +224,21 @@ METHOD QGraphicsLayoutItem:setMaximumHeight( nHeight ) METHOD QGraphicsLayoutItem:setMaximumSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setMaximumSize ( qreal w, qreal h ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsLayoutItem_setMaximumSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setMaximumSize ( const QSizeF & size ) - // PO p QSizeF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsLayoutItem_setMaximumSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsLayoutItem:setMaximumWidth( nWidth ) @@ -227,30 +250,21 @@ METHOD QGraphicsLayoutItem:setMinimumHeight( nHeight ) METHOD QGraphicsLayoutItem:setMinimumSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setMinimumSize ( qreal w, qreal h ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsLayoutItem_setMinimumSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setMinimumSize ( const QSizeF & size ) - // PO p QSizeF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsLayoutItem_setMinimumSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsLayoutItem:setMinimumWidth( nWidth ) @@ -266,30 +280,21 @@ METHOD QGraphicsLayoutItem:setPreferredHeight( nHeight ) METHOD QGraphicsLayoutItem:setPreferredSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setPreferredSize ( qreal w, qreal h ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsLayoutItem_setPreferredSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setPreferredSize ( const QSizeF & size ) - // PO p QSizeF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsLayoutItem_setPreferredSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsLayoutItem:setPreferredWidth( nWidth ) @@ -297,41 +302,31 @@ METHOD QGraphicsLayoutItem:setPreferredWidth( nWidth ) METHOD QGraphicsLayoutItem:setSizePolicy( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void setSizePolicy ( QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType ) - // N n QSizePolicy::Policy, N n QSizePolicy::Policy, N n QSizePolicy::ControlType + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QGraphicsLayoutItem_setSizePolicy_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setSizePolicy ( QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType ) - // N n QSizePolicy::Policy, N n QSizePolicy::Policy, N n QSizePolicy::ControlType + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsLayoutItem_setSizePolicy_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setSizePolicy ( const QSizePolicy & policy ) - // PO p QSizePolicy + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsLayoutItem_setSizePolicy( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsLayoutItem:sizePolicy() - RETURN Qt_QGraphicsLayoutItem_sizePolicy( ::pPtr ) + RETURN HB_QSizePolicy():from( Qt_QGraphicsLayoutItem_sizePolicy( ::pPtr ) ) METHOD QGraphicsLayoutItem:updateGeometry() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg index 6e90e9ebaa..c4c9d33cf5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,38 +121,29 @@ METHOD QGraphicsLineItem:new( ... ) METHOD QGraphicsLineItem:line() - RETURN Qt_QGraphicsLineItem_line( ::pPtr ) + RETURN HB_QLineF():from( Qt_QGraphicsLineItem_line( ::pPtr ) ) METHOD QGraphicsLineItem:pen() - RETURN Qt_QGraphicsLineItem_pen( ::pPtr ) + RETURN HB_QPen():from( Qt_QGraphicsLineItem_pen( ::pPtr ) ) METHOD QGraphicsLineItem:setLine( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setLine ( qreal x1, qreal y1, qreal x2, qreal y2 ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsLineItem_setLine_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setLine ( const QLineF & line ) - // PO p QLineF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsLineItem_setLine( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsLineItem:setPen( pPen ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg index aa4700954a..e0f7ef4a2f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg index 269854f603..76d3a3ca62 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,7 +119,7 @@ METHOD QGraphicsPathItem:new( ... ) METHOD QGraphicsPathItem:path() - RETURN Qt_QGraphicsPathItem_path( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QGraphicsPathItem_path( ::pPtr ) ) METHOD QGraphicsPathItem:setPath( pPath ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg index 9ab9393e45..81bd0cb3c7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,38 +125,29 @@ METHOD QGraphicsPixmapItem:new( ... ) METHOD QGraphicsPixmapItem:offset() - RETURN Qt_QGraphicsPixmapItem_offset( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsPixmapItem_offset( ::pPtr ) ) METHOD QGraphicsPixmapItem:pixmap() - RETURN Qt_QGraphicsPixmapItem_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QGraphicsPixmapItem_pixmap( ::pPtr ) ) METHOD QGraphicsPixmapItem:setOffset( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setOffset ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsPixmapItem_setOffset_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setOffset ( const QPointF & offset ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsPixmapItem_setOffset( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsPixmapItem:setPixmap( pPixmap ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg index bef4f06669..096aba1f5b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QGraphicsPolygonItem:fillRule() METHOD QGraphicsPolygonItem:polygon() - RETURN Qt_QGraphicsPolygonItem_polygon( ::pPtr ) + RETURN HB_QPolygonF():from( Qt_QGraphicsPolygonItem_polygon( ::pPtr ) ) METHOD QGraphicsPolygonItem:setFillRule( nRule ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg index c86dba0b06..59f3745aa3 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,7 +121,7 @@ METHOD QGraphicsProxyWidget:new( ... ) METHOD QGraphicsProxyWidget:createProxyForChildWidget( pChild ) - RETURN Qt_QGraphicsProxyWidget_createProxyForChildWidget( ::pPtr, hbqt_ptr( pChild ) ) + RETURN HB_QGraphicsProxyWidget():from( Qt_QGraphicsProxyWidget_createProxyForChildWidget( ::pPtr, hbqt_ptr( pChild ) ) ) METHOD QGraphicsProxyWidget:setWidget( pWidget ) @@ -97,9 +129,9 @@ METHOD QGraphicsProxyWidget:setWidget( pWidget ) METHOD QGraphicsProxyWidget:subWidgetRect( pWidget ) - RETURN Qt_QGraphicsProxyWidget_subWidgetRect( ::pPtr, hbqt_ptr( pWidget ) ) + RETURN HB_QRectF():from( Qt_QGraphicsProxyWidget_subWidgetRect( ::pPtr, hbqt_ptr( pWidget ) ) ) METHOD QGraphicsProxyWidget:widget() - RETURN Qt_QGraphicsProxyWidget_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QGraphicsProxyWidget_widget( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg index f03f4d7824..8bf7f5794b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,32 +119,23 @@ METHOD QGraphicsRectItem:new( ... ) METHOD QGraphicsRectItem:rect() - RETURN Qt_QGraphicsRectItem_rect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsRectItem_rect( ::pPtr ) ) METHOD QGraphicsRectItem:setRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setRect ( qreal x, qreal y, qreal width, qreal height ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsRectItem_setRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setRect ( const QRectF & rectangle ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsRectItem_setRect( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg index 79afcea8db..2c20054156 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -141,48 +173,37 @@ METHOD QGraphicsScene:new( ... ) METHOD QGraphicsScene:activeWindow() - RETURN Qt_QGraphicsScene_activeWindow( ::pPtr ) + RETURN HB_QGraphicsWidget():from( Qt_QGraphicsScene_activeWindow( ::pPtr ) ) METHOD QGraphicsScene:addEllipse( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "PO" .AND. aV[ 6 ] $ "PO" - // QGraphicsEllipseItem * addEllipse ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // N n qreal, N n qreal, N n qreal, N n qreal, PO p QPen, PO p QBrush - RETURN QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) .AND. hb_isObject( hb_pvalue( 6 ) ) + RETURN HB_QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QGraphicsEllipseItem * addEllipse ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // N n qreal, N n qreal, N n qreal, N n qreal, PO p QPen, PO p QBrush - RETURN QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // QGraphicsEllipseItem * addEllipse ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // PO p QRectF, PO p QPen, PO p QBrush - RETURN QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QGraphicsEllipseItem * addEllipse ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // PO p QRectF, PO p QPen, PO p QBrush - RETURN QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QGraphicsEllipseItem():from( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:addItem( pItem ) @@ -190,113 +211,91 @@ METHOD QGraphicsScene:addItem( pItem ) METHOD QGraphicsScene:addLine( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "PO" - // QGraphicsLineItem * addLine ( qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen() ) - // N n qreal, N n qreal, N n qreal, N n qreal, PO p QPen - RETURN QGraphicsLineItem():from( Qt_QGraphicsScene_addLine_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) + RETURN HB_QGraphicsLineItem():from( Qt_QGraphicsScene_addLine_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QGraphicsLineItem * addLine ( qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen() ) - // N n qreal, N n qreal, N n qreal, N n qreal, PO p QPen - RETURN QGraphicsLineItem():from( Qt_QGraphicsScene_addLine_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QGraphicsLineItem():from( Qt_QGraphicsScene_addLine_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QGraphicsLineItem * addLine ( const QLineF & line, const QPen & pen = QPen() ) - // PO p QLineF, PO p QPen - RETURN QGraphicsLineItem():from( Qt_QGraphicsScene_addLine( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QGraphicsLineItem():from( Qt_QGraphicsScene_addLine( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QGraphicsLineItem * addLine ( const QLineF & line, const QPen & pen = QPen() ) - // PO p QLineF, PO p QPen - RETURN QGraphicsLineItem():from( Qt_QGraphicsScene_addLine( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QGraphicsLineItem():from( Qt_QGraphicsScene_addLine( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:addPath( pPath, pPen, pBrush ) - RETURN Qt_QGraphicsScene_addPath( ::pPtr, hbqt_ptr( pPath ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) ) + RETURN HB_QGraphicsPathItem():from( Qt_QGraphicsScene_addPath( ::pPtr, hbqt_ptr( pPath ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) ) ) METHOD QGraphicsScene:addPixmap( pPixmap ) - RETURN Qt_QGraphicsScene_addPixmap( ::pPtr, hbqt_ptr( pPixmap ) ) + RETURN HB_QGraphicsPixmapItem():from( Qt_QGraphicsScene_addPixmap( ::pPtr, hbqt_ptr( pPixmap ) ) ) METHOD QGraphicsScene:addPolygon( pPolygon, pPen, pBrush ) - RETURN Qt_QGraphicsScene_addPolygon( ::pPtr, hbqt_ptr( pPolygon ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) ) + RETURN HB_QGraphicsPolygonItem():from( Qt_QGraphicsScene_addPolygon( ::pPtr, hbqt_ptr( pPolygon ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) ) ) METHOD QGraphicsScene:addRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "PO" .AND. aV[ 6 ] $ "PO" - // QGraphicsRectItem * addRect ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // N n qreal, N n qreal, N n qreal, N n qreal, PO p QPen, PO p QBrush - RETURN QGraphicsRectItem():from( Qt_QGraphicsScene_addRect_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) .AND. hb_isObject( hb_pvalue( 6 ) ) + RETURN HB_QGraphicsRectItem():from( Qt_QGraphicsScene_addRect_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QGraphicsRectItem * addRect ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // N n qreal, N n qreal, N n qreal, N n qreal, PO p QPen, PO p QBrush - RETURN QGraphicsRectItem():from( Qt_QGraphicsScene_addRect_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QGraphicsRectItem():from( Qt_QGraphicsScene_addRect_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // QGraphicsRectItem * addRect ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // PO p QRectF, PO p QPen, PO p QBrush - RETURN QGraphicsRectItem():from( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QGraphicsRectItem():from( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QGraphicsRectItem * addRect ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) - // PO p QRectF, PO p QPen, PO p QBrush - RETURN QGraphicsRectItem():from( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QGraphicsRectItem():from( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:addSimpleText( cText, pFont ) - RETURN Qt_QGraphicsScene_addSimpleText( ::pPtr, cText, hbqt_ptr( pFont ) ) + RETURN HB_QGraphicsSimpleTextItem():from( Qt_QGraphicsScene_addSimpleText( ::pPtr, cText, hbqt_ptr( pFont ) ) ) METHOD QGraphicsScene:addText( cText, pFont ) - RETURN Qt_QGraphicsScene_addText( ::pPtr, cText, hbqt_ptr( pFont ) ) + RETURN HB_QGraphicsTextItem():from( Qt_QGraphicsScene_addText( ::pPtr, cText, hbqt_ptr( pFont ) ) ) METHOD QGraphicsScene:addWidget( pWidget, nWFlags ) - RETURN Qt_QGraphicsScene_addWidget( ::pPtr, hbqt_ptr( pWidget ), nWFlags ) + RETURN HB_QGraphicsProxyWidget():from( Qt_QGraphicsScene_addWidget( ::pPtr, hbqt_ptr( pWidget ), nWFlags ) ) METHOD QGraphicsScene:backgroundBrush() - RETURN Qt_QGraphicsScene_backgroundBrush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QGraphicsScene_backgroundBrush( ::pPtr ) ) METHOD QGraphicsScene:bspTreeDepth() @@ -308,7 +307,7 @@ METHOD QGraphicsScene:clearFocus() METHOD QGraphicsScene:collidingItems( pItem, nMode ) - RETURN Qt_QGraphicsScene_collidingItems( ::pPtr, hbqt_ptr( pItem ), nMode ) + RETURN HB_QList():from( Qt_QGraphicsScene_collidingItems( ::pPtr, hbqt_ptr( pItem ), nMode ) ) METHOD QGraphicsScene:destroyItemGroup( pGroup ) @@ -316,15 +315,15 @@ METHOD QGraphicsScene:destroyItemGroup( pGroup ) METHOD QGraphicsScene:focusItem() - RETURN Qt_QGraphicsScene_focusItem( ::pPtr ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsScene_focusItem( ::pPtr ) ) METHOD QGraphicsScene:font() - RETURN Qt_QGraphicsScene_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QGraphicsScene_font( ::pPtr ) ) METHOD QGraphicsScene:foregroundBrush() - RETURN Qt_QGraphicsScene_foregroundBrush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QGraphicsScene_foregroundBrush( ::pPtr ) ) METHOD QGraphicsScene:hasFocus() @@ -336,41 +335,29 @@ METHOD QGraphicsScene:height() METHOD QGraphicsScene:invalidate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void invalidate ( qreal x, qreal y, qreal w, qreal h, SceneLayers layers = AllLayers ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n QGraphicsScene::SceneLayers + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QGraphicsScene_invalidate( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void invalidate ( qreal x, qreal y, qreal w, qreal h, SceneLayers layers = AllLayers ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n QGraphicsScene::SceneLayers + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsScene_invalidate( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void invalidate ( const QRectF & rect = QRectF(), SceneLayers layers = AllLayers ) - // PO p QRectF, N n QGraphicsScene::SceneLayers + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsScene_invalidate_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void invalidate ( const QRectF & rect = QRectF(), SceneLayers layers = AllLayers ) - // PO p QRectF, N n QGraphicsScene::SceneLayers + EXIT + CASE 0 RETURN Qt_QGraphicsScene_invalidate_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:isSortCacheEnabled() @@ -378,30 +365,21 @@ METHOD QGraphicsScene:isSortCacheEnabled() METHOD QGraphicsScene:itemAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QGraphicsItem * itemAt ( qreal x, qreal y ) const - // N n qreal, N n qreal - RETURN QGraphicsItem():from( Qt_QGraphicsScene_itemAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsScene_itemAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QGraphicsItem * itemAt ( const QPointF & position ) const - // PO p QPointF - RETURN QGraphicsItem():from( Qt_QGraphicsScene_itemAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsScene_itemAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:itemIndexMethod() @@ -409,74 +387,63 @@ METHOD QGraphicsScene:itemIndexMethod() METHOD QGraphicsScene:items( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QList items ( qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // N n qreal, N n qreal, N n qreal, N n qreal, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsScene_items_2( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QList():from( Qt_QGraphicsScene_items_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QList items ( qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // N n qreal, N n qreal, N n qreal, N n qreal, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsScene_items_2( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QList():from( Qt_QGraphicsScene_items_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // QList items ( const QPolygonF & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPolygonF, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsScene_items_4( ::pPtr, ... ) - // QList items ( const QRectF & rectangle, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QRectF, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsScene_items_3( ::pPtr, ... ) - // QList items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPainterPath, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsScene_items_5( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGONF" + RETURN HB_QList():from( Qt_QGraphicsScene_items_4( ::pPtr, ... ) ) + CASE "QRECTF" + RETURN HB_QList():from( Qt_QGraphicsScene_items_3( ::pPtr, ... ) ) + CASE "QPAINTERPATH" + RETURN HB_QList():from( Qt_QGraphicsScene_items_5( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QList items ( const QRectF & rectangle, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QRectF, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsScene_items_3( ::pPtr, ... ) - // QList items ( const QPolygonF & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPolygonF, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsScene_items_4( ::pPtr, ... ) - // QList items ( const QPointF & pos ) const - // PO p QPointF - // RETURN Qt_QGraphicsScene_items_1( ::pPtr, ... ) - // QList items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPainterPath, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsScene_items_5( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN HB_QList():from( Qt_QGraphicsScene_items_3( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QList():from( Qt_QGraphicsScene_items_4( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QList():from( Qt_QGraphicsScene_items_1( ::pPtr, ... ) ) + CASE "QPAINTERPATH" + RETURN HB_QList():from( Qt_QGraphicsScene_items_5( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QList items () const - RETURN Qt_QGraphicsScene_items( ::pPtr, ... ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QList():from( Qt_QGraphicsScene_items( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:itemsBoundingRect() - RETURN Qt_QGraphicsScene_itemsBoundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsScene_itemsBoundingRect( ::pPtr ) ) METHOD QGraphicsScene:mouseGrabberItem() - RETURN Qt_QGraphicsScene_mouseGrabberItem( ::pPtr ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsScene_mouseGrabberItem( ::pPtr ) ) METHOD QGraphicsScene:palette() - RETURN Qt_QGraphicsScene_palette( ::pPtr ) + RETURN HB_QPalette():from( Qt_QGraphicsScene_palette( ::pPtr ) ) METHOD QGraphicsScene:removeItem( pItem ) @@ -488,15 +455,15 @@ METHOD QGraphicsScene:render( pPainter, pTarget, pSource, nAspectRatioMode ) METHOD QGraphicsScene:sceneRect() - RETURN Qt_QGraphicsScene_sceneRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsScene_sceneRect( ::pPtr ) ) METHOD QGraphicsScene:selectedItems() - RETURN Qt_QGraphicsScene_selectedItems( ::pPtr ) + RETURN HB_QList():from( Qt_QGraphicsScene_selectedItems( ::pPtr ) ) METHOD QGraphicsScene:selectionArea() - RETURN Qt_QGraphicsScene_selectionArea( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QGraphicsScene_selectionArea( ::pPtr ) ) METHOD QGraphicsScene:setActiveWindow( pWidget ) @@ -536,57 +503,39 @@ METHOD QGraphicsScene:setPalette( pPalette ) METHOD QGraphicsScene:setSceneRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setSceneRect ( qreal x, qreal y, qreal w, qreal h ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsScene_setSceneRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setSceneRect ( const QRectF & rect ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsScene_setSceneRect( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:setSelectionArea( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setSelectionArea ( const QPainterPath & path, Qt::ItemSelectionMode mode ) - // PO p QPainterPath, N n Qt::ItemSelectionMode + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsScene_setSelectionArea_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setSelectionArea ( const QPainterPath & path ) - // PO p QPainterPath + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsScene_setSelectionArea( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:setSortCacheEnabled( lEnabled ) @@ -606,42 +555,31 @@ METHOD QGraphicsScene:stickyFocus() METHOD QGraphicsScene:style() - RETURN Qt_QGraphicsScene_style( ::pPtr ) + RETURN HB_QStyle():from( Qt_QGraphicsScene_style( ::pPtr ) ) METHOD QGraphicsScene:update( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void update ( qreal x, qreal y, qreal w, qreal h ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsScene_update( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void update ( const QRectF & rect = QRectF() ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsScene_update_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void update ( const QRectF & rect = QRectF() ) - // PO p QRectF + EXIT + CASE 0 RETURN Qt_QGraphicsScene_update_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsScene:views() - RETURN Qt_QGraphicsScene_views( ::pPtr ) + RETURN HB_QList():from( Qt_QGraphicsScene_views( ::pPtr ) ) METHOD QGraphicsScene:width() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg index 116d5ac5fb..90f736ca45 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -94,7 +126,7 @@ METHOD QGraphicsSceneContextMenuEvent:modifiers() METHOD QGraphicsSceneContextMenuEvent:pos() - RETURN Qt_QGraphicsSceneContextMenuEvent_pos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneContextMenuEvent_pos( ::pPtr ) ) METHOD QGraphicsSceneContextMenuEvent:reason() @@ -102,9 +134,9 @@ METHOD QGraphicsSceneContextMenuEvent:reason() METHOD QGraphicsSceneContextMenuEvent:scenePos() - RETURN Qt_QGraphicsSceneContextMenuEvent_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneContextMenuEvent_scenePos( ::pPtr ) ) METHOD QGraphicsSceneContextMenuEvent:screenPos() - RETURN Qt_QGraphicsSceneContextMenuEvent_screenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneContextMenuEvent_screenPos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg index c689b65d1e..3fda29b0ce 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -109,7 +141,7 @@ METHOD QGraphicsSceneDragDropEvent:dropAction() METHOD QGraphicsSceneDragDropEvent:mimeData() - RETURN Qt_QGraphicsSceneDragDropEvent_mimeData( ::pPtr ) + RETURN HB_QMimeData():from( Qt_QGraphicsSceneDragDropEvent_mimeData( ::pPtr ) ) METHOD QGraphicsSceneDragDropEvent:modifiers() @@ -117,7 +149,7 @@ METHOD QGraphicsSceneDragDropEvent:modifiers() METHOD QGraphicsSceneDragDropEvent:pos() - RETURN Qt_QGraphicsSceneDragDropEvent_pos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneDragDropEvent_pos( ::pPtr ) ) METHOD QGraphicsSceneDragDropEvent:possibleActions() @@ -129,11 +161,11 @@ METHOD QGraphicsSceneDragDropEvent:proposedAction() METHOD QGraphicsSceneDragDropEvent:scenePos() - RETURN Qt_QGraphicsSceneDragDropEvent_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneDragDropEvent_scenePos( ::pPtr ) ) METHOD QGraphicsSceneDragDropEvent:screenPos() - RETURN Qt_QGraphicsSceneDragDropEvent_screenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneDragDropEvent_screenPos( ::pPtr ) ) METHOD QGraphicsSceneDragDropEvent:setDropAction( nAction ) @@ -141,5 +173,5 @@ METHOD QGraphicsSceneDragDropEvent:setDropAction( nAction ) METHOD QGraphicsSceneDragDropEvent:source() - RETURN Qt_QGraphicsSceneDragDropEvent_source( ::pPtr ) + RETURN HB_QWidget():from( Qt_QGraphicsSceneDragDropEvent_source( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg index caa14b5c98..a65a4a6934 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -86,5 +118,5 @@ METHOD QGraphicsSceneEvent:new( ... ) METHOD QGraphicsSceneEvent:widget() - RETURN Qt_QGraphicsSceneEvent_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QGraphicsSceneEvent_widget( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg index 71a605c8a8..34b5d1dc74 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QGraphicsSceneHelpEvent:new( ... ) METHOD QGraphicsSceneHelpEvent:scenePos() - RETURN Qt_QGraphicsSceneHelpEvent_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneHelpEvent_scenePos( ::pPtr ) ) METHOD QGraphicsSceneHelpEvent:screenPos() - RETURN Qt_QGraphicsSceneHelpEvent_screenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneHelpEvent_screenPos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg index 490f7f19d0..d5a687e0ac 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,15 +124,15 @@ METHOD QGraphicsSceneHoverEvent:new( ... ) METHOD QGraphicsSceneHoverEvent:lastPos() - RETURN Qt_QGraphicsSceneHoverEvent_lastPos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneHoverEvent_lastPos( ::pPtr ) ) METHOD QGraphicsSceneHoverEvent:lastScenePos() - RETURN Qt_QGraphicsSceneHoverEvent_lastScenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneHoverEvent_lastScenePos( ::pPtr ) ) METHOD QGraphicsSceneHoverEvent:lastScreenPos() - RETURN Qt_QGraphicsSceneHoverEvent_lastScreenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneHoverEvent_lastScreenPos( ::pPtr ) ) METHOD QGraphicsSceneHoverEvent:modifiers() @@ -108,13 +140,13 @@ METHOD QGraphicsSceneHoverEvent:modifiers() METHOD QGraphicsSceneHoverEvent:pos() - RETURN Qt_QGraphicsSceneHoverEvent_pos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneHoverEvent_pos( ::pPtr ) ) METHOD QGraphicsSceneHoverEvent:scenePos() - RETURN Qt_QGraphicsSceneHoverEvent_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneHoverEvent_scenePos( ::pPtr ) ) METHOD QGraphicsSceneHoverEvent:screenPos() - RETURN Qt_QGraphicsSceneHoverEvent_screenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneHoverEvent_screenPos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg index b2cf1810d4..78c3a8a654 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -101,15 +133,15 @@ METHOD QGraphicsSceneMouseEvent:button() METHOD QGraphicsSceneMouseEvent:buttonDownPos( nButton ) - RETURN Qt_QGraphicsSceneMouseEvent_buttonDownPos( ::pPtr, nButton ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMouseEvent_buttonDownPos( ::pPtr, nButton ) ) METHOD QGraphicsSceneMouseEvent:buttonDownScenePos( nButton ) - RETURN Qt_QGraphicsSceneMouseEvent_buttonDownScenePos( ::pPtr, nButton ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMouseEvent_buttonDownScenePos( ::pPtr, nButton ) ) METHOD QGraphicsSceneMouseEvent:buttonDownScreenPos( nButton ) - RETURN Qt_QGraphicsSceneMouseEvent_buttonDownScreenPos( ::pPtr, nButton ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneMouseEvent_buttonDownScreenPos( ::pPtr, nButton ) ) METHOD QGraphicsSceneMouseEvent:buttons() @@ -117,15 +149,15 @@ METHOD QGraphicsSceneMouseEvent:buttons() METHOD QGraphicsSceneMouseEvent:lastPos() - RETURN Qt_QGraphicsSceneMouseEvent_lastPos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMouseEvent_lastPos( ::pPtr ) ) METHOD QGraphicsSceneMouseEvent:lastScenePos() - RETURN Qt_QGraphicsSceneMouseEvent_lastScenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMouseEvent_lastScenePos( ::pPtr ) ) METHOD QGraphicsSceneMouseEvent:lastScreenPos() - RETURN Qt_QGraphicsSceneMouseEvent_lastScreenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneMouseEvent_lastScreenPos( ::pPtr ) ) METHOD QGraphicsSceneMouseEvent:modifiers() @@ -133,13 +165,13 @@ METHOD QGraphicsSceneMouseEvent:modifiers() METHOD QGraphicsSceneMouseEvent:pos() - RETURN Qt_QGraphicsSceneMouseEvent_pos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMouseEvent_pos( ::pPtr ) ) METHOD QGraphicsSceneMouseEvent:scenePos() - RETURN Qt_QGraphicsSceneMouseEvent_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMouseEvent_scenePos( ::pPtr ) ) METHOD QGraphicsSceneMouseEvent:screenPos() - RETURN Qt_QGraphicsSceneMouseEvent_screenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneMouseEvent_screenPos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg index 495d3b5aab..7bb5dcd035 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QGraphicsSceneMoveEvent:new( ... ) METHOD QGraphicsSceneMoveEvent:newPos() - RETURN Qt_QGraphicsSceneMoveEvent_newPos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMoveEvent_newPos( ::pPtr ) ) METHOD QGraphicsSceneMoveEvent:oldPos() - RETURN Qt_QGraphicsSceneMoveEvent_oldPos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneMoveEvent_oldPos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg index ff55cab0c4..603f4f08d4 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QGraphicsSceneResizeEvent:new( ... ) METHOD QGraphicsSceneResizeEvent:newSize() - RETURN Qt_QGraphicsSceneResizeEvent_newSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QGraphicsSceneResizeEvent_newSize( ::pPtr ) ) METHOD QGraphicsSceneResizeEvent:oldSize() - RETURN Qt_QGraphicsSceneResizeEvent_oldSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QGraphicsSceneResizeEvent_oldSize( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg index c775347671..5e78d05d4b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -108,13 +140,13 @@ METHOD QGraphicsSceneWheelEvent:orientation() METHOD QGraphicsSceneWheelEvent:pos() - RETURN Qt_QGraphicsSceneWheelEvent_pos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneWheelEvent_pos( ::pPtr ) ) METHOD QGraphicsSceneWheelEvent:scenePos() - RETURN Qt_QGraphicsSceneWheelEvent_scenePos( ::pPtr ) + RETURN HB_QPointF():from( Qt_QGraphicsSceneWheelEvent_scenePos( ::pPtr ) ) METHOD QGraphicsSceneWheelEvent:screenPos() - RETURN Qt_QGraphicsSceneWheelEvent_screenPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QGraphicsSceneWheelEvent_screenPos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg index 6f5cd6a211..3e19b7cf61 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,7 +121,7 @@ METHOD QGraphicsSimpleTextItem:new( ... ) METHOD QGraphicsSimpleTextItem:font() - RETURN Qt_QGraphicsSimpleTextItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QGraphicsSimpleTextItem_font( ::pPtr ) ) METHOD QGraphicsSimpleTextItem:setFont( pFont ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg index 413012f557..51e3922f95 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -110,15 +142,15 @@ METHOD QGraphicsTextItem:adjustSize() METHOD QGraphicsTextItem:defaultTextColor() - RETURN Qt_QGraphicsTextItem_defaultTextColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QGraphicsTextItem_defaultTextColor( ::pPtr ) ) METHOD QGraphicsTextItem:document() - RETURN Qt_QGraphicsTextItem_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QGraphicsTextItem_document( ::pPtr ) ) METHOD QGraphicsTextItem:font() - RETURN Qt_QGraphicsTextItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QGraphicsTextItem_font( ::pPtr ) ) METHOD QGraphicsTextItem:openExternalLinks() @@ -170,7 +202,7 @@ METHOD QGraphicsTextItem:tabChangesFocus() METHOD QGraphicsTextItem:textCursor() - RETURN Qt_QGraphicsTextItem_textCursor( ::pPtr ) + RETURN HB_QTextCursor():from( Qt_QGraphicsTextItem_textCursor( ::pPtr ) ) METHOD QGraphicsTextItem:textInteractionFlags() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg index 05a5bd8701..9c518728a5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -141,7 +173,7 @@ METHOD QGraphicsView:alignment() METHOD QGraphicsView:backgroundBrush() - RETURN Qt_QGraphicsView_backgroundBrush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QGraphicsView_backgroundBrush( ::pPtr ) ) METHOD QGraphicsView:cacheMode() @@ -149,33 +181,26 @@ METHOD QGraphicsView:cacheMode() METHOD QGraphicsView:centerOn( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void centerOn ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsView_centerOn_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void centerOn ( const QPointF & pos ) - // PO p QPointF - RETURN Qt_QGraphicsView_centerOn( ::pPtr, ... ) - // void centerOn ( const QGraphicsItem * item ) - // PO p QGraphicsItem - // RETURN Qt_QGraphicsView_centerOn_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QGraphicsView_centerOn( ::pPtr, ... ) + CASE "QGRAPHICSITEM" + RETURN Qt_QGraphicsView_centerOn_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:dragMode() @@ -183,101 +208,87 @@ METHOD QGraphicsView:dragMode() METHOD QGraphicsView:ensureVisible( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QGraphicsView_ensureVisible_1( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsView_ensureVisible_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void ensureVisible ( const QRectF & rect, int xmargin = 50, int ymargin = 50 ) - // PO p QRectF, N n int, N n int - RETURN Qt_QGraphicsView_ensureVisible( ::pPtr, ... ) - // void ensureVisible ( const QGraphicsItem * item, int xmargin = 50, int ymargin = 50 ) - // PO p QGraphicsItem, N n int, N n int - // RETURN Qt_QGraphicsView_ensureVisible_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QGraphicsView_ensureVisible( ::pPtr, ... ) + CASE "QGRAPHICSITEM" + RETURN Qt_QGraphicsView_ensureVisible_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void ensureVisible ( const QRectF & rect, int xmargin = 50, int ymargin = 50 ) - // PO p QRectF, N n int, N n int - RETURN Qt_QGraphicsView_ensureVisible( ::pPtr, ... ) - // void ensureVisible ( const QGraphicsItem * item, int xmargin = 50, int ymargin = 50 ) - // PO p QGraphicsItem, N n int, N n int - // RETURN Qt_QGraphicsView_ensureVisible_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QGraphicsView_ensureVisible( ::pPtr, ... ) + CASE "QGRAPHICSITEM" + RETURN Qt_QGraphicsView_ensureVisible_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:fitInView( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void fitInView ( qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n Qt::AspectRatioMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QGraphicsView_fitInView_1( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void fitInView ( qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n Qt::AspectRatioMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsView_fitInView_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void fitInView ( const QRectF & rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - // PO p QRectF, N n Qt::AspectRatioMode - RETURN Qt_QGraphicsView_fitInView( ::pPtr, ... ) - // void fitInView ( const QGraphicsItem * item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - // PO p QGraphicsItem, N n Qt::AspectRatioMode - // RETURN Qt_QGraphicsView_fitInView_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QGraphicsView_fitInView( ::pPtr, ... ) + CASE "QGRAPHICSITEM" + RETURN Qt_QGraphicsView_fitInView_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void fitInView ( const QRectF & rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - // PO p QRectF, N n Qt::AspectRatioMode - RETURN Qt_QGraphicsView_fitInView( ::pPtr, ... ) - // void fitInView ( const QGraphicsItem * item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - // PO p QGraphicsItem, N n Qt::AspectRatioMode - // RETURN Qt_QGraphicsView_fitInView_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QGraphicsView_fitInView( ::pPtr, ... ) + CASE "QGRAPHICSITEM" + RETURN Qt_QGraphicsView_fitInView_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:foregroundBrush() - RETURN Qt_QGraphicsView_foregroundBrush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QGraphicsView_foregroundBrush( ::pPtr ) ) METHOD QGraphicsView:isInteractive() @@ -285,183 +296,141 @@ METHOD QGraphicsView:isInteractive() METHOD QGraphicsView:itemAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QGraphicsItem * itemAt ( int x, int y ) const - // N n int, N n int - RETURN QGraphicsItem():from( Qt_QGraphicsView_itemAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsView_itemAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QGraphicsItem * itemAt ( const QPoint & pos ) const - // PO p QPoint - RETURN QGraphicsItem():from( Qt_QGraphicsView_itemAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QGraphicsItem():from( Qt_QGraphicsView_itemAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:items( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QList items ( int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // N n int, N n int, N n int, N n int, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsView_items_3( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QList():from( Qt_QGraphicsView_items_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QList items ( int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // N n int, N n int, N n int, N n int, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsView_items_3( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QList():from( Qt_QGraphicsView_items_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QList items ( int x, int y ) const - // N n int, N n int - RETURN Qt_QGraphicsView_items_2( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // QList items ( const QPolygon & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPolygon, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsView_items_5( ::pPtr, ... ) - // QList items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPainterPath, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsView_items_6( ::pPtr, ... ) - // QList items ( const QRect & rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QRect, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsView_items_4( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QList():from( Qt_QGraphicsView_items_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGON" + RETURN HB_QList():from( Qt_QGraphicsView_items_5( ::pPtr, ... ) ) + CASE "QPAINTERPATH" + RETURN HB_QList():from( Qt_QGraphicsView_items_6( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QList():from( Qt_QGraphicsView_items_4( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QList items ( const QPolygon & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPolygon, N n Qt::ItemSelectionMode - RETURN Qt_QGraphicsView_items_5( ::pPtr, ... ) - // QList items ( const QRect & rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QRect, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsView_items_4( ::pPtr, ... ) - // QList items ( const QPoint & pos ) const - // PO p QPoint - // RETURN Qt_QGraphicsView_items_1( ::pPtr, ... ) - // QList items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const - // PO p QPainterPath, N n Qt::ItemSelectionMode - // RETURN Qt_QGraphicsView_items_6( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGON" + RETURN HB_QList():from( Qt_QGraphicsView_items_5( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QList():from( Qt_QGraphicsView_items_4( ::pPtr, ... ) ) + CASE "QPOINT" + RETURN HB_QList():from( Qt_QGraphicsView_items_1( ::pPtr, ... ) ) + CASE "QPAINTERPATH" + RETURN HB_QList():from( Qt_QGraphicsView_items_6( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QList items () const - RETURN Qt_QGraphicsView_items( ::pPtr, ... ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QList():from( Qt_QGraphicsView_items( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:mapFromScene( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPolygon mapFromScene ( qreal x, qreal y, qreal w, qreal h ) const - // N n qreal, N n qreal, N n qreal, N n qreal - RETURN QPolygon():from( Qt_QGraphicsView_mapFromScene_5( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPolygon():from( Qt_QGraphicsView_mapFromScene_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPoint mapFromScene ( qreal x, qreal y ) const - // N n qreal, N n qreal - RETURN QPoint():from( Qt_QGraphicsView_mapFromScene_4( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPoint():from( Qt_QGraphicsView_mapFromScene_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPainterPath mapFromScene ( const QPainterPath & path ) const - // PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsView_mapFromScene_3( ::pPtr, ... ) ) - // QPoint mapFromScene ( const QPointF & point ) const - // PO p QPointF - // RETURN QPoint():from( Qt_QGraphicsView_mapFromScene( ::pPtr, ... ) ) - // QPolygon mapFromScene ( const QRectF & rect ) const - // PO p QRectF - // RETURN QPolygon():from( Qt_QGraphicsView_mapFromScene_1( ::pPtr, ... ) ) - // QPolygon mapFromScene ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygon():from( Qt_QGraphicsView_mapFromScene_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QGraphicsView_mapFromScene_3( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QPoint():from( Qt_QGraphicsView_mapFromScene( ::pPtr, ... ) ) + CASE "QRECTF" + RETURN HB_QPolygon():from( Qt_QGraphicsView_mapFromScene_1( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygon():from( Qt_QGraphicsView_mapFromScene_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:mapToScene( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPolygonF mapToScene ( int x, int y, int w, int h ) const - // N n int, N n int, N n int, N n int - RETURN QPolygonF():from( Qt_QGraphicsView_mapToScene_5( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPolygonF():from( Qt_QGraphicsView_mapToScene_5( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPointF mapToScene ( int x, int y ) const - // N n int, N n int - RETURN QPointF():from( Qt_QGraphicsView_mapToScene_4( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPointF():from( Qt_QGraphicsView_mapToScene_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPainterPath mapToScene ( const QPainterPath & path ) const - // PO p QPainterPath - RETURN QPainterPath():from( Qt_QGraphicsView_mapToScene_3( ::pPtr, ... ) ) - // QPointF mapToScene ( const QPoint & point ) const - // PO p QPoint - // RETURN QPointF():from( Qt_QGraphicsView_mapToScene( ::pPtr, ... ) ) - // QPolygonF mapToScene ( const QRect & rect ) const - // PO p QRect - // RETURN QPolygonF():from( Qt_QGraphicsView_mapToScene_1( ::pPtr, ... ) ) - // QPolygonF mapToScene ( const QPolygon & polygon ) const - // PO p QPolygon - // RETURN QPolygonF():from( Qt_QGraphicsView_mapToScene_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QGraphicsView_mapToScene_3( ::pPtr, ... ) ) + CASE "QPOINT" + RETURN HB_QPointF():from( Qt_QGraphicsView_mapToScene( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QPolygonF():from( Qt_QGraphicsView_mapToScene_1( ::pPtr, ... ) ) + CASE "QPOLYGON" + RETURN HB_QPolygonF():from( Qt_QGraphicsView_mapToScene_2( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:matrix() - RETURN Qt_QGraphicsView_matrix( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QGraphicsView_matrix( ::pPtr ) ) METHOD QGraphicsView:optimizationFlags() @@ -505,11 +474,11 @@ METHOD QGraphicsView:scale( nSx, nSy ) METHOD QGraphicsView:scene() - RETURN Qt_QGraphicsView_scene( ::pPtr ) + RETURN HB_QGraphicsScene():from( Qt_QGraphicsView_scene( ::pPtr ) ) METHOD QGraphicsView:sceneRect() - RETURN Qt_QGraphicsView_sceneRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsView_sceneRect( ::pPtr ) ) METHOD QGraphicsView:setAlignment( nAlignment ) @@ -569,30 +538,21 @@ METHOD QGraphicsView:setScene( pScene ) METHOD QGraphicsView:setSceneRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setSceneRect ( qreal x, qreal y, qreal w, qreal h ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsView_setSceneRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setSceneRect ( const QRectF & rect ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsView_setSceneRect( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsView:setTransform( pMatrix, lCombine ) @@ -612,7 +572,7 @@ METHOD QGraphicsView:shear( nSh, nSv ) METHOD QGraphicsView:transform() - RETURN Qt_QGraphicsView_transform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QGraphicsView_transform( ::pPtr ) ) METHOD QGraphicsView:transformationAnchor() @@ -624,7 +584,7 @@ METHOD QGraphicsView:translate( nDx, nDy ) METHOD QGraphicsView:viewportTransform() - RETURN Qt_QGraphicsView_viewportTransform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QGraphicsView_viewportTransform( ::pPtr ) ) METHOD QGraphicsView:viewportUpdateMode() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg index a789b32a31..0f9d21bbd8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -129,7 +161,7 @@ METHOD QGraphicsWidget:new( ... ) METHOD QGraphicsWidget:actions() - RETURN Qt_QGraphicsWidget_actions( ::pPtr ) + RETURN HB_QList():from( Qt_QGraphicsWidget_actions( ::pPtr ) ) METHOD QGraphicsWidget:addAction( pAction ) @@ -145,11 +177,11 @@ METHOD QGraphicsWidget:focusPolicy() METHOD QGraphicsWidget:focusWidget() - RETURN Qt_QGraphicsWidget_focusWidget( ::pPtr ) + RETURN HB_QGraphicsWidget():from( Qt_QGraphicsWidget_focusWidget( ::pPtr ) ) METHOD QGraphicsWidget:font() - RETURN Qt_QGraphicsWidget_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QGraphicsWidget_font( ::pPtr ) ) METHOD QGraphicsWidget:getContentsMargins( nLeft, nTop, nRight, nBottom ) @@ -173,7 +205,7 @@ METHOD QGraphicsWidget:isActiveWindow() METHOD QGraphicsWidget:layout() - RETURN Qt_QGraphicsWidget_layout( ::pPtr ) + RETURN HB_QGraphicsLayout():from( Qt_QGraphicsWidget_layout( ::pPtr ) ) METHOD QGraphicsWidget:layoutDirection() @@ -181,11 +213,11 @@ METHOD QGraphicsWidget:layoutDirection() METHOD QGraphicsWidget:palette() - RETURN Qt_QGraphicsWidget_palette( ::pPtr ) + RETURN HB_QPalette():from( Qt_QGraphicsWidget_palette( ::pPtr ) ) METHOD QGraphicsWidget:rect() - RETURN Qt_QGraphicsWidget_rect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsWidget_rect( ::pPtr ) ) METHOD QGraphicsWidget:releaseShortcut( nId ) @@ -197,30 +229,21 @@ METHOD QGraphicsWidget:removeAction( pAction ) METHOD QGraphicsWidget:resize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void resize ( qreal w, qreal h ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QGraphicsWidget_resize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void resize ( const QSizeF & size ) - // PO p QSizeF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsWidget_resize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsWidget:setAttribute( nAttribute, lOn ) @@ -240,30 +263,21 @@ METHOD QGraphicsWidget:setFont( pFont ) METHOD QGraphicsWidget:setGeometry( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setGeometry ( qreal x, qreal y, qreal w, qreal h ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGraphicsWidget_setGeometry_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // virtual void setGeometry ( const QRectF & rect ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QGraphicsWidget_setGeometry( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGraphicsWidget:setLayout( pLayout ) @@ -303,11 +317,11 @@ METHOD QGraphicsWidget:setWindowTitle( cTitle ) METHOD QGraphicsWidget:size() - RETURN Qt_QGraphicsWidget_size( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QGraphicsWidget_size( ::pPtr ) ) METHOD QGraphicsWidget:style() - RETURN Qt_QGraphicsWidget_style( ::pPtr ) + RETURN HB_QStyle():from( Qt_QGraphicsWidget_style( ::pPtr ) ) METHOD QGraphicsWidget:testAttribute( nAttribute ) @@ -327,11 +341,11 @@ METHOD QGraphicsWidget:windowFlags() METHOD QGraphicsWidget:windowFrameGeometry() - RETURN Qt_QGraphicsWidget_windowFrameGeometry( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsWidget_windowFrameGeometry( ::pPtr ) ) METHOD QGraphicsWidget:windowFrameRect() - RETURN Qt_QGraphicsWidget_windowFrameRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QGraphicsWidget_windowFrameRect( ::pPtr ) ) METHOD QGraphicsWidget:windowTitle() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg index 79909f8522..224e235d17 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -113,89 +145,67 @@ METHOD QGridLayout:addItem( pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignm METHOD QGridLayout:addLayout( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void addLayout ( QLayout * layout, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QLayout, N n int, N n int, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QGridLayout_addLayout_1( ::pPtr, ... ) ENDCASE - CASE nP == 5 + EXIT + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void addLayout ( QLayout * layout, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QLayout, N n int, N n int, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QGridLayout_addLayout_1( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void addLayout ( QLayout * layout, int row, int column, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QLayout, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGridLayout_addLayout( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void addLayout ( QLayout * layout, int row, int column, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QLayout, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QGridLayout_addLayout( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGridLayout:addWidget( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void addWidget ( QWidget * widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QWidget, N n int, N n int, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QGridLayout_addWidget_1( ::pPtr, ... ) ENDCASE - CASE nP == 5 + EXIT + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void addWidget ( QWidget * widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QWidget, N n int, N n int, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QGridLayout_addWidget_1( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void addWidget ( QWidget * widget, int row, int column, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QWidget, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QGridLayout_addWidget( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void addWidget ( QWidget * widget, int row, int column, Qt::Alignment alignment = 0 ) [*D=1*] - // PO p QWidget, N n int, N n int, N n Qt::Alignment + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QGridLayout_addWidget( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QGridLayout:cellRect( nRow, nColumn ) - RETURN Qt_QGridLayout_cellRect( ::pPtr, nRow, nColumn ) + RETURN HB_QRect():from( Qt_QGridLayout_cellRect( ::pPtr, nRow, nColumn ) ) METHOD QGridLayout:columnCount() @@ -219,7 +229,7 @@ METHOD QGridLayout:horizontalSpacing() METHOD QGridLayout:itemAtPosition( nRow, nColumn ) - RETURN Qt_QGridLayout_itemAtPosition( ::pPtr, nRow, nColumn ) + RETURN HB_QLayoutItem():from( Qt_QGridLayout_itemAtPosition( ::pPtr, nRow, nColumn ) ) METHOD QGridLayout:originCorner() diff --git a/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg b/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg index 97c158d618..9f65992653 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg index 1ba73d45f4..6ad0cbea53 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg b/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg index 2e855f1a31..4bf1cea1b8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -191,34 +223,23 @@ METHOD QHeaderView:logicalIndex( nVisualIndex ) METHOD QHeaderView:logicalIndexAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // int logicalIndexAt ( int x, int y ) const - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QHeaderView_logicalIndexAt_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // int logicalIndexAt ( int position ) const - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QHeaderView_logicalIndexAt( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // int logicalIndexAt ( const QPoint & pos ) const - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QHeaderView_logicalIndexAt_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QHeaderView:minimumSectionSize() @@ -254,7 +275,7 @@ METHOD QHeaderView:restoreState( pState ) METHOD QHeaderView:saveState() - RETURN Qt_QHeaderView_saveState( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QHeaderView_saveState( ::pPtr ) ) METHOD QHeaderView:sectionPosition( nLogicalIndex ) @@ -310,30 +331,21 @@ METHOD QHeaderView:setMovable( lMovable ) METHOD QHeaderView:setResizeMode( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setResizeMode ( int logicalIndex, ResizeMode mode ) - // N n int, N n QHeaderView::ResizeMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QHeaderView_setResizeMode_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setResizeMode ( ResizeMode mode ) - // N n QHeaderView::ResizeMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QHeaderView_setResizeMode( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QHeaderView:setSectionHidden( nLogicalIndex, lHide ) @@ -357,7 +369,7 @@ METHOD QHeaderView:showSection( nLogicalIndex ) METHOD QHeaderView:sizeHint() - RETURN Qt_QHeaderView_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QHeaderView_sizeHint( ::pPtr ) ) METHOD QHeaderView:sortIndicatorOrder() diff --git a/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg index bf1c872bbd..7241c11878 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,7 +123,7 @@ METHOD QHelpEvent:new( ... ) METHOD QHelpEvent:globalPos() - RETURN Qt_QHelpEvent_globalPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QHelpEvent_globalPos( ::pPtr ) ) METHOD QHelpEvent:globalX() @@ -103,7 +135,7 @@ METHOD QHelpEvent:globalY() METHOD QHelpEvent:pos() - RETURN Qt_QHelpEvent_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QHelpEvent_pos( ::pPtr ) ) METHOD QHelpEvent:x() diff --git a/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg index a478d1ddc0..bb0660435c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQIcon.prg b/harbour/contrib/hbqt/qtgui/g/TQIcon.prg index 6586f9388c..6f915c0499 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQIcon.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQIcon.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QIcon:new( ... ) METHOD QIcon:actualSize( pSize, nMode, nState ) - RETURN Qt_QIcon_actualSize( ::pPtr, hbqt_ptr( pSize ), nMode, nState ) + RETURN HB_QSize():from( Qt_QIcon_actualSize( ::pPtr, hbqt_ptr( pSize ), nMode, nState ) ) METHOD QIcon:addFile( cFileName, pSize, nMode, nState ) @@ -105,7 +137,7 @@ METHOD QIcon:addPixmap( pPixmap, nMode, nState ) METHOD QIcon:availableSizes( nMode, nState ) - RETURN Qt_QIcon_availableSizes( ::pPtr, nMode, nState ) + RETURN HB_QList():from( Qt_QIcon_availableSizes( ::pPtr, nMode, nState ) ) METHOD QIcon:cacheKey() @@ -117,80 +149,57 @@ METHOD QIcon:isNull() METHOD QIcon:paint( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 8 + SWITCH PCount() + CASE 8 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" .AND. aV[ 7 ] $ "N" .AND. aV[ 8 ] $ "N" - // void paint ( QPainter * painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const - // PO p QPainter, N n int, N n int, N n int, N n int, N n Qt::Alignment, N n QIcon::Mode, N n QIcon::State + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) RETURN Qt_QIcon_paint_1( ::pPtr, ... ) ENDCASE - CASE nP == 5 + EXIT + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void paint ( QPainter * painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const - // PO p QPainter, N n int, N n int, N n int, N n int, N n Qt::Alignment, N n QIcon::Mode, N n QIcon::State + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QIcon_paint_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void paint ( QPainter * painter, const QRect & rect, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const - // PO p QPainter, PO p QRect, N n Qt::Alignment, N n QIcon::Mode, N n QIcon::State + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QIcon_paint( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void paint ( QPainter * painter, const QRect & rect, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const - // PO p QPainter, PO p QRect, N n Qt::Alignment, N n QIcon::Mode, N n QIcon::State + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QIcon_paint( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QIcon:pixmap( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPixmap pixmap ( int w, int h, Mode mode = Normal, State state = Off ) const - // N n int, N n int, N n QIcon::Mode, N n QIcon::State - RETURN QPixmap():from( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPixmap():from( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QPixmap pixmap ( const QSize & size, Mode mode = Normal, State state = Off ) const - // PO p QSize, N n QIcon::Mode, N n QIcon::State - RETURN QPixmap():from( Qt_QIcon_pixmap( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QPixmap():from( Qt_QIcon_pixmap( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPixmap pixmap ( int w, int h, Mode mode = Normal, State state = Off ) const - // N n int, N n int, N n QIcon::Mode, N n QIcon::State - RETURN QPixmap():from( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPixmap():from( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPixmap pixmap ( const QSize & size, Mode mode = Normal, State state = Off ) const - // PO p QSize, N n QIcon::Mode, N n QIcon::State - RETURN QPixmap():from( Qt_QIcon_pixmap( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QPixmap():from( Qt_QIcon_pixmap( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQImage.prg b/harbour/contrib/hbqt/qtgui/g/TQImage.prg index ff7ed89018..bd086292c6 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQImage.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQImage.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -138,7 +170,7 @@ METHOD QImage:allGray() METHOD QImage:alphaChannel() - RETURN Qt_QImage_alphaChannel( ::pPtr ) + RETURN HB_QImage():from( Qt_QImage_alphaChannel( ::pPtr ) ) METHOD QImage:bits() @@ -158,50 +190,39 @@ METHOD QImage:color( nI ) METHOD QImage:convertToFormat( nFormat, nFlags ) - RETURN Qt_QImage_convertToFormat( ::pPtr, nFormat, nFlags ) + RETURN HB_QImage():from( Qt_QImage_convertToFormat( ::pPtr, nFormat, nFlags ) ) METHOD QImage:copy( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QImage copy ( int x, int y, int width, int height ) const - // N n int, N n int, N n int, N n int - RETURN QImage():from( Qt_QImage_copy_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QImage():from( Qt_QImage_copy_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QImage copy ( const QRect & rectangle = QRect() ) const - // PO p QRect - RETURN QImage():from( Qt_QImage_copy( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QImage():from( Qt_QImage_copy( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QImage copy ( const QRect & rectangle = QRect() ) const - // PO p QRect - RETURN QImage():from( Qt_QImage_copy( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QImage():from( Qt_QImage_copy( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QImage:createAlphaMask( nFlags ) - RETURN Qt_QImage_createAlphaMask( ::pPtr, nFlags ) + RETURN HB_QImage():from( Qt_QImage_createAlphaMask( ::pPtr, nFlags ) ) METHOD QImage:createHeuristicMask( lClipTight ) - RETURN Qt_QImage_createHeuristicMask( ::pPtr, lClipTight ) + RETURN HB_QImage():from( Qt_QImage_createHeuristicMask( ::pPtr, lClipTight ) ) METHOD QImage:createMaskFromColor( nColor, nMode ) - RETURN Qt_QImage_createMaskFromColor( ::pPtr, nColor, nMode ) + RETURN HB_QImage():from( Qt_QImage_createMaskFromColor( ::pPtr, nColor, nMode ) ) METHOD QImage:depth() @@ -245,34 +266,23 @@ METHOD QImage:isNull() METHOD QImage:load( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // bool load ( const QString & fileName, const char * format = 0 ) - // C c QString, PO p char + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QImage_load( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // bool load ( QIODevice * device, const char * format ) - // PO p QIODevice, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QImage_load_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool load ( const QString & fileName, const char * format = 0 ) - // C c QString, PO p char + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QImage_load( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:loadFromData( pData, pFormat ) @@ -280,7 +290,7 @@ METHOD QImage:loadFromData( pData, pFormat ) METHOD QImage:mirrored( lHorizontal, lVertical ) - RETURN Qt_QImage_mirrored( ::pPtr, lHorizontal, lVertical ) + RETURN HB_QImage():from( Qt_QImage_mirrored( ::pPtr, lHorizontal, lVertical ) ) METHOD QImage:numBytes() @@ -292,153 +302,111 @@ METHOD QImage:numColors() METHOD QImage:offset() - RETURN Qt_QImage_offset( ::pPtr ) + RETURN HB_QPoint():from( Qt_QImage_offset( ::pPtr ) ) METHOD QImage:pixel( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QRgb pixel ( int x, int y ) const - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QImage_pixel_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRgb pixel ( const QPoint & position ) const - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QImage_pixel( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:pixelIndex( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // int pixelIndex ( int x, int y ) const - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QImage_pixelIndex_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // int pixelIndex ( const QPoint & position ) const - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QImage_pixelIndex( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:rect() - RETURN Qt_QImage_rect( ::pPtr ) + RETURN HB_QRect():from( Qt_QImage_rect( ::pPtr ) ) METHOD QImage:rgbSwapped() - RETURN Qt_QImage_rgbSwapped( ::pPtr ) + RETURN HB_QImage():from( Qt_QImage_rgbSwapped( ::pPtr ) ) METHOD QImage:save( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const - // C c QString, PO p char, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QImage_save( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - // PO p QIODevice, PO p char, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QImage_save_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const - // C c QString, PO p char, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QImage_save( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - // PO p QIODevice, PO p char, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QImage_save_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:scaled( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QImage scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // N n int, N n int, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QImage():from( Qt_QImage_scaled_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QImage():from( Qt_QImage_scaled_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QImage scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // PO p QSize, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QImage():from( Qt_QImage_scaled( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QImage():from( Qt_QImage_scaled( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QImage scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // N n int, N n int, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QImage():from( Qt_QImage_scaled_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QImage():from( Qt_QImage_scaled_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QImage scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // PO p QSize, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QImage():from( Qt_QImage_scaled( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QImage():from( Qt_QImage_scaled( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:scaledToHeight( nHeight, nMode ) - RETURN Qt_QImage_scaledToHeight( ::pPtr, nHeight, nMode ) + RETURN HB_QImage():from( Qt_QImage_scaledToHeight( ::pPtr, nHeight, nMode ) ) METHOD QImage:scaledToWidth( nWidth, nMode ) - RETURN Qt_QImage_scaledToWidth( ::pPtr, nWidth, nMode ) + RETURN HB_QImage():from( Qt_QImage_scaledToWidth( ::pPtr, nWidth, nMode ) ) METHOD QImage:scanLine( nI ) @@ -466,30 +434,21 @@ METHOD QImage:setOffset( pOffset ) METHOD QImage:setPixel( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void setPixel ( int x, int y, uint index_or_rgb ) - // N n int, N n int, N n uint + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QImage_setPixel_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setPixel ( const QPoint & position, uint index_or_rgb ) - // PO p QPoint, N n uint + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QImage_setPixel( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:setText( cKey, cText ) @@ -497,7 +456,7 @@ METHOD QImage:setText( cKey, cText ) METHOD QImage:size() - RETURN Qt_QImage_size( ::pPtr ) + RETURN HB_QSize():from( Qt_QImage_size( ::pPtr ) ) METHOD QImage:text( cKey ) @@ -505,42 +464,53 @@ METHOD QImage:text( cKey ) METHOD QImage:textKeys() - RETURN Qt_QImage_textKeys( ::pPtr ) + RETURN HB_QStringList():from( Qt_QImage_textKeys( ::pPtr ) ) METHOD QImage:transformed( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QImage_transformed( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QMATRIX" + RETURN HB_QImage():from( Qt_QImage_transformed( ::pPtr, ... ) ) + CASE "QTRANSFORM" + RETURN HB_QImage():from( Qt_QImage_transformed_1( ::pPtr, ... ) ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QMATRIX" + RETURN HB_QImage():from( Qt_QImage_transformed( ::pPtr, ... ) ) + CASE "QTRANSFORM" + RETURN HB_QImage():from( Qt_QImage_transformed_1( ::pPtr, ... ) ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:valid( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // bool valid ( int x, int y ) const - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QImage_valid_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool valid ( const QPoint & pos ) const - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QImage_valid( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QImage:width() diff --git a/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg b/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg index 1e9bf5986d..f19cd8b6e4 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -125,7 +157,7 @@ METHOD QImageReader:autoDetectImageFormat() METHOD QImageReader:backgroundColor() - RETURN Qt_QImageReader_backgroundColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QImageReader_backgroundColor( ::pPtr ) ) METHOD QImageReader:canRead() @@ -133,7 +165,7 @@ METHOD QImageReader:canRead() METHOD QImageReader:clipRect() - RETURN Qt_QImageReader_clipRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QImageReader_clipRect( ::pPtr ) ) METHOD QImageReader:currentImageNumber() @@ -141,11 +173,11 @@ METHOD QImageReader:currentImageNumber() METHOD QImageReader:currentImageRect() - RETURN Qt_QImageReader_currentImageRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QImageReader_currentImageRect( ::pPtr ) ) METHOD QImageReader:device() - RETURN Qt_QImageReader_device( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QImageReader_device( ::pPtr ) ) METHOD QImageReader:error() @@ -161,7 +193,7 @@ METHOD QImageReader:fileName() METHOD QImageReader:format() - RETURN Qt_QImageReader_format( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QImageReader_format( ::pPtr ) ) METHOD QImageReader:imageCount() @@ -169,30 +201,19 @@ METHOD QImageReader:imageCount() METHOD QImageReader:imageFormat( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QByteArray imageFormat ( const QString & fileName ) - // C c QString - RETURN QByteArray():from( Qt_QImageReader_imageFormat_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QByteArray imageFormat ( QIODevice * device ) - // PO p QIODevice - RETURN QByteArray():from( Qt_QImageReader_imageFormat_2( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QByteArray():from( Qt_QImageReader_imageFormat_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QByteArray():from( Qt_QImageReader_imageFormat_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QImage::Format imageFormat () const + EXIT + CASE 0 RETURN Qt_QImageReader_imageFormat( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QImageReader:jumpToImage( nImageNumber ) @@ -216,34 +237,25 @@ METHOD QImageReader:quality() METHOD QImageReader:read( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool read ( QImage * image ) - // PO p QImage + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QImageReader_read_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QImage read () - RETURN QImage():from( Qt_QImageReader_read( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QImage():from( Qt_QImageReader_read( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QImageReader:scaledClipRect() - RETURN Qt_QImageReader_scaledClipRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QImageReader_scaledClipRect( ::pPtr ) ) METHOD QImageReader:scaledSize() - RETURN Qt_QImageReader_scaledSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QImageReader_scaledSize( ::pPtr ) ) METHOD QImageReader:setAutoDetectImageFormat( lEnabled ) @@ -283,7 +295,7 @@ METHOD QImageReader:setScaledSize( pSize ) METHOD QImageReader:size() - RETURN Qt_QImageReader_size( ::pPtr ) + RETURN HB_QSize():from( Qt_QImageReader_size( ::pPtr ) ) METHOD QImageReader:supportsAnimation() @@ -299,9 +311,9 @@ METHOD QImageReader:text( cKey ) METHOD QImageReader:textKeys() - RETURN Qt_QImageReader_textKeys( ::pPtr ) + RETURN HB_QStringList():from( Qt_QImageReader_textKeys( ::pPtr ) ) METHOD QImageReader:supportedImageFormats() - RETURN Qt_QImageReader_supportedImageFormats( ::pPtr ) + RETURN HB_QList():from( Qt_QImageReader_supportedImageFormats( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg b/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg index ae6fdb6685..f7e6eeb349 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -112,7 +144,7 @@ METHOD QImageWriter:compression() METHOD QImageWriter:device() - RETURN Qt_QImageWriter_device( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QImageWriter_device( ::pPtr ) ) METHOD QImageWriter:error() @@ -128,7 +160,7 @@ METHOD QImageWriter:fileName() METHOD QImageWriter:format() - RETURN Qt_QImageWriter_format( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QImageWriter_format( ::pPtr ) ) METHOD QImageWriter:gamma() @@ -176,5 +208,5 @@ METHOD QImageWriter:write( pImage ) METHOD QImageWriter:supportedImageFormats() - RETURN Qt_QImageWriter_supportedImageFormats( ::pPtr ) + RETURN HB_QList():from( Qt_QImageWriter_supportedImageFormats( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg index 4f3417ff3a..50c8aa6619 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -133,7 +165,7 @@ METHOD QInputDialog:cancelButtonText() METHOD QInputDialog:comboBoxItems() - RETURN Qt_QInputDialog_comboBoxItems( ::pPtr ) + RETURN HB_QStringList():from( Qt_QInputDialog_comboBoxItems( ::pPtr ) ) METHOD QInputDialog:done( nResult ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg index 4cf03a8aee..120dc09efc 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg index e186f2452c..16afbcc451 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg index 31a466f80c..fb2393ef45 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg b/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg index b59a70fa74..1ab9e4cd9d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,7 +131,7 @@ METHOD QItemDelegate:hasClipping() METHOD QItemDelegate:itemEditorFactory() - RETURN Qt_QItemDelegate_itemEditorFactory( ::pPtr ) + RETURN HB_QItemEditorFactory():from( Qt_QItemDelegate_itemEditorFactory( ::pPtr ) ) METHOD QItemDelegate:setClipping( lClip ) @@ -111,7 +143,7 @@ METHOD QItemDelegate:setItemEditorFactory( pFactory ) METHOD QItemDelegate:createEditor( pParent, pOption, pIndex ) - RETURN Qt_QItemDelegate_createEditor( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) + RETURN HB_QWidget():from( Qt_QItemDelegate_createEditor( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) ) METHOD QItemDelegate:paint( pPainter, pOption, pIndex ) @@ -127,7 +159,7 @@ METHOD QItemDelegate:setModelData( pEditor, pModel, pIndex ) METHOD QItemDelegate:sizeHint( pOption, pIndex ) - RETURN Qt_QItemDelegate_sizeHint( ::pPtr, hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) + RETURN HB_QSize():from( Qt_QItemDelegate_sizeHint( ::pPtr, hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) ) METHOD QItemDelegate:updateEditorGeometry( pEditor, pOption, pIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg b/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg index f30e2a3853..c4b59903a2 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QItemEditorCreatorBase:new( ... ) METHOD QItemEditorCreatorBase:createWidget( pParent ) - RETURN Qt_QItemEditorCreatorBase_createWidget( ::pPtr, hbqt_ptr( pParent ) ) + RETURN HB_QWidget():from( Qt_QItemEditorCreatorBase_createWidget( ::pPtr, hbqt_ptr( pParent ) ) ) METHOD QItemEditorCreatorBase:valuePropertyName() - RETURN Qt_QItemEditorCreatorBase_valuePropertyName( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QItemEditorCreatorBase_valuePropertyName( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg b/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg index 4a4471c83b..530c4886a9 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,7 +121,7 @@ METHOD QItemEditorFactory:new( ... ) METHOD QItemEditorFactory:createEditor( nType, pParent ) - RETURN Qt_QItemEditorFactory_createEditor( ::pPtr, nType, hbqt_ptr( pParent ) ) + RETURN HB_QWidget():from( Qt_QItemEditorFactory_createEditor( ::pPtr, nType, hbqt_ptr( pParent ) ) ) METHOD QItemEditorFactory:registerEditor( nType, pCreator ) @@ -97,7 +129,7 @@ METHOD QItemEditorFactory:registerEditor( nType, pCreator ) METHOD QItemEditorFactory:valuePropertyName( nType ) - RETURN Qt_QItemEditorFactory_valuePropertyName( ::pPtr, nType ) + RETURN HB_QByteArray():from( Qt_QItemEditorFactory_valuePropertyName( ::pPtr, nType ) ) METHOD QItemEditorFactory:setDefaultFactory( pFactory ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg b/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg index adb9d1a485..6dd405a209 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg b/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg index 73e47238c5..d29f6993fd 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,7 +135,7 @@ METHOD QItemSelectionModel:columnIntersectsSelection( nColumn, pParent ) METHOD QItemSelectionModel:currentIndex() - RETURN Qt_QItemSelectionModel_currentIndex( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QItemSelectionModel_currentIndex( ::pPtr ) ) METHOD QItemSelectionModel:hasSelection() @@ -123,7 +155,7 @@ METHOD QItemSelectionModel:isSelected( pIndex ) METHOD QItemSelectionModel:model() - RETURN Qt_QItemSelectionModel_model( ::pPtr ) + RETURN HB_QAbstractItemModel():from( Qt_QItemSelectionModel_model( ::pPtr ) ) METHOD QItemSelectionModel:rowIntersectsSelection( nRow, pParent ) @@ -131,7 +163,7 @@ METHOD QItemSelectionModel:rowIntersectsSelection( nRow, pParent ) METHOD QItemSelectionModel:selection() - RETURN Qt_QItemSelectionModel_selection( ::pPtr ) + RETURN HB_QItemSelection():from( Qt_QItemSelectionModel_selection( ::pPtr ) ) METHOD QItemSelectionModel:clear() @@ -147,26 +179,20 @@ METHOD QItemSelectionModel:reset() METHOD QItemSelectionModel:select( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // virtual void select ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) - // PO p QModelIndex, N n QItemSelectionModel::SelectionFlags - RETURN Qt_QItemSelectionModel_select( ::pPtr, ... ) - // virtual void select ( const QItemSelection & selection, QItemSelectionModel::SelectionFlags command ) - // PO p QItemSelection, N n QItemSelectionModel::SelectionFlags - // RETURN Qt_QItemSelectionModel_select_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QMODELINDEX" + RETURN Qt_QItemSelectionModel_select( ::pPtr, ... ) + CASE "QITEMSELECTION" + RETURN Qt_QItemSelectionModel_select_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QItemSelectionModel:setCurrentIndex( pIndex, nCommand ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg index deb299eaf6..9b1781c09b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg b/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg index 11020b2b67..f9cd480f40 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -108,13 +140,13 @@ METHOD QKeySequence:toString( nFormat ) METHOD QKeySequence:fromString( cStr, nFormat ) - RETURN Qt_QKeySequence_fromString( ::pPtr, cStr, nFormat ) + RETURN HB_QKeySequence():from( Qt_QKeySequence_fromString( ::pPtr, cStr, nFormat ) ) METHOD QKeySequence:keyBindings( nKey ) - RETURN Qt_QKeySequence_keyBindings( ::pPtr, nKey ) + RETURN HB_QList():from( Qt_QKeySequence_keyBindings( ::pPtr, nKey ) ) METHOD QKeySequence:mnemonic( cText ) - RETURN Qt_QKeySequence_mnemonic( ::pPtr, cText ) + RETURN HB_QKeySequence():from( Qt_QKeySequence_mnemonic( ::pPtr, cText ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg b/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg index e45ea9b5bb..6afb6adea2 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -101,26 +133,16 @@ METHOD QLCDNumber:new( ... ) METHOD QLCDNumber:checkOverflow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // bool checkOverflow ( double num ) const - // N n double + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QLCDNumber_checkOverflow( ::pPtr, ... ) - // bool checkOverflow ( int num ) const - // N n int // RETURN Qt_QLCDNumber_checkOverflow_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLCDNumber:intValue() @@ -160,30 +182,18 @@ METHOD QLCDNumber:value() METHOD QLCDNumber:display( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void display ( const QString & s ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QLCDNumber_display( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" - // void display ( double num ) - // N n double + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QLCDNumber_display_1( ::pPtr, ... ) - // void display ( int num ) - // N n int // RETURN Qt_QLCDNumber_display_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLCDNumber:setBinMode() diff --git a/harbour/contrib/hbqt/qtgui/g/TQLabel.prg b/harbour/contrib/hbqt/qtgui/g/TQLabel.prg index 757ca6d6b2..7906ec8282 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQLabel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQLabel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -117,7 +149,7 @@ METHOD QLabel:alignment() METHOD QLabel:buddy() - RETURN Qt_QLabel_buddy( ::pPtr ) + RETURN HB_QWidget():from( Qt_QLabel_buddy( ::pPtr ) ) METHOD QLabel:hasScaledContents() @@ -133,7 +165,7 @@ METHOD QLabel:margin() METHOD QLabel:movie() - RETURN Qt_QLabel_movie( ::pPtr ) + RETURN HB_QMovie():from( Qt_QLabel_movie( ::pPtr ) ) METHOD QLabel:openExternalLinks() @@ -141,11 +173,11 @@ METHOD QLabel:openExternalLinks() METHOD QLabel:picture() - RETURN Qt_QLabel_picture( ::pPtr ) + RETURN HB_QPicture():from( Qt_QLabel_picture( ::pPtr ) ) METHOD QLabel:pixmap() - RETURN Qt_QLabel_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QLabel_pixmap( ::pPtr ) ) METHOD QLabel:setAlignment( nQt_Alignment ) @@ -209,26 +241,16 @@ METHOD QLabel:setMovie( pMovie ) METHOD QLabel:setNum( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setNum ( int num ) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QLabel_setNum( ::pPtr, ... ) - // void setNum ( double num ) - // N n double // RETURN Qt_QLabel_setNum_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLabel:setPicture( pPicture ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQLayout.prg index adf1867456..ea4b222494 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -124,7 +156,7 @@ METHOD QLayout:addWidget( pW ) METHOD QLayout:contentsRect() - RETURN Qt_QLayout_contentsRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QLayout_contentsRect( ::pPtr ) ) METHOD QLayout:count() @@ -148,23 +180,23 @@ METHOD QLayout:isEnabled() METHOD QLayout:itemAt( nIndex ) - RETURN Qt_QLayout_itemAt( ::pPtr, nIndex ) + RETURN HB_QLayoutItem():from( Qt_QLayout_itemAt( ::pPtr, nIndex ) ) METHOD QLayout:maximumSize() - RETURN Qt_QLayout_maximumSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QLayout_maximumSize( ::pPtr ) ) METHOD QLayout:menuBar() - RETURN Qt_QLayout_menuBar( ::pPtr ) + RETURN HB_QWidget():from( Qt_QLayout_menuBar( ::pPtr ) ) METHOD QLayout:minimumSize() - RETURN Qt_QLayout_minimumSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QLayout_minimumSize( ::pPtr ) ) METHOD QLayout:parentWidget() - RETURN Qt_QLayout_parentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QLayout_parentWidget( ::pPtr ) ) METHOD QLayout:removeItem( pItem ) @@ -176,33 +208,26 @@ METHOD QLayout:removeWidget( pWidget ) METHOD QLayout:setAlignment( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // bool setAlignment ( QLayout * l, Qt::Alignment alignment ) - // PO p QLayout, N n Qt::Alignment - RETURN Qt_QLayout_setAlignment_2( ::pPtr, ... ) - // bool setAlignment ( QWidget * w, Qt::Alignment alignment ) - // PO p QWidget, N n Qt::Alignment - // RETURN Qt_QLayout_setAlignment( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QLAYOUT" + RETURN Qt_QLayout_setAlignment_2( ::pPtr, ... ) + CASE "QWIDGET" + RETURN Qt_QLayout_setAlignment( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setAlignment ( Qt::Alignment alignment ) - // N n Qt::Alignment + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QLayout_setAlignment_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLayout:setContentsMargins( nLeft, nTop, nRight, nBottom ) @@ -234,7 +259,7 @@ METHOD QLayout:spacing() METHOD QLayout:takeAt( nIndex ) - RETURN Qt_QLayout_takeAt( ::pPtr, nIndex ) + RETURN HB_QLayoutItem():from( Qt_QLayout_takeAt( ::pPtr, nIndex ) ) METHOD QLayout:update() @@ -242,5 +267,5 @@ METHOD QLayout:update() METHOD QLayout:closestAcceptableSize( pWidget, pSize ) - RETURN Qt_QLayout_closestAcceptableSize( ::pPtr, hbqt_ptr( pWidget ), hbqt_ptr( pSize ) ) + RETURN HB_QSize():from( Qt_QLayout_closestAcceptableSize( ::pPtr, hbqt_ptr( pWidget ), hbqt_ptr( pSize ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg b/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg index 6c99aa2354..b996dcbc6d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -114,7 +146,7 @@ METHOD QLayoutItem:expandingDirections() METHOD QLayoutItem:geometry() - RETURN Qt_QLayoutItem_geometry( ::pPtr ) + RETURN HB_QRect():from( Qt_QLayoutItem_geometry( ::pPtr ) ) METHOD QLayoutItem:hasHeightForWidth() @@ -134,11 +166,11 @@ METHOD QLayoutItem:isEmpty() METHOD QLayoutItem:layout() - RETURN Qt_QLayoutItem_layout( ::pPtr ) + RETURN HB_QLayout():from( Qt_QLayoutItem_layout( ::pPtr ) ) METHOD QLayoutItem:maximumSize() - RETURN Qt_QLayoutItem_maximumSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QLayoutItem_maximumSize( ::pPtr ) ) METHOD QLayoutItem:minimumHeightForWidth( nW ) @@ -146,7 +178,7 @@ METHOD QLayoutItem:minimumHeightForWidth( nW ) METHOD QLayoutItem:minimumSize() - RETURN Qt_QLayoutItem_minimumSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QLayoutItem_minimumSize( ::pPtr ) ) METHOD QLayoutItem:setAlignment( nAlignment ) @@ -158,13 +190,13 @@ METHOD QLayoutItem:setGeometry( pR ) METHOD QLayoutItem:sizeHint() - RETURN Qt_QLayoutItem_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QLayoutItem_sizeHint( ::pPtr ) ) METHOD QLayoutItem:spacerItem() - RETURN Qt_QLayoutItem_spacerItem( ::pPtr ) + RETURN HB_QSpacerItem():from( Qt_QLayoutItem_spacerItem( ::pPtr ) ) METHOD QLayoutItem:widget() - RETURN Qt_QLayoutItem_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QLayoutItem_widget( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg index ddbd3fe0d7..213e5406bb 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -148,11 +180,11 @@ METHOD QLineEdit:backspace() METHOD QLineEdit:completer() - RETURN Qt_QLineEdit_completer( ::pPtr ) + RETURN HB_QCompleter():from( Qt_QLineEdit_completer( ::pPtr ) ) METHOD QLineEdit:createStandardContextMenu() - RETURN Qt_QLineEdit_createStandardContextMenu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QLineEdit_createStandardContextMenu( ::pPtr ) ) METHOD QLineEdit:cursorBackward( lMark, nSteps ) @@ -252,7 +284,7 @@ METHOD QLineEdit:maxLength() METHOD QLineEdit:minimumSizeHint() - RETURN Qt_QLineEdit_minimumSizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QLineEdit_minimumSizeHint( ::pPtr ) ) METHOD QLineEdit:selectedText() @@ -316,7 +348,7 @@ METHOD QLineEdit:setValidator( pV ) METHOD QLineEdit:sizeHint() - RETURN Qt_QLineEdit_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QLineEdit_sizeHint( ::pPtr ) ) METHOD QLineEdit:text() @@ -324,7 +356,7 @@ METHOD QLineEdit:text() METHOD QLineEdit:validator() - RETURN Qt_QLineEdit_validator( ::pPtr ) + RETURN HB_QValidator():from( Qt_QLineEdit_validator( ::pPtr ) ) METHOD QLineEdit:clear() diff --git a/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg index b670672c84..8159dc86b4 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,63 +121,45 @@ METHOD QLinearGradient:new( ... ) METHOD QLinearGradient:finalStop() - RETURN Qt_QLinearGradient_finalStop( ::pPtr ) + RETURN HB_QPointF():from( Qt_QLinearGradient_finalStop( ::pPtr ) ) METHOD QLinearGradient:setFinalStop( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setFinalStop ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QLinearGradient_setFinalStop_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setFinalStop ( const QPointF & stop ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QLinearGradient_setFinalStop( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLinearGradient:setStart( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setStart ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QLinearGradient_setStart_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setStart ( const QPointF & start ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QLinearGradient_setStart( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QLinearGradient:start() - RETURN Qt_QLinearGradient_start( ::pPtr ) + RETURN HB_QPointF():from( Qt_QLinearGradient_start( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQListView.prg b/harbour/contrib/hbqt/qtgui/g/TQListView.prg index 9f2abb05f4..adc943b872 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQListView.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQListView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -126,7 +158,7 @@ METHOD QListView:flow() METHOD QListView:gridSize() - RETURN Qt_QListView_gridSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QListView_gridSize( ::pPtr ) ) METHOD QListView:isRowHidden( nRow ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg index e02cc73d58..d882bae4e7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -112,27 +144,17 @@ METHOD QListWidget:new( ... ) METHOD QListWidget:addItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void addItem ( const QString & label ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QListWidget_addItem( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void addItem ( QListWidgetItem * item ) [*D=1*] - // PO p QListWidgetItem + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QListWidget_addItem_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QListWidget:addItems( pLabels ) @@ -148,7 +170,7 @@ METHOD QListWidget:count() METHOD QListWidget:currentItem() - RETURN Qt_QListWidget_currentItem( ::pPtr ) + RETURN HB_QListWidgetItem():from( Qt_QListWidget_currentItem( ::pPtr ) ) METHOD QListWidget:currentRow() @@ -160,31 +182,21 @@ METHOD QListWidget:editItem( pItem ) METHOD QListWidget:findItems( cText, nFlags ) - RETURN Qt_QListWidget_findItems( ::pPtr, cText, nFlags ) + RETURN HB_QList():from( Qt_QListWidget_findItems( ::pPtr, cText, nFlags ) ) METHOD QListWidget:insertItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "C" - // void insertItem ( int row, const QString & label ) - // N n int, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QListWidget_insertItem_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void insertItem ( int row, QListWidgetItem * item ) [*D=2*] - // N n int, PO p QListWidgetItem + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QListWidget_insertItem( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QListWidget:insertItems( nRow, pLabels ) @@ -196,38 +208,29 @@ METHOD QListWidget:isSortingEnabled() METHOD QListWidget:item( nRow ) - RETURN Qt_QListWidget_item( ::pPtr, nRow ) + RETURN HB_QListWidgetItem():from( Qt_QListWidget_item( ::pPtr, nRow ) ) METHOD QListWidget:itemAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QListWidgetItem * itemAt ( int x, int y ) const - // N n int, N n int - RETURN QListWidgetItem():from( Qt_QListWidget_itemAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QListWidgetItem():from( Qt_QListWidget_itemAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QListWidgetItem * itemAt ( const QPoint & p ) const - // PO p QPoint - RETURN QListWidgetItem():from( Qt_QListWidget_itemAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QListWidgetItem():from( Qt_QListWidget_itemAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QListWidget:itemWidget( pItem ) - RETURN Qt_QListWidget_itemWidget( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QWidget():from( Qt_QListWidget_itemWidget( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QListWidget:openPersistentEditor( pItem ) @@ -243,61 +246,43 @@ METHOD QListWidget:row( pItem ) METHOD QListWidget:selectedItems() - RETURN Qt_QListWidget_selectedItems( ::pPtr ) + RETURN HB_QList():from( Qt_QListWidget_selectedItems( ::pPtr ) ) METHOD QListWidget:setCurrentItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setCurrentItem ( QListWidgetItem * item, QItemSelectionModel::SelectionFlags command ) - // PO p QListWidgetItem, N n QItemSelectionModel::SelectionFlags + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QListWidget_setCurrentItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setCurrentItem ( QListWidgetItem * item ) - // PO p QListWidgetItem + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QListWidget_setCurrentItem( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QListWidget:setCurrentRow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setCurrentRow ( int row, QItemSelectionModel::SelectionFlags command ) - // N n int, N n QItemSelectionModel::SelectionFlags + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QListWidget_setCurrentRow_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setCurrentRow ( int row ) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QListWidget_setCurrentRow( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QListWidget:setItemWidget( pItem, pWidget ) @@ -313,11 +298,11 @@ METHOD QListWidget:sortItems( nOrder ) METHOD QListWidget:takeItem( nRow ) - RETURN Qt_QListWidget_takeItem( ::pPtr, nRow ) + RETURN HB_QListWidgetItem():from( Qt_QListWidget_takeItem( ::pPtr, nRow ) ) METHOD QListWidget:visualItemRect( pItem ) - RETURN Qt_QListWidget_visualItemRect( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QRect():from( Qt_QListWidget_visualItemRect( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QListWidget:clear() diff --git a/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg index ffd2c67054..d6ddaa1186 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -120,7 +152,7 @@ METHOD QListWidgetItem:new( ... ) METHOD QListWidgetItem:background() - RETURN Qt_QListWidgetItem_background( ::pPtr ) + RETURN HB_QBrush():from( Qt_QListWidgetItem_background( ::pPtr ) ) METHOD QListWidgetItem:checkState() @@ -128,11 +160,11 @@ METHOD QListWidgetItem:checkState() METHOD QListWidgetItem:clone() - RETURN Qt_QListWidgetItem_clone( ::pPtr ) + RETURN HB_QListWidgetItem():from( Qt_QListWidgetItem_clone( ::pPtr ) ) METHOD QListWidgetItem:data( nRole ) - RETURN Qt_QListWidgetItem_data( ::pPtr, nRole ) + RETURN HB_QVariant():from( Qt_QListWidgetItem_data( ::pPtr, nRole ) ) METHOD QListWidgetItem:flags() @@ -140,15 +172,15 @@ METHOD QListWidgetItem:flags() METHOD QListWidgetItem:font() - RETURN Qt_QListWidgetItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QListWidgetItem_font( ::pPtr ) ) METHOD QListWidgetItem:foreground() - RETURN Qt_QListWidgetItem_foreground( ::pPtr ) + RETURN HB_QBrush():from( Qt_QListWidgetItem_foreground( ::pPtr ) ) METHOD QListWidgetItem:icon() - RETURN Qt_QListWidgetItem_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QListWidgetItem_icon( ::pPtr ) ) METHOD QListWidgetItem:isHidden() @@ -160,7 +192,7 @@ METHOD QListWidgetItem:isSelected() METHOD QListWidgetItem:listWidget() - RETURN Qt_QListWidgetItem_listWidget( ::pPtr ) + RETURN HB_QListWidget():from( Qt_QListWidgetItem_listWidget( ::pPtr ) ) METHOD QListWidgetItem:read( pIn ) @@ -228,7 +260,7 @@ METHOD QListWidgetItem:setWhatsThis( cWhatsThis ) METHOD QListWidgetItem:sizeHint() - RETURN Qt_QListWidgetItem_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QListWidgetItem_sizeHint( ::pPtr ) ) METHOD QListWidgetItem:statusTip() diff --git a/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg b/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg index d6cb4892be..d11193c279 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -131,61 +163,41 @@ METHOD QMainWindow:new( ... ) METHOD QMainWindow:addDockWidget( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation ) - // N n Qt::DockWidgetArea, PO p QDockWidget, N n Qt::Orientation + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QMainWindow_addDockWidget_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget ) - // N n Qt::DockWidgetArea, PO p QDockWidget + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QMainWindow_addDockWidget( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMainWindow:addToolBar( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void addToolBar ( Qt::ToolBarArea area, QToolBar * toolbar ) - // N n Qt::ToolBarArea, PO p QToolBar + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QMainWindow_addToolBar( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QToolBar * addToolBar ( const QString & title ) // NOT implemented - // C c QString - RETURN QToolBar():from( Qt_QMainWindow_addToolBar_2( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // void addToolBar ( QToolBar * toolbar ) - // PO p QToolBar + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QToolBar():from( Qt_QMainWindow_addToolBar_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QMainWindow_addToolBar_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMainWindow:addToolBarBreak( nArea ) @@ -193,7 +205,7 @@ METHOD QMainWindow:addToolBarBreak( nArea ) METHOD QMainWindow:centralWidget() - RETURN Qt_QMainWindow_centralWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QMainWindow_centralWidget( ::pPtr ) ) METHOD QMainWindow:corner( nCorner ) @@ -201,7 +213,7 @@ METHOD QMainWindow:corner( nCorner ) METHOD QMainWindow:createPopupMenu() - RETURN Qt_QMainWindow_createPopupMenu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QMainWindow_createPopupMenu( ::pPtr ) ) METHOD QMainWindow:dockOptions() @@ -217,7 +229,7 @@ METHOD QMainWindow:documentMode() METHOD QMainWindow:iconSize() - RETURN Qt_QMainWindow_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QMainWindow_iconSize( ::pPtr ) ) METHOD QMainWindow:insertToolBar( pBefore, pToolbar ) @@ -237,11 +249,11 @@ METHOD QMainWindow:isDockNestingEnabled() METHOD QMainWindow:menuBar() - RETURN Qt_QMainWindow_menuBar( ::pPtr ) + RETURN HB_QMenuBar():from( Qt_QMainWindow_menuBar( ::pPtr ) ) METHOD QMainWindow:menuWidget() - RETURN Qt_QMainWindow_menuWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QMainWindow_menuWidget( ::pPtr ) ) METHOD QMainWindow:removeDockWidget( pDockwidget ) @@ -265,7 +277,7 @@ METHOD QMainWindow:restoreState( pState, nVersion ) METHOD QMainWindow:saveState( nVersion ) - RETURN Qt_QMainWindow_saveState( ::pPtr, nVersion ) + RETURN HB_QByteArray():from( Qt_QMainWindow_saveState( ::pPtr, nVersion ) ) METHOD QMainWindow:setCentralWidget( pWidget ) @@ -321,7 +333,7 @@ METHOD QMainWindow:splitDockWidget( pFirst, pSecond, nOrientation ) METHOD QMainWindow:statusBar() - RETURN Qt_QMainWindow_statusBar( ::pPtr ) + RETURN HB_QStatusBar():from( Qt_QMainWindow_statusBar( ::pPtr ) ) METHOD QMainWindow:tabPosition( nArea ) @@ -333,7 +345,7 @@ METHOD QMainWindow:tabShape() METHOD QMainWindow:tabifiedDockWidgets( pDockwidget ) - RETURN Qt_QMainWindow_tabifiedDockWidgets( ::pPtr, hbqt_ptr( pDockwidget ) ) + RETURN HB_QList():from( Qt_QMainWindow_tabifiedDockWidgets( ::pPtr, hbqt_ptr( pDockwidget ) ) ) METHOD QMainWindow:tabifyDockWidget( pFirst, pSecond ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg b/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg index d4035a8418..79cc6784d8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -132,7 +164,7 @@ METHOD QMatrix:dy() METHOD QMatrix:inverted( lInvertible ) - RETURN Qt_QMatrix_inverted( ::pPtr, lInvertible ) + RETURN HB_QMatrix():from( Qt_QMatrix_inverted( ::pPtr, lInvertible ) ) METHOD QMatrix:isIdentity() @@ -144,81 +176,60 @@ METHOD QMatrix:isInvertible() METHOD QMatrix:map( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void map ( int x, int y, int * tx, int * ty ) const - // N n int, N n int, N @ int, N @ int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QMatrix_map_1( ::pPtr, ... ) - // void map ( qreal x, qreal y, qreal * tx, qreal * ty ) const - // N n qreal, N n qreal, N @ qreal, N @ qreal // RETURN Qt_QMatrix_map( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPolygon map ( const QPolygon & polygon ) const - // PO p QPolygon - RETURN QPolygon():from( Qt_QMatrix_map_7( ::pPtr, ... ) ) - // QLine map ( const QLine & line ) const - // PO p QLine - // RETURN QLine():from( Qt_QMatrix_map_5( ::pPtr, ... ) ) - // QPoint map ( const QPoint & point ) const - // PO p QPoint - // RETURN QPoint():from( Qt_QMatrix_map_3( ::pPtr, ... ) ) - // QRegion map ( const QRegion & region ) const - // PO p QRegion - // RETURN QRegion():from( Qt_QMatrix_map_8( ::pPtr, ... ) ) - // QPointF map ( const QPointF & point ) const - // PO p QPointF - // RETURN QPointF():from( Qt_QMatrix_map_2( ::pPtr, ... ) ) - // QPolygonF map ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygonF():from( Qt_QMatrix_map_6( ::pPtr, ... ) ) - // QLineF map ( const QLineF & line ) const - // PO p QLineF - // RETURN QLineF():from( Qt_QMatrix_map_4( ::pPtr, ... ) ) - // QPainterPath map ( const QPainterPath & path ) const - // PO p QPainterPath - // RETURN QPainterPath():from( Qt_QMatrix_map_9( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGON" + RETURN HB_QPolygon():from( Qt_QMatrix_map_7( ::pPtr, ... ) ) + CASE "QLINE" + RETURN HB_QLine():from( Qt_QMatrix_map_5( ::pPtr, ... ) ) + CASE "QPOINT" + RETURN HB_QPoint():from( Qt_QMatrix_map_3( ::pPtr, ... ) ) + CASE "QREGION" + RETURN HB_QRegion():from( Qt_QMatrix_map_8( ::pPtr, ... ) ) + CASE "QPOINTF" + RETURN HB_QPointF():from( Qt_QMatrix_map_2( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygonF():from( Qt_QMatrix_map_6( ::pPtr, ... ) ) + CASE "QLINEF" + RETURN HB_QLineF():from( Qt_QMatrix_map_4( ::pPtr, ... ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QMatrix_map_9( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMatrix:mapRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF mapRect ( const QRectF & rectangle ) const - // PO p QRectF - RETURN QRectF():from( Qt_QMatrix_mapRect( ::pPtr, ... ) ) - // QRect mapRect ( const QRect & rectangle ) const - // PO p QRect - // RETURN QRect():from( Qt_QMatrix_mapRect_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN HB_QRectF():from( Qt_QMatrix_mapRect( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QRect():from( Qt_QMatrix_mapRect_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMatrix:mapToPolygon( pRectangle ) - RETURN Qt_QMatrix_mapToPolygon( ::pPtr, hbqt_ptr( pRectangle ) ) + RETURN HB_QPolygon():from( Qt_QMatrix_mapToPolygon( ::pPtr, hbqt_ptr( pRectangle ) ) ) METHOD QMatrix:reset() @@ -226,11 +237,11 @@ METHOD QMatrix:reset() METHOD QMatrix:rotate( nDegrees ) - RETURN Qt_QMatrix_rotate( ::pPtr, nDegrees ) + RETURN HB_QMatrix():from( Qt_QMatrix_rotate( ::pPtr, nDegrees ) ) METHOD QMatrix:scale( nSx, nSy ) - RETURN Qt_QMatrix_scale( ::pPtr, nSx, nSy ) + RETURN HB_QMatrix():from( Qt_QMatrix_scale( ::pPtr, nSx, nSy ) ) METHOD QMatrix:setMatrix( nM11, nM12, nM21, nM22, nDx, nDy ) @@ -238,9 +249,9 @@ METHOD QMatrix:setMatrix( nM11, nM12, nM21, nM22, nDx, nDy ) METHOD QMatrix:shear( nSh, nSv ) - RETURN Qt_QMatrix_shear( ::pPtr, nSh, nSv ) + RETURN HB_QMatrix():from( Qt_QMatrix_shear( ::pPtr, nSh, nSv ) ) METHOD QMatrix:translate( nDx, nDy ) - RETURN Qt_QMatrix_translate( ::pPtr, nDx, nDy ) + RETURN HB_QMatrix():from( Qt_QMatrix_translate( ::pPtr, nDx, nDy ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg b/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg index 3faae35afe..94addb28c7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -115,19 +147,19 @@ METHOD QMdiArea:activationOrder() METHOD QMdiArea:activeSubWindow() - RETURN Qt_QMdiArea_activeSubWindow( ::pPtr ) + RETURN HB_QMdiSubWindow():from( Qt_QMdiArea_activeSubWindow( ::pPtr ) ) METHOD QMdiArea:addSubWindow( pWidget, nWindowFlags ) - RETURN Qt_QMdiArea_addSubWindow( ::pPtr, hbqt_ptr( pWidget ), nWindowFlags ) + RETURN HB_QMdiSubWindow():from( Qt_QMdiArea_addSubWindow( ::pPtr, hbqt_ptr( pWidget ), nWindowFlags ) ) METHOD QMdiArea:background() - RETURN Qt_QMdiArea_background( ::pPtr ) + RETURN HB_QBrush():from( Qt_QMdiArea_background( ::pPtr ) ) METHOD QMdiArea:currentSubWindow() - RETURN Qt_QMdiArea_currentSubWindow( ::pPtr ) + RETURN HB_QMdiSubWindow():from( Qt_QMdiArea_currentSubWindow( ::pPtr ) ) METHOD QMdiArea:documentMode() @@ -167,7 +199,7 @@ METHOD QMdiArea:setViewMode( nMode ) METHOD QMdiArea:subWindowList( nOrder ) - RETURN Qt_QMdiArea_subWindowList( ::pPtr, nOrder ) + RETURN HB_QList():from( Qt_QMdiArea_subWindowList( ::pPtr, nOrder ) ) METHOD QMdiArea:tabPosition() diff --git a/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg b/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg index ad0b9428ab..45f3056923 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -111,7 +143,7 @@ METHOD QMdiSubWindow:keyboardSingleStep() METHOD QMdiSubWindow:mdiArea() - RETURN Qt_QMdiSubWindow_mdiArea( ::pPtr ) + RETURN HB_QMdiArea():from( Qt_QMdiSubWindow_mdiArea( ::pPtr ) ) METHOD QMdiSubWindow:setKeyboardPageStep( nStep ) @@ -135,7 +167,7 @@ METHOD QMdiSubWindow:setWidget( pWidget ) METHOD QMdiSubWindow:systemMenu() - RETURN Qt_QMdiSubWindow_systemMenu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QMdiSubWindow_systemMenu( ::pPtr ) ) METHOD QMdiSubWindow:testOption( nOption ) @@ -143,7 +175,7 @@ METHOD QMdiSubWindow:testOption( nOption ) METHOD QMdiSubWindow:widget() - RETURN Qt_QMdiSubWindow_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QMdiSubWindow_widget( ::pPtr ) ) METHOD QMdiSubWindow:showShaded() diff --git a/harbour/contrib/hbqt/qtgui/g/TQMenu.prg b/harbour/contrib/hbqt/qtgui/g/TQMenu.prg index 8337e2cc1a..46d3450a85 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMenu.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMenu.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -111,106 +143,79 @@ METHOD QMenu:new( ... ) METHOD QMenu:actionAt( pPt ) - RETURN Qt_QMenu_actionAt( ::pPtr, hbqt_ptr( pPt ) ) + RETURN HB_QAction():from( Qt_QMenu_actionAt( ::pPtr, hbqt_ptr( pPt ) ) ) METHOD QMenu:actionGeometry( pAct ) - RETURN Qt_QMenu_actionGeometry( ::pPtr, hbqt_ptr( pAct ) ) + RETURN HB_QRect():from( Qt_QMenu_actionGeometry( ::pPtr, hbqt_ptr( pAct ) ) ) METHOD QMenu:activeAction() - RETURN Qt_QMenu_activeAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QMenu_activeAction( ::pPtr ) ) METHOD QMenu:addAction( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "PO" .AND. aV[ 5 ] $ "PO" - // QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - // PCO p QIcon, C c QString, PO p QObject, PO p char, PO p QKeySequence - RETURN QAction():from( Qt_QMenu_addAction_3( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) + RETURN HB_QAction():from( Qt_QMenu_addAction_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "PO" - // QAction * addAction ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - // C c QString, PO p QObject, PO p char, PO p QKeySequence - RETURN QAction():from( Qt_QMenu_addAction_2( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "PO" - // QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - // PCO p QIcon, C c QString, PO p QObject, PO p char, PO p QKeySequence - RETURN QAction():from( Qt_QMenu_addAction_3( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) + RETURN HB_QAction():from( Qt_QMenu_addAction_2( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) + RETURN HB_QAction():from( Qt_QMenu_addAction_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // QAction * addAction ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - // C c QString, PO p QObject, PO p char, PO p QKeySequence - RETURN QAction():from( Qt_QMenu_addAction_2( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QAction():from( Qt_QMenu_addAction_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" - // QAction * addAction ( const QIcon & icon, const QString & text ) - // PCO p QIcon, C c QString - RETURN QAction():from( Qt_QMenu_addAction_1( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QAction():from( Qt_QMenu_addAction_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QAction * addAction ( const QString & text ) - // C c QString - RETURN QAction():from( Qt_QMenu_addAction( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // void addAction ( QAction * action ) - // PO p QAction + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QMenu_addAction( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QMenu_addAction_4( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMenu:addMenu( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" - // QMenu * addMenu ( const QIcon & icon, const QString & title ) - // PCO p QIcon, C c QString - RETURN QMenu():from( Qt_QMenu_addMenu_2( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QMenu():from( Qt_QMenu_addMenu_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QMenu * addMenu ( const QString & title ) - // C c QString - RETURN QMenu():from( Qt_QMenu_addMenu_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QAction * addMenu ( QMenu * menu ) - // PO p QMenu - RETURN QAction():from( Qt_QMenu_addMenu( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QMenu():from( Qt_QMenu_addMenu_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QMenu_addMenu( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMenu:addSeparator() - RETURN Qt_QMenu_addSeparator( ::pPtr ) + RETURN HB_QAction():from( Qt_QMenu_addSeparator( ::pPtr ) ) METHOD QMenu:clear() @@ -218,37 +223,27 @@ METHOD QMenu:clear() METHOD QMenu:defaultAction() - RETURN Qt_QMenu_defaultAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QMenu_defaultAction( ::pPtr ) ) METHOD QMenu:exec( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QAction * exec ( const QPoint & p, QAction * action = 0 ) - // PO p QPoint, PO p QAction - RETURN QAction():from( Qt_QMenu_exec_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QAction():from( Qt_QMenu_exec_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QAction * exec ( const QPoint & p, QAction * action = 0 ) - // PO p QPoint, PO p QAction - RETURN QAction():from( Qt_QMenu_exec_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QMenu_exec_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QAction * exec () - RETURN QAction():from( Qt_QMenu_exec( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QAction():from( Qt_QMenu_exec( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QMenu:hideTearOffMenu() @@ -256,15 +251,15 @@ METHOD QMenu:hideTearOffMenu() METHOD QMenu:icon() - RETURN Qt_QMenu_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QMenu_icon( ::pPtr ) ) METHOD QMenu:insertMenu( pBefore, pMenu ) - RETURN Qt_QMenu_insertMenu( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pMenu ) ) + RETURN HB_QAction():from( Qt_QMenu_insertMenu( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pMenu ) ) ) METHOD QMenu:insertSeparator( pBefore ) - RETURN Qt_QMenu_insertSeparator( ::pPtr, hbqt_ptr( pBefore ) ) + RETURN HB_QAction():from( Qt_QMenu_insertSeparator( ::pPtr, hbqt_ptr( pBefore ) ) ) METHOD QMenu:isEmpty() @@ -280,7 +275,7 @@ METHOD QMenu:isTearOffMenuVisible() METHOD QMenu:menuAction() - RETURN Qt_QMenu_menuAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QMenu_menuAction( ::pPtr ) ) METHOD QMenu:popup( pP, pAtAction ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg b/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg index 5b4b3353b2..6ceefe94c6 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,73 +127,51 @@ METHOD QMenuBar:new( ... ) METHOD QMenuBar:activeAction() - RETURN Qt_QMenuBar_activeAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QMenuBar_activeAction( ::pPtr ) ) METHOD QMenuBar:addAction( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) - // C c QString, PO p QObject, PO p char - RETURN QAction():from( Qt_QMenuBar_addAction_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QAction():from( Qt_QMenuBar_addAction_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QAction * addAction ( const QString & text ) - // C c QString - RETURN QAction():from( Qt_QMenuBar_addAction( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // void addAction ( QAction * action ) - // PO p QAction + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QMenuBar_addAction( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QMenuBar_addAction_2( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMenuBar:addMenu( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" - // QMenu * addMenu ( const QIcon & icon, const QString & title ) - // PCO p QIcon, C c QString - RETURN QMenu():from( Qt_QMenuBar_addMenu_2( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QMenu():from( Qt_QMenuBar_addMenu_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QMenu * addMenu ( const QString & title ) - // C c QString - RETURN QMenu():from( Qt_QMenuBar_addMenu_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QAction * addMenu ( QMenu * menu ) - // PO p QMenu - RETURN QAction():from( Qt_QMenuBar_addMenu( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QMenu():from( Qt_QMenuBar_addMenu_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QMenuBar_addMenu( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMenuBar:addSeparator() - RETURN Qt_QMenuBar_addSeparator( ::pPtr ) + RETURN HB_QAction():from( Qt_QMenuBar_addSeparator( ::pPtr ) ) METHOD QMenuBar:clear() @@ -169,11 +179,11 @@ METHOD QMenuBar:clear() METHOD QMenuBar:insertMenu( pBefore, pMenu ) - RETURN Qt_QMenuBar_insertMenu( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pMenu ) ) + RETURN HB_QAction():from( Qt_QMenuBar_insertMenu( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pMenu ) ) ) METHOD QMenuBar:insertSeparator( pBefore ) - RETURN Qt_QMenuBar_insertSeparator( ::pPtr, hbqt_ptr( pBefore ) ) + RETURN HB_QAction():from( Qt_QMenuBar_insertSeparator( ::pPtr, hbqt_ptr( pBefore ) ) ) METHOD QMenuBar:isDefaultUp() diff --git a/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg b/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg index 80298df8dd..4d01b8a09e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -120,38 +152,27 @@ METHOD QMessageBox:new( ... ) METHOD QMessageBox:addButton( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // QPushButton * addButton ( const QString & text, ButtonRole role ) - // C c QString, N n QMessageBox::ButtonRole - RETURN QPushButton():from( Qt_QMessageBox_addButton_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void addButton ( QAbstractButton * button, ButtonRole role ) - // PO p QAbstractButton, N n QMessageBox::ButtonRole + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPushButton():from( Qt_QMessageBox_addButton_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QMessageBox_addButton( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QPushButton * addButton ( StandardButton button ) - // N n QMessageBox::StandardButton - RETURN QPushButton():from( Qt_QMessageBox_addButton_2( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QPushButton():from( Qt_QMessageBox_addButton_2( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMessageBox:button( nWhich ) - RETURN Qt_QMessageBox_button( ::pPtr, nWhich ) + RETURN HB_QAbstractButton():from( Qt_QMessageBox_button( ::pPtr, nWhich ) ) METHOD QMessageBox:buttonRole( pButton ) @@ -159,15 +180,15 @@ METHOD QMessageBox:buttonRole( pButton ) METHOD QMessageBox:buttons() - RETURN Qt_QMessageBox_buttons( ::pPtr ) + RETURN HB_QList():from( Qt_QMessageBox_buttons( ::pPtr ) ) METHOD QMessageBox:clickedButton() - RETURN Qt_QMessageBox_clickedButton( ::pPtr ) + RETURN HB_QAbstractButton():from( Qt_QMessageBox_clickedButton( ::pPtr ) ) METHOD QMessageBox:defaultButton() - RETURN Qt_QMessageBox_defaultButton( ::pPtr ) + RETURN HB_QPushButton():from( Qt_QMessageBox_defaultButton( ::pPtr ) ) METHOD QMessageBox:detailedText() @@ -175,7 +196,7 @@ METHOD QMessageBox:detailedText() METHOD QMessageBox:escapeButton() - RETURN Qt_QMessageBox_escapeButton( ::pPtr ) + RETURN HB_QAbstractButton():from( Qt_QMessageBox_escapeButton( ::pPtr ) ) METHOD QMessageBox:icon() @@ -183,7 +204,7 @@ METHOD QMessageBox:icon() METHOD QMessageBox:iconPixmap() - RETURN Qt_QMessageBox_iconPixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QMessageBox_iconPixmap( ::pPtr ) ) METHOD QMessageBox:informativeText() @@ -199,27 +220,17 @@ METHOD QMessageBox:removeButton( pButton ) METHOD QMessageBox:setDefaultButton( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setDefaultButton ( StandardButton button ) - // N n QMessageBox::StandardButton + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QMessageBox_setDefaultButton_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setDefaultButton ( QPushButton * button ) - // PO p QPushButton + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QMessageBox_setDefaultButton( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMessageBox:setDetailedText( cText ) @@ -227,27 +238,17 @@ METHOD QMessageBox:setDetailedText( cText ) METHOD QMessageBox:setEscapeButton( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setEscapeButton ( StandardButton button ) - // N n QMessageBox::StandardButton + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QMessageBox_setEscapeButton_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setEscapeButton ( QAbstractButton * button ) - // PO p QAbstractButton + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QMessageBox_setEscapeButton( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QMessageBox:setIcon( nIcon ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg index 93e69da1ad..5b09453877 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,7 +134,7 @@ METHOD QMouseEvent:buttons() METHOD QMouseEvent:globalPos() - RETURN Qt_QMouseEvent_globalPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QMouseEvent_globalPos( ::pPtr ) ) METHOD QMouseEvent:globalX() @@ -114,11 +146,11 @@ METHOD QMouseEvent:globalY() METHOD QMouseEvent:pos() - RETURN Qt_QMouseEvent_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QMouseEvent_pos( ::pPtr ) ) METHOD QMouseEvent:posF() - RETURN Qt_QMouseEvent_posF( ::pPtr ) + RETURN HB_QPointF():from( Qt_QMouseEvent_posF( ::pPtr ) ) METHOD QMouseEvent:x() diff --git a/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg index da5dd41f27..215acb08b3 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QMoveEvent:new( ... ) METHOD QMoveEvent:oldPos() - RETURN Qt_QMoveEvent_oldPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QMoveEvent_oldPos( ::pPtr ) ) METHOD QMoveEvent:pos() - RETURN Qt_QMoveEvent_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QMoveEvent_pos( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQMovie.prg b/harbour/contrib/hbqt/qtgui/g/TQMovie.prg index 14fffe78ff..01c6c4af4c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQMovie.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQMovie.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -113,7 +145,7 @@ METHOD QMovie:new( ... ) METHOD QMovie:backgroundColor() - RETURN Qt_QMovie_backgroundColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QMovie_backgroundColor( ::pPtr ) ) METHOD QMovie:cacheMode() @@ -125,15 +157,15 @@ METHOD QMovie:currentFrameNumber() METHOD QMovie:currentImage() - RETURN Qt_QMovie_currentImage( ::pPtr ) + RETURN HB_QImage():from( Qt_QMovie_currentImage( ::pPtr ) ) METHOD QMovie:currentPixmap() - RETURN Qt_QMovie_currentPixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QMovie_currentPixmap( ::pPtr ) ) METHOD QMovie:device() - RETURN Qt_QMovie_device( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QMovie_device( ::pPtr ) ) METHOD QMovie:fileName() @@ -141,7 +173,7 @@ METHOD QMovie:fileName() METHOD QMovie:format() - RETURN Qt_QMovie_format( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QMovie_format( ::pPtr ) ) METHOD QMovie:frameCount() @@ -149,7 +181,7 @@ METHOD QMovie:frameCount() METHOD QMovie:frameRect() - RETURN Qt_QMovie_frameRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QMovie_frameRect( ::pPtr ) ) METHOD QMovie:isValid() @@ -169,7 +201,7 @@ METHOD QMovie:nextFrameDelay() METHOD QMovie:scaledSize() - RETURN Qt_QMovie_scaledSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QMovie_scaledSize( ::pPtr ) ) METHOD QMovie:setBackgroundColor( pColor ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg index 0ab406040d..a9db22af86 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -105,7 +137,7 @@ METHOD QPageSetupDialog:options() METHOD QPageSetupDialog:printer() - RETURN Qt_QPageSetupDialog_printer( ::pPtr ) + RETURN HB_QPrinter():from( Qt_QPageSetupDialog_printer( ::pPtr ) ) METHOD QPageSetupDialog:setOption( nOption, lOn ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg b/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg index eefa2c8db6..1e2dd055c8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -121,7 +153,7 @@ METHOD QPaintDevice:numColors() METHOD QPaintDevice:paintEngine() - RETURN Qt_QPaintDevice_paintEngine( ::pPtr ) + RETURN HB_QPaintEngine():from( Qt_QPaintDevice_paintEngine( ::pPtr ) ) METHOD QPaintDevice:paintingActive() diff --git a/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg b/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg index 69dd23a44d..562657db60 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -107,26 +139,20 @@ METHOD QPaintEngine:begin( pPdev ) METHOD QPaintEngine:drawEllipse( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // virtual void drawEllipse ( const QRectF & rect ) - // PO p QRectF - RETURN Qt_QPaintEngine_drawEllipse( ::pPtr, ... ) - // virtual void drawEllipse ( const QRect & rect ) - // PO p QRect - // RETURN Qt_QPaintEngine_drawEllipse_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPaintEngine_drawEllipse( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPaintEngine_drawEllipse_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPaintEngine:drawImage( pRectangle, pImage, pSr, nFlags ) @@ -134,26 +160,20 @@ METHOD QPaintEngine:drawImage( pRectangle, pImage, pSr, nFlags ) METHOD QPaintEngine:drawLines( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // virtual void drawLines ( const QLineF * lines, int lineCount ) - // PO p QLineF, N n int - RETURN Qt_QPaintEngine_drawLines( ::pPtr, ... ) - // virtual void drawLines ( const QLine * lines, int lineCount ) - // PO p QLine, N n int - // RETURN Qt_QPaintEngine_drawLines_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QLINEF" + RETURN Qt_QPaintEngine_drawLines( ::pPtr, ... ) + CASE "QLINE" + RETURN Qt_QPaintEngine_drawLines_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPaintEngine:drawPath( pPath ) @@ -165,72 +185,54 @@ METHOD QPaintEngine:drawPixmap( pR, pPm, pSr ) METHOD QPaintEngine:drawPoints( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // virtual void drawPoints ( const QPointF * points, int pointCount ) - // PO p QPointF, N n int - RETURN Qt_QPaintEngine_drawPoints( ::pPtr, ... ) - // virtual void drawPoints ( const QPoint * points, int pointCount ) - // PO p QPoint, N n int - // RETURN Qt_QPaintEngine_drawPoints_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPaintEngine_drawPoints( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPaintEngine_drawPoints_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPaintEngine:drawPolygon( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // virtual void drawPolygon ( const QPointF * points, int pointCount, PolygonDrawMode mode ) - // PO p QPointF, N n int, N n QPaintEngine::PolygonDrawMode - RETURN Qt_QPaintEngine_drawPolygon( ::pPtr, ... ) - // virtual void drawPolygon ( const QPoint * points, int pointCount, PolygonDrawMode mode ) - // PO p QPoint, N n int, N n QPaintEngine::PolygonDrawMode - // RETURN Qt_QPaintEngine_drawPolygon_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPaintEngine_drawPolygon( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPaintEngine_drawPolygon_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPaintEngine:drawRects( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // virtual void drawRects ( const QRectF * rects, int rectCount ) - // PO p QRectF, N n int - RETURN Qt_QPaintEngine_drawRects( ::pPtr, ... ) - // virtual void drawRects ( const QRect * rects, int rectCount ) - // PO p QRect, N n int - // RETURN Qt_QPaintEngine_drawRects_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPaintEngine_drawRects( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPaintEngine_drawRects_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPaintEngine:drawTextItem( pP, pTextItem ) @@ -254,11 +256,11 @@ METHOD QPaintEngine:isActive() METHOD QPaintEngine:paintDevice() - RETURN Qt_QPaintEngine_paintDevice( ::pPtr ) + RETURN HB_QPaintDevice():from( Qt_QPaintEngine_paintDevice( ::pPtr ) ) METHOD QPaintEngine:painter() - RETURN Qt_QPaintEngine_painter( ::pPtr ) + RETURN HB_QPainter():from( Qt_QPaintEngine_painter( ::pPtr ) ) METHOD QPaintEngine:setActive( lState ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg index 32a294ed1d..ea495fd8a9 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QPaintEvent:new( ... ) METHOD QPaintEvent:rect() - RETURN Qt_QPaintEvent_rect( ::pPtr ) + RETURN HB_QRect():from( Qt_QPaintEvent_rect( ::pPtr ) ) METHOD QPaintEvent:region() - RETURN Qt_QPaintEvent_region( ::pPtr ) + RETURN HB_QRegion():from( Qt_QPaintEvent_region( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPainter.prg b/harbour/contrib/hbqt/qtgui/g/TQPainter.prg index bed87f46f2..f42937a690 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPainter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPainter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -176,7 +208,7 @@ METHOD QPainter:new( ... ) METHOD QPainter:background() - RETURN Qt_QPainter_background( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPainter_background( ::pPtr ) ) METHOD QPainter:backgroundMode() @@ -188,35 +220,58 @@ METHOD QPainter:begin( pDevice ) METHOD QPainter:boundingRect( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_boundingRect( ::pPtr, ... ) + SWITCH PCount() + CASE 6 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) + RETURN HB_QRect():from( Qt_QPainter_boundingRect_2( ::pPtr, ... ) ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QRectF():from( Qt_QPainter_boundingRect_3( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN HB_QRectF():from( Qt_QPainter_boundingRect( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QRect():from( Qt_QPainter_boundingRect_1( ::pPtr, ... ) ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QRectF():from( Qt_QPainter_boundingRect_3( ::pPtr, ... ) ) + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:brush() - RETURN Qt_QPainter_brush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPainter_brush( ::pPtr ) ) METHOD QPainter:brushOrigin() - RETURN Qt_QPainter_brushOrigin( ::pPtr ) + RETURN HB_QPoint():from( Qt_QPainter_brushOrigin( ::pPtr ) ) METHOD QPainter:clipPath() - RETURN Qt_QPainter_clipPath( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QPainter_clipPath( ::pPtr ) ) METHOD QPainter:clipRegion() - RETURN Qt_QPainter_clipRegion( ::pPtr ) + RETURN HB_QRegion():from( Qt_QPainter_clipRegion( ::pPtr ) ) METHOD QPainter:combinedMatrix() - RETURN Qt_QPainter_combinedMatrix( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QPainter_combinedMatrix( ::pPtr ) ) METHOD QPainter:combinedTransform() - RETURN Qt_QPainter_combinedTransform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QPainter_combinedTransform( ::pPtr ) ) METHOD QPainter:compositionMode() @@ -224,71 +279,237 @@ METHOD QPainter:compositionMode() METHOD QPainter:device() - RETURN Qt_QPainter_device( ::pPtr ) + RETURN HB_QPaintDevice():from( Qt_QPainter_device( ::pPtr ) ) METHOD QPainter:deviceMatrix() - RETURN Qt_QPainter_deviceMatrix( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QPainter_deviceMatrix( ::pPtr ) ) METHOD QPainter:deviceTransform() - RETURN Qt_QPainter_deviceTransform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QPainter_deviceTransform( ::pPtr ) ) METHOD QPainter:drawArc( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawArc( ::pPtr, ... ) + SWITCH PCount() + CASE 6 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) + RETURN Qt_QPainter_drawArc_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawArc( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawArc_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawChord( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawChord( ::pPtr, ... ) + SWITCH PCount() + CASE 6 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) + RETURN Qt_QPainter_drawChord_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawChord( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawChord_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawConvexPolygon( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawConvexPolygon( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINT" + RETURN Qt_QPainter_drawConvexPolygon_1( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawConvexPolygon( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGONF" + RETURN Qt_QPainter_drawConvexPolygon_2( ::pPtr, ... ) + CASE "QPOLYGON" + RETURN Qt_QPainter_drawConvexPolygon_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawEllipse( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawEllipse( ::pPtr, ... ) + SWITCH PCount() + CASE 4 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN Qt_QPainter_drawEllipse_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawEllipse_3( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawEllipse_4( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QPainter_drawEllipse_1( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawEllipse( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawImage( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawImage( ::pPtr, ... ) + SWITCH PCount() + CASE 8 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) + RETURN Qt_QPainter_drawImage_8( ::pPtr, ... ) + ENDCASE + EXIT + CASE 4 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawImage_4( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawImage_5( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawImage_1( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawImage( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN Qt_QPainter_drawImage_8( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QPainter_drawImage_1( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawImage_4( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawImage_5( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawImage( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawImage_6( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawImage_7( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawImage_3( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawImage_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawLine( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawLine( ::pPtr, ... ) + SWITCH PCount() + CASE 4 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN Qt_QPainter_drawLine_4( ::pPtr, ... ) + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINT" + RETURN Qt_QPainter_drawLine_2( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawLine_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QLINEF" + RETURN Qt_QPainter_drawLine( ::pPtr, ... ) + CASE "QLINE" + RETURN Qt_QPainter_drawLine_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawLines( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawLines( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawLines_2( ::pPtr, ... ) + CASE "QLINEF" + RETURN Qt_QPainter_drawLines( ::pPtr, ... ) + CASE "QLINE" + RETURN Qt_QPainter_drawLines_1( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawLines_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPath( pPath ) @@ -296,99 +517,402 @@ METHOD QPainter:drawPath( pPath ) METHOD QPainter:drawPicture( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPicture( ::pPtr, ... ) + SWITCH PCount() + CASE 3 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN Qt_QPainter_drawPicture_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPicture( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPicture_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPie( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPie( ::pPtr, ... ) + SWITCH PCount() + CASE 6 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) + RETURN Qt_QPainter_drawPie_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawPie( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawPie_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPixmap( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPixmap( ::pPtr, ... ) + SWITCH PCount() + CASE 9 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) .AND. hb_isNumeric( hb_pvalue( 9 ) ) + RETURN Qt_QPainter_drawPixmap_9( ::pPtr, ... ) + ENDCASE + EXIT + CASE 7 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) + RETURN Qt_QPainter_drawPixmap_10( ::pPtr, ... ) + ENDCASE + EXIT + CASE 5 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) + RETURN Qt_QPainter_drawPixmap_8( ::pPtr, ... ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN Qt_QPainter_drawPixmap_6( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QPainter_drawPixmap_1( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPixmap_3( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawPixmap( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPixmap_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPixmap_4( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawPixmap_7( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPixmap_5( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPoint( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPoint( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN Qt_QPainter_drawPoint_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPoint( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPoint_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPoints( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPoints( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPoints_1( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPoints( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGONF" + RETURN Qt_QPainter_drawPoints_2( ::pPtr, ... ) + CASE "QPOLYGON" + RETURN Qt_QPainter_drawPoints_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPolygon( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPolygon( ::pPtr, ... ) + SWITCH PCount() + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPolygon_1( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPolygon( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGON" + RETURN Qt_QPainter_drawPolygon_3( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPolygon_1( ::pPtr, ... ) + CASE "QPOLYGONF" + RETURN Qt_QPainter_drawPolygon_2( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPolygon( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGONF" + RETURN Qt_QPainter_drawPolygon_2( ::pPtr, ... ) + CASE "QPOLYGON" + RETURN Qt_QPainter_drawPolygon_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawPolyline( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawPolyline( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINT" + RETURN Qt_QPainter_drawPolyline_1( ::pPtr, ... ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawPolyline( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOLYGONF" + RETURN Qt_QPainter_drawPolyline_2( ::pPtr, ... ) + CASE "QPOLYGON" + RETURN Qt_QPainter_drawPolyline_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawRect( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawRect( ::pPtr, ... ) + SWITCH PCount() + CASE 4 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN Qt_QPainter_drawRect_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawRect_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawRects( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawRects( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawRects( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawRects_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawRoundedRect( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawRoundedRect( ::pPtr, ... ) + SWITCH PCount() + CASE 7 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) + RETURN Qt_QPainter_drawRoundedRect_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 6 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) + RETURN Qt_QPainter_drawRoundedRect_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 4 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawRoundedRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawRoundedRect_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawRoundedRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawRoundedRect_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawText( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawText( ::pPtr, ... ) + SWITCH PCount() + CASE 7 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) .AND. hb_isObject( hb_pvalue( 7 ) ) + RETURN Qt_QPainter_drawText_5( ::pPtr, ... ) + ENDCASE + EXIT + CASE 6 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) + RETURN Qt_QPainter_drawText_5( ::pPtr, ... ) + ENDCASE + EXIT + CASE 4 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QPainter_drawText_3( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawText_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) + RETURN Qt_QPainter_drawText_4( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN Qt_QPainter_drawText_6( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QPainter_drawText_3( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawText_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_drawText( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_drawText_1( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_drawText_6( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:drawTiledPixmap( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_drawTiledPixmap( ::pPtr, ... ) + SWITCH PCount() + CASE 7 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) + RETURN Qt_QPainter_drawTiledPixmap_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 5 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) + RETURN Qt_QPainter_drawTiledPixmap_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 3 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawTiledPixmap( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawTiledPixmap_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_drawTiledPixmap( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_drawTiledPixmap_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:end() @@ -396,11 +920,26 @@ METHOD QPainter:end() METHOD QPainter:eraseRect( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_eraseRect( ::pPtr, ... ) + SWITCH PCount() + CASE 4 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN Qt_QPainter_eraseRect_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_eraseRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_eraseRect_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:fillPath( pPath, pBrush ) @@ -408,23 +947,65 @@ METHOD QPainter:fillPath( pPath, pBrush ) METHOD QPainter:fillRect( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_fillRect( ::pPtr, ... ) + SWITCH PCount() + CASE 5 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + SWITCH __objGetClsName( hb_pvalue( 5 ) ) + CASE "QT::GLOBALCOLOR" + RETURN Qt_QPainter_fillRect_8( ::pPtr, ... ) + CASE "QT::BRUSHSTYLE" + RETURN Qt_QPainter_fillRect_11( ::pPtr, ... ) + ENDSWITCH + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) + SWITCH __objGetClsName( hb_pvalue( 5 ) ) + CASE "QBRUSH" + RETURN Qt_QPainter_fillRect_6( ::pPtr, ... ) + CASE "QCOLOR" + RETURN Qt_QPainter_fillRect_7( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_fillRect_2( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_fillRect_5( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_fillRect_10( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_fillRect_9( ::pPtr, ... ) + ENDSWITCH + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QPainter_fillRect_4( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_fillRect_1( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainter_fillRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_fillRect_3( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:font() - RETURN Qt_QPainter_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QPainter_font( ::pPtr ) ) METHOD QPainter:fontInfo() - RETURN Qt_QPainter_fontInfo( ::pPtr ) + RETURN HB_QFontInfo():from( Qt_QPainter_fontInfo( ::pPtr ) ) METHOD QPainter:fontMetrics() - RETURN Qt_QPainter_fontMetrics( ::pPtr ) + RETURN HB_QFontMetrics():from( Qt_QPainter_fontMetrics( ::pPtr ) ) METHOD QPainter:hasClipping() @@ -448,11 +1029,11 @@ METHOD QPainter:opacity() METHOD QPainter:paintEngine() - RETURN Qt_QPainter_paintEngine( ::pPtr ) + RETURN HB_QPaintEngine():from( Qt_QPainter_paintEngine( ::pPtr ) ) METHOD QPainter:pen() - RETURN Qt_QPainter_pen( ::pPtr ) + RETURN HB_QPen():from( Qt_QPainter_pen( ::pPtr ) ) METHOD QPainter:renderHints() @@ -492,35 +1073,40 @@ METHOD QPainter:setBackgroundMode( nMode ) METHOD QPainter:setBrush( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setBrush ( Qt::BrushStyle style ) - // N n Qt::BrushStyle + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QPainter_setBrush_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setBrush ( const QBrush & brush ) - // PO p QBrush + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainter_setBrush( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:setBrushOrigin( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_setBrushOrigin( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN Qt_QPainter_setBrushOrigin_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_setBrushOrigin( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_setBrushOrigin_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:setClipPath( pPath, nOperation ) @@ -528,11 +1114,43 @@ METHOD QPainter:setClipPath( pPath, nOperation ) METHOD QPainter:setClipRect( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_setClipRect( ::pPtr, ... ) + SWITCH PCount() + CASE 5 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN Qt_QPainter_setClipRect_1( ::pPtr, ... ) + ENDCASE + EXIT + CASE 4 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN Qt_QPainter_setClipRect_1( ::pPtr, ... ) + ENDCASE + EXIT + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_setClipRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_setClipRect_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainter_setClipRect( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QPainter_setClipRect_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:setClipRegion( pRegion, nOperation ) @@ -560,11 +1178,22 @@ METHOD QPainter:setOpacity( nOpacity ) METHOD QPainter:setPen( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_setPen( ::pPtr, ... ) + SWITCH PCount() + CASE 1 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN Qt_QPainter_setPen_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QCOLOR" + RETURN Qt_QPainter_setPen_1( ::pPtr, ... ) + CASE "QPEN" + RETURN Qt_QPainter_setPen( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:setRenderHint( nHint, lOn ) @@ -584,57 +1213,39 @@ METHOD QPainter:setViewTransformEnabled( lEnable ) METHOD QPainter:setViewport( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setViewport ( int x, int y, int width, int height ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QPainter_setViewport_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setViewport ( const QRect & rectangle ) - // PO p QRect + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainter_setViewport( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:setWindow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setWindow ( int x, int y, int width, int height ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QPainter_setWindow_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setWindow ( const QRect & rectangle ) - // PO p QRect + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainter_setWindow( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:setWorldMatrix( pMatrix, lCombine ) @@ -662,15 +1273,30 @@ METHOD QPainter:testRenderHint( nHint ) METHOD QPainter:transform() - RETURN Qt_QPainter_transform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QPainter_transform( ::pPtr ) ) METHOD QPainter:translate( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainter_translate( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN Qt_QPainter_translate_2( ::pPtr, ... ) + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainter_translate( ::pPtr, ... ) + CASE "QPOINT" + RETURN Qt_QPainter_translate_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainter:viewTransformEnabled() @@ -678,15 +1304,15 @@ METHOD QPainter:viewTransformEnabled() METHOD QPainter:viewport() - RETURN Qt_QPainter_viewport( ::pPtr ) + RETURN HB_QRect():from( Qt_QPainter_viewport( ::pPtr ) ) METHOD QPainter:window() - RETURN Qt_QPainter_window( ::pPtr ) + RETURN HB_QRect():from( Qt_QPainter_window( ::pPtr ) ) METHOD QPainter:worldMatrix() - RETURN Qt_QPainter_worldMatrix( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QPainter_worldMatrix( ::pPtr ) ) METHOD QPainter:worldMatrixEnabled() @@ -694,11 +1320,11 @@ METHOD QPainter:worldMatrixEnabled() METHOD QPainter:worldTransform() - RETURN Qt_QPainter_worldTransform( ::pPtr ) + RETURN HB_QTransform():from( Qt_QPainter_worldTransform( ::pPtr ) ) METHOD QPainter:redirected( pDevice, pOffset ) - RETURN Qt_QPainter_redirected( ::pPtr, hbqt_ptr( pDevice ), hbqt_ptr( pOffset ) ) + RETURN HB_QPaintDevice():from( Qt_QPainter_redirected( ::pPtr, hbqt_ptr( pDevice ), hbqt_ptr( pOffset ) ) ) METHOD QPainter:restoreRedirected( pDevice ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg b/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg index 8aac814369..078020c45f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -123,37 +155,27 @@ METHOD QPainterPath:new( ... ) METHOD QPainterPath:addEllipse( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void addEllipse ( qreal x, qreal y, qreal width, qreal height ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QPainterPath_addEllipse_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void addEllipse ( const QPointF & center, qreal rx, qreal ry ) - // PO p QPointF, N n qreal, N n qreal + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPainterPath_addEllipse_2( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void addEllipse ( const QRectF & boundingRectangle ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainterPath_addEllipse( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:addPath( pPath ) @@ -165,30 +187,21 @@ METHOD QPainterPath:addPolygon( pPolygon ) METHOD QPainterPath:addRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void addRect ( qreal x, qreal y, qreal width, qreal height ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QPainterPath_addRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void addRect ( const QRectF & rectangle ) - // PO p QRectF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainterPath_addRect( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:addRegion( pRegion ) @@ -196,71 +209,51 @@ METHOD QPainterPath:addRegion( pRegion ) METHOD QPainterPath:addRoundedRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 7 + SWITCH PCount() + CASE 7 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" .AND. aV[ 7 ] $ "N" - // void addRoundedRect ( qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n qreal, N n qreal, N n Qt::SizeMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) RETURN Qt_QPainterPath_addRoundedRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 6 + EXIT + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void addRoundedRect ( qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n qreal, N n qreal, N n Qt::SizeMode + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QPainterPath_addRoundedRect_1( ::pPtr, ... ) ENDCASE - CASE nP == 4 + EXIT + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void addRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - // PO p QRectF, N n qreal, N n qreal, N n Qt::SizeMode + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QPainterPath_addRoundedRect( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void addRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - // PO p QRectF, N n qreal, N n qreal, N n Qt::SizeMode + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPainterPath_addRoundedRect( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:addText( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "C" - // void addText ( qreal x, qreal y, const QFont & font, const QString & text ) - // N n qreal, N n qreal, PO p QFont, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) RETURN Qt_QPainterPath_addText_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" - // void addText ( const QPointF & point, const QFont & font, const QString & text ) - // PO p QPointF, PO p QFont, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QPainterPath_addText( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:angleAtPercent( nT ) @@ -268,61 +261,43 @@ METHOD QPainterPath:angleAtPercent( nT ) METHOD QPainterPath:arcMoveTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // void arcMoveTo ( qreal x, qreal y, qreal width, qreal height, qreal angle ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) RETURN Qt_QPainterPath_arcMoveTo_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void arcMoveTo ( const QRectF & rectangle, qreal angle ) - // PO p QRectF, N n qreal + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QPainterPath_arcMoveTo( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:arcTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void arcTo ( qreal x, qreal y, qreal width, qreal height, qreal startAngle, qreal sweepLength ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QPainterPath_arcTo_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void arcTo ( const QRectF & rectangle, qreal startAngle, qreal sweepLength ) - // PO p QRectF, N n qreal, N n qreal + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPainterPath_arcTo( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:boundingRect() - RETURN Qt_QPainterPath_boundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QPainterPath_boundingRect( ::pPtr ) ) METHOD QPainterPath:closeSubpath() @@ -334,46 +309,48 @@ METHOD QPainterPath:connectPath( pPath ) METHOD QPainterPath:contains( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainterPath_contains( ::pPtr, ... ) + SWITCH PCount() + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN Qt_QPainterPath_contains( ::pPtr, ... ) + CASE "QRECTF" + RETURN Qt_QPainterPath_contains_1( ::pPtr, ... ) + CASE "QPAINTERPATH" + RETURN Qt_QPainterPath_contains_2( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:controlPointRect() - RETURN Qt_QPainterPath_controlPointRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QPainterPath_controlPointRect( ::pPtr ) ) METHOD QPainterPath:cubicTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 6 + SWITCH PCount() + CASE 6 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" .AND. aV[ 6 ] $ "N" - // void cubicTo ( qreal c1X, qreal c1Y, qreal c2X, qreal c2Y, qreal endPointX, qreal endPointY ) - // N n qreal, N n qreal, N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) RETURN Qt_QPainterPath_cubicTo_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // void cubicTo ( const QPointF & c1, const QPointF & c2, const QPointF & endPoint ) - // PO p QPointF, PO p QPointF, PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QPainterPath_cubicTo( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:currentPosition() - RETURN Qt_QPainterPath_currentPosition( ::pPtr ) + RETURN HB_QPointF():from( Qt_QPainterPath_currentPosition( ::pPtr ) ) METHOD QPainterPath:elementCount() @@ -385,15 +362,24 @@ METHOD QPainterPath:fillRule() METHOD QPainterPath:intersected( pP ) - RETURN Qt_QPainterPath_intersected( ::pPtr, hbqt_ptr( pP ) ) + RETURN HB_QPainterPath():from( Qt_QPainterPath_intersected( ::pPtr, hbqt_ptr( pP ) ) ) METHOD QPainterPath:intersects( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPainterPath_intersects( ::pPtr, ... ) + SWITCH PCount() + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN Qt_QPainterPath_intersects( ::pPtr, ... ) + CASE "QPAINTERPATH" + RETURN Qt_QPainterPath_intersects_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:isEmpty() @@ -405,57 +391,39 @@ METHOD QPainterPath:length() METHOD QPainterPath:lineTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void lineTo ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QPainterPath_lineTo_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void lineTo ( const QPointF & endPoint ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainterPath_lineTo( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:moveTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void moveTo ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QPainterPath_moveTo_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void moveTo ( const QPointF & point ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPainterPath_moveTo( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:percentAtLength( nLen ) @@ -463,34 +431,25 @@ METHOD QPainterPath:percentAtLength( nLen ) METHOD QPainterPath:pointAtPercent( nT ) - RETURN Qt_QPainterPath_pointAtPercent( ::pPtr, nT ) + RETURN HB_QPointF():from( Qt_QPainterPath_pointAtPercent( ::pPtr, nT ) ) METHOD QPainterPath:quadTo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void quadTo ( qreal cx, qreal cy, qreal endPointX, qreal endPointY ) - // N n qreal, N n qreal, N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QPainterPath_quadTo_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void quadTo ( const QPointF & c, const QPointF & endPoint ) - // PO p QPointF, PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPainterPath_quadTo( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:setElementPositionAt( nIndex, nX, nY ) @@ -502,7 +461,7 @@ METHOD QPainterPath:setFillRule( nFillRule ) METHOD QPainterPath:simplified() - RETURN Qt_QPainterPath_simplified( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QPainterPath_simplified( ::pPtr ) ) METHOD QPainterPath:slopeAtPercent( nT ) @@ -510,94 +469,70 @@ METHOD QPainterPath:slopeAtPercent( nT ) METHOD QPainterPath:subtracted( pP ) - RETURN Qt_QPainterPath_subtracted( ::pPtr, hbqt_ptr( pP ) ) + RETURN HB_QPainterPath():from( Qt_QPainterPath_subtracted( ::pPtr, hbqt_ptr( pP ) ) ) METHOD QPainterPath:toFillPolygon( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPolygonF toFillPolygon ( const QTransform & matrix ) const - // PO p QTransform - RETURN QPolygonF():from( Qt_QPainterPath_toFillPolygon( ::pPtr, ... ) ) - // QPolygonF toFillPolygon ( const QMatrix & matrix = QMatrix() ) const - // PO p QMatrix - // RETURN QPolygonF():from( Qt_QPainterPath_toFillPolygon_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QPolygonF():from( Qt_QPainterPath_toFillPolygon( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QPolygonF():from( Qt_QPainterPath_toFillPolygon_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QPolygonF toFillPolygon ( const QMatrix & matrix = QMatrix() ) const - // PO p QMatrix - RETURN QPolygonF():from( Qt_QPainterPath_toFillPolygon_1( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QPolygonF():from( Qt_QPainterPath_toFillPolygon_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:toFillPolygons( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QList toFillPolygons ( const QTransform & matrix ) const - // PO p QTransform - RETURN Qt_QPainterPath_toFillPolygons( ::pPtr, ... ) - // QList toFillPolygons ( const QMatrix & matrix = QMatrix() ) const - // PO p QMatrix - // RETURN Qt_QPainterPath_toFillPolygons_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QList():from( Qt_QPainterPath_toFillPolygons( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QList():from( Qt_QPainterPath_toFillPolygons_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QList toFillPolygons ( const QMatrix & matrix = QMatrix() ) const - // PO p QMatrix - RETURN Qt_QPainterPath_toFillPolygons_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QList():from( Qt_QPainterPath_toFillPolygons_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:toReversed() - RETURN Qt_QPainterPath_toReversed( ::pPtr ) + RETURN HB_QPainterPath():from( Qt_QPainterPath_toReversed( ::pPtr ) ) METHOD QPainterPath:toSubpathPolygons( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QList toSubpathPolygons ( const QTransform & matrix ) const - // PO p QTransform - RETURN Qt_QPainterPath_toSubpathPolygons( ::pPtr, ... ) - // QList toSubpathPolygons ( const QMatrix & matrix = QMatrix() ) const - // PO p QMatrix - // RETURN Qt_QPainterPath_toSubpathPolygons_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QList():from( Qt_QPainterPath_toSubpathPolygons( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QList():from( Qt_QPainterPath_toSubpathPolygons_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - CASE nP == 0 - // QList toSubpathPolygons ( const QMatrix & matrix = QMatrix() ) const - // PO p QMatrix - RETURN Qt_QPainterPath_toSubpathPolygons_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QList():from( Qt_QPainterPath_toSubpathPolygons_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPainterPath:united( pP ) - RETURN Qt_QPainterPath_united( ::pPtr, hbqt_ptr( pP ) ) + RETURN HB_QPainterPath():from( Qt_QPainterPath_united( ::pPtr, hbqt_ptr( pP ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPalette.prg b/harbour/contrib/hbqt/qtgui/g/TQPalette.prg index ca7ebe0222..df3cca2bec 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPalette.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPalette.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,50 +148,41 @@ METHOD QPalette:new( ... ) METHOD QPalette:alternateBase() - RETURN Qt_QPalette_alternateBase( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_alternateBase( ::pPtr ) ) METHOD QPalette:base() - RETURN Qt_QPalette_base( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_base( ::pPtr ) ) METHOD QPalette:brightText() - RETURN Qt_QPalette_brightText( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_brightText( ::pPtr ) ) METHOD QPalette:brush( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // const QBrush & brush ( ColorGroup group, ColorRole role ) const - // N n QPalette::ColorGroup, N n QPalette::ColorRole - RETURN QBrush():from( Qt_QPalette_brush( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QBrush():from( Qt_QPalette_brush( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // const QBrush & brush ( ColorRole role ) const - // N n QPalette::ColorRole - RETURN QBrush():from( Qt_QPalette_brush_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QBrush():from( Qt_QPalette_brush_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPalette:button() - RETURN Qt_QPalette_button( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_button( ::pPtr ) ) METHOD QPalette:buttonText() - RETURN Qt_QPalette_buttonText( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_buttonText( ::pPtr ) ) METHOD QPalette:cacheKey() @@ -167,30 +190,21 @@ METHOD QPalette:cacheKey() METHOD QPalette:color( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // const QColor & color ( ColorGroup group, ColorRole role ) const - // N n QPalette::ColorGroup, N n QPalette::ColorRole - RETURN QColor():from( Qt_QPalette_color( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QColor():from( Qt_QPalette_color( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // const QColor & color ( ColorRole role ) const - // N n QPalette::ColorRole - RETURN QColor():from( Qt_QPalette_color_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QColor():from( Qt_QPalette_color_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPalette:currentColorGroup() @@ -198,15 +212,15 @@ METHOD QPalette:currentColorGroup() METHOD QPalette:dark() - RETURN Qt_QPalette_dark( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_dark( ::pPtr ) ) METHOD QPalette:highlight() - RETURN Qt_QPalette_highlight( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_highlight( ::pPtr ) ) METHOD QPalette:highlightedText() - RETURN Qt_QPalette_highlightedText( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_highlightedText( ::pPtr ) ) METHOD QPalette:isBrushSet( nCg, nCr ) @@ -222,81 +236,63 @@ METHOD QPalette:isEqual( nCg1, nCg2 ) METHOD QPalette:light() - RETURN Qt_QPalette_light( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_light( ::pPtr ) ) METHOD QPalette:link() - RETURN Qt_QPalette_link( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_link( ::pPtr ) ) METHOD QPalette:linkVisited() - RETURN Qt_QPalette_linkVisited( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_linkVisited( ::pPtr ) ) METHOD QPalette:mid() - RETURN Qt_QPalette_mid( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_mid( ::pPtr ) ) METHOD QPalette:midlight() - RETURN Qt_QPalette_midlight( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_midlight( ::pPtr ) ) METHOD QPalette:resolve( pOther ) - RETURN Qt_QPalette_resolve( ::pPtr, hbqt_ptr( pOther ) ) + RETURN HB_QPalette():from( Qt_QPalette_resolve( ::pPtr, hbqt_ptr( pOther ) ) ) METHOD QPalette:setBrush( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" - // void setBrush ( ColorGroup group, ColorRole role, const QBrush & brush ) - // N n QPalette::ColorGroup, N n QPalette::ColorRole, PO p QBrush + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QPalette_setBrush_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void setBrush ( ColorRole role, const QBrush & brush ) - // N n QPalette::ColorRole, PO p QBrush + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPalette_setBrush( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPalette:setColor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" - // void setColor ( ColorGroup group, ColorRole role, const QColor & color ) - // N n QPalette::ColorGroup, N n QPalette::ColorRole, PO p QColor + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QPalette_setColor_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void setColor ( ColorRole role, const QColor & color ) - // N n QPalette::ColorRole, PO p QColor + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPalette_setColor( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPalette:setColorGroup( nCg, pWindowText, pButton, pLight, pDark, pMid, pText, pBright_text, pBase, pWindow ) @@ -308,25 +304,25 @@ METHOD QPalette:setCurrentColorGroup( nCg ) METHOD QPalette:shadow() - RETURN Qt_QPalette_shadow( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_shadow( ::pPtr ) ) METHOD QPalette:text() - RETURN Qt_QPalette_text( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_text( ::pPtr ) ) METHOD QPalette:toolTipBase() - RETURN Qt_QPalette_toolTipBase( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_toolTipBase( ::pPtr ) ) METHOD QPalette:toolTipText() - RETURN Qt_QPalette_toolTipText( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_toolTipText( ::pPtr ) ) METHOD QPalette:window() - RETURN Qt_QPalette_window( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_window( ::pPtr ) ) METHOD QPalette:windowText() - RETURN Qt_QPalette_windowText( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPalette_windowText( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPen.prg b/harbour/contrib/hbqt/qtgui/g/TQPen.prg index b453d45266..aa6cff8880 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPen.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPen.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -106,7 +138,7 @@ METHOD QPen:new( ... ) METHOD QPen:brush() - RETURN Qt_QPen_brush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QPen_brush( ::pPtr ) ) METHOD QPen:capStyle() @@ -114,7 +146,7 @@ METHOD QPen:capStyle() METHOD QPen:color() - RETURN Qt_QPen_color( ::pPtr ) + RETURN HB_QColor():from( Qt_QPen_color( ::pPtr ) ) METHOD QPen:dashOffset() diff --git a/harbour/contrib/hbqt/qtgui/g/TQPicture.prg b/harbour/contrib/hbqt/qtgui/g/TQPicture.prg index e6e78a0048..01b3cd6a0b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPicture.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPicture.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -94,7 +126,7 @@ METHOD QPicture:new( ... ) METHOD QPicture:boundingRect() - RETURN Qt_QPicture_boundingRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QPicture_boundingRect( ::pPtr ) ) METHOD QPicture:data() @@ -106,38 +138,25 @@ METHOD QPicture:isNull() METHOD QPicture:load( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // bool load ( const QString & fileName, const char * format = 0 ) - // C c QString, PO p char + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPicture_load( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // bool load ( QIODevice * dev, const char * format = 0 ) - // PO p QIODevice, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPicture_load_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool load ( const QString & fileName, const char * format = 0 ) - // C c QString, PO p char + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QPicture_load( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // bool load ( QIODevice * dev, const char * format = 0 ) - // PO p QIODevice, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPicture_load_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPicture:play( pPainter ) @@ -145,38 +164,25 @@ METHOD QPicture:play( pPainter ) METHOD QPicture:save( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // bool save ( const QString & fileName, const char * format = 0 ) - // C c QString, PO p char + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPicture_save( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // bool save ( QIODevice * dev, const char * format = 0 ) - // PO p QIODevice, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPicture_save_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool save ( const QString & fileName, const char * format = 0 ) - // C c QString, PO p char + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QPicture_save( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // bool save ( QIODevice * dev, const char * format = 0 ) - // PO p QIODevice, PO p char + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPicture_save_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPicture:setBoundingRect( pR ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg b/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg index 8d22574493..a3da98f67e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,7 +148,7 @@ METHOD QPixmap:new( ... ) METHOD QPixmap:alphaChannel() - RETURN Qt_QPixmap_alphaChannel( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QPixmap_alphaChannel( ::pPtr ) ) METHOD QPixmap:cacheKey() @@ -124,65 +156,45 @@ METHOD QPixmap:cacheKey() METHOD QPixmap:copy( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPixmap copy ( int x, int y, int width, int height ) const - // N n int, N n int, N n int, N n int - RETURN QPixmap():from( Qt_QPixmap_copy_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_copy_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPixmap copy ( const QRect & rectangle = QRect() ) const - // PO p QRect - RETURN QPixmap():from( Qt_QPixmap_copy( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_copy( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QPixmap copy ( const QRect & rectangle = QRect() ) const - // PO p QRect - RETURN QPixmap():from( Qt_QPixmap_copy( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QPixmap():from( Qt_QPixmap_copy( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:createHeuristicMask( lClipTight ) - RETURN Qt_QPixmap_createHeuristicMask( ::pPtr, lClipTight ) + RETURN HB_QBitmap():from( Qt_QPixmap_createHeuristicMask( ::pPtr, lClipTight ) ) METHOD QPixmap:createMaskFromColor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // QBitmap createMaskFromColor ( const QColor & maskColor, Qt::MaskMode mode ) const - // PO p QColor, N n Qt::MaskMode - RETURN QBitmap():from( Qt_QPixmap_createMaskFromColor( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QBitmap():from( Qt_QPixmap_createMaskFromColor( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QBitmap createMaskFromColor ( const QColor & maskColor ) const - // PO p QColor - RETURN QBitmap():from( Qt_QPixmap_createMaskFromColor_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QBitmap():from( Qt_QPixmap_createMaskFromColor_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:depth() @@ -194,41 +206,29 @@ METHOD QPixmap:detach() METHOD QPixmap:fill( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void fill ( const QWidget * widget, int x, int y ) - // PO p QWidget, N n int, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPixmap_fill_2( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void fill ( const QWidget * widget, const QPoint & offset ) - // PO p QWidget, PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPixmap_fill_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void fill ( const QColor & color = Qt::white ) - // PO p QColor + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPixmap_fill( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void fill ( const QColor & color = Qt::white ) - // PO p QColor + EXIT + CASE 0 RETURN Qt_QPixmap_fill( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:hasAlpha() @@ -260,95 +260,71 @@ METHOD QPixmap:loadFromData( pData, pFormat, nFlags ) METHOD QPixmap:mask() - RETURN Qt_QPixmap_mask( ::pPtr ) + RETURN HB_QBitmap():from( Qt_QPixmap_mask( ::pPtr ) ) METHOD QPixmap:rect() - RETURN Qt_QPixmap_rect( ::pPtr ) + RETURN HB_QRect():from( Qt_QPixmap_rect( ::pPtr ) ) METHOD QPixmap:save( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const - // C c QString, PO p char, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPixmap_save( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - // PO p QIODevice, PO p char, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPixmap_save_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const - // C c QString, PO p char, N n int + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QPixmap_save( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - // PO p QIODevice, PO p char, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPixmap_save_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:scaled( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // QPixmap scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // N n int, N n int, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QPixmap():from( Qt_QPixmap_scaled( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_scaled( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QPixmap scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // PO p QSize, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QPixmap():from( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QPixmap scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // N n int, N n int, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QPixmap():from( Qt_QPixmap_scaled( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_scaled( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPixmap scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - // PO p QSize, N n Qt::AspectRatioMode, N n Qt::TransformationMode - RETURN QPixmap():from( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:scaledToHeight( nHeight, nMode ) - RETURN Qt_QPixmap_scaledToHeight( ::pPtr, nHeight, nMode ) + RETURN HB_QPixmap():from( Qt_QPixmap_scaledToHeight( ::pPtr, nHeight, nMode ) ) METHOD QPixmap:scaledToWidth( nWidth, nMode ) - RETURN Qt_QPixmap_scaledToWidth( ::pPtr, nWidth, nMode ) + RETURN HB_QPixmap():from( Qt_QPixmap_scaledToWidth( ::pPtr, nWidth, nMode ) ) METHOD QPixmap:setAlphaChannel( pAlphaChannel ) @@ -360,19 +336,39 @@ METHOD QPixmap:setMask( pMask ) METHOD QPixmap:size() - RETURN Qt_QPixmap_size( ::pPtr ) + RETURN HB_QSize():from( Qt_QPixmap_size( ::pPtr ) ) METHOD QPixmap:toImage() - RETURN Qt_QPixmap_toImage( ::pPtr ) + RETURN HB_QImage():from( Qt_QPixmap_toImage( ::pPtr ) ) METHOD QPixmap:transformed( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - RETURN Qt_QPixmap_transformed( ::pPtr, ... ) + SWITCH PCount() + CASE 2 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QPixmap():from( Qt_QPixmap_transformed( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QPixmap():from( Qt_QPixmap_transformed_1( ::pPtr, ... ) ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QPixmap():from( Qt_QPixmap_transformed( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QPixmap():from( Qt_QPixmap_transformed_1( ::pPtr, ... ) ) + ENDSWITCH + ENDCASE + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:width() @@ -384,62 +380,46 @@ METHOD QPixmap:defaultDepth() METHOD QPixmap:fromImage( pImage, nFlags ) - RETURN Qt_QPixmap_fromImage( ::pPtr, hbqt_ptr( pImage ), nFlags ) + RETURN HB_QPixmap():from( Qt_QPixmap_fromImage( ::pPtr, hbqt_ptr( pImage ), nFlags ) ) METHOD QPixmap:grabWidget( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 5 + SWITCH PCount() + CASE 5 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" .AND. aV[ 5 ] $ "N" - // QPixmap grabWidget ( QWidget * widget, int x = 0, int y = 0, int width = -1, int height = -1 ) - // PO p QWidget, N n int, N n int, N n int, N n int - RETURN QPixmap():from( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QPixmap grabWidget ( QWidget * widget, const QRect & rectangle ) - // PO p QWidget, PO p QRect - RETURN QPixmap():from( Qt_QPixmap_grabWidget( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_grabWidget( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPixmap grabWidget ( QWidget * widget, int x = 0, int y = 0, int width = -1, int height = -1 ) - // PO p QWidget, N n int, N n int, N n int, N n int - RETURN QPixmap():from( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QPixmap():from( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPixmap:trueMatrix( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QTransform trueMatrix ( const QTransform & matrix, int width, int height ) - // PO p QTransform, N n int, N n int - RETURN QTransform():from( Qt_QPixmap_trueMatrix( ::pPtr, ... ) ) - // QMatrix trueMatrix ( const QMatrix & m, int w, int h ) - // PO p QMatrix, N n int, N n int - // RETURN QMatrix():from( Qt_QPixmap_trueMatrix_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTRANSFORM" + RETURN HB_QTransform():from( Qt_QPixmap_trueMatrix( ::pPtr, ... ) ) + CASE "QMATRIX" + RETURN HB_QMatrix():from( Qt_QPixmap_trueMatrix_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg index 0d6b1bd328..1bbb45e2d1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg index a685568c80..27658a3b70 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -157,38 +189,29 @@ METHOD QPlainTextEdit:centerOnScroll() METHOD QPlainTextEdit:createStandardContextMenu() - RETURN Qt_QPlainTextEdit_createStandardContextMenu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QPlainTextEdit_createStandardContextMenu( ::pPtr ) ) METHOD QPlainTextEdit:currentCharFormat() - RETURN Qt_QPlainTextEdit_currentCharFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QPlainTextEdit_currentCharFormat( ::pPtr ) ) METHOD QPlainTextEdit:cursorForPosition( pPos ) - RETURN Qt_QPlainTextEdit_cursorForPosition( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QTextCursor():from( Qt_QPlainTextEdit_cursorForPosition( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QPlainTextEdit:cursorRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRect cursorRect ( const QTextCursor & cursor ) const - // PO p QTextCursor - RETURN QRect():from( Qt_QPlainTextEdit_cursorRect( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QPlainTextEdit_cursorRect( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QRect cursorRect () const - RETURN QRect():from( Qt_QPlainTextEdit_cursorRect_1( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QRect():from( Qt_QPlainTextEdit_cursorRect_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPlainTextEdit:cursorWidth() @@ -196,7 +219,7 @@ METHOD QPlainTextEdit:cursorWidth() METHOD QPlainTextEdit:document() - RETURN Qt_QPlainTextEdit_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QPlainTextEdit_document( ::pPtr ) ) METHOD QPlainTextEdit:documentTitle() @@ -224,7 +247,7 @@ METHOD QPlainTextEdit:lineWrapMode() METHOD QPlainTextEdit:loadResource( nType, pName ) - RETURN Qt_QPlainTextEdit_loadResource( ::pPtr, nType, hbqt_ptr( pName ) ) + RETURN HB_QVariant():from( Qt_QPlainTextEdit_loadResource( ::pPtr, nType, hbqt_ptr( pName ) ) ) METHOD QPlainTextEdit:maximumBlockCount() @@ -320,7 +343,7 @@ METHOD QPlainTextEdit:tabStopWidth() METHOD QPlainTextEdit:textCursor() - RETURN Qt_QPlainTextEdit_textCursor( ::pPtr ) + RETURN HB_QTextCursor():from( Qt_QPlainTextEdit_textCursor( ::pPtr ) ) METHOD QPlainTextEdit:textInteractionFlags() diff --git a/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg b/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg index 3d9f30661d..a296d49bac 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,7 +127,7 @@ METHOD QPolygon:new( ... ) METHOD QPolygon:boundingRect() - RETURN Qt_QPolygon_boundingRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QPolygon_boundingRect( ::pPtr ) ) METHOD QPolygon:containsPoint( pPoint, nFillRule ) @@ -103,34 +135,25 @@ METHOD QPolygon:containsPoint( pPoint, nFillRule ) METHOD QPolygon:intersected( pR ) - RETURN Qt_QPolygon_intersected( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QPolygon():from( Qt_QPolygon_intersected( ::pPtr, hbqt_ptr( pR ) ) ) METHOD QPolygon:point( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void point ( int index, int * x, int * y ) const - // N n int, N @ int, N @ int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPolygon_point( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QPoint point ( int index ) const - // N n int - RETURN QPoint():from( Qt_QPolygon_point_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QPoint():from( Qt_QPolygon_point_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPolygon:putPoints( nIndex, nNPoints, pFromPolygon, nFromIndex ) @@ -138,30 +161,21 @@ METHOD QPolygon:putPoints( nIndex, nNPoints, pFromPolygon, nFromIndex ) METHOD QPolygon:setPoint( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void setPoint ( int index, int x, int y ) - // N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QPolygon_setPoint( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void setPoint ( int index, const QPoint & point ) - // N n int, PO p QPoint + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QPolygon_setPoint_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPolygon:setPoints( nNPoints, nPoints ) @@ -169,36 +183,27 @@ METHOD QPolygon:setPoints( nNPoints, nPoints ) METHOD QPolygon:subtracted( pR ) - RETURN Qt_QPolygon_subtracted( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QPolygon():from( Qt_QPolygon_subtracted( ::pPtr, hbqt_ptr( pR ) ) ) METHOD QPolygon:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( int dx, int dy ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QPolygon_translate( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPoint & offset ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPolygon_translate_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPolygon:united( pR ) - RETURN Qt_QPolygon_united( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QPolygon():from( Qt_QPolygon_united( ::pPtr, hbqt_ptr( pR ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg b/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg index 28ed5c8762..5cdb14db9c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QPolygonF:new( ... ) METHOD QPolygonF:boundingRect() - RETURN Qt_QPolygonF_boundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QPolygonF_boundingRect( ::pPtr ) ) METHOD QPolygonF:containsPoint( pPoint, nFillRule ) @@ -101,7 +133,7 @@ METHOD QPolygonF:containsPoint( pPoint, nFillRule ) METHOD QPolygonF:intersected( pR ) - RETURN Qt_QPolygonF_intersected( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QPolygonF():from( Qt_QPolygonF_intersected( ::pPtr, hbqt_ptr( pR ) ) ) METHOD QPolygonF:isClosed() @@ -109,40 +141,31 @@ METHOD QPolygonF:isClosed() METHOD QPolygonF:subtracted( pR ) - RETURN Qt_QPolygonF_subtracted( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QPolygonF():from( Qt_QPolygonF_subtracted( ::pPtr, hbqt_ptr( pR ) ) ) METHOD QPolygonF:toPolygon() - RETURN Qt_QPolygonF_toPolygon( ::pPtr ) + RETURN HB_QPolygon():from( Qt_QPolygonF_toPolygon( ::pPtr ) ) METHOD QPolygonF:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( qreal dx, qreal dy ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QPolygonF_translate_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPointF & offset ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QPolygonF_translate( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPolygonF:united( pR ) - RETURN Qt_QPolygonF_united( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QPolygonF():from( Qt_QPolygonF_united( ::pPtr, hbqt_ptr( pR ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg index cfaf6acd03..32308e17bc 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -105,7 +137,7 @@ METHOD QPrintDialog:options() METHOD QPrintDialog:printer() - RETURN Qt_QPrintDialog_printer( ::pPtr ) + RETURN HB_QPrinter():from( Qt_QPrintDialog_printer( ::pPtr ) ) METHOD QPrintDialog:setOption( nOption, lOn ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg b/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg index 45825ca658..ab08df78ad 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -107,7 +139,7 @@ METHOD QPrintEngine:printerState() METHOD QPrintEngine:property( nKey ) - RETURN Qt_QPrintEngine_property( ::pPtr, nKey ) + RETURN HB_QVariant():from( Qt_QPrintEngine_property( ::pPtr, nKey ) ) METHOD QPrintEngine:setProperty( nKey, pValue ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg index 22b64fa7e5..9525e3b05e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,5 +123,5 @@ METHOD QPrintPreviewDialog:open( pReceiver, pMember ) METHOD QPrintPreviewDialog:printer() - RETURN Qt_QPrintPreviewDialog_printer( ::pPtr ) + RETURN HB_QPrinter():from( Qt_QPrintPreviewDialog_printer( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg b/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg index cb57af5565..2d94025c9d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -209,76 +241,49 @@ METHOD QPrinter:pageOrder() METHOD QPrinter:pageRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QRectF pageRect ( Unit unit ) const - // N n QPrinter::Unit - RETURN QRectF():from( Qt_QPrinter_pageRect_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QPrinter_pageRect_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QRect pageRect () const - RETURN QRect():from( Qt_QPrinter_pageRect( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QRect():from( Qt_QPrinter_pageRect( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPrinter:paintEngine() - RETURN Qt_QPrinter_paintEngine( ::pPtr ) + RETURN HB_QPaintEngine():from( Qt_QPrinter_paintEngine( ::pPtr ) ) METHOD QPrinter:paperRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QRectF paperRect ( Unit unit ) const - // N n QPrinter::Unit - RETURN QRectF():from( Qt_QPrinter_paperRect_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QRectF():from( Qt_QPrinter_paperRect_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QRect paperRect () const - RETURN QRect():from( Qt_QPrinter_paperRect( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QRect():from( Qt_QPrinter_paperRect( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QPrinter:paperSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QSizeF paperSize ( Unit unit ) const - // N n QPrinter::Unit - RETURN QSizeF():from( Qt_QPrinter_paperSize_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QSizeF():from( Qt_QPrinter_paperSize_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // PaperSize paperSize () const + EXIT + CASE 0 RETURN Qt_QPrinter_paperSize( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QPrinter:paperSource() @@ -286,7 +291,7 @@ METHOD QPrinter:paperSource() METHOD QPrinter:printEngine() - RETURN Qt_QPrinter_printEngine( ::pPtr ) + RETURN HB_QPrintEngine():from( Qt_QPrinter_printEngine( ::pPtr ) ) METHOD QPrinter:printProgram() @@ -370,30 +375,21 @@ METHOD QPrinter:setPageOrder( nPageOrder ) METHOD QPrinter:setPaperSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setPaperSize ( const QSizeF & paperSize, Unit unit ) - // PO p QSizeF, N n QPrinter::Unit + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QPrinter_setPaperSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setPaperSize ( PaperSize newPaperSize ) - // N n QPrinter::PaperSize + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QPrinter_setPaperSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QPrinter:setPaperSource( nSource ) @@ -417,7 +413,7 @@ METHOD QPrinter:setResolution( nDpi ) METHOD QPrinter:supportedResolutions() - RETURN Qt_QPrinter_supportedResolutions( ::pPtr ) + RETURN HB_QList():from( Qt_QPrinter_supportedResolutions( ::pPtr ) ) METHOD QPrinter:toPage() diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg b/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg index 44e961ece2..e250c66916 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,9 +134,9 @@ METHOD QPrinterInfo:printerName() METHOD QPrinterInfo:availablePrinters() - RETURN Qt_QPrinterInfo_availablePrinters( ::pPtr ) + RETURN HB_QList():from( Qt_QPrinterInfo_availablePrinters( ::pPtr ) ) METHOD QPrinterInfo:defaultPrinter() - RETURN Qt_QPrinterInfo_defaultPrinter( ::pPtr ) + RETURN HB_QPrinterInfo():from( Qt_QPrinterInfo_defaultPrinter( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg b/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg index 85b9433585..81c6606230 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg index e243c3adf9..52e43bbe67 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -157,7 +189,7 @@ METHOD QProgressDialog:setLabel( pLabel ) METHOD QProgressDialog:sizeHint() - RETURN Qt_QProgressDialog_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QProgressDialog_sizeHint( ::pPtr ) ) METHOD QProgressDialog:value() diff --git a/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg b/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg index f4d9746fdf..26165399da 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -106,7 +138,7 @@ METHOD QPushButton:isFlat() METHOD QPushButton:menu() - RETURN Qt_QPushButton_menu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QPushButton_menu( ::pPtr ) ) METHOD QPushButton:setAutoDefault( lBool ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg index 0053b57900..73939d9256 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,11 +123,11 @@ METHOD QRadialGradient:new( ... ) METHOD QRadialGradient:center() - RETURN Qt_QRadialGradient_center( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRadialGradient_center( ::pPtr ) ) METHOD QRadialGradient:focalPoint() - RETURN Qt_QRadialGradient_focalPoint( ::pPtr ) + RETURN HB_QPointF():from( Qt_QRadialGradient_focalPoint( ::pPtr ) ) METHOD QRadialGradient:radius() @@ -103,57 +135,39 @@ METHOD QRadialGradient:radius() METHOD QRadialGradient:setCenter( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setCenter ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRadialGradient_setCenter_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setCenter ( const QPointF & center ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRadialGradient_setCenter( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRadialGradient:setFocalPoint( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setFocalPoint ( qreal x, qreal y ) - // N n qreal, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRadialGradient_setFocalPoint_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setFocalPoint ( const QPointF & focalPoint ) - // PO p QPointF + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRadialGradient_setFocalPoint( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRadialGradient:setRadius( nRadius ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg b/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg index 18c8338abd..873a44076f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg index 9beaf87ece..325e5723a1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,7 +119,7 @@ METHOD QRegExpValidator:new( ... ) METHOD QRegExpValidator:regExp() - RETURN Qt_QRegExpValidator_regExp( ::pPtr ) + RETURN HB_QRegExp():from( Qt_QRegExpValidator_regExp( ::pPtr ) ) METHOD QRegExpValidator:setRegExp( pRx ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQRegion.prg b/harbour/contrib/hbqt/qtgui/g/TQRegion.prg index e50cc6ae2c..889c21f02a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQRegion.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQRegion.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -97,76 +129,58 @@ METHOD QRegion:new( ... ) METHOD QRegion:boundingRect() - RETURN Qt_QRegion_boundingRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QRegion_boundingRect( ::pPtr ) ) METHOD QRegion:contains( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool contains ( const QPoint & p ) const - // PO p QPoint - RETURN Qt_QRegion_contains( ::pPtr, ... ) - // bool contains ( const QRect & r ) const - // PO p QRect - // RETURN Qt_QRegion_contains_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINT" + RETURN Qt_QRegion_contains( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QRegion_contains_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRegion:intersected( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRegion intersected ( const QRegion & r ) const - // PO p QRegion - RETURN QRegion():from( Qt_QRegion_intersected( ::pPtr, ... ) ) - // QRegion intersected ( const QRect & rect ) const - // PO p QRect - // RETURN QRegion():from( Qt_QRegion_intersected_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGION" + RETURN HB_QRegion():from( Qt_QRegion_intersected( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QRegion():from( Qt_QRegion_intersected_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRegion:intersects( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool intersects ( const QRegion & region ) const - // PO p QRegion - RETURN Qt_QRegion_intersects( ::pPtr, ... ) - // bool intersects ( const QRect & rect ) const - // PO p QRect - // RETURN Qt_QRegion_intersects_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGION" + RETURN Qt_QRegion_intersects( ::pPtr, ... ) + CASE "QRECT" + RETURN Qt_QRegion_intersects_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRegion:isEmpty() @@ -182,86 +196,62 @@ METHOD QRegion:setRects( pRects, nNumber ) METHOD QRegion:subtracted( pR ) - RETURN Qt_QRegion_subtracted( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QRegion():from( Qt_QRegion_subtracted( ::pPtr, hbqt_ptr( pR ) ) ) METHOD QRegion:translate( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void translate ( int dx, int dy ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QRegion_translate( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void translate ( const QPoint & point ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QRegion_translate_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRegion:translated( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QRegion translated ( int dx, int dy ) const - // N n int, N n int - RETURN QRegion():from( Qt_QRegion_translated( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QRegion():from( Qt_QRegion_translated( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRegion translated ( const QPoint & p ) const - // PO p QPoint - RETURN QRegion():from( Qt_QRegion_translated_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRegion():from( Qt_QRegion_translated_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRegion:united( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRegion united ( const QRegion & r ) const - // PO p QRegion - RETURN QRegion():from( Qt_QRegion_united( ::pPtr, ... ) ) - // QRegion united ( const QRect & rect ) const - // PO p QRect - // RETURN QRegion():from( Qt_QRegion_united_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QREGION" + RETURN HB_QRegion():from( Qt_QRegion_united( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QRegion():from( Qt_QRegion_united_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QRegion:xored( pR ) - RETURN Qt_QRegion_xored( ::pPtr, hbqt_ptr( pR ) ) + RETURN HB_QRegion():from( Qt_QRegion_xored( ::pPtr, hbqt_ptr( pR ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg index 62d130f0b9..933a01ba83 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QResizeEvent:new( ... ) METHOD QResizeEvent:oldSize() - RETURN Qt_QResizeEvent_oldSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QResizeEvent_oldSize( ::pPtr ) ) METHOD QResizeEvent:size() - RETURN Qt_QResizeEvent_size( ::pPtr ) + RETURN HB_QSize():from( Qt_QResizeEvent_size( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg b/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg index 37958a75b4..cbb3104873 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -118,11 +150,11 @@ METHOD QScrollArea:setWidgetResizable( lResizable ) METHOD QScrollArea:takeWidget() - RETURN Qt_QScrollArea_takeWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QScrollArea_takeWidget( ::pPtr ) ) METHOD QScrollArea:widget() - RETURN Qt_QScrollArea_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QScrollArea_widget( ::pPtr ) ) METHOD QScrollArea:widgetResizable() diff --git a/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg b/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg index 4d833b03da..1573fcc57b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg b/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg index 25206dd2cf..71f63ff345 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -112,7 +144,7 @@ METHOD QSessionManager:cancel() METHOD QSessionManager:discardCommand() - RETURN Qt_QSessionManager_discardCommand( ::pPtr ) + RETURN HB_QStringList():from( Qt_QSessionManager_discardCommand( ::pPtr ) ) METHOD QSessionManager:isPhase2() @@ -128,7 +160,7 @@ METHOD QSessionManager:requestPhase2() METHOD QSessionManager:restartCommand() - RETURN Qt_QSessionManager_restartCommand( ::pPtr ) + RETURN HB_QStringList():from( Qt_QSessionManager_restartCommand( ::pPtr ) ) METHOD QSessionManager:restartHint() @@ -148,27 +180,17 @@ METHOD QSessionManager:setDiscardCommand( pList ) METHOD QSessionManager:setManagerProperty( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "C" - // void setManagerProperty ( const QString & name, const QString & value ) - // C c QString, C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QSessionManager_setManagerProperty_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // void setManagerProperty ( const QString & name, const QStringList & value ) - // C c QString, PO p QStringList + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QSessionManager_setManagerProperty( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QSessionManager:setRestartCommand( pCommand ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg index abb4295aaa..c3fa5d3bbd 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg b/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg index 636453e8c6..5812babc27 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg b/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg index e3981fbd04..7f9fd51860 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSlider.prg b/harbour/contrib/hbqt/qtgui/g/TQSlider.prg index a445f82edf..0495a03831 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSlider.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSlider.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSound.prg b/harbour/contrib/hbqt/qtgui/g/TQSound.prg index 7222038640..653eb5fa0e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSound.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSound.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg b/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg index 63331a1cfb..2d7f6b23b9 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -96,5 +128,5 @@ METHOD QSpacerItem:isEmpty() METHOD QSpacerItem:spacerItem() - RETURN Qt_QSpacerItem_spacerItem( ::pPtr ) + RETURN HB_QSpacerItem():from( Qt_QSpacerItem_spacerItem( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg index 79f0b186c6..8e25238d12 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg b/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg index 440a243f02..f5388ad515 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,7 +127,7 @@ METHOD QSplashScreen:finish( pMainWin ) METHOD QSplashScreen:pixmap() - RETURN Qt_QSplashScreen_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QSplashScreen_pixmap( ::pPtr ) ) METHOD QSplashScreen:repaint() diff --git a/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg b/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg index bb48310f2b..b7fa413c12 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -154,7 +186,7 @@ METHOD QSplitter:restoreState( pState ) METHOD QSplitter:saveState() - RETURN Qt_QSplitter_saveState( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QSplitter_saveState( ::pPtr ) ) METHOD QSplitter:setChildrenCollapsible( lBool ) @@ -182,9 +214,9 @@ METHOD QSplitter:setStretchFactor( nIndex, nStretch ) METHOD QSplitter:sizes() - RETURN Qt_QSplitter_sizes( ::pPtr ) + RETURN HB_QList():from( Qt_QSplitter_sizes( ::pPtr ) ) METHOD QSplitter:widget( nIndex ) - RETURN Qt_QSplitter_widget( ::pPtr, nIndex ) + RETURN HB_QWidget():from( Qt_QSplitter_widget( ::pPtr, nIndex ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg index de2f995caf..4b2b7584fb 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -107,7 +139,7 @@ METHOD QStackedWidget:currentIndex() METHOD QStackedWidget:currentWidget() - RETURN Qt_QStackedWidget_currentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QStackedWidget_currentWidget( ::pPtr ) ) METHOD QStackedWidget:indexOf( pWidget ) @@ -123,7 +155,7 @@ METHOD QStackedWidget:removeWidget( pWidget ) METHOD QStackedWidget:widget( nIndex ) - RETURN Qt_QStackedWidget_widget( ::pPtr, nIndex ) + RETURN HB_QWidget():from( Qt_QStackedWidget_widget( ::pPtr, nIndex ) ) METHOD QStackedWidget:setCurrentIndex( nIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg index 6b77dd57d5..b5ac2f78c8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -169,7 +201,7 @@ METHOD QStandardItem:appendRow( pItem ) METHOD QStandardItem:background() - RETURN Qt_QStandardItem_background( ::pPtr ) + RETURN HB_QBrush():from( Qt_QStandardItem_background( ::pPtr ) ) METHOD QStandardItem:checkState() @@ -177,11 +209,11 @@ METHOD QStandardItem:checkState() METHOD QStandardItem:child( nRow, nColumn ) - RETURN Qt_QStandardItem_child( ::pPtr, nRow, nColumn ) + RETURN HB_QStandardItem():from( Qt_QStandardItem_child( ::pPtr, nRow, nColumn ) ) METHOD QStandardItem:clone() - RETURN Qt_QStandardItem_clone( ::pPtr ) + RETURN HB_QStandardItem():from( Qt_QStandardItem_clone( ::pPtr ) ) METHOD QStandardItem:column() @@ -193,7 +225,7 @@ METHOD QStandardItem:columnCount() METHOD QStandardItem:data( nRole ) - RETURN Qt_QStandardItem_data( ::pPtr, nRole ) + RETURN HB_QVariant():from( Qt_QStandardItem_data( ::pPtr, nRole ) ) METHOD QStandardItem:flags() @@ -201,11 +233,11 @@ METHOD QStandardItem:flags() METHOD QStandardItem:font() - RETURN Qt_QStandardItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QStandardItem_font( ::pPtr ) ) METHOD QStandardItem:foreground() - RETURN Qt_QStandardItem_foreground( ::pPtr ) + RETURN HB_QBrush():from( Qt_QStandardItem_foreground( ::pPtr ) ) METHOD QStandardItem:hasChildren() @@ -213,11 +245,11 @@ METHOD QStandardItem:hasChildren() METHOD QStandardItem:icon() - RETURN Qt_QStandardItem_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStandardItem_icon( ::pPtr ) ) METHOD QStandardItem:index() - RETURN Qt_QStandardItem_index( ::pPtr ) + RETURN HB_QModelIndex():from( Qt_QStandardItem_index( ::pPtr ) ) METHOD QStandardItem:insertColumns( nColumn, nCount ) @@ -261,11 +293,11 @@ METHOD QStandardItem:isTristate() METHOD QStandardItem:model() - RETURN Qt_QStandardItem_model( ::pPtr ) + RETURN HB_QStandardItemModel():from( Qt_QStandardItem_model( ::pPtr ) ) METHOD QStandardItem:parent() - RETURN Qt_QStandardItem_parent( ::pPtr ) + RETURN HB_QStandardItem():from( Qt_QStandardItem_parent( ::pPtr ) ) METHOD QStandardItem:read( pIn ) @@ -317,30 +349,21 @@ METHOD QStandardItem:setCheckable( lCheckable ) METHOD QStandardItem:setChild( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" - // void setChild ( int row, int column, QStandardItem * item ) - // N n int, N n int, PO p QStandardItem + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QStandardItem_setChild( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void setChild ( int row, QStandardItem * item ) - // N n int, PO p QStandardItem + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QStandardItem_setChild_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStandardItem:setColumnCount( nColumns ) @@ -420,7 +443,7 @@ METHOD QStandardItem:setWhatsThis( cWhatsThis ) METHOD QStandardItem:sizeHint() - RETURN Qt_QStandardItem_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QStandardItem_sizeHint( ::pPtr ) ) METHOD QStandardItem:sortChildren( nColumn, nOrder ) @@ -432,15 +455,15 @@ METHOD QStandardItem:statusTip() METHOD QStandardItem:takeChild( nRow, nColumn ) - RETURN Qt_QStandardItem_takeChild( ::pPtr, nRow, nColumn ) + RETURN HB_QStandardItem():from( Qt_QStandardItem_takeChild( ::pPtr, nRow, nColumn ) ) METHOD QStandardItem:takeColumn( nColumn ) - RETURN Qt_QStandardItem_takeColumn( ::pPtr, nColumn ) + RETURN HB_QList():from( Qt_QStandardItem_takeColumn( ::pPtr, nColumn ) ) METHOD QStandardItem:takeRow( nRow ) - RETURN Qt_QStandardItem_takeRow( ::pPtr, nRow ) + RETURN HB_QList():from( Qt_QStandardItem_takeRow( ::pPtr, nRow ) ) METHOD QStandardItem:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg b/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg index fa19e9ff24..23e2b35091 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -119,15 +151,15 @@ METHOD QStandardItemModel:clear() METHOD QStandardItemModel:findItems( cText, nFlags, nColumn ) - RETURN Qt_QStandardItemModel_findItems( ::pPtr, cText, nFlags, nColumn ) + RETURN HB_QList():from( Qt_QStandardItemModel_findItems( ::pPtr, cText, nFlags, nColumn ) ) METHOD QStandardItemModel:horizontalHeaderItem( nColumn ) - RETURN Qt_QStandardItemModel_horizontalHeaderItem( ::pPtr, nColumn ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_horizontalHeaderItem( ::pPtr, nColumn ) ) METHOD QStandardItemModel:indexFromItem( pItem ) - RETURN Qt_QStandardItemModel_indexFromItem( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QModelIndex():from( Qt_QStandardItemModel_indexFromItem( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QStandardItemModel:insertColumn( nColumn, pParent ) @@ -135,45 +167,38 @@ METHOD QStandardItemModel:insertColumn( nColumn, pParent ) METHOD QStandardItemModel:insertRow( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) - // N n int, PO p QModelIndex - RETURN Qt_QStandardItemModel_insertRow( ::pPtr, ... ) - // void insertRow ( int row, QStandardItem * item ) - // N n int, PO p QStandardItem - // RETURN Qt_QStandardItemModel_insertRow_1( ::pPtr, ... ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 2 ) ) + CASE "QMODELINDEX" + RETURN Qt_QStandardItemModel_insertRow( ::pPtr, ... ) + CASE "QSTANDARDITEM" + RETURN Qt_QStandardItemModel_insertRow_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) - // N n int, PO p QModelIndex + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QStandardItemModel_insertRow( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStandardItemModel:invisibleRootItem() - RETURN Qt_QStandardItemModel_invisibleRootItem( ::pPtr ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_invisibleRootItem( ::pPtr ) ) METHOD QStandardItemModel:item( nRow, nColumn ) - RETURN Qt_QStandardItemModel_item( ::pPtr, nRow, nColumn ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_item( ::pPtr, nRow, nColumn ) ) METHOD QStandardItemModel:itemFromIndex( pIndex ) - RETURN Qt_QStandardItemModel_itemFromIndex( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_itemFromIndex( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QStandardItemModel:setColumnCount( nColumns ) @@ -189,30 +214,21 @@ METHOD QStandardItemModel:setHorizontalHeaderLabels( pLabels ) METHOD QStandardItemModel:setItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" - // void setItem ( int row, int column, QStandardItem * item ) - // N n int, N n int, PO p QStandardItem + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QStandardItemModel_setItem( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" - // void setItem ( int row, QStandardItem * item ) - // N n int, PO p QStandardItem + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QStandardItemModel_setItem_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStandardItemModel:setItemPrototype( pItem ) @@ -240,25 +256,25 @@ METHOD QStandardItemModel:sortRole() METHOD QStandardItemModel:takeColumn( nColumn ) - RETURN Qt_QStandardItemModel_takeColumn( ::pPtr, nColumn ) + RETURN HB_QList():from( Qt_QStandardItemModel_takeColumn( ::pPtr, nColumn ) ) METHOD QStandardItemModel:takeHorizontalHeaderItem( nColumn ) - RETURN Qt_QStandardItemModel_takeHorizontalHeaderItem( ::pPtr, nColumn ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_takeHorizontalHeaderItem( ::pPtr, nColumn ) ) METHOD QStandardItemModel:takeItem( nRow, nColumn ) - RETURN Qt_QStandardItemModel_takeItem( ::pPtr, nRow, nColumn ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_takeItem( ::pPtr, nRow, nColumn ) ) METHOD QStandardItemModel:takeRow( nRow ) - RETURN Qt_QStandardItemModel_takeRow( ::pPtr, nRow ) + RETURN HB_QList():from( Qt_QStandardItemModel_takeRow( ::pPtr, nRow ) ) METHOD QStandardItemModel:takeVerticalHeaderItem( nRow ) - RETURN Qt_QStandardItemModel_takeVerticalHeaderItem( ::pPtr, nRow ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_takeVerticalHeaderItem( ::pPtr, nRow ) ) METHOD QStandardItemModel:verticalHeaderItem( nRow ) - RETURN Qt_QStandardItemModel_verticalHeaderItem( ::pPtr, nRow ) + RETURN HB_QStandardItem():from( Qt_QStandardItemModel_verticalHeaderItem( ::pPtr, nRow ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg index 281554bcc2..73ab8ed33d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg b/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg index 8e182b4407..80f43c3044 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QStringListModel:new( ... ) METHOD QStringListModel:data( pIndex, nRole ) - RETURN Qt_QStringListModel_data( ::pPtr, hbqt_ptr( pIndex ), nRole ) + RETURN HB_QVariant():from( Qt_QStringListModel_data( ::pPtr, hbqt_ptr( pIndex ), nRole ) ) METHOD QStringListModel:flags( pIndex ) @@ -121,5 +153,5 @@ METHOD QStringListModel:setStringList( pStrings ) METHOD QStringListModel:stringList() - RETURN Qt_QStringListModel_stringList( ::pPtr ) + RETURN HB_QStringList():from( Qt_QStringListModel_stringList( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyle.prg b/harbour/contrib/hbqt/qtgui/g/TQStyle.prg index c812777113..b4080dedb3 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyle.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyle.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -135,7 +167,7 @@ METHOD QStyle:drawPrimitive( nElement, pOption, pPainter, pWidget ) METHOD QStyle:generatedIconPixmap( nIconMode, pPixmap, pOption ) - RETURN Qt_QStyle_generatedIconPixmap( ::pPtr, nIconMode, hbqt_ptr( pPixmap ), hbqt_ptr( pOption ) ) + RETURN HB_QPixmap():from( Qt_QStyle_generatedIconPixmap( ::pPtr, nIconMode, hbqt_ptr( pPixmap ), hbqt_ptr( pOption ) ) ) METHOD QStyle:hitTestComplexControl( nControl, pOption, pPosition, pWidget ) @@ -143,11 +175,11 @@ METHOD QStyle:hitTestComplexControl( nControl, pOption, pPosition, pWidget ) METHOD QStyle:itemPixmapRect( pRectangle, nAlignment, pPixmap ) - RETURN Qt_QStyle_itemPixmapRect( ::pPtr, hbqt_ptr( pRectangle ), nAlignment, hbqt_ptr( pPixmap ) ) + RETURN HB_QRect():from( Qt_QStyle_itemPixmapRect( ::pPtr, hbqt_ptr( pRectangle ), nAlignment, hbqt_ptr( pPixmap ) ) ) METHOD QStyle:itemTextRect( pMetrics, pRectangle, nAlignment, lEnabled, cText ) - RETURN Qt_QStyle_itemTextRect( ::pPtr, hbqt_ptr( pMetrics ), hbqt_ptr( pRectangle ), nAlignment, lEnabled, cText ) + RETURN HB_QRect():from( Qt_QStyle_itemTextRect( ::pPtr, hbqt_ptr( pMetrics ), hbqt_ptr( pRectangle ), nAlignment, lEnabled, cText ) ) METHOD QStyle:layoutSpacing( nControl1, nControl2, nOrientation, pOption, pWidget ) @@ -159,41 +191,34 @@ METHOD QStyle:pixelMetric( nMetric, pOption, pWidget ) METHOD QStyle:polish( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // virtual void polish ( QWidget * widget ) - // PO p QWidget - RETURN Qt_QStyle_polish( ::pPtr, ... ) - // virtual void polish ( QApplication * application ) - // PO p QApplication - // RETURN Qt_QStyle_polish_1( ::pPtr, ... ) - // virtual void polish ( QPalette & palette ) - // PO p QPalette - // RETURN Qt_QStyle_polish_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN Qt_QStyle_polish( ::pPtr, ... ) + CASE "QAPPLICATION" + RETURN Qt_QStyle_polish_1( ::pPtr, ... ) + CASE "QPALETTE" + RETURN Qt_QStyle_polish_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStyle:sizeFromContents( nType, pOption, pContentsSize, pWidget ) - RETURN Qt_QStyle_sizeFromContents( ::pPtr, nType, hbqt_ptr( pOption ), hbqt_ptr( pContentsSize ), hbqt_ptr( pWidget ) ) + RETURN HB_QSize():from( Qt_QStyle_sizeFromContents( ::pPtr, nType, hbqt_ptr( pOption ), hbqt_ptr( pContentsSize ), hbqt_ptr( pWidget ) ) ) METHOD QStyle:standardIcon( nStandardIcon, pOption, pWidget ) - RETURN Qt_QStyle_standardIcon( ::pPtr, nStandardIcon, hbqt_ptr( pOption ), hbqt_ptr( pWidget ) ) + RETURN HB_QIcon():from( Qt_QStyle_standardIcon( ::pPtr, nStandardIcon, hbqt_ptr( pOption ), hbqt_ptr( pWidget ) ) ) METHOD QStyle:standardPalette() - RETURN Qt_QStyle_standardPalette( ::pPtr ) + RETURN HB_QPalette():from( Qt_QStyle_standardPalette( ::pPtr ) ) METHOD QStyle:styleHint( nHint, pOption, pWidget, pReturnData ) @@ -201,38 +226,32 @@ METHOD QStyle:styleHint( nHint, pOption, pWidget, pReturnData ) METHOD QStyle:subControlRect( nControl, pOption, nSubControl, pWidget ) - RETURN Qt_QStyle_subControlRect( ::pPtr, nControl, hbqt_ptr( pOption ), nSubControl, hbqt_ptr( pWidget ) ) + RETURN HB_QRect():from( Qt_QStyle_subControlRect( ::pPtr, nControl, hbqt_ptr( pOption ), nSubControl, hbqt_ptr( pWidget ) ) ) METHOD QStyle:subElementRect( nElement, pOption, pWidget ) - RETURN Qt_QStyle_subElementRect( ::pPtr, nElement, hbqt_ptr( pOption ), hbqt_ptr( pWidget ) ) + RETURN HB_QRect():from( Qt_QStyle_subElementRect( ::pPtr, nElement, hbqt_ptr( pOption ), hbqt_ptr( pWidget ) ) ) METHOD QStyle:unpolish( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // virtual void unpolish ( QWidget * widget ) - // PO p QWidget - RETURN Qt_QStyle_unpolish( ::pPtr, ... ) - // virtual void unpolish ( QApplication * application ) - // PO p QApplication - // RETURN Qt_QStyle_unpolish_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QWIDGET" + RETURN Qt_QStyle_unpolish( ::pPtr, ... ) + CASE "QAPPLICATION" + RETURN Qt_QStyle_unpolish_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStyle:alignedRect( nDirection, nAlignment, pSize, pRectangle ) - RETURN Qt_QStyle_alignedRect( ::pPtr, nDirection, nAlignment, hbqt_ptr( pSize ), hbqt_ptr( pRectangle ) ) + RETURN HB_QRect():from( Qt_QStyle_alignedRect( ::pPtr, nDirection, nAlignment, hbqt_ptr( pSize ), hbqt_ptr( pRectangle ) ) ) METHOD QStyle:sliderPositionFromValue( nMin, nMax, nLogicalValue, nSpan, lUpsideDown ) @@ -248,9 +267,9 @@ METHOD QStyle:visualAlignment( nDirection, nAlignment ) METHOD QStyle:visualPos( nDirection, pBoundingRectangle, pLogicalPosition ) - RETURN Qt_QStyle_visualPos( ::pPtr, nDirection, hbqt_ptr( pBoundingRectangle ), hbqt_ptr( pLogicalPosition ) ) + RETURN HB_QPoint():from( Qt_QStyle_visualPos( ::pPtr, nDirection, hbqt_ptr( pBoundingRectangle ), hbqt_ptr( pLogicalPosition ) ) ) METHOD QStyle:visualRect( nDirection, pBoundingRectangle, pLogicalRectangle ) - RETURN Qt_QStyle_visualRect( ::pPtr, nDirection, hbqt_ptr( pBoundingRectangle ), hbqt_ptr( pLogicalRectangle ) ) + RETURN HB_QRect():from( Qt_QStyle_visualRect( ::pPtr, nDirection, hbqt_ptr( pBoundingRectangle ), hbqt_ptr( pLogicalRectangle ) ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg index 81dedd4ffb..aaa69a48a5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,9 +119,9 @@ METHOD QStyleFactory:new( ... ) METHOD QStyleFactory:create( cKey ) - RETURN Qt_QStyleFactory_create( ::pPtr, cKey ) + RETURN HB_QStyle():from( Qt_QStyleFactory_create( ::pPtr, cKey ) ) METHOD QStyleFactory:keys() - RETURN Qt_QStyleFactory_keys( ::pPtr ) + RETURN HB_QStringList():from( Qt_QStyleFactory_keys( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg index 385af37a65..a2b26b0117 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg index 8789e00240..bd6a312dbc 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg index 294ea46153..746af67e6c 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg index ff16d51a45..ff8e8bd658 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -101,15 +133,15 @@ METHOD QStyleOption:direction() METHOD QStyleOption:fontMetrics() - RETURN Qt_QStyleOption_fontMetrics( ::pPtr ) + RETURN HB_QFontMetrics():from( Qt_QStyleOption_fontMetrics( ::pPtr ) ) METHOD QStyleOption:palette() - RETURN Qt_QStyleOption_palette( ::pPtr ) + RETURN HB_QPalette():from( Qt_QStyleOption_palette( ::pPtr ) ) METHOD QStyleOption:rect() - RETURN Qt_QStyleOption_rect( ::pPtr ) + RETURN HB_QRect():from( Qt_QStyleOption_rect( ::pPtr ) ) METHOD QStyleOption:state() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg index 7428f9a415..dd62c28db7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,11 +125,11 @@ METHOD QStyleOptionButton:features() METHOD QStyleOptionButton:icon() - RETURN Qt_QStyleOptionButton_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionButton_icon( ::pPtr ) ) METHOD QStyleOptionButton:iconSize() - RETURN Qt_QStyleOptionButton_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionButton_iconSize( ::pPtr ) ) METHOD QStyleOptionButton:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg index bbd86b5de5..11d2dd3527 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,7 +123,7 @@ METHOD QStyleOptionComboBox:new( ... ) METHOD QStyleOptionComboBox:currentIcon() - RETURN Qt_QStyleOptionComboBox_currentIcon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionComboBox_currentIcon( ::pPtr ) ) METHOD QStyleOptionComboBox:currentText() @@ -107,9 +139,9 @@ METHOD QStyleOptionComboBox:frame() METHOD QStyleOptionComboBox:iconSize() - RETURN Qt_QStyleOptionComboBox_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionComboBox_iconSize( ::pPtr ) ) METHOD QStyleOptionComboBox:popupRect() - RETURN Qt_QStyleOptionComboBox_popupRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QStyleOptionComboBox_popupRect( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg index 81063b6a3b..fc4b2585fa 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg index 414f710c09..7188446cbe 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg index eac7c2887a..7fe1a9a1ad 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -86,5 +118,5 @@ METHOD QStyleOptionFocusRect:new( ... ) METHOD QStyleOptionFocusRect:backgroundColor() - RETURN Qt_QStyleOptionFocusRect_backgroundColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QStyleOptionFocusRect_backgroundColor( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg index e6eb7d837c..4c254993e4 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg index 30c734ad1a..9fb9e4ff6f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -88,7 +120,7 @@ METHOD QStyleOptionGraphicsItem:new( ... ) METHOD QStyleOptionGraphicsItem:exposedRect() - RETURN Qt_QStyleOptionGraphicsItem_exposedRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QStyleOptionGraphicsItem_exposedRect( ::pPtr ) ) METHOD QStyleOptionGraphicsItem:levelOfDetail() @@ -96,5 +128,5 @@ METHOD QStyleOptionGraphicsItem:levelOfDetail() METHOD QStyleOptionGraphicsItem:matrix() - RETURN Qt_QStyleOptionGraphicsItem_matrix( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QStyleOptionGraphicsItem_matrix( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg index 5bb3c411c3..21264c4f5d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -111,5 +143,5 @@ METHOD QStyleOptionGroupBox:textAlignment() METHOD QStyleOptionGroupBox:textColor() - RETURN Qt_QStyleOptionGroupBox_textColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QStyleOptionGroupBox_textColor( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg index b68843994a..77fee66af4 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -94,7 +126,7 @@ METHOD QStyleOptionHeader:new( ... ) METHOD QStyleOptionHeader:icon() - RETURN Qt_QStyleOptionHeader_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionHeader_icon( ::pPtr ) ) METHOD QStyleOptionHeader:iconAlignment() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg index 7a3fe0562d..e5220f9563 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,11 +135,11 @@ METHOD QStyleOptionMenuItem:checked() METHOD QStyleOptionMenuItem:font() - RETURN Qt_QStyleOptionMenuItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QStyleOptionMenuItem_font( ::pPtr ) ) METHOD QStyleOptionMenuItem:icon() - RETURN Qt_QStyleOptionMenuItem_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionMenuItem_icon( ::pPtr ) ) METHOD QStyleOptionMenuItem:maxIconWidth() @@ -123,7 +155,7 @@ METHOD QStyleOptionMenuItem:menuItemType() METHOD QStyleOptionMenuItem:menuRect() - RETURN Qt_QStyleOptionMenuItem_menuRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QStyleOptionMenuItem_menuRect( ::pPtr ) ) METHOD QStyleOptionMenuItem:tabWidth() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg index 1bbd1a0bb6..c20731d65e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg index bfc3772a7b..3f91ae1ef8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg index ad316f6e61..204d627060 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg index d73743e202..179f0ca571 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg index 9b253b3a03..0fc13f6484 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -96,7 +128,7 @@ METHOD QStyleOptionTab:cornerWidgets() METHOD QStyleOptionTab:icon() - RETURN Qt_QStyleOptionTab_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionTab_icon( ::pPtr ) ) METHOD QStyleOptionTab:position() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg index 0b7c94d961..b8f935a73a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -88,7 +120,7 @@ METHOD QStyleOptionTabBarBase:new( ... ) METHOD QStyleOptionTabBarBase:selectedTabRect() - RETURN Qt_QStyleOptionTabBarBase_selectedTabRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QStyleOptionTabBarBase_selectedTabRect( ::pPtr ) ) METHOD QStyleOptionTabBarBase:shape() @@ -96,5 +128,5 @@ METHOD QStyleOptionTabBarBase:shape() METHOD QStyleOptionTabBarBase:tabBarRect() - RETURN Qt_QStyleOptionTabBarBase_tabBarRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QStyleOptionTabBarBase_tabBarRect( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg index 529a3c7f73..4287d060ba 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,7 +123,7 @@ METHOD QStyleOptionTabWidgetFrame:new( ... ) METHOD QStyleOptionTabWidgetFrame:leftCornerWidgetSize() - RETURN Qt_QStyleOptionTabWidgetFrame_leftCornerWidgetSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionTabWidgetFrame_leftCornerWidgetSize( ::pPtr ) ) METHOD QStyleOptionTabWidgetFrame:lineWidth() @@ -103,7 +135,7 @@ METHOD QStyleOptionTabWidgetFrame:midLineWidth() METHOD QStyleOptionTabWidgetFrame:rightCornerWidgetSize() - RETURN Qt_QStyleOptionTabWidgetFrame_rightCornerWidgetSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionTabWidgetFrame_rightCornerWidgetSize( ::pPtr ) ) METHOD QStyleOptionTabWidgetFrame:shape() @@ -111,5 +143,5 @@ METHOD QStyleOptionTabWidgetFrame:shape() METHOD QStyleOptionTabWidgetFrame:tabBarSize() - RETURN Qt_QStyleOptionTabWidgetFrame_tabBarSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionTabWidgetFrame_tabBarSize( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg index 9237243969..e17db31295 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,7 +121,7 @@ METHOD QStyleOptionTitleBar:new( ... ) METHOD QStyleOptionTitleBar:icon() - RETURN Qt_QStyleOptionTitleBar_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionTitleBar_icon( ::pPtr ) ) METHOD QStyleOptionTitleBar:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg index b2f4738c50..b17a06e454 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg index 1fd15e10d1..3c0c212124 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,7 +119,7 @@ METHOD QStyleOptionToolBox:new( ... ) METHOD QStyleOptionToolBox:icon() - RETURN Qt_QStyleOptionToolBox_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionToolBox_icon( ::pPtr ) ) METHOD QStyleOptionToolBox:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg index b064f9c592..97019b9a34 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -101,19 +133,19 @@ METHOD QStyleOptionToolButton:features() METHOD QStyleOptionToolButton:font() - RETURN Qt_QStyleOptionToolButton_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QStyleOptionToolButton_font( ::pPtr ) ) METHOD QStyleOptionToolButton:icon() - RETURN Qt_QStyleOptionToolButton_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QStyleOptionToolButton_icon( ::pPtr ) ) METHOD QStyleOptionToolButton:iconSize() - RETURN Qt_QStyleOptionToolButton_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionToolButton_iconSize( ::pPtr ) ) METHOD QStyleOptionToolButton:pos() - RETURN Qt_QStyleOptionToolButton_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QStyleOptionToolButton_pos( ::pPtr ) ) METHOD QStyleOptionToolButton:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg index 10738988e1..a7e90adc22 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -100,7 +132,7 @@ METHOD QStyleOptionViewItem:decorationPosition() METHOD QStyleOptionViewItem:decorationSize() - RETURN Qt_QStyleOptionViewItem_decorationSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QStyleOptionViewItem_decorationSize( ::pPtr ) ) METHOD QStyleOptionViewItem:displayAlignment() @@ -108,7 +140,7 @@ METHOD QStyleOptionViewItem:displayAlignment() METHOD QStyleOptionViewItem:font() - RETURN Qt_QStyleOptionViewItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QStyleOptionViewItem_font( ::pPtr ) ) METHOD QStyleOptionViewItem:showDecorationSelected() diff --git a/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg b/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg index 92dd6e4b7e..fcda1deca0 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,30 +124,21 @@ METHOD QStylePainter:new( ... ) METHOD QStylePainter:begin( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // bool begin ( QPaintDevice * pd, QWidget * widget ) - // PO p QPaintDevice, PO p QWidget + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QStylePainter_begin_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool begin ( QWidget * widget ) - // PO p QWidget + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QStylePainter_begin( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QStylePainter:drawComplexControl( nCc, pOption ) @@ -139,5 +162,5 @@ METHOD QStylePainter:drawPrimitive( nPe, pOption ) METHOD QStylePainter:style() - RETURN Qt_QStylePainter_style( ::pPtr ) + RETURN HB_QStyle():from( Qt_QStylePainter_style( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg b/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg index 5fdcab0f24..34cb1836e7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,7 +124,7 @@ METHOD QStyledItemDelegate:new( ... ) METHOD QStyledItemDelegate:createEditor( pParent, pOption, pIndex ) - RETURN Qt_QStyledItemDelegate_createEditor( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) + RETURN HB_QWidget():from( Qt_QStyledItemDelegate_createEditor( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) ) METHOD QStyledItemDelegate:displayText( pValue, pLocale ) @@ -112,7 +144,7 @@ METHOD QStyledItemDelegate:setModelData( pEditor, pModel, pIndex ) METHOD QStyledItemDelegate:sizeHint( pOption, pIndex ) - RETURN Qt_QStyledItemDelegate_sizeHint( ::pPtr, hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) + RETURN HB_QSize():from( Qt_QStyledItemDelegate_sizeHint( ::pPtr, hbqt_ptr( pOption ), hbqt_ptr( pIndex ) ) ) METHOD QStyledItemDelegate:updateEditorGeometry( pEditor, pOption, pIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg b/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg index eb0380ce8c..950ab00833 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -88,7 +120,7 @@ METHOD QSyntaxHighlighter:new( ... ) METHOD QSyntaxHighlighter:document() - RETURN Qt_QSyntaxHighlighter_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QSyntaxHighlighter_document( ::pPtr ) ) METHOD QSyntaxHighlighter:setDocument( pDoc ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg b/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg index ad4851a503..7f478247e7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,15 +131,15 @@ METHOD QSystemTrayIcon:new( ... ) METHOD QSystemTrayIcon:contextMenu() - RETURN Qt_QSystemTrayIcon_contextMenu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QSystemTrayIcon_contextMenu( ::pPtr ) ) METHOD QSystemTrayIcon:geometry() - RETURN Qt_QSystemTrayIcon_geometry( ::pPtr ) + RETURN HB_QRect():from( Qt_QSystemTrayIcon_geometry( ::pPtr ) ) METHOD QSystemTrayIcon:icon() - RETURN Qt_QSystemTrayIcon_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QSystemTrayIcon_icon( ::pPtr ) ) METHOD QSystemTrayIcon:isVisible() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg b/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg index 8a93d76492..5260696da0 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -157,7 +189,7 @@ METHOD QTabBar:expanding() METHOD QTabBar:iconSize() - RETURN Qt_QTabBar_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QTabBar_iconSize( ::pPtr ) ) METHOD QTabBar:insertTab( nIndex, cText ) @@ -261,19 +293,19 @@ METHOD QTabBar:tabAt( pPosition ) METHOD QTabBar:tabButton( nIndex, nPosition ) - RETURN Qt_QTabBar_tabButton( ::pPtr, nIndex, nPosition ) + RETURN HB_QWidget():from( Qt_QTabBar_tabButton( ::pPtr, nIndex, nPosition ) ) METHOD QTabBar:tabData( nIndex ) - RETURN Qt_QTabBar_tabData( ::pPtr, nIndex ) + RETURN HB_QVariant():from( Qt_QTabBar_tabData( ::pPtr, nIndex ) ) METHOD QTabBar:tabIcon( nIndex ) - RETURN Qt_QTabBar_tabIcon( ::pPtr, nIndex ) + RETURN HB_QIcon():from( Qt_QTabBar_tabIcon( ::pPtr, nIndex ) ) METHOD QTabBar:tabRect( nIndex ) - RETURN Qt_QTabBar_tabRect( ::pPtr, nIndex ) + RETURN HB_QRect():from( Qt_QTabBar_tabRect( ::pPtr, nIndex ) ) METHOD QTabBar:tabText( nIndex ) @@ -281,7 +313,7 @@ METHOD QTabBar:tabText( nIndex ) METHOD QTabBar:tabTextColor( nIndex ) - RETURN Qt_QTabBar_tabTextColor( ::pPtr, nIndex ) + RETURN HB_QColor():from( Qt_QTabBar_tabTextColor( ::pPtr, nIndex ) ) METHOD QTabBar:tabToolTip( nIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg index ad1fd212fa..b2640ee4e1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -124,30 +156,21 @@ METHOD QTabWidget:new( ... ) METHOD QTabWidget:addTab( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PCO" .AND. aV[ 3 ] $ "C" - // int addTab ( QWidget * page, const QIcon & icon, const QString & label ) [*D=1*] - // PO p QWidget, PCO p QIcon, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QTabWidget_addTab_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // int addTab ( QWidget * page, const QString & label ) [*D=1*] - // PO p QWidget, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QTabWidget_addTab( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTabWidget:clear() @@ -155,7 +178,7 @@ METHOD QTabWidget:clear() METHOD QTabWidget:cornerWidget( nCorner ) - RETURN Qt_QTabWidget_cornerWidget( ::pPtr, nCorner ) + RETURN HB_QWidget():from( Qt_QTabWidget_cornerWidget( ::pPtr, nCorner ) ) METHOD QTabWidget:count() @@ -167,7 +190,7 @@ METHOD QTabWidget:currentIndex() METHOD QTabWidget:currentWidget() - RETURN Qt_QTabWidget_currentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QTabWidget_currentWidget( ::pPtr ) ) METHOD QTabWidget:documentMode() @@ -179,7 +202,7 @@ METHOD QTabWidget:elideMode() METHOD QTabWidget:iconSize() - RETURN Qt_QTabWidget_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QTabWidget_iconSize( ::pPtr ) ) METHOD QTabWidget:indexOf( pW ) @@ -187,30 +210,21 @@ METHOD QTabWidget:indexOf( pW ) METHOD QTabWidget:insertTab( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PCO" .AND. aV[ 4 ] $ "C" - // int insertTab ( int index, QWidget * page, const QIcon & icon, const QString & label ) - // N n int, PO p QWidget, PCO p QIcon, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. ( hb_isObject( hb_pvalue( 3 ) ) .OR. hb_isChar( hb_pvalue( 3 ) ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) RETURN Qt_QTabWidget_insertTab_1( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" - // int insertTab ( int index, QWidget * page, const QString & label ) - // N n int, PO p QWidget, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QTabWidget_insertTab( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTabWidget:isMovable() @@ -282,7 +296,7 @@ METHOD QTabWidget:setUsesScrollButtons( lUseButtons ) METHOD QTabWidget:tabIcon( nIndex ) - RETURN Qt_QTabWidget_tabIcon( ::pPtr, nIndex ) + RETURN HB_QIcon():from( Qt_QTabWidget_tabIcon( ::pPtr, nIndex ) ) METHOD QTabWidget:tabPosition() @@ -314,7 +328,7 @@ METHOD QTabWidget:usesScrollButtons() METHOD QTabWidget:widget( nIndex ) - RETURN Qt_QTabWidget_widget( ::pPtr, nIndex ) + RETURN HB_QWidget():from( Qt_QTabWidget_widget( ::pPtr, nIndex ) ) METHOD QTabWidget:setCurrentIndex( nIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableView.prg b/harbour/contrib/hbqt/qtgui/g/TQTableView.prg index 323fb42ad5..c7c47c8fe3 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTableView.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTableView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -151,11 +183,11 @@ METHOD QTableView:gridStyle() METHOD QTableView:horizontalHeader() - RETURN Qt_QTableView_horizontalHeader( ::pPtr ) + RETURN HB_QHeaderView():from( Qt_QTableView_horizontalHeader( ::pPtr ) ) METHOD QTableView:indexAt( pPos ) - RETURN Qt_QTableView_indexAt( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QModelIndex():from( Qt_QTableView_indexAt( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QTableView:isColumnHidden( nColumn ) @@ -243,7 +275,7 @@ METHOD QTableView:sortByColumn( nColumn, nOrder ) METHOD QTableView:verticalHeader() - RETURN Qt_QTableView_verticalHeader( ::pPtr ) + RETURN HB_QHeaderView():from( Qt_QTableView_verticalHeader( ::pPtr ) ) METHOD QTableView:wordWrap() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg index 3b3419513d..38a6d54eb8 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -131,7 +163,7 @@ METHOD QTableWidget:new( ... ) METHOD QTableWidget:cellWidget( nRow, nColumn ) - RETURN Qt_QTableWidget_cellWidget( ::pPtr, nRow, nColumn ) + RETURN HB_QWidget():from( Qt_QTableWidget_cellWidget( ::pPtr, nRow, nColumn ) ) METHOD QTableWidget:closePersistentEditor( pItem ) @@ -151,7 +183,7 @@ METHOD QTableWidget:currentColumn() METHOD QTableWidget:currentItem() - RETURN Qt_QTableWidget_currentItem( ::pPtr ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_currentItem( ::pPtr ) ) METHOD QTableWidget:currentRow() @@ -163,46 +195,37 @@ METHOD QTableWidget:editItem( pItem ) METHOD QTableWidget:findItems( cText, nFlags ) - RETURN Qt_QTableWidget_findItems( ::pPtr, cText, nFlags ) + RETURN HB_QList():from( Qt_QTableWidget_findItems( ::pPtr, cText, nFlags ) ) METHOD QTableWidget:horizontalHeaderItem( nColumn ) - RETURN Qt_QTableWidget_horizontalHeaderItem( ::pPtr, nColumn ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_horizontalHeaderItem( ::pPtr, nColumn ) ) METHOD QTableWidget:item( nRow, nColumn ) - RETURN Qt_QTableWidget_item( ::pPtr, nRow, nColumn ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_item( ::pPtr, nRow, nColumn ) ) METHOD QTableWidget:itemAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QTableWidgetItem * itemAt ( int ax, int ay ) const - // N n int, N n int - RETURN QTableWidgetItem():from( Qt_QTableWidget_itemAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_itemAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QTableWidgetItem * itemAt ( const QPoint & point ) const - // PO p QPoint - RETURN QTableWidgetItem():from( Qt_QTableWidget_itemAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_itemAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTableWidget:itemPrototype() - RETURN Qt_QTableWidget_itemPrototype( ::pPtr ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_itemPrototype( ::pPtr ) ) METHOD QTableWidget:openPersistentEditor( pItem ) @@ -222,11 +245,11 @@ METHOD QTableWidget:rowCount() METHOD QTableWidget:selectedItems() - RETURN Qt_QTableWidget_selectedItems( ::pPtr ) + RETURN HB_QList():from( Qt_QTableWidget_selectedItems( ::pPtr ) ) METHOD QTableWidget:selectedRanges() - RETURN Qt_QTableWidget_selectedRanges( ::pPtr ) + RETURN HB_QList():from( Qt_QTableWidget_selectedRanges( ::pPtr ) ) METHOD QTableWidget:setCellWidget( nRow, nColumn, pWidget ) @@ -238,57 +261,39 @@ METHOD QTableWidget:setColumnCount( nColumns ) METHOD QTableWidget:setCurrentCell( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void setCurrentCell ( int row, int column, QItemSelectionModel::SelectionFlags command ) - // N n int, N n int, N n QItemSelectionModel::SelectionFlags + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QTableWidget_setCurrentCell_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setCurrentCell ( int row, int column ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QTableWidget_setCurrentCell( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTableWidget:setCurrentItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setCurrentItem ( QTableWidgetItem * item, QItemSelectionModel::SelectionFlags command ) [*D=1*] - // PO p QTableWidgetItem, N n QItemSelectionModel::SelectionFlags + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QTableWidget_setCurrentItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setCurrentItem ( QTableWidgetItem * item ) [*D=1*] - // PO p QTableWidgetItem + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTableWidget_setCurrentItem( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTableWidget:setHorizontalHeaderItem( nColumn, pItem ) @@ -328,19 +333,19 @@ METHOD QTableWidget:sortItems( nColumn, nOrder ) METHOD QTableWidget:takeHorizontalHeaderItem( nColumn ) - RETURN Qt_QTableWidget_takeHorizontalHeaderItem( ::pPtr, nColumn ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_takeHorizontalHeaderItem( ::pPtr, nColumn ) ) METHOD QTableWidget:takeItem( nRow, nColumn ) - RETURN Qt_QTableWidget_takeItem( ::pPtr, nRow, nColumn ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_takeItem( ::pPtr, nRow, nColumn ) ) METHOD QTableWidget:takeVerticalHeaderItem( nRow ) - RETURN Qt_QTableWidget_takeVerticalHeaderItem( ::pPtr, nRow ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_takeVerticalHeaderItem( ::pPtr, nRow ) ) METHOD QTableWidget:verticalHeaderItem( nRow ) - RETURN Qt_QTableWidget_verticalHeaderItem( ::pPtr, nRow ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidget_verticalHeaderItem( ::pPtr, nRow ) ) METHOD QTableWidget:visualColumn( nLogicalColumn ) @@ -348,7 +353,7 @@ METHOD QTableWidget:visualColumn( nLogicalColumn ) METHOD QTableWidget:visualItemRect( pItem ) - RETURN Qt_QTableWidget_visualItemRect( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QRect():from( Qt_QTableWidget_visualItemRect( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QTableWidget:visualRow( nLogicalRow ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg index 8a55f8417d..8e558f7f42 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -120,7 +152,7 @@ METHOD QTableWidgetItem:new( ... ) METHOD QTableWidgetItem:background() - RETURN Qt_QTableWidgetItem_background( ::pPtr ) + RETURN HB_QBrush():from( Qt_QTableWidgetItem_background( ::pPtr ) ) METHOD QTableWidgetItem:checkState() @@ -128,7 +160,7 @@ METHOD QTableWidgetItem:checkState() METHOD QTableWidgetItem:clone() - RETURN Qt_QTableWidgetItem_clone( ::pPtr ) + RETURN HB_QTableWidgetItem():from( Qt_QTableWidgetItem_clone( ::pPtr ) ) METHOD QTableWidgetItem:column() @@ -136,7 +168,7 @@ METHOD QTableWidgetItem:column() METHOD QTableWidgetItem:data( nRole ) - RETURN Qt_QTableWidgetItem_data( ::pPtr, nRole ) + RETURN HB_QVariant():from( Qt_QTableWidgetItem_data( ::pPtr, nRole ) ) METHOD QTableWidgetItem:flags() @@ -144,15 +176,15 @@ METHOD QTableWidgetItem:flags() METHOD QTableWidgetItem:font() - RETURN Qt_QTableWidgetItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QTableWidgetItem_font( ::pPtr ) ) METHOD QTableWidgetItem:foreground() - RETURN Qt_QTableWidgetItem_foreground( ::pPtr ) + RETURN HB_QBrush():from( Qt_QTableWidgetItem_foreground( ::pPtr ) ) METHOD QTableWidgetItem:icon() - RETURN Qt_QTableWidgetItem_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QTableWidgetItem_icon( ::pPtr ) ) METHOD QTableWidgetItem:isSelected() @@ -224,7 +256,7 @@ METHOD QTableWidgetItem:setWhatsThis( cWhatsThis ) METHOD QTableWidgetItem:sizeHint() - RETURN Qt_QTableWidgetItem_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QTableWidgetItem_sizeHint( ::pPtr ) ) METHOD QTableWidgetItem:statusTip() @@ -232,7 +264,7 @@ METHOD QTableWidgetItem:statusTip() METHOD QTableWidgetItem:tableWidget() - RETURN Qt_QTableWidgetItem_tableWidget( ::pPtr ) + RETURN HB_QTableWidget():from( Qt_QTableWidgetItem_tableWidget( ::pPtr ) ) METHOD QTableWidgetItem:text() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg b/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg index 2b1387cdc0..80800ecc06 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg index a664bb0469..ccb2c77a28 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -112,7 +144,7 @@ METHOD QTextBlock:new( ... ) METHOD QTextBlock:blockFormat() - RETURN Qt_QTextBlock_blockFormat( ::pPtr ) + RETURN HB_QTextBlockFormat():from( Qt_QTextBlock_blockFormat( ::pPtr ) ) METHOD QTextBlock:blockFormatIndex() @@ -124,7 +156,7 @@ METHOD QTextBlock:blockNumber() METHOD QTextBlock:charFormat() - RETURN Qt_QTextBlock_charFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QTextBlock_charFormat( ::pPtr ) ) METHOD QTextBlock:charFormatIndex() @@ -140,7 +172,7 @@ METHOD QTextBlock:contains( nPosition ) METHOD QTextBlock:document() - RETURN Qt_QTextBlock_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QTextBlock_document( ::pPtr ) ) METHOD QTextBlock:firstLineNumber() @@ -156,7 +188,7 @@ METHOD QTextBlock:isVisible() METHOD QTextBlock:layout() - RETURN Qt_QTextBlock_layout( ::pPtr ) + RETURN HB_QTextLayout():from( Qt_QTextBlock_layout( ::pPtr ) ) METHOD QTextBlock:length() @@ -168,7 +200,7 @@ METHOD QTextBlock:lineCount() METHOD QTextBlock:next() - RETURN Qt_QTextBlock_next( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextBlock_next( ::pPtr ) ) METHOD QTextBlock:position() @@ -176,7 +208,7 @@ METHOD QTextBlock:position() METHOD QTextBlock:previous() - RETURN Qt_QTextBlock_previous( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextBlock_previous( ::pPtr ) ) METHOD QTextBlock:revision() @@ -208,11 +240,11 @@ METHOD QTextBlock:text() METHOD QTextBlock:textList() - RETURN Qt_QTextBlock_textList( ::pPtr ) + RETURN HB_QTextList():from( Qt_QTextBlock_textList( ::pPtr ) ) METHOD QTextBlock:userData() - RETURN Qt_QTextBlock_userData( ::pPtr ) + RETURN HB_HBQTextBlockUserData():from( Qt_QTextBlock_userData( ::pPtr ) ) METHOD QTextBlock:userState() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg index 494312d0ad..d2941e14b6 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg index ec6057d346..b8ae8af7c6 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg index 7789b99c0b..448675ff68 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -121,7 +153,7 @@ METHOD QTextBrowser:historyTitle( nI ) METHOD QTextBrowser:historyUrl( nI ) - RETURN Qt_QTextBrowser_historyUrl( ::pPtr, nI ) + RETURN HB_QUrl():from( Qt_QTextBrowser_historyUrl( ::pPtr, nI ) ) METHOD QTextBrowser:isBackwardAvailable() @@ -133,7 +165,7 @@ METHOD QTextBrowser:isForwardAvailable() METHOD QTextBrowser:loadResource( nType, pName ) - RETURN Qt_QTextBrowser_loadResource( ::pPtr, nType, hbqt_ptr( pName ) ) + RETURN HB_QVariant():from( Qt_QTextBrowser_loadResource( ::pPtr, nType, hbqt_ptr( pName ) ) ) METHOD QTextBrowser:openExternalLinks() @@ -145,7 +177,7 @@ METHOD QTextBrowser:openLinks() METHOD QTextBrowser:searchPaths() - RETURN Qt_QTextBrowser_searchPaths( ::pPtr ) + RETURN HB_QStringList():from( Qt_QTextBrowser_searchPaths( ::pPtr ) ) METHOD QTextBrowser:setOpenExternalLinks( lOpen ) @@ -161,7 +193,7 @@ METHOD QTextBrowser:setSearchPaths( pPaths ) METHOD QTextBrowser:source() - RETURN Qt_QTextBrowser_source( ::pPtr ) + RETURN HB_QUrl():from( Qt_QTextBrowser_source( ::pPtr ) ) METHOD QTextBrowser:backward() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg index dc20caacc2..312d407328 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -136,11 +168,11 @@ METHOD QTextCharFormat:anchorHref() METHOD QTextCharFormat:anchorNames() - RETURN Qt_QTextCharFormat_anchorNames( ::pPtr ) + RETURN HB_QStringList():from( Qt_QTextCharFormat_anchorNames( ::pPtr ) ) METHOD QTextCharFormat:font() - RETURN Qt_QTextCharFormat_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QTextCharFormat_font( ::pPtr ) ) METHOD QTextCharFormat:fontCapitalization() @@ -300,7 +332,7 @@ METHOD QTextCharFormat:setVerticalAlignment( nAlignment ) METHOD QTextCharFormat:textOutline() - RETURN Qt_QTextCharFormat_textOutline( ::pPtr ) + RETURN HB_QPen():from( Qt_QTextCharFormat_textOutline( ::pPtr ) ) METHOD QTextCharFormat:toolTip() @@ -308,7 +340,7 @@ METHOD QTextCharFormat:toolTip() METHOD QTextCharFormat:underlineColor() - RETURN Qt_QTextCharFormat_underlineColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QTextCharFormat_underlineColor( ::pPtr ) ) METHOD QTextCharFormat:underlineStyle() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg b/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg index 27b13fe7a9..a66ed54436 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -159,15 +191,15 @@ METHOD QTextCursor:beginEditBlock() METHOD QTextCursor:block() - RETURN Qt_QTextCursor_block( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextCursor_block( ::pPtr ) ) METHOD QTextCursor:blockCharFormat() - RETURN Qt_QTextCursor_blockCharFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QTextCursor_blockCharFormat( ::pPtr ) ) METHOD QTextCursor:blockFormat() - RETURN Qt_QTextCursor_blockFormat( ::pPtr ) + RETURN HB_QTextBlockFormat():from( Qt_QTextCursor_blockFormat( ::pPtr ) ) METHOD QTextCursor:blockNumber() @@ -175,7 +207,7 @@ METHOD QTextCursor:blockNumber() METHOD QTextCursor:charFormat() - RETURN Qt_QTextCursor_charFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QTextCursor_charFormat( ::pPtr ) ) METHOD QTextCursor:clearSelection() @@ -187,35 +219,25 @@ METHOD QTextCursor:columnNumber() METHOD QTextCursor:createList( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QTextList * createList ( QTextListFormat::Style style ) - // N n QTextListFormat::Style - RETURN QTextList():from( Qt_QTextCursor_createList_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QTextList * createList ( const QTextListFormat & format ) - // PO p QTextListFormat - RETURN QTextList():from( Qt_QTextCursor_createList( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QTextList():from( Qt_QTextCursor_createList_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QTextList():from( Qt_QTextCursor_createList( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCursor:currentFrame() - RETURN Qt_QTextCursor_currentFrame( ::pPtr ) + RETURN HB_QTextFrame():from( Qt_QTextCursor_currentFrame( ::pPtr ) ) METHOD QTextCursor:currentList() - RETURN Qt_QTextCursor_currentList( ::pPtr ) + RETURN HB_QTextList():from( Qt_QTextCursor_currentList( ::pPtr ) ) METHOD QTextCursor:deleteChar() @@ -227,7 +249,7 @@ METHOD QTextCursor:deletePreviousChar() METHOD QTextCursor:document() - RETURN Qt_QTextCursor_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QTextCursor_document( ::pPtr ) ) METHOD QTextCursor:endEditBlock() @@ -243,33 +265,23 @@ METHOD QTextCursor:hasSelection() METHOD QTextCursor:insertBlock( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void insertBlock ( const QTextBlockFormat & format, const QTextCharFormat & charFormat ) - // PO p QTextBlockFormat, PO p QTextCharFormat + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QTextCursor_insertBlock_2( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void insertBlock ( const QTextBlockFormat & format ) - // PO p QTextBlockFormat + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextCursor_insertBlock_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void insertBlock () + EXIT + CASE 0 RETURN Qt_QTextCursor_insertBlock( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTextCursor:insertFragment( pFragment ) @@ -277,7 +289,7 @@ METHOD QTextCursor:insertFragment( pFragment ) METHOD QTextCursor:insertFrame( pFormat ) - RETURN Qt_QTextCursor_insertFrame( ::pPtr, hbqt_ptr( pFormat ) ) + RETURN HB_QTextFrame():from( Qt_QTextCursor_insertFrame( ::pPtr, hbqt_ptr( pFormat ) ) ) METHOD QTextCursor:insertHtml( cHtml ) @@ -285,92 +297,62 @@ METHOD QTextCursor:insertHtml( cHtml ) METHOD QTextCursor:insertImage( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // void insertImage ( const QImage & image, const QString & name = QString() ) - // PO p QImage, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QTextCursor_insertImage_3( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void insertImage ( const QTextImageFormat & format, QTextFrameFormat::Position alignment ) - // PO p QTextImageFormat, N n QTextFrameFormat::Position + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QTextCursor_insertImage_2( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void insertImage ( const QString & name ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QTextCursor_insertImage( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void insertImage ( const QTextImageFormat & format ) - // PO p QTextImageFormat - RETURN Qt_QTextCursor_insertImage_1( ::pPtr, ... ) - // void insertImage ( const QImage & image, const QString & name = QString() ) - // PO p QImage, C c QString - // RETURN Qt_QTextCursor_insertImage_3( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTEXTIMAGEFORMAT" + RETURN Qt_QTextCursor_insertImage_1( ::pPtr, ... ) + CASE "QIMAGE" + RETURN Qt_QTextCursor_insertImage_3( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCursor:insertList( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // QTextList * insertList ( QTextListFormat::Style style ) - // N n QTextListFormat::Style - RETURN QTextList():from( Qt_QTextCursor_insertList_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QTextList * insertList ( const QTextListFormat & format ) - // PO p QTextListFormat - RETURN QTextList():from( Qt_QTextCursor_insertList( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) + RETURN HB_QTextList():from( Qt_QTextCursor_insertList_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QTextList():from( Qt_QTextCursor_insertList( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCursor:insertText( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // void insertText ( const QString & text, const QTextCharFormat & format ) - // C c QString, PO p QTextCharFormat + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QTextCursor_insertText_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // void insertText ( const QString & text ) - // C c QString + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QTextCursor_insertText( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextCursor:isCopyOf( pOther ) @@ -422,7 +404,7 @@ METHOD QTextCursor:selectedText() METHOD QTextCursor:selection() - RETURN Qt_QTextCursor_selection( ::pPtr ) + RETURN HB_QTextDocumentFragment():from( Qt_QTextCursor_selection( ::pPtr ) ) METHOD QTextCursor:selectionEnd() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg b/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg index 9b4025aa29..b16955da18 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -155,7 +187,7 @@ METHOD QTextDocument:adjustSize() METHOD QTextDocument:begin() - RETURN Qt_QTextDocument_begin( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_begin( ::pPtr ) ) METHOD QTextDocument:blockCount() @@ -163,7 +195,7 @@ METHOD QTextDocument:blockCount() METHOD QTextDocument:characterAt( nPos ) - RETURN Qt_QTextDocument_characterAt( ::pPtr, nPos ) + RETURN HB_QChar():from( Qt_QTextDocument_characterAt( ::pPtr, nPos ) ) METHOD QTextDocument:characterCount() @@ -175,11 +207,11 @@ METHOD QTextDocument:clear() METHOD QTextDocument:clone( pParent ) - RETURN Qt_QTextDocument_clone( ::pPtr, hbqt_ptr( pParent ) ) + RETURN HB_QTextDocument():from( Qt_QTextDocument_clone( ::pPtr, hbqt_ptr( pParent ) ) ) METHOD QTextDocument:defaultFont() - RETURN Qt_QTextDocument_defaultFont( ::pPtr ) + RETURN HB_QFont():from( Qt_QTextDocument_defaultFont( ::pPtr ) ) METHOD QTextDocument:defaultStyleSheet() @@ -187,11 +219,11 @@ METHOD QTextDocument:defaultStyleSheet() METHOD QTextDocument:defaultTextOption() - RETURN Qt_QTextDocument_defaultTextOption( ::pPtr ) + RETURN HB_QTextOption():from( Qt_QTextDocument_defaultTextOption( ::pPtr ) ) METHOD QTextDocument:documentLayout() - RETURN Qt_QTextDocument_documentLayout( ::pPtr ) + RETURN HB_QAbstractTextDocumentLayout():from( Qt_QTextDocument_documentLayout( ::pPtr ) ) METHOD QTextDocument:documentMargin() @@ -203,77 +235,57 @@ METHOD QTextDocument:drawContents( pP, pRect ) METHOD QTextDocument:end() - RETURN Qt_QTextDocument_end( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_end( ::pPtr ) ) METHOD QTextDocument:find( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QTextCursor find ( const QString & subString, int position = 0, FindFlags options = 0 ) const - // C c QString, N n int, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find_2( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // QTextCursor find ( const QString & subString, const QTextCursor & cursor, FindFlags options = 0 ) const - // C c QString, PO p QTextCursor, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // QTextCursor find ( const QRegExp & expr, int position = 0, FindFlags options = 0 ) const - // PO p QRegExp, N n int, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find_3( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // QTextCursor find ( const QRegExp & expr, const QTextCursor & cursor, FindFlags options = 0 ) const - // PO p QRegExp, PO p QTextCursor, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find_2( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find_3( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // QTextCursor find ( const QString & subString, const QTextCursor & cursor, FindFlags options = 0 ) const - // C c QString, PO p QTextCursor, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // QTextCursor find ( const QRegExp & expr, const QTextCursor & cursor, FindFlags options = 0 ) const - // PO p QRegExp, PO p QTextCursor, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QTextCursor find ( const QString & subString, int position = 0, FindFlags options = 0 ) const - // C c QString, N n int, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find_2( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // QTextCursor find ( const QRegExp & expr, int position = 0, FindFlags options = 0 ) const - // PO p QRegExp, N n int, N n QTextDocument::FindFlags - RETURN QTextCursor():from( Qt_QTextDocument_find_3( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find_2( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QTextCursor():from( Qt_QTextDocument_find_3( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextDocument:findBlock( nPos ) - RETURN Qt_QTextDocument_findBlock( ::pPtr, nPos ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_findBlock( ::pPtr, nPos ) ) METHOD QTextDocument:findBlockByLineNumber( nLineNumber ) - RETURN Qt_QTextDocument_findBlockByLineNumber( ::pPtr, nLineNumber ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_findBlockByLineNumber( ::pPtr, nLineNumber ) ) METHOD QTextDocument:findBlockByNumber( nBlockNumber ) - RETURN Qt_QTextDocument_findBlockByNumber( ::pPtr, nBlockNumber ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_findBlockByNumber( ::pPtr, nBlockNumber ) ) METHOD QTextDocument:firstBlock() - RETURN Qt_QTextDocument_firstBlock( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_firstBlock( ::pPtr ) ) METHOD QTextDocument:idealWidth() @@ -305,7 +317,7 @@ METHOD QTextDocument:isUndoRedoEnabled() METHOD QTextDocument:lastBlock() - RETURN Qt_QTextDocument_lastBlock( ::pPtr ) + RETURN HB_QTextBlock():from( Qt_QTextDocument_lastBlock( ::pPtr ) ) METHOD QTextDocument:lineCount() @@ -325,11 +337,11 @@ METHOD QTextDocument:metaInformation( nInfo ) METHOD QTextDocument:object( nObjectIndex ) - RETURN Qt_QTextDocument_object( ::pPtr, nObjectIndex ) + RETURN HB_QTextObject():from( Qt_QTextDocument_object( ::pPtr, nObjectIndex ) ) METHOD QTextDocument:objectForFormat( pF ) - RETURN Qt_QTextDocument_objectForFormat( ::pPtr, hbqt_ptr( pF ) ) + RETURN HB_QTextObject():from( Qt_QTextDocument_objectForFormat( ::pPtr, hbqt_ptr( pF ) ) ) METHOD QTextDocument:pageCount() @@ -337,7 +349,7 @@ METHOD QTextDocument:pageCount() METHOD QTextDocument:pageSize() - RETURN Qt_QTextDocument_pageSize( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QTextDocument_pageSize( ::pPtr ) ) METHOD QTextDocument:print( pPrinter ) @@ -345,30 +357,21 @@ METHOD QTextDocument:print( pPrinter ) METHOD QTextDocument:redo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void redo ( QTextCursor * cursor ) - // PO p QTextCursor + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextDocument_redo( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void redo () + EXIT + CASE 0 RETURN Qt_QTextDocument_redo_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTextDocument:resource( nType, pName ) - RETURN Qt_QTextDocument_resource( ::pPtr, nType, hbqt_ptr( pName ) ) + RETURN HB_QVariant():from( Qt_QTextDocument_resource( ::pPtr, nType, hbqt_ptr( pName ) ) ) METHOD QTextDocument:revision() @@ -376,7 +379,7 @@ METHOD QTextDocument:revision() METHOD QTextDocument:rootFrame() - RETURN Qt_QTextDocument_rootFrame( ::pPtr ) + RETURN HB_QTextFrame():from( Qt_QTextDocument_rootFrame( ::pPtr ) ) METHOD QTextDocument:setDefaultFont( pFont ) @@ -436,7 +439,7 @@ METHOD QTextDocument:setUseDesignMetrics( lB ) METHOD QTextDocument:size() - RETURN Qt_QTextDocument_size( ::pPtr ) + RETURN HB_QSizeF():from( Qt_QTextDocument_size( ::pPtr ) ) METHOD QTextDocument:textWidth() @@ -452,26 +455,17 @@ METHOD QTextDocument:toPlainText() METHOD QTextDocument:undo( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void undo ( QTextCursor * cursor ) - // PO p QTextCursor + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextDocument_undo( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void undo () + EXIT + CASE 0 RETURN Qt_QTextDocument_undo_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTextDocument:useDesignMetrics() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg b/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg index 8271eef582..57ff3a5a65 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -94,26 +126,17 @@ METHOD QTextDocumentFragment:isEmpty() METHOD QTextDocumentFragment:toHtml( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QString toHtml ( const QByteArray & encoding ) const - // PO p QByteArray + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextDocumentFragment_toHtml( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // QString toHtml () const + EXIT + CASE 0 RETURN Qt_QTextDocumentFragment_toHtml_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QTextDocumentFragment:toPlainText() @@ -121,32 +144,23 @@ METHOD QTextDocumentFragment:toPlainText() METHOD QTextDocumentFragment:fromHtml( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // QTextDocumentFragment fromHtml ( const QString & text, const QTextDocument * resourceProvider ) - // C c QString, PO p QTextDocument - RETURN QTextDocumentFragment():from( Qt_QTextDocumentFragment_fromHtml_1( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + RETURN HB_QTextDocumentFragment():from( Qt_QTextDocumentFragment_fromHtml_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QTextDocumentFragment fromHtml ( const QString & text ) - // C c QString - RETURN QTextDocumentFragment():from( Qt_QTextDocumentFragment_fromHtml( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QTextDocumentFragment():from( Qt_QTextDocumentFragment_fromHtml( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextDocumentFragment:fromPlainText( cPlainText ) - RETURN Qt_QTextDocumentFragment_fromPlainText( ::pPtr, cPlainText ) + RETURN HB_QTextDocumentFragment():from( Qt_QTextDocumentFragment_fromPlainText( ::pPtr, cPlainText ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg b/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg index ad897a6fc3..c26303997d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -94,11 +126,11 @@ METHOD QTextDocumentWriter:new( ... ) METHOD QTextDocumentWriter:codec() - RETURN Qt_QTextDocumentWriter_codec( ::pPtr ) + RETURN HB_QTextCodec():from( Qt_QTextDocumentWriter_codec( ::pPtr ) ) METHOD QTextDocumentWriter:device() - RETURN Qt_QTextDocumentWriter_device( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QTextDocumentWriter_device( ::pPtr ) ) METHOD QTextDocumentWriter:fileName() @@ -106,7 +138,7 @@ METHOD QTextDocumentWriter:fileName() METHOD QTextDocumentWriter:format() - RETURN Qt_QTextDocumentWriter_format( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QTextDocumentWriter_format( ::pPtr ) ) METHOD QTextDocumentWriter:setCodec( pCodec ) @@ -126,24 +158,18 @@ METHOD QTextDocumentWriter:setFormat( pFormat ) METHOD QTextDocumentWriter:write( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // bool write ( const QTextDocument * document ) - // PO p QTextDocument - RETURN Qt_QTextDocumentWriter_write( ::pPtr, ... ) - // bool write ( const QTextDocumentFragment & fragment ) - // PO p QTextDocumentFragment - // RETURN Qt_QTextDocumentWriter_write_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QTEXTDOCUMENT" + RETURN Qt_QTextDocumentWriter_write( ::pPtr, ... ) + CASE "QTEXTDOCUMENTFRAGMENT" + RETURN Qt_QTextDocumentWriter_write_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg index 6c51edcd28..f81d3f6e04 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -184,61 +216,43 @@ METHOD QTextEdit:canPaste() METHOD QTextEdit:createStandardContextMenu( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QMenu * createStandardContextMenu ( const QPoint & position ) - // PO p QPoint - RETURN QMenu():from( Qt_QTextEdit_createStandardContextMenu_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QMenu():from( Qt_QTextEdit_createStandardContextMenu_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QMenu * createStandardContextMenu () - RETURN QMenu():from( Qt_QTextEdit_createStandardContextMenu( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QMenu():from( Qt_QTextEdit_createStandardContextMenu( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QTextEdit:currentCharFormat() - RETURN Qt_QTextEdit_currentCharFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QTextEdit_currentCharFormat( ::pPtr ) ) METHOD QTextEdit:currentFont() - RETURN Qt_QTextEdit_currentFont( ::pPtr ) + RETURN HB_QFont():from( Qt_QTextEdit_currentFont( ::pPtr ) ) METHOD QTextEdit:cursorForPosition( pPos ) - RETURN Qt_QTextEdit_cursorForPosition( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QTextCursor():from( Qt_QTextEdit_cursorForPosition( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QTextEdit:cursorRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRect cursorRect ( const QTextCursor & cursor ) const - // PO p QTextCursor - RETURN QRect():from( Qt_QTextEdit_cursorRect( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QRect():from( Qt_QTextEdit_cursorRect( ::pPtr, ... ) ) ENDCASE - CASE nP == 0 - // QRect cursorRect () const - RETURN QRect():from( Qt_QTextEdit_cursorRect_1( ::pPtr, ... ) ) - ENDCASE - RETURN NIL + EXIT + CASE 0 + RETURN HB_QRect():from( Qt_QTextEdit_cursorRect_1( ::pPtr, ... ) ) + ENDSWITCH + RETURN hbqt_error() METHOD QTextEdit:cursorWidth() @@ -246,7 +260,7 @@ METHOD QTextEdit:cursorWidth() METHOD QTextEdit:document() - RETURN Qt_QTextEdit_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QTextEdit_document( ::pPtr ) ) METHOD QTextEdit:documentTitle() @@ -298,7 +312,7 @@ METHOD QTextEdit:lineWrapMode() METHOD QTextEdit:loadResource( nType, pName ) - RETURN Qt_QTextEdit_loadResource( ::pPtr, nType, hbqt_ptr( pName ) ) + RETURN HB_QVariant():from( Qt_QTextEdit_loadResource( ::pPtr, nType, hbqt_ptr( pName ) ) ) METHOD QTextEdit:mergeCurrentCharFormat( pModifier ) @@ -390,15 +404,15 @@ METHOD QTextEdit:tabStopWidth() METHOD QTextEdit:textBackgroundColor() - RETURN Qt_QTextEdit_textBackgroundColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QTextEdit_textBackgroundColor( ::pPtr ) ) METHOD QTextEdit:textColor() - RETURN Qt_QTextEdit_textColor( ::pPtr ) + RETURN HB_QColor():from( Qt_QTextEdit_textColor( ::pPtr ) ) METHOD QTextEdit:textCursor() - RETURN Qt_QTextEdit_textCursor( ::pPtr ) + RETURN HB_QTextCursor():from( Qt_QTextEdit_textCursor( ::pPtr ) ) METHOD QTextEdit:textInteractionFlags() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg index 84eefc04cd..9ef521ce9a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -126,7 +158,7 @@ METHOD QTextFormat:new( ... ) METHOD QTextFormat:background() - RETURN Qt_QTextFormat_background( ::pPtr ) + RETURN HB_QBrush():from( Qt_QTextFormat_background( ::pPtr ) ) METHOD QTextFormat:boolProperty( nPropertyId ) @@ -134,7 +166,7 @@ METHOD QTextFormat:boolProperty( nPropertyId ) METHOD QTextFormat:brushProperty( nPropertyId ) - RETURN Qt_QTextFormat_brushProperty( ::pPtr, nPropertyId ) + RETURN HB_QBrush():from( Qt_QTextFormat_brushProperty( ::pPtr, nPropertyId ) ) METHOD QTextFormat:clearBackground() @@ -150,7 +182,7 @@ METHOD QTextFormat:clearProperty( nPropertyId ) METHOD QTextFormat:colorProperty( nPropertyId ) - RETURN Qt_QTextFormat_colorProperty( ::pPtr, nPropertyId ) + RETURN HB_QColor():from( Qt_QTextFormat_colorProperty( ::pPtr, nPropertyId ) ) METHOD QTextFormat:doubleProperty( nPropertyId ) @@ -158,7 +190,7 @@ METHOD QTextFormat:doubleProperty( nPropertyId ) METHOD QTextFormat:foreground() - RETURN Qt_QTextFormat_foreground( ::pPtr ) + RETURN HB_QBrush():from( Qt_QTextFormat_foreground( ::pPtr ) ) METHOD QTextFormat:hasProperty( nPropertyId ) @@ -206,7 +238,7 @@ METHOD QTextFormat:layoutDirection() METHOD QTextFormat:lengthProperty( nPropertyId ) - RETURN Qt_QTextFormat_lengthProperty( ::pPtr, nPropertyId ) + RETURN HB_QTextLength():from( Qt_QTextFormat_lengthProperty( ::pPtr, nPropertyId ) ) METHOD QTextFormat:merge( pOther ) @@ -222,11 +254,11 @@ METHOD QTextFormat:objectType() METHOD QTextFormat:penProperty( nPropertyId ) - RETURN Qt_QTextFormat_penProperty( ::pPtr, nPropertyId ) + RETURN HB_QPen():from( Qt_QTextFormat_penProperty( ::pPtr, nPropertyId ) ) METHOD QTextFormat:property( nPropertyId ) - RETURN Qt_QTextFormat_property( ::pPtr, nPropertyId ) + RETURN HB_QVariant():from( Qt_QTextFormat_property( ::pPtr, nPropertyId ) ) METHOD QTextFormat:propertyCount() @@ -262,27 +294,27 @@ METHOD QTextFormat:stringProperty( nPropertyId ) METHOD QTextFormat:toBlockFormat() - RETURN Qt_QTextFormat_toBlockFormat( ::pPtr ) + RETURN HB_QTextBlockFormat():from( Qt_QTextFormat_toBlockFormat( ::pPtr ) ) METHOD QTextFormat:toCharFormat() - RETURN Qt_QTextFormat_toCharFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QTextFormat_toCharFormat( ::pPtr ) ) METHOD QTextFormat:toFrameFormat() - RETURN Qt_QTextFormat_toFrameFormat( ::pPtr ) + RETURN HB_QTextFrameFormat():from( Qt_QTextFormat_toFrameFormat( ::pPtr ) ) METHOD QTextFormat:toImageFormat() - RETURN Qt_QTextFormat_toImageFormat( ::pPtr ) + RETURN HB_QTextImageFormat():from( Qt_QTextFormat_toImageFormat( ::pPtr ) ) METHOD QTextFormat:toListFormat() - RETURN Qt_QTextFormat_toListFormat( ::pPtr ) + RETURN HB_QTextListFormat():from( Qt_QTextFormat_toListFormat( ::pPtr ) ) METHOD QTextFormat:toTableFormat() - RETURN Qt_QTextFormat_toTableFormat( ::pPtr ) + RETURN HB_QTextTableFormat():from( Qt_QTextFormat_toTableFormat( ::pPtr ) ) METHOD QTextFormat:type() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg index c8a46cd026..2ad845f903 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -92,7 +124,7 @@ METHOD QTextFragment:new( ... ) METHOD QTextFragment:charFormat() - RETURN Qt_QTextFragment_charFormat( ::pPtr ) + RETURN HB_QTextCharFormat():from( Qt_QTextFragment_charFormat( ::pPtr ) ) METHOD QTextFragment:charFormatIndex() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg index fcd30ccdb6..aa87df4e4e 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,11 +125,11 @@ METHOD QTextFrame:new( ... ) METHOD QTextFrame:childFrames() - RETURN Qt_QTextFrame_childFrames( ::pPtr ) + RETURN HB_QList():from( Qt_QTextFrame_childFrames( ::pPtr ) ) METHOD QTextFrame:firstCursorPosition() - RETURN Qt_QTextFrame_firstCursorPosition( ::pPtr ) + RETURN HB_QTextCursor():from( Qt_QTextFrame_firstCursorPosition( ::pPtr ) ) METHOD QTextFrame:firstPosition() @@ -105,11 +137,11 @@ METHOD QTextFrame:firstPosition() METHOD QTextFrame:frameFormat() - RETURN Qt_QTextFrame_frameFormat( ::pPtr ) + RETURN HB_QTextFrameFormat():from( Qt_QTextFrame_frameFormat( ::pPtr ) ) METHOD QTextFrame:lastCursorPosition() - RETURN Qt_QTextFrame_lastCursorPosition( ::pPtr ) + RETURN HB_QTextCursor():from( Qt_QTextFrame_lastCursorPosition( ::pPtr ) ) METHOD QTextFrame:lastPosition() @@ -117,7 +149,7 @@ METHOD QTextFrame:lastPosition() METHOD QTextFrame:parentFrame() - RETURN Qt_QTextFrame_parentFrame( ::pPtr ) + RETURN HB_QTextFrame():from( Qt_QTextFrame_parentFrame( ::pPtr ) ) METHOD QTextFrame:setFrameFormat( pFormat ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg index c33bd81fa0..df004ac629 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,7 +148,7 @@ METHOD QTextFrameFormat:border() METHOD QTextFrameFormat:borderBrush() - RETURN Qt_QTextFrameFormat_borderBrush( ::pPtr ) + RETURN HB_QBrush():from( Qt_QTextFrameFormat_borderBrush( ::pPtr ) ) METHOD QTextFrameFormat:borderStyle() @@ -128,7 +160,7 @@ METHOD QTextFrameFormat:bottomMargin() METHOD QTextFrameFormat:height() - RETURN Qt_QTextFrameFormat_height( ::pPtr ) + RETURN HB_QTextLength():from( Qt_QTextFrameFormat_height( ::pPtr ) ) METHOD QTextFrameFormat:isValid() @@ -176,27 +208,17 @@ METHOD QTextFrameFormat:setBottomMargin( nMargin ) METHOD QTextFrameFormat:setHeight( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setHeight ( qreal height ) - // N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QTextFrameFormat_setHeight_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setHeight ( const QTextLength & height ) - // PO p QTextLength + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextFrameFormat_setHeight( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextFrameFormat:setLeftMargin( nMargin ) @@ -228,27 +250,17 @@ METHOD QTextFrameFormat:setTopMargin( nMargin ) METHOD QTextFrameFormat:setWidth( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setWidth ( qreal width ) - // N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QTextFrameFormat_setWidth_1( ::pPtr, ... ) - CASE aV[ 1 ] $ "PO" - // void setWidth ( const QTextLength & width ) - // PO p QTextLength + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTextFrameFormat_setWidth( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextFrameFormat:topMargin() @@ -256,5 +268,5 @@ METHOD QTextFrameFormat:topMargin() METHOD QTextFrameFormat:width() - RETURN Qt_QTextFrameFormat_width( ::pPtr ) + RETURN HB_QTextLength():from( Qt_QTextFrameFormat_width( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg index cc163e1f6d..94520a86c4 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg b/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg index e20edd683f..aaeef49e84 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -106,7 +138,7 @@ METHOD QTextInlineObject:descent() METHOD QTextInlineObject:format() - RETURN Qt_QTextInlineObject_format( ::pPtr ) + RETURN HB_QTextFormat():from( Qt_QTextInlineObject_format( ::pPtr ) ) METHOD QTextInlineObject:formatIndex() @@ -122,7 +154,7 @@ METHOD QTextInlineObject:isValid() METHOD QTextInlineObject:rect() - RETURN Qt_QTextInlineObject_rect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QTextInlineObject_rect( ::pPtr ) ) METHOD QTextInlineObject:setAscent( nA ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg b/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg index 1c95df42da..624ba861f1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -99,7 +131,7 @@ METHOD QTextItem:descent() METHOD QTextItem:font() - RETURN Qt_QTextItem_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QTextItem_font( ::pPtr ) ) METHOD QTextItem:renderFlags() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg index 37894f8919..ae6f462a66 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -117,7 +149,7 @@ METHOD QTextLayout:beginLayout() METHOD QTextLayout:boundingRect() - RETURN Qt_QTextLayout_boundingRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QTextLayout_boundingRect( ::pPtr ) ) METHOD QTextLayout:cacheEnabled() @@ -133,34 +165,25 @@ METHOD QTextLayout:clearLayout() METHOD QTextLayout:createLine() - RETURN Qt_QTextLayout_createLine( ::pPtr ) + RETURN HB_QTextLine():from( Qt_QTextLayout_createLine( ::pPtr ) ) METHOD QTextLayout:drawCursor( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition, int width ) const - // PO p QPainter, PO p QPointF, N n int, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QTextLayout_drawCursor( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition ) const - // PO p QPainter, PO p QPointF, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QTextLayout_drawCursor_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextLayout:endLayout() @@ -168,7 +191,7 @@ METHOD QTextLayout:endLayout() METHOD QTextLayout:font() - RETURN Qt_QTextLayout_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QTextLayout_font( ::pPtr ) ) METHOD QTextLayout:isValidCursorPosition( nPos ) @@ -176,7 +199,7 @@ METHOD QTextLayout:isValidCursorPosition( nPos ) METHOD QTextLayout:lineAt( nI ) - RETURN Qt_QTextLayout_lineAt( ::pPtr, nI ) + RETURN HB_QTextLine():from( Qt_QTextLayout_lineAt( ::pPtr, nI ) ) METHOD QTextLayout:lineCount() @@ -184,7 +207,7 @@ METHOD QTextLayout:lineCount() METHOD QTextLayout:lineForTextPosition( nPos ) - RETURN Qt_QTextLayout_lineForTextPosition( ::pPtr, nPos ) + RETURN HB_QTextLine():from( Qt_QTextLayout_lineForTextPosition( ::pPtr, nPos ) ) METHOD QTextLayout:maximumWidth() @@ -200,7 +223,7 @@ METHOD QTextLayout:nextCursorPosition( nOldPos, nMode ) METHOD QTextLayout:position() - RETURN Qt_QTextLayout_position( ::pPtr ) + RETURN HB_QPointF():from( Qt_QTextLayout_position( ::pPtr ) ) METHOD QTextLayout:preeditAreaPosition() @@ -244,5 +267,5 @@ METHOD QTextLayout:text() METHOD QTextLayout:textOption() - RETURN Qt_QTextLayout_textOption( ::pPtr ) + RETURN HB_QTextOption():from( Qt_QTextLayout_textOption( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg b/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg index a2ac711b5f..5065195faf 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg b/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg index d7f82fef8b..1ef1740ce1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -108,36 +140,27 @@ METHOD QTextLine:ascent() METHOD QTextLine:cursorToX( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // qreal cursorToX ( int * cursorPos, Edge edge = Leading ) const - // N @ int, N n QTextLine::Edge + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 2 ) ) + CASE "QTEXTLINE::EDGE" + RETURN Qt_QTextLine_cursorToX( ::pPtr, ... ) + CASE "QTEXTLINE::EDGE" + RETURN Qt_QTextLine_cursorToX_1( ::pPtr, ... ) + ENDSWITCH + ENDCASE + EXIT + CASE 1 + DO CASE + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QTextLine_cursorToX( ::pPtr, ... ) - // qreal cursorToX ( int cursorPos, Edge edge = Leading ) const - // N n int, N n QTextLine::Edge // RETURN Qt_QTextLine_cursorToX_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 - DO CASE - CASE aV[ 1 ] $ "N" - // qreal cursorToX ( int * cursorPos, Edge edge = Leading ) const - // N @ int, N n QTextLine::Edge - RETURN Qt_QTextLine_cursorToX( ::pPtr, ... ) - // qreal cursorToX ( int cursorPos, Edge edge = Leading ) const - // N n int, N n QTextLine::Edge - // RETURN Qt_QTextLine_cursorToX_1( ::pPtr, ... ) - ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextLine:descent() @@ -157,7 +180,7 @@ METHOD QTextLine:lineNumber() METHOD QTextLine:naturalTextRect() - RETURN Qt_QTextLine_naturalTextRect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QTextLine_naturalTextRect( ::pPtr ) ) METHOD QTextLine:naturalTextWidth() @@ -165,11 +188,11 @@ METHOD QTextLine:naturalTextWidth() METHOD QTextLine:position() - RETURN Qt_QTextLine_position( ::pPtr ) + RETURN HB_QPointF():from( Qt_QTextLine_position( ::pPtr ) ) METHOD QTextLine:rect() - RETURN Qt_QTextLine_rect( ::pPtr ) + RETURN HB_QRectF():from( Qt_QTextLine_rect( ::pPtr ) ) METHOD QTextLine:setLineWidth( nWidth ) @@ -177,30 +200,21 @@ METHOD QTextLine:setLineWidth( nWidth ) METHOD QTextLine:setNumColumns( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setNumColumns ( int numColumns, qreal alignmentWidth ) - // N n int, N n qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QTextLine_setNumColumns_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setNumColumns ( int numColumns ) - // N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QTextLine_setNumColumns( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTextLine:setPosition( pPos ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextList.prg b/harbour/contrib/hbqt/qtgui/g/TQTextList.prg index bad4a61d8e..b0f3aface3 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextList.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextList.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,11 +134,11 @@ METHOD QTextList:count() METHOD QTextList:format() - RETURN Qt_QTextList_format( ::pPtr ) + RETURN HB_QTextListFormat():from( Qt_QTextList_format( ::pPtr ) ) METHOD QTextList:item( nI ) - RETURN Qt_QTextList_item( ::pPtr, nI ) + RETURN HB_QTextBlock():from( Qt_QTextList_item( ::pPtr, nI ) ) METHOD QTextList:itemNumber( pBlock ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg index ff896c5169..902e109e45 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg b/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg index 3328e4e78b..facfb543c5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,11 +121,11 @@ METHOD QTextObject:new( ... ) METHOD QTextObject:document() - RETURN Qt_QTextObject_document( ::pPtr ) + RETURN HB_QTextDocument():from( Qt_QTextObject_document( ::pPtr ) ) METHOD QTextObject:format() - RETURN Qt_QTextObject_format( ::pPtr ) + RETURN HB_QTextFormat():from( Qt_QTextObject_format( ::pPtr ) ) METHOD QTextObject:formatIndex() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg b/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg index 86cf1bbff2..cd6b8ae0d5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -130,7 +162,7 @@ METHOD QTextOption:setWrapMode( nMode ) METHOD QTextOption:tabArray() - RETURN Qt_QTextOption_tabArray( ::pPtr ) + RETURN HB_QList():from( Qt_QTextOption_tabArray( ::pPtr ) ) METHOD QTextOption:tabStop() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg index 95f0d4dcc2..139e126c73 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg index 7a63a541ee..f85e69e18b 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg b/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg index 3da2aad0ac..1c17fdb3b1 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -108,83 +140,61 @@ METHOD QToolBar:new( ... ) METHOD QToolBar:actionAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QAction * actionAt ( int x, int y ) const - // N n int, N n int - RETURN QAction():from( Qt_QToolBar_actionAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QAction():from( Qt_QToolBar_actionAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QAction * actionAt ( const QPoint & p ) const - // PO p QPoint - RETURN QAction():from( Qt_QToolBar_actionAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QToolBar_actionAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QToolBar:addAction( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "PO" .AND. aV[ 4 ] $ "PO" - // QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member ) [*D=3*] - // PCO p QIcon, C c QString, PO p QObject, PO p char - RETURN QAction():from( Qt_QToolBar_addAction_4( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) + RETURN HB_QAction():from( Qt_QToolBar_addAction_4( ::pPtr, ... ) ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) - // C c QString, PO p QObject, PO p char - RETURN QAction():from( Qt_QToolBar_addAction_3( ::pPtr, ... ) ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + RETURN HB_QAction():from( Qt_QToolBar_addAction_3( ::pPtr, ... ) ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PCO" .AND. aV[ 2 ] $ "C" - // QAction * addAction ( const QIcon & icon, const QString & text ) - // PCO p QIcon, C c QString - RETURN QAction():from( Qt_QToolBar_addAction_2( ::pPtr, ... ) ) + CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + RETURN HB_QAction():from( Qt_QToolBar_addAction_2( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // QAction * addAction ( const QString & text ) - // C c QString - RETURN QAction():from( Qt_QToolBar_addAction_1( ::pPtr, ... ) ) - CASE aV[ 1 ] $ "PO" - // void addAction ( QAction * action ) [*D=1*] - // PO p QAction + CASE hb_isChar( hb_pvalue( 1 ) ) + RETURN HB_QAction():from( Qt_QToolBar_addAction_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QToolBar_addAction( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QToolBar:addSeparator() - RETURN Qt_QToolBar_addSeparator( ::pPtr ) + RETURN HB_QAction():from( Qt_QToolBar_addSeparator( ::pPtr ) ) METHOD QToolBar:addWidget( pWidget ) - RETURN Qt_QToolBar_addWidget( ::pPtr, hbqt_ptr( pWidget ) ) + RETURN HB_QAction():from( Qt_QToolBar_addWidget( ::pPtr, hbqt_ptr( pWidget ) ) ) METHOD QToolBar:allowedAreas() @@ -196,15 +206,15 @@ METHOD QToolBar:clear() METHOD QToolBar:iconSize() - RETURN Qt_QToolBar_iconSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QToolBar_iconSize( ::pPtr ) ) METHOD QToolBar:insertSeparator( pBefore ) - RETURN Qt_QToolBar_insertSeparator( ::pPtr, hbqt_ptr( pBefore ) ) + RETURN HB_QAction():from( Qt_QToolBar_insertSeparator( ::pPtr, hbqt_ptr( pBefore ) ) ) METHOD QToolBar:insertWidget( pBefore, pWidget ) - RETURN Qt_QToolBar_insertWidget( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pWidget ) ) + RETURN HB_QAction():from( Qt_QToolBar_insertWidget( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pWidget ) ) ) METHOD QToolBar:isAreaAllowed( nArea ) @@ -244,7 +254,7 @@ METHOD QToolBar:setOrientation( nOrientation ) METHOD QToolBar:toggleViewAction() - RETURN Qt_QToolBar_toggleViewAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QToolBar_toggleViewAction( ::pPtr ) ) METHOD QToolBar:toolButtonStyle() @@ -252,7 +262,7 @@ METHOD QToolBar:toolButtonStyle() METHOD QToolBar:widgetForAction( pAction ) - RETURN Qt_QToolBar_widgetForAction( ::pPtr, hbqt_ptr( pAction ) ) + RETURN HB_QWidget():from( Qt_QToolBar_widgetForAction( ::pPtr, hbqt_ptr( pAction ) ) ) METHOD QToolBar:setIconSize( pIconSize ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg b/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg index 1023a8a32d..1561ec9eeb 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,30 +135,21 @@ METHOD QToolBox:new( ... ) METHOD QToolBox:addItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PCO" .AND. aV[ 3 ] $ "C" - // int addItem ( QWidget * widget, const QIcon & iconSet, const QString & text ) - // PO p QWidget, PCO p QIcon, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QToolBox_addItem( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // int addItem ( QWidget * w, const QString & text ) - // PO p QWidget, C c QString + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) RETURN Qt_QToolBox_addItem_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QToolBox:count() @@ -138,7 +161,7 @@ METHOD QToolBox:currentIndex() METHOD QToolBox:currentWidget() - RETURN Qt_QToolBox_currentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QToolBox_currentWidget( ::pPtr ) ) METHOD QToolBox:indexOf( pWidget ) @@ -146,30 +169,21 @@ METHOD QToolBox:indexOf( pWidget ) METHOD QToolBox:insertItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PCO" .AND. aV[ 4 ] $ "C" - // int insertItem ( int index, QWidget * widget, const QIcon & icon, const QString & text ) - // N n int, PO p QWidget, PCO p QIcon, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. ( hb_isObject( hb_pvalue( 3 ) ) .OR. hb_isChar( hb_pvalue( 3 ) ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) RETURN Qt_QToolBox_insertItem( ::pPtr, ... ) ENDCASE - CASE nP == 3 + EXIT + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "C" - // int insertItem ( int index, QWidget * widget, const QString & text ) - // N n int, PO p QWidget, C c QString + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) RETURN Qt_QToolBox_insertItem_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QToolBox:isItemEnabled( nIndex ) @@ -177,7 +191,7 @@ METHOD QToolBox:isItemEnabled( nIndex ) METHOD QToolBox:itemIcon( nIndex ) - RETURN Qt_QToolBox_itemIcon( ::pPtr, nIndex ) + RETURN HB_QIcon():from( Qt_QToolBox_itemIcon( ::pPtr, nIndex ) ) METHOD QToolBox:itemText( nIndex ) @@ -209,7 +223,7 @@ METHOD QToolBox:setItemToolTip( nIndex, cToolTip ) METHOD QToolBox:widget( nIndex ) - RETURN Qt_QToolBox_widget( ::pPtr, nIndex ) + RETURN HB_QWidget():from( Qt_QToolBox_widget( ::pPtr, nIndex ) ) METHOD QToolBox:setCurrentIndex( nIndex ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg b/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg index fc84bfddab..a6d028f84a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -106,11 +138,11 @@ METHOD QToolButton:autoRaise() METHOD QToolButton:defaultAction() - RETURN Qt_QToolButton_defaultAction( ::pPtr ) + RETURN HB_QAction():from( Qt_QToolButton_defaultAction( ::pPtr ) ) METHOD QToolButton:menu() - RETURN Qt_QToolButton_menu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QToolButton_menu( ::pPtr ) ) METHOD QToolButton:popupMode() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTransform.prg b/harbour/contrib/hbqt/qtgui/g/TQTransform.prg index 8ae46b031a..431c3c46b0 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTransform.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTransform.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -160,7 +192,7 @@ METHOD QTransform:m33() METHOD QTransform:adjoint() - RETURN Qt_QTransform_adjoint( ::pPtr ) + RETURN HB_QTransform():from( Qt_QTransform_adjoint( ::pPtr ) ) METHOD QTransform:det() @@ -180,7 +212,7 @@ METHOD QTransform:dy() METHOD QTransform:inverted( lInvertible ) - RETURN Qt_QTransform_inverted( ::pPtr, lInvertible ) + RETURN HB_QTransform():from( Qt_QTransform_inverted( ::pPtr, lInvertible ) ) METHOD QTransform:isAffine() @@ -208,81 +240,60 @@ METHOD QTransform:isTranslating() METHOD QTransform:map( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void map ( qreal x, qreal y, qreal * tx, qreal * ty ) const - // N n qreal, N n qreal, N @ qreal, N @ qreal + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QTransform_map( ::pPtr, ... ) - // void map ( int x, int y, int * tx, int * ty ) const - // N n int, N n int, N @ int, N @ int // RETURN Qt_QTransform_map_9( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QPointF map ( const QPointF & p ) const - // PO p QPointF - RETURN QPointF():from( Qt_QTransform_map_1( ::pPtr, ... ) ) - // QRegion map ( const QRegion & region ) const - // PO p QRegion - // RETURN QRegion():from( Qt_QTransform_map_7( ::pPtr, ... ) ) - // QPoint map ( const QPoint & point ) const - // PO p QPoint - // RETURN QPoint():from( Qt_QTransform_map_2( ::pPtr, ... ) ) - // QLine map ( const QLine & l ) const - // PO p QLine - // RETURN QLine():from( Qt_QTransform_map_3( ::pPtr, ... ) ) - // QPolygonF map ( const QPolygonF & polygon ) const - // PO p QPolygonF - // RETURN QPolygonF():from( Qt_QTransform_map_5( ::pPtr, ... ) ) - // QPainterPath map ( const QPainterPath & path ) const - // PO p QPainterPath - // RETURN QPainterPath():from( Qt_QTransform_map_8( ::pPtr, ... ) ) - // QPolygon map ( const QPolygon & polygon ) const - // PO p QPolygon - // RETURN QPolygon():from( Qt_QTransform_map_6( ::pPtr, ... ) ) - // QLineF map ( const QLineF & line ) const - // PO p QLineF - // RETURN QLineF():from( Qt_QTransform_map_4( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QPOINTF" + RETURN HB_QPointF():from( Qt_QTransform_map_1( ::pPtr, ... ) ) + CASE "QREGION" + RETURN HB_QRegion():from( Qt_QTransform_map_7( ::pPtr, ... ) ) + CASE "QPOINT" + RETURN HB_QPoint():from( Qt_QTransform_map_2( ::pPtr, ... ) ) + CASE "QLINE" + RETURN HB_QLine():from( Qt_QTransform_map_3( ::pPtr, ... ) ) + CASE "QPOLYGONF" + RETURN HB_QPolygonF():from( Qt_QTransform_map_5( ::pPtr, ... ) ) + CASE "QPAINTERPATH" + RETURN HB_QPainterPath():from( Qt_QTransform_map_8( ::pPtr, ... ) ) + CASE "QPOLYGON" + RETURN HB_QPolygon():from( Qt_QTransform_map_6( ::pPtr, ... ) ) + CASE "QLINEF" + RETURN HB_QLineF():from( Qt_QTransform_map_4( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTransform:mapRect( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QRectF mapRect ( const QRectF & rectangle ) const - // PO p QRectF - RETURN QRectF():from( Qt_QTransform_mapRect( ::pPtr, ... ) ) - // QRect mapRect ( const QRect & rectangle ) const - // PO p QRect - // RETURN QRect():from( Qt_QTransform_mapRect_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECTF" + RETURN HB_QRectF():from( Qt_QTransform_mapRect( ::pPtr, ... ) ) + CASE "QRECT" + RETURN HB_QRect():from( Qt_QTransform_mapRect_1( ::pPtr, ... ) ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTransform:mapToPolygon( pRectangle ) - RETURN Qt_QTransform_mapToPolygon( ::pPtr, hbqt_ptr( pRectangle ) ) + RETURN HB_QPolygon():from( Qt_QTransform_mapToPolygon( ::pPtr, hbqt_ptr( pRectangle ) ) ) METHOD QTransform:reset() @@ -290,15 +301,15 @@ METHOD QTransform:reset() METHOD QTransform:rotate( nAngle, nAxis ) - RETURN Qt_QTransform_rotate( ::pPtr, nAngle, nAxis ) + RETURN HB_QTransform():from( Qt_QTransform_rotate( ::pPtr, nAngle, nAxis ) ) METHOD QTransform:rotateRadians( nAngle, nAxis ) - RETURN Qt_QTransform_rotateRadians( ::pPtr, nAngle, nAxis ) + RETURN HB_QTransform():from( Qt_QTransform_rotateRadians( ::pPtr, nAngle, nAxis ) ) METHOD QTransform:scale( nSx, nSy ) - RETURN Qt_QTransform_scale( ::pPtr, nSx, nSy ) + RETURN HB_QTransform():from( Qt_QTransform_scale( ::pPtr, nSx, nSy ) ) METHOD QTransform:setMatrix( nM11, nM12, nM13, nM21, nM22, nM23, nM31, nM32, nM33 ) @@ -306,19 +317,19 @@ METHOD QTransform:setMatrix( nM11, nM12, nM13, nM21, nM22, nM23, nM31, nM32, nM3 METHOD QTransform:shear( nSh, nSv ) - RETURN Qt_QTransform_shear( ::pPtr, nSh, nSv ) + RETURN HB_QTransform():from( Qt_QTransform_shear( ::pPtr, nSh, nSv ) ) METHOD QTransform:toAffine() - RETURN Qt_QTransform_toAffine( ::pPtr ) + RETURN HB_QMatrix():from( Qt_QTransform_toAffine( ::pPtr ) ) METHOD QTransform:translate( nDx, nDy ) - RETURN Qt_QTransform_translate( ::pPtr, nDx, nDy ) + RETURN HB_QTransform():from( Qt_QTransform_translate( ::pPtr, nDx, nDy ) ) METHOD QTransform:transposed() - RETURN Qt_QTransform_transposed( ::pPtr ) + RETURN HB_QTransform():from( Qt_QTransform_transposed( ::pPtr ) ) METHOD QTransform:type() @@ -326,11 +337,11 @@ METHOD QTransform:type() METHOD QTransform:fromScale( nSx, nSy ) - RETURN Qt_QTransform_fromScale( ::pPtr, nSx, nSy ) + RETURN HB_QTransform():from( Qt_QTransform_fromScale( ::pPtr, nSx, nSy ) ) METHOD QTransform:fromTranslate( nDx, nDy ) - RETURN Qt_QTransform_fromTranslate( ::pPtr, nDx, nDy ) + RETURN HB_QTransform():from( Qt_QTransform_fromTranslate( ::pPtr, nDx, nDy ) ) METHOD QTransform:quadToQuad( pOne, pTwo, pTrans ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg b/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg index 978b64b75a..0db4877375 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -158,7 +190,7 @@ METHOD QTreeView:expandsOnDoubleClick() METHOD QTreeView:header() - RETURN Qt_QTreeView_header( ::pPtr ) + RETURN HB_QHeaderView():from( Qt_QTreeView_header( ::pPtr ) ) METHOD QTreeView:indentation() @@ -166,11 +198,11 @@ METHOD QTreeView:indentation() METHOD QTreeView:indexAbove( pIndex ) - RETURN Qt_QTreeView_indexAbove( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QModelIndex():from( Qt_QTreeView_indexAbove( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QTreeView:indexBelow( pIndex ) - RETURN Qt_QTreeView_indexBelow( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QModelIndex():from( Qt_QTreeView_indexBelow( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QTreeView:isAnimated() @@ -290,7 +322,7 @@ METHOD QTreeView:uniformRowHeights() METHOD QTreeView:visualRect( pIndex ) - RETURN Qt_QTreeView_visualRect( ::pPtr, hbqt_ptr( pIndex ) ) + RETURN HB_QRect():from( Qt_QTreeView_visualRect( ::pPtr, hbqt_ptr( pIndex ) ) ) METHOD QTreeView:wordWrap() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg index 83a4cb9abc..589ab32011 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -137,7 +169,7 @@ METHOD QTreeWidget:currentColumn() METHOD QTreeWidget:currentItem() - RETURN Qt_QTreeWidget_currentItem( ::pPtr ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_currentItem( ::pPtr ) ) METHOD QTreeWidget:editItem( pItem, nColumn ) @@ -145,11 +177,11 @@ METHOD QTreeWidget:editItem( pItem, nColumn ) METHOD QTreeWidget:findItems( cText, nFlags, nColumn ) - RETURN Qt_QTreeWidget_findItems( ::pPtr, cText, nFlags, nColumn ) + RETURN HB_QList():from( Qt_QTreeWidget_findItems( ::pPtr, cText, nFlags, nColumn ) ) METHOD QTreeWidget:headerItem() - RETURN Qt_QTreeWidget_headerItem( ::pPtr ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_headerItem( ::pPtr ) ) METHOD QTreeWidget:indexOfTopLevelItem( pItem ) @@ -161,7 +193,7 @@ METHOD QTreeWidget:insertTopLevelItem( nIndex, pItem ) METHOD QTreeWidget:invisibleRootItem() - RETURN Qt_QTreeWidget_invisibleRootItem( ::pPtr ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_invisibleRootItem( ::pPtr ) ) METHOD QTreeWidget:isFirstItemColumnSpanned( pItem ) @@ -169,42 +201,33 @@ METHOD QTreeWidget:isFirstItemColumnSpanned( pItem ) METHOD QTreeWidget:itemAbove( pItem ) - RETURN Qt_QTreeWidget_itemAbove( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_itemAbove( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QTreeWidget:itemAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QTreeWidgetItem * itemAt ( int x, int y ) const - // N n int, N n int - RETURN QTreeWidgetItem():from( Qt_QTreeWidget_itemAt_1( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_itemAt_1( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QTreeWidgetItem * itemAt ( const QPoint & p ) const - // PO p QPoint - RETURN QTreeWidgetItem():from( Qt_QTreeWidget_itemAt( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_itemAt( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTreeWidget:itemBelow( pItem ) - RETURN Qt_QTreeWidget_itemBelow( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_itemBelow( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QTreeWidget:itemWidget( pItem, nColumn ) - RETURN Qt_QTreeWidget_itemWidget( ::pPtr, hbqt_ptr( pItem ), nColumn ) + RETURN HB_QWidget():from( Qt_QTreeWidget_itemWidget( ::pPtr, hbqt_ptr( pItem ), nColumn ) ) METHOD QTreeWidget:openPersistentEditor( pItem, nColumn ) @@ -216,7 +239,7 @@ METHOD QTreeWidget:removeItemWidget( pItem, nColumn ) METHOD QTreeWidget:selectedItems() - RETURN Qt_QTreeWidget_selectedItems( ::pPtr ) + RETURN HB_QList():from( Qt_QTreeWidget_selectedItems( ::pPtr ) ) METHOD QTreeWidget:setColumnCount( nColumns ) @@ -224,37 +247,27 @@ METHOD QTreeWidget:setColumnCount( nColumns ) METHOD QTreeWidget:setCurrentItem( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // void setCurrentItem ( QTreeWidgetItem * item, int column, QItemSelectionModel::SelectionFlags command ) [*D=1*] - // PO p QTreeWidgetItem, N n int, N n QItemSelectionModel::SelectionFlags + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QTreeWidget_setCurrentItem_2( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setCurrentItem ( QTreeWidgetItem * item, int column ) [*D=1*] - // PO p QTreeWidgetItem, N n int + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QTreeWidget_setCurrentItem_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setCurrentItem ( QTreeWidgetItem * item ) [*D=1*] - // PO p QTreeWidgetItem + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QTreeWidget_setCurrentItem( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QTreeWidget:setFirstItemColumnSpanned( pItem, lSpan ) @@ -286,11 +299,11 @@ METHOD QTreeWidget:sortItems( nColumn, nOrder ) METHOD QTreeWidget:takeTopLevelItem( nIndex ) - RETURN Qt_QTreeWidget_takeTopLevelItem( ::pPtr, nIndex ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_takeTopLevelItem( ::pPtr, nIndex ) ) METHOD QTreeWidget:topLevelItem( nIndex ) - RETURN Qt_QTreeWidget_topLevelItem( ::pPtr, nIndex ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidget_topLevelItem( ::pPtr, nIndex ) ) METHOD QTreeWidget:topLevelItemCount() @@ -298,7 +311,7 @@ METHOD QTreeWidget:topLevelItemCount() METHOD QTreeWidget:visualItemRect( pItem ) - RETURN Qt_QTreeWidget_visualItemRect( ::pPtr, hbqt_ptr( pItem ) ) + RETURN HB_QRect():from( Qt_QTreeWidget_visualItemRect( ::pPtr, hbqt_ptr( pItem ) ) ) METHOD QTreeWidget:clear() diff --git a/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg index a80d6fe586..e4650c93ff 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -142,7 +174,7 @@ METHOD QTreeWidgetItem:addChild( pChild ) METHOD QTreeWidgetItem:background( nColumn ) - RETURN Qt_QTreeWidgetItem_background( ::pPtr, nColumn ) + RETURN HB_QBrush():from( Qt_QTreeWidgetItem_background( ::pPtr, nColumn ) ) METHOD QTreeWidgetItem:checkState( nColumn ) @@ -150,7 +182,7 @@ METHOD QTreeWidgetItem:checkState( nColumn ) METHOD QTreeWidgetItem:child( nIndex ) - RETURN Qt_QTreeWidgetItem_child( ::pPtr, nIndex ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidgetItem_child( ::pPtr, nIndex ) ) METHOD QTreeWidgetItem:childCount() @@ -162,7 +194,7 @@ METHOD QTreeWidgetItem:childIndicatorPolicy() METHOD QTreeWidgetItem:clone() - RETURN Qt_QTreeWidgetItem_clone( ::pPtr ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidgetItem_clone( ::pPtr ) ) METHOD QTreeWidgetItem:columnCount() @@ -170,7 +202,7 @@ METHOD QTreeWidgetItem:columnCount() METHOD QTreeWidgetItem:data( nColumn, nRole ) - RETURN Qt_QTreeWidgetItem_data( ::pPtr, nColumn, nRole ) + RETURN HB_QVariant():from( Qt_QTreeWidgetItem_data( ::pPtr, nColumn, nRole ) ) METHOD QTreeWidgetItem:flags() @@ -178,15 +210,15 @@ METHOD QTreeWidgetItem:flags() METHOD QTreeWidgetItem:font( nColumn ) - RETURN Qt_QTreeWidgetItem_font( ::pPtr, nColumn ) + RETURN HB_QFont():from( Qt_QTreeWidgetItem_font( ::pPtr, nColumn ) ) METHOD QTreeWidgetItem:foreground( nColumn ) - RETURN Qt_QTreeWidgetItem_foreground( ::pPtr, nColumn ) + RETURN HB_QBrush():from( Qt_QTreeWidgetItem_foreground( ::pPtr, nColumn ) ) METHOD QTreeWidgetItem:icon( nColumn ) - RETURN Qt_QTreeWidgetItem_icon( ::pPtr, nColumn ) + RETURN HB_QIcon():from( Qt_QTreeWidgetItem_icon( ::pPtr, nColumn ) ) METHOD QTreeWidgetItem:indexOfChild( pChild ) @@ -218,7 +250,7 @@ METHOD QTreeWidgetItem:isSelected() METHOD QTreeWidgetItem:parent() - RETURN Qt_QTreeWidgetItem_parent( ::pPtr ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidgetItem_parent( ::pPtr ) ) METHOD QTreeWidgetItem:read( pIn ) @@ -306,7 +338,7 @@ METHOD QTreeWidgetItem:setWhatsThis( nColumn, cWhatsThis ) METHOD QTreeWidgetItem:sizeHint( nColumn ) - RETURN Qt_QTreeWidgetItem_sizeHint( ::pPtr, nColumn ) + RETURN HB_QSize():from( Qt_QTreeWidgetItem_sizeHint( ::pPtr, nColumn ) ) METHOD QTreeWidgetItem:sortChildren( nColumn, nOrder ) @@ -318,11 +350,11 @@ METHOD QTreeWidgetItem:statusTip( nColumn ) METHOD QTreeWidgetItem:takeChild( nIndex ) - RETURN Qt_QTreeWidgetItem_takeChild( ::pPtr, nIndex ) + RETURN HB_QTreeWidgetItem():from( Qt_QTreeWidgetItem_takeChild( ::pPtr, nIndex ) ) METHOD QTreeWidgetItem:takeChildren() - RETURN Qt_QTreeWidgetItem_takeChildren( ::pPtr ) + RETURN HB_QList():from( Qt_QTreeWidgetItem_takeChildren( ::pPtr ) ) METHOD QTreeWidgetItem:text( nColumn ) @@ -338,7 +370,7 @@ METHOD QTreeWidgetItem:toolTip( nColumn ) METHOD QTreeWidgetItem:treeWidget() - RETURN Qt_QTreeWidgetItem_treeWidget( ::pPtr ) + RETURN HB_QTreeWidget():from( Qt_QTreeWidgetItem_treeWidget( ::pPtr ) ) METHOD QTreeWidgetItem:type() diff --git a/harbour/contrib/hbqt/qtgui/g/TQUiLoader.prg b/harbour/contrib/hbqt/qtgui/g/TQUiLoader.prg index 9a182cd80a..0034a4b3bf 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQUiLoader.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQUiLoader.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,11 +135,11 @@ METHOD QUiLoader:addPluginPath( cPath ) METHOD QUiLoader:availableLayouts() - RETURN Qt_QUiLoader_availableLayouts( ::pPtr ) + RETURN HB_QStringList():from( Qt_QUiLoader_availableLayouts( ::pPtr ) ) METHOD QUiLoader:availableWidgets() - RETURN Qt_QUiLoader_availableWidgets( ::pPtr ) + RETURN HB_QStringList():from( Qt_QUiLoader_availableWidgets( ::pPtr ) ) METHOD QUiLoader:clearPluginPaths() @@ -115,19 +147,19 @@ METHOD QUiLoader:clearPluginPaths() METHOD QUiLoader:createAction( pParent, cName ) - RETURN Qt_QUiLoader_createAction( ::pPtr, hbqt_ptr( pParent ), cName ) + RETURN HB_QAction():from( Qt_QUiLoader_createAction( ::pPtr, hbqt_ptr( pParent ), cName ) ) METHOD QUiLoader:createActionGroup( pParent, cName ) - RETURN Qt_QUiLoader_createActionGroup( ::pPtr, hbqt_ptr( pParent ), cName ) + RETURN HB_QActionGroup():from( Qt_QUiLoader_createActionGroup( ::pPtr, hbqt_ptr( pParent ), cName ) ) METHOD QUiLoader:createLayout( cClassName, pParent, cName ) - RETURN Qt_QUiLoader_createLayout( ::pPtr, cClassName, hbqt_ptr( pParent ), cName ) + RETURN HB_QLayout():from( Qt_QUiLoader_createLayout( ::pPtr, cClassName, hbqt_ptr( pParent ), cName ) ) METHOD QUiLoader:createWidget( cClassName, pParent, cName ) - RETURN Qt_QUiLoader_createWidget( ::pPtr, cClassName, hbqt_ptr( pParent ), cName ) + RETURN HB_QWidget():from( Qt_QUiLoader_createWidget( ::pPtr, cClassName, hbqt_ptr( pParent ), cName ) ) METHOD QUiLoader:isLanguageChangeEnabled() @@ -135,11 +167,11 @@ METHOD QUiLoader:isLanguageChangeEnabled() METHOD QUiLoader:load( pDevice, pParentWidget ) - RETURN Qt_QUiLoader_load( ::pPtr, hbqt_ptr( pDevice ), hbqt_ptr( pParentWidget ) ) + RETURN HB_QWidget():from( Qt_QUiLoader_load( ::pPtr, hbqt_ptr( pDevice ), hbqt_ptr( pParentWidget ) ) ) METHOD QUiLoader:pluginPaths() - RETURN Qt_QUiLoader_pluginPaths( ::pPtr ) + RETURN HB_QStringList():from( Qt_QUiLoader_pluginPaths( ::pPtr ) ) METHOD QUiLoader:setLanguageChangeEnabled( lEnabled ) @@ -151,5 +183,5 @@ METHOD QUiLoader:setWorkingDirectory( pDir ) METHOD QUiLoader:workingDirectory() - RETURN Qt_QUiLoader_workingDirectory( ::pPtr ) + RETURN HB_QDir():from( Qt_QUiLoader_workingDirectory( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg index 46b5b7b09e..78c5a159f3 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQValidator.prg index 1bed72d539..74e1caeb8a 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQValidator.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQValidator.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -87,7 +119,7 @@ METHOD QValidator:new( ... ) METHOD QValidator:locale() - RETURN Qt_QValidator_locale( ::pPtr ) + RETURN HB_QLocale():from( Qt_QValidator_locale( ::pPtr ) ) METHOD QValidator:setLocale( pLocale ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg index ac058ec630..8ebf0ffebf 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -102,7 +134,7 @@ METHOD QWheelEvent:delta() METHOD QWheelEvent:globalPos() - RETURN Qt_QWheelEvent_globalPos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QWheelEvent_globalPos( ::pPtr ) ) METHOD QWheelEvent:globalX() @@ -118,7 +150,7 @@ METHOD QWheelEvent:orientation() METHOD QWheelEvent:pos() - RETURN Qt_QWheelEvent_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QWheelEvent_pos( ::pPtr ) ) METHOD QWheelEvent:x() diff --git a/harbour/contrib/hbqt/qtgui/g/TQWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQWidget.prg index d9f402c273..5023a541df 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWidget.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWidget.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -274,7 +306,7 @@ METHOD QWidget:acceptDrops() METHOD QWidget:actions() - RETURN Qt_QWidget_actions( ::pPtr ) + RETURN HB_QList():from( Qt_QWidget_actions( ::pPtr ) ) METHOD QWidget:activateWindow() @@ -298,42 +330,33 @@ METHOD QWidget:backgroundRole() METHOD QWidget:baseSize() - RETURN Qt_QWidget_baseSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_baseSize( ::pPtr ) ) METHOD QWidget:childAt( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // QWidget * childAt ( int x, int y ) const - // N n int, N n int - RETURN QWidget():from( Qt_QWidget_childAt( ::pPtr, ... ) ) + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + RETURN HB_QWidget():from( Qt_QWidget_childAt( ::pPtr, ... ) ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // QWidget * childAt ( const QPoint & p ) const - // PO p QPoint - RETURN QWidget():from( Qt_QWidget_childAt_1( ::pPtr, ... ) ) + CASE hb_isObject( hb_pvalue( 1 ) ) + RETURN HB_QWidget():from( Qt_QWidget_childAt_1( ::pPtr, ... ) ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:childrenRect() - RETURN Qt_QWidget_childrenRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QWidget_childrenRect( ::pPtr ) ) METHOD QWidget:childrenRegion() - RETURN Qt_QWidget_childrenRegion( ::pPtr ) + RETURN HB_QRegion():from( Qt_QWidget_childrenRegion( ::pPtr ) ) METHOD QWidget:clearFocus() @@ -345,7 +368,7 @@ METHOD QWidget:clearMask() METHOD QWidget:contentsRect() - RETURN Qt_QWidget_contentsRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QWidget_contentsRect( ::pPtr ) ) METHOD QWidget:contextMenuPolicy() @@ -353,7 +376,7 @@ METHOD QWidget:contextMenuPolicy() METHOD QWidget:cursor() - RETURN Qt_QWidget_cursor( ::pPtr ) + RETURN HB_QCursor():from( Qt_QWidget_cursor( ::pPtr ) ) METHOD QWidget:ensurePolished() @@ -365,23 +388,23 @@ METHOD QWidget:focusPolicy() METHOD QWidget:focusProxy() - RETURN Qt_QWidget_focusProxy( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_focusProxy( ::pPtr ) ) METHOD QWidget:focusWidget() - RETURN Qt_QWidget_focusWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_focusWidget( ::pPtr ) ) METHOD QWidget:font() - RETURN Qt_QWidget_font( ::pPtr ) + RETURN HB_QFont():from( Qt_QWidget_font( ::pPtr ) ) METHOD QWidget:fontInfo() - RETURN Qt_QWidget_fontInfo( ::pPtr ) + RETURN HB_QFontInfo():from( Qt_QWidget_fontInfo( ::pPtr ) ) METHOD QWidget:fontMetrics() - RETURN Qt_QWidget_fontMetrics( ::pPtr ) + RETURN HB_QFontMetrics():from( Qt_QWidget_fontMetrics( ::pPtr ) ) METHOD QWidget:foregroundRole() @@ -389,15 +412,15 @@ METHOD QWidget:foregroundRole() METHOD QWidget:frameGeometry() - RETURN Qt_QWidget_frameGeometry( ::pPtr ) + RETURN HB_QRect():from( Qt_QWidget_frameGeometry( ::pPtr ) ) METHOD QWidget:frameSize() - RETURN Qt_QWidget_frameSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_frameSize( ::pPtr ) ) METHOD QWidget:geometry() - RETURN Qt_QWidget_geometry( ::pPtr ) + RETURN HB_QRect():from( Qt_QWidget_geometry( ::pPtr ) ) METHOD QWidget:getContentsMargins( nLeft, nTop, nRight, nBottom ) @@ -409,26 +432,17 @@ METHOD QWidget:grabKeyboard() METHOD QWidget:grabMouse( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void grabMouse ( const QCursor & cursor ) - // PO p QCursor + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_grabMouse_1( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void grabMouse () + EXIT + CASE 0 RETURN Qt_QWidget_grabMouse( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:grabShortcut( pKey, nContext ) @@ -452,7 +466,7 @@ METHOD QWidget:heightForWidth( nW ) METHOD QWidget:inputMethodQuery( nQuery ) - RETURN Qt_QWidget_inputMethodQuery( ::pPtr, nQuery ) + RETURN HB_QVariant():from( Qt_QWidget_inputMethodQuery( ::pPtr, nQuery ) ) METHOD QWidget:insertAction( pBefore, pAction ) @@ -512,7 +526,7 @@ METHOD QWidget:isWindowModified() METHOD QWidget:layout() - RETURN Qt_QWidget_layout( ::pPtr ) + RETURN HB_QLayout():from( Qt_QWidget_layout( ::pPtr ) ) METHOD QWidget:layoutDirection() @@ -520,35 +534,35 @@ METHOD QWidget:layoutDirection() METHOD QWidget:locale() - RETURN Qt_QWidget_locale( ::pPtr ) + RETURN HB_QLocale():from( Qt_QWidget_locale( ::pPtr ) ) METHOD QWidget:mapFrom( pParent, pPos ) - RETURN Qt_QWidget_mapFrom( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pPos ) ) + RETURN HB_QPoint():from( Qt_QWidget_mapFrom( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pPos ) ) ) METHOD QWidget:mapFromGlobal( pPos ) - RETURN Qt_QWidget_mapFromGlobal( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QPoint():from( Qt_QWidget_mapFromGlobal( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QWidget:mapFromParent( pPos ) - RETURN Qt_QWidget_mapFromParent( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QPoint():from( Qt_QWidget_mapFromParent( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QWidget:mapTo( pParent, pPos ) - RETURN Qt_QWidget_mapTo( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pPos ) ) + RETURN HB_QPoint():from( Qt_QWidget_mapTo( ::pPtr, hbqt_ptr( pParent ), hbqt_ptr( pPos ) ) ) METHOD QWidget:mapToGlobal( pPos ) - RETURN Qt_QWidget_mapToGlobal( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QPoint():from( Qt_QWidget_mapToGlobal( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QWidget:mapToParent( pPos ) - RETURN Qt_QWidget_mapToParent( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QPoint():from( Qt_QWidget_mapToParent( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QWidget:mask() - RETURN Qt_QWidget_mask( ::pPtr ) + RETURN HB_QRegion():from( Qt_QWidget_mask( ::pPtr ) ) METHOD QWidget:maximumHeight() @@ -556,7 +570,7 @@ METHOD QWidget:maximumHeight() METHOD QWidget:maximumSize() - RETURN Qt_QWidget_maximumSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_maximumSize( ::pPtr ) ) METHOD QWidget:maximumWidth() @@ -568,11 +582,11 @@ METHOD QWidget:minimumHeight() METHOD QWidget:minimumSize() - RETURN Qt_QWidget_minimumSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_minimumSize( ::pPtr ) ) METHOD QWidget:minimumSizeHint() - RETURN Qt_QWidget_minimumSizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_minimumSizeHint( ::pPtr ) ) METHOD QWidget:minimumWidth() @@ -580,42 +594,33 @@ METHOD QWidget:minimumWidth() METHOD QWidget:move( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void move ( int x, int y ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_move( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void move ( const QPoint & ) - // PO p QPoint + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_move_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:nativeParentWidget() - RETURN Qt_QWidget_nativeParentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_nativeParentWidget( ::pPtr ) ) METHOD QWidget:nextInFocusChain() - RETURN Qt_QWidget_nextInFocusChain( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_nextInFocusChain( ::pPtr ) ) METHOD QWidget:normalGeometry() - RETURN Qt_QWidget_normalGeometry( ::pPtr ) + RETURN HB_QRect():from( Qt_QWidget_normalGeometry( ::pPtr ) ) METHOD QWidget:overrideWindowFlags( nFlags ) @@ -623,23 +628,23 @@ METHOD QWidget:overrideWindowFlags( nFlags ) METHOD QWidget:paintEngine() - RETURN Qt_QWidget_paintEngine( ::pPtr ) + RETURN HB_QPaintEngine():from( Qt_QWidget_paintEngine( ::pPtr ) ) METHOD QWidget:palette() - RETURN Qt_QWidget_palette( ::pPtr ) + RETURN HB_QPalette():from( Qt_QWidget_palette( ::pPtr ) ) METHOD QWidget:parentWidget() - RETURN Qt_QWidget_parentWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_parentWidget( ::pPtr ) ) METHOD QWidget:pos() - RETURN Qt_QWidget_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QWidget_pos( ::pPtr ) ) METHOD QWidget:rect() - RETURN Qt_QWidget_rect( ::pPtr ) + RETURN HB_QRect():from( Qt_QWidget_rect( ::pPtr ) ) METHOD QWidget:releaseKeyboard() @@ -659,63 +664,46 @@ METHOD QWidget:removeAction( pAction ) METHOD QWidget:repaint( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void repaint ( int x, int y, int w, int h ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QWidget_repaint( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void repaint ( const QRect & rect ) - // PO p QRect - RETURN Qt_QWidget_repaint_1( ::pPtr, ... ) - // void repaint ( const QRegion & rgn ) - // PO p QRegion - // RETURN Qt_QWidget_repaint_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QWidget_repaint_1( ::pPtr, ... ) + CASE "QREGION" + RETURN Qt_QWidget_repaint_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 0 - // void repaint () + EXIT + CASE 0 RETURN Qt_QWidget_repaint_3( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:resize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void resize ( int w, int h ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_resize( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void resize ( const QSize & ) - // PO p QSize + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_resize_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:restoreGeometry( pGeometry ) @@ -723,34 +711,25 @@ METHOD QWidget:restoreGeometry( pGeometry ) METHOD QWidget:saveGeometry() - RETURN Qt_QWidget_saveGeometry( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QWidget_saveGeometry( ::pPtr ) ) METHOD QWidget:scroll( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "PO" - // void scroll ( int dx, int dy, const QRect & r ) - // N n int, N n int, PO p QRect + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) RETURN Qt_QWidget_scroll_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void scroll ( int dx, int dy ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_scroll( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setAcceptDrops( lOn ) @@ -770,30 +749,21 @@ METHOD QWidget:setBackgroundRole( nRole ) METHOD QWidget:setBaseSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setBaseSize ( int basew, int baseh ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setBaseSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setBaseSize ( const QSize & ) - // PO p QSize + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setBaseSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setContentsMargins( nLeft, nTop, nRight, nBottom ) @@ -813,30 +783,21 @@ METHOD QWidget:setFixedHeight( nH ) METHOD QWidget:setFixedSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setFixedSize ( int w, int h ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setFixedSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setFixedSize ( const QSize & s ) - // PO p QSize + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setFixedSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setFixedWidth( nW ) @@ -844,26 +805,17 @@ METHOD QWidget:setFixedWidth( nW ) METHOD QWidget:setFocus( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "N" - // void setFocus ( Qt::FocusReason reason ) - // N n Qt::FocusReason + CASE hb_isNumeric( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setFocus( ::pPtr, ... ) ENDCASE - CASE nP == 0 - // void setFocus () + EXIT + CASE 0 RETURN Qt_QWidget_setFocus_1( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setFocusPolicy( nPolicy ) @@ -883,30 +835,21 @@ METHOD QWidget:setForegroundRole( nRole ) METHOD QWidget:setGeometry( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void setGeometry ( int x, int y, int w, int h ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QWidget_setGeometry_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setGeometry ( const QRect & ) - // PO p QRect + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setGeometry( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setLayout( pLayout ) @@ -922,26 +865,20 @@ METHOD QWidget:setLocale( pLocale ) METHOD QWidget:setMask( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 1 + SWITCH PCount() + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setMask ( const QBitmap & bitmap ) - // PO p QBitmap - RETURN Qt_QWidget_setMask( ::pPtr, ... ) - // void setMask ( const QRegion & region ) - // PO p QRegion - // RETURN Qt_QWidget_setMask_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QBITMAP" + RETURN Qt_QWidget_setMask( ::pPtr, ... ) + CASE "QREGION" + RETURN Qt_QWidget_setMask_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setMaximumHeight( nMaxh ) @@ -949,30 +886,21 @@ METHOD QWidget:setMaximumHeight( nMaxh ) METHOD QWidget:setMaximumSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setMaximumSize ( int maxw, int maxh ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setMaximumSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setMaximumSize ( const QSize & ) - // PO p QSize + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setMaximumSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setMaximumWidth( nMaxw ) @@ -984,30 +912,21 @@ METHOD QWidget:setMinimumHeight( nMinh ) METHOD QWidget:setMinimumSize( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setMinimumSize ( int minw, int minh ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setMinimumSize_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setMinimumSize ( const QSize & ) - // PO p QSize + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setMinimumSize( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setMinimumWidth( nMinw ) @@ -1023,30 +942,21 @@ METHOD QWidget:setPalette( pQPalette ) METHOD QWidget:setParent( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "N" - // void setParent ( QWidget * parent, Qt::WindowFlags f ) - // PO p QWidget, N n Qt::WindowFlags + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setParent_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setParent ( QWidget * parent ) - // PO p QWidget + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setParent( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setShortcutAutoRepeat( nId, lEnable ) @@ -1058,57 +968,39 @@ METHOD QWidget:setShortcutEnabled( nId, lEnable ) METHOD QWidget:setSizeIncrement( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setSizeIncrement ( int w, int h ) - // N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setSizeIncrement_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setSizeIncrement ( const QSize & ) - // PO p QSize + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setSizeIncrement( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setSizePolicy( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" - // void setSizePolicy ( QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical ) - // N n QSizePolicy::Policy, N n QSizePolicy::Policy + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) RETURN Qt_QWidget_setSizePolicy_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void setSizePolicy ( const QSizePolicy & policy ) - // PO p QSizePolicy + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWidget_setSizePolicy( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:setStatusTip( cQString ) @@ -1164,19 +1056,19 @@ METHOD QWidget:setWindowState( nWindowState ) METHOD QWidget:size() - RETURN Qt_QWidget_size( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_size( ::pPtr ) ) METHOD QWidget:sizeHint() - RETURN Qt_QWidget_sizeHint( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_sizeHint( ::pPtr ) ) METHOD QWidget:sizeIncrement() - RETURN Qt_QWidget_sizeIncrement( ::pPtr ) + RETURN HB_QSize():from( Qt_QWidget_sizeIncrement( ::pPtr ) ) METHOD QWidget:sizePolicy() - RETURN Qt_QWidget_sizePolicy( ::pPtr ) + RETURN HB_QSizePolicy():from( Qt_QWidget_sizePolicy( ::pPtr ) ) METHOD QWidget:stackUnder( pW ) @@ -1188,7 +1080,7 @@ METHOD QWidget:statusTip() METHOD QWidget:style() - RETURN Qt_QWidget_style( ::pPtr ) + RETURN HB_QStyle():from( Qt_QWidget_style( ::pPtr ) ) METHOD QWidget:styleSheet() @@ -1220,36 +1112,28 @@ METHOD QWidget:unsetLocale() METHOD QWidget:update( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 4 + SWITCH PCount() + CASE 4 DO CASE - CASE aV[ 1 ] $ "N" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" .AND. aV[ 4 ] $ "N" - // void update ( int x, int y, int w, int h ) - // N n int, N n int, N n int, N n int + CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) RETURN Qt_QWidget_update( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void update ( const QRect & rect ) - // PO p QRect - RETURN Qt_QWidget_update_1( ::pPtr, ... ) - // void update ( const QRegion & rgn ) - // PO p QRegion - // RETURN Qt_QWidget_update_2( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QRECT" + RETURN Qt_QWidget_update_1( ::pPtr, ... ) + CASE "QREGION" + RETURN Qt_QWidget_update_2( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 0 - // void update () + EXIT + CASE 0 RETURN Qt_QWidget_update_3( ::pPtr, ... ) - ENDCASE - RETURN NIL + ENDSWITCH + RETURN hbqt_error() METHOD QWidget:updateGeometry() @@ -1261,7 +1145,7 @@ METHOD QWidget:updatesEnabled() METHOD QWidget:visibleRegion() - RETURN Qt_QWidget_visibleRegion( ::pPtr ) + RETURN HB_QRegion():from( Qt_QWidget_visibleRegion( ::pPtr ) ) METHOD QWidget:whatsThis() @@ -1273,7 +1157,7 @@ METHOD QWidget:width() METHOD QWidget:window() - RETURN Qt_QWidget_window( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_window( ::pPtr ) ) METHOD QWidget:windowFilePath() @@ -1285,7 +1169,7 @@ METHOD QWidget:windowFlags() METHOD QWidget:windowIcon() - RETURN Qt_QWidget_windowIcon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QWidget_windowIcon( ::pPtr ) ) METHOD QWidget:windowIconText() @@ -1325,11 +1209,11 @@ METHOD QWidget:y() METHOD QWidget:keyboardGrabber() - RETURN Qt_QWidget_keyboardGrabber( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_keyboardGrabber( ::pPtr ) ) METHOD QWidget:mouseGrabber() - RETURN Qt_QWidget_mouseGrabber( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidget_mouseGrabber( ::pPtr ) ) METHOD QWidget:setTabOrder( pFirst, pSecond ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg b/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg index bcf8bbaa5e..b302bd881f 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -89,7 +121,7 @@ METHOD QWidgetAction:new( ... ) METHOD QWidgetAction:defaultWidget() - RETURN Qt_QWidgetAction_defaultWidget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidgetAction_defaultWidget( ::pPtr ) ) METHOD QWidgetAction:releaseWidget( pWidget ) @@ -97,7 +129,7 @@ METHOD QWidgetAction:releaseWidget( pWidget ) METHOD QWidgetAction:requestWidget( pParent ) - RETURN Qt_QWidgetAction_requestWidget( ::pPtr, hbqt_ptr( pParent ) ) + RETURN HB_QWidget():from( Qt_QWidgetAction_requestWidget( ::pPtr, hbqt_ptr( pParent ) ) ) METHOD QWidgetAction:setDefaultWidget( pWidget ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg index fb35430711..8d77d3af32 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -91,5 +123,5 @@ METHOD QWidgetItem:isEmpty() METHOD QWidgetItem:widget() - RETURN Qt_QWidgetItem_widget( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWidgetItem_widget( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg index f443b71a77..561fd6dbd5 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg b/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg index 4e848f4485..8c5c4bf53d 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtgui/g/TQWizard.prg b/harbour/contrib/hbqt/qtgui/g/TQWizard.prg index 6e1625a52d..e68df3bf28 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWizard.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWizard.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -124,7 +156,7 @@ METHOD QWizard:addPage( pPage ) METHOD QWizard:button( nWhich ) - RETURN Qt_QWizard_button( ::pPtr, nWhich ) + RETURN HB_QAbstractButton():from( Qt_QWizard_button( ::pPtr, nWhich ) ) METHOD QWizard:buttonText( nWhich ) @@ -136,11 +168,11 @@ METHOD QWizard:currentId() METHOD QWizard:currentPage() - RETURN Qt_QWizard_currentPage( ::pPtr ) + RETURN HB_QWizardPage():from( Qt_QWizard_currentPage( ::pPtr ) ) METHOD QWizard:field( cName ) - RETURN Qt_QWizard_field( ::pPtr, cName ) + RETURN HB_QVariant():from( Qt_QWizard_field( ::pPtr, cName ) ) METHOD QWizard:hasVisitedPage( nId ) @@ -156,15 +188,15 @@ METHOD QWizard:options() METHOD QWizard:page( nId ) - RETURN Qt_QWizard_page( ::pPtr, nId ) + RETURN HB_QWizardPage():from( Qt_QWizard_page( ::pPtr, nId ) ) METHOD QWizard:pageIds() - RETURN Qt_QWizard_pageIds( ::pPtr ) + RETURN HB_QList():from( Qt_QWizard_pageIds( ::pPtr ) ) METHOD QWizard:pixmap( nWhich ) - RETURN Qt_QWizard_pixmap( ::pPtr, nWhich ) + RETURN HB_QPixmap():from( Qt_QWizard_pixmap( ::pPtr, nWhich ) ) METHOD QWizard:removePage( nId ) @@ -240,7 +272,7 @@ METHOD QWizard:validateCurrentPage() METHOD QWizard:visitedPages() - RETURN Qt_QWizard_visitedPages( ::pPtr ) + RETURN HB_QList():from( Qt_QWizard_visitedPages( ::pPtr ) ) METHOD QWizard:wizardStyle() diff --git a/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg b/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg index 5aed30746e..f7c49470c7 100644 --- a/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg +++ b/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -130,7 +162,7 @@ METHOD QWizardPage:nextId() METHOD QWizardPage:pixmap( nWhich ) - RETURN Qt_QWizardPage_pixmap( ::pPtr, nWhich ) + RETURN HB_QPixmap():from( Qt_QWizardPage_pixmap( ::pPtr, nWhich ) ) METHOD QWizardPage:setButtonText( nWhich, cText ) diff --git a/harbour/contrib/hbqt/qtgui/g/filelist.hbm b/harbour/contrib/hbqt/qtgui/g/filelist.hbm index dbae103805..588ba740ab 100644 --- a/harbour/contrib/hbqt/qtgui/g/filelist.hbm +++ b/harbour/contrib/hbqt/qtgui/g/filelist.hbm @@ -47,6 +47,7 @@ QContextMenuEvent.cpp QCursor.cpp QDateEdit.cpp QDateTimeEdit.cpp +QDesktopServices.cpp QDesktopWidget.cpp QDial.cpp QDialog.cpp @@ -308,6 +309,7 @@ TQContextMenuEvent.prg TQCursor.prg TQDateEdit.prg TQDateTimeEdit.prg +TQDesktopServices.prg TQDesktopWidget.prg TQDial.prg TQDialog.prg diff --git a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h index 5600ff75a2..0ea6d7acb7 100644 --- a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h +++ b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h @@ -53,6 +53,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QContextMenuEvent ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCursor ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDateEdit ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDateTimeEdit ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesktopServices ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesktopWidget ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDial ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDialog ); @@ -314,6 +315,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QContextMenuEvent( void * pObj, bool bNe extern HB_EXPORT void * hbqt_gcAllocate_QCursor( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDateEdit( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDateTimeEdit( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QDesktopServices( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDesktopWidget( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDial( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDialog( void * pObj, bool bNew ); @@ -577,6 +579,7 @@ HB_EXTERN_END #define hbqt_par_QCursor( n ) ( ( QCursor * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDateEdit( n ) ( ( QDateEdit * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDateTimeEdit( n ) ( ( QDateTimeEdit * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QDesktopServices( n ) ( ( QDesktopServices * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDesktopWidget( n ) ( ( QDesktopWidget * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDial( n ) ( ( QDial * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDialog( n ) ( ( QDialog * ) hbqt_gcpointer( n ) ) @@ -838,6 +841,7 @@ HB_EXTERN_END #define HBQT_TYPE_QCursor 0x0C144DE3 #define HBQT_TYPE_QDateEdit 0xA8394641 #define HBQT_TYPE_QDateTimeEdit 0xB7E6B53F +#define HBQT_TYPE_QDesktopServices 0xD90AA1BF #define HBQT_TYPE_QDesktopWidget 0x511C93FC #define HBQT_TYPE_QDial 0x304587E9 #define HBQT_TYPE_QDialog 0x8C0AFF0F diff --git a/harbour/contrib/hbqt/qtgui/qth/QDesktopServices.qth b/harbour/contrib/hbqt/qtgui/qth/QDesktopServices.qth new file mode 100644 index 0000000000..1018c4efcb --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QDesktopServices.qth @@ -0,0 +1,114 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009 Pritpal Bedi + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ +; +; Header File to Generate QT Wrapper Sources +; + + +QObject = no +Inherits = +Type = +New = + + + + + + + + + +#include + + +/* + * + * + */ +HB_FUNC( QT_QDESKTOPSERVICES ) +{ + //hb_retptr( QDesktopServices() ); +} + + + +enum StandardLocation { DesktopLocation, DocumentsLocation, FontsLocation, ApplicationsLocation, ..., CacheLocation } + + + +QString displayName ( StandardLocation type ){ + hb_retstr_utf8( QDesktopServices::displayName( ( QDesktopServices::StandardLocation ) hb_parni( 2 ) ).toUtf8().data() ); +} +bool openUrl ( const QUrl & url ){ + hb_retl( QDesktopServices::openUrl( *hbqt_par_QUrl( 2 ) ) ); +} +void setUrlHandler ( const QString & scheme, QObject * receiver, const char * method ){ + void * pText; + QDesktopServices::setUrlHandler( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ) ); + hb_strfree( pText ); +} +QString storageLocation ( StandardLocation type ){ + hb_retstr_utf8( QDesktopServices::storageLocation( ( QDesktopServices::StandardLocation ) hb_parni( 2 ) ).toUtf8().data() ); +} +void unsetUrlHandler ( const QString & scheme ){ + void * pText; + QDesktopServices::unsetUrlHandler( hb_parstr_utf8( 2, &pText, NULL ) ); + hb_strfree( pText ); +} + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsScene.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsScene.qth index e29c6bf7fc..8f8bd9109e 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QGraphicsScene.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsScene.qth @@ -106,17 +106,7 @@ flags SceneLayers QGraphicsWidget * activeWindow () const QGraphicsEllipseItem * addEllipse ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) QGraphicsEllipseItem * addEllipse ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) -void addItem ( QGraphicsItem * item ){ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QGRAPHICSSCENE_ADDITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRAPHICSSCENE_ADDITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QGraphicsScene( 1 )->addItem( hbqt_par_QGraphicsItem( 2 ) ); - } -} +void addItem ( QGraphicsItem * item ) [*D=1*] QGraphicsLineItem * addLine ( const QLineF & line, const QPen & pen = QPen() ) QGraphicsLineItem * addLine ( qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen() ) QGraphicsPathItem * addPath ( const QPainterPath & path, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) diff --git a/harbour/contrib/hbqt/qtgui/qth/QImage.qth b/harbour/contrib/hbqt/qtgui/qth/QImage.qth index b7d484370f..b66c3ec099 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QImage.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QImage.qth @@ -196,24 +196,8 @@ QSize size () const QString text ( const QString & key = QString() ) const QStringList textKeys () const -QImage transformed ( ... ){ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QTransform ) - { - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } - else if( q->type == HBQT_TYPE_QMatrix ) - { - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } - } -} -//QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const -//QImage transformed ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const +QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const +QImage transformed ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const bool valid ( const QPoint & pos ) const bool valid ( int x, int y ) const diff --git a/harbour/contrib/hbqt/qtgui/qth/QPainter.qth b/harbour/contrib/hbqt/qtgui/qth/QPainter.qth index 50ff25b999..8b18816f47 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QPainter.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QPainter.qth @@ -91,44 +91,10 @@ const QBrush & background () const Qt::BGMode backgroundMode () const bool begin ( QPaintDevice * device ) -void boundingRect ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 4 ) - { - if( HB_ISCHAR( 4 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->boundingRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); - } - } - else if( HB_ISPOINTER( 4 ) ) - { - ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), *hbqt_par_QTextOption( 4 ) ); - } - } - else if( hb_pcount() == 3 ) - { - ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), QTextOption() ); - } - else if( hb_pcount() == 7 ) - { - ( p )->boundingRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ) ); - } - } -} -//QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) -//QRect boundingRect ( const QRect & rectangle, int flags, const QString & text ) -//QRect boundingRect ( int x, int y, int w, int h, int flags, const QString & text ) -//QRectF boundingRect ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) +QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) +QRect boundingRect ( const QRect & rectangle, int flags, const QString & text ) +QRect boundingRect ( int x, int y, int w, int h, int flags, const QString & text ) +QRectF boundingRect ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) const QBrush & brush () const QPoint brushOrigin () const @@ -141,837 +107,139 @@ QPaintDevice * device () const const QMatrix & deviceMatrix () const const QTransform & deviceTransform () const -void drawArc ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) +void drawArc ( const QRect & rectangle, int startAngle, int spanAngle ) +void drawArc ( int x, int y, int width, int height, int startAngle, int spanAngle ) - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawArc( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawArc( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - else if( hb_pcount() == 6 ) - { - ( p )->drawArc( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); - } - } -} -//void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) -//void drawArc ( const QRect & rectangle, int startAngle, int spanAngle ) -//void drawArc ( int x, int y, int width, int height, int startAngle, int spanAngle ) +void drawChord ( const QRectF & rectangle, int startAngle, int spanAngle ) +void drawChord ( const QRect & rectangle, int startAngle, int spanAngle ) +void drawChord ( int x, int y, int width, int height, int startAngle, int spanAngle ) -void drawChord ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawConvexPolygon ( const QPointF * points, int pointCount ) +void drawConvexPolygon ( const QPoint * points, int pointCount ) +void drawConvexPolygon ( const QPolygonF & polygon ) +void drawConvexPolygon ( const QPolygon & polygon ) - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawChord( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawChord( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - else if( hb_pcount() == 6 ) - { - ( p )->drawChord( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); - } - } -} -//void drawChord ( const QRectF & rectangle, int startAngle, int spanAngle ) -//void drawChord ( const QRect & rectangle, int startAngle, int spanAngle ) -//void drawChord ( int x, int y, int width, int height, int startAngle, int spanAngle ) +void drawEllipse ( const QRectF & rectangle ) +void drawEllipse ( const QRect & rectangle ) +void drawEllipse ( int x, int y, int width, int height ) +void drawEllipse ( const QPointF & center, qreal rx, qreal ry ) +void drawEllipse ( const QPoint & center, int rx, int ry ) -void drawConvexPolygon ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) +void drawImage ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) +void drawImage ( const QPointF & point, const QImage & image ) +void drawImage ( const QPoint & point, const QImage & image ) +void drawImage ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) +void drawImage ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) +void drawImage ( const QRectF & rectangle, const QImage & image ) +void drawImage ( const QRect & rectangle, const QImage & image ) +void drawImage ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawConvexPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawConvexPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawLine ( const QLineF & line ) +void drawLine ( const QLine & line ) +void drawLine ( const QPoint & p1, const QPoint & p2 ) +void drawLine ( const QPointF & p1, const QPointF & p2 ) +void drawLine ( int x1, int y1, int x2, int y2 ) - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawConvexPolygon( *hbqt_par_QPolygonF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawConvexPolygon( *hbqt_par_QPolygon( 2 ) ); - } - } - } -} -//void drawConvexPolygon ( const QPointF * points, int pointCount ) -//void drawConvexPolygon ( const QPoint * points, int pointCount ) -//void drawConvexPolygon ( const QPolygonF & polygon ) -//void drawConvexPolygon ( const QPolygon & polygon ) +void drawLines ( const QLineF * lines, int lineCount ) +void drawLines ( const QLine * lines, int lineCount ) +void drawLines ( const QPointF * pointPairs, int lineCount ) +void drawLines ( const QPoint * pointPairs, int lineCount ) -void drawEllipse ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() >= 4 ) - { - if( HB_ISNUM( 2 ) ) - { - ( p )->drawEllipse( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawEllipse( *hbqt_par_QPointF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawEllipse( *hbqt_par_QPoint( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawEllipse( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawEllipse( *hbqt_par_QRect( 2 ) ); - } - } - } -} -//void drawEllipse ( const QRectF & rectangle ) -//void drawEllipse ( const QRect & rectangle ) -//void drawEllipse ( int x, int y, int width, int height ) -//void drawEllipse ( const QPointF & center, qreal rx, qreal ry ) -//void drawEllipse ( const QPoint & center, int rx, int ry ) - -void drawImage ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() >= 4 ) - { - if( HB_ISNUM( 2 ) ) - { - ( p )->drawImage( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QImage( 4 ), hb_parni( 5 ), hb_parni( 6 ), HB_ISNUM( 7 ) ? hb_parni( 7 ) : -1, HB_ISNUM( 8 ) ? hb_parni( 8 ) : -1, ( Qt::ImageConversionFlags ) ( HB_ISNUM( 9 ) ? hb_parni( 9 ) : Qt::AutoColor ) ); - } - else - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ) ); - } - } - } - else if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ) ); - } - } - } -} - -//void drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -//void drawImage ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -//void drawImage ( const QPointF & point, const QImage & image ) -//void drawImage ( const QPoint & point, const QImage & image ) -//void drawImage ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -//void drawImage ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -//void drawImage ( const QRectF & rectangle, const QImage & image ) -//void drawImage ( const QRect & rectangle, const QImage & image ) -//void drawImage ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) - -void drawLine ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - switch( hb_pcount() ) - { - case 5: - ( p )->drawLine( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); - break; - case 3: - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawLine( *hbqt_par_QPoint( 2 ), *hbqt_par_QPoint( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawLine( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ) ); - } - } - break; - case 2: - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QLineF ) - { - ( p )->drawLine( *hbqt_par_QLineF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QLine ) - { - ( p )->drawLine( *hbqt_par_QLine( 2 ) ); - } - } - break; - } - } -} -//void drawLine ( const QLineF & line ) -//void drawLine ( const QLine & line ) -//void drawLine ( const QPoint & p1, const QPoint & p2 ) -//void drawLine ( const QPointF & p1, const QPointF & p2 ) -//void drawLine ( int x1, int y1, int x2, int y2 ) - -void drawLines ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QLineF ) - { - ( p )->drawLines( hbqt_par_QLineF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QLine ) - { - ( p )->drawLines( hbqt_par_QLine( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawLines( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawLines( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - } -} -//void drawLines ( const QLineF * lines, int lineCount ) -//void drawLines ( const QLine * lines, int lineCount ) -//void drawLines ( const QPointF * pointPairs, int lineCount ) -//void drawLines ( const QPoint * pointPairs, int lineCount ) -// -//void drawLines ( const QVector & pointPairs ) -//void drawLines ( const QVector & pointPairs ) -//void drawLines ( const QVector & lines ) -//void drawLines ( const QVector & lines ) +void drawLines ( const QVector & pointPairs ) +void drawLines ( const QVector & pointPairs ) +void drawLines ( const QVector & lines ) +void drawLines ( const QVector & lines ) void drawPath ( const QPainterPath & path ) -void drawPicture ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 4 ) - { - ( p )->drawPicture( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPicture( 4 ) ); - } - else if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawPicture ( const QPointF & point, const QPicture & picture ) +void drawPicture ( const QPoint & point, const QPicture & picture ) +void drawPicture ( int x, int y, const QPicture & picture ) - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPicture( *hbqt_par_QPointF( 2 ), *hbqt_par_QPicture( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPicture( *hbqt_par_QPoint( 2 ), *hbqt_par_QPicture( 3 ) ); - } - } - } -} -//void drawPicture ( const QPointF & point, const QPicture & picture ) -//void drawPicture ( const QPoint & point, const QPicture & picture ) -//void drawPicture ( int x, int y, const QPicture & picture ) +void drawPie ( const QRectF & rectangle, int startAngle, int spanAngle ) +void drawPie ( const QRect & rectangle, int startAngle, int spanAngle ) +void drawPie ( int x, int y, int width, int height, int startAngle, int spanAngle ) -void drawPie ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 6 && HB_ISNUM( 2 ) ) - { - ( p )->drawPie( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); - } - else if( hb_pcount() == 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawPixmap ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) +void drawPixmap ( const QRect & target, const QPixmap & pixmap, const QRect & source ) +void drawPixmap ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) +void drawPixmap ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) +void drawPixmap ( const QPointF & point, const QPixmap & pixmap ) +void drawPixmap ( const QPoint & point, const QPixmap & pixmap ) +void drawPixmap ( int x, int y, const QPixmap & pixmap ) +void drawPixmap ( const QRect & rectangle, const QPixmap & pixmap ) +void drawPixmap ( int x, int y, int width, int height, const QPixmap & pixmap ) +void drawPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) +void drawPixmap ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawPie( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawPie( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - } - } -} -//void drawPie ( const QRectF & rectangle, int startAngle, int spanAngle ) -//void drawPie ( const QRect & rectangle, int startAngle, int spanAngle ) -//void drawPie ( int x, int y, int width, int height, int startAngle, int spanAngle ) +void drawPoint ( const QPointF & position ) +void drawPoint ( const QPoint & position ) +void drawPoint ( int x, int y ) -void drawPixmap ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - switch( hb_pcount() ) - { - case 10: - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), hb_parni( 7 ), hb_parni( 8 ), hb_parni( 9 ), hb_parni( 10 ) ); - break; - case 8: - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ), hb_parni( 8 ) ); - break; - case 6: - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ) ); - break; - case 4: - if( HB_ISNUM( 2 ) ) - { - ( p )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ); - } - else - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawPoints ( const QPointF * points, int pointCount ) +void drawPoints ( const QPoint * points, int pointCount ) +void drawPoints ( const QPolygonF & points ) +void drawPoints ( const QPolygon & points ) - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); - } - } - break; - case 3: - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawPolygon ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) +void drawPolygon ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) +void drawPolygon ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) +void drawPolygon ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ) ); - } - break; - } - } -} -//void drawPixmap ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) -//void drawPixmap ( const QRect & target, const QPixmap & pixmap, const QRect & source ) -//void drawPixmap ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) -//void drawPixmap ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) -//void drawPixmap ( const QPointF & point, const QPixmap & pixmap ) -//void drawPixmap ( const QPoint & point, const QPixmap & pixmap ) -//void drawPixmap ( int x, int y, const QPixmap & pixmap ) -//void drawPixmap ( const QRect & rectangle, const QPixmap & pixmap ) -//void drawPixmap ( int x, int y, int width, int height, const QPixmap & pixmap ) -//void drawPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) -//void drawPixmap ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) +void drawPolyline ( const QPointF * points, int pointCount ) +void drawPolyline ( const QPoint * points, int pointCount ) +void drawPolyline ( const QPolygonF & points ) +void drawPolyline ( const QPolygon & points ) +void drawRect ( const QRectF & rectangle ) +void drawRect ( const QRect & rectangle ) +void drawRect ( int x, int y, int width, int height ) -void drawPoint ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 ) - { - ( p )->drawPoint( hb_parni( 2 ), hb_parni( 3 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawRects ( const QRectF * rectangles, int rectCount ) +void drawRects ( const QRect * rectangles, int rectCount ) +void drawRects ( const QVector & rectangles ) +void drawRects ( const QVector & rectangles ) - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPoint( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPoint( *hbqt_par_QPoint( 2 ) ); - } - } - } -} -//void drawPoint ( const QPointF & position ) -//void drawPoint ( const QPoint & position ) -//void drawPoint ( int x, int y ) +void drawRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) +void drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) +void drawRoundedRect ( int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -void drawPoints ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); +void drawText ( const QPointF & position, const QString & text ) +void drawText ( const QPoint & position, const QString & text ) +void drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) +void drawText ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) +void drawText ( int x, int y, const QString & text ) +void drawText ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) +void drawText ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPoints( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPoints( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawPoints( *hbqt_par_QPolygonF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawPoints( *hbqt_par_QPolygon( 2 ) ); - } - } - } -} -//void drawPoints ( const QPointF * points, int pointCount ) -//void drawPoints ( const QPoint * points, int pointCount ) -//void drawPoints ( const QPolygonF & points ) -//void drawPoints ( const QPolygon & points ) - -void drawPolygon ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() >= 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ), ( Qt::FillRule ) ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::OddEvenFill ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ), ( Qt::FillRule ) ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::OddEvenFill ) ); - } - } - else if( hb_pcount() >= 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawPolygon( *hbqt_par_QPolygonF( 2 ), ( Qt::FillRule ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::OddEvenFill ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawPolygon( *hbqt_par_QPolygonF( 2 ), ( Qt::FillRule ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::OddEvenFill ) ); - } - } - } -} -//void drawPolygon ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) -//void drawPolygon ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) -//void drawPolygon ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) -//void drawPolygon ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - -void drawPolyline ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawPolyline( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawPolyline( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); - } - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPolygonF ) - { - ( p )->drawPolyline( *hbqt_par_QPolygonF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPolygon ) - { - ( p )->drawPolyline( *hbqt_par_QPolygon( 2 ) ); - } - } - } -} -//void drawPolyline ( const QPointF * points, int pointCount ) -//void drawPolyline ( const QPoint * points, int pointCount ) -//void drawPolyline ( const QPolygonF & points ) -//void drawPolyline ( const QPolygon & points ) - -void drawRect ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 4 && HB_ISNUM( 2 ) ) - { - ( p )->drawRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 3 ), hb_parni( 4 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawRect( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawRect( *hbqt_par_QRect( 2 ) ); - } - } - } -} -//void drawRect ( const QRectF & rectangle ) -//void drawRect ( const QRect & rectangle ) -//void drawRect ( int x, int y, int width, int height ) - -void drawRects ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawRects( hbqt_par_QRectF( 2 ), hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); - } - } - } -} -//void drawRects ( const QRectF * rectangles, int rectCount ) -//void drawRects ( const QRect * rectangles, int rectCount ) -// -//void drawRects ( const QVector & rectangles ) -//void drawRects ( const QVector & rectangles ) - -void drawRoundedRect ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() >= 6 && HB_ISNUM( 2 ) ) - { - ( p )->drawRoundedRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parnd( 6 ), ( Qt::SizeMode ) ( HB_ISNUM( 7 ) ? hb_parni( 7 ) : Qt::AbsoluteSize ) ); - } - else if( hb_pcount() >= 4 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawRoundedRect( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( Qt::SizeMode ) ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : Qt::AbsoluteSize ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawRoundedRect( *hbqt_par_QRect( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( Qt::SizeMode ) ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : Qt::AbsoluteSize ) ); - } - } - } -} -//void drawRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -//void drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -//void drawRoundedRect ( int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - -void drawText ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - int iP = hb_pcount(); - - if( HB_ISNUM( 2 ) ) - { - if( iP >= 7 ) - { - ( p )->drawText( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ), ( HB_ISPOINTER( 8 ) ? hbqt_par_QRect( 8 ) : 0 ) ); - } - else if( iP == 4 ) - { - ( p )->drawText( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); - } - } - else if( HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->drawText( *hbqt_par_QPointF( 2 ), hbqt_par_QString( 3 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->drawText( *hbqt_par_QPoint( 2 ), hbqt_par_QString( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QRect( 5 ) : 0 ) ); - } - else if( q->type == HBQT_TYPE_QRectF ) - { - if( HB_ISNUM( 3 ) ) - { - ( p )->drawText( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QRectF( 5 ) : 0 ) ); - } - else if( HB_ISCHAR( 3 ) ) - { - ( p )->drawText( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ); - } - } - } - } -} -//void drawText ( const QPointF & position, const QString & text ) -//void drawText ( const QPoint & position, const QString & text ) -//void drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) -//void drawText ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) -//void drawText ( int x, int y, const QString & text ) -//void drawText ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) -//void drawText ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) - -void drawTiledPixmap ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() >= 6 && HB_ISNUM( 2 ) ) - { - ( p )->drawTiledPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), ( HB_ISNUM( 7 ) ? hb_parni( 7 ) : 0 ), ( HB_ISNUM( 8 ) ? hb_parni( 8 ) : 0 ) ); - } - else if( hb_pcount() >= 3 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->drawTiledPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPointF( 4 ) : QPointF() ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->drawTiledPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPointF( 4 ) : QPointF() ) ); - } - } - } -} -//void drawTiledPixmap ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() ) -//void drawTiledPixmap ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() ) -//void drawTiledPixmap ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) +void drawTiledPixmap ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() ) +void drawTiledPixmap ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() ) +void drawTiledPixmap ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) bool end () -void eraseRect ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 5 && HB_ISNUM( 2 ) ) - { - ( p )->eraseRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->eraseRect( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->eraseRect( *hbqt_par_QRect( 2 ) ); - } - } - } -} -//void eraseRect ( const QRectF & rectangle ) -//void eraseRect ( const QRect & rectangle ) -//void eraseRect ( int x, int y, int width, int height ) +void eraseRect ( const QRectF & rectangle ) +void eraseRect ( const QRect & rectangle ) +void eraseRect ( int x, int y, int width, int height ) void fillPath ( const QPainterPath & path, const QBrush & brush ) - -void fillRect ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 6 && HB_ISNUM( 2 ) ) - { - if( HB_ISNUM( 6 ) ) - { - ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::GlobalColor ) hb_parni( 6 ) ); - } - else if( HB_ISPOINTER( 6 ) ) - { - HBQT_GC_T * r = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 6 ); - - if( r->type == HBQT_TYPE_QBrush ) - { - ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QBrush( 6 ) ); - } - if( r->type == HBQT_TYPE_QColor ) - { - ( p )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QColor( 6 ) ); - } - } - } - else if( hb_pcount() == 3 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( HB_ISNUM( 3 ) ) - { - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); - } - } - else if( HB_ISPOINTER( 3 ) ) - { - HBQT_GC_T * r = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 3 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - if( r->type == HBQT_TYPE_QBrush ) - { - ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QBrush( 3 ) ); - } - if( r->type == HBQT_TYPE_QColor ) - { - ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QColor( 3 ) ); - } - } - else if( q->type == HBQT_TYPE_QRect ) - { - if( r->type == HBQT_TYPE_QBrush ) - { - ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QBrush( 3 ) ); - } - if( r->type == HBQT_TYPE_QColor ) - { - ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QColor( 3 ) ); - } - } - } - } - } -} -// void fillRect ( const QRectF & rectangle, const QBrush & brush ) -// void fillRect ( const QRectF & rectangle, const QColor & color ) -// void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) -// // -// void fillRect ( const QRect & rectangle, const QBrush & brush ) -// void fillRect ( const QRect & rectangle, const QColor & color ) -// void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) -// // -// void fillRect ( int x, int y, int width, int height, const QBrush & brush ) -// void fillRect ( int x, int y, int width, int height, const QColor & color ) -// void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) +void fillRect ( const QRectF & rectangle, const QBrush & brush ) +void fillRect ( const QRectF & rectangle, const QColor & color ) +void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) +void fillRect ( const QRect & rectangle, const QBrush & brush ) +void fillRect ( const QRect & rectangle, const QColor & color ) +void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) +void fillRect ( int x, int y, int width, int height, const QBrush & brush ) +void fillRect ( int x, int y, int width, int height, const QColor & color ) +void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) // // NOT IMPLEMENTED -// void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) -// void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) -// void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) +void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) +void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) +void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) // // original order // void fillRect ( const QRectF & rectangle, const QBrush & brush ) @@ -1009,61 +277,15 @@ void setBackgroundMode ( Qt::BGMode mode ) void setBrush ( const QBrush & brush ) void setBrush ( Qt::BrushStyle style ) -void setBrushOrigin ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 && HB_ISNUM( 2 ) ) - { - ( p )->setBrushOrigin( hb_parni( 2 ), hb_parni( 3 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->setBrushOrigin( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->setBrushOrigin( *hbqt_par_QPoint( 2 ) ); - } - } - } -} -//void setBrushOrigin ( const QPointF & position ) -//void setBrushOrigin ( const QPoint & position ) -//void setBrushOrigin ( int x, int y ) +void setBrushOrigin ( const QPointF & position ) +void setBrushOrigin ( const QPoint & position ) +void setBrushOrigin ( int x, int y ) void setClipPath ( const QPainterPath & path, Qt::ClipOperation operation = Qt::ReplaceClip ) -void setClipRect ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() >= 5 && HB_ISNUM( 2 ) ) - { - ( p )->setClipRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::ClipOperation ) ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : Qt::ReplaceClip ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->setClipRect( *hbqt_par_QRectF( 2 ), ( Qt::ClipOperation ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::ReplaceClip ) ); - } - else if( q->type == HBQT_TYPE_QRect ) - { - ( p )->setClipRect( *hbqt_par_QRect( 2 ), ( Qt::ClipOperation ) ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::ReplaceClip ) ); - } - } - } -} -//void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) -//void setClipRect ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) -//void setClipRect ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) +void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) +void setClipRect ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) +void setClipRect ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) void setClipRegion ( const QRegion & region, Qt::ClipOperation operation = Qt::ReplaceClip ) void setClipping ( bool enable ) @@ -1072,32 +294,9 @@ void setFont ( const QFont & font ) void setLayoutDirection ( Qt::LayoutDirection direction ) void setOpacity ( qreal opacity ) -void setPen ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 2 && HB_ISNUM( 2 ) ) - { - ( p )->setPen( ( Qt::PenStyle ) hb_parni( 2 ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPen ) - { - ( p )->setPen( *hbqt_par_QPen( 2 ) ); - } - else if( q->type == HBQT_TYPE_QColor ) - { - ( p )->setPen( *hbqt_par_QColor( 2 ) ); - } - } - } -} -//void setPen ( const QPen & pen ) -//void setPen ( const QColor & color ) -//void setPen ( Qt::PenStyle style ) +void setPen ( const QPen & pen ) +void setPen ( const QColor & color ) +void setPen ( Qt::PenStyle style ) void setRenderHint ( RenderHint hint, bool on = true ) void setRenderHints ( RenderHints hints, bool on = true ) @@ -1116,32 +315,9 @@ void strokePath ( const QPainterPath & path, const QPen & pen ) bool testRenderHint ( RenderHint hint ) const const QTransform & transform () const -void translate ( ... ){ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - if( hb_pcount() == 3 && HB_ISNUM( 2 ) ) - { - ( p )->translate( hb_parni( 2 ), hb_parni( 3 ) ); - } - else if( hb_pcount() == 2 ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->translate( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPoint ) - { - ( p )->translate( *hbqt_par_QPoint( 2 ) ); - } - } - } -} -//void translate ( const QPointF & offset ) -//void translate ( const QPoint & offset ) -//void translate ( qreal dx, qreal dy ) +void translate ( const QPointF & offset ) +void translate ( const QPoint & offset ) +void translate ( qreal dx, qreal dy ) bool viewTransformEnabled () const QRect viewport () const diff --git a/harbour/contrib/hbqt/qtgui/qth/QPainterPath.qth b/harbour/contrib/hbqt/qtgui/qth/QPainterPath.qth index 4d9eefbb1f..e3001779fc 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QPainterPath.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QPainterPath.qth @@ -104,29 +104,9 @@ QRectF boundingRect () const void closeSubpath () void connectPath ( const QPainterPath & path ) -void contains ( ... ){ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p && hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QPointF ) - { - ( p )->contains( *hbqt_par_QPointF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->contains( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPainterPath ) - { - ( p )->contains( *hbqt_par_QPainterPath( 2 ) ); - } - } -} -//bool contains ( const QPointF & point ) const -//bool contains ( const QRectF & rectangle ) const -//bool contains ( const QPainterPath & p ) const +bool contains ( const QPointF & point ) const +bool contains ( const QRectF & rectangle ) const +bool contains ( const QPainterPath & p ) const QRectF controlPointRect () const void cubicTo ( const QPointF & c1, const QPointF & c2, const QPointF & endPoint ) @@ -137,24 +117,8 @@ int elementCount () const Qt::FillRule fillRule () const QPainterPath intersected ( const QPainterPath & p ) const -void intersects ( ... ){ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p && hb_pcount() == 2 && HB_ISPOINTER( 2 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QRectF ) - { - ( p )->intersects( *hbqt_par_QRectF( 2 ) ); - } - else if( q->type == HBQT_TYPE_QPainterPath ) - { - ( p )->intersects( *hbqt_par_QPainterPath( 2 ) ); - } - } -} -//bool intersects ( const QRectF & rectangle ) const -//bool intersects ( const QPainterPath & p ) const +bool intersects ( const QRectF & rectangle ) const +bool intersects ( const QPainterPath & p ) const bool isEmpty () const qreal length () const diff --git a/harbour/contrib/hbqt/qtgui/qth/QPixmap.qth b/harbour/contrib/hbqt/qtgui/qth/QPixmap.qth index a2fb731511..6328d18192 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QPixmap.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QPixmap.qth @@ -167,24 +167,8 @@ QImage toImage () const // CGImageRef toMacCGImageRef () const //HBITMAP toWinHBITMAP ( HBitmapFormat format = NoAlpha ) const -QPixmap transformed ( ... ){ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - if( q->type == HBQT_TYPE_QTransform ) - { - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } - else if( q->type == HBQT_TYPE_QMatrix ) - { - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); - } - } -} -//QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const -//QPixmap transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const +QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const +QPixmap transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const int width () const int defaultDepth () diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt index d1d54bf8d9..6e77ad8724 100644 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt +++ b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QFtp( ... ) * QFtp():from( pPtr_OR_oObj_of_type_QFtp ) - * QFtp():configure( pPtr_OR_oObj_of_type_QFtp ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtnetwork/QFtp.cpp * Library : hbqtnetwork * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt index 5ed4f08a82..8229caa6a4 100644 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt +++ b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QHttp( ... ) * QHttp():from( pPtr_OR_oObj_of_type_QHttp ) - * QHttp():configure( pPtr_OR_oObj_of_type_QHttp ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -70,6 +70,6 @@ * C++ wrappers : contrib/hbqt/qtnetwork/QHttp.cpp * Library : hbqtnetwork * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt index eea2083ff1..65d1135ce7 100644 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt +++ b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QHttpHeader( ... ) * QHttpHeader():from( pPtr_OR_oObj_of_type_QHttpHeader ) - * QHttpHeader():configure( pPtr_OR_oObj_of_type_QHttpHeader ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt index 7b97c41d15..10e9aaac0c 100644 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt +++ b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QHttpRequestHeader( ... ) * QHttpRequestHeader():from( pPtr_OR_oObj_of_type_QHttpRequestHeader ) - * QHttpRequestHeader():configure( pPtr_OR_oObj_of_type_QHttpRequestHeader ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * Library : hbqtnetwork * $SEEALSO$ - * QHttpHeader + * QHttpHeader() * $END$ */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt index 4a9ee3d301..b704169867 100644 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt +++ b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QHttpResponseHeader( ... ) * QHttpResponseHeader():from( pPtr_OR_oObj_of_type_QHttpResponseHeader ) - * QHttpResponseHeader():configure( pPtr_OR_oObj_of_type_QHttpResponseHeader ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -51,6 +51,6 @@ * C++ wrappers : contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * Library : hbqtnetwork * $SEEALSO$ - * QHttpHeader + * QHttpHeader() * $END$ */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt index 8cdae2d51b..8575eb42cc 100644 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt +++ b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QNetworkRequest( ... ) * QNetworkRequest():from( pPtr_OR_oObj_of_type_QNetworkRequest ) - * QNetworkRequest():configure( pPtr_OR_oObj_of_type_QNetworkRequest ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp b/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp index 892c7f5240..7d7568c254 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp +++ b/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtnetwork.h" diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp index 22a27fe607..249cc58a85 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp +++ b/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtnetwork.h" diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp index f19b79d948..64eba523c9 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp +++ b/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtnetwork.h" diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp index b333c0ad5f..cda82a4428 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp +++ b/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtnetwork.h" diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp index 96317af60d..8fefa912ff 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp +++ b/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtnetwork.h" diff --git a/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp b/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp index 93187529a0..61f1d88971 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp +++ b/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtnetwork.h" diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg b/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg index 4e48e96acf..1cc0b35557 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg +++ b/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -134,7 +166,7 @@ METHOD QFtp:currentCommand() METHOD QFtp:currentDevice() - RETURN Qt_QFtp_currentDevice( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QFtp_currentDevice( ::pPtr ) ) METHOD QFtp:currentId() @@ -170,36 +202,31 @@ METHOD QFtp:mkdir( cDir ) METHOD QFtp:put( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" .AND. aV[ 3 ] $ "N" - // int put ( QIODevice * dev, const QString & file, TransferType type = Binary ) - // PO p QIODevice, C c QString, N n QFtp::TransferType - RETURN Qt_QFtp_put( ::pPtr, ... ) - // int put ( const QByteArray & data, const QString & file, TransferType type = Binary ) - // PO p QByteArray, C c QString, N n QFtp::TransferType - // RETURN Qt_QFtp_put_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QIODEVICE" + RETURN Qt_QFtp_put( ::pPtr, ... ) + CASE "QBYTEARRAY" + RETURN Qt_QFtp_put_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "C" - // int put ( QIODevice * dev, const QString & file, TransferType type = Binary ) - // PO p QIODevice, C c QString, N n QFtp::TransferType - RETURN Qt_QFtp_put( ::pPtr, ... ) - // int put ( const QByteArray & data, const QString & file, TransferType type = Binary ) - // PO p QByteArray, C c QString, N n QFtp::TransferType - // RETURN Qt_QFtp_put_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QIODEVICE" + RETURN Qt_QFtp_put( ::pPtr, ... ) + CASE "QBYTEARRAY" + RETURN Qt_QFtp_put_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QFtp:rawCommand( cCommand ) @@ -207,7 +234,7 @@ METHOD QFtp:rawCommand( cCommand ) METHOD QFtp:readAll() - RETURN Qt_QFtp_readAll( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QFtp_readAll( ::pPtr ) ) METHOD QFtp:remove( cFile ) diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg index 53001bf2a1..d695861513 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg +++ b/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -118,7 +150,7 @@ METHOD QHttp:close() METHOD QHttp:currentDestinationDevice() - RETURN Qt_QHttp_currentDestinationDevice( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QHttp_currentDestinationDevice( ::pPtr ) ) METHOD QHttp:currentId() @@ -126,11 +158,11 @@ METHOD QHttp:currentId() METHOD QHttp:currentRequest() - RETURN Qt_QHttp_currentRequest( ::pPtr ) + RETURN HB_QHttpRequestHeader():from( Qt_QHttp_currentRequest( ::pPtr ) ) METHOD QHttp:currentSourceDevice() - RETURN Qt_QHttp_currentSourceDevice( ::pPtr ) + RETURN HB_QIODevice():from( Qt_QHttp_currentSourceDevice( ::pPtr ) ) METHOD QHttp:error() @@ -154,118 +186,97 @@ METHOD QHttp:head( cPath ) METHOD QHttp:lastResponse() - RETURN Qt_QHttp_lastResponse( ::pPtr ) + RETURN HB_QHttpResponseHeader():from( Qt_QHttp_lastResponse( ::pPtr ) ) METHOD QHttp:post( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // int post ( const QString & path, QIODevice * data, QIODevice * to = 0 ) - // C c QString, PO p QIODevice, PO p QIODevice - RETURN Qt_QHttp_post( ::pPtr, ... ) - // int post ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) - // C c QString, PO p QByteArray, PO p QIODevice - // RETURN Qt_QHttp_post_1( ::pPtr, ... ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QSTRING" + RETURN Qt_QHttp_post( ::pPtr, ... ) + CASE "QSTRING" + RETURN Qt_QHttp_post_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // int post ( const QString & path, QIODevice * data, QIODevice * to = 0 ) - // C c QString, PO p QIODevice, PO p QIODevice - RETURN Qt_QHttp_post( ::pPtr, ... ) - // int post ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) - // C c QString, PO p QByteArray, PO p QIODevice - // RETURN Qt_QHttp_post_1( ::pPtr, ... ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QSTRING" + RETURN Qt_QHttp_post( ::pPtr, ... ) + CASE "QSTRING" + RETURN Qt_QHttp_post_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QHttp:readAll() - RETURN Qt_QHttp_readAll( ::pPtr ) + RETURN HB_QByteArray():from( Qt_QHttp_readAll( ::pPtr ) ) METHOD QHttp:request( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "PO" - // int request ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) - // PO p QHttpRequestHeader, PO p QIODevice, PO p QIODevice - RETURN Qt_QHttp_request( ::pPtr, ... ) - // int request ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) - // PO p QHttpRequestHeader, PO p QByteArray, PO p QIODevice - // RETURN Qt_QHttp_request_1( ::pPtr, ... ) + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QHTTPREQUESTHEADER" + RETURN Qt_QHttp_request( ::pPtr, ... ) + CASE "QHTTPREQUESTHEADER" + RETURN Qt_QHttp_request_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // int request ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) - // PO p QHttpRequestHeader, PO p QByteArray, PO p QIODevice + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QHttp_request_1( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // int request ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) - // PO p QHttpRequestHeader, PO p QIODevice, PO p QIODevice + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QHttp_request( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QHttp:setHost( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" .AND. aV[ 3 ] $ "N" - // int setHost ( const QString & hostName, ConnectionMode mode, quint16 port = 0 ) - // C c QString, N n QHttp::ConnectionMode, N n quint16 + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QHttp_setHost_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "N" - // int setHost ( const QString & hostName, quint16 port = 80 ) - // C c QString, N n quint16 - RETURN Qt_QHttp_setHost( ::pPtr, ... ) - // int setHost ( const QString & hostName, ConnectionMode mode, quint16 port = 0 ) - // C c QString, N n QHttp::ConnectionMode, N n quint16 - // RETURN Qt_QHttp_setHost_1( ::pPtr, ... ) + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) + SWITCH __objGetClsName( hb_pvalue( 1 ) ) + CASE "QSTRING" + RETURN Qt_QHttp_setHost( ::pPtr, ... ) + CASE "QSTRING" + RETURN Qt_QHttp_setHost_1( ::pPtr, ... ) + ENDSWITCH ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "C" - // int setHost ( const QString & hostName, quint16 port = 80 ) - // C c QString, N n quint16 + CASE hb_isChar( hb_pvalue( 1 ) ) RETURN Qt_QHttp_setHost( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QHttp:setProxy( cHost, nPort, cUsername, cPassword ) diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg index c83a350ce5..d7ede82c9f 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg +++ b/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -107,7 +139,7 @@ METHOD QHttpHeader:addValue( cKey, cValue ) METHOD QHttpHeader:allValues( cKey ) - RETURN Qt_QHttpHeader_allValues( ::pPtr, cKey ) + RETURN HB_QStringList():from( Qt_QHttpHeader_allValues( ::pPtr, cKey ) ) METHOD QHttpHeader:contentLength() @@ -135,7 +167,7 @@ METHOD QHttpHeader:isValid() METHOD QHttpHeader:keys() - RETURN Qt_QHttpHeader_keys( ::pPtr ) + RETURN HB_QStringList():from( Qt_QHttpHeader_keys( ::pPtr ) ) METHOD QHttpHeader:majorVersion() diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg index 8b474c4b8d..333228dfc6 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg +++ b/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg index 5abbc9f73e..7e2ce5b753 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg +++ b/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg b/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg index 98560d3321..406936517b 100644 --- a/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg +++ b/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -95,7 +127,7 @@ METHOD QNetworkRequest:new( ... ) METHOD QNetworkRequest:attribute( nCode, pDefaultValue ) - RETURN Qt_QNetworkRequest_attribute( ::pPtr, nCode, hbqt_ptr( pDefaultValue ) ) + RETURN HB_QVariant():from( Qt_QNetworkRequest_attribute( ::pPtr, nCode, hbqt_ptr( pDefaultValue ) ) ) METHOD QNetworkRequest:hasRawHeader( pHeaderName ) @@ -103,15 +135,15 @@ METHOD QNetworkRequest:hasRawHeader( pHeaderName ) METHOD QNetworkRequest:header( nHeader ) - RETURN Qt_QNetworkRequest_header( ::pPtr, nHeader ) + RETURN HB_QVariant():from( Qt_QNetworkRequest_header( ::pPtr, nHeader ) ) METHOD QNetworkRequest:rawHeader( pHeaderName ) - RETURN Qt_QNetworkRequest_rawHeader( ::pPtr, hbqt_ptr( pHeaderName ) ) + RETURN HB_QByteArray():from( Qt_QNetworkRequest_rawHeader( ::pPtr, hbqt_ptr( pHeaderName ) ) ) METHOD QNetworkRequest:rawHeaderList() - RETURN Qt_QNetworkRequest_rawHeaderList( ::pPtr ) + RETURN HB_QList():from( Qt_QNetworkRequest_rawHeaderList( ::pPtr ) ) METHOD QNetworkRequest:setAttribute( nCode, pValue ) @@ -131,5 +163,5 @@ METHOD QNetworkRequest:setUrl( pUrl ) METHOD QNetworkRequest:url() - RETURN Qt_QNetworkRequest_url( ::pPtr ) + RETURN HB_QUrl():from( Qt_QNetworkRequest_url( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt index cc36935f35..7ace234540 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebFrame( ... ) * QWebFrame():from( pPtr_OR_oObj_of_type_QWebFrame ) - * QWebFrame():configure( pPtr_OR_oObj_of_type_QWebFrame ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -83,6 +83,6 @@ * C++ wrappers : contrib/hbqt/qtwebkit/QWebFrame.cpp * Library : hbqtwebkit * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt index aa0f216979..c0eaebfd61 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebHistory( ... ) * QWebHistory():from( pPtr_OR_oObj_of_type_QWebHistory ) - * QWebHistory():configure( pPtr_OR_oObj_of_type_QWebHistory ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt index fed3f7449f..d5d2a538ef 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebHistoryInterface( ... ) * QWebHistoryInterface():from( pPtr_OR_oObj_of_type_QWebHistoryInterface ) - * QWebHistoryInterface():configure( pPtr_OR_oObj_of_type_QWebHistoryInterface ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp * Library : hbqtwebkit * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt index 6caea6c27c..c128f72682 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebHistoryItem( ... ) * QWebHistoryItem():from( pPtr_OR_oObj_of_type_QWebHistoryItem ) - * QWebHistoryItem():configure( pPtr_OR_oObj_of_type_QWebHistoryItem ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt index 47234ca513..486a16e98c 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebHitTestResult( ... ) * QWebHitTestResult():from( pPtr_OR_oObj_of_type_QWebHitTestResult ) - * QWebHitTestResult():configure( pPtr_OR_oObj_of_type_QWebHitTestResult ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt index 86ea0c5e85..6e9ff33430 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebPage( ... ) * QWebPage():from( pPtr_OR_oObj_of_type_QWebPage ) - * QWebPage():configure( pPtr_OR_oObj_of_type_QWebPage ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -77,6 +77,6 @@ * C++ wrappers : contrib/hbqt/qtwebkit/QWebPage.cpp * Library : hbqtwebkit * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt index 422e733c76..e658611722 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebPluginFactory( ... ) * QWebPluginFactory():from( pPtr_OR_oObj_of_type_QWebPluginFactory ) - * QWebPluginFactory():configure( pPtr_OR_oObj_of_type_QWebPluginFactory ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -49,6 +49,6 @@ * C++ wrappers : contrib/hbqt/qtwebkit/QWebPluginFactory.cpp * Library : hbqtwebkit * $SEEALSO$ - * QObject + * QObject() * $END$ */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt index f357992c60..b119d284d4 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebSecurityOrigin( ... ) * QWebSecurityOrigin():from( pPtr_OR_oObj_of_type_QWebSecurityOrigin ) - * QWebSecurityOrigin():configure( pPtr_OR_oObj_of_type_QWebSecurityOrigin ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt index f34bc094be..76a6f394ab 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebSettings( ... ) * QWebSettings():from( pPtr_OR_oObj_of_type_QWebSettings ) - * QWebSettings():configure( pPtr_OR_oObj_of_type_QWebSettings ) + * * $ARGUMENTS$ * * $RETURNS$ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt index 052587fd7f..4aabac14ab 100644 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt +++ b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt @@ -20,7 +20,7 @@ * $SYNTAX$ * QWebView( ... ) * QWebView():from( pPtr_OR_oObj_of_type_QWebView ) - * QWebView():configure( pPtr_OR_oObj_of_type_QWebView ) + * * $ARGUMENTS$ * * $RETURNS$ @@ -72,6 +72,6 @@ * C++ wrappers : contrib/hbqt/qtwebkit/QWebView.cpp * Library : hbqtwebkit * $SEEALSO$ - * QWidget + * QWidget() * $END$ */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp index 66935f3469..4a387b39dd 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp index f283331068..a010ef9b60 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp index 5e6bd1d863..2407414c9b 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp index 7ac85f04a0..365e827f42 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp index ebabd66b76..a4696f943c 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp index 511150d61e..adc114cc2a 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp index 42a3acfe6b..2c65bf8f82 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp index b9a4ba96ae..5d63f73e55 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp index cb449702c9..8f87ee8820 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp index 3bf4c83bf0..9f5199d583 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp +++ b/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbqtcore.h" #include "hbqtwebkit.h" diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg index ce15b86d1f..5b7e0e8e4b 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -121,38 +153,29 @@ METHOD QWebFrame:new( ... ) METHOD QWebFrame:addToJavaScriptWindowObject( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 3 + SWITCH PCount() + CASE 3 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" .AND. aV[ 3 ] $ "N" - // void addToJavaScriptWindowObject ( const QString & name, QObject * object, QScriptEngine::ValueOwnership own ) - // C c QString, PO p QObject, N n QScriptEngine::ValueOwnership + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) RETURN Qt_QWebFrame_addToJavaScriptWindowObject_1( ::pPtr, ... ) ENDCASE - CASE nP == 2 + EXIT + CASE 2 DO CASE - CASE aV[ 1 ] $ "C" .AND. aV[ 2 ] $ "PO" - // void addToJavaScriptWindowObject ( const QString & name, QObject * object ) - // C c QString, PO p QObject + CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QWebFrame_addToJavaScriptWindowObject( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWebFrame:childFrames() - RETURN Qt_QWebFrame_childFrames( ::pPtr ) + RETURN HB_QList():from( Qt_QWebFrame_childFrames( ::pPtr ) ) METHOD QWebFrame:contentsSize() - RETURN Qt_QWebFrame_contentsSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QWebFrame_contentsSize( ::pPtr ) ) METHOD QWebFrame:frameName() @@ -160,15 +183,15 @@ METHOD QWebFrame:frameName() METHOD QWebFrame:geometry() - RETURN Qt_QWebFrame_geometry( ::pPtr ) + RETURN HB_QRect():from( Qt_QWebFrame_geometry( ::pPtr ) ) METHOD QWebFrame:hitTestContent( pPos ) - RETURN Qt_QWebFrame_hitTestContent( ::pPtr, hbqt_ptr( pPos ) ) + RETURN HB_QWebHitTestResult():from( Qt_QWebFrame_hitTestContent( ::pPtr, hbqt_ptr( pPos ) ) ) METHOD QWebFrame:icon() - RETURN Qt_QWebFrame_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QWebFrame_icon( ::pPtr ) ) METHOD QWebFrame:load( pUrl ) @@ -176,42 +199,33 @@ METHOD QWebFrame:load( pUrl ) METHOD QWebFrame:page() - RETURN Qt_QWebFrame_page( ::pPtr ) + RETURN HB_QWebPage():from( Qt_QWebFrame_page( ::pPtr ) ) METHOD QWebFrame:parentFrame() - RETURN Qt_QWebFrame_parentFrame( ::pPtr ) + RETURN HB_QWebFrame():from( Qt_QWebFrame_parentFrame( ::pPtr ) ) METHOD QWebFrame:pos() - RETURN Qt_QWebFrame_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QWebFrame_pos( ::pPtr ) ) METHOD QWebFrame:render( ... ) - LOCAL p, aP, nP, aV := {} - aP := hb_aParams() - nP := len( aP ) - ::valtypes( aP, aV ) - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) - NEXT - DO CASE - CASE nP == 2 + SWITCH PCount() + CASE 2 DO CASE - CASE aV[ 1 ] $ "PO" .AND. aV[ 2 ] $ "PO" - // void render ( QPainter * painter, const QRegion & clip ) - // PO p QPainter, PO p QRegion + CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) RETURN Qt_QWebFrame_render( ::pPtr, ... ) ENDCASE - CASE nP == 1 + EXIT + CASE 1 DO CASE - CASE aV[ 1 ] $ "PO" - // void render ( QPainter * painter ) - // PO p QPainter + CASE hb_isObject( hb_pvalue( 1 ) ) RETURN Qt_QWebFrame_render_1( ::pPtr, ... ) ENDCASE - ENDCASE - RETURN NIL + EXIT + ENDSWITCH + RETURN hbqt_error() METHOD QWebFrame:renderTreeDump() @@ -239,11 +253,11 @@ METHOD QWebFrame:scrollBarValue( nOrientation ) METHOD QWebFrame:scrollPosition() - RETURN Qt_QWebFrame_scrollPosition( ::pPtr ) + RETURN HB_QPoint():from( Qt_QWebFrame_scrollPosition( ::pPtr ) ) METHOD QWebFrame:securityOrigin() - RETURN Qt_QWebFrame_securityOrigin( ::pPtr ) + RETURN HB_QWebSecurityOrigin():from( Qt_QWebFrame_securityOrigin( ::pPtr ) ) METHOD QWebFrame:setContent( pData, cMimeType, pBaseUrl ) @@ -295,7 +309,7 @@ METHOD QWebFrame:toPlainText() METHOD QWebFrame:url() - RETURN Qt_QWebFrame_url( ::pPtr ) + RETURN HB_QUrl():from( Qt_QWebFrame_url( ::pPtr ) ) METHOD QWebFrame:zoomFactor() @@ -303,7 +317,7 @@ METHOD QWebFrame:zoomFactor() METHOD QWebFrame:evaluateJavaScript( cScriptSource ) - RETURN Qt_QWebFrame_evaluateJavaScript( ::pPtr, cScriptSource ) + RETURN HB_QVariant():from( Qt_QWebFrame_evaluateJavaScript( ::pPtr, cScriptSource ) ) METHOD QWebFrame:print( pPrinter ) diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg index 3aa6ffa041..879952b659 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -106,11 +138,11 @@ METHOD QWebHistory:back() METHOD QWebHistory:backItem() - RETURN Qt_QWebHistory_backItem( ::pPtr ) + RETURN HB_QWebHistoryItem():from( Qt_QWebHistory_backItem( ::pPtr ) ) METHOD QWebHistory:backItems( nMaxItems ) - RETURN Qt_QWebHistory_backItems( ::pPtr, nMaxItems ) + RETURN HB_QList():from( Qt_QWebHistory_backItems( ::pPtr, nMaxItems ) ) METHOD QWebHistory:canGoBack() @@ -130,7 +162,7 @@ METHOD QWebHistory:count() METHOD QWebHistory:currentItem() - RETURN Qt_QWebHistory_currentItem( ::pPtr ) + RETURN HB_QWebHistoryItem():from( Qt_QWebHistory_currentItem( ::pPtr ) ) METHOD QWebHistory:currentItemIndex() @@ -142,11 +174,11 @@ METHOD QWebHistory:forward() METHOD QWebHistory:forwardItem() - RETURN Qt_QWebHistory_forwardItem( ::pPtr ) + RETURN HB_QWebHistoryItem():from( Qt_QWebHistory_forwardItem( ::pPtr ) ) METHOD QWebHistory:forwardItems( nMaxItems ) - RETURN Qt_QWebHistory_forwardItems( ::pPtr, nMaxItems ) + RETURN HB_QList():from( Qt_QWebHistory_forwardItems( ::pPtr, nMaxItems ) ) METHOD QWebHistory:goToItem( pItem ) @@ -154,11 +186,11 @@ METHOD QWebHistory:goToItem( pItem ) METHOD QWebHistory:itemAt( nI ) - RETURN Qt_QWebHistory_itemAt( ::pPtr, nI ) + RETURN HB_QWebHistoryItem():from( Qt_QWebHistory_itemAt( ::pPtr, nI ) ) METHOD QWebHistory:items() - RETURN Qt_QWebHistory_items( ::pPtr ) + RETURN HB_QList():from( Qt_QWebHistory_items( ::pPtr ) ) METHOD QWebHistory:maximumItemCount() diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg index 7a81c272be..2e7396cf70 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -97,7 +129,7 @@ METHOD QWebHistoryInterface:historyContains( cUrl ) METHOD QWebHistoryInterface:defaultInterface() - RETURN Qt_QWebHistoryInterface_defaultInterface( ::pPtr ) + RETURN HB_QWebHistoryInterface():from( Qt_QWebHistoryInterface_defaultInterface( ::pPtr ) ) METHOD QWebHistoryInterface:setDefaultInterface( pDefaultInterface ) diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg index 557de5c428..6a1257400f 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -93,7 +125,7 @@ METHOD QWebHistoryItem:new( ... ) METHOD QWebHistoryItem:icon() - RETURN Qt_QWebHistoryItem_icon( ::pPtr ) + RETURN HB_QIcon():from( Qt_QWebHistoryItem_icon( ::pPtr ) ) METHOD QWebHistoryItem:isValid() @@ -101,11 +133,11 @@ METHOD QWebHistoryItem:isValid() METHOD QWebHistoryItem:lastVisited() - RETURN Qt_QWebHistoryItem_lastVisited( ::pPtr ) + RETURN HB_QDateTime():from( Qt_QWebHistoryItem_lastVisited( ::pPtr ) ) METHOD QWebHistoryItem:originalUrl() - RETURN Qt_QWebHistoryItem_originalUrl( ::pPtr ) + RETURN HB_QUrl():from( Qt_QWebHistoryItem_originalUrl( ::pPtr ) ) METHOD QWebHistoryItem:setUserData( pUserData ) @@ -117,9 +149,9 @@ METHOD QWebHistoryItem:title() METHOD QWebHistoryItem:url() - RETURN Qt_QWebHistoryItem_url( ::pPtr ) + RETURN HB_QUrl():from( Qt_QWebHistoryItem_url( ::pPtr ) ) METHOD QWebHistoryItem:userData() - RETURN Qt_QWebHistoryItem_userData( ::pPtr ) + RETURN HB_QVariant():from( Qt_QWebHistoryItem_userData( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg index 4a9295c1f4..e1bf609eba 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -103,15 +135,15 @@ METHOD QWebHitTestResult:alternateText() METHOD QWebHitTestResult:boundingRect() - RETURN Qt_QWebHitTestResult_boundingRect( ::pPtr ) + RETURN HB_QRect():from( Qt_QWebHitTestResult_boundingRect( ::pPtr ) ) METHOD QWebHitTestResult:frame() - RETURN Qt_QWebHitTestResult_frame( ::pPtr ) + RETURN HB_QWebFrame():from( Qt_QWebHitTestResult_frame( ::pPtr ) ) METHOD QWebHitTestResult:imageUrl() - RETURN Qt_QWebHitTestResult_imageUrl( ::pPtr ) + RETURN HB_QUrl():from( Qt_QWebHitTestResult_imageUrl( ::pPtr ) ) METHOD QWebHitTestResult:isContentEditable() @@ -127,7 +159,7 @@ METHOD QWebHitTestResult:isNull() METHOD QWebHitTestResult:linkTargetFrame() - RETURN Qt_QWebHitTestResult_linkTargetFrame( ::pPtr ) + RETURN HB_QWebFrame():from( Qt_QWebHitTestResult_linkTargetFrame( ::pPtr ) ) METHOD QWebHitTestResult:linkText() @@ -135,19 +167,19 @@ METHOD QWebHitTestResult:linkText() METHOD QWebHitTestResult:linkTitle() - RETURN Qt_QWebHitTestResult_linkTitle( ::pPtr ) + RETURN HB_QUrl():from( Qt_QWebHitTestResult_linkTitle( ::pPtr ) ) METHOD QWebHitTestResult:linkUrl() - RETURN Qt_QWebHitTestResult_linkUrl( ::pPtr ) + RETURN HB_QUrl():from( Qt_QWebHitTestResult_linkUrl( ::pPtr ) ) METHOD QWebHitTestResult:pixmap() - RETURN Qt_QWebHitTestResult_pixmap( ::pPtr ) + RETURN HB_QPixmap():from( Qt_QWebHitTestResult_pixmap( ::pPtr ) ) METHOD QWebHitTestResult:pos() - RETURN Qt_QWebHitTestResult_pos( ::pPtr ) + RETURN HB_QPoint():from( Qt_QWebHitTestResult_pos( ::pPtr ) ) METHOD QWebHitTestResult:title() diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg index 81223f7834..db8307ccd3 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -116,7 +148,7 @@ METHOD QWebPage:new( ... ) METHOD QWebPage:action( nAction ) - RETURN Qt_QWebPage_action( ::pPtr, nAction ) + RETURN HB_QAction():from( Qt_QWebPage_action( ::pPtr, nAction ) ) METHOD QWebPage:bytesReceived() @@ -124,11 +156,11 @@ METHOD QWebPage:bytesReceived() METHOD QWebPage:createStandardContextMenu() - RETURN Qt_QWebPage_createStandardContextMenu( ::pPtr ) + RETURN HB_QMenu():from( Qt_QWebPage_createStandardContextMenu( ::pPtr ) ) METHOD QWebPage:currentFrame() - RETURN Qt_QWebPage_currentFrame( ::pPtr ) + RETURN HB_QWebFrame():from( Qt_QWebPage_currentFrame( ::pPtr ) ) METHOD QWebPage:findText( cSubString, nOptions ) @@ -144,11 +176,11 @@ METHOD QWebPage:forwardUnsupportedContent() METHOD QWebPage:history() - RETURN Qt_QWebPage_history( ::pPtr ) + RETURN HB_QWebHistory():from( Qt_QWebPage_history( ::pPtr ) ) METHOD QWebPage:inputMethodQuery( nProperty ) - RETURN Qt_QWebPage_inputMethodQuery( ::pPtr, nProperty ) + RETURN HB_QVariant():from( Qt_QWebPage_inputMethodQuery( ::pPtr, nProperty ) ) METHOD QWebPage:isContentEditable() @@ -164,15 +196,15 @@ METHOD QWebPage:linkDelegationPolicy() METHOD QWebPage:mainFrame() - RETURN Qt_QWebPage_mainFrame( ::pPtr ) + RETURN HB_QWebFrame():from( Qt_QWebPage_mainFrame( ::pPtr ) ) METHOD QWebPage:palette() - RETURN Qt_QWebPage_palette( ::pPtr ) + RETURN HB_QPalette():from( Qt_QWebPage_palette( ::pPtr ) ) METHOD QWebPage:pluginFactory() - RETURN Qt_QWebPage_pluginFactory( ::pPtr ) + RETURN HB_QWebPluginFactory():from( Qt_QWebPage_pluginFactory( ::pPtr ) ) METHOD QWebPage:selectedText() @@ -208,7 +240,7 @@ METHOD QWebPage:setViewportSize( pSize ) METHOD QWebPage:settings() - RETURN Qt_QWebPage_settings( ::pPtr ) + RETURN HB_QWebSettings():from( Qt_QWebPage_settings( ::pPtr ) ) METHOD QWebPage:supportsExtension( nExtension ) @@ -232,9 +264,9 @@ METHOD QWebPage:updatePositionDependentActions( pPos ) METHOD QWebPage:view() - RETURN Qt_QWebPage_view( ::pPtr ) + RETURN HB_QWidget():from( Qt_QWebPage_view( ::pPtr ) ) METHOD QWebPage:viewportSize() - RETURN Qt_QWebPage_viewportSize( ::pPtr ) + RETURN HB_QSize():from( Qt_QWebPage_viewportSize( ::pPtr ) ) diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg index a8494fcbf1..6cc5c892cd 100644 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg +++ b/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg @@ -12,9 +12,7 @@ * Harbour Project source code: * QT wrapper main header * - * Copyright 2009-2010 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta + * Copyright 2009-2010 Pritpal Bedi * www - http://harbour-project.org * * This program is free software; you can redistribute it and/or modify @@ -58,6 +56,40 @@ * */ /*----------------------------------------------------------------------*/ +/* C R E D I T S */ +/*----------------------------------------------------------------------*/ +/* + * Marcos Antonio Gambeta + * for providing first ever prototype parsing methods. Though the current + * implementation is diametrically different then what he proposed, still + * current code shaped on those footsteps. + * + * Viktor Szakats + * for directing the project with futuristic vision; + * for designing and maintaining a complex build system for hbQT, hbIDE; + * for introducing many constructs on PRG and C++ levels; + * for streamlining signal/slots and events management classes; + * + * Istvan Bisz + * for introducing QPointer<> concept in the generator; + * for testing the library on numerous accounts; + * for showing a way how a GC pointer can be detached; + * + * Francesco Perillo + * for taking keen interest in hbQT development and peeking the code; + * for providing tips here and there to improve the code quality; + * for hitting bulls eye to describe why few objects need GC detachment; + * + * Carlos Bacco + * for implementing HBQT_TYPE_Q*Class enums; + * for peeking into the code and suggesting optimization points; + * + * Przemyslaw Czerpak + * for providing tips and trick to manipulate HVM internals to the best + * of its use and always showing a path when we get stuck; + * A true tradition of a MASTER... +*/ +/*----------------------------------------------------------------------*/ #include "hbclass.ch" @@ -88,7 +120,7 @@ METHOD QWebPluginFactory:new( ... ) METHOD QWebPluginFactory:create( cMimeType, pUrl, pArgumentNames, pArgumentValues ) - RETURN Qt_QWebPluginFactory_create( ::pPtr, cMimeType, hbqt_ptr( pUrl ), hbqt_ptr( pArgumentNames ), hbqt_ptr( pArgumentValues ) ) + RETURN HB_QObject():from( Qt_QWebPluginFactory_create( ::pPtr, cMimeType, hbqt_ptr( pUrl ), hbqt_ptr( pArgumentNames ), hbqt_ptr( pArgumentValues ) ) ) METHOD QWebPluginFactory:refreshPlugins() diff --git a/harbour/contrib/hbqt/utils/qtgui.qtp b/harbour/contrib/hbqt/utils/qtgui.qtp index d2c14310ce..330a62bca4 100644 --- a/harbour/contrib/hbqt/utils/qtgui.qtp +++ b/harbour/contrib/hbqt/utils/qtgui.qtp @@ -45,6 +45,7 @@ QContextMenuEvent.qth QCursor.qth QDateEdit.qth QDateTimeEdit.qth +QDesktopServices.qth QDesktopWidget.qth QDial.qth QDialog.qth