From 4100f80b3481531802e37a6cf4417c2732c8e643 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 4 Nov 2010 11:21:17 +0000 Subject: [PATCH] 2010-11-04 12:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/hbqt/qtgui/g - contrib/hbqt/qtgui/doc/en/*.txt - contrib/hbqt/qtwebkit/g - contrib/hbqt/qtwebkit/doc/en/*.txt - contrib/hbqt/qtcore/g - contrib/hbqt/qtcore/doc/en/*.txt - contrib/hbqt/qtnetwork/g - contrib/hbqt/qtnetwork/doc/en/*.txt - contrib/hbqt/qscintilla/g - contrib/hbqt/qscintilla/doc/en/*.txt - contrib/hbqt/qtuitools/g - contrib/hbqt/qtuitools/doc/en/*.txt - contrib/hbqt/qtdesigner/g - contrib/hbqt/qtdesigner/doc/en/*.txt - Deleted generated files which are now created dynamically. - contrib/hbqt/utils - Deleted utils dir. + contrib/hbqt/tests/hbqtgen.prg + contrib/hbqt/tests/QtUiTools.txt + contrib/hbqt/tests/hbqtgen2.prg + contrib/hbqt/tests/QtGui.txt + contrib/hbqt/tests/QtCore.txt + contrib/hbqt/tests/QtNetwork.txt * Moved to tests dir. * contrib/hbqt/hbqt_hbmk2_plugin.hbs - Disabled one debug output left in. ; After these changes HBQT overall size went from 9.5MB to 1.6MB. It still makes it the largest contrib lib in terms of dir content size. ; BTW, most of current .qth content could be dropped by dynamically extracting information from original QT headers. QT is required anyway to build HBQT, and in such dynamic scenario the generated wrappers could always precisely match the QT version we're building against. Until then, .qth files are matching the QT version they were created for (currently 4.5), and it needs hefty manual work to update it to newer versions of QT (latest 4.7). Chances are good that such extraction tool already exists for PyQt and similar projects. --- harbour/ChangeLog | 45 +- harbour/contrib/hbqt/hbqt_hbmk2_plugin.hbs | 2 +- .../doc/en/class_qsciabstractapis.txt | 51 - .../hbqt/qscintilla/doc/en/class_qsciapis.txt | 62 - .../qscintilla/doc/en/class_qscicommand.txt | 54 - .../doc/en/class_qscicommandset.txt | 53 - .../qscintilla/doc/en/class_qscilexer.txt | 92 - .../qscintilla/doc/en/class_qscilexercpp.txt | 75 - .../doc/en/class_qscilexerflagship.txt | 75 - .../qscintilla/doc/en/class_qsciscintilla.txt | 243 -- .../qscintilla/doc/en/class_qscistyle.txt | 68 - .../doc/en/class_qscistyledtext.txt | 50 - .../hbqt/qscintilla/g/HBQsciScintilla.cpp | 88 - .../contrib/hbqt/qscintilla/g/QsciAPIs.cpp | 232 -- .../hbqt/qscintilla/g/QsciAbstractAPIs.cpp | 107 - .../contrib/hbqt/qscintilla/g/QsciCommand.cpp | 123 - .../hbqt/qscintilla/g/QsciCommandSet.cpp | 115 - .../hbqt/qscintilla/g/QsciDocument.cpp | 91 - .../contrib/hbqt/qscintilla/g/QsciLexer.cpp | 440 ---- .../hbqt/qscintilla/g/QsciLexerCPP.cpp | 344 --- .../hbqt/qscintilla/g/QsciLexerFlagship.cpp | 344 --- .../hbqt/qscintilla/g/QsciScintilla.cpp | 1762 ------------- .../contrib/hbqt/qscintilla/g/QsciStyle.cpp | 267 -- .../hbqt/qscintilla/g/QsciStyledText.cpp | 107 - .../hbqt/qscintilla/g/THBQsciScintilla.prg | 50 - .../contrib/hbqt/qscintilla/g/TQsciAPIs.prg | 218 -- .../hbqt/qscintilla/g/TQsciAbstractAPIs.prg | 85 - .../hbqt/qscintilla/g/TQsciCommand.prg | 116 - .../hbqt/qscintilla/g/TQsciCommandSet.prg | 115 - .../hbqt/qscintilla/g/TQsciDocument.prg | 50 - .../contrib/hbqt/qscintilla/g/TQsciLexer.prg | 570 ---- .../hbqt/qscintilla/g/TQsciLexerCPP.prg | 359 --- .../hbqt/qscintilla/g/TQsciLexerFlagship.prg | 359 --- .../hbqt/qscintilla/g/TQsciScintilla.prg | 2309 ----------------- .../contrib/hbqt/qscintilla/g/TQsciStyle.prg | 266 -- .../hbqt/qscintilla/g/TQsciStyledText.prg | 68 - .../contrib/hbqt/qscintilla/g/filelist.hbm | 35 - .../contrib/hbqt/qscintilla/g/hbqscintilla.h | 72 - .../hbqt/qtcore/doc/en/class_hbqevents.txt | 51 - .../hbqt/qtcore/doc/en/class_hbqslots.txt | 46 - .../hbqt/qtcore/doc/en/class_hbqstring.txt | 215 -- .../doc/en/class_qabstractitemmodel.txt | 80 - .../doc/en/class_qabstractlistmodel.txt | 49 - .../doc/en/class_qabstracttablemodel.txt | 49 - .../hbqt/qtcore/doc/en/class_qbitarray.txt | 64 - .../hbqt/qtcore/doc/en/class_qbuffer.txt | 53 - .../hbqt/qtcore/doc/en/class_qbytearray.txt | 146 -- .../hbqt/qtcore/doc/en/class_qchar.txt | 80 - .../qtcore/doc/en/class_qcoreapplication.txt | 88 - .../hbqt/qtcore/doc/en/class_qdatastream.txt | 61 - .../hbqt/qtcore/doc/en/class_qdate.txt | 67 - .../hbqt/qtcore/doc/en/class_qdatetime.txt | 74 - .../contrib/hbqt/qtcore/doc/en/class_qdir.txt | 101 - .../hbqt/qtcore/doc/en/class_qevent.txt | 55 - .../hbqt/qtcore/doc/en/class_qeventloop.txt | 54 - .../hbqt/qtcore/doc/en/class_qfile.txt | 81 - .../hbqt/qtcore/doc/en/class_qfileinfo.txt | 92 - .../qtcore/doc/en/class_qgenericargument.txt | 50 - .../hbqt/qtcore/doc/en/class_qiodevice.txt | 81 - .../hbqt/qtcore/doc/en/class_qlatin1char.txt | 50 - .../qtcore/doc/en/class_qlatin1string.txt | 49 - .../hbqt/qtcore/doc/en/class_qline.txt | 65 - .../hbqt/qtcore/doc/en/class_qlinef.txt | 75 - .../hbqt/qtcore/doc/en/class_qlist.txt | 84 - .../hbqt/qtcore/doc/en/class_qlocale.txt | 103 - .../qtcore/doc/en/class_qmetaclassinfo.txt | 50 - .../hbqt/qtcore/doc/en/class_qmetaenum.txt | 59 - .../hbqt/qtcore/doc/en/class_qmetamethod.txt | 55 - .../hbqt/qtcore/doc/en/class_qmetaobject.txt | 76 - .../qtcore/doc/en/class_qmetaproperty.txt | 69 - .../hbqt/qtcore/doc/en/class_qmetatype.txt | 52 - .../hbqt/qtcore/doc/en/class_qmimedata.txt | 69 - .../hbqt/qtcore/doc/en/class_qmodelindex.txt | 59 - .../hbqt/qtcore/doc/en/class_qobject.txt | 72 - .../hbqt/qtcore/doc/en/class_qpoint.txt | 56 - .../hbqt/qtcore/doc/en/class_qpointf.txt | 56 - .../hbqt/qtcore/doc/en/class_qprocess.txt | 81 - .../hbqt/qtcore/doc/en/class_qrect.txt | 107 - .../hbqt/qtcore/doc/en/class_qrectf.txt | 108 - .../hbqt/qtcore/doc/en/class_qregexp.txt | 67 - .../hbqt/qtcore/doc/en/class_qresource.txt | 62 - .../hbqt/qtcore/doc/en/class_qsettings.txt | 79 - .../qtcore/doc/en/class_qsignalmapper.txt | 57 - .../hbqt/qtcore/doc/en/class_qsize.txt | 62 - .../hbqt/qtcore/doc/en/class_qsizef.txt | 63 - .../hbqt/qtcore/doc/en/class_qstringlist.txt | 81 - .../hbqt/qtcore/doc/en/class_qstringref.txt | 67 - .../doc/en/class_qtextboundaryfinder.txt | 59 - .../hbqt/qtcore/doc/en/class_qtextcodec.txt | 69 - .../hbqt/qtcore/doc/en/class_qtextdecoder.txt | 49 - .../hbqt/qtcore/doc/en/class_qtextencoder.txt | 50 - .../hbqt/qtcore/doc/en/class_qtextstream.txt | 85 - .../hbqt/qtcore/doc/en/class_qthread.txt | 62 - .../hbqt/qtcore/doc/en/class_qtime.txt | 68 - .../hbqt/qtcore/doc/en/class_qtimeline.txt | 75 - .../hbqt/qtcore/doc/en/class_qtimer.txt | 58 - .../hbqt/qtcore/doc/en/class_qtranslator.txt | 52 - .../contrib/hbqt/qtcore/doc/en/class_qurl.txt | 118 - .../hbqt/qtcore/doc/en/class_qvariant.txt | 86 - harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp | 113 - harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp | 88 - harbour/contrib/hbqt/qtcore/g/HBQString.cpp | 1684 ------------ .../hbqt/qtcore/g/QAbstractItemModel.cpp | 342 --- .../hbqt/qtcore/g/QAbstractListModel.cpp | 82 - .../hbqt/qtcore/g/QAbstractTableModel.cpp | 82 - harbour/contrib/hbqt/qtcore/g/QBitArray.cpp | 210 -- harbour/contrib/hbqt/qtcore/g/QBuffer.cpp | 132 - harbour/contrib/hbqt/qtcore/g/QByteArray.cpp | 950 ------- harbour/contrib/hbqt/qtcore/g/QChar.cpp | 359 --- .../hbqt/qtcore/g/QCoreApplication.cpp | 428 --- harbour/contrib/hbqt/qtcore/g/QDataStream.cpp | 199 -- harbour/contrib/hbqt/qtcore/g/QDate.cpp | 253 -- harbour/contrib/hbqt/qtcore/g/QDateTime.cpp | 305 --- harbour/contrib/hbqt/qtcore/g/QDir.cpp | 613 ----- harbour/contrib/hbqt/qtcore/g/QEvent.cpp | 142 - harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp | 140 - harbour/contrib/hbqt/qtcore/g/QFile.cpp | 428 --- harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp | 451 ---- .../hbqt/qtcore/g/QGenericArgument.cpp | 109 - .../hbqt/qtcore/g/QGenericReturnArgument.cpp | 93 - harbour/contrib/hbqt/qtcore/g/QIODevice.cpp | 347 --- harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp | 97 - .../contrib/hbqt/qtcore/g/QLatin1String.cpp | 89 - harbour/contrib/hbqt/qtcore/g/QLine.cpp | 235 -- harbour/contrib/hbqt/qtcore/g/QLineF.cpp | 303 --- harbour/contrib/hbqt/qtcore/g/QList.cpp | 396 --- harbour/contrib/hbqt/qtcore/g/QLocale.cpp | 636 ----- .../contrib/hbqt/qtcore/g/QMetaClassInfo.cpp | 90 - harbour/contrib/hbqt/qtcore/g/QMetaEnum.cpp | 162 -- harbour/contrib/hbqt/qtcore/g/QMetaMethod.cpp | 150 -- harbour/contrib/hbqt/qtcore/g/QMetaObject.cpp | 306 --- .../contrib/hbqt/qtcore/g/QMetaProperty.cpp | 242 -- harbour/contrib/hbqt/qtcore/g/QMetaType.cpp | 117 - harbour/contrib/hbqt/qtcore/g/QMimeData.cpp | 289 --- harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp | 171 -- harbour/contrib/hbqt/qtcore/g/QObject.cpp | 299 --- harbour/contrib/hbqt/qtcore/g/QPoint.cpp | 159 -- harbour/contrib/hbqt/qtcore/g/QPointF.cpp | 159 -- harbour/contrib/hbqt/qtcore/g/QProcess.cpp | 421 --- harbour/contrib/hbqt/qtcore/g/QRect.cpp | 592 ----- harbour/contrib/hbqt/qtcore/g/QRectF.cpp | 601 ----- harbour/contrib/hbqt/qtcore/g/QRegExp.cpp | 256 -- harbour/contrib/hbqt/qtcore/g/QResource.cpp | 215 -- harbour/contrib/hbqt/qtcore/g/QSettings.cpp | 392 --- .../contrib/hbqt/qtcore/g/QSignalMapper.cpp | 172 -- harbour/contrib/hbqt/qtcore/g/QSize.cpp | 207 -- harbour/contrib/hbqt/qtcore/g/QSizeF.cpp | 211 -- harbour/contrib/hbqt/qtcore/g/QStringList.cpp | 426 --- harbour/contrib/hbqt/qtcore/g/QStringRef.cpp | 276 -- .../hbqt/qtcore/g/QTextBoundaryFinder.cpp | 179 -- harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp | 260 -- .../contrib/hbqt/qtcore/g/QTextDecoder.cpp | 95 - .../contrib/hbqt/qtcore/g/QTextEncoder.cpp | 106 - harbour/contrib/hbqt/qtcore/g/QTextStream.cpp | 396 --- harbour/contrib/hbqt/qtcore/g/QThread.cpp | 206 -- harbour/contrib/hbqt/qtcore/g/QTime.cpp | 253 -- harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp | 309 --- harbour/contrib/hbqt/qtcore/g/QTimer.cpp | 167 -- harbour/contrib/hbqt/qtcore/g/QTranslator.cpp | 126 - harbour/contrib/hbqt/qtcore/g/QUrl.cpp | 756 ------ harbour/contrib/hbqt/qtcore/g/QVariant.cpp | 461 ---- harbour/contrib/hbqt/qtcore/g/THBQEvents.prg | 85 - harbour/contrib/hbqt/qtcore/g/THBQSlots.prg | 50 - harbour/contrib/hbqt/qtcore/g/THBQString.prg | 885 ------- .../hbqt/qtcore/g/TQAbstractItemModel.prg | 542 ---- .../hbqt/qtcore/g/TQAbstractListModel.prg | 75 - .../hbqt/qtcore/g/TQAbstractTableModel.prg | 69 - harbour/contrib/hbqt/qtcore/g/TQBitArray.prg | 226 -- harbour/contrib/hbqt/qtcore/g/TQBuffer.prg | 101 - harbour/contrib/hbqt/qtcore/g/TQByteArray.prg | 540 ---- harbour/contrib/hbqt/qtcore/g/TQChar.prg | 338 --- .../hbqt/qtcore/g/TQCoreApplication.prg | 494 ---- .../contrib/hbqt/qtcore/g/TQDataStream.prg | 195 -- harbour/contrib/hbqt/qtcore/g/TQDate.prg | 251 -- harbour/contrib/hbqt/qtcore/g/TQDateTime.prg | 340 --- harbour/contrib/hbqt/qtcore/g/TQDir.prg | 629 ----- harbour/contrib/hbqt/qtcore/g/TQEvent.prg | 123 - harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg | 120 - harbour/contrib/hbqt/qtcore/g/TQFile.prg | 373 --- harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg | 450 ---- .../hbqt/qtcore/g/TQGenericArgument.prg | 68 - .../hbqt/qtcore/g/TQGenericReturnArgument.prg | 50 - harbour/contrib/hbqt/qtcore/g/TQIODevice.prg | 383 --- .../contrib/hbqt/qtcore/g/TQLatin1Char.prg | 68 - .../contrib/hbqt/qtcore/g/TQLatin1String.prg | 59 - harbour/contrib/hbqt/qtcore/g/TQLine.prg | 223 -- harbour/contrib/hbqt/qtcore/g/TQLineF.prg | 333 --- harbour/contrib/hbqt/qtcore/g/TQList.prg | 454 ---- harbour/contrib/hbqt/qtcore/g/TQLocale.prg | 695 ----- .../contrib/hbqt/qtcore/g/TQMetaClassInfo.prg | 68 - harbour/contrib/hbqt/qtcore/g/TQMetaEnum.prg | 173 -- .../contrib/hbqt/qtcore/g/TQMetaMethod.prg | 113 - .../contrib/hbqt/qtcore/g/TQMetaObject.prg | 366 --- .../contrib/hbqt/qtcore/g/TQMetaProperty.prg | 275 -- harbour/contrib/hbqt/qtcore/g/TQMetaType.prg | 102 - harbour/contrib/hbqt/qtcore/g/TQMimeData.prg | 271 -- .../contrib/hbqt/qtcore/g/TQModelIndex.prg | 163 -- harbour/contrib/hbqt/qtcore/g/TQObject.prg | 350 --- harbour/contrib/hbqt/qtcore/g/TQPoint.prg | 130 - harbour/contrib/hbqt/qtcore/g/TQPointF.prg | 130 - harbour/contrib/hbqt/qtcore/g/TQProcess.prg | 425 --- harbour/contrib/hbqt/qtcore/g/TQRect.prg | 715 ----- harbour/contrib/hbqt/qtcore/g/TQRectF.prg | 719 ----- harbour/contrib/hbqt/qtcore/g/TQRegExp.prg | 285 -- harbour/contrib/hbqt/qtcore/g/TQResource.prg | 120 - harbour/contrib/hbqt/qtcore/g/TQSettings.prg | 383 --- .../contrib/hbqt/qtcore/g/TQSignalMapper.prg | 117 - harbour/contrib/hbqt/qtcore/g/TQSize.prg | 194 -- harbour/contrib/hbqt/qtcore/g/TQSizeF.prg | 203 -- .../contrib/hbqt/qtcore/g/TQStringList.prg | 435 ---- harbour/contrib/hbqt/qtcore/g/TQStringRef.prg | 217 -- .../hbqt/qtcore/g/TQTextBoundaryFinder.prg | 153 -- harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg | 255 -- .../contrib/hbqt/qtcore/g/TQTextDecoder.prg | 63 - .../contrib/hbqt/qtcore/g/TQTextEncoder.prg | 70 - .../contrib/hbqt/qtcore/g/TQTextStream.prg | 443 ---- harbour/contrib/hbqt/qtcore/g/TQThread.prg | 202 -- harbour/contrib/hbqt/qtcore/g/TQTime.prg | 264 -- harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg | 341 --- harbour/contrib/hbqt/qtcore/g/TQTimer.prg | 150 -- .../contrib/hbqt/qtcore/g/TQTranslator.prg | 116 - harbour/contrib/hbqt/qtcore/g/TQUrl.prg | 848 ------ harbour/contrib/hbqt/qtcore/g/TQVariant.prg | 439 ---- harbour/contrib/hbqt/qtcore/g/filelist.hbm | 135 - harbour/contrib/hbqt/qtcore/g/hbqtcore.h | 272 -- .../class_qdesigneractioneditorinterface.txt | 52 - .../en/class_qdesignerformeditorinterface.txt | 58 - ...ass_qdesignerformwindowcursorinterface.txt | 62 - .../en/class_qdesignerformwindowinterface.txt | 87 - ...ss_qdesignerformwindowmanagerinterface.txt | 74 - ...lass_qdesignerobjectinspectorinterface.txt | 50 - ...class_qdesignerpropertyeditorinterface.txt | 55 - .../en/class_qdesignerwidgetboxinterface.txt | 52 - .../g/QDesignerActionEditorInterface.cpp | 110 - .../g/QDesignerFormEditorInterface.cpp | 182 -- .../g/QDesignerFormWindowCursorInterface.cpp | 206 -- .../g/QDesignerFormWindowInterface.cpp | 439 ---- .../g/QDesignerFormWindowManagerInterface.cpp | 286 -- .../g/QDesignerObjectInspectorInterface.cpp | 94 - .../g/QDesignerPropertyEditorInterface.cpp | 138 - .../g/QDesignerWidgetBoxInterface.cpp | 114 - .../g/TQDesignerActionEditorInterface.prg | 98 - .../g/TQDesignerFormEditorInterface.prg | 156 -- .../g/TQDesignerFormWindowCursorInterface.prg | 220 -- .../g/TQDesignerFormWindowInterface.prg | 488 ---- .../TQDesignerFormWindowManagerInterface.prg | 312 --- .../g/TQDesignerObjectInspectorInterface.prg | 72 - .../g/TQDesignerPropertyEditorInterface.prg | 131 - .../g/TQDesignerWidgetBoxInterface.prg | 90 - .../contrib/hbqt/qtdesigner/g/filelist.hbm | 27 - .../contrib/hbqt/qtdesigner/g/hbqtdesigner.h | 56 - .../doc/en/class_hbqabstractitemmodel.txt | 50 - .../qtgui/doc/en/class_hbqgraphicsitem.txt | 116 - .../qtgui/doc/en/class_hbqgraphicsscene.txt | 67 - .../qtgui/doc/en/class_hbqplaintextedit.txt | 104 - .../doc/en/class_hbqsyntaxhighlighter.txt | 54 - .../doc/en/class_hbqtextblockuserdata.txt | 50 - .../qtgui/doc/en/class_qabstractbutton.txt | 74 - .../en/class_qabstractgraphicsshapeitem.txt | 52 - .../doc/en/class_qabstractitemdelegate.txt | 55 - .../qtgui/doc/en/class_qabstractitemview.txt | 111 - .../doc/en/class_qabstractprintdialog.txt | 58 - .../doc/en/class_qabstractproxymodel.txt | 54 - .../doc/en/class_qabstractscrollarea.txt | 62 - .../qtgui/doc/en/class_qabstractslider.txt | 72 - .../qtgui/doc/en/class_qabstractspinbox.txt | 74 - .../en/class_qabstracttextdocumentlayout.txt | 58 - .../hbqt/qtgui/doc/en/class_qaction.txt | 98 - .../hbqt/qtgui/doc/en/class_qactiongroup.txt | 61 - .../hbqt/qtgui/doc/en/class_qapplication.txt | 122 - .../hbqt/qtgui/doc/en/class_qbitmap.txt | 57 - .../hbqt/qtgui/doc/en/class_qboxlayout.txt | 68 - .../hbqt/qtgui/doc/en/class_qbrush.txt | 63 - .../hbqt/qtgui/doc/en/class_qbuttongroup.txt | 59 - .../qtgui/doc/en/class_qcalendarwidget.txt | 86 - .../hbqt/qtgui/doc/en/class_qcheckbox.txt | 52 - .../hbqt/qtgui/doc/en/class_qclipboard.txt | 61 - .../hbqt/qtgui/doc/en/class_qcolor.txt | 119 - .../hbqt/qtgui/doc/en/class_qcolordialog.txt | 63 - .../hbqt/qtgui/doc/en/class_qcombobox.txt | 108 - .../qtgui/doc/en/class_qcommandlinkbutton.txt | 50 - .../hbqt/qtgui/doc/en/class_qcommonstyle.txt | 46 - .../hbqt/qtgui/doc/en/class_qcompleter.txt | 77 - .../qtgui/doc/en/class_qconicalgradient.txt | 53 - .../qtgui/doc/en/class_qcontextmenuevent.txt | 55 - .../hbqt/qtgui/doc/en/class_qcursor.txt | 57 - .../hbqt/qtgui/doc/en/class_qdateedit.txt | 46 - .../hbqt/qtgui/doc/en/class_qdatetimeedit.txt | 92 - .../qtgui/doc/en/class_qdesktopservices.txt | 53 - .../qtgui/doc/en/class_qdesktopwidget.txt | 60 - .../contrib/hbqt/qtgui/doc/en/class_qdial.txt | 55 - .../hbqt/qtgui/doc/en/class_qdialog.txt | 58 - .../hbqt/qtgui/doc/en/class_qdirmodel.txt | 85 - .../hbqt/qtgui/doc/en/class_qdockwidget.txt | 60 - .../qtgui/doc/en/class_qdoublespinbox.txt | 66 - .../qtgui/doc/en/class_qdoublevalidator.txt | 57 - .../contrib/hbqt/qtgui/doc/en/class_qdrag.txt | 59 - .../qtgui/doc/en/class_qdragenterevent.txt | 46 - .../qtgui/doc/en/class_qdragleaveevent.txt | 46 - .../qtgui/doc/en/class_qdragmoveevent.txt | 53 - .../hbqt/qtgui/doc/en/class_qdropevent.txt | 58 - .../hbqt/qtgui/doc/en/class_qerrormessage.txt | 50 - .../hbqt/qtgui/doc/en/class_qfiledialog.txt | 94 - .../qtgui/doc/en/class_qfileiconprovider.txt | 51 - .../qtgui/doc/en/class_qfilesystemmodel.txt | 77 - .../hbqt/qtgui/doc/en/class_qfocusevent.txt | 51 - .../hbqt/qtgui/doc/en/class_qfocusframe.txt | 50 - .../contrib/hbqt/qtgui/doc/en/class_qfont.txt | 106 - .../hbqt/qtgui/doc/en/class_qfontcombobox.txt | 54 - .../hbqt/qtgui/doc/en/class_qfontdatabase.txt | 71 - .../hbqt/qtgui/doc/en/class_qfontdialog.txt | 60 - .../hbqt/qtgui/doc/en/class_qfontinfo.txt | 60 - .../hbqt/qtgui/doc/en/class_qfontmetrics.txt | 74 - .../hbqt/qtgui/doc/en/class_qfontmetricsf.txt | 73 - .../hbqt/qtgui/doc/en/class_qformlayout.txt | 81 - .../hbqt/qtgui/doc/en/class_qframe.txt | 61 - .../hbqt/qtgui/doc/en/class_qgradient.txt | 54 - .../doc/en/class_qgraphicsellipseitem.txt | 55 - .../doc/en/class_qgraphicsgridlayout.txt | 90 - .../hbqt/qtgui/doc/en/class_qgraphicsitem.txt | 198 -- .../doc/en/class_qgraphicsitemanimation.txt | 68 - .../qtgui/doc/en/class_qgraphicsitemgroup.txt | 50 - .../qtgui/doc/en/class_qgraphicslayout.txt | 56 - .../doc/en/class_qgraphicslayoutitem.txt | 83 - .../doc/en/class_qgraphicslinearlayout.txt | 64 - .../qtgui/doc/en/class_qgraphicslineitem.txt | 53 - .../qtgui/doc/en/class_qgraphicspathitem.txt | 50 - .../doc/en/class_qgraphicspixmapitem.txt | 57 - .../doc/en/class_qgraphicspolygonitem.txt | 52 - .../doc/en/class_qgraphicsproxywidget.txt | 52 - .../qtgui/doc/en/class_qgraphicsrectitem.txt | 51 - .../qtgui/doc/en/class_qgraphicsscene.txt | 117 - .../class_qgraphicsscenecontextmenuevent.txt | 53 - .../en/class_qgraphicsscenedragdropevent.txt | 60 - .../doc/en/class_qgraphicssceneevent.txt | 49 - .../doc/en/class_qgraphicsscenehelpevent.txt | 50 - .../doc/en/class_qgraphicsscenehoverevent.txt | 55 - .../doc/en/class_qgraphicsscenemouseevent.txt | 60 - .../doc/en/class_qgraphicsscenemoveevent.txt | 50 - .../en/class_qgraphicssceneresizeevent.txt | 50 - .../doc/en/class_qgraphicsscenewheelevent.txt | 55 - .../doc/en/class_qgraphicssimpletextitem.txt | 52 - .../qtgui/doc/en/class_qgraphicstextitem.txt | 69 - .../hbqt/qtgui/doc/en/class_qgraphicsview.txt | 124 - .../qtgui/doc/en/class_qgraphicswidget.txt | 94 - .../hbqt/qtgui/doc/en/class_qgridlayout.txt | 74 - .../hbqt/qtgui/doc/en/class_qgroupbox.txt | 58 - .../hbqt/qtgui/doc/en/class_qhboxlayout.txt | 46 - .../hbqt/qtgui/doc/en/class_qheaderview.txt | 105 - .../hbqt/qtgui/doc/en/class_qhelpevent.txt | 54 - .../hbqt/qtgui/doc/en/class_qhideevent.txt | 46 - .../contrib/hbqt/qtgui/doc/en/class_qicon.txt | 58 - .../hbqt/qtgui/doc/en/class_qimage.txt | 106 - .../hbqt/qtgui/doc/en/class_qimagereader.txt | 87 - .../hbqt/qtgui/doc/en/class_qimagewriter.txt | 67 - .../hbqt/qtgui/doc/en/class_qinputdialog.txt | 92 - .../hbqt/qtgui/doc/en/class_qinputevent.txt | 49 - .../qtgui/doc/en/class_qinputmethodevent.txt | 53 - .../hbqt/qtgui/doc/en/class_qintvalidator.txt | 53 - .../hbqt/qtgui/doc/en/class_qitemdelegate.txt | 58 - .../doc/en/class_qitemeditorcreatorbase.txt | 50 - .../qtgui/doc/en/class_qitemeditorfactory.txt | 52 - .../qtgui/doc/en/class_qitemselection.txt | 51 - .../doc/en/class_qitemselectionmodel.txt | 63 - .../hbqt/qtgui/doc/en/class_qkeyevent.txt | 57 - .../hbqt/qtgui/doc/en/class_qkeysequence.txt | 55 - .../hbqt/qtgui/doc/en/class_qlabel.txt | 77 - .../hbqt/qtgui/doc/en/class_qlayout.txt | 77 - .../hbqt/qtgui/doc/en/class_qlayoutitem.txt | 65 - .../hbqt/qtgui/doc/en/class_qlcdnumber.txt | 67 - .../qtgui/doc/en/class_qlineargradient.txt | 54 - .../hbqt/qtgui/doc/en/class_qlineedit.txt | 103 - .../hbqt/qtgui/doc/en/class_qlistview.txt | 77 - .../hbqt/qtgui/doc/en/class_qlistwidget.txt | 80 - .../qtgui/doc/en/class_qlistwidgetitem.txt | 83 - .../hbqt/qtgui/doc/en/class_qmainwindow.txt | 97 - .../hbqt/qtgui/doc/en/class_qmatrix.txt | 77 - .../hbqt/qtgui/doc/en/class_qmdiarea.txt | 74 - .../hbqt/qtgui/doc/en/class_qmdisubwindow.txt | 62 - .../contrib/hbqt/qtgui/doc/en/class_qmenu.txt | 81 - .../hbqt/qtgui/doc/en/class_qmenubar.txt | 62 - .../hbqt/qtgui/doc/en/class_qmessagebox.txt | 87 - .../hbqt/qtgui/doc/en/class_qmouseevent.txt | 57 - .../hbqt/qtgui/doc/en/class_qmoveevent.txt | 50 - .../hbqt/qtgui/doc/en/class_qmovie.txt | 76 - .../qtgui/doc/en/class_qpagesetupdialog.txt | 56 - .../hbqt/qtgui/doc/en/class_qpaintdevice.txt | 60 - .../hbqt/qtgui/doc/en/class_qpaintengine.txt | 71 - .../hbqt/qtgui/doc/en/class_qpainter.txt | 227 -- .../hbqt/qtgui/doc/en/class_qpainterpath.txt | 103 - .../hbqt/qtgui/doc/en/class_qpaintevent.txt | 50 - .../hbqt/qtgui/doc/en/class_qpalette.txt | 83 - .../contrib/hbqt/qtgui/doc/en/class_qpen.txt | 69 - .../hbqt/qtgui/doc/en/class_qpicture.txt | 62 - .../hbqt/qtgui/doc/en/class_qpixmap.txt | 88 - .../doc/en/class_qplaintextdocumentlayout.txt | 52 - .../qtgui/doc/en/class_qplaintextedit.txt | 105 - .../hbqt/qtgui/doc/en/class_qpolygon.txt | 61 - .../hbqt/qtgui/doc/en/class_qpolygonf.txt | 57 - .../hbqt/qtgui/doc/en/class_qprintdialog.txt | 56 - .../hbqt/qtgui/doc/en/class_qprintengine.txt | 54 - .../hbqt/qtgui/doc/en/class_qprinter.txt | 104 - .../hbqt/qtgui/doc/en/class_qprinterinfo.txt | 53 - .../doc/en/class_qprintpreviewdialog.txt | 50 - .../hbqt/qtgui/doc/en/class_qprogressbar.txt | 69 - .../qtgui/doc/en/class_qprogressdialog.txt | 72 - .../hbqt/qtgui/doc/en/class_qpushbutton.txt | 57 - .../qtgui/doc/en/class_qradialgradient.txt | 56 - .../hbqt/qtgui/doc/en/class_qradiobutton.txt | 46 - .../qtgui/doc/en/class_qregexpvalidator.txt | 50 - .../hbqt/qtgui/doc/en/class_qregion.txt | 66 - .../hbqt/qtgui/doc/en/class_qresizeevent.txt | 50 - .../hbqt/qtgui/doc/en/class_qscrollarea.txt | 57 - .../hbqt/qtgui/doc/en/class_qscrollbar.txt | 46 - .../qtgui/doc/en/class_qsessionmanager.txt | 64 - .../hbqt/qtgui/doc/en/class_qshowevent.txt | 46 - .../hbqt/qtgui/doc/en/class_qsizegrip.txt | 46 - .../hbqt/qtgui/doc/en/class_qsizepolicy.txt | 62 - .../hbqt/qtgui/doc/en/class_qslider.txt | 52 - .../doc/en/class_qsortfilterproxymodel.txt | 72 - .../hbqt/qtgui/doc/en/class_qsound.txt | 55 - .../hbqt/qtgui/doc/en/class_qspaceritem.txt | 51 - .../hbqt/qtgui/doc/en/class_qspinbox.txt | 62 - .../hbqt/qtgui/doc/en/class_qsplashscreen.txt | 54 - .../hbqt/qtgui/doc/en/class_qsplitter.txt | 69 - .../qtgui/doc/en/class_qstackedwidget.txt | 58 - .../hbqt/qtgui/doc/en/class_qstandarditem.txt | 121 - .../qtgui/doc/en/class_qstandarditemmodel.txt | 76 - .../hbqt/qtgui/doc/en/class_qstatusbar.txt | 58 - .../qtgui/doc/en/class_qstringlistmodel.txt | 56 - .../hbqt/qtgui/doc/en/class_qstyle.txt | 77 - .../doc/en/class_qstyleditemdelegate.txt | 55 - .../hbqt/qtgui/doc/en/class_qstylefactory.txt | 50 - .../qtgui/doc/en/class_qstylehintreturn.txt | 46 - .../doc/en/class_qstylehintreturnmask.txt | 46 - .../doc/en/class_qstylehintreturnvariant.txt | 46 - .../hbqt/qtgui/doc/en/class_qstyleoption.txt | 56 - .../qtgui/doc/en/class_qstyleoptionbutton.txt | 52 - .../doc/en/class_qstyleoptioncombobox.txt | 54 - .../doc/en/class_qstyleoptioncomplex.txt | 50 - .../doc/en/class_qstyleoptiondockwidget.txt | 52 - .../doc/en/class_qstyleoptionfocusrect.txt | 49 - .../qtgui/doc/en/class_qstyleoptionframe.txt | 50 - .../doc/en/class_qstyleoptiongraphicsitem.txt | 51 - .../doc/en/class_qstyleoptiongroupbox.txt | 54 - .../qtgui/doc/en/class_qstyleoptionheader.txt | 57 - .../doc/en/class_qstyleoptionmenuitem.txt | 58 - .../doc/en/class_qstyleoptionprogressbar.txt | 54 - .../doc/en/class_qstyleoptionsizegrip.txt | 49 - .../qtgui/doc/en/class_qstyleoptionslider.txt | 60 - .../doc/en/class_qstyleoptionspinbox.txt | 51 - .../qtgui/doc/en/class_qstyleoptiontab.txt | 55 - .../doc/en/class_qstyleoptiontabbarbase.txt | 51 - .../en/class_qstyleoptiontabwidgetframe.txt | 54 - .../doc/en/class_qstyleoptiontitlebar.txt | 52 - .../doc/en/class_qstyleoptiontoolbar.txt | 54 - .../doc/en/class_qstyleoptiontoolbox.txt | 50 - .../doc/en/class_qstyleoptiontoolbutton.txt | 56 - .../doc/en/class_qstyleoptionviewitem.txt | 55 - .../hbqt/qtgui/doc/en/class_qstylepainter.txt | 56 - .../qtgui/doc/en/class_qsyntaxhighlighter.txt | 51 - .../qtgui/doc/en/class_qsystemtrayicon.txt | 62 - .../hbqt/qtgui/doc/en/class_qtabbar.txt | 92 - .../hbqt/qtgui/doc/en/class_qtableview.txt | 90 - .../hbqt/qtgui/doc/en/class_qtablewidget.txt | 97 - .../qtgui/doc/en/class_qtablewidgetitem.txt | 83 - .../en/class_qtablewidgetselectionrange.txt | 54 - .../hbqt/qtgui/doc/en/class_qtabwidget.txt | 89 - .../hbqt/qtgui/doc/en/class_qtextblock.txt | 75 - .../qtgui/doc/en/class_qtextblockformat.txt | 67 - .../qtgui/doc/en/class_qtextblockgroup.txt | 46 - .../hbqt/qtgui/doc/en/class_qtextbrowser.txt | 68 - .../qtgui/doc/en/class_qtextcharformat.txt | 95 - .../hbqt/qtgui/doc/en/class_qtextcursor.txt | 106 - .../hbqt/qtgui/doc/en/class_qtextdocument.txt | 115 - .../doc/en/class_qtextdocumentfragment.txt | 55 - .../doc/en/class_qtextdocumentwriter.txt | 58 - .../hbqt/qtgui/doc/en/class_qtextedit.txt | 129 - .../hbqt/qtgui/doc/en/class_qtextformat.txt | 89 - .../hbqt/qtgui/doc/en/class_qtextfragment.txt | 55 - .../hbqt/qtgui/doc/en/class_qtextframe.txt | 56 - .../qtgui/doc/en/class_qtextframeformat.txt | 77 - .../qtgui/doc/en/class_qtextimageformat.txt | 55 - .../qtgui/doc/en/class_qtextinlineobject.txt | 61 - .../hbqt/qtgui/doc/en/class_qtextitem.txt | 54 - .../hbqt/qtgui/doc/en/class_qtextlayout.txt | 77 - .../hbqt/qtgui/doc/en/class_qtextlength.txt | 51 - .../hbqt/qtgui/doc/en/class_qtextline.txt | 69 - .../hbqt/qtgui/doc/en/class_qtextlist.txt | 57 - .../qtgui/doc/en/class_qtextlistformat.txt | 53 - .../hbqt/qtgui/doc/en/class_qtextobject.txt | 52 - .../hbqt/qtgui/doc/en/class_qtextoption.txt | 61 - .../qtgui/doc/en/class_qtexttableformat.txt | 59 - .../hbqt/qtgui/doc/en/class_qtimeedit.txt | 46 - .../hbqt/qtgui/doc/en/class_qtoolbar.txt | 76 - .../hbqt/qtgui/doc/en/class_qtoolbox.txt | 68 - .../hbqt/qtgui/doc/en/class_qtoolbutton.txt | 61 - .../hbqt/qtgui/doc/en/class_qtransform.txt | 97 - .../hbqt/qtgui/doc/en/class_qtreeview.txt | 97 - .../hbqt/qtgui/doc/en/class_qtreewidget.txt | 87 - .../qtgui/doc/en/class_qtreewidgetitem.txt | 101 - .../hbqt/qtgui/doc/en/class_qvalidator.txt | 50 - .../hbqt/qtgui/doc/en/class_qvboxlayout.txt | 46 - .../hbqt/qtgui/doc/en/class_qwheelevent.txt | 57 - .../hbqt/qtgui/doc/en/class_qwidget.txt | 254 -- .../hbqt/qtgui/doc/en/class_qwidgetaction.txt | 52 - .../hbqt/qtgui/doc/en/class_qwidgetitem.txt | 50 - .../hbqt/qtgui/doc/en/class_qwindowsstyle.txt | 46 - .../doc/en/class_qwindowstatechangeevent.txt | 49 - .../hbqt/qtgui/doc/en/class_qwizard.txt | 83 - .../hbqt/qtgui/doc/en/class_qwizardpage.txt | 65 - .../hbqt/qtgui/g/HBQAbstractItemModel.cpp | 105 - .../contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp | 651 ----- .../contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp | 252 -- .../contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp | 565 ---- .../hbqt/qtgui/g/HBQSyntaxHighlighter.cpp | 148 -- harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp | 98 - .../hbqt/qtgui/g/HBQTextBlockUserData.cpp | 99 - .../contrib/hbqt/qtgui/g/QAbstractButton.cpp | 287 -- .../qtgui/g/QAbstractGraphicsShapeItem.cpp | 109 - .../hbqt/qtgui/g/QAbstractItemDelegate.cpp | 138 - .../hbqt/qtgui/g/QAbstractItemView.cpp | 593 ----- .../hbqt/qtgui/g/QAbstractPrintDialog.cpp | 163 -- .../hbqt/qtgui/g/QAbstractProxyModel.cpp | 122 - .../hbqt/qtgui/g/QAbstractScrollArea.cpp | 191 -- .../contrib/hbqt/qtgui/g/QAbstractSlider.cpp | 271 -- .../contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp | 299 --- .../qtgui/g/QAbstractTextDocumentLayout.cpp | 159 -- harbour/contrib/hbqt/qtgui/g/QAction.cpp | 527 ---- harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp | 202 -- harbour/contrib/hbqt/qtgui/g/QApplication.cpp | 731 ------ harbour/contrib/hbqt/qtgui/g/QBitmap.cpp | 189 -- harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp | 261 -- harbour/contrib/hbqt/qtgui/g/QBrush.cpp | 291 --- harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp | 183 -- .../contrib/hbqt/qtgui/g/QCalendarWidget.cpp | 401 --- harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp | 128 - harbour/contrib/hbqt/qtgui/g/QClipboard.cpp | 198 -- harbour/contrib/hbqt/qtgui/g/QColor.cpp | 758 ------ harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp | 228 -- harbour/contrib/hbqt/qtgui/g/QComboBox.cpp | 602 ----- .../hbqt/qtgui/g/QCommandLinkButton.cpp | 109 - harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp | 87 - harbour/contrib/hbqt/qtgui/g/QCompleter.cpp | 334 --- .../contrib/hbqt/qtgui/g/QConicalGradient.cpp | 130 - .../hbqt/qtgui/g/QContextMenuEvent.cpp | 143 - harbour/contrib/hbqt/qtgui/g/QCursor.cpp | 194 -- harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp | 88 - .../contrib/hbqt/qtgui/g/QDateTimeEdit.cpp | 451 ---- .../contrib/hbqt/qtgui/g/QDesktopServices.cpp | 113 - .../contrib/hbqt/qtgui/g/QDesktopWidget.cpp | 184 -- harbour/contrib/hbqt/qtgui/g/QDial.cpp | 144 - harbour/contrib/hbqt/qtgui/g/QDialog.cpp | 172 -- harbour/contrib/hbqt/qtgui/g/QDirModel.cpp | 401 --- harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp | 190 -- .../contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp | 244 -- .../contrib/hbqt/qtgui/g/QDoubleValidator.cpp | 176 -- harbour/contrib/hbqt/qtgui/g/QDrag.cpp | 181 -- .../contrib/hbqt/qtgui/g/QDragEnterEvent.cpp | 74 - .../contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp | 74 - .../contrib/hbqt/qtgui/g/QDragMoveEvent.cpp | 115 - harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp | 152 -- .../contrib/hbqt/qtgui/g/QErrorMessage.cpp | 112 - harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp | 515 ---- .../hbqt/qtgui/g/QFileIconProvider.cpp | 110 - .../contrib/hbqt/qtgui/g/QFileSystemModel.cpp | 342 --- harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp | 98 - harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp | 104 - harbour/contrib/hbqt/qtgui/g/QFont.cpp | 627 ----- .../contrib/hbqt/qtgui/g/QFontComboBox.cpp | 141 - .../contrib/hbqt/qtgui/g/QFontDatabase.cpp | 324 --- harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp | 233 -- harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp | 187 -- harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp | 347 --- .../contrib/hbqt/qtgui/g/QFontMetricsF.cpp | 336 --- harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp | 394 --- harbour/contrib/hbqt/qtgui/g/QFrame.cpp | 198 -- harbour/contrib/hbqt/qtgui/g/QGradient.cpp | 133 - .../hbqt/qtgui/g/QGraphicsEllipseItem.cpp | 160 -- .../hbqt/qtgui/g/QGraphicsGridLayout.cpp | 426 --- .../contrib/hbqt/qtgui/g/QGraphicsItem.cpp | 1291 --------- .../hbqt/qtgui/g/QGraphicsItemAnimation.cpp | 264 -- .../hbqt/qtgui/g/QGraphicsItemGroup.cpp | 106 - .../contrib/hbqt/qtgui/g/QGraphicsLayout.cpp | 139 - .../hbqt/qtgui/g/QGraphicsLayoutItem.cpp | 368 --- .../hbqt/qtgui/g/QGraphicsLineItem.cpp | 145 -- .../hbqt/qtgui/g/QGraphicsLinearLayout.cpp | 230 -- .../hbqt/qtgui/g/QGraphicsPathItem.cpp | 115 - .../hbqt/qtgui/g/QGraphicsPixmapItem.cpp | 175 -- .../hbqt/qtgui/g/QGraphicsPolygonItem.cpp | 131 - .../hbqt/qtgui/g/QGraphicsProxyWidget.cpp | 127 - .../hbqt/qtgui/g/QGraphicsRectItem.cpp | 128 - .../contrib/hbqt/qtgui/g/QGraphicsScene.cpp | 685 ----- .../g/QGraphicsSceneContextMenuEvent.cpp | 121 - .../qtgui/g/QGraphicsSceneDragDropEvent.cpp | 173 -- .../hbqt/qtgui/g/QGraphicsSceneEvent.cpp | 83 - .../hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp | 93 - .../hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp | 133 - .../hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp | 173 -- .../hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp | 93 - .../qtgui/g/QGraphicsSceneResizeEvent.cpp | 92 - .../hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp | 132 - .../hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp | 139 - .../hbqt/qtgui/g/QGraphicsTextItem.cpp | 286 -- .../contrib/hbqt/qtgui/g/QGraphicsView.cpp | 728 ------ .../contrib/hbqt/qtgui/g/QGraphicsWidget.cpp | 496 ---- harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp | 322 --- harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp | 173 -- harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp | 89 - harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp | 548 ---- harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp | 122 - harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp | 74 - harbour/contrib/hbqt/qtgui/g/QIcon.cpp | 207 -- harbour/contrib/hbqt/qtgui/g/QImage.cpp | 621 ----- harbour/contrib/hbqt/qtgui/g/QImageReader.cpp | 414 --- harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp | 249 -- harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp | 494 ---- harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp | 91 - .../hbqt/qtgui/g/QInputMethodEvent.cpp | 135 - .../contrib/hbqt/qtgui/g/QIntValidator.cpp | 143 - .../contrib/hbqt/qtgui/g/QItemDelegate.cpp | 179 -- .../hbqt/qtgui/g/QItemEditorCreatorBase.cpp | 92 - .../hbqt/qtgui/g/QItemEditorFactory.cpp | 127 - .../contrib/hbqt/qtgui/g/QItemSelection.cpp | 111 - .../hbqt/qtgui/g/QItemSelectionModel.cpp | 222 -- harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp | 147 -- harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp | 164 -- harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp | 250 -- harbour/contrib/hbqt/qtgui/g/QLabel.cpp | 326 --- harbour/contrib/hbqt/qtgui/g/QLayout.cpp | 327 --- harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp | 211 -- harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp | 556 ---- .../contrib/hbqt/qtgui/g/QLinearGradient.cpp | 153 -- harbour/contrib/hbqt/qtgui/g/QListView.cpp | 328 --- harbour/contrib/hbqt/qtgui/g/QListWidget.cpp | 362 --- .../contrib/hbqt/qtgui/g/QListWidgetItem.cpp | 386 --- harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp | 516 ---- harbour/contrib/hbqt/qtgui/g/QMatrix.cpp | 332 --- harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp | 311 --- .../contrib/hbqt/qtgui/g/QMdiSubWindow.cpp | 213 -- harbour/contrib/hbqt/qtgui/g/QMenu.cpp | 393 --- harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp | 222 -- harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp | 452 ---- harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp | 167 -- harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp | 91 - harbour/contrib/hbqt/qtgui/g/QMovie.cpp | 324 --- .../contrib/hbqt/qtgui/g/QPageSetupDialog.cpp | 160 -- harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp | 174 -- harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp | 272 -- harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp | 111 - harbour/contrib/hbqt/qtgui/g/QPainter.cpp | 1586 ----------- harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp | 540 ---- harbour/contrib/hbqt/qtgui/g/QPalette.cpp | 388 --- harbour/contrib/hbqt/qtgui/g/QPen.cpp | 291 --- harbour/contrib/hbqt/qtgui/g/QPicture.cpp | 191 -- harbour/contrib/hbqt/qtgui/g/QPixmap.cpp | 466 ---- .../hbqt/qtgui/g/QPlainTextDocumentLayout.cpp | 123 - .../contrib/hbqt/qtgui/g/QPlainTextEdit.cpp | 592 ----- harbour/contrib/hbqt/qtgui/g/QPolygon.cpp | 205 -- harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp | 159 -- harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp | 164 -- harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp | 127 - .../hbqt/qtgui/g/QPrintPreviewDialog.cpp | 108 - harbour/contrib/hbqt/qtgui/g/QPrinter.cpp | 591 ----- harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp | 139 - harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp | 264 -- .../contrib/hbqt/qtgui/g/QProgressDialog.cpp | 289 --- harbour/contrib/hbqt/qtgui/g/QPushButton.cpp | 162 -- .../contrib/hbqt/qtgui/g/QRadialGradient.cpp | 175 -- harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp | 91 - .../contrib/hbqt/qtgui/g/QRegExpValidator.cpp | 119 - harbour/contrib/hbqt/qtgui/g/QRegion.cpp | 277 -- harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp | 90 - harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp | 160 -- harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp | 89 - .../contrib/hbqt/qtgui/g/QSessionManager.cpp | 214 -- harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp | 74 - harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp | 88 - harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp | 214 -- harbour/contrib/hbqt/qtgui/g/QSlider.cpp | 128 - .../hbqt/qtgui/g/QSortFilterProxyModel.cpp | 299 --- harbour/contrib/hbqt/qtgui/g/QSound.cpp | 148 -- harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp | 115 - harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp | 207 -- .../contrib/hbqt/qtgui/g/QSplashScreen.cpp | 141 - harbour/contrib/hbqt/qtgui/g/QSplitter.cpp | 273 -- .../contrib/hbqt/qtgui/g/QStackedWidget.cpp | 169 -- .../contrib/hbqt/qtgui/g/QStandardItem.cpp | 706 ----- .../hbqt/qtgui/g/QStandardItemModel.cpp | 327 --- harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp | 178 -- .../contrib/hbqt/qtgui/g/QStringListModel.cpp | 152 -- harbour/contrib/hbqt/qtgui/g/QStyle.cpp | 330 --- .../contrib/hbqt/qtgui/g/QStyleFactory.cpp | 103 - .../contrib/hbqt/qtgui/g/QStyleHintReturn.cpp | 84 - .../hbqt/qtgui/g/QStyleHintReturnMask.cpp | 82 - .../hbqt/qtgui/g/QStyleHintReturnVariant.cpp | 83 - harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp | 154 -- .../hbqt/qtgui/g/QStyleOptionButton.cpp | 122 - .../hbqt/qtgui/g/QStyleOptionComboBox.cpp | 136 - .../hbqt/qtgui/g/QStyleOptionComplex.cpp | 104 - .../hbqt/qtgui/g/QStyleOptionDockWidget.cpp | 120 - .../hbqt/qtgui/g/QStyleOptionFocusRect.cpp | 96 - .../hbqt/qtgui/g/QStyleOptionFrame.cpp | 104 - .../hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp | 114 - .../hbqt/qtgui/g/QStyleOptionGroupBox.cpp | 136 - .../hbqt/qtgui/g/QStyleOptionHeader.cpp | 163 -- .../hbqt/qtgui/g/QStyleOptionMenuItem.cpp | 170 -- .../hbqt/qtgui/g/QStyleOptionProgressBar.cpp | 137 - .../hbqt/qtgui/g/QStyleOptionSizeGrip.cpp | 96 - .../hbqt/qtgui/g/QStyleOptionSlider.cpp | 184 -- .../hbqt/qtgui/g/QStyleOptionSpinBox.cpp | 112 - .../contrib/hbqt/qtgui/g/QStyleOptionTab.cpp | 148 -- .../hbqt/qtgui/g/QStyleOptionTabBarBase.cpp | 112 - .../qtgui/g/QStyleOptionTabWidgetFrame.cpp | 136 - .../hbqt/qtgui/g/QStyleOptionTitleBar.cpp | 120 - .../hbqt/qtgui/g/QStyleOptionToolBar.cpp | 139 - .../hbqt/qtgui/g/QStyleOptionToolBox.cpp | 104 - .../hbqt/qtgui/g/QStyleOptionToolButton.cpp | 154 -- .../hbqt/qtgui/g/QStyleOptionViewItem.cpp | 145 -- .../contrib/hbqt/qtgui/g/QStylePainter.cpp | 152 -- .../hbqt/qtgui/g/QStyledItemDelegate.cpp | 149 -- .../hbqt/qtgui/g/QSyntaxHighlighter.cpp | 101 - .../contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp | 214 -- harbour/contrib/hbqt/qtgui/g/QTabBar.cpp | 473 ---- harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp | 451 ---- harbour/contrib/hbqt/qtgui/g/QTableView.cpp | 424 --- harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp | 506 ---- .../contrib/hbqt/qtgui/g/QTableWidgetItem.cpp | 401 --- .../qtgui/g/QTableWidgetSelectionRange.cpp | 132 - harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp | 311 --- .../contrib/hbqt/qtgui/g/QTextBlockFormat.cpp | 254 -- .../contrib/hbqt/qtgui/g/QTextBlockGroup.cpp | 81 - harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp | 247 -- .../contrib/hbqt/qtgui/g/QTextCharFormat.cpp | 476 ---- harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp | 623 ----- .../contrib/hbqt/qtgui/g/QTextDocument.cpp | 661 ----- .../hbqt/qtgui/g/QTextDocumentFragment.cpp | 154 -- .../hbqt/qtgui/g/QTextDocumentWriter.cpp | 169 -- harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp | 792 ------ harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp | 430 --- .../contrib/hbqt/qtgui/g/QTextFragment.cpp | 139 - harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp | 158 -- .../contrib/hbqt/qtgui/g/QTextFrameFormat.cpp | 324 --- .../contrib/hbqt/qtgui/g/QTextImageFormat.cpp | 143 - .../hbqt/qtgui/g/QTextInlineObject.cpp | 179 -- harbour/contrib/hbqt/qtgui/g/QTextItem.cpp | 136 - harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp | 337 --- harbour/contrib/hbqt/qtgui/g/QTextLength.cpp | 111 - harbour/contrib/hbqt/qtgui/g/QTextLine.cpp | 263 -- harbour/contrib/hbqt/qtgui/g/QTextList.cpp | 147 -- .../contrib/hbqt/qtgui/g/QTextListFormat.cpp | 126 - harbour/contrib/hbqt/qtgui/g/QTextObject.cpp | 106 - harbour/contrib/hbqt/qtgui/g/QTextOption.cpp | 204 -- .../contrib/hbqt/qtgui/g/QTextTableFormat.cpp | 173 -- harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp | 88 - harbour/contrib/hbqt/qtgui/g/QToolBar.cpp | 336 --- harbour/contrib/hbqt/qtgui/g/QToolBox.cpp | 272 -- harbour/contrib/hbqt/qtgui/g/QToolButton.cpp | 196 -- harbour/contrib/hbqt/qtgui/g/QTransform.cpp | 496 ---- harbour/contrib/hbqt/qtgui/g/QTreeView.cpp | 492 ---- harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp | 427 --- .../contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp | 550 ---- harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp | 89 - harbour/contrib/hbqt/qtgui/g/QValidator.cpp | 99 - harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp | 147 -- harbour/contrib/hbqt/qtgui/g/QWidget.cpp | 1822 ------------- .../contrib/hbqt/qtgui/g/QWidgetAction.cpp | 120 - harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp | 98 - .../hbqt/qtgui/g/QWindowStateChangeEvent.cpp | 82 - .../contrib/hbqt/qtgui/g/QWindowsStyle.cpp | 89 - harbour/contrib/hbqt/qtgui/g/QWizard.cpp | 392 --- harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp | 234 -- .../hbqt/qtgui/g/THBQAbstractItemModel.prg | 78 - .../contrib/hbqt/qtgui/g/THBQGraphicsItem.prg | 816 ------ .../hbqt/qtgui/g/THBQGraphicsScene.prg | 273 -- .../hbqt/qtgui/g/THBQPlainTextEdit.prg | 668 ----- .../hbqt/qtgui/g/THBQSyntaxHighlighter.prg | 128 - .../contrib/hbqt/qtgui/g/THBQTableView.prg | 63 - .../hbqt/qtgui/g/THBQTextBlockUserData.prg | 72 - .../contrib/hbqt/qtgui/g/TQAbstractButton.prg | 334 --- .../qtgui/g/TQAbstractGraphicsShapeItem.prg | 94 - .../hbqt/qtgui/g/TQAbstractItemDelegate.prg | 141 - .../hbqt/qtgui/g/TQAbstractItemView.prg | 769 ------ .../hbqt/qtgui/g/TQAbstractPrintDialog.prg | 152 -- .../hbqt/qtgui/g/TQAbstractProxyModel.prg | 124 - .../hbqt/qtgui/g/TQAbstractScrollArea.prg | 204 -- .../contrib/hbqt/qtgui/g/TQAbstractSlider.prg | 318 --- .../hbqt/qtgui/g/TQAbstractSpinBox.prg | 324 --- .../qtgui/g/TQAbstractTextDocumentLayout.prg | 164 -- harbour/contrib/hbqt/qtgui/g/TQAction.prg | 598 ----- .../contrib/hbqt/qtgui/g/TQActionGroup.prg | 183 -- .../contrib/hbqt/qtgui/g/TQApplication.prg | 822 ------ harbour/contrib/hbqt/qtgui/g/TQBitmap.prg | 131 - harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg | 335 --- harbour/contrib/hbqt/qtgui/g/TQBrush.prg | 203 -- .../contrib/hbqt/qtgui/g/TQButtonGroup.prg | 171 -- .../contrib/hbqt/qtgui/g/TQCalendarWidget.prg | 464 ---- harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg | 96 - harbour/contrib/hbqt/qtgui/g/TQClipboard.prg | 231 -- harbour/contrib/hbqt/qtgui/g/TQColor.prg | 908 ------- .../contrib/hbqt/qtgui/g/TQColorDialog.prg | 239 -- harbour/contrib/hbqt/qtgui/g/TQComboBox.prg | 770 ------ .../hbqt/qtgui/g/TQCommandLinkButton.prg | 72 - .../contrib/hbqt/qtgui/g/TQCommonStyle.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQCompleter.prg | 369 --- .../hbqt/qtgui/g/TQConicalGradient.prg | 101 - .../hbqt/qtgui/g/TQContextMenuEvent.prg | 113 - harbour/contrib/hbqt/qtgui/g/TQCursor.prg | 137 - harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg | 50 - .../contrib/hbqt/qtgui/g/TQDateTimeEdit.prg | 530 ---- .../hbqt/qtgui/g/TQDesktopServices.prg | 115 - .../contrib/hbqt/qtgui/g/TQDesktopWidget.prg | 161 -- harbour/contrib/hbqt/qtgui/g/TQDial.prg | 125 - harbour/contrib/hbqt/qtgui/g/TQDialog.prg | 156 -- harbour/contrib/hbqt/qtgui/g/TQDirModel.prg | 529 ---- harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg | 182 -- .../contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg | 252 -- .../hbqt/qtgui/g/TQDoubleValidator.prg | 157 -- harbour/contrib/hbqt/qtgui/g/TQDrag.prg | 169 -- .../contrib/hbqt/qtgui/g/TQDragEnterEvent.prg | 50 - .../contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg | 50 - .../contrib/hbqt/qtgui/g/TQDragMoveEvent.prg | 91 - harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg | 144 - .../contrib/hbqt/qtgui/g/TQErrorMessage.prg | 70 - harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg | 584 ----- .../hbqt/qtgui/g/TQFileIconProvider.prg | 79 - .../hbqt/qtgui/g/TQFileSystemModel.prg | 403 --- harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg | 77 - harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg | 72 - harbour/contrib/hbqt/qtgui/g/TQFont.prg | 686 ----- .../contrib/hbqt/qtgui/g/TQFontComboBox.prg | 116 - .../contrib/hbqt/qtgui/g/TQFontDatabase.prg | 362 --- harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg | 186 -- harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg | 158 -- .../contrib/hbqt/qtgui/g/TQFontMetrics.prg | 348 --- .../contrib/hbqt/qtgui/g/TQFontMetricsF.prg | 323 --- harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg | 387 --- harbour/contrib/hbqt/qtgui/g/TQFrame.prg | 191 -- harbour/contrib/hbqt/qtgui/g/TQGradient.prg | 116 - .../hbqt/qtgui/g/TQGraphicsEllipseItem.prg | 123 - .../hbqt/qtgui/g/TQGraphicsGridLayout.prg | 576 ---- .../contrib/hbqt/qtgui/g/TQGraphicsItem.prg | 1572 ----------- .../hbqt/qtgui/g/TQGraphicsItemAnimation.prg | 298 --- .../hbqt/qtgui/g/TQGraphicsItemGroup.prg | 76 - .../contrib/hbqt/qtgui/g/TQGraphicsLayout.prg | 138 - .../hbqt/qtgui/g/TQGraphicsLayoutItem.prg | 425 --- .../hbqt/qtgui/g/TQGraphicsLineItem.prg | 101 - .../hbqt/qtgui/g/TQGraphicsLinearLayout.prg | 258 -- .../hbqt/qtgui/g/TQGraphicsPathItem.prg | 72 - .../hbqt/qtgui/g/TQGraphicsPixmapItem.prg | 145 -- .../hbqt/qtgui/g/TQGraphicsPolygonItem.prg | 94 - .../hbqt/qtgui/g/TQGraphicsProxyWidget.prg | 98 - .../hbqt/qtgui/g/TQGraphicsRectItem.prg | 79 - .../contrib/hbqt/qtgui/g/TQGraphicsScene.prg | 929 ------- .../g/TQGraphicsSceneContextMenuEvent.prg | 95 - .../qtgui/g/TQGraphicsSceneDragDropEvent.prg | 162 -- .../hbqt/qtgui/g/TQGraphicsSceneEvent.prg | 59 - .../hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg | 68 - .../qtgui/g/TQGraphicsSceneHoverEvent.prg | 113 - .../qtgui/g/TQGraphicsSceneMouseEvent.prg | 170 -- .../hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg | 68 - .../qtgui/g/TQGraphicsSceneResizeEvent.prg | 68 - .../qtgui/g/TQGraphicsSceneWheelEvent.prg | 113 - .../hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg | 94 - .../hbqt/qtgui/g/TQGraphicsTextItem.prg | 279 -- .../contrib/hbqt/qtgui/g/TQGraphicsView.prg | 896 ------- .../contrib/hbqt/qtgui/g/TQGraphicsWidget.prg | 580 ----- harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg | 394 --- harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg | 160 -- harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg | 681 ----- harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg | 104 - harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQIcon.prg | 258 -- harbour/contrib/hbqt/qtgui/g/TQImage.prg | 754 ------ .../contrib/hbqt/qtgui/g/TQImageReader.prg | 439 ---- .../contrib/hbqt/qtgui/g/TQImageWriter.prg | 257 -- .../contrib/hbqt/qtgui/g/TQInputDialog.prg | 680 ----- harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg | 59 - .../hbqt/qtgui/g/TQInputMethodEvent.prg | 111 - .../contrib/hbqt/qtgui/g/TQIntValidator.prg | 107 - .../contrib/hbqt/qtgui/g/TQItemDelegate.prg | 172 -- .../hbqt/qtgui/g/TQItemEditorCreatorBase.prg | 72 - .../hbqt/qtgui/g/TQItemEditorFactory.prg | 102 - .../contrib/hbqt/qtgui/g/TQItemSelection.prg | 89 - .../hbqt/qtgui/g/TQItemSelectionModel.prg | 210 -- harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg | 135 - .../contrib/hbqt/qtgui/g/TQKeySequence.prg | 141 - harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg | 225 -- harbour/contrib/hbqt/qtgui/g/TQLabel.prg | 360 --- harbour/contrib/hbqt/qtgui/g/TQLayout.prg | 366 --- harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg | 219 -- harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg | 649 ----- .../contrib/hbqt/qtgui/g/TQLinearGradient.prg | 108 - harbour/contrib/hbqt/qtgui/g/TQListView.prg | 371 --- harbour/contrib/hbqt/qtgui/g/TQListWidget.prg | 412 --- .../contrib/hbqt/qtgui/g/TQListWidgetItem.prg | 437 ---- harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg | 623 ----- harbour/contrib/hbqt/qtgui/g/TQMatrix.prg | 298 --- harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg | 346 --- .../contrib/hbqt/qtgui/g/TQMdiSubWindow.prg | 206 -- harbour/contrib/hbqt/qtgui/g/TQMenu.prg | 397 --- harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg | 184 -- harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg | 527 ---- harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg | 131 - harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg | 68 - harbour/contrib/hbqt/qtgui/g/TQMovie.prg | 338 --- .../hbqt/qtgui/g/TQPageSetupDialog.prg | 148 -- .../contrib/hbqt/qtgui/g/TQPaintDevice.prg | 158 -- .../contrib/hbqt/qtgui/g/TQPaintEngine.prg | 300 --- harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg | 68 - harbour/contrib/hbqt/qtgui/g/TQPainter.prg | 1788 ------------- .../contrib/hbqt/qtgui/g/TQPainterPath.prg | 632 ----- harbour/contrib/hbqt/qtgui/g/TQPalette.prg | 397 --- harbour/contrib/hbqt/qtgui/g/TQPen.prg | 279 -- harbour/contrib/hbqt/qtgui/g/TQPicture.prg | 173 -- harbour/contrib/hbqt/qtgui/g/TQPixmap.prg | 561 ---- .../qtgui/g/TQPlainTextDocumentLayout.prg | 94 - .../contrib/hbqt/qtgui/g/TQPlainTextEdit.prg | 677 ----- harbour/contrib/hbqt/qtgui/g/TQPolygon.prg | 203 -- harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg | 149 -- .../contrib/hbqt/qtgui/g/TQPrintDialog.prg | 152 -- .../contrib/hbqt/qtgui/g/TQPrintEngine.prg | 116 - .../hbqt/qtgui/g/TQPrintPreviewDialog.prg | 72 - harbour/contrib/hbqt/qtgui/g/TQPrinter.prg | 634 ----- .../contrib/hbqt/qtgui/g/TQPrinterInfo.prg | 95 - .../contrib/hbqt/qtgui/g/TQProgressBar.prg | 279 -- .../contrib/hbqt/qtgui/g/TQProgressDialog.prg | 318 --- harbour/contrib/hbqt/qtgui/g/TQPushButton.prg | 147 -- .../contrib/hbqt/qtgui/g/TQRadialGradient.prg | 130 - .../contrib/hbqt/qtgui/g/TQRadioButton.prg | 50 - .../hbqt/qtgui/g/TQRegExpValidator.prg | 72 - harbour/contrib/hbqt/qtgui/g/TQRegion.prg | 232 -- .../contrib/hbqt/qtgui/g/TQResizeEvent.prg | 68 - harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg | 175 -- harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg | 50 - .../contrib/hbqt/qtgui/g/TQSessionManager.prg | 204 -- harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg | 200 -- harbour/contrib/hbqt/qtgui/g/TQSlider.prg | 94 - .../hbqt/qtgui/g/TQSortFilterProxyModel.prg | 308 --- harbour/contrib/hbqt/qtgui/g/TQSound.prg | 121 - harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg | 93 - harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg | 204 -- .../contrib/hbqt/qtgui/g/TQSplashScreen.prg | 128 - harbour/contrib/hbqt/qtgui/g/TQSplitter.prg | 293 --- .../contrib/hbqt/qtgui/g/TQStackedWidget.prg | 168 -- .../contrib/hbqt/qtgui/g/TQStandardItem.prg | 895 ------- .../hbqt/qtgui/g/TQStandardItemModel.prg | 425 --- harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg | 198 -- .../hbqt/qtgui/g/TQStringListModel.prg | 170 -- harbour/contrib/hbqt/qtgui/g/TQStyle.prg | 525 ---- .../contrib/hbqt/qtgui/g/TQStyleFactory.prg | 72 - .../hbqt/qtgui/g/TQStyleHintReturn.prg | 50 - .../hbqt/qtgui/g/TQStyleHintReturnMask.prg | 50 - .../hbqt/qtgui/g/TQStyleHintReturnVariant.prg | 50 - .../contrib/hbqt/qtgui/g/TQStyleOption.prg | 126 - .../hbqt/qtgui/g/TQStyleOptionButton.prg | 86 - .../hbqt/qtgui/g/TQStyleOptionComboBox.prg | 104 - .../hbqt/qtgui/g/TQStyleOptionComplex.prg | 68 - .../hbqt/qtgui/g/TQStyleOptionDockWidget.prg | 86 - .../hbqt/qtgui/g/TQStyleOptionFocusRect.prg | 59 - .../hbqt/qtgui/g/TQStyleOptionFrame.prg | 68 - .../qtgui/g/TQStyleOptionGraphicsItem.prg | 77 - .../hbqt/qtgui/g/TQStyleOptionGroupBox.prg | 104 - .../hbqt/qtgui/g/TQStyleOptionHeader.prg | 131 - .../hbqt/qtgui/g/TQStyleOptionMenuItem.prg | 140 - .../hbqt/qtgui/g/TQStyleOptionProgressBar.prg | 104 - .../hbqt/qtgui/g/TQStyleOptionSizeGrip.prg | 59 - .../hbqt/qtgui/g/TQStyleOptionSlider.prg | 158 -- .../hbqt/qtgui/g/TQStyleOptionSpinBox.prg | 77 - .../contrib/hbqt/qtgui/g/TQStyleOptionTab.prg | 113 - .../hbqt/qtgui/g/TQStyleOptionTabBarBase.prg | 77 - .../qtgui/g/TQStyleOptionTabWidgetFrame.prg | 104 - .../hbqt/qtgui/g/TQStyleOptionTitleBar.prg | 86 - .../hbqt/qtgui/g/TQStyleOptionToolBar.prg | 104 - .../hbqt/qtgui/g/TQStyleOptionToolBox.prg | 68 - .../hbqt/qtgui/g/TQStyleOptionToolButton.prg | 122 - .../hbqt/qtgui/g/TQStyleOptionViewItem.prg | 113 - .../contrib/hbqt/qtgui/g/TQStylePainter.prg | 150 -- .../hbqt/qtgui/g/TQStyledItemDelegate.prg | 141 - .../hbqt/qtgui/g/TQSyntaxHighlighter.prg | 81 - .../contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg | 208 -- harbour/contrib/hbqt/qtgui/g/TQTabBar.prg | 574 ---- harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg | 531 ---- harbour/contrib/hbqt/qtgui/g/TQTableView.prg | 556 ---- .../contrib/hbqt/qtgui/g/TQTableWidget.prg | 641 ----- .../hbqt/qtgui/g/TQTableWidgetItem.prg | 433 ---- .../qtgui/g/TQTableWidgetSelectionRange.prg | 104 - harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg | 317 --- .../hbqt/qtgui/g/TQTextBlockFormat.prg | 257 -- .../contrib/hbqt/qtgui/g/TQTextBlockGroup.prg | 50 - .../contrib/hbqt/qtgui/g/TQTextBrowser.prg | 258 -- .../contrib/hbqt/qtgui/g/TQTextCharFormat.prg | 571 ---- harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg | 639 ----- .../contrib/hbqt/qtgui/g/TQTextDocument.prg | 783 ------ .../hbqt/qtgui/g/TQTextDocumentFragment.prg | 117 - .../hbqt/qtgui/g/TQTextDocumentWriter.prg | 157 -- harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg | 955 ------- harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg | 491 ---- .../contrib/hbqt/qtgui/g/TQTextFragment.prg | 117 - harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg | 126 - .../hbqt/qtgui/g/TQTextFrameFormat.prg | 351 --- .../hbqt/qtgui/g/TQTextImageFormat.prg | 125 - .../hbqt/qtgui/g/TQTextInlineObject.prg | 179 -- harbour/contrib/hbqt/qtgui/g/TQTextItem.prg | 104 - harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg | 369 --- harbour/contrib/hbqt/qtgui/g/TQTextLength.prg | 81 - harbour/contrib/hbqt/qtgui/g/TQTextLine.prg | 263 -- harbour/contrib/hbqt/qtgui/g/TQTextList.prg | 159 -- .../contrib/hbqt/qtgui/g/TQTextListFormat.prg | 103 - harbour/contrib/hbqt/qtgui/g/TQTextObject.prg | 86 - harbour/contrib/hbqt/qtgui/g/TQTextOption.prg | 191 -- .../hbqt/qtgui/g/TQTextTableFormat.prg | 165 -- harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQToolBar.prg | 340 --- harbour/contrib/hbqt/qtgui/g/TQToolBox.prg | 286 -- harbour/contrib/hbqt/qtgui/g/TQToolButton.prg | 191 -- harbour/contrib/hbqt/qtgui/g/TQTransform.prg | 514 ---- harbour/contrib/hbqt/qtgui/g/TQTreeView.prg | 637 ----- harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg | 533 ---- .../contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg | 683 ----- harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQValidator.prg | 72 - harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg | 131 - harbour/contrib/hbqt/qtgui/g/TQWidget.prg | 2199 ---------------- .../contrib/hbqt/qtgui/g/TQWidgetAction.prg | 98 - harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg | 68 - .../hbqt/qtgui/g/TQWindowStateChangeEvent.prg | 59 - .../contrib/hbqt/qtgui/g/TQWindowsStyle.prg | 50 - harbour/contrib/hbqt/qtgui/g/TQWizard.prg | 455 ---- harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg | 235 -- harbour/contrib/hbqt/qtgui/g/filelist.hbm | 533 ---- harbour/contrib/hbqt/qtgui/g/hbqtgui.h | 1068 -------- .../hbqt/qtnetwork/doc/en/class_qftp.txt | 74 - .../hbqt/qtnetwork/doc/en/class_qhttp.txt | 72 - .../qtnetwork/doc/en/class_qhttpheader.txt | 66 - .../doc/en/class_qhttprequestheader.txt | 53 - .../doc/en/class_qhttpresponseheader.txt | 53 - .../doc/en/class_qnetworkrequest.txt | 58 - harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp | 375 --- harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp | 342 --- .../contrib/hbqt/qtnetwork/g/QHttpHeader.cpp | 256 -- .../hbqt/qtnetwork/g/QHttpRequestHeader.cpp | 128 - .../hbqt/qtnetwork/g/QHttpResponseHeader.cpp | 128 - .../hbqt/qtnetwork/g/QNetworkRequest.cpp | 174 -- harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg | 372 --- harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg | 345 --- .../contrib/hbqt/qtnetwork/g/TQHttpHeader.prg | 248 -- .../hbqt/qtnetwork/g/TQHttpRequestHeader.prg | 111 - .../hbqt/qtnetwork/g/TQHttpResponseHeader.prg | 117 - .../hbqt/qtnetwork/g/TQNetworkRequest.prg | 178 -- harbour/contrib/hbqt/qtnetwork/g/filelist.hbm | 23 - .../contrib/hbqt/qtnetwork/g/hbqtnetwork.h | 48 - .../hbqt/qtuitools/doc/en/class_quiloader.txt | 62 - .../contrib/hbqt/qtuitools/g/QUiLoader.cpp | 230 -- .../contrib/hbqt/qtuitools/g/TQUiLoader.prg | 254 -- harbour/contrib/hbqt/qtuitools/g/filelist.hbm | 13 - .../contrib/hbqt/qtuitools/g/hbqtuitools.h | 28 - .../hbqt/qtwebkit/doc/en/class_qwebframe.txt | 86 - .../qtwebkit/doc/en/class_qwebhistory.txt | 65 - .../doc/en/class_qwebhistoryinterface.txt | 52 - .../qtwebkit/doc/en/class_qwebhistoryitem.txt | 56 - .../doc/en/class_qwebhittestresult.txt | 62 - .../hbqt/qtwebkit/doc/en/class_qwebpage.txt | 79 - .../doc/en/class_qwebpluginfactory.txt | 51 - .../doc/en/class_qwebsecurityorigin.txt | 55 - .../qtwebkit/doc/en/class_qwebsettings.txt | 73 - .../hbqt/qtwebkit/doc/en/class_qwebview.txt | 74 - harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp | 407 --- .../contrib/hbqt/qtwebkit/g/QWebHistory.cpp | 210 -- .../hbqt/qtwebkit/g/QWebHistoryInterface.cpp | 115 - .../hbqt/qtwebkit/g/QWebHistoryItem.cpp | 153 -- .../hbqt/qtwebkit/g/QWebHitTestResult.cpp | 198 -- harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp | 360 --- .../hbqt/qtwebkit/g/QWebPluginFactory.cpp | 115 - .../hbqt/qtwebkit/g/QWebSecurityOrigin.cpp | 146 -- .../contrib/hbqt/qtwebkit/g/QWebSettings.cpp | 296 --- harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp | 311 --- .../contrib/hbqt/qtwebkit/g/TQWebFrame.prg | 482 ---- .../contrib/hbqt/qtwebkit/g/TQWebHistory.prg | 223 -- .../hbqt/qtwebkit/g/TQWebHistoryInterface.prg | 98 - .../hbqt/qtwebkit/g/TQWebHistoryItem.prg | 126 - .../hbqt/qtwebkit/g/TQWebHitTestResult.prg | 176 -- harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg | 401 --- .../hbqt/qtwebkit/g/TQWebPluginFactory.prg | 85 - .../hbqt/qtwebkit/g/TQWebSecurityOrigin.prg | 117 - .../contrib/hbqt/qtwebkit/g/TQWebSettings.prg | 347 --- harbour/contrib/hbqt/qtwebkit/g/TQWebView.prg | 367 --- harbour/contrib/hbqt/qtwebkit/g/filelist.hbm | 31 - harbour/contrib/hbqt/qtwebkit/g/hbqtwebkit.h | 64 - .../contrib/hbqt/{utils => tests}/QtCore.txt | 0 .../contrib/hbqt/{utils => tests}/QtGui.txt | 0 .../hbqt/{utils => tests}/QtNetwork.txt | 0 .../hbqt/{utils => tests}/QtUiTools.txt | 0 .../contrib/hbqt/{utils => tests}/hbqtgen.prg | 0 .../hbqt/{utils => tests}/hbqtgen2.prg | 0 harbour/contrib/hbqt/utils/hbmk.hbm | 5 - harbour/contrib/hbqt/utils/qscintilla.qtp | 21 - harbour/contrib/hbqt/utils/qtcore.qtp | 72 - harbour/contrib/hbqt/utils/qtdesigner.qtp | 16 - harbour/contrib/hbqt/utils/qtgui.qtp | 272 -- harbour/contrib/hbqt/utils/qtnetwork.qtp | 14 - harbour/contrib/hbqt/utils/qtuitools.qtp | 9 - harbour/contrib/hbqt/utils/qtwebkit.qtp | 18 - 1106 files changed, 45 insertions(+), 217198 deletions(-) delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt delete mode 100644 harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp delete mode 100644 harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg delete mode 100644 harbour/contrib/hbqt/qscintilla/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qscintilla/g/hbqscintilla.h delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_hbqstring.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qgenericargument.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmetaclassinfo.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmetaenum.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmetamethod.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmetaobject.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmetaproperty.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmetatype.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qstringref.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt delete mode 100644 harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt delete mode 100644 harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/HBQString.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QBitArray.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QBuffer.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QByteArray.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QChar.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QDataStream.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QDate.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QDateTime.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QDir.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QFile.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QGenericArgument.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QGenericReturnArgument.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QIODevice.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QLine.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QLineF.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QList.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QLocale.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMetaClassInfo.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMetaEnum.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMetaMethod.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMetaObject.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMetaProperty.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMetaType.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QMimeData.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QObject.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QPoint.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QPointF.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QProcess.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QRect.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QRectF.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QRegExp.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QResource.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QSettings.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QSize.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QSizeF.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QStringList.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QStringRef.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTextStream.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QThread.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTime.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTimer.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QTranslator.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QUrl.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/QVariant.cpp delete mode 100644 harbour/contrib/hbqt/qtcore/g/THBQEvents.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/THBQSlots.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/THBQString.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQBitArray.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQBuffer.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQByteArray.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQChar.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQDataStream.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQDate.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQDateTime.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQDir.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQEvent.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQFile.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQGenericArgument.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQGenericReturnArgument.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQIODevice.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQLine.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQLineF.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQList.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQLocale.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMetaClassInfo.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMetaEnum.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMetaMethod.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMetaObject.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMetaProperty.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMetaType.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQMimeData.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQObject.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQPoint.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQPointF.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQProcess.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQRect.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQRectF.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQRegExp.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQResource.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQSettings.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQSize.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQSizeF.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQStringList.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQStringRef.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTextStream.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQThread.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTime.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTimer.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQTranslator.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQUrl.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/TQVariant.prg delete mode 100644 harbour/contrib/hbqt/qtcore/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qtcore/g/hbqtcore.h delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qtdesigner/g/hbqtdesigner.h delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdateedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qhideevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qshowevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt delete mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QAction.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QApplication.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QBitmap.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QBrush.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QClipboard.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QColor.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QComboBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QCompleter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QCursor.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDesktopWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDial.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDirModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDrag.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFont.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QFrame.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGradient.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QIcon.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QImage.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QImageReader.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QLabel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QListView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QListWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMatrix.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMenu.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QMovie.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPainter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPalette.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPen.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPicture.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPixmap.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPolygon.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPrinter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QPushButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QRegion.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSlider.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSound.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSplitter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyle.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTabBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTableView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextLength.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextLine.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextList.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextObject.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextOption.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QToolBar.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QToolBox.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QToolButton.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTransform.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTreeView.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QValidator.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWidget.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWizard.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQTableView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQAction.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQApplication.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQBitmap.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQBrush.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQClipboard.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQColor.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQComboBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQCompleter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQCursor.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDial.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDirModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDrag.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFont.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQFrame.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGradient.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQIcon.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQImage.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQImageReader.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQLabel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQListView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQListWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMatrix.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMenu.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQMovie.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPainter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPalette.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPen.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPicture.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPixmap.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPolygon.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPrinter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQPushButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQRegion.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSlider.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSound.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSplitter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyle.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTabBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTableView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextLength.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextLine.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextList.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextObject.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextOption.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQToolBar.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQToolBox.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQToolButton.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTransform.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTreeView.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQValidator.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWidget.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWizard.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg delete mode 100644 harbour/contrib/hbqt/qtgui/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qtgui/g/hbqtgui.h delete mode 100644 harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt delete mode 100644 harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt delete mode 100644 harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt delete mode 100644 harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt delete mode 100644 harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt delete mode 100644 harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qtnetwork/g/hbqtnetwork.h delete mode 100644 harbour/contrib/hbqt/qtuitools/doc/en/class_quiloader.txt delete mode 100644 harbour/contrib/hbqt/qtuitools/g/QUiLoader.cpp delete mode 100644 harbour/contrib/hbqt/qtuitools/g/TQUiLoader.prg delete mode 100644 harbour/contrib/hbqt/qtuitools/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qtuitools/g/hbqtuitools.h delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebSecurityOrigin.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebSettings.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/TQWebView.prg delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/filelist.hbm delete mode 100644 harbour/contrib/hbqt/qtwebkit/g/hbqtwebkit.h rename harbour/contrib/hbqt/{utils => tests}/QtCore.txt (100%) rename harbour/contrib/hbqt/{utils => tests}/QtGui.txt (100%) rename harbour/contrib/hbqt/{utils => tests}/QtNetwork.txt (100%) rename harbour/contrib/hbqt/{utils => tests}/QtUiTools.txt (100%) rename harbour/contrib/hbqt/{utils => tests}/hbqtgen.prg (100%) rename harbour/contrib/hbqt/{utils => tests}/hbqtgen2.prg (100%) delete mode 100644 harbour/contrib/hbqt/utils/hbmk.hbm delete mode 100644 harbour/contrib/hbqt/utils/qscintilla.qtp delete mode 100644 harbour/contrib/hbqt/utils/qtcore.qtp delete mode 100644 harbour/contrib/hbqt/utils/qtdesigner.qtp delete mode 100644 harbour/contrib/hbqt/utils/qtgui.qtp delete mode 100644 harbour/contrib/hbqt/utils/qtnetwork.qtp delete mode 100644 harbour/contrib/hbqt/utils/qtuitools.qtp delete mode 100644 harbour/contrib/hbqt/utils/qtwebkit.qtp diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 303947c2d9..bd2bc523c8 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,11 +16,54 @@ The license applies to all entries newer than 2009-04-28. */ +2010-11-04 12:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + - contrib/hbqt/qtgui/g + - contrib/hbqt/qtgui/doc/en/*.txt + - contrib/hbqt/qtwebkit/g + - contrib/hbqt/qtwebkit/doc/en/*.txt + - contrib/hbqt/qtcore/g + - contrib/hbqt/qtcore/doc/en/*.txt + - contrib/hbqt/qtnetwork/g + - contrib/hbqt/qtnetwork/doc/en/*.txt + - contrib/hbqt/qscintilla/g + - contrib/hbqt/qscintilla/doc/en/*.txt + - contrib/hbqt/qtuitools/g + - contrib/hbqt/qtuitools/doc/en/*.txt + - contrib/hbqt/qtdesigner/g + - contrib/hbqt/qtdesigner/doc/en/*.txt + - Deleted generated files which are now created + dynamically. + + - contrib/hbqt/utils + - Deleted utils dir. + + + contrib/hbqt/tests/hbqtgen.prg + + contrib/hbqt/tests/QtUiTools.txt + + contrib/hbqt/tests/hbqtgen2.prg + + contrib/hbqt/tests/QtGui.txt + + contrib/hbqt/tests/QtCore.txt + + contrib/hbqt/tests/QtNetwork.txt + * Moved to tests dir. + + * contrib/hbqt/hbqt_hbmk2_plugin.hbs + - Disabled one debug output left in. + + ; After these changes HBQT overall size went from 9.5MB to 1.6MB. + It still makes it the largest contrib lib in terms of dir content size. + ; BTW, most of current .qth content could be dropped by dynamically + extracting information from original QT headers. QT is required anyway + to build HBQT, and in such dynamic scenario the generated wrappers + could always precisely match the QT version we're building against. + Until then, .qth files are matching the QT version they were created + for (currently 4.5), and it needs hefty manual work to update it to newer + versions of QT (latest 4.7). Chances are good that such extraction tool + already exists for PyQt and similar projects. + 2010-11-04 11:23 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sqlbase.c + added timestamp type support in PutValue RDD method * harbour/contrib/hbwin/axcore.c - * commented out debug line to be in sync with commented out + * commented out debug line to be in sync with commented out function that it uses 2010-11-04 05:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) diff --git a/harbour/contrib/hbqt/hbqt_hbmk2_plugin.hbs b/harbour/contrib/hbqt/hbqt_hbmk2_plugin.hbs index 6283f71f9e..929719b3f4 100644 --- a/harbour/contrib/hbqt/hbqt_hbmk2_plugin.hbs +++ b/harbour/contrib/hbqt/hbqt_hbmk2_plugin.hbs @@ -320,7 +320,7 @@ FUNCTION hbmk2_plugin_qt( hbmk2 ) IF lBuildIt IF ! hbmk2[ "lDONTEXEC" ] -OUTSTD( "GEN", cSrc, hb_eol() ) +// OUTSTD( "GEN:", cSrc, hb_eol() ) IF ! qth_to_src( cSrc, cDstCPP, cDstPRG, cDstDOC, hbmk2[ "vars" ][ "qtmodule" ], hbmk2[ "vars" ][ "qtver" ] ) IF ! hbmk2[ "lIGNOREERROR" ] cRetVal := "error" diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt deleted file mode 100644 index b72dda9dcf..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciabstractapis.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciAbstractAPIs() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsciabstractapis.html - * $ONELINER$ - * Creates a new QsciAbstractAPIs object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciAbstractAPIs( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciAbstractAPIs - * $METHODS$ - * :lexer() -> oQsciLexer - * :updateAutoCompletionList( oQStringList, oQStringList ) -> NIL - * :autoCompletionSelected( cSelection ) -> 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/qscintilla/TQsciAbstractAPIs.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciAbstractAPIs.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt deleted file mode 100644 index 4df2dde052..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciapis.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciAPIs() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsciapis.html - * $ONELINER$ - * Creates a new QsciAPIs object. - * $INHERITS$ - * QsciAbstractAPIs - * $SYNTAX$ - * QsciAPIs( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciAPIs - * $METHODS$ - * :add( cEntry ) -> NIL - * :clear() -> NIL - * :load( cFname ) -> lBool - * :remove( cEntry ) -> NIL - * :prepare() -> NIL - * :cancelPreparation() -> NIL - * :defaultPreparedName() -> cQString - * :isPrepared( cFname ) -> lBool - * :loadPrepared( cFname ) -> lBool - * :savePrepared( cFname ) -> lBool - * :updateAutoCompletionList( oQStringList, oQStringList ) -> NIL - * :autoCompletionSelected( cSel ) -> NIL - * :event( oQEvent ) -> lBool - * :installedAPIFiles() -> oQStringList - * - * $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/qscintilla/TQsciAPIs.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciAPIs.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt deleted file mode 100644 index 726d4408d6..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommand.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciCommand() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscicommand.html - * $ONELINER$ - * Creates a new QsciCommand object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciCommand( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciCommand - * $METHODS$ - * :setKey( nKey ) -> NIL - * :setAlternateKey( nAltkey ) -> NIL - * :key() -> nInt - * :alternateKey() -> nInt - * :description() -> cQString - * :validKey( nKey ) -> lBool - * - * $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/qscintilla/TQsciCommand.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciCommand.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt deleted file mode 100644 index 51a80450f0..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscicommandset.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciCommandSet() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscicommandset.html - * $ONELINER$ - * Creates a new QsciCommandSet object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciCommandSet( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciCommandSet - * $METHODS$ - * :readSettings( oQSettings, cPrefix ) -> lBool - * :writeSettings( oQSettings, cPrefix ) -> lBool - * :commands() -> oQList_ QsciCommand * > & - * :clearKeys() -> NIL - * :clearAlternateKeys() -> 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/qscintilla/TQsciCommandSet.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciCommandSet.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt deleted file mode 100644 index d0ec1d6daa..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexer.txt +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciLexer() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscilexer.html - * $ONELINER$ - * Creates a new QsciLexer object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciLexer( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciLexer - * $METHODS$ - * :language() -> cChar - * :lexer() -> cChar - * :lexerId() -> nInt - * :apis() -> oQsciAbstractAPIs - * :autoCompletionFillups() -> cChar - * :autoCompletionWordSeparators() -> oQStringList - * :autoIndentStyle() -> nInt - * :blockEnd( @nStyle ) -> cChar - * :blockLookback() -> nInt - * :blockStart( @nStyle ) -> cChar - * :blockStartKeyword( @nStyle ) -> cChar - * :braceStyle() -> nInt - * :caseSensitive() -> lBool - * :color( nStyle ) -> oQColor - * :eolFill( nStyle ) -> lBool - * :font( nStyle ) -> oQFont - * :indentationGuideView() -> nInt - * :keywords( nSet ) -> cChar - * :defaultStyle() -> nInt - * :description( nStyle ) -> cQString - * :paper( nStyle ) -> oQColor - * :defaultColor() -> oQColor - * :defaultColor( nStyle ) -> oQColor - * :defaultEolFill( nStyle ) -> lBool - * :defaultFont() -> oQFont - * :defaultFont( nStyle ) -> oQFont - * :defaultPaper() -> oQColor - * :defaultPaper( nStyle ) -> oQColor - * :editor() -> oQsciScintilla - * :setEditor( oQsciScintilla ) -> NIL - * :readSettings( oQSettings, cPrefix ) -> lBool - * :refreshProperties() -> NIL - * :styleBitsNeeded() -> nInt - * :wordCharacters() -> cChar - * :writeSettings( oQSettings, cPrefix ) -> lBool - * :setAPIs( oQsciAbstractAPIs ) -> NIL - * :setDefaultColor( oQColor ) -> NIL - * :setDefaultFont( oQFont ) -> NIL - * :setDefaultPaper( oQColor ) -> NIL - * :setAutoIndentStyle( nAutoindentstyle ) -> NIL - * :setColor( oQColor, nStyle ) -> NIL - * :setEolFill( lEoffill, nStyle ) -> NIL - * :setFont( oQFont, nStyle ) -> NIL - * :setPaper( oQColor, nStyle ) -> 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/qscintilla/TQsciLexer.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciLexer.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt deleted file mode 100644 index b84a89c412..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexercpp.txt +++ /dev/null @@ -1,75 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciLexerCPP() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscilexercpp.html - * $ONELINER$ - * Creates a new QsciLexerCPP object. - * $INHERITS$ - * QsciLexer - * $SYNTAX$ - * QsciLexerCPP( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciLexerCPP - * $METHODS$ - * :language() -> cChar - * :lexer() -> cChar - * :autoCompletionWordSeparators() -> oQStringList - * :blockEnd( @nStyle ) -> cChar - * :blockStart( @nStyle ) -> cChar - * :blockStartKeyword( @nStyle ) -> cChar - * :braceStyle() -> nInt - * :wordCharacters() -> cChar - * :defaultColor( nStyle ) -> oQColor - * :defaultEolFill( nStyle ) -> lBool - * :defaultFont( nStyle ) -> oQFont - * :defaultPaper( nStyle ) -> oQColor - * :keywords( nSet ) -> cChar - * :description( nStyle ) -> cQString - * :refreshProperties() -> NIL - * :foldAtElse() -> lBool - * :foldComments() -> lBool - * :foldCompact() -> lBool - * :foldPreprocessor() -> lBool - * :stylePreprocessor() -> lBool - * :setDollarsAllowed( lAllowed ) -> NIL - * :dollarsAllowed() -> lBool - * :setFoldAtElse( lFold ) -> NIL - * :setFoldComments( lFold ) -> NIL - * :setFoldCompact( lFold ) -> NIL - * :setFoldPreprocessor( lFold ) -> NIL - * :setStylePreprocessor( lStyle ) -> 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/qscintilla/TQsciLexerCPP.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciLexerCPP.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt deleted file mode 100644 index 72ed89ee22..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscilexerflagship.txt +++ /dev/null @@ -1,75 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciLexerFlagship() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscilexerflagship.html - * $ONELINER$ - * Creates a new QsciLexerFlagship object. - * $INHERITS$ - * QsciLexer - * $SYNTAX$ - * QsciLexerFlagship( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciLexerFlagship - * $METHODS$ - * :language() -> cChar - * :lexer() -> cChar - * :autoCompletionWordSeparators() -> oQStringList - * :blockEnd( @nStyle ) -> cChar - * :blockStart( @nStyle ) -> cChar - * :blockStartKeyword( @nStyle ) -> cChar - * :braceStyle() -> nInt - * :wordCharacters() -> cChar - * :defaultColor( nStyle ) -> oQColor - * :defaultEolFill( nStyle ) -> lBool - * :defaultFont( nStyle ) -> oQFont - * :defaultPaper( nStyle ) -> oQColor - * :keywords( nSet ) -> cChar - * :description( nStyle ) -> cQString - * :refreshProperties() -> NIL - * :foldAtElse() -> lBool - * :foldComments() -> lBool - * :foldCompact() -> lBool - * :foldPreprocessor() -> lBool - * :stylePreprocessor() -> lBool - * :setDollarsAllowed( lAllowed ) -> NIL - * :dollarsAllowed() -> lBool - * :setFoldAtElse( lFold ) -> NIL - * :setFoldComments( lFold ) -> NIL - * :setFoldCompact( lFold ) -> NIL - * :setFoldPreprocessor( lFold ) -> NIL - * :setStylePreprocessor( lStyle ) -> 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/qscintilla/TQsciLexerFlagship.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciLexerFlagship.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt deleted file mode 100644 index ab2a0d1f3d..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qsciscintilla.txt +++ /dev/null @@ -1,243 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciScintilla() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsciscintilla.html - * $ONELINER$ - * Creates a new QsciScintilla object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciScintilla( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciScintilla - * $METHODS$ - * :annotate( nLine, cText, nStyle ) -> NIL - * :annotate( nLine, cText, oQsciStyle ) -> NIL - * :annotate( nLine, oQsciStyledText ) -> NIL - * :annotation( nLine ) -> cQString - * :annotationDisplay() -> nAnnotationDisplay - * :clearAnnotations( nLine ) -> NIL - * :autoCompletionCaseSensitivity() -> lBool - * :autoCompletionFillupsEnabled() -> lBool - * :autoCompletionReplaceWord() -> lBool - * :autoCompletionShowSingle() -> lBool - * :autoCompletionSource() -> nAutoCompletionSource - * :autoCompletionThreshold() -> nInt - * :autoIndent() -> lBool - * :backspaceUnindents() -> lBool - * :beginUndoAction() -> NIL - * :braceMatching() -> nBraceMatch - * :callTipsStyle() -> nCallTipsStyle - * :callTipsVisible() -> nInt - * :cancelList() -> NIL - * :caseSensitive() -> lBool - * :clearFolds() -> NIL - * :clearRegisteredImages() -> NIL - * :color() -> oQColor - * :convertEols( nMode ) -> NIL - * :document() -> oQsciDocument - * :endUndoAction() -> NIL - * :edgeColor() -> oQColor - * :edgeColumn() -> nInt - * :edgeMode() -> nEdgeMode - * :setFont( oQFont ) -> NIL - * :eolMode() -> nEolMode - * :eolVisibility() -> lBool - * :findFirst( cExpr, lRe, lCs, lWo, lWrap, lForward, nLine, nIndex, lShow ) -> lBool - * :findNext() -> lBool - * :firstVisibleLine() -> nInt - * :folding() -> nFoldStyle - * :getCursorPosition( @nLine, @nIndex ) -> NIL - * :getSelection( @nLineFrom, @nIndexFrom, @nLineTo, @nIndexTo ) -> NIL - * :hasSelectedText() -> lBool - * :indentation( nLine ) -> nInt - * :indentationGuides() -> lBool - * :indentationsUseTabs() -> lBool - * :indentationWidth() -> nInt - * :isCallTipActive() -> lBool - * :isListActive() -> lBool - * :isModified() -> lBool - * :isReadOnly() -> lBool - * :isRedoAvailable() -> lBool - * :isUndoAvailable() -> lBool - * :isUtf8() -> lBool - * :isWordCharacter( nCh ) -> lBool - * :lineAt( oQPoint ) -> nInt - * :lineIndexFromPosition( nPosition, @nLine, @nIndex ) -> NIL - * :lineLength( nLine ) -> nInt - * :lines() -> nInt - * :length() -> nInt - * :lexer() -> oQsciLexer - * :marginLineNumbers( nMargin ) -> lBool - * :marginMarkerMask( nMargin ) -> nInt - * :marginSensitivity( nMargin ) -> lBool - * :marginType( nMargin ) -> nMarginType - * :marginWidth( nMargin ) -> nInt - * :markerDefine( nSym, nMnr ) -> nInt - * :markerDefine( nCh, nMnr ) -> nInt - * :markerDefine( oQPixmap, nMnr ) -> nInt - * :markerAdd( nLinenr, nMnr ) -> nInt - * :markersAtLine( nLinenr ) -> nUnsigned - * :markerDelete( nLinenr, nMnr ) -> NIL - * :markerDeleteAll( nMnr ) -> NIL - * :markerDeleteHandle( nMhandle ) -> NIL - * :markerLine( nMhandle ) -> nInt - * :markerFindNext( nLinenr, nMask ) -> nInt - * :markerFindPrevious( nLinenr, nMask ) -> nInt - * :paper() -> oQColor - * :positionFromLineIndex( nLine, nIndex ) -> nInt - * :read( oQIODevice ) -> lBool - * :recolor( nStart, nEnd ) -> NIL - * :registerImage( nId, oQPixmap ) -> NIL - * :replace( cReplaceStr ) -> NIL - * :resetFoldMarginColors() -> NIL - * :setFoldMarginColors( oQColor, oQColor ) -> NIL - * :setAnnotationDisplay( nDisplay ) -> NIL - * :setAutoCompletionFillupsEnabled( lEnabled ) -> NIL - * :setAutoCompletionFillups( cFillups ) -> NIL - * :setAutoCompletionWordSeparators( oQStringList ) -> NIL - * :setCallTipsBackgroundColor( oQColor ) -> NIL - * :setCallTipsForegroundColor( oQColor ) -> NIL - * :setCallTipsHighlightColor( oQColor ) -> NIL - * :setCallTipsStyle( nStyle ) -> NIL - * :setCallTipsVisible( nNr ) -> NIL - * :setDocument( oQsciDocument ) -> NIL - * :setEdgeColor( oQColor ) -> NIL - * :setEdgeColumn( nColnr ) -> NIL - * :setEdgeMode( nMode ) -> NIL - * :setMarginText( nLine, cText, nStyle ) -> NIL - * :setMarginText( nLine, cText, oQsciStyle ) -> NIL - * :setMarginText( nLine, oQsciStyledText ) -> NIL - * :setMarginType( nMargin, nType ) -> NIL - * :clearMarginText( nLine ) -> NIL - * :setMarkerBackgroundColor( oQColor, nMnr ) -> NIL - * :setMarkerForegroundColor( oQColor, nMnr ) -> NIL - * :setMatchedBraceBackgroundColor( oQColor ) -> NIL - * :setMatchedBraceForegroundColor( oQColor ) -> NIL - * :setUnmatchedBraceBackgroundColor( oQColor ) -> NIL - * :setUnmatchedBraceForegroundColor( oQColor ) -> NIL - * :setWrapVisualFlags( nEflag, nSflag, nSindent ) -> NIL - * :selectedText() -> cQString - * :selectionToEol() -> lBool - * :setSelectionToEol( lFilled ) -> NIL - * :showUserList( nId, oQStringList ) -> NIL - * :standardCommands() -> oQsciCommandSet - * :tabIndents() -> lBool - * :tabWidth() -> nInt - * :text() -> cQString - * :text( nLine ) -> cQString - * :textHeight( nLinenr ) -> nInt - * :whitespaceVisibility() -> nWhitespaceVisibility - * :wordAtPoint( oQPoint ) -> cQString - * :wordCharacters() -> cChar - * :wrapMode() -> nWrapMode - * :write( oQIODevice ) -> lBool - * :append( cText ) -> NIL - * :autoCompleteFromAll() -> NIL - * :autoCompleteFromAPIs() -> NIL - * :autoCompleteFromDocument() -> NIL - * :callTip() -> NIL - * :clear() -> NIL - * :copy() -> NIL - * :cut() -> NIL - * :ensureCursorVisible() -> NIL - * :ensureLineVisible( nLine ) -> NIL - * :foldAll( lChildren ) -> NIL - * :foldLine( nLine ) -> NIL - * :indent( nLine ) -> NIL - * :insert( cText ) -> NIL - * :insertAt( cText, nLine, nIndex ) -> NIL - * :moveToMatchingBrace() -> NIL - * :paste() -> NIL - * :redo() -> NIL - * :removeSelectedText() -> NIL - * :resetSelectionBackgroundColor() -> NIL - * :resetSelectionForegroundColor() -> NIL - * :selectAll( lSelect ) -> NIL - * :selectToMatchingBrace() -> NIL - * :setAutoCompletionCaseSensitivity( lCs ) -> NIL - * :setAutoCompletionReplaceWord( lReplace ) -> NIL - * :setAutoCompletionShowSingle( lSingle ) -> NIL - * :setAutoCompletionSource( nSource ) -> NIL - * :setAutoCompletionThreshold( nThresh ) -> NIL - * :setAutoIndent( lAutoindent ) -> NIL - * :setBraceMatching( nBm ) -> NIL - * :setBackspaceUnindents( lUnindent ) -> NIL - * :setCaretForegroundColor( oQColor ) -> NIL - * :setCaretLineBackgroundColor( oQColor ) -> NIL - * :setCaretLineVisible( lEnable ) -> NIL - * :setCaretWidth( nWidth ) -> NIL - * :setColor( oQColor ) -> NIL - * :setCursorPosition( nLine, nIndex ) -> NIL - * :setEolMode( nMode ) -> NIL - * :setEolVisibility( lVisible ) -> NIL - * :setFolding( nFold, nMargin ) -> NIL - * :setIndentation( nLine, nIndentation ) -> NIL - * :setIndentationGuides( lEnable ) -> NIL - * :setIndentationGuidesBackgroundColor( oQColor ) -> NIL - * :setIndentationGuidesForegroundColor( oQColor ) -> NIL - * :setIndentationsUseTabs( lTabs ) -> NIL - * :setIndentationWidth( nWidth ) -> NIL - * :setLexer( oQsciLexer ) -> NIL - * :setMarginsBackgroundColor( oQColor ) -> NIL - * :setMarginsFont( oQFont ) -> NIL - * :setMarginsForegroundColor( oQColor ) -> NIL - * :setMarginLineNumbers( nMargin, lLnrs ) -> NIL - * :setMarginMarkerMask( nMargin, nMask ) -> NIL - * :setMarginSensitivity( nMargin, lSens ) -> NIL - * :setMarginWidth( nMargin, nWidth ) -> NIL - * :setMarginWidth( nMargin, cS ) -> NIL - * :setModified( lM ) -> NIL - * :setPaper( oQColor ) -> NIL - * :setReadOnly( lRo ) -> NIL - * :setSelection( nLineFrom, nIndexFrom, nLineTo, nIndexTo ) -> NIL - * :setSelectionBackgroundColor( oQColor ) -> NIL - * :setSelectionForegroundColor( oQColor ) -> NIL - * :setTabIndents( lIndent ) -> NIL - * :setTabWidth( nWidth ) -> NIL - * :setText( cText ) -> NIL - * :setUtf8( lCp ) -> NIL - * :setWhitespaceVisibility( nMode ) -> NIL - * :setWrapMode( nMode ) -> NIL - * :undo() -> NIL - * :unindent( nLine ) -> NIL - * :zoomIn( nRange ) -> NIL - * :zoomIn() -> NIL - * :zoomOut( nRange ) -> NIL - * :zoomOut() -> NIL - * :zoomTo( nSize ) -> 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/qscintilla/TQsciScintilla.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciScintilla.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt deleted file mode 100644 index e40261facc..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyle.txt +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciStyle() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscistyle.html - * $ONELINER$ - * Creates a new QsciStyle object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciStyle( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciStyle - * $METHODS$ - * :style() -> nInt - * :setDescription( cDescription ) -> NIL - * :description() -> cQString - * :setColor( oQColor ) -> NIL - * :color() -> oQColor - * :setPaper( oQColor ) -> NIL - * :paper() -> oQColor - * :setFont( oQFont ) -> NIL - * :font() -> oQFont - * :setEolFill( lFill ) -> NIL - * :eolFill() -> lBool - * :setTextCase( nText_case ) -> NIL - * :textCase() -> nTextCase - * :setVisible( lVisible ) -> NIL - * :visible() -> lBool - * :setChangeable( lChangeable ) -> NIL - * :changeable() -> lBool - * :setHotspot( lHotspot ) -> NIL - * :hotspot() -> lBool - * :refresh() -> 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/qscintilla/TQsciStyle.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciStyle.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt b/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt deleted file mode 100644 index 44e2546043..0000000000 --- a/harbour/contrib/hbqt/qscintilla/doc/en/class_qscistyledtext.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QsciStyledText() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscistyledtext.html - * $ONELINER$ - * Creates a new QsciStyledText object. - * $INHERITS$ - * - * $SYNTAX$ - * QsciStyledText( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QsciStyledText - * $METHODS$ - * :text() -> cQString - * :style() -> nInt - * - * $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/qscintilla/TQsciStyledText.prg - * C++ wrappers : contrib/hbqt/qscintilla/QsciStyledText.cpp - * Library : hbqscintilla - * $END$ - */ diff --git a/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp b/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp deleted file mode 100644 index 4310701015..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/HBQsciScintilla.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - - -#include "hbqt_hbqsciscintilla.h" - - -/* - * - */ - -typedef struct -{ - QPointer< HBQsciScintilla > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQsciScintilla; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQsciScintilla ) -{ - HBQT_GC_T_HBQsciScintilla * p = ( HBQT_GC_T_HBQsciScintilla * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQsciScintilla * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQsciScintilla( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQsciScintilla * p = ( HBQT_GC_T_HBQsciScintilla * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQsciScintilla ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQsciScintilla >( ( HBQsciScintilla * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQsciScintilla; - p->type = HBQT_TYPE_HBQsciScintilla; - - return p; -} - -HB_FUNC( QT_HBQSCISCINTILLA ) -{ - HBQsciScintilla * pObj = NULL; - - pObj = new HBQsciScintilla( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_HBQsciScintilla( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp deleted file mode 100644 index c476c48f41..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciAPIs.cpp +++ /dev/null @@ -1,232 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/15 [ 93.33% ] ] - * - * *** Unconvered Prototypes *** - * - * virtual QStringList callTips (const QStringList &context, int commas, QsciScintilla::CallTipsStyle style, QList< int > &shifts) - */ - -#include - -#include - - -/* - * QsciAPIs (QsciLexer *lexer) - * virtual ~QsciAPIs () - * - */ - -typedef struct -{ - QPointer< QsciAPIs > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciAPIs; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciAPIs ) -{ - HBQT_GC_T_QsciAPIs * p = ( HBQT_GC_T_QsciAPIs * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QsciAPIs * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciAPIs( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciAPIs * p = ( HBQT_GC_T_QsciAPIs * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciAPIs ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciAPIs >( ( QsciAPIs * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciAPIs; - p->type = HBQT_TYPE_QsciAPIs; - - return p; -} - -HB_FUNC( QT_QSCIAPIS ) -{ - QsciAPIs * pObj = NULL; - - pObj = new QsciAPIs( hbqt_par_QsciLexer( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QsciAPIs( ( void * ) pObj, true ) ); -} - -/* void add (const QString &entry) */ -HB_FUNC( QT_QSCIAPIS_ADD ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - ( p )->add( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void clear () */ -HB_FUNC( QT_QSCIAPIS_CLEAR ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - ( p )->clear(); -} - -/* bool load (const QString &fname) */ -HB_FUNC( QT_QSCIAPIS_LOAD ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->load( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void remove (const QString &entry) */ -HB_FUNC( QT_QSCIAPIS_REMOVE ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - ( p )->remove( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void prepare () */ -HB_FUNC( QT_QSCIAPIS_PREPARE ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - ( p )->prepare(); -} - -/* void cancelPreparation () */ -HB_FUNC( QT_QSCIAPIS_CANCELPREPARATION ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - ( p )->cancelPreparation(); -} - -/* QString defaultPreparedName () const */ -HB_FUNC( QT_QSCIAPIS_DEFAULTPREPAREDNAME ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - hb_retstr_utf8( ( p )->defaultPreparedName().toUtf8().data() ); -} - -/* bool isPrepared (const QString &fname=QString()) const */ -HB_FUNC( QT_QSCIAPIS_ISPREPARED ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isPrepared( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool loadPrepared (const QString &fname=QString()) */ -HB_FUNC( QT_QSCIAPIS_LOADPREPARED ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->loadPrepared( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool savePrepared (const QString &fname=QString()) const */ -HB_FUNC( QT_QSCIAPIS_SAVEPREPARED ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->savePrepared( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* virtual void updateAutoCompletionList (const QStringList &context, QStringList &list) */ -HB_FUNC( QT_QSCIAPIS_UPDATEAUTOCOMPLETIONLIST ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - ( p )->updateAutoCompletionList( *hbqt_par_QStringList( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* virtual void autoCompletionSelected (const QString &sel) */ -HB_FUNC( QT_QSCIAPIS_AUTOCOMPLETIONSELECTED ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - { - void * pText; - ( p )->autoCompletionSelected( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual bool event (QEvent *e) */ -HB_FUNC( QT_QSCIAPIS_EVENT ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - hb_retl( ( p )->event( hbqt_par_QEvent( 2 ) ) ); -} - -/* QStringList installedAPIFiles () const */ -HB_FUNC( QT_QSCIAPIS_INSTALLEDAPIFILES ) -{ - QsciAPIs * p = hbqt_par_QsciAPIs( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->installedAPIFiles() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp deleted file mode 100644 index 0e90440366..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciAbstractAPIs.cpp +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/4 [ 75.00% ] ] - * - * *** Unconvered Prototypes *** - * - * virtual QStringList callTips (const QStringList &context, int commas, QsciScintilla::CallTipsStyle style, QList< int > &shifts)=0 - */ - -#include - -#include - - -/* - * QsciAbstractAPIs (QsciLexer *lexer) - * virtual ~QsciAbstractAPIs () - * - */ - -typedef struct -{ - QPointer< QsciAbstractAPIs > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciAbstractAPIs; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciAbstractAPIs ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QsciAbstractAPIs( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciAbstractAPIs * p = ( HBQT_GC_T_QsciAbstractAPIs * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciAbstractAPIs ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciAbstractAPIs >( ( QsciAbstractAPIs * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciAbstractAPIs; - p->type = HBQT_TYPE_QsciAbstractAPIs; - - return p; -} - -HB_FUNC( QT_QSCIABSTRACTAPIS ) -{ - -} - -/* QsciLexer * lexer () const */ -HB_FUNC( QT_QSCIABSTRACTAPIS_LEXER ) -{ - QsciAbstractAPIs * p = hbqt_par_QsciAbstractAPIs( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QsciLexer( ( p )->lexer(), false ) ); -} - -/* virtual void updateAutoCompletionList (const QStringList &context, QStringList &list)=0 */ -HB_FUNC( QT_QSCIABSTRACTAPIS_UPDATEAUTOCOMPLETIONLIST ) -{ - QsciAbstractAPIs * p = hbqt_par_QsciAbstractAPIs( 1 ); - if( p ) - ( p )->updateAutoCompletionList( *hbqt_par_QStringList( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* virtual void autoCompletionSelected (const QString &selection) */ -HB_FUNC( QT_QSCIABSTRACTAPIS_AUTOCOMPLETIONSELECTED ) -{ - QsciAbstractAPIs * p = hbqt_par_QsciAbstractAPIs( 1 ); - if( p ) - { - void * pText; - ( p )->autoCompletionSelected( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp deleted file mode 100644 index 47fd9f6615..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciCommand.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * - * - */ - -typedef struct -{ - QsciCommand * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciCommand; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciCommand ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QsciCommand( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QsciCommand * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciCommand; - p->type = HBQT_TYPE_QsciCommand; - - return p; -} - -HB_FUNC( QT_QSCICOMMAND ) -{ - -} - -/* void setKey (int key) */ -HB_FUNC( QT_QSCICOMMAND_SETKEY ) -{ - QsciCommand * p = hbqt_par_QsciCommand( 1 ); - if( p ) - ( p )->setKey( hb_parni( 2 ) ); -} - -/* void setAlternateKey (int altkey) */ -HB_FUNC( QT_QSCICOMMAND_SETALTERNATEKEY ) -{ - QsciCommand * p = hbqt_par_QsciCommand( 1 ); - if( p ) - ( p )->setAlternateKey( hb_parni( 2 ) ); -} - -/* int key () const */ -HB_FUNC( QT_QSCICOMMAND_KEY ) -{ - QsciCommand * p = hbqt_par_QsciCommand( 1 ); - if( p ) - hb_retni( ( p )->key() ); -} - -/* int alternateKey () const */ -HB_FUNC( QT_QSCICOMMAND_ALTERNATEKEY ) -{ - QsciCommand * p = hbqt_par_QsciCommand( 1 ); - if( p ) - hb_retni( ( p )->alternateKey() ); -} - -/* QString description () const */ -HB_FUNC( QT_QSCICOMMAND_DESCRIPTION ) -{ - QsciCommand * p = hbqt_par_QsciCommand( 1 ); - if( p ) - hb_retstr_utf8( ( p )->description().toUtf8().data() ); -} - -/* bool validKey (int key) */ -HB_FUNC( QT_QSCICOMMAND_VALIDKEY ) -{ - QsciCommand * p = hbqt_par_QsciCommand( 1 ); - if( p ) - hb_retl( ( p )->validKey( hb_parni( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp deleted file mode 100644 index 4497de925a..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciCommandSet.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * - * - */ - -typedef struct -{ - QsciCommandSet * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciCommandSet; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciCommandSet ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QsciCommandSet( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QsciCommandSet * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciCommandSet; - p->type = HBQT_TYPE_QsciCommandSet; - - return p; -} - -HB_FUNC( QT_QSCICOMMANDSET ) -{ - //__HB_RETPTRGC__( new QsciCommandSet() ); -} - -/* bool readSettings (QSettings &qs, const char *prefix="/Scintilla") */ -HB_FUNC( QT_QSCICOMMANDSET_READSETTINGS ) -{ - QsciCommandSet * p = hbqt_par_QsciCommandSet( 1 ); - if( p ) - hb_retl( ( p )->readSettings( *hbqt_par_QSettings( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* bool writeSettings (QSettings &qs, const char *prefix="/Scintilla") */ -HB_FUNC( QT_QSCICOMMANDSET_WRITESETTINGS ) -{ - QsciCommandSet * p = hbqt_par_QsciCommandSet( 1 ); - if( p ) - hb_retl( ( p )->writeSettings( *hbqt_par_QSettings( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* QList< QsciCommand * > & commands () */ -HB_FUNC( QT_QSCICOMMANDSET_COMMANDS ) -{ - QsciCommandSet * p = hbqt_par_QsciCommandSet( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList< QsciCommand * > &( ( p )->commands() ), true ) ); -} - -/* void clearKeys () */ -HB_FUNC( QT_QSCICOMMANDSET_CLEARKEYS ) -{ - QsciCommandSet * p = hbqt_par_QsciCommandSet( 1 ); - if( p ) - ( p )->clearKeys(); -} - -/* void clearAlternateKeys () */ -HB_FUNC( QT_QSCICOMMANDSET_CLEARALTERNATEKEYS ) -{ - QsciCommandSet * p = hbqt_par_QsciCommandSet( 1 ); - if( p ) - ( p )->clearAlternateKeys(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp deleted file mode 100644 index e8686aa455..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciDocument.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QsciDocument () - * QsciDocument (const QsciDocument &) - * - */ - -typedef struct -{ - QsciDocument * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciDocument; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciDocument ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QsciDocument * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciDocument( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QsciDocument * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciDocument; - p->type = HBQT_TYPE_QsciDocument; - - return p; -} - -HB_FUNC( QT_QSCIDOCUMENT ) -{ - QsciDocument * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - { - pObj = new QsciDocument( *hbqt_par_QsciDocument( 1 ) ) ; - } - else - { - pObj = new QsciDocument() ; - } - - hb_retptrGC( hbqt_gcAllocate_QsciDocument( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp deleted file mode 100644 index 2176f53408..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciLexer.cpp +++ /dev/null @@ -1,440 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 44/44 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QsciLexer (QObject *parent=0) - * virtual ~QsciLexer () - * - */ - -typedef struct -{ - QPointer< QsciLexer > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciLexer; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciLexer ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QsciLexer( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciLexer * p = ( HBQT_GC_T_QsciLexer * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciLexer ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciLexer >( ( QsciLexer * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciLexer; - p->type = HBQT_TYPE_QsciLexer; - - return p; -} - -HB_FUNC( QT_QSCILEXER ) -{ - -} - -/* virtual const char * language () const =0 */ -HB_FUNC( QT_QSCILEXER_LANGUAGE ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retc( ( p )->language() ); -} - -/* virtual const char * lexer () const */ -HB_FUNC( QT_QSCILEXER_LEXER ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retc( ( p )->lexer() ); -} - -/* virtual int lexerId () const */ -HB_FUNC( QT_QSCILEXER_LEXERID ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->lexerId() ); -} - -/* QsciAbstractAPIs * apis () const */ -HB_FUNC( QT_QSCILEXER_APIS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QsciAbstractAPIs( ( p )->apis(), false ) ); -} - -/* virtual const char * autoCompletionFillups () const */ -HB_FUNC( QT_QSCILEXER_AUTOCOMPLETIONFILLUPS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retc( ( p )->autoCompletionFillups() ); -} - -/* virtual QStringList autoCompletionWordSeparators () const */ -HB_FUNC( QT_QSCILEXER_AUTOCOMPLETIONWORDSEPARATORS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->autoCompletionWordSeparators() ), true ) ); -} - -/* int autoIndentStyle () */ -HB_FUNC( QT_QSCILEXER_AUTOINDENTSTYLE ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->autoIndentStyle() ); -} - -/* virtual const char * blockEnd (int *style=0) const */ -HB_FUNC( QT_QSCILEXER_BLOCKEND ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockEnd( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* virtual int blockLookback () const */ -HB_FUNC( QT_QSCILEXER_BLOCKLOOKBACK ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->blockLookback() ); -} - -/* virtual const char * blockStart (int *style=0) const */ -HB_FUNC( QT_QSCILEXER_BLOCKSTART ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockStart( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* virtual const char * blockStartKeyword (int *style=0) const */ -HB_FUNC( QT_QSCILEXER_BLOCKSTARTKEYWORD ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockStartKeyword( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* virtual int braceStyle () const */ -HB_FUNC( QT_QSCILEXER_BRACESTYLE ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->braceStyle() ); -} - -/* virtual bool caseSensitive () const */ -HB_FUNC( QT_QSCILEXER_CASESENSITIVE ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retl( ( p )->caseSensitive() ); -} - -/* virtual QColor color (int style) const */ -HB_FUNC( QT_QSCILEXER_COLOR ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color( hb_parni( 2 ) ) ), true ) ); -} - -/* virtual bool eolFill (int style) const */ -HB_FUNC( QT_QSCILEXER_EOLFILL ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retl( ( p )->eolFill( hb_parni( 2 ) ) ); -} - -/* virtual QFont font (int style) const */ -HB_FUNC( QT_QSCILEXER_FONT ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font( hb_parni( 2 ) ) ), true ) ); -} - -/* virtual int indentationGuideView () const */ -HB_FUNC( QT_QSCILEXER_INDENTATIONGUIDEVIEW ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->indentationGuideView() ); -} - -/* virtual const char * keywords (int set) const */ -HB_FUNC( QT_QSCILEXER_KEYWORDS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retc( ( p )->keywords( hb_parni( 2 ) ) ); -} - -/* virtual int defaultStyle () const */ -HB_FUNC( QT_QSCILEXER_DEFAULTSTYLE ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->defaultStyle() ); -} - -/* virtual QString description (int style) const =0 */ -HB_FUNC( QT_QSCILEXER_DESCRIPTION ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retstr_utf8( ( p )->description( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* virtual QColor paper (int style) const */ -HB_FUNC( QT_QSCILEXER_PAPER ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->paper( hb_parni( 2 ) ) ), true ) ); -} - -/* QColor defaultColor () const */ -HB_FUNC( QT_QSCILEXER_DEFAULTCOLOR ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultColor() ), true ) ); -} - -/* virtual QColor defaultColor (int style) const */ -HB_FUNC( QT_QSCILEXER_DEFAULTCOLOR_1 ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultColor( hb_parni( 2 ) ) ), true ) ); -} - -/* virtual bool defaultEolFill (int style) const */ -HB_FUNC( QT_QSCILEXER_DEFAULTEOLFILL ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retl( ( p )->defaultEolFill( hb_parni( 2 ) ) ); -} - -/* QFont defaultFont () const */ -HB_FUNC( QT_QSCILEXER_DEFAULTFONT ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->defaultFont() ), true ) ); -} - -/* virtual QFont defaultFont (int style) const */ -HB_FUNC( QT_QSCILEXER_DEFAULTFONT_1 ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->defaultFont( hb_parni( 2 ) ) ), true ) ); -} - -/* QColor defaultPaper () const */ -HB_FUNC( QT_QSCILEXER_DEFAULTPAPER ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultPaper() ), true ) ); -} - -/* virtual QColor defaultPaper (int style) const */ -HB_FUNC( QT_QSCILEXER_DEFAULTPAPER_1 ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultPaper( hb_parni( 2 ) ) ), true ) ); -} - -/* QsciScintilla * editor () const */ -HB_FUNC( QT_QSCILEXER_EDITOR ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QsciScintilla( ( p )->editor(), false ) ); -} - -/* virtual void setEditor (QsciScintilla *editor) */ -HB_FUNC( QT_QSCILEXER_SETEDITOR ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setEditor( hbqt_par_QsciScintilla( 2 ) ); -} - -/* bool readSettings (QSettings &qs, const char *prefix="/Scintilla") */ -HB_FUNC( QT_QSCILEXER_READSETTINGS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retl( ( p )->readSettings( *hbqt_par_QSettings( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* virtual void refreshProperties () */ -HB_FUNC( QT_QSCILEXER_REFRESHPROPERTIES ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->refreshProperties(); -} - -/* virtual int styleBitsNeeded () const */ -HB_FUNC( QT_QSCILEXER_STYLEBITSNEEDED ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retni( ( p )->styleBitsNeeded() ); -} - -/* virtual const char * wordCharacters () const */ -HB_FUNC( QT_QSCILEXER_WORDCHARACTERS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retc( ( p )->wordCharacters() ); -} - -/* bool writeSettings (QSettings &qs, const char *prefix="/Scintilla") const */ -HB_FUNC( QT_QSCILEXER_WRITESETTINGS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - hb_retl( ( p )->writeSettings( *hbqt_par_QSettings( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* void setAPIs (QsciAbstractAPIs *apis) */ -HB_FUNC( QT_QSCILEXER_SETAPIS ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setAPIs( hbqt_par_QsciAbstractAPIs( 2 ) ); -} - -/* void setDefaultColor (const QColor &c) */ -HB_FUNC( QT_QSCILEXER_SETDEFAULTCOLOR ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setDefaultColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setDefaultFont (const QFont &f) */ -HB_FUNC( QT_QSCILEXER_SETDEFAULTFONT ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setDefaultFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setDefaultPaper (const QColor &c) */ -HB_FUNC( QT_QSCILEXER_SETDEFAULTPAPER ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setDefaultPaper( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setAutoIndentStyle (int autoindentstyle) */ -HB_FUNC( QT_QSCILEXER_SETAUTOINDENTSTYLE ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setAutoIndentStyle( hb_parni( 2 ) ); -} - -/* virtual void setColor (const QColor &c, int style=-1) */ -HB_FUNC( QT_QSCILEXER_SETCOLOR ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setColor( *hbqt_par_QColor( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* virtual void setEolFill (bool eoffill, int style=-1) */ -HB_FUNC( QT_QSCILEXER_SETEOLFILL ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setEolFill( hb_parl( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* virtual void setFont (const QFont &f, int style=-1) */ -HB_FUNC( QT_QSCILEXER_SETFONT ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* virtual void setPaper (const QColor &c, int style=-1) */ -HB_FUNC( QT_QSCILEXER_SETPAPER ) -{ - QsciLexer * p = hbqt_par_QsciLexer( 1 ); - if( p ) - ( p )->setPaper( *hbqt_par_QColor( 2 ), hb_parnidef( 3, -1 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp deleted file mode 100644 index 8fdfe706e1..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciLexerCPP.cpp +++ /dev/null @@ -1,344 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum { - * Default = 0, Comment = 1, CommentLine = 2, - * CommentDoc = 3, Number = 4, Keyword = 5, - * DoubleQuotedString = 6, SingleQuotedString = 7, UUID = 8, - * PreProcessor = 9, Operator = 10, Identifier = 11, - * UnclosedString = 12, VerbatimString = 13, Regex = 14, - * CommentLineDoc = 15, KeywordSet2 = 16, CommentDocKeyword = 17, - * CommentDocKeywordError = 18, GlobalClass = 19 - * } - */ - -/* - * Constructed[ 27/27 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QsciLexerCPP (QObject *parent=0, bool caseInsensitiveKeywords=false) - * virtual ~QsciLexerCPP () - * - */ - -typedef struct -{ - QPointer< QsciLexerCPP > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciLexerCPP; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciLexerCPP ) -{ - HBQT_GC_T_QsciLexerCPP * p = ( HBQT_GC_T_QsciLexerCPP * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QsciLexerCPP * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciLexerCPP( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciLexerCPP * p = ( HBQT_GC_T_QsciLexerCPP * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciLexerCPP ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciLexerCPP >( ( QsciLexerCPP * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciLexerCPP; - p->type = HBQT_TYPE_QsciLexerCPP; - - return p; -} - -HB_FUNC( QT_QSCILEXERCPP ) -{ - QsciLexerCPP * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QsciLexerCPP( hbqt_par_QObject( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISLOG( 1 ) ) - { - pObj = new QsciLexerCPP( 0, hb_parl( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISLOG( 2 ) ) - { - pObj = new QsciLexerCPP( hbqt_par_QObject( 1 ), hb_parl( 2 ) ) ; - } - else - { - pObj = new QsciLexerCPP() ; - } - - hb_retptrGC( hbqt_gcAllocate_QsciLexerCPP( ( void * ) pObj, true ) ); -} - -/* const char * language () const */ -HB_FUNC( QT_QSCILEXERCPP_LANGUAGE ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retc( ( p )->language() ); -} - -/* const char * lexer () const */ -HB_FUNC( QT_QSCILEXERCPP_LEXER ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retc( ( p )->lexer() ); -} - -/* QStringList autoCompletionWordSeparators () const */ -HB_FUNC( QT_QSCILEXERCPP_AUTOCOMPLETIONWORDSEPARATORS ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->autoCompletionWordSeparators() ), true ) ); -} - -/* const char * blockEnd (int *style=0) const */ -HB_FUNC( QT_QSCILEXERCPP_BLOCKEND ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockEnd( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* const char * blockStart (int *style=0) const */ -HB_FUNC( QT_QSCILEXERCPP_BLOCKSTART ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockStart( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* const char * blockStartKeyword (int *style=0) const */ -HB_FUNC( QT_QSCILEXERCPP_BLOCKSTARTKEYWORD ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockStartKeyword( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* int braceStyle () const */ -HB_FUNC( QT_QSCILEXERCPP_BRACESTYLE ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retni( ( p )->braceStyle() ); -} - -/* const char * wordCharacters () const */ -HB_FUNC( QT_QSCILEXERCPP_WORDCHARACTERS ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retc( ( p )->wordCharacters() ); -} - -/* QColor defaultColor (int style) const */ -HB_FUNC( QT_QSCILEXERCPP_DEFAULTCOLOR ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultColor( hb_parni( 2 ) ) ), true ) ); -} - -/* bool defaultEolFill (int style) const */ -HB_FUNC( QT_QSCILEXERCPP_DEFAULTEOLFILL ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->defaultEolFill( hb_parni( 2 ) ) ); -} - -/* QFont defaultFont (int style) const */ -HB_FUNC( QT_QSCILEXERCPP_DEFAULTFONT ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->defaultFont( hb_parni( 2 ) ) ), true ) ); -} - -/* QColor defaultPaper (int style) const */ -HB_FUNC( QT_QSCILEXERCPP_DEFAULTPAPER ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultPaper( hb_parni( 2 ) ) ), true ) ); -} - -/* const char * keywords (int set) const */ -HB_FUNC( QT_QSCILEXERCPP_KEYWORDS ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retc( ( p )->keywords( hb_parni( 2 ) ) ); -} - -/* QString description (int style) const */ -HB_FUNC( QT_QSCILEXERCPP_DESCRIPTION ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retstr_utf8( ( p )->description( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* void refreshProperties () */ -HB_FUNC( QT_QSCILEXERCPP_REFRESHPROPERTIES ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->refreshProperties(); -} - -/* bool foldAtElse () const */ -HB_FUNC( QT_QSCILEXERCPP_FOLDATELSE ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->foldAtElse() ); -} - -/* bool foldComments () const */ -HB_FUNC( QT_QSCILEXERCPP_FOLDCOMMENTS ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->foldComments() ); -} - -/* bool foldCompact () const */ -HB_FUNC( QT_QSCILEXERCPP_FOLDCOMPACT ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->foldCompact() ); -} - -/* bool foldPreprocessor () const */ -HB_FUNC( QT_QSCILEXERCPP_FOLDPREPROCESSOR ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->foldPreprocessor() ); -} - -/* bool stylePreprocessor () const */ -HB_FUNC( QT_QSCILEXERCPP_STYLEPREPROCESSOR ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->stylePreprocessor() ); -} - -/* void setDollarsAllowed (bool allowed) */ -HB_FUNC( QT_QSCILEXERCPP_SETDOLLARSALLOWED ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->setDollarsAllowed( hb_parl( 2 ) ); -} - -/* bool dollarsAllowed () const */ -HB_FUNC( QT_QSCILEXERCPP_DOLLARSALLOWED ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - hb_retl( ( p )->dollarsAllowed() ); -} - -/* virtual void setFoldAtElse (bool fold) */ -HB_FUNC( QT_QSCILEXERCPP_SETFOLDATELSE ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->setFoldAtElse( hb_parl( 2 ) ); -} - -/* virtual void setFoldComments (bool fold) */ -HB_FUNC( QT_QSCILEXERCPP_SETFOLDCOMMENTS ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->setFoldComments( hb_parl( 2 ) ); -} - -/* virtual void setFoldCompact (bool fold) */ -HB_FUNC( QT_QSCILEXERCPP_SETFOLDCOMPACT ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->setFoldCompact( hb_parl( 2 ) ); -} - -/* virtual void setFoldPreprocessor (bool fold) */ -HB_FUNC( QT_QSCILEXERCPP_SETFOLDPREPROCESSOR ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->setFoldPreprocessor( hb_parl( 2 ) ); -} - -/* virtual void setStylePreprocessor (bool style) */ -HB_FUNC( QT_QSCILEXERCPP_SETSTYLEPREPROCESSOR ) -{ - QsciLexerCPP * p = hbqt_par_QsciLexerCPP( 1 ); - if( p ) - ( p )->setStylePreprocessor( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp deleted file mode 100644 index 791de11fbe..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciLexerFlagship.cpp +++ /dev/null @@ -1,344 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum { - * Default = 0, Comment = 1, CommentLine = 2, - * CommentDoc = 3, Number = 4, Keyword = 5, - * DoubleQuotedString = 6, SingleQuotedString = 7, UUID = 8, - * PreProcessor = 9, Operator = 10, Identifier = 11, - * UnclosedString = 12, VerbatimString = 13, Regex = 14, - * CommentLineDoc = 15, KeywordSet2 = 16, CommentDocKeyword = 17, - * CommentDocKeywordError = 18, GlobalClass = 19 - * } - */ - -/* - * Constructed[ 27/27 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QsciLexerFlagship (QObject *parent=0, bool caseInsensitiveKeywords=false) - * virtual ~QsciLexerFlagship () - * - */ - -typedef struct -{ - QPointer< QsciLexerFlagship > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciLexerFlagship; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciLexerFlagship ) -{ - HBQT_GC_T_QsciLexerFlagship * p = ( HBQT_GC_T_QsciLexerFlagship * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QsciLexerFlagship * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciLexerFlagship( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciLexerFlagship * p = ( HBQT_GC_T_QsciLexerFlagship * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciLexerFlagship ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciLexerFlagship >( ( QsciLexerFlagship * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciLexerFlagship; - p->type = HBQT_TYPE_QsciLexerFlagship; - - return p; -} - -HB_FUNC( QT_QSCILEXERFLAGSHIP ) -{ - QsciLexerFlagship * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QsciLexerFlagship( hbqt_par_QObject( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISLOG( 1 ) ) - { - pObj = new QsciLexerFlagship( 0, hb_parl( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISLOG( 2 ) ) - { - pObj = new QsciLexerFlagship( hbqt_par_QObject( 1 ), hb_parl( 2 ) ) ; - } - else - { - pObj = new QsciLexerFlagship() ; - } - - hb_retptrGC( hbqt_gcAllocate_QsciLexerFlagship( ( void * ) pObj, true ) ); -} - -/* const char * language () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_LANGUAGE ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retc( ( p )->language() ); -} - -/* const char * lexer () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_LEXER ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retc( ( p )->lexer() ); -} - -/* QStringList autoCompletionWordSeparators () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_AUTOCOMPLETIONWORDSEPARATORS ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->autoCompletionWordSeparators() ), true ) ); -} - -/* const char * blockEnd (int *style=0) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_BLOCKEND ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockEnd( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* const char * blockStart (int *style=0) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_BLOCKSTART ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockStart( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* const char * blockStartKeyword (int *style=0) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_BLOCKSTARTKEYWORD ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - int iStyle = 0; - - if( p ) - hb_retc( ( p )->blockStartKeyword( &iStyle ) ); - - hb_storni( iStyle, 2 ); -} - -/* int braceStyle () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_BRACESTYLE ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retni( ( p )->braceStyle() ); -} - -/* const char * wordCharacters () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_WORDCHARACTERS ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retc( ( p )->wordCharacters() ); -} - -/* QColor defaultColor (int style) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_DEFAULTCOLOR ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultColor( hb_parni( 2 ) ) ), true ) ); -} - -/* bool defaultEolFill (int style) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_DEFAULTEOLFILL ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->defaultEolFill( hb_parni( 2 ) ) ); -} - -/* QFont defaultFont (int style) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_DEFAULTFONT ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->defaultFont( hb_parni( 2 ) ) ), true ) ); -} - -/* QColor defaultPaper (int style) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_DEFAULTPAPER ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultPaper( hb_parni( 2 ) ) ), true ) ); -} - -/* const char * keywords (int set) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_KEYWORDS ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retc( ( p )->keywords( hb_parni( 2 ) ) ); -} - -/* QString description (int style) const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_DESCRIPTION ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retstr_utf8( ( p )->description( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* void refreshProperties () */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_REFRESHPROPERTIES ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->refreshProperties(); -} - -/* bool foldAtElse () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_FOLDATELSE ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->foldAtElse() ); -} - -/* bool foldComments () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_FOLDCOMMENTS ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->foldComments() ); -} - -/* bool foldCompact () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_FOLDCOMPACT ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->foldCompact() ); -} - -/* bool foldPreprocessor () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_FOLDPREPROCESSOR ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->foldPreprocessor() ); -} - -/* bool stylePreprocessor () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_STYLEPREPROCESSOR ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->stylePreprocessor() ); -} - -/* void setDollarsAllowed (bool allowed) */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_SETDOLLARSALLOWED ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->setDollarsAllowed( hb_parl( 2 ) ); -} - -/* bool dollarsAllowed () const */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_DOLLARSALLOWED ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - hb_retl( ( p )->dollarsAllowed() ); -} - -/* virtual void setFoldAtElse (bool fold) */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_SETFOLDATELSE ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->setFoldAtElse( hb_parl( 2 ) ); -} - -/* virtual void setFoldComments (bool fold) */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_SETFOLDCOMMENTS ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->setFoldComments( hb_parl( 2 ) ); -} - -/* virtual void setFoldCompact (bool fold) */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_SETFOLDCOMPACT ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->setFoldCompact( hb_parl( 2 ) ); -} - -/* virtual void setFoldPreprocessor (bool fold) */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_SETFOLDPREPROCESSOR ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->setFoldPreprocessor( hb_parl( 2 ) ); -} - -/* virtual void setStylePreprocessor (bool style) */ -HB_FUNC( QT_QSCILEXERFLAGSHIP_SETSTYLEPREPROCESSOR ) -{ - QsciLexerFlagship * p = hbqt_par_QsciLexerFlagship( 1 ); - if( p ) - ( p )->setStylePreprocessor( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp deleted file mode 100644 index 5c12c07425..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciScintilla.cpp +++ /dev/null @@ -1,1762 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum { AiMaintain = 0x01, AiOpening = 0x02, AiClosing = 0x04 } - * enum AnnotationDisplay { AnnotationHidden = ANNOTATION_HIDDEN, AnnotationStandard = ANNOTATION_STANDARD, AnnotationBoxed = ANNOTATION_BOXED } - * enum AutoCompletionSource { - * AcsNone, AcsAll, AcsDocument, AcsAPIs - * } - * enum BraceMatch { NoBraceMatch, StrictBraceMatch, SloppyBraceMatch } - * enum CallTipsStyle { - * CallTipsNone, CallTipsNoContext, CallTipsNoAutoCompletionContext, CallTipsContext - * } - * enum EdgeMode { EdgeNone = EDGE_NONE, EdgeLine = EDGE_LINE, EdgeBackground = EDGE_BACKGROUND } - * enum EolMode { EolWindows = SC_EOL_CRLF, EolUnix = SC_EOL_LF, EolMac = SC_EOL_CR } - * enum FoldStyle { - * NoFoldStyle, PlainFoldStyle, CircledFoldStyle, - * BoxedFoldStyle, CircledTreeFoldStyle, BoxedTreeFoldStyle - * } - * enum MarginType { - * SymbolMargin = SC_MARGIN_SYMBOL, SymbolMarginDefaultForegroundColor = SC_MARGIN_FORE, SymbolMarginDefaultBackgroundColor = SC_MARGIN_BACK, - * NumberMargin = SC_MARGIN_NUMBER, TextMargin = SC_MARGIN_TEXT, TextMarginRightJustified = SC_MARGIN_RTEXT - * } - * enum MarkerSymbol { - * Circle = SC_MARK_CIRCLE, Rectangle = SC_MARK_ROUNDRECT, RightTriangle = SC_MARK_ARROW, - * SmallRectangle = SC_MARK_SMALLRECT, RightArrow = SC_MARK_SHORTARROW, Invisible = SC_MARK_EMPTY, - * DownTriangle = SC_MARK_ARROWDOWN, Minus = SC_MARK_MINUS, Plus = SC_MARK_PLUS, - * VerticalLine = SC_MARK_VLINE, BottomLeftCorner = SC_MARK_LCORNER, LeftSideSplitter = SC_MARK_TCORNER, - * BoxedPlus = SC_MARK_BOXPLUS, BoxedPlusConnected = SC_MARK_BOXPLUSCONNECTED, BoxedMinus = SC_MARK_BOXMINUS, - * BoxedMinusConnected = SC_MARK_BOXMINUSCONNECTED, RoundedBottomLeftCorner = SC_MARK_LCORNERCURVE, LeftSideRoundedSplitter = SC_MARK_TCORNERCURVE, - * CircledPlus = SC_MARK_CIRCLEPLUS, CircledPlusConnected = SC_MARK_CIRCLEPLUSCONNECTED, CircledMinus = SC_MARK_CIRCLEMINUS, - * CircledMinusConnected = SC_MARK_CIRCLEMINUSCONNECTED, Background = SC_MARK_BACKGROUND, ThreeDots = SC_MARK_DOTDOTDOT, - * ThreeRightArrows = SC_MARK_ARROWS - * } - * enum WhitespaceVisibility { WsInvisible = SCWS_INVISIBLE, WsVisible = SCWS_VISIBLEALWAYS, WsVisibleAfterIndent = SCWS_VISIBLEAFTERINDENT } - * enum WrapMode { WrapNone = SC_WRAP_NONE, WrapWord = SC_WRAP_WORD, WrapCharacter = SC_WRAP_CHAR } - * enum WrapVisualFlag { WrapFlagNone, WrapFlagByText, WrapFlagByBorder } - */ - -/* - * Constructed[ 195/197 [ 98.98% ] ] - * - * *** Unconvered Prototypes *** - * - * void annotate (int line, const QList< QsciStyledText > &text) - * void setMarginText (int line, const QList< QsciStyledText > &text) - */ - -#include - - -#include "qsciscintilla.h" - - -/* - * QsciScintilla (QWidget *parent=0) - * virtual ~QsciScintilla () - */ - -typedef struct -{ - QPointer< QsciScintilla > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciScintilla; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciScintilla ) -{ - HBQT_GC_T_QsciScintilla * p = ( HBQT_GC_T_QsciScintilla * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QsciScintilla * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciScintilla( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciScintilla * p = ( HBQT_GC_T_QsciScintilla * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciScintilla ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciScintilla >( ( QsciScintilla * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciScintilla; - p->type = HBQT_TYPE_QsciScintilla; - - return p; -} - -HB_FUNC( QT_QSCISCINTILLA ) -{ - QsciScintilla * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - { - pObj = new QsciScintilla( hbqt_par_QWidget( 1 ) ) ; - } - else - { - pObj = new QsciScintilla() ; - } - - hb_retptrGC( hbqt_gcAllocate_QsciScintilla( ( void * ) pObj, true ) ); -} - -/* void annotate (int line, const QString &text, int style) */ -HB_FUNC( QT_QSCISCINTILLA_ANNOTATE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->annotate( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parni( 4 ) ); - hb_strfree( pText ); - } -} - -/* void annotate (int line, const QString &text, const QsciStyle &style) */ -HB_FUNC( QT_QSCISCINTILLA_ANNOTATE_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->annotate( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), *hbqt_par_QsciStyle( 4 ) ); - hb_strfree( pText ); - } -} - -/* void annotate (int line, const QsciStyledText &text) */ -HB_FUNC( QT_QSCISCINTILLA_ANNOTATE_2 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->annotate( hb_parni( 2 ), *hbqt_par_QsciStyledText( 3 ) ); -} - -/* QString annotation (int line) const */ -HB_FUNC( QT_QSCISCINTILLA_ANNOTATION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retstr_utf8( ( p )->annotation( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* AnnotationDisplay annotationDisplay () const */ -HB_FUNC( QT_QSCISCINTILLA_ANNOTATIONDISPLAY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::AnnotationDisplay ) ( p )->annotationDisplay() ); -} - -/* void clearAnnotations (int line=-1) */ -HB_FUNC( QT_QSCISCINTILLA_CLEARANNOTATIONS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->clearAnnotations( hb_parnidef( 2, -1 ) ); -} - -/* bool autoCompletionCaseSensitivity () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETIONCASESENSITIVITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->autoCompletionCaseSensitivity() ); -} - -/* bool autoCompletionFillupsEnabled () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETIONFILLUPSENABLED ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->autoCompletionFillupsEnabled() ); -} - -/* bool autoCompletionReplaceWord () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETIONREPLACEWORD ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->autoCompletionReplaceWord() ); -} - -/* bool autoCompletionShowSingle () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETIONSHOWSINGLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->autoCompletionShowSingle() ); -} - -/* AutoCompletionSource autoCompletionSource () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETIONSOURCE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::AutoCompletionSource ) ( p )->autoCompletionSource() ); -} - -/* int autoCompletionThreshold () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETIONTHRESHOLD ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->autoCompletionThreshold() ); -} - -/* bool autoIndent () const */ -HB_FUNC( QT_QSCISCINTILLA_AUTOINDENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->autoIndent() ); -} - -/* bool backspaceUnindents () const */ -HB_FUNC( QT_QSCISCINTILLA_BACKSPACEUNINDENTS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->backspaceUnindents() ); -} - -/* void beginUndoAction () */ -HB_FUNC( QT_QSCISCINTILLA_BEGINUNDOACTION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->beginUndoAction(); -} - -/* BraceMatch braceMatching () const */ -HB_FUNC( QT_QSCISCINTILLA_BRACEMATCHING ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::BraceMatch ) ( p )->braceMatching() ); -} - -/* CallTipsStyle callTipsStyle () const */ -HB_FUNC( QT_QSCISCINTILLA_CALLTIPSSTYLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::CallTipsStyle ) ( p )->callTipsStyle() ); -} - -/* int callTipsVisible () const */ -HB_FUNC( QT_QSCISCINTILLA_CALLTIPSVISIBLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->callTipsVisible() ); -} - -/* void cancelList () */ -HB_FUNC( QT_QSCISCINTILLA_CANCELLIST ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->cancelList(); -} - -/* bool caseSensitive () const */ -HB_FUNC( QT_QSCISCINTILLA_CASESENSITIVE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->caseSensitive() ); -} - -/* void clearFolds () */ -HB_FUNC( QT_QSCISCINTILLA_CLEARFOLDS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->clearFolds(); -} - -/* void clearRegisteredImages () */ -HB_FUNC( QT_QSCISCINTILLA_CLEARREGISTEREDIMAGES ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->clearRegisteredImages(); -} - -/* QColor color () const */ -HB_FUNC( QT_QSCISCINTILLA_COLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color() ), true ) ); -} - -/* void convertEols (EolMode mode) */ -HB_FUNC( QT_QSCISCINTILLA_CONVERTEOLS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->convertEols( ( QsciScintilla::EolMode ) hb_parni( 2 ) ); -} - -/* QsciDocument document () const */ -HB_FUNC( QT_QSCISCINTILLA_DOCUMENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QsciDocument( new QsciDocument( ( p )->document() ), true ) ); -} - -/* void endUndoAction () */ -HB_FUNC( QT_QSCISCINTILLA_ENDUNDOACTION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->endUndoAction(); -} - -/* QColor edgeColor () const */ -HB_FUNC( QT_QSCISCINTILLA_EDGECOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->edgeColor() ), true ) ); -} - -/* int edgeColumn () const */ -HB_FUNC( QT_QSCISCINTILLA_EDGECOLUMN ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->edgeColumn() ); -} - -/* EdgeMode edgeMode () const */ -HB_FUNC( QT_QSCISCINTILLA_EDGEMODE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::EdgeMode ) ( p )->edgeMode() ); -} - -/* void setFont (const QFont &f) */ -HB_FUNC( QT_QSCISCINTILLA_SETFONT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* EolMode eolMode () const */ -HB_FUNC( QT_QSCISCINTILLA_EOLMODE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::EolMode ) ( p )->eolMode() ); -} - -/* bool eolVisibility () const */ -HB_FUNC( QT_QSCISCINTILLA_EOLVISIBILITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->eolVisibility() ); -} - -/* virtual bool findFirst (const QString &expr, bool re, bool cs, bool wo, bool wrap, bool forward=true, int line=-1, int index=-1, bool show=true) */ -HB_FUNC( QT_QSCISCINTILLA_FINDFIRST ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->findFirst( hb_parstr_utf8( 2, &pText, NULL ), hb_parl( 3 ), hb_parl( 4 ), hb_parl( 5 ), hb_parl( 6 ), hb_parl( 7 ), hb_parnidef( 8, -1 ), hb_parnidef( 9, -1 ), hb_parl( 10 ) ) ); - hb_strfree( pText ); - } -} - -/* virtual bool findNext () */ -HB_FUNC( QT_QSCISCINTILLA_FINDNEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->findNext() ); -} - -/* int firstVisibleLine () const */ -HB_FUNC( QT_QSCISCINTILLA_FIRSTVISIBLELINE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->firstVisibleLine() ); -} - -/* FoldStyle folding () const */ -HB_FUNC( QT_QSCISCINTILLA_FOLDING ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::FoldStyle ) ( p )->folding() ); -} - -/* void getCursorPosition (int *line, int *index) const */ -HB_FUNC( QT_QSCISCINTILLA_GETCURSORPOSITION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - int iLine = 0; - int iIndex = 0; - - if( p ) - ( p )->getCursorPosition( &iLine, &iIndex ); - - hb_storni( iLine, 2 ); - hb_storni( iIndex, 3 ); -} - -/* void getSelection (int *lineFrom, int *indexFrom, int *lineTo, int *indexTo) const */ -HB_FUNC( QT_QSCISCINTILLA_GETSELECTION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - int iLineFrom = 0; - int iIndexFrom = 0; - int iLineTo = 0; - int iIndexTo = 0; - - if( p ) - ( p )->getSelection( &iLineFrom, &iIndexFrom, &iLineTo, &iIndexTo ); - - hb_storni( iLineFrom, 2 ); - hb_storni( iIndexFrom, 3 ); - hb_storni( iLineTo, 4 ); - hb_storni( iIndexTo, 5 ); -} - -/* bool hasSelectedText () const */ -HB_FUNC( QT_QSCISCINTILLA_HASSELECTEDTEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->hasSelectedText() ); -} - -/* int indentation (int line) const */ -HB_FUNC( QT_QSCISCINTILLA_INDENTATION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->indentation( hb_parni( 2 ) ) ); -} - -/* bool indentationGuides () const */ -HB_FUNC( QT_QSCISCINTILLA_INDENTATIONGUIDES ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->indentationGuides() ); -} - -/* bool indentationsUseTabs () const */ -HB_FUNC( QT_QSCISCINTILLA_INDENTATIONSUSETABS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->indentationsUseTabs() ); -} - -/* int indentationWidth () const */ -HB_FUNC( QT_QSCISCINTILLA_INDENTATIONWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->indentationWidth() ); -} - -/* bool isCallTipActive () const */ -HB_FUNC( QT_QSCISCINTILLA_ISCALLTIPACTIVE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isCallTipActive() ); -} - -/* bool isListActive () const */ -HB_FUNC( QT_QSCISCINTILLA_ISLISTACTIVE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isListActive() ); -} - -/* bool isModified () const */ -HB_FUNC( QT_QSCISCINTILLA_ISMODIFIED ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isModified() ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QSCISCINTILLA_ISREADONLY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* bool isRedoAvailable () const */ -HB_FUNC( QT_QSCISCINTILLA_ISREDOAVAILABLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isRedoAvailable() ); -} - -/* bool isUndoAvailable () const */ -HB_FUNC( QT_QSCISCINTILLA_ISUNDOAVAILABLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isUndoAvailable() ); -} - -/* bool isUtf8 () const */ -HB_FUNC( QT_QSCISCINTILLA_ISUTF8 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isUtf8() ); -} - -/* bool isWordCharacter (char ch) const */ -HB_FUNC( QT_QSCISCINTILLA_ISWORDCHARACTER ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->isWordCharacter( ( char ) hb_parni( 2 ) ) ); -} - -/* int lineAt (const QPoint &pos) const */ -HB_FUNC( QT_QSCISCINTILLA_LINEAT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->lineAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* void lineIndexFromPosition (int position, int *line, int *index) const */ -HB_FUNC( QT_QSCISCINTILLA_LINEINDEXFROMPOSITION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - int iLine = 0; - int iIndex = 0; - - if( p ) - ( p )->lineIndexFromPosition( hb_parni( 2 ), &iLine, &iIndex ); - - hb_storni( iLine, 3 ); - hb_storni( iIndex, 4 ); -} - -/* int lineLength (int line) const */ -HB_FUNC( QT_QSCISCINTILLA_LINELENGTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->lineLength( hb_parni( 2 ) ) ); -} - -/* int lines () const */ -HB_FUNC( QT_QSCISCINTILLA_LINES ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->lines() ); -} - -/* int length () const */ -HB_FUNC( QT_QSCISCINTILLA_LENGTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* QsciLexer * lexer () const */ -HB_FUNC( QT_QSCISCINTILLA_LEXER ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QsciLexer( ( p )->lexer(), false ) ); -} - -/* bool marginLineNumbers (int margin) const */ -HB_FUNC( QT_QSCISCINTILLA_MARGINLINENUMBERS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->marginLineNumbers( hb_parni( 2 ) ) ); -} - -/* int marginMarkerMask (int margin) const */ -HB_FUNC( QT_QSCISCINTILLA_MARGINMARKERMASK ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->marginMarkerMask( hb_parni( 2 ) ) ); -} - -/* bool marginSensitivity (int margin) const */ -HB_FUNC( QT_QSCISCINTILLA_MARGINSENSITIVITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->marginSensitivity( hb_parni( 2 ) ) ); -} - -/* MarginType marginType (int margin) const */ -HB_FUNC( QT_QSCISCINTILLA_MARGINTYPE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::MarginType ) ( p )->marginType( hb_parni( 2 ) ) ); -} - -/* int marginWidth (int margin) const */ -HB_FUNC( QT_QSCISCINTILLA_MARGINWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->marginWidth( hb_parni( 2 ) ) ); -} - -/* int markerDefine (MarkerSymbol sym, int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERDEFINE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerDefine( ( QsciScintilla::MarkerSymbol ) hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int markerDefine (char ch, int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERDEFINE_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerDefine( ( char ) hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int markerDefine (const QPixmap &pm, int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERDEFINE_2 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerDefine( *hbqt_par_QPixmap( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int markerAdd (int linenr, int mnr) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERADD ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerAdd( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* unsigned markersAtLine (int linenr) const */ -HB_FUNC( QT_QSCISCINTILLA_MARKERSATLINE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markersAtLine( hb_parni( 2 ) ) ); -} - -/* void markerDelete (int linenr, int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERDELETE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->markerDelete( hb_parni( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* void markerDeleteAll (int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERDELETEALL ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->markerDeleteAll( hb_parnidef( 2, -1 ) ); -} - -/* void markerDeleteHandle (int mhandle) */ -HB_FUNC( QT_QSCISCINTILLA_MARKERDELETEHANDLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->markerDeleteHandle( hb_parni( 2 ) ); -} - -/* int markerLine (int mhandle) const */ -HB_FUNC( QT_QSCISCINTILLA_MARKERLINE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerLine( hb_parni( 2 ) ) ); -} - -/* int markerFindNext (int linenr, unsigned mask) const */ -HB_FUNC( QT_QSCISCINTILLA_MARKERFINDNEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerFindNext( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* int markerFindPrevious (int linenr, unsigned mask) const */ -HB_FUNC( QT_QSCISCINTILLA_MARKERFINDPREVIOUS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->markerFindPrevious( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* QColor paper () const */ -HB_FUNC( QT_QSCISCINTILLA_PAPER ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->paper() ), true ) ); -} - -/* int positionFromLineIndex (int line, int index) const */ -HB_FUNC( QT_QSCISCINTILLA_POSITIONFROMLINEINDEX ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->positionFromLineIndex( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* bool read (QIODevice *io) */ -HB_FUNC( QT_QSCISCINTILLA_READ ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->read( hbqt_par_QIODevice( 2 ) ) ); -} - -/* virtual void recolor (int start=0, int end=-1) */ -HB_FUNC( QT_QSCISCINTILLA_RECOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->recolor( hb_parni( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* void registerImage (int id, const QPixmap &pm) */ -HB_FUNC( QT_QSCISCINTILLA_REGISTERIMAGE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->registerImage( hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* virtual void replace (const QString &replaceStr) */ -HB_FUNC( QT_QSCISCINTILLA_REPLACE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->replace( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void resetFoldMarginColors () */ -HB_FUNC( QT_QSCISCINTILLA_RESETFOLDMARGINCOLORS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->resetFoldMarginColors(); -} - -/* void setFoldMarginColors (const QColor &fore, const QColor &back) */ -HB_FUNC( QT_QSCISCINTILLA_SETFOLDMARGINCOLORS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setFoldMarginColors( *hbqt_par_QColor( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* void setAnnotationDisplay (AnnotationDisplay display) */ -HB_FUNC( QT_QSCISCINTILLA_SETANNOTATIONDISPLAY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAnnotationDisplay( ( QsciScintilla::AnnotationDisplay ) hb_parni( 2 ) ); -} - -/* void setAutoCompletionFillupsEnabled (bool enabled) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONFILLUPSENABLED ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionFillupsEnabled( hb_parl( 2 ) ); -} - -/* void setAutoCompletionFillups (const char *fillups) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONFILLUPS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionFillups( ( const char * ) hb_parc( 2 ) ); -} - -/* void setAutoCompletionWordSeparators (const QStringList &separators) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONWORDSEPARATORS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionWordSeparators( *hbqt_par_QStringList( 2 ) ); -} - -/* void setCallTipsBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETCALLTIPSBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCallTipsBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setCallTipsForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETCALLTIPSFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCallTipsForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setCallTipsHighlightColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETCALLTIPSHIGHLIGHTCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCallTipsHighlightColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setCallTipsStyle (CallTipsStyle style) */ -HB_FUNC( QT_QSCISCINTILLA_SETCALLTIPSSTYLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCallTipsStyle( ( QsciScintilla::CallTipsStyle ) hb_parni( 2 ) ); -} - -/* void setCallTipsVisible (int nr) */ -HB_FUNC( QT_QSCISCINTILLA_SETCALLTIPSVISIBLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCallTipsVisible( hb_parni( 2 ) ); -} - -/* void setDocument (const QsciDocument &document) */ -HB_FUNC( QT_QSCISCINTILLA_SETDOCUMENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setDocument( *hbqt_par_QsciDocument( 2 ) ); -} - -/* void setEdgeColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETEDGECOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setEdgeColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setEdgeColumn (int colnr) */ -HB_FUNC( QT_QSCISCINTILLA_SETEDGECOLUMN ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setEdgeColumn( hb_parni( 2 ) ); -} - -/* void setEdgeMode (EdgeMode mode) */ -HB_FUNC( QT_QSCISCINTILLA_SETEDGEMODE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setEdgeMode( ( QsciScintilla::EdgeMode ) hb_parni( 2 ) ); -} - -/* void setMarginText (int line, const QString &text, int style) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINTEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->setMarginText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parni( 4 ) ); - hb_strfree( pText ); - } -} - -/* void setMarginText (int line, const QString &text, const QsciStyle &style) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINTEXT_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->setMarginText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), *hbqt_par_QsciStyle( 4 ) ); - hb_strfree( pText ); - } -} - -/* void setMarginText (int line, const QsciStyledText &text) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINTEXT_2 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginText( hb_parni( 2 ), *hbqt_par_QsciStyledText( 3 ) ); -} - -/* void setMarginType (int margin, MarginType type) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINTYPE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginType( hb_parni( 2 ), ( QsciScintilla::MarginType ) hb_parni( 3 ) ); -} - -/* void clearMarginText (int line=-1) */ -HB_FUNC( QT_QSCISCINTILLA_CLEARMARGINTEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->clearMarginText( hb_parnidef( 2, -1 ) ); -} - -/* void setMarkerBackgroundColor (const QColor &col, int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARKERBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarkerBackgroundColor( *hbqt_par_QColor( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* void setMarkerForegroundColor (const QColor &col, int mnr=-1) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARKERFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarkerForegroundColor( *hbqt_par_QColor( 2 ), hb_parnidef( 3, -1 ) ); -} - -/* void setMatchedBraceBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETMATCHEDBRACEBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMatchedBraceBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setMatchedBraceForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETMATCHEDBRACEFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMatchedBraceForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setUnmatchedBraceBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETUNMATCHEDBRACEBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setUnmatchedBraceBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setUnmatchedBraceForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETUNMATCHEDBRACEFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setUnmatchedBraceForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setWrapVisualFlags (WrapVisualFlag eflag, WrapVisualFlag sflag=WrapFlagNone, int sindent=0) */ -HB_FUNC( QT_QSCISCINTILLA_SETWRAPVISUALFLAGS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setWrapVisualFlags( ( QsciScintilla::WrapVisualFlag ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QsciScintilla::WrapVisualFlag ) hb_parni( 3 ) : ( QsciScintilla::WrapVisualFlag ) QsciScintilla::WrapFlagNone ), hb_parni( 4 ) ); -} - -/* QString selectedText () const */ -HB_FUNC( QT_QSCISCINTILLA_SELECTEDTEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retstr_utf8( ( p )->selectedText().toUtf8().data() ); -} - -/* bool selectionToEol () const */ -HB_FUNC( QT_QSCISCINTILLA_SELECTIONTOEOL ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->selectionToEol() ); -} - -/* void setSelectionToEol (bool filled) */ -HB_FUNC( QT_QSCISCINTILLA_SETSELECTIONTOEOL ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setSelectionToEol( hb_parl( 2 ) ); -} - -/* void showUserList (int id, const QStringList &list) */ -HB_FUNC( QT_QSCISCINTILLA_SHOWUSERLIST ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->showUserList( hb_parni( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* QsciCommandSet * standardCommands () const */ -HB_FUNC( QT_QSCISCINTILLA_STANDARDCOMMANDS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QsciCommandSet( ( p )->standardCommands(), false ) ); -} - -/* bool tabIndents () const */ -HB_FUNC( QT_QSCISCINTILLA_TABINDENTS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->tabIndents() ); -} - -/* int tabWidth () const */ -HB_FUNC( QT_QSCISCINTILLA_TABWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->tabWidth() ); -} - -/* QString text () const */ -HB_FUNC( QT_QSCISCINTILLA_TEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* QString text (int line) const */ -HB_FUNC( QT_QSCISCINTILLA_TEXT_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* int textHeight (int linenr) const */ -HB_FUNC( QT_QSCISCINTILLA_TEXTHEIGHT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( p )->textHeight( hb_parni( 2 ) ) ); -} - -/* WhitespaceVisibility whitespaceVisibility () const */ -HB_FUNC( QT_QSCISCINTILLA_WHITESPACEVISIBILITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::WhitespaceVisibility ) ( p )->whitespaceVisibility() ); -} - -/* QString wordAtPoint (const QPoint &point) const */ -HB_FUNC( QT_QSCISCINTILLA_WORDATPOINT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retstr_utf8( ( p )->wordAtPoint( *hbqt_par_QPoint( 2 ) ).toUtf8().data() ); -} - -/* const char * wordCharacters () const */ -HB_FUNC( QT_QSCISCINTILLA_WORDCHARACTERS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retc( ( p )->wordCharacters() ); -} - -/* WrapMode wrapMode () const */ -HB_FUNC( QT_QSCISCINTILLA_WRAPMODE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retni( ( QsciScintilla::WrapMode ) ( p )->wrapMode() ); -} - -/* bool write (QIODevice *io) const */ -HB_FUNC( QT_QSCISCINTILLA_WRITE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - hb_retl( ( p )->write( hbqt_par_QIODevice( 2 ) ) ); -} - -/* virtual void append (const QString &text) */ -HB_FUNC( QT_QSCISCINTILLA_APPEND ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->append( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void autoCompleteFromAll () */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETEFROMALL ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->autoCompleteFromAll(); -} - -/* virtual void autoCompleteFromAPIs () */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETEFROMAPIS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->autoCompleteFromAPIs(); -} - -/* virtual void autoCompleteFromDocument () */ -HB_FUNC( QT_QSCISCINTILLA_AUTOCOMPLETEFROMDOCUMENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->autoCompleteFromDocument(); -} - -/* virtual void callTip () */ -HB_FUNC( QT_QSCISCINTILLA_CALLTIP ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->callTip(); -} - -/* virtual void clear () */ -HB_FUNC( QT_QSCISCINTILLA_CLEAR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->clear(); -} - -/* virtual void copy () */ -HB_FUNC( QT_QSCISCINTILLA_COPY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->copy(); -} - -/* virtual void cut () */ -HB_FUNC( QT_QSCISCINTILLA_CUT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->cut(); -} - -/* virtual void ensureCursorVisible () */ -HB_FUNC( QT_QSCISCINTILLA_ENSURECURSORVISIBLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->ensureCursorVisible(); -} - -/* virtual void ensureLineVisible (int line) */ -HB_FUNC( QT_QSCISCINTILLA_ENSURELINEVISIBLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->ensureLineVisible( hb_parni( 2 ) ); -} - -/* virtual void foldAll (bool children=false) */ -HB_FUNC( QT_QSCISCINTILLA_FOLDALL ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->foldAll( hb_parl( 2 ) ); -} - -/* virtual void foldLine (int line) */ -HB_FUNC( QT_QSCISCINTILLA_FOLDLINE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->foldLine( hb_parni( 2 ) ); -} - -/* virtual void indent (int line) */ -HB_FUNC( QT_QSCISCINTILLA_INDENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->indent( hb_parni( 2 ) ); -} - -/* virtual void insert (const QString &text) */ -HB_FUNC( QT_QSCISCINTILLA_INSERT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->insert( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void insertAt (const QString &text, int line, int index) */ -HB_FUNC( QT_QSCISCINTILLA_INSERTAT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->insertAt( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), hb_parni( 4 ) ); - hb_strfree( pText ); - } -} - -/* virtual void moveToMatchingBrace () */ -HB_FUNC( QT_QSCISCINTILLA_MOVETOMATCHINGBRACE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->moveToMatchingBrace(); -} - -/* virtual void paste () */ -HB_FUNC( QT_QSCISCINTILLA_PASTE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->paste(); -} - -/* virtual void redo () */ -HB_FUNC( QT_QSCISCINTILLA_REDO ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->redo(); -} - -/* virtual void removeSelectedText () */ -HB_FUNC( QT_QSCISCINTILLA_REMOVESELECTEDTEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->removeSelectedText(); -} - -/* virtual void resetSelectionBackgroundColor () */ -HB_FUNC( QT_QSCISCINTILLA_RESETSELECTIONBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->resetSelectionBackgroundColor(); -} - -/* virtual void resetSelectionForegroundColor () */ -HB_FUNC( QT_QSCISCINTILLA_RESETSELECTIONFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->resetSelectionForegroundColor(); -} - -/* virtual void selectAll (bool select=true) */ -HB_FUNC( QT_QSCISCINTILLA_SELECTALL ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->selectAll( hb_parl( 2 ) ); -} - -/* virtual void selectToMatchingBrace () */ -HB_FUNC( QT_QSCISCINTILLA_SELECTTOMATCHINGBRACE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->selectToMatchingBrace(); -} - -/* virtual void setAutoCompletionCaseSensitivity (bool cs) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONCASESENSITIVITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionCaseSensitivity( hb_parl( 2 ) ); -} - -/* virtual void setAutoCompletionReplaceWord (bool replace) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONREPLACEWORD ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionReplaceWord( hb_parl( 2 ) ); -} - -/* virtual void setAutoCompletionShowSingle (bool single) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONSHOWSINGLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionShowSingle( hb_parl( 2 ) ); -} - -/* virtual void setAutoCompletionSource (AutoCompletionSource source) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONSOURCE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionSource( ( QsciScintilla::AutoCompletionSource ) hb_parni( 2 ) ); -} - -/* virtual void setAutoCompletionThreshold (int thresh) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOCOMPLETIONTHRESHOLD ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoCompletionThreshold( hb_parni( 2 ) ); -} - -/* virtual void setAutoIndent (bool autoindent) */ -HB_FUNC( QT_QSCISCINTILLA_SETAUTOINDENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setAutoIndent( hb_parl( 2 ) ); -} - -/* virtual void setBraceMatching (BraceMatch bm) */ -HB_FUNC( QT_QSCISCINTILLA_SETBRACEMATCHING ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setBraceMatching( ( QsciScintilla::BraceMatch ) hb_parni( 2 ) ); -} - -/* virtual void setBackspaceUnindents (bool unindent) */ -HB_FUNC( QT_QSCISCINTILLA_SETBACKSPACEUNINDENTS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setBackspaceUnindents( hb_parl( 2 ) ); -} - -/* virtual void setCaretForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETCARETFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCaretForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setCaretLineBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETCARETLINEBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCaretLineBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setCaretLineVisible (bool enable) */ -HB_FUNC( QT_QSCISCINTILLA_SETCARETLINEVISIBLE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCaretLineVisible( hb_parl( 2 ) ); -} - -/* virtual void setCaretWidth (int width) */ -HB_FUNC( QT_QSCISCINTILLA_SETCARETWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCaretWidth( hb_parni( 2 ) ); -} - -/* virtual void setColor (const QColor &c) */ -HB_FUNC( QT_QSCISCINTILLA_SETCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setCursorPosition (int line, int index) */ -HB_FUNC( QT_QSCISCINTILLA_SETCURSORPOSITION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setCursorPosition( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* virtual void setEolMode (EolMode mode) */ -HB_FUNC( QT_QSCISCINTILLA_SETEOLMODE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setEolMode( ( QsciScintilla::EolMode ) hb_parni( 2 ) ); -} - -/* virtual void setEolVisibility (bool visible) */ -HB_FUNC( QT_QSCISCINTILLA_SETEOLVISIBILITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setEolVisibility( hb_parl( 2 ) ); -} - -/* virtual void setFolding (FoldStyle fold, int margin=2) */ -HB_FUNC( QT_QSCISCINTILLA_SETFOLDING ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setFolding( ( QsciScintilla::FoldStyle ) hb_parni( 2 ), hb_parnidef( 3, 2 ) ); -} - -/* virtual void setIndentation (int line, int indentation) */ -HB_FUNC( QT_QSCISCINTILLA_SETINDENTATION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setIndentation( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* virtual void setIndentationGuides (bool enable) */ -HB_FUNC( QT_QSCISCINTILLA_SETINDENTATIONGUIDES ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setIndentationGuides( hb_parl( 2 ) ); -} - -/* virtual void setIndentationGuidesBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETINDENTATIONGUIDESBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setIndentationGuidesBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setIndentationGuidesForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETINDENTATIONGUIDESFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setIndentationGuidesForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setIndentationsUseTabs (bool tabs) */ -HB_FUNC( QT_QSCISCINTILLA_SETINDENTATIONSUSETABS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setIndentationsUseTabs( hb_parl( 2 ) ); -} - -/* virtual void setIndentationWidth (int width) */ -HB_FUNC( QT_QSCISCINTILLA_SETINDENTATIONWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setIndentationWidth( hb_parni( 2 ) ); -} - -/* virtual void setLexer (QsciLexer *lexer=0) */ -HB_FUNC( QT_QSCISCINTILLA_SETLEXER ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setLexer( hbqt_par_QsciLexer( 2 ) ); -} - -/* virtual void setMarginsBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINSBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginsBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setMarginsFont (const QFont &f) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINSFONT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginsFont( *hbqt_par_QFont( 2 ) ); -} - -/* virtual void setMarginsForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINSFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginsForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setMarginLineNumbers (int margin, bool lnrs) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINLINENUMBERS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginLineNumbers( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* virtual void setMarginMarkerMask (int margin, int mask) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINMARKERMASK ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginMarkerMask( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* virtual void setMarginSensitivity (int margin, bool sens) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINSENSITIVITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginSensitivity( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* virtual void setMarginWidth (int margin, int width) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setMarginWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* virtual void setMarginWidth (int margin, const QString &s) */ -HB_FUNC( QT_QSCISCINTILLA_SETMARGINWIDTH_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->setMarginWidth( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setModified (bool m) */ -HB_FUNC( QT_QSCISCINTILLA_SETMODIFIED ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setModified( hb_parl( 2 ) ); -} - -/* virtual void setPaper (const QColor &c) */ -HB_FUNC( QT_QSCISCINTILLA_SETPAPER ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setPaper( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setReadOnly (bool ro) */ -HB_FUNC( QT_QSCISCINTILLA_SETREADONLY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* virtual void setSelection (int lineFrom, int indexFrom, int lineTo, int indexTo) */ -HB_FUNC( QT_QSCISCINTILLA_SETSELECTION ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setSelection( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* virtual void setSelectionBackgroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETSELECTIONBACKGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setSelectionBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setSelectionForegroundColor (const QColor &col) */ -HB_FUNC( QT_QSCISCINTILLA_SETSELECTIONFOREGROUNDCOLOR ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setSelectionForegroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* virtual void setTabIndents (bool indent) */ -HB_FUNC( QT_QSCISCINTILLA_SETTABINDENTS ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setTabIndents( hb_parl( 2 ) ); -} - -/* virtual void setTabWidth (int width) */ -HB_FUNC( QT_QSCISCINTILLA_SETTABWIDTH ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setTabWidth( hb_parni( 2 ) ); -} - -/* virtual void setText (const QString &text) */ -HB_FUNC( QT_QSCISCINTILLA_SETTEXT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setUtf8 (bool cp) */ -HB_FUNC( QT_QSCISCINTILLA_SETUTF8 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setUtf8( hb_parl( 2 ) ); -} - -/* virtual void setWhitespaceVisibility (WhitespaceVisibility mode) */ -HB_FUNC( QT_QSCISCINTILLA_SETWHITESPACEVISIBILITY ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setWhitespaceVisibility( ( QsciScintilla::WhitespaceVisibility ) hb_parni( 2 ) ); -} - -/* virtual void setWrapMode (WrapMode mode) */ -HB_FUNC( QT_QSCISCINTILLA_SETWRAPMODE ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->setWrapMode( ( QsciScintilla::WrapMode ) hb_parni( 2 ) ); -} - -/* virtual void undo () */ -HB_FUNC( QT_QSCISCINTILLA_UNDO ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->undo(); -} - -/* virtual void unindent (int line) */ -HB_FUNC( QT_QSCISCINTILLA_UNINDENT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->unindent( hb_parni( 2 ) ); -} - -/* virtual void zoomIn (int range) */ -HB_FUNC( QT_QSCISCINTILLA_ZOOMIN ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->zoomIn( hb_parni( 2 ) ); -} - -/* virtual void zoomIn () */ -HB_FUNC( QT_QSCISCINTILLA_ZOOMIN_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->zoomIn(); -} - -/* virtual void zoomOut (int range) */ -HB_FUNC( QT_QSCISCINTILLA_ZOOMOUT ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->zoomOut( hb_parni( 2 ) ); -} - -/* virtual void zoomOut () */ -HB_FUNC( QT_QSCISCINTILLA_ZOOMOUT_1 ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->zoomOut(); -} - -/* virtual void zoomTo (int size) */ -HB_FUNC( QT_QSCISCINTILLA_ZOOMTO ) -{ - QsciScintilla * p = hbqt_par_QsciScintilla( 1 ); - if( p ) - ( p )->zoomTo( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp deleted file mode 100644 index e2c8bd286a..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciStyle.cpp +++ /dev/null @@ -1,267 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum TextCase { OriginalCase = 0, UpperCase = 1, LowerCase = 2 } - */ - -/* - * Constructed[ 20/20 [ 100.00% ] ] - * - */ - -#include - -#include - -/* - * QsciStyle (int style=-1) - * QsciStyle (int style, const QString &description, const QColor &color, const QColor &paper, const QFont &font, bool eol_fill=false) - * - */ - -typedef struct -{ - QPointer< QsciStyle > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciStyle; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciStyle ) -{ - HBQT_GC_T_QsciStyle * p = ( HBQT_GC_T_QsciStyle * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QsciStyle * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciStyle( void * pObj, bool bNew ) -{ - HBQT_GC_T_QsciStyle * p = ( HBQT_GC_T_QsciStyle * ) hb_gcAllocate( sizeof( HBQT_GC_T_QsciStyle ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QsciStyle >( ( QsciStyle * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciStyle; - p->type = HBQT_TYPE_QsciStyle; - - return p; -} - -HB_FUNC( QT_QSCISTYLE ) -{ - QsciStyle * pObj = NULL; - - if( HB_ISNUMERIC( 1 ) ) - { - pObj = new QsciStyle( hb_parni( 1 ) ) ; - } - else if( hb_pcount() >= 5 ) - { - pObj = new QsciStyle( hb_parni( 1 ), hbqt_par_QString( 2 ), *hbqt_par_QColor( 3 ), *hbqt_par_QColor( 4 ), * hbqt_par_QFont( 5 ), HB_ISLOG( 6 ) ? hb_parl( 6 ) : false ) ; - } - else - { - pObj = new QsciStyle() ; - } - - hb_retptrGC( hbqt_gcAllocate_QsciStyle( ( void * ) pObj, true ) ); -} - -/* int style () const */ -HB_FUNC( QT_QSCISTYLE_STYLE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retni( ( p )->style() ); -} - -/* void setDescription (const QString &description) */ -HB_FUNC( QT_QSCISTYLE_SETDESCRIPTION ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - { - void * pText; - ( p )->setDescription( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString description () const */ -HB_FUNC( QT_QSCISTYLE_DESCRIPTION ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retstr_utf8( ( p )->description().toUtf8().data() ); -} - -/* void setColor (const QColor &color) */ -HB_FUNC( QT_QSCISTYLE_SETCOLOR ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setColor( *hbqt_par_QColor( 2 ) ); -} - -/* QColor color () const */ -HB_FUNC( QT_QSCISTYLE_COLOR ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color() ), true ) ); -} - -/* void setPaper (const QColor &paper) */ -HB_FUNC( QT_QSCISTYLE_SETPAPER ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setPaper( *hbqt_par_QColor( 2 ) ); -} - -/* QColor paper () const */ -HB_FUNC( QT_QSCISTYLE_PAPER ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->paper() ), true ) ); -} - -/* void setFont (const QFont &font) */ -HB_FUNC( QT_QSCISTYLE_SETFONT ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QSCISTYLE_FONT ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* void setEolFill (bool fill) */ -HB_FUNC( QT_QSCISTYLE_SETEOLFILL ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setEolFill( hb_parl( 2 ) ); -} - -/* bool eolFill () const */ -HB_FUNC( QT_QSCISTYLE_EOLFILL ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retl( ( p )->eolFill() ); -} - -/* void setTextCase (TextCase text_case) */ -HB_FUNC( QT_QSCISTYLE_SETTEXTCASE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setTextCase( ( QsciStyle::TextCase ) hb_parni( 2 ) ); -} - -/* TextCase textCase () const */ -HB_FUNC( QT_QSCISTYLE_TEXTCASE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retni( ( QsciStyle::TextCase ) ( p )->textCase() ); -} - -/* void setVisible (bool visible) */ -HB_FUNC( QT_QSCISTYLE_SETVISIBLE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* bool visible () const */ -HB_FUNC( QT_QSCISTYLE_VISIBLE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retl( ( p )->visible() ); -} - -/* void setChangeable (bool changeable) */ -HB_FUNC( QT_QSCISTYLE_SETCHANGEABLE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setChangeable( hb_parl( 2 ) ); -} - -/* bool changeable () const */ -HB_FUNC( QT_QSCISTYLE_CHANGEABLE ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retl( ( p )->changeable() ); -} - -/* void setHotspot (bool hotspot) */ -HB_FUNC( QT_QSCISTYLE_SETHOTSPOT ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->setHotspot( hb_parl( 2 ) ); -} - -/* bool hotspot () const */ -HB_FUNC( QT_QSCISTYLE_HOTSPOT ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - hb_retl( ( p )->hotspot() ); -} - -/* void refresh () */ -HB_FUNC( QT_QSCISTYLE_REFRESH ) -{ - QsciStyle * p = hbqt_par_QsciStyle( 1 ); - if( p ) - ( p )->refresh(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp b/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp deleted file mode 100644 index 9ad9ca96a0..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/QsciStyledText.cpp +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqscintilla.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QsciStyledText (const QString &text, int style) - * QsciStyledText (const QString &text, const QsciStyle &style) - * - */ - -typedef struct -{ - QsciStyledText * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QsciStyledText; - -HBQT_GC_FUNC( hbqt_gcRelease_QsciStyledText ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QsciStyledText * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QsciStyledText( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QsciStyledText * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QsciStyledText; - p->type = HBQT_TYPE_QsciStyledText; - - return p; -} - -HB_FUNC( QT_QSCISTYLEDTEXT ) -{ - QsciStyledText * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QsciStyledText( hbqt_par_QString( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QsciStyledText( hbqt_par_QString( 1 ), *hbqt_par_QsciStyle( 2 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QsciStyledText( ( void * ) pObj, true ) ); -} - -/* const QString & text () const */ -HB_FUNC( QT_QSCISTYLEDTEXT_TEXT ) -{ - QsciStyledText * p = hbqt_par_QsciStyledText( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* int style () const */ -HB_FUNC( QT_QSCISTYLEDTEXT_STYLE ) -{ - QsciStyledText * p = hbqt_par_QsciStyledText( 1 ); - if( p ) - hb_retni( ( p )->style() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg b/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg deleted file mode 100644 index df7cedac42..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/THBQsciScintilla.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION HBQsciScintilla( ... ) - RETURN HB_HBQsciScintilla():new( ... ) - -FUNCTION HBQsciScintillaFromPointer( ... ) - RETURN HB_HBQsciScintilla():fromPointer( ... ) - - -CREATE CLASS HBQsciScintilla INHERIT HbQtObjectHandler, HB_QsciScintilla FUNCTION HB_HBQsciScintilla - - METHOD new( ... ) - - - ENDCLASS - - -METHOD HBQsciScintilla:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQsciScintilla( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg deleted file mode 100644 index e71fda8221..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciAPIs.prg +++ /dev/null @@ -1,218 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciAPIs( ... ) - RETURN HB_QsciAPIs():new( ... ) - -FUNCTION QsciAPIsFromPointer( ... ) - RETURN HB_QsciAPIs():fromPointer( ... ) - - -CREATE CLASS QsciAPIs INHERIT HbQtObjectHandler, HB_QsciAbstractAPIs FUNCTION HB_QsciAPIs - - METHOD new( ... ) - - METHOD add // ( cEntry ) -> NIL - METHOD clear // ( ) -> NIL - METHOD load // ( cFname ) -> lBool - METHOD remove // ( cEntry ) -> NIL - METHOD prepare // ( ) -> NIL - METHOD cancelPreparation // ( ) -> NIL - METHOD defaultPreparedName // ( ) -> cQString - METHOD isPrepared // ( cFname ) -> lBool - METHOD loadPrepared // ( cFname ) -> lBool - METHOD savePrepared // ( cFname ) -> lBool - METHOD updateAutoCompletionList // ( oQStringList, oQStringList ) -> NIL - METHOD autoCompletionSelected // ( cSel ) -> NIL - METHOD event // ( oQEvent ) -> lBool - METHOD installedAPIFiles // ( ) -> oQStringList - - ENDCLASS - - -METHOD QsciAPIs:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciAPIs( ... ) - RETURN Self - - -METHOD QsciAPIs:add( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_add( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciAPIs_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:load( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_load( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:prepare( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciAPIs_prepare( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:cancelPreparation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciAPIs_cancelPreparation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:defaultPreparedName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciAPIs_defaultPreparedName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:isPrepared( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_isPrepared( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciAPIs_isPrepared( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:loadPrepared( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_loadPrepared( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciAPIs_loadPrepared( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:savePrepared( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_savePrepared( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciAPIs_savePrepared( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:updateAutoCompletionList( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciAPIs_updateAutoCompletionList( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:autoCompletionSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_autoCompletionSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:event( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciAPIs_event( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAPIs:installedAPIFiles( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QsciAPIs_installedAPIFiles( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg deleted file mode 100644 index b55dbe8a63..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciAbstractAPIs.prg +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciAbstractAPIs( ... ) - RETURN HB_QsciAbstractAPIs():new( ... ) - -FUNCTION QsciAbstractAPIsFromPointer( ... ) - RETURN HB_QsciAbstractAPIs():fromPointer( ... ) - - -CREATE CLASS QsciAbstractAPIs INHERIT HbQtObjectHandler FUNCTION HB_QsciAbstractAPIs - - METHOD new( ... ) - - METHOD lexer // ( ) -> oQsciLexer - METHOD updateAutoCompletionList // ( oQStringList, oQStringList ) -> NIL - METHOD autoCompletionSelected // ( cSelection ) -> NIL - - ENDCLASS - - -METHOD QsciAbstractAPIs:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciAbstractAPIs( ... ) - RETURN Self - - -METHOD QsciAbstractAPIs:lexer( ... ) - SWITCH PCount() - CASE 0 - RETURN QsciLexerFromPointer( Qt_QsciAbstractAPIs_lexer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAbstractAPIs:updateAutoCompletionList( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciAbstractAPIs_updateAutoCompletionList( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciAbstractAPIs:autoCompletionSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciAbstractAPIs_autoCompletionSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg deleted file mode 100644 index 9d08df5e3f..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciCommand.prg +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciCommand( ... ) - RETURN HB_QsciCommand():new( ... ) - -FUNCTION QsciCommandFromPointer( ... ) - RETURN HB_QsciCommand():fromPointer( ... ) - - -CREATE CLASS QsciCommand INHERIT HbQtObjectHandler FUNCTION HB_QsciCommand - - METHOD new( ... ) - - METHOD setKey // ( nKey ) -> NIL - METHOD setAlternateKey // ( nAltkey ) -> NIL - METHOD key // ( ) -> nInt - METHOD alternateKey // ( ) -> nInt - METHOD description // ( ) -> cQString - METHOD validKey // ( nKey ) -> lBool - - ENDCLASS - - -METHOD QsciCommand:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciCommand( ... ) - RETURN Self - - -METHOD QsciCommand:setKey( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciCommand_setKey( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommand:setAlternateKey( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciCommand_setAlternateKey( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommand:key( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciCommand_key( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommand:alternateKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciCommand_alternateKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommand:description( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciCommand_description( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommand:validKey( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciCommand_validKey( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg deleted file mode 100644 index 06530c4ad8..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciCommandSet.prg +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciCommandSet( ... ) - RETURN HB_QsciCommandSet():new( ... ) - -FUNCTION QsciCommandSetFromPointer( ... ) - RETURN HB_QsciCommandSet():fromPointer( ... ) - - -CREATE CLASS QsciCommandSet INHERIT HbQtObjectHandler FUNCTION HB_QsciCommandSet - - METHOD new( ... ) - - METHOD readSettings // ( oQSettings, cPrefix ) -> lBool - METHOD writeSettings // ( oQSettings, cPrefix ) -> lBool - METHOD commands // ( ) -> oQList_ QsciCommand * > & - METHOD clearKeys // ( ) -> NIL - METHOD clearAlternateKeys // ( ) -> NIL - - ENDCLASS - - -METHOD QsciCommandSet:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciCommandSet( ... ) - RETURN Self - - -METHOD QsciCommandSet:readSettings( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QsciCommandSet_readSettings( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciCommandSet_readSettings( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommandSet:writeSettings( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QsciCommandSet_writeSettings( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciCommandSet_writeSettings( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommandSet:commands( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QsciCommandSet_commands( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommandSet:clearKeys( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciCommandSet_clearKeys( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciCommandSet:clearAlternateKeys( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciCommandSet_clearAlternateKeys( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg deleted file mode 100644 index bfb636a124..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciDocument.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciDocument( ... ) - RETURN HB_QsciDocument():new( ... ) - -FUNCTION QsciDocumentFromPointer( ... ) - RETURN HB_QsciDocument():fromPointer( ... ) - - -CREATE CLASS QsciDocument INHERIT HbQtObjectHandler FUNCTION HB_QsciDocument - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QsciDocument:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciDocument( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg deleted file mode 100644 index ca49a86f05..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciLexer.prg +++ /dev/null @@ -1,570 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciLexer( ... ) - RETURN HB_QsciLexer():new( ... ) - -FUNCTION QsciLexerFromPointer( ... ) - RETURN HB_QsciLexer():fromPointer( ... ) - - -CREATE CLASS QsciLexer INHERIT HbQtObjectHandler FUNCTION HB_QsciLexer - - METHOD new( ... ) - - METHOD language // ( ) -> cChar - METHOD lexer // ( ) -> cChar - METHOD lexerId // ( ) -> nInt - METHOD apis // ( ) -> oQsciAbstractAPIs - METHOD autoCompletionFillups // ( ) -> cChar - METHOD autoCompletionWordSeparators // ( ) -> oQStringList - METHOD autoIndentStyle // ( ) -> nInt - METHOD blockEnd // ( @nStyle ) -> cChar - METHOD blockLookback // ( ) -> nInt - METHOD blockStart // ( @nStyle ) -> cChar - METHOD blockStartKeyword // ( @nStyle ) -> cChar - METHOD braceStyle // ( ) -> nInt - METHOD caseSensitive // ( ) -> lBool - METHOD color // ( nStyle ) -> oQColor - METHOD eolFill // ( nStyle ) -> lBool - METHOD font // ( nStyle ) -> oQFont - METHOD indentationGuideView // ( ) -> nInt - METHOD keywords // ( nSet ) -> cChar - METHOD defaultStyle // ( ) -> nInt - METHOD description // ( nStyle ) -> cQString - METHOD paper // ( nStyle ) -> oQColor - METHOD defaultColor // ( ) -> oQColor - // ( nStyle ) -> oQColor - METHOD defaultEolFill // ( nStyle ) -> lBool - METHOD defaultFont // ( ) -> oQFont - // ( nStyle ) -> oQFont - METHOD defaultPaper // ( ) -> oQColor - // ( nStyle ) -> oQColor - METHOD editor // ( ) -> oQsciScintilla - METHOD setEditor // ( oQsciScintilla ) -> NIL - METHOD readSettings // ( oQSettings, cPrefix ) -> lBool - METHOD refreshProperties // ( ) -> NIL - METHOD styleBitsNeeded // ( ) -> nInt - METHOD wordCharacters // ( ) -> cChar - METHOD writeSettings // ( oQSettings, cPrefix ) -> lBool - METHOD setAPIs // ( oQsciAbstractAPIs ) -> NIL - METHOD setDefaultColor // ( oQColor ) -> NIL - METHOD setDefaultFont // ( oQFont ) -> NIL - METHOD setDefaultPaper // ( oQColor ) -> NIL - METHOD setAutoIndentStyle // ( nAutoindentstyle ) -> NIL - METHOD setColor // ( oQColor, nStyle ) -> NIL - METHOD setEolFill // ( lEoffill, nStyle ) -> NIL - METHOD setFont // ( oQFont, nStyle ) -> NIL - METHOD setPaper // ( oQColor, nStyle ) -> NIL - - ENDCLASS - - -METHOD QsciLexer:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciLexer( ... ) - RETURN Self - - -METHOD QsciLexer:language( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_language( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:lexer( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_lexer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:lexerId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_lexerId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:apis( ... ) - SWITCH PCount() - CASE 0 - RETURN QsciAbstractAPIsFromPointer( Qt_QsciLexer_apis( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:autoCompletionFillups( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_autoCompletionFillups( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:autoCompletionWordSeparators( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QsciLexer_autoCompletionWordSeparators( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:autoIndentStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_autoIndentStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:blockEnd( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_blockEnd( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexer_blockEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:blockLookback( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_blockLookback( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:blockStart( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_blockStart( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexer_blockStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:blockStartKeyword( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_blockStartKeyword( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexer_blockStartKeyword( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:braceStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_braceStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:caseSensitive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_caseSensitive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:color( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexer_color( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:eolFill( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_eolFill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:font( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QsciLexer_font( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:indentationGuideView( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_indentationGuideView( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:keywords( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_keywords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:defaultStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_defaultStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:description( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_description( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:paper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexer_paper( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:defaultColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexer_defaultColor_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QColorFromPointer( Qt_QsciLexer_defaultColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:defaultEolFill( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_defaultEolFill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:defaultFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QsciLexer_defaultFont_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QFontFromPointer( Qt_QsciLexer_defaultFont( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:defaultPaper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexer_defaultPaper_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QColorFromPointer( Qt_QsciLexer_defaultPaper( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:editor( ... ) - SWITCH PCount() - CASE 0 - RETURN QsciScintillaFromPointer( Qt_QsciLexer_editor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:readSettings( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QsciLexer_readSettings( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_readSettings( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:refreshProperties( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_refreshProperties( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:styleBitsNeeded( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_styleBitsNeeded( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:wordCharacters( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexer_wordCharacters( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:writeSettings( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QsciLexer_writeSettings( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_writeSettings( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setAPIs( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setAPIs( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setDefaultColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setDefaultColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setDefaultFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setDefaultFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setDefaultPaper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setDefaultPaper( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setAutoIndentStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setAutoIndentStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciLexer_setColor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setEolFill( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciLexer_setEolFill( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setEolFill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setFont( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciLexer_setFont( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexer:setPaper( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciLexer_setPaper( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexer_setPaper( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg deleted file mode 100644 index 32a9e82e82..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerCPP.prg +++ /dev/null @@ -1,359 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciLexerCPP( ... ) - RETURN HB_QsciLexerCPP():new( ... ) - -FUNCTION QsciLexerCPPFromPointer( ... ) - RETURN HB_QsciLexerCPP():fromPointer( ... ) - - -CREATE CLASS QsciLexerCPP INHERIT HbQtObjectHandler, HB_QsciLexer FUNCTION HB_QsciLexerCPP - - METHOD new( ... ) - - METHOD language // ( ) -> cChar - METHOD lexer // ( ) -> cChar - METHOD autoCompletionWordSeparators // ( ) -> oQStringList - METHOD blockEnd // ( @nStyle ) -> cChar - METHOD blockStart // ( @nStyle ) -> cChar - METHOD blockStartKeyword // ( @nStyle ) -> cChar - METHOD braceStyle // ( ) -> nInt - METHOD wordCharacters // ( ) -> cChar - METHOD defaultColor // ( nStyle ) -> oQColor - METHOD defaultEolFill // ( nStyle ) -> lBool - METHOD defaultFont // ( nStyle ) -> oQFont - METHOD defaultPaper // ( nStyle ) -> oQColor - METHOD keywords // ( nSet ) -> cChar - METHOD description // ( nStyle ) -> cQString - METHOD refreshProperties // ( ) -> NIL - METHOD foldAtElse // ( ) -> lBool - METHOD foldComments // ( ) -> lBool - METHOD foldCompact // ( ) -> lBool - METHOD foldPreprocessor // ( ) -> lBool - METHOD stylePreprocessor // ( ) -> lBool - METHOD setDollarsAllowed // ( lAllowed ) -> NIL - METHOD dollarsAllowed // ( ) -> lBool - METHOD setFoldAtElse // ( lFold ) -> NIL - METHOD setFoldComments // ( lFold ) -> NIL - METHOD setFoldCompact // ( lFold ) -> NIL - METHOD setFoldPreprocessor // ( lFold ) -> NIL - METHOD setStylePreprocessor // ( lStyle ) -> NIL - - ENDCLASS - - -METHOD QsciLexerCPP:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciLexerCPP( ... ) - RETURN Self - - -METHOD QsciLexerCPP:language( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_language( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:lexer( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_lexer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:autoCompletionWordSeparators( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QsciLexerCPP_autoCompletionWordSeparators( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:blockEnd( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_blockEnd( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexerCPP_blockEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:blockStart( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_blockStart( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexerCPP_blockStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:blockStartKeyword( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_blockStartKeyword( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexerCPP_blockStartKeyword( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:braceStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_braceStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:wordCharacters( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_wordCharacters( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:defaultColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexerCPP_defaultColor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:defaultEolFill( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_defaultEolFill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:defaultFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QsciLexerCPP_defaultFont( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:defaultPaper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexerCPP_defaultPaper( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:keywords( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_keywords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:description( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_description( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:refreshProperties( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_refreshProperties( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:foldAtElse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_foldAtElse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:foldComments( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_foldComments( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:foldCompact( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_foldCompact( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:foldPreprocessor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_foldPreprocessor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:stylePreprocessor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_stylePreprocessor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:setDollarsAllowed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_setDollarsAllowed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:dollarsAllowed( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerCPP_dollarsAllowed( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:setFoldAtElse( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_setFoldAtElse( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:setFoldComments( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_setFoldComments( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:setFoldCompact( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_setFoldCompact( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:setFoldPreprocessor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_setFoldPreprocessor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerCPP:setStylePreprocessor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerCPP_setStylePreprocessor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg deleted file mode 100644 index fe0d6bdba3..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciLexerFlagship.prg +++ /dev/null @@ -1,359 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciLexerFlagship( ... ) - RETURN HB_QsciLexerFlagship():new( ... ) - -FUNCTION QsciLexerFlagshipFromPointer( ... ) - RETURN HB_QsciLexerFlagship():fromPointer( ... ) - - -CREATE CLASS QsciLexerFlagship INHERIT HbQtObjectHandler, HB_QsciLexer FUNCTION HB_QsciLexerFlagship - - METHOD new( ... ) - - METHOD language // ( ) -> cChar - METHOD lexer // ( ) -> cChar - METHOD autoCompletionWordSeparators // ( ) -> oQStringList - METHOD blockEnd // ( @nStyle ) -> cChar - METHOD blockStart // ( @nStyle ) -> cChar - METHOD blockStartKeyword // ( @nStyle ) -> cChar - METHOD braceStyle // ( ) -> nInt - METHOD wordCharacters // ( ) -> cChar - METHOD defaultColor // ( nStyle ) -> oQColor - METHOD defaultEolFill // ( nStyle ) -> lBool - METHOD defaultFont // ( nStyle ) -> oQFont - METHOD defaultPaper // ( nStyle ) -> oQColor - METHOD keywords // ( nSet ) -> cChar - METHOD description // ( nStyle ) -> cQString - METHOD refreshProperties // ( ) -> NIL - METHOD foldAtElse // ( ) -> lBool - METHOD foldComments // ( ) -> lBool - METHOD foldCompact // ( ) -> lBool - METHOD foldPreprocessor // ( ) -> lBool - METHOD stylePreprocessor // ( ) -> lBool - METHOD setDollarsAllowed // ( lAllowed ) -> NIL - METHOD dollarsAllowed // ( ) -> lBool - METHOD setFoldAtElse // ( lFold ) -> NIL - METHOD setFoldComments // ( lFold ) -> NIL - METHOD setFoldCompact // ( lFold ) -> NIL - METHOD setFoldPreprocessor // ( lFold ) -> NIL - METHOD setStylePreprocessor // ( lStyle ) -> NIL - - ENDCLASS - - -METHOD QsciLexerFlagship:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciLexerFlagship( ... ) - RETURN Self - - -METHOD QsciLexerFlagship:language( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_language( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:lexer( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_lexer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:autoCompletionWordSeparators( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QsciLexerFlagship_autoCompletionWordSeparators( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:blockEnd( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_blockEnd( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexerFlagship_blockEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:blockStart( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_blockStart( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexerFlagship_blockStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:blockStartKeyword( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_blockStartKeyword( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciLexerFlagship_blockStartKeyword( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:braceStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_braceStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:wordCharacters( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_wordCharacters( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:defaultColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexerFlagship_defaultColor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:defaultEolFill( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_defaultEolFill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:defaultFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QsciLexerFlagship_defaultFont( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:defaultPaper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QsciLexerFlagship_defaultPaper( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:keywords( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_keywords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:description( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_description( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:refreshProperties( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_refreshProperties( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:foldAtElse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_foldAtElse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:foldComments( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_foldComments( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:foldCompact( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_foldCompact( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:foldPreprocessor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_foldPreprocessor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:stylePreprocessor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_stylePreprocessor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:setDollarsAllowed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_setDollarsAllowed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:dollarsAllowed( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciLexerFlagship_dollarsAllowed( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:setFoldAtElse( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_setFoldAtElse( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:setFoldComments( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_setFoldComments( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:setFoldCompact( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_setFoldCompact( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:setFoldPreprocessor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_setFoldPreprocessor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciLexerFlagship:setStylePreprocessor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciLexerFlagship_setStylePreprocessor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg deleted file mode 100644 index 8b96eda8c7..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciScintilla.prg +++ /dev/null @@ -1,2309 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciScintilla( ... ) - RETURN HB_QsciScintilla():new( ... ) - -FUNCTION QsciScintillaFromPointer( ... ) - RETURN HB_QsciScintilla():fromPointer( ... ) - - -CREATE CLASS QsciScintilla INHERIT HbQtObjectHandler FUNCTION HB_QsciScintilla - - METHOD new( ... ) - - METHOD annotate // ( nLine, cText, nStyle ) -> NIL - // ( nLine, cText, oQsciStyle ) -> NIL - // ( nLine, oQsciStyledText ) -> NIL - METHOD annotation // ( nLine ) -> cQString - METHOD annotationDisplay // ( ) -> nAnnotationDisplay - METHOD clearAnnotations // ( nLine ) -> NIL - METHOD autoCompletionCaseSensitivity // ( ) -> lBool - METHOD autoCompletionFillupsEnabled // ( ) -> lBool - METHOD autoCompletionReplaceWord // ( ) -> lBool - METHOD autoCompletionShowSingle // ( ) -> lBool - METHOD autoCompletionSource // ( ) -> nAutoCompletionSource - METHOD autoCompletionThreshold // ( ) -> nInt - METHOD autoIndent // ( ) -> lBool - METHOD backspaceUnindents // ( ) -> lBool - METHOD beginUndoAction // ( ) -> NIL - METHOD braceMatching // ( ) -> nBraceMatch - METHOD callTipsStyle // ( ) -> nCallTipsStyle - METHOD callTipsVisible // ( ) -> nInt - METHOD cancelList // ( ) -> NIL - METHOD caseSensitive // ( ) -> lBool - METHOD clearFolds // ( ) -> NIL - METHOD clearRegisteredImages // ( ) -> NIL - METHOD color // ( ) -> oQColor - METHOD convertEols // ( nMode ) -> NIL - METHOD document // ( ) -> oQsciDocument - METHOD endUndoAction // ( ) -> NIL - METHOD edgeColor // ( ) -> oQColor - METHOD edgeColumn // ( ) -> nInt - METHOD edgeMode // ( ) -> nEdgeMode - METHOD setFont // ( oQFont ) -> NIL - METHOD eolMode // ( ) -> nEolMode - METHOD eolVisibility // ( ) -> lBool - METHOD findFirst // ( cExpr, lRe, lCs, lWo, lWrap, lForward, nLine, nIndex, lShow ) -> lBool - METHOD findNext // ( ) -> lBool - METHOD firstVisibleLine // ( ) -> nInt - METHOD folding // ( ) -> nFoldStyle - METHOD getCursorPosition // ( @nLine, @nIndex ) -> NIL - METHOD getSelection // ( @nLineFrom, @nIndexFrom, @nLineTo, @nIndexTo ) -> NIL - METHOD hasSelectedText // ( ) -> lBool - METHOD indentation // ( nLine ) -> nInt - METHOD indentationGuides // ( ) -> lBool - METHOD indentationsUseTabs // ( ) -> lBool - METHOD indentationWidth // ( ) -> nInt - METHOD isCallTipActive // ( ) -> lBool - METHOD isListActive // ( ) -> lBool - METHOD isModified // ( ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD isRedoAvailable // ( ) -> lBool - METHOD isUndoAvailable // ( ) -> lBool - METHOD isUtf8 // ( ) -> lBool - METHOD isWordCharacter // ( nCh ) -> lBool - METHOD lineAt // ( oQPoint ) -> nInt - METHOD lineIndexFromPosition // ( nPosition, @nLine, @nIndex ) -> NIL - METHOD lineLength // ( nLine ) -> nInt - METHOD lines // ( ) -> nInt - METHOD length // ( ) -> nInt - METHOD lexer // ( ) -> oQsciLexer - METHOD marginLineNumbers // ( nMargin ) -> lBool - METHOD marginMarkerMask // ( nMargin ) -> nInt - METHOD marginSensitivity // ( nMargin ) -> lBool - METHOD marginType // ( nMargin ) -> nMarginType - METHOD marginWidth // ( nMargin ) -> nInt - METHOD markerDefine // ( nSym, nMnr ) -> nInt - // ( nCh, nMnr ) -> nInt - // ( oQPixmap, nMnr ) -> nInt - METHOD markerAdd // ( nLinenr, nMnr ) -> nInt - METHOD markersAtLine // ( nLinenr ) -> nUnsigned - METHOD markerDelete // ( nLinenr, nMnr ) -> NIL - METHOD markerDeleteAll // ( nMnr ) -> NIL - METHOD markerDeleteHandle // ( nMhandle ) -> NIL - METHOD markerLine // ( nMhandle ) -> nInt - METHOD markerFindNext // ( nLinenr, nMask ) -> nInt - METHOD markerFindPrevious // ( nLinenr, nMask ) -> nInt - METHOD paper // ( ) -> oQColor - METHOD positionFromLineIndex // ( nLine, nIndex ) -> nInt - METHOD read // ( oQIODevice ) -> lBool - METHOD recolor // ( nStart, nEnd ) -> NIL - METHOD registerImage // ( nId, oQPixmap ) -> NIL - METHOD replace // ( cReplaceStr ) -> NIL - METHOD resetFoldMarginColors // ( ) -> NIL - METHOD setFoldMarginColors // ( oQColor, oQColor ) -> NIL - METHOD setAnnotationDisplay // ( nDisplay ) -> NIL - METHOD setAutoCompletionFillupsEnabled // ( lEnabled ) -> NIL - METHOD setAutoCompletionFillups // ( cFillups ) -> NIL - METHOD setAutoCompletionWordSeparators // ( oQStringList ) -> NIL - METHOD setCallTipsBackgroundColor // ( oQColor ) -> NIL - METHOD setCallTipsForegroundColor // ( oQColor ) -> NIL - METHOD setCallTipsHighlightColor // ( oQColor ) -> NIL - METHOD setCallTipsStyle // ( nStyle ) -> NIL - METHOD setCallTipsVisible // ( nNr ) -> NIL - METHOD setDocument // ( oQsciDocument ) -> NIL - METHOD setEdgeColor // ( oQColor ) -> NIL - METHOD setEdgeColumn // ( nColnr ) -> NIL - METHOD setEdgeMode // ( nMode ) -> NIL - METHOD setMarginText // ( nLine, cText, nStyle ) -> NIL - // ( nLine, cText, oQsciStyle ) -> NIL - // ( nLine, oQsciStyledText ) -> NIL - METHOD setMarginType // ( nMargin, nType ) -> NIL - METHOD clearMarginText // ( nLine ) -> NIL - METHOD setMarkerBackgroundColor // ( oQColor, nMnr ) -> NIL - METHOD setMarkerForegroundColor // ( oQColor, nMnr ) -> NIL - METHOD setMatchedBraceBackgroundColor // ( oQColor ) -> NIL - METHOD setMatchedBraceForegroundColor // ( oQColor ) -> NIL - METHOD setUnmatchedBraceBackgroundColor // ( oQColor ) -> NIL - METHOD setUnmatchedBraceForegroundColor // ( oQColor ) -> NIL - METHOD setWrapVisualFlags // ( nEflag, nSflag, nSindent ) -> NIL - METHOD selectedText // ( ) -> cQString - METHOD selectionToEol // ( ) -> lBool - METHOD setSelectionToEol // ( lFilled ) -> NIL - METHOD showUserList // ( nId, oQStringList ) -> NIL - METHOD standardCommands // ( ) -> oQsciCommandSet - METHOD tabIndents // ( ) -> lBool - METHOD tabWidth // ( ) -> nInt - METHOD text // ( ) -> cQString - // ( nLine ) -> cQString - METHOD textHeight // ( nLinenr ) -> nInt - METHOD whitespaceVisibility // ( ) -> nWhitespaceVisibility - METHOD wordAtPoint // ( oQPoint ) -> cQString - METHOD wordCharacters // ( ) -> cChar - METHOD wrapMode // ( ) -> nWrapMode - METHOD write // ( oQIODevice ) -> lBool - METHOD append // ( cText ) -> NIL - METHOD autoCompleteFromAll // ( ) -> NIL - METHOD autoCompleteFromAPIs // ( ) -> NIL - METHOD autoCompleteFromDocument // ( ) -> NIL - METHOD callTip // ( ) -> NIL - METHOD clear // ( ) -> NIL - METHOD copy // ( ) -> NIL - METHOD cut // ( ) -> NIL - METHOD ensureCursorVisible // ( ) -> NIL - METHOD ensureLineVisible // ( nLine ) -> NIL - METHOD foldAll // ( lChildren ) -> NIL - METHOD foldLine // ( nLine ) -> NIL - METHOD indent // ( nLine ) -> NIL - METHOD insert // ( cText ) -> NIL - METHOD insertAt // ( cText, nLine, nIndex ) -> NIL - METHOD moveToMatchingBrace // ( ) -> NIL - METHOD paste // ( ) -> NIL - METHOD redo // ( ) -> NIL - METHOD removeSelectedText // ( ) -> NIL - METHOD resetSelectionBackgroundColor // ( ) -> NIL - METHOD resetSelectionForegroundColor // ( ) -> NIL - METHOD selectAll // ( lSelect ) -> NIL - METHOD selectToMatchingBrace // ( ) -> NIL - METHOD setAutoCompletionCaseSensitivity // ( lCs ) -> NIL - METHOD setAutoCompletionReplaceWord // ( lReplace ) -> NIL - METHOD setAutoCompletionShowSingle // ( lSingle ) -> NIL - METHOD setAutoCompletionSource // ( nSource ) -> NIL - METHOD setAutoCompletionThreshold // ( nThresh ) -> NIL - METHOD setAutoIndent // ( lAutoindent ) -> NIL - METHOD setBraceMatching // ( nBm ) -> NIL - METHOD setBackspaceUnindents // ( lUnindent ) -> NIL - METHOD setCaretForegroundColor // ( oQColor ) -> NIL - METHOD setCaretLineBackgroundColor // ( oQColor ) -> NIL - METHOD setCaretLineVisible // ( lEnable ) -> NIL - METHOD setCaretWidth // ( nWidth ) -> NIL - METHOD setColor // ( oQColor ) -> NIL - METHOD setCursorPosition // ( nLine, nIndex ) -> NIL - METHOD setEolMode // ( nMode ) -> NIL - METHOD setEolVisibility // ( lVisible ) -> NIL - METHOD setFolding // ( nFold, nMargin ) -> NIL - METHOD setIndentation // ( nLine, nIndentation ) -> NIL - METHOD setIndentationGuides // ( lEnable ) -> NIL - METHOD setIndentationGuidesBackgroundColor // ( oQColor ) -> NIL - METHOD setIndentationGuidesForegroundColor // ( oQColor ) -> NIL - METHOD setIndentationsUseTabs // ( lTabs ) -> NIL - METHOD setIndentationWidth // ( nWidth ) -> NIL - METHOD setLexer // ( oQsciLexer ) -> NIL - METHOD setMarginsBackgroundColor // ( oQColor ) -> NIL - METHOD setMarginsFont // ( oQFont ) -> NIL - METHOD setMarginsForegroundColor // ( oQColor ) -> NIL - METHOD setMarginLineNumbers // ( nMargin, lLnrs ) -> NIL - METHOD setMarginMarkerMask // ( nMargin, nMask ) -> NIL - METHOD setMarginSensitivity // ( nMargin, lSens ) -> NIL - METHOD setMarginWidth // ( nMargin, nWidth ) -> NIL - // ( nMargin, cS ) -> NIL - METHOD setModified // ( lM ) -> NIL - METHOD setPaper // ( oQColor ) -> NIL - METHOD setReadOnly // ( lRo ) -> NIL - METHOD setSelection // ( nLineFrom, nIndexFrom, nLineTo, nIndexTo ) -> NIL - METHOD setSelectionBackgroundColor // ( oQColor ) -> NIL - METHOD setSelectionForegroundColor // ( oQColor ) -> NIL - METHOD setTabIndents // ( lIndent ) -> NIL - METHOD setTabWidth // ( nWidth ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setUtf8 // ( lCp ) -> NIL - METHOD setWhitespaceVisibility // ( nMode ) -> NIL - METHOD setWrapMode // ( nMode ) -> NIL - METHOD undo // ( ) -> NIL - METHOD unindent // ( nLine ) -> NIL - METHOD zoomIn // ( nRange ) -> NIL - // ( ) -> NIL - METHOD zoomOut // ( nRange ) -> NIL - // ( ) -> NIL - METHOD zoomTo // ( nSize ) -> NIL - - ENDCLASS - - -METHOD QsciScintilla:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciScintilla( ... ) - RETURN Self - - -METHOD QsciScintilla:annotate( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QsciScintilla_annotate( ::pPtr, ... ) - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_annotate_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:annotation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_annotation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:annotationDisplay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_annotationDisplay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:clearAnnotations( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_clearAnnotations( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_clearAnnotations( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompletionCaseSensitivity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompletionCaseSensitivity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompletionFillupsEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompletionFillupsEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompletionReplaceWord( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompletionReplaceWord( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompletionShowSingle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompletionShowSingle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompletionSource( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompletionSource( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompletionThreshold( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompletionThreshold( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoIndent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoIndent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:backspaceUnindents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_backspaceUnindents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:beginUndoAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_beginUndoAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:braceMatching( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_braceMatching( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:callTipsStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_callTipsStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:callTipsVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_callTipsVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:cancelList( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_cancelList( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:caseSensitive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_caseSensitive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:clearFolds( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_clearFolds( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:clearRegisteredImages( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_clearRegisteredImages( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:color( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QsciScintilla_color( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:convertEols( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_convertEols( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QsciDocumentFromPointer( Qt_QsciScintilla_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:endUndoAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_endUndoAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:edgeColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QsciScintilla_edgeColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:edgeColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_edgeColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:edgeMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_edgeMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:eolMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_eolMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:eolVisibility( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_eolVisibility( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:findFirst( ... ) - SWITCH PCount() - CASE 9 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) .AND. hb_isLogical( hb_pvalue( 9 ) ) - RETURN Qt_QsciScintilla_findFirst( ::pPtr, ... ) - ENDCASE - EXIT - CASE 8 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) - RETURN Qt_QsciScintilla_findFirst( ::pPtr, ... ) - ENDCASE - EXIT - CASE 7 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) - RETURN Qt_QsciScintilla_findFirst( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) - RETURN Qt_QsciScintilla_findFirst( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) - RETURN Qt_QsciScintilla_findFirst( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:findNext( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_findNext( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:firstVisibleLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_firstVisibleLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:folding( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_folding( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:getCursorPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_getCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:getSelection( ... ) - 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_QsciScintilla_getSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:hasSelectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_hasSelectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:indentation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_indentation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:indentationGuides( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_indentationGuides( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:indentationsUseTabs( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_indentationsUseTabs( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:indentationWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_indentationWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isCallTipActive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isCallTipActive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isListActive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isListActive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isModified( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isRedoAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isRedoAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isUndoAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isUndoAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isUtf8( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_isUtf8( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:isWordCharacter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_isWordCharacter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:lineAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_lineAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:lineIndexFromPosition( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QsciScintilla_lineIndexFromPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:lineLength( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_lineLength( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:lines( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_lines( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:lexer( ... ) - SWITCH PCount() - CASE 0 - RETURN QsciLexerFromPointer( Qt_QsciScintilla_lexer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:marginLineNumbers( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_marginLineNumbers( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:marginMarkerMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_marginMarkerMask( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:marginSensitivity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_marginSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:marginType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_marginType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:marginWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_marginWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerDefine( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_markerDefine( ::pPtr, ... ) - // RETURN Qt_QsciScintilla_markerDefine_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_markerDefine_2( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markerDefine( ::pPtr, ... ) - // RETURN Qt_QsciScintilla_markerDefine_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markerDefine_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerAdd( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_markerAdd( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markersAtLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markersAtLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerDelete( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_markerDelete( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markerDelete( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerDeleteAll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markerDeleteAll( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_markerDeleteAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerDeleteHandle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markerDeleteHandle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_markerLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerFindNext( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_markerFindNext( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:markerFindPrevious( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_markerFindPrevious( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:paper( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QsciScintilla_paper( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:positionFromLineIndex( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_positionFromLineIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_read( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:recolor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_recolor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_recolor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_recolor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:registerImage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_registerImage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:replace( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_replace( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:resetFoldMarginColors( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_resetFoldMarginColors( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setFoldMarginColors( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setFoldMarginColors( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAnnotationDisplay( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAnnotationDisplay( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionFillupsEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionFillupsEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionFillups( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionFillups( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionWordSeparators( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionWordSeparators( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCallTipsBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCallTipsBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCallTipsForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCallTipsForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCallTipsHighlightColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCallTipsHighlightColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCallTipsStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCallTipsStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCallTipsVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCallTipsVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setDocument( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setDocument( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setEdgeColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setEdgeColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setEdgeColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setEdgeColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setEdgeMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setEdgeMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginText( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QsciScintilla_setMarginText( ::pPtr, ... ) - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginText_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginType( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:clearMarginText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_clearMarginText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_clearMarginText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarkerBackgroundColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarkerBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMarkerBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarkerForegroundColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarkerForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMarkerForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMatchedBraceBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMatchedBraceBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMatchedBraceForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMatchedBraceForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setUnmatchedBraceBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setUnmatchedBraceBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setUnmatchedBraceForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setUnmatchedBraceForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setWrapVisualFlags( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QsciScintilla_setWrapVisualFlags( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setWrapVisualFlags( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setWrapVisualFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:selectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_selectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:selectionToEol( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_selectionToEol( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setSelectionToEol( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setSelectionToEol( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:showUserList( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_showUserList( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:standardCommands( ... ) - SWITCH PCount() - CASE 0 - RETURN QsciCommandSetFromPointer( Qt_QsciScintilla_standardCommands( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:tabIndents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_tabIndents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:tabWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_tabWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:text( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_text_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:textHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_textHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:whitespaceVisibility( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_whitespaceVisibility( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:wordAtPoint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_wordAtPoint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:wordCharacters( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_wordCharacters( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:wrapMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_wrapMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:write( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_write( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:append( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_append( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompleteFromAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompleteFromAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompleteFromAPIs( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompleteFromAPIs( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:autoCompleteFromDocument( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_autoCompleteFromDocument( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:callTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_callTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:copy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_copy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:cut( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_cut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:ensureCursorVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_ensureCursorVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:ensureLineVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_ensureLineVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:foldAll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_foldAll( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_foldAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:foldLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_foldLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:indent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_indent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:insert( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_insert( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:insertAt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QsciScintilla_insertAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:moveToMatchingBrace( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_moveToMatchingBrace( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:paste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_paste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:redo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_redo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:removeSelectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_removeSelectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:resetSelectionBackgroundColor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_resetSelectionBackgroundColor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:resetSelectionForegroundColor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_resetSelectionForegroundColor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:selectAll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_selectAll( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_selectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:selectToMatchingBrace( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_selectToMatchingBrace( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionCaseSensitivity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionCaseSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionReplaceWord( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionReplaceWord( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionShowSingle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionShowSingle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionSource( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoCompletionThreshold( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoCompletionThreshold( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setAutoIndent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setAutoIndent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setBraceMatching( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setBraceMatching( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setBackspaceUnindents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setBackspaceUnindents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCaretForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCaretForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCaretLineBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCaretLineBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCaretLineVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCaretLineVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCaretWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setCaretWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setCursorPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setEolMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setEolMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setEolVisibility( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setEolVisibility( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setFolding( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setFolding( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setFolding( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setIndentation( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setIndentation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setIndentationGuides( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setIndentationGuides( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setIndentationGuidesBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setIndentationGuidesBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setIndentationGuidesForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setIndentationGuidesForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setIndentationsUseTabs( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setIndentationsUseTabs( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setIndentationWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setIndentationWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setLexer( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setLexer( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_setLexer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginsBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMarginsBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginsFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMarginsFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginsForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setMarginsForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginLineNumbers( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginLineNumbers( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginMarkerMask( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginMarkerMask( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginSensitivity( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setMarginWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginWidth_1( ::pPtr, ... ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QsciScintilla_setMarginWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setModified( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setModified( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setPaper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setPaper( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setSelection( ... ) - 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_QsciScintilla_setSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setSelectionBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setSelectionBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setSelectionForegroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setSelectionForegroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setTabIndents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setTabIndents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setTabWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setTabWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setUtf8( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setUtf8( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setWhitespaceVisibility( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setWhitespaceVisibility( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:setWrapMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_setWrapMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:undo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciScintilla_undo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:unindent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_unindent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:zoomIn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_zoomIn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_zoomIn_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:zoomOut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_zoomOut( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QsciScintilla_zoomOut_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciScintilla:zoomTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciScintilla_zoomTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg deleted file mode 100644 index af28c3c759..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciStyle.prg +++ /dev/null @@ -1,266 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciStyle( ... ) - RETURN HB_QsciStyle():new( ... ) - -FUNCTION QsciStyleFromPointer( ... ) - RETURN HB_QsciStyle():fromPointer( ... ) - - -CREATE CLASS QsciStyle INHERIT HbQtObjectHandler FUNCTION HB_QsciStyle - - METHOD new( ... ) - - METHOD style // ( ) -> nInt - METHOD setDescription // ( cDescription ) -> NIL - METHOD description // ( ) -> cQString - METHOD setColor // ( oQColor ) -> NIL - METHOD color // ( ) -> oQColor - METHOD setPaper // ( oQColor ) -> NIL - METHOD paper // ( ) -> oQColor - METHOD setFont // ( oQFont ) -> NIL - METHOD font // ( ) -> oQFont - METHOD setEolFill // ( lFill ) -> NIL - METHOD eolFill // ( ) -> lBool - METHOD setTextCase // ( nText_case ) -> NIL - METHOD textCase // ( ) -> nTextCase - METHOD setVisible // ( lVisible ) -> NIL - METHOD visible // ( ) -> lBool - METHOD setChangeable // ( lChangeable ) -> NIL - METHOD changeable // ( ) -> lBool - METHOD setHotspot // ( lHotspot ) -> NIL - METHOD hotspot // ( ) -> lBool - METHOD refresh // ( ) -> NIL - - ENDCLASS - - -METHOD QsciStyle:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciStyle( ... ) - RETURN Self - - -METHOD QsciStyle:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setDescription( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setDescription( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:description( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_description( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:color( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QsciStyle_color( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setPaper( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setPaper( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:paper( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QsciStyle_paper( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QsciStyle_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setEolFill( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setEolFill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:eolFill( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_eolFill( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setTextCase( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setTextCase( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:textCase( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_textCase( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:visible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_visible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setChangeable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setChangeable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:changeable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_changeable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:setHotspot( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QsciStyle_setHotspot( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:hotspot( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_hotspot( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyle:refresh( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyle_refresh( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg b/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg deleted file mode 100644 index 74967a7a97..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/TQsciStyledText.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQSCINTILLA - - -FUNCTION QsciStyledText( ... ) - RETURN HB_QsciStyledText():new( ... ) - -FUNCTION QsciStyledTextFromPointer( ... ) - RETURN HB_QsciStyledText():fromPointer( ... ) - - -CREATE CLASS QsciStyledText INHERIT HbQtObjectHandler FUNCTION HB_QsciStyledText - - METHOD new( ... ) - - METHOD text // ( ) -> cQString - METHOD style // ( ) -> nInt - - ENDCLASS - - -METHOD QsciStyledText:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QsciStyledText( ... ) - RETURN Self - - -METHOD QsciStyledText:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyledText_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QsciStyledText:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QsciStyledText_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qscintilla/g/filelist.hbm b/harbour/contrib/hbqt/qscintilla/g/filelist.hbm deleted file mode 100644 index aee9d8e345..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/filelist.hbm +++ /dev/null @@ -1,35 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -HBQsciScintilla.cpp -QsciAbstractAPIs.cpp -QsciAPIs.cpp -QsciCommand.cpp -QsciCommandSet.cpp -QsciDocument.cpp -QsciLexer.cpp -QsciLexerCPP.cpp -QsciLexerFlagship.cpp -QsciScintilla.cpp -QsciStyle.cpp -QsciStyledText.cpp - -THBQsciScintilla.prg -TQsciAbstractAPIs.prg -TQsciAPIs.prg -TQsciCommand.prg -TQsciCommandSet.prg -TQsciDocument.prg -TQsciLexer.prg -TQsciLexerCPP.prg -TQsciLexerFlagship.prg -TQsciScintilla.prg -TQsciStyle.prg -TQsciStyledText.prg diff --git a/harbour/contrib/hbqt/qscintilla/g/hbqscintilla.h b/harbour/contrib/hbqt/qscintilla/g/hbqscintilla.h deleted file mode 100644 index 5417dd48c4..0000000000 --- a/harbour/contrib/hbqt/qscintilla/g/hbqscintilla.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQSCINTILLA_H -#define __HBQSCINTILLA_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQsciScintilla ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciAbstractAPIs ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciAPIs ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciCommand ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciCommandSet ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciDocument ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciLexer ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciLexerCPP ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciLexerFlagship ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciScintilla ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciStyle ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciStyledText ); - -extern HB_EXPORT void * hbqt_gcAllocate_HBQsciScintilla( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciAbstractAPIs( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciAPIs( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciCommand( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciCommandSet( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciDocument( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciLexer( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciLexerCPP( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciLexerFlagship( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciScintilla( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciStyle( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QsciStyledText( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_HBQsciScintilla( n ) ( ( HBQsciScintilla * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciAbstractAPIs( n ) ( ( QsciAbstractAPIs * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciAPIs( n ) ( ( QsciAPIs * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciCommand( n ) ( ( QsciCommand * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciCommandSet( n ) ( ( QsciCommandSet * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciDocument( n ) ( ( QsciDocument * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciLexer( n ) ( ( QsciLexer * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciLexerCPP( n ) ( ( QsciLexerCPP * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciLexerFlagship( n ) ( ( QsciLexerFlagship * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciScintilla( n ) ( ( QsciScintilla * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciStyle( n ) ( ( QsciStyle * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QsciStyledText( n ) ( ( QsciStyledText * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_HBQsciScintilla 0x6B60CC0D -#define HBQT_TYPE_QsciAbstractAPIs 0xCCADCE94 -#define HBQT_TYPE_QsciAPIs 0x9EFA5259 -#define HBQT_TYPE_QsciCommand 0x5749A721 -#define HBQT_TYPE_QsciCommandSet 0x09909CA6 -#define HBQT_TYPE_QsciDocument 0x15670FA8 -#define HBQT_TYPE_QsciLexer 0x78741ACD -#define HBQT_TYPE_QsciLexerCPP 0x227FACBE -#define HBQT_TYPE_QsciLexerFlagship 0x8E1404B7 -#define HBQT_TYPE_QsciScintilla 0xC479630B -#define HBQT_TYPE_QsciStyle 0x21B27EDD -#define HBQT_TYPE_QsciStyledText 0xA0ADA2AF - -#endif /* __HBQSCINTILLA_H */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt deleted file mode 100644 index e6eadc522b..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqevents.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQEvents() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqevents.html - * $ONELINER$ - * Creates a new HBQEvents object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * HBQEvents( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQEvents - * $METHODS$ - * :hbConnect( xObj, nEvent, xBlock ) -> lBool - * :hbDisconnect( xObj, nEvent ) -> lBool - * :hbClear() -> lBool - * - * $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/qtcore/THBQEvents.prg - * C++ wrappers : contrib/hbqt/qtcore/HBQEvents.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt deleted file mode 100644 index 886d25a345..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqslots.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQSlots() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqslots.html - * $ONELINER$ - * Creates a new HBQSlots object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * HBQSlots( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQSlots - * $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/qtcore/THBQSlots.prg - * C++ wrappers : contrib/hbqt/qtcore/HBQSlots.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqstring.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_hbqstring.txt deleted file mode 100644 index b3d0fe6d0b..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_hbqstring.txt +++ /dev/null @@ -1,215 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQString() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqstring.html - * $ONELINER$ - * Creates a new HBQString object. - * $INHERITS$ - * - * $SYNTAX$ - * HBQString( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQString - * $METHODS$ - * :append( cStr ) -> cQString - * :append_1( oQStringRef ) -> cQString - * :append_2( oQLatin1String ) -> cQString - * :append_3( oQByteArray ) -> cQString - * :append_4( cStr ) -> cQString - * :append_5( oQChar ) -> cQString - * :arg( cA, nFieldWidth, oQChar ) -> cQString - * :arg_1( cA1, cA2 ) -> cQString - * :arg_2( cA1, cA2, cA3 ) -> cQString - * :arg_3( cA1, cA2, cA3, cA4 ) -> cQString - * :arg_4( cA1, cA2, cA3, cA4, cA5 ) -> cQString - * :arg_5( cA1, cA2, cA3, cA4, cA5, cA6 ) -> cQString - * :arg_6( cA1, cA2, cA3, cA4, cA5, cA6, cA7 ) -> cQString - * :arg_7( cA1, cA2, cA3, cA4, cA5, cA6, cA7, cA8 ) -> cQString - * :arg_8( cA1, cA2, cA3, cA4, cA5, cA6, cA7, cA8, cA9 ) -> cQString - * :arg_9( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_10( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_11( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_12( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_13( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_14( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_15( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_16( nA, nFieldWidth, nBase, oQChar ) -> cQString - * :arg_17( oQChar, nFieldWidth, oQChar ) -> cQString - * :arg_18( nA, nFieldWidth, oQChar ) -> cQString - * :arg_19( nA, nFieldWidth, nFormat, nPrecision, oQChar ) -> cQString - * :at( nPosition ) -> oQChar - * :capacity() -> nInt - * :chop( nN ) -> NIL - * :clear() -> NIL - * :compare( cOther ) -> nInt - * :compare_1( cOther, nCs ) -> nInt - * :compare_2( oQLatin1String, nCs ) -> nInt - * :compare_3( oQStringRef, nCs ) -> nInt - * :constData() -> oQChar - * :count( cStr, nCs ) -> nInt - * :count_1( oQChar, nCs ) -> nInt - * :count_2( oQRegExp ) -> nInt - * :count_3() -> nInt - * :data() -> oQChar - * :data_1() -> oQChar - * :endsWith( cS, nCs ) -> lBool - * :endsWith_1( oQLatin1String, nCs ) -> lBool - * :endsWith_2( oQChar, nCs ) -> lBool - * :fill( oQChar, nSize ) -> cQString - * :indexOf( cStr, nFrom, nCs ) -> nInt - * :indexOf_1( oQLatin1String, nFrom, nCs ) -> nInt - * :indexOf_2( oQChar, nFrom, nCs ) -> nInt - * :indexOf_3( oQRegExp, nFrom ) -> nInt - * :indexOf_4( oQRegExp, nFrom ) -> nInt - * :insert( nPosition, cStr ) -> cQString - * :insert_1( nPosition, oQLatin1String ) -> cQString - * :insert_2( nPosition, oQChar, nSize ) -> cQString - * :insert_3( nPosition, oQChar ) -> cQString - * :isEmpty() -> lBool - * :isNull() -> lBool - * :lastIndexOf( cStr, nFrom, nCs ) -> nInt - * :lastIndexOf_1( oQLatin1String, nFrom, nCs ) -> nInt - * :lastIndexOf_2( oQChar, nFrom, nCs ) -> nInt - * :lastIndexOf_3( oQRegExp, nFrom ) -> nInt - * :lastIndexOf_4( oQRegExp, nFrom ) -> nInt - * :left( nN ) -> cQString - * :leftJustified( nWidth, oQChar, lTruncate ) -> cQString - * :leftRef( nN ) -> oQStringRef - * :length() -> nInt - * :localeAwareCompare( oQStringRef ) -> nInt - * :localeAwareCompare_1( cOther ) -> nInt - * :mid( nPosition, nN ) -> cQString - * :midRef( nPosition, nN ) -> oQStringRef - * :normalized( nMode ) -> cQString - * :normalized_1( nMode, nVersion ) -> cQString - * :prepend( cStr ) -> cQString - * :prepend_1( oQLatin1String ) -> cQString - * :prepend_2( oQByteArray ) -> cQString - * :prepend_3( cStr ) -> cQString - * :prepend_4( oQChar ) -> cQString - * :push_back( cOther ) -> NIL - * :push_back_1( oQChar ) -> NIL - * :push_front( cOther ) -> NIL - * :push_front_1( oQChar ) -> NIL - * :remove( nPosition, nN ) -> cQString - * :remove_1( oQChar, nCs ) -> cQString - * :remove_2( cStr, nCs ) -> cQString - * :remove_3( oQRegExp ) -> cQString - * :repeated( nTimes ) -> cQString - * :replace( nPosition, nN, cAfter ) -> cQString - * :replace_1( nPosition, nN, oQChar, nSize ) -> cQString - * :replace_2( nPosition, nN, oQChar ) -> cQString - * :replace_3( cBefore, cAfter, nCs ) -> cQString - * :replace_4( oQChar, nBlen, oQChar, nAlen, nCs ) -> cQString - * :replace_5( oQChar, cAfter, nCs ) -> cQString - * :replace_6( oQChar, oQChar, nCs ) -> cQString - * :replace_7( oQLatin1String, oQLatin1String, nCs ) -> cQString - * :replace_8( oQLatin1String, cAfter, nCs ) -> cQString - * :replace_9( cBefore, oQLatin1String, nCs ) -> cQString - * :replace_10( oQChar, oQLatin1String, nCs ) -> cQString - * :replace_11( oQRegExp, cAfter ) -> cQString - * :reserve( nSize ) -> NIL - * :resize( nSize ) -> NIL - * :right( nN ) -> cQString - * :rightJustified( nWidth, oQChar, lTruncate ) -> cQString - * :rightRef( nN ) -> oQStringRef - * :section( oQChar, nStart, nEnd, nFlags ) -> cQString - * :section_1( cSep, nStart, nEnd, nFlags ) -> cQString - * :section_2( oQRegExp, nStart, nEnd, nFlags ) -> cQString - * :setNum( nN, nBase ) -> cQString - * :setNum_1( nN, nBase ) -> cQString - * :setNum_2( nN, nBase ) -> cQString - * :setNum_3( nN, nBase ) -> cQString - * :setNum_4( nN, nBase ) -> cQString - * :setNum_5( nN, nBase ) -> cQString - * :setNum_6( nN, nBase ) -> cQString - * :setNum_7( nN, nBase ) -> cQString - * :setNum_8( nN, nFormat, nPrecision ) -> cQString - * :setNum_9( nN, nFormat, nPrecision ) -> cQString - * :setUnicode( oQChar, nSize ) -> cQString - * :setUtf16( @nUnicode, nSize ) -> cQString - * :simplified() -> cQString - * :size() -> nInt - * :split( cSep, nBehavior, nCs ) -> oQStringList - * :split_1( oQChar, nBehavior, nCs ) -> oQStringList - * :split_2( oQRegExp, nBehavior ) -> oQStringList - * :squeeze() -> NIL - * :startsWith( cS, nCs ) -> lBool - * :startsWith_1( oQLatin1String, nCs ) -> lBool - * :startsWith_2( oQChar, nCs ) -> lBool - * :toAscii() -> oQByteArray - * :toCaseFolded() -> cQString - * :toDouble( @lOk ) -> nDouble - * :toFloat( @lOk ) -> nFloat - * :toInt( @lOk, nBase ) -> nInt - * :toLatin1() -> oQByteArray - * :toLocal8Bit() -> oQByteArray - * :toLong( @lOk, nBase ) -> nLong - * :toLongLong( @lOk, nBase ) -> nQlonglong - * :toLower() -> cQString - * :toShort( @lOk, nBase ) -> nShort - * :toUInt( @lOk, nBase ) -> nUint - * :toULong( @lOk, nBase ) -> nUlong - * :toULongLong( @lOk, nBase ) -> nQulonglong - * :toUShort( @lOk, nBase ) -> nUshort - * :toUpper() -> cQString - * :toUtf8() -> oQByteArray - * :trimmed() -> cQString - * :truncate( nPosition ) -> NIL - * :unicode() -> oQChar - * :compare_4( cS1, cS2, nCs ) -> nInt - * :compare_5( cS1, cS2 ) -> nInt - * :compare_6( cS1, oQLatin1String, nCs ) -> nInt - * :compare_7( oQLatin1String, cS2, nCs ) -> nInt - * :compare_8( cS1, oQStringRef, nCs ) -> nInt - * :fromAscii( cStr, nSize ) -> cQString - * :fromLatin1( cStr, nSize ) -> cQString - * :fromLocal8Bit( cStr, nSize ) -> cQString - * :fromRawData( oQChar, nSize ) -> cQString - * :fromUcs4( @nUnicode, nSize ) -> cQString - * :fromUtf8( cStr, nSize ) -> cQString - * :fromUtf16( @nUnicode, nSize ) -> cQString - * :localeAwareCompare_2( cS1, cS2 ) -> nInt - * :localeAwareCompare_3( cS1, oQStringRef ) -> nInt - * :number( nN, nBase ) -> cQString - * :number_1( nN, nFormat, nPrecision ) -> cQString - * :number_2( nN, nBase ) -> cQString - * :number_3( nN, nBase ) -> cQString - * :number_4( nN, nBase ) -> cQString - * :number_5( nN, nBase ) -> cQString - * :number_6( nN, nBase ) -> cQString - * - * $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/qtcore/THBQString.prg - * C++ wrappers : contrib/hbqt/qtcore/HBQString.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt deleted file mode 100644 index 44b155e754..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractitemmodel.txt +++ /dev/null @@ -1,80 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractItemModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractitemmodel.html - * $ONELINER$ - * Creates a new QAbstractItemModel object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QAbstractItemModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractItemModel - * $METHODS$ - * :buddy( oQModelIndex ) -> oQModelIndex - * :canFetchMore( oQModelIndex ) -> lBool - * :columnCount( oQModelIndex ) -> nInt - * :data( oQModelIndex, nRole ) -> oQVariant - * :dropMimeData( oQMimeData, nAction, nRow, nColumn, oQModelIndex ) -> lBool - * :fetchMore( oQModelIndex ) -> NIL - * :flags( oQModelIndex ) -> nQt_ItemFlags - * :hasChildren( oQModelIndex ) -> lBool - * :hasIndex( nRow, nColumn, oQModelIndex ) -> lBool - * :headerData( nSection, nOrientation, nRole ) -> oQVariant - * :index( nRow, nColumn, oQModelIndex ) -> oQModelIndex - * :insertColumn( nColumn, oQModelIndex ) -> lBool - * :insertColumns( nColumn, nCount, oQModelIndex ) -> lBool - * :insertRow( nRow, oQModelIndex ) -> lBool - * :insertRows( nRow, nCount, oQModelIndex ) -> lBool - * :mimeTypes() -> oQStringList - * :parent( oQModelIndex ) -> oQModelIndex - * :removeColumn( nColumn, oQModelIndex ) -> lBool - * :removeColumns( nColumn, nCount, oQModelIndex ) -> lBool - * :removeRow( nRow, oQModelIndex ) -> lBool - * :removeRows( nRow, nCount, oQModelIndex ) -> lBool - * :rowCount( oQModelIndex ) -> nInt - * :setData( oQModelIndex, oQVariant, nRole ) -> lBool - * :setHeaderData( nSection, nOrientation, oQVariant, nRole ) -> lBool - * :setSupportedDragActions( nActions ) -> NIL - * :sibling( nRow, nColumn, oQModelIndex ) -> oQModelIndex - * :sort( nColumn, nOrder ) -> NIL - * :span( oQModelIndex ) -> oQSize - * :supportedDragActions() -> nQt_DropActions - * :supportedDropActions() -> nQt_DropActions - * :revert() -> NIL - * :submit() -> lBool - * - * $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/qtcore/TQAbstractItemModel.prg - * C++ wrappers : contrib/hbqt/qtcore/QAbstractItemModel.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt deleted file mode 100644 index 17d7a69146..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstractlistmodel.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractListModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractlistmodel.html - * $ONELINER$ - * Creates a new QAbstractListModel object. - * $INHERITS$ - * QAbstractItemModel - * $SYNTAX$ - * QAbstractListModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractListModel - * $METHODS$ - * :index( nRow, nColumn, oQModelIndex ) -> oQModelIndex - * - * $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/qtcore/TQAbstractListModel.prg - * C++ wrappers : contrib/hbqt/qtcore/QAbstractListModel.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt deleted file mode 100644 index 998a591513..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qabstracttablemodel.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractTableModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstracttablemodel.html - * $ONELINER$ - * Creates a new QAbstractTableModel object. - * $INHERITS$ - * QAbstractItemModel - * $SYNTAX$ - * QAbstractTableModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractTableModel - * $METHODS$ - * :index( nRow, nColumn, oQModelIndex ) -> oQModelIndex - * - * $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/qtcore/TQAbstractTableModel.prg - * C++ wrappers : contrib/hbqt/qtcore/QAbstractTableModel.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt deleted file mode 100644 index 7b810a2101..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qbitarray.txt +++ /dev/null @@ -1,64 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QBitArray() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qbitarray.html - * $ONELINER$ - * Creates a new QBitArray object. - * $INHERITS$ - * - * $SYNTAX$ - * QBitArray( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QBitArray - * $METHODS$ - * :at( nI ) -> lBool - * :clear() -> NIL - * :clearBit( nI ) -> NIL - * :count() -> nInt - * :count( lOn ) -> nInt - * :fill( lValue, nSize ) -> lBool - * :fill( lValue, nBegin, nEnd ) -> NIL - * :isEmpty() -> lBool - * :isNull() -> lBool - * :resize( nSize ) -> NIL - * :setBit( nI ) -> NIL - * :setBit( nI, lValue ) -> NIL - * :size() -> nInt - * :testBit( nI ) -> lBool - * :toggleBit( nI ) -> lBool - * :truncate( nPos ) -> 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/qtcore/TQBitArray.prg - * C++ wrappers : contrib/hbqt/qtcore/QBitArray.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt deleted file mode 100644 index 363417052e..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qbuffer.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QBuffer() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qbuffer.html - * $ONELINER$ - * Creates a new QBuffer object. - * $INHERITS$ - * QIODevice - * $SYNTAX$ - * QBuffer( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QBuffer - * $METHODS$ - * :buffer() -> oQByteArray - * :data() -> oQByteArray - * :setBuffer( oQByteArray ) -> NIL - * :setData( cData, nSize ) -> NIL - * :setData( oQByteArray ) -> 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/qtcore/TQBuffer.prg - * C++ wrappers : contrib/hbqt/qtcore/QBuffer.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt deleted file mode 100644 index 49e55e6f60..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qbytearray.txt +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QByteArray() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qbytearray.html - * $ONELINER$ - * Creates a new QByteArray object. - * $INHERITS$ - * - * $SYNTAX$ - * QByteArray( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QByteArray - * $METHODS$ - * :append( oQByteArray ) -> oQByteArray - * :append_1( cStr ) -> oQByteArray - * :append_2( cStr ) -> oQByteArray - * :append_3( cStr, nLen ) -> oQByteArray - * :append_4( nCh ) -> oQByteArray - * :at( nI ) -> cChar - * :capacity() -> nInt - * :chop( nN ) -> NIL - * :clear() -> NIL - * :constData() -> cChar - * :count( oQByteArray ) -> nInt - * :count_1( cStr ) -> nInt - * :count_2( nCh ) -> nInt - * :count_3() -> nInt - * :data() -> cChar - * :data_1() -> cChar - * :endsWith( oQByteArray ) -> lBool - * :endsWith_1( cStr ) -> lBool - * :endsWith_2( nCh ) -> lBool - * :fill( nCh, nSize ) -> oQByteArray - * :indexOf( oQByteArray, nFrom ) -> nInt - * :indexOf_1( cStr, nFrom ) -> nInt - * :indexOf_2( cStr, nFrom ) -> nInt - * :indexOf_3( nCh, nFrom ) -> nInt - * :insert( nI, oQByteArray ) -> oQByteArray - * :insert_1( nI, cStr ) -> oQByteArray - * :insert_2( nI, cStr ) -> oQByteArray - * :insert_3( nI, nCh ) -> oQByteArray - * :isEmpty() -> lBool - * :isNull() -> lBool - * :lastIndexOf( oQByteArray, nFrom ) -> nInt - * :lastIndexOf_1( cStr, nFrom ) -> nInt - * :lastIndexOf_2( cStr, nFrom ) -> nInt - * :lastIndexOf_3( nCh, nFrom ) -> nInt - * :left( nLen ) -> oQByteArray - * :leftJustified( nWidth, nFill, lTruncate ) -> oQByteArray - * :length() -> nInt - * :mid( nPos, nLen ) -> oQByteArray - * :prepend( oQByteArray ) -> oQByteArray - * :prepend_1( cStr ) -> oQByteArray - * :prepend_2( nCh ) -> oQByteArray - * :push_back( oQByteArray ) -> NIL - * :push_back_1( cStr ) -> NIL - * :push_back_2( nCh ) -> NIL - * :push_front( oQByteArray ) -> NIL - * :push_front_1( cStr ) -> NIL - * :push_front_2( nCh ) -> NIL - * :remove( nPos, nLen ) -> oQByteArray - * :repeated( nTimes ) -> oQByteArray - * :replace( nPos, nLen, oQByteArray ) -> oQByteArray - * :replace_1( nPos, nLen, cAfter ) -> oQByteArray - * :replace_2( oQByteArray, oQByteArray ) -> oQByteArray - * :replace_3( cBefore, oQByteArray ) -> oQByteArray - * :replace_4( cBefore, nBsize, cAfter, nAsize ) -> oQByteArray - * :replace_5( oQByteArray, cAfter ) -> oQByteArray - * :replace_6( cBefore, oQByteArray ) -> oQByteArray - * :replace_7( cBefore, cAfter ) -> oQByteArray - * :replace_8( cBefore, cAfter ) -> oQByteArray - * :replace_9( nBefore, oQByteArray ) -> oQByteArray - * :replace_10( nBefore, cAfter ) -> oQByteArray - * :replace_11( nBefore, cAfter ) -> oQByteArray - * :replace_12( nBefore, nAfter ) -> oQByteArray - * :reserve( nSize ) -> NIL - * :resize( nSize ) -> NIL - * :right( nLen ) -> oQByteArray - * :rightJustified( nWidth, nFill, lTruncate ) -> oQByteArray - * :setNum( nN, nBase ) -> oQByteArray - * :setNum_1( nN, nBase ) -> oQByteArray - * :setNum_2( nN, nBase ) -> oQByteArray - * :setNum_3( nN, nBase ) -> oQByteArray - * :setNum_4( nN, nBase ) -> oQByteArray - * :setNum_5( nN, nBase ) -> oQByteArray - * :setNum_6( nN, nF, nPrec ) -> oQByteArray - * :setNum_7( nN, nF, nPrec ) -> oQByteArray - * :simplified() -> oQByteArray - * :size() -> nInt - * :split( nSep ) -> oQList_QByteArray> - * :squeeze() -> NIL - * :startsWith( oQByteArray ) -> lBool - * :startsWith_1( cStr ) -> lBool - * :startsWith_2( nCh ) -> lBool - * :toBase64() -> oQByteArray - * :toDouble( @lOk ) -> nDouble - * :toFloat( @lOk ) -> nFloat - * :toHex() -> oQByteArray - * :toInt( @lOk, nBase ) -> nInt - * :toLong( @lOk, nBase ) -> nLong - * :toLongLong( @lOk, nBase ) -> nQlonglong - * :toLower() -> oQByteArray - * :toPercentEncoding( oQByteArray, oQByteArray, nPercent ) -> oQByteArray - * :toShort( @lOk, nBase ) -> nShort - * :toUInt( @lOk, nBase ) -> nUint - * :toULong( @lOk, nBase ) -> nUlong - * :toULongLong( @lOk, nBase ) -> nQulonglong - * :toUShort( @lOk, nBase ) -> nUshort - * :toUpper() -> oQByteArray - * :trimmed() -> oQByteArray - * :truncate( nPos ) -> 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/qtcore/TQByteArray.prg - * C++ wrappers : contrib/hbqt/qtcore/QByteArray.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt deleted file mode 100644 index 7905919d74..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qchar.txt +++ /dev/null @@ -1,80 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QChar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qchar.html - * $ONELINER$ - * Creates a new QChar object. - * $INHERITS$ - * - * $SYNTAX$ - * QChar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QChar - * $METHODS$ - * :category() -> nCategory - * :combiningClass() -> nChar - * :decomposition() -> cQString - * :decompositionTag() -> nDecomposition - * :digitValue() -> nInt - * :direction() -> nDirection - * :hasMirrored() -> lBool - * :isDigit() -> lBool - * :isHighSurrogate() -> lBool - * :isLetter() -> lBool - * :isLetterOrNumber() -> lBool - * :isLowSurrogate() -> lBool - * :isLower() -> lBool - * :isMark() -> lBool - * :isNull() -> lBool - * :isNumber() -> lBool - * :isPrint() -> lBool - * :isPunct() -> lBool - * :isSpace() -> lBool - * :isSymbol() -> lBool - * :isTitleCase() -> lBool - * :isUpper() -> lBool - * :joining() -> nJoining - * :mirroredChar() -> oQChar - * :toAscii() -> cChar - * :toCaseFolded() -> oQChar - * :toLatin1() -> cChar - * :toLower() -> oQChar - * :toTitleCase() -> oQChar - * :toUpper() -> oQChar - * :unicode() -> nUshort - * :unicodeVersion() -> nUnicodeVersion - * - * $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/qtcore/TQChar.prg - * C++ wrappers : contrib/hbqt/qtcore/QChar.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt deleted file mode 100644 index a132bef1ff..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qcoreapplication.txt +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCoreApplication() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcoreapplication.html - * $ONELINER$ - * Creates a new QCoreApplication object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QCoreApplication( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCoreApplication - * $METHODS$ - * :notify( oQObject, oQEvent ) -> lBool - * :addLibraryPath( cPath ) -> NIL - * :applicationDirPath() -> cQString - * :applicationFilePath() -> cQString - * :applicationName() -> cQString - * :applicationPid() -> nQint64 - * :applicationVersion() -> cQString - * :arguments() -> oQStringList - * :closingDown() -> lBool - * :exec() -> nInt - * :exit( nReturnCode ) -> NIL - * :flush() -> NIL - * :hasPendingEvents() -> lBool - * :installTranslator( oQTranslator ) -> NIL - * :instance() -> oQCoreApplication - * :libraryPaths() -> oQStringList - * :organizationDomain() -> cQString - * :organizationName() -> cQString - * :postEvent( oQObject, oQEvent ) -> NIL - * :postEvent( oQObject, oQEvent, nPriority ) -> NIL - * :processEvents( nFlags ) -> NIL - * :processEvents( nFlags, nMaxtime ) -> NIL - * :removeLibraryPath( cPath ) -> NIL - * :removePostedEvents( oQObject ) -> NIL - * :removePostedEvents( oQObject, nEventType ) -> NIL - * :removeTranslator( oQTranslator ) -> NIL - * :sendEvent( oQObject, oQEvent ) -> lBool - * :sendPostedEvents( oQObject, nEvent_type ) -> NIL - * :sendPostedEvents() -> NIL - * :setApplicationName( cApplication ) -> NIL - * :setApplicationVersion( cVersion ) -> NIL - * :setAttribute( nAttribute, lOn ) -> NIL - * :setLibraryPaths( oQStringList ) -> NIL - * :setOrganizationDomain( cOrgDomain ) -> NIL - * :setOrganizationName( cOrgName ) -> NIL - * :startingUp() -> lBool - * :testAttribute( nAttribute ) -> lBool - * :translate( cContext, cSourceText, cDisambiguation, nEncoding, nN ) -> cQString - * :translate( cContext, cSourceText, cDisambiguation, nEncoding ) -> cQString - * :quit() -> 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/qtcore/TQCoreApplication.prg - * C++ wrappers : contrib/hbqt/qtcore/QCoreApplication.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt deleted file mode 100644 index e330c4840a..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatastream.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDataStream() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdatastream.html - * $ONELINER$ - * Creates a new QDataStream object. - * $INHERITS$ - * - * $SYNTAX$ - * QDataStream( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDataStream - * $METHODS$ - * :atEnd() -> lBool - * :byteOrder() -> nByteOrder - * :device() -> oQIODevice - * :readRawData( cS, nLen ) -> nInt - * :resetStatus() -> NIL - * :setByteOrder( nBo ) -> NIL - * :setDevice( oQIODevice ) -> NIL - * :setStatus( nStatus ) -> NIL - * :setVersion( nV ) -> NIL - * :skipRawData( nLen ) -> nInt - * :status() -> nStatus - * :version() -> nInt - * :writeRawData( cS, nLen ) -> nInt - * - * $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/qtcore/TQDataStream.prg - * C++ wrappers : contrib/hbqt/qtcore/QDataStream.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt deleted file mode 100644 index acde3e7454..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdate.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDate() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdate.html - * $ONELINER$ - * Creates a new QDate object. - * $INHERITS$ - * - * $SYNTAX$ - * QDate( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDate - * $METHODS$ - * :addDays( nNdays ) -> oQDate - * :addMonths( nNmonths ) -> oQDate - * :addYears( nNyears ) -> oQDate - * :day() -> nInt - * :dayOfWeek() -> nInt - * :dayOfYear() -> nInt - * :daysInMonth() -> nInt - * :daysInYear() -> nInt - * :daysTo( oQDate ) -> nInt - * :getDate( @nYear, @nMonth, @nDay ) -> NIL - * :isNull() -> lBool - * :isValid() -> lBool - * :month() -> nInt - * :setDate( nYear, nMonth, nDay ) -> lBool - * :toJulianDay() -> nInt - * :toString( cFormat ) -> cQString - * :toString( nFormat ) -> cQString - * :weekNumber( @nYearNumber ) -> nInt - * :year() -> nInt - * - * $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/qtcore/TQDate.prg - * C++ wrappers : contrib/hbqt/qtcore/QDate.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt deleted file mode 100644 index 0c694a4597..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdatetime.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDateTime() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdatetime.html - * $ONELINER$ - * Creates a new QDateTime object. - * $INHERITS$ - * - * $SYNTAX$ - * QDateTime( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDateTime - * $METHODS$ - * :addDays( nNdays ) -> oQDateTime - * :addMSecs( nMsecs ) -> oQDateTime - * :addMonths( nNmonths ) -> oQDateTime - * :addSecs( nS ) -> oQDateTime - * :addYears( nNyears ) -> oQDateTime - * :date() -> oQDate - * :daysTo( oQDateTime ) -> nInt - * :isNull() -> lBool - * :isValid() -> lBool - * :secsTo( oQDateTime ) -> nInt - * :setDate( oQDate ) -> NIL - * :setTime( oQTime ) -> NIL - * :setTimeSpec( nSpec ) -> NIL - * :setTime( nSeconds ) -> NIL - * :time() -> oQTime - * :timeSpec() -> nQt_TimeSpec - * :toLocalTime() -> oQDateTime - * :toString( cFormat ) -> cQString - * :toString( nFormat ) -> cQString - * :toTimeSpec( nSpecification ) -> oQDateTime - * :toTime() -> nUint - * :toUTC() -> oQDateTime - * :currentDateTime() -> oQDateTime - * :fromString( cString, nFormat ) -> oQDateTime - * :fromString( cString, cFormat ) -> oQDateTime - * :fromTime( nSeconds ) -> oQDateTime - * - * $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/qtcore/TQDateTime.prg - * C++ wrappers : contrib/hbqt/qtcore/QDateTime.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt deleted file mode 100644 index 9e391d5f13..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qdir.txt +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDir() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdir.html - * $ONELINER$ - * Creates a new QDir object. - * $INHERITS$ - * - * $SYNTAX$ - * QDir( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDir - * $METHODS$ - * :absoluteFilePath( cFileName ) -> cQString - * :absolutePath() -> cQString - * :canonicalPath() -> cQString - * :cd( cDirName ) -> lBool - * :cdUp() -> lBool - * :count() -> nUint - * :dirName() -> cQString - * :entryList( oQStringList, nFilters, nSort ) -> oQStringList - * :entryList( nFilters, nSort ) -> oQStringList - * :exists( cName ) -> lBool - * :exists() -> lBool - * :filePath( cFileName ) -> cQString - * :filter() -> nFilters - * :isAbsolute() -> lBool - * :isReadable() -> lBool - * :isRelative() -> lBool - * :isRoot() -> lBool - * :makeAbsolute() -> lBool - * :mkdir( cDirName ) -> lBool - * :mkpath( cDirPath ) -> lBool - * :nameFilters() -> oQStringList - * :path() -> cQString - * :refresh() -> NIL - * :relativeFilePath( cFileName ) -> cQString - * :remove( cFileName ) -> lBool - * :rename( cOldName, cNewName ) -> lBool - * :rmdir( cDirName ) -> lBool - * :rmpath( cDirPath ) -> lBool - * :setFilter( nFilters ) -> NIL - * :setNameFilters( oQStringList ) -> NIL - * :setPath( cPath ) -> NIL - * :setSorting( nSort ) -> NIL - * :sorting() -> nSortFlags - * :addSearchPath( cPrefix, cPath ) -> NIL - * :cleanPath( cPath ) -> cQString - * :current() -> oQDir - * :currentPath() -> cQString - * :fromNativeSeparators( cPathName ) -> cQString - * :home() -> oQDir - * :homePath() -> cQString - * :isAbsolutePath( cPath ) -> lBool - * :isRelativePath( cPath ) -> lBool - * :match( cFilter, cFileName ) -> lBool - * :match( oQStringList, cFileName ) -> lBool - * :root() -> oQDir - * :rootPath() -> cQString - * :searchPaths( cPrefix ) -> oQStringList - * :separator() -> oQChar - * :setCurrent( cPath ) -> lBool - * :setSearchPaths( cPrefix, oQStringList ) -> NIL - * :temp() -> oQDir - * :tempPath() -> cQString - * :toNativeSeparators( cPathName ) -> cQString - * - * $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/qtcore/TQDir.prg - * C++ wrappers : contrib/hbqt/qtcore/QDir.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt deleted file mode 100644 index 47eda6cbc4..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qevent.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qevent.html - * $ONELINER$ - * Creates a new QEvent object. - * $INHERITS$ - * - * $SYNTAX$ - * QEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QEvent - * $METHODS$ - * :accept() -> NIL - * :ignore() -> NIL - * :isAccepted() -> lBool - * :setAccepted( lAccepted ) -> NIL - * :spontaneous() -> lBool - * :type() -> nType - * :registerEventType( nHint ) -> nInt - * - * $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/qtcore/TQEvent.prg - * C++ wrappers : contrib/hbqt/qtcore/QEvent.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt deleted file mode 100644 index d9046469ae..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qeventloop.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QEventLoop() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qeventloop.html - * $ONELINER$ - * Creates a new QEventLoop object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QEventLoop( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QEventLoop - * $METHODS$ - * :exec( nFlags ) -> nInt - * :exit( nReturnCode ) -> NIL - * :isRunning() -> lBool - * :processEvents( nFlags ) -> lBool - * :processEvents( nFlags, nMaxTime ) -> NIL - * :wakeUp() -> 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/qtcore/TQEventLoop.prg - * C++ wrappers : contrib/hbqt/qtcore/QEventLoop.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt deleted file mode 100644 index fb4c2b0291..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qfile.txt +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFile() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfile.html - * $ONELINER$ - * Creates a new QFile object. - * $INHERITS$ - * QIODevice - * $SYNTAX$ - * QFile( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFile - * $METHODS$ - * :atEnd() -> lBool - * :close() -> NIL - * :copy( cNewName ) -> lBool - * :error() -> nFileError - * :exists() -> lBool - * :fileName() -> cQString - * :flush() -> lBool - * :handle() -> nInt - * :isSequential() -> lBool - * :link( cLinkName ) -> lBool - * :map( nOffset, nSize, nFlags ) -> cUchar - * :open( nMode ) -> lBool - * :open( nFd, nMode ) -> lBool - * :permissions() -> nPermissions - * :remove() -> lBool - * :rename( cNewName ) -> lBool - * :resize( nSz ) -> lBool - * :setFileName( cName ) -> NIL - * :setPermissions( nPermissions ) -> lBool - * :size() -> nQint64 - * :symLinkTarget() -> cQString - * :unsetError() -> NIL - * :copy( cFileName, cNewName ) -> lBool - * :decodeName( cLocalFileName ) -> cQString - * :encodeName( cFileName ) -> oQByteArray - * :exists( cFileName ) -> lBool - * :link( cFileName, cLinkName ) -> lBool - * :permissions( cFileName ) -> nPermissions - * :remove( cFileName ) -> lBool - * :rename( cOldName, cNewName ) -> lBool - * :resize( cFileName, nSz ) -> lBool - * :setPermissions( cFileName, nPermissions ) -> lBool - * :symLinkTarget( cFileName ) -> cQString - * - * $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/qtcore/TQFile.prg - * C++ wrappers : contrib/hbqt/qtcore/QFile.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt deleted file mode 100644 index 809dd2be9e..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qfileinfo.txt +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFileInfo() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfileinfo.html - * $ONELINER$ - * Creates a new QFileInfo object. - * $INHERITS$ - * - * $SYNTAX$ - * QFileInfo( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFileInfo - * $METHODS$ - * :absoluteDir() -> oQDir - * :absoluteFilePath() -> cQString - * :absolutePath() -> cQString - * :baseName() -> cQString - * :bundleName() -> cQString - * :caching() -> lBool - * :canonicalFilePath() -> cQString - * :canonicalPath() -> cQString - * :completeBaseName() -> cQString - * :completeSuffix() -> cQString - * :created() -> oQDateTime - * :dir() -> oQDir - * :exists() -> lBool - * :fileName() -> cQString - * :filePath() -> cQString - * :group() -> cQString - * :groupId() -> nUint - * :isAbsolute() -> lBool - * :isBundle() -> lBool - * :isDir() -> lBool - * :isExecutable() -> lBool - * :isFile() -> lBool - * :isHidden() -> lBool - * :isReadable() -> lBool - * :isRelative() -> lBool - * :isRoot() -> lBool - * :isSymLink() -> lBool - * :isWritable() -> lBool - * :lastModified() -> oQDateTime - * :lastRead() -> oQDateTime - * :makeAbsolute() -> lBool - * :owner() -> cQString - * :ownerId() -> nUint - * :path() -> cQString - * :permission( nPermissions ) -> lBool - * :permissions() -> nQFile_Permissions - * :refresh() -> NIL - * :setCaching( lEnable ) -> NIL - * :setFile( cFile ) -> NIL - * :setFile( oQFile ) -> NIL - * :setFile( oQDir, cFile ) -> NIL - * :size() -> nQint64 - * :suffix() -> cQString - * :symLinkTarget() -> cQString - * - * $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/qtcore/TQFileInfo.prg - * C++ wrappers : contrib/hbqt/qtcore/QFileInfo.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qgenericargument.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qgenericargument.txt deleted file mode 100644 index c0fa479c0c..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qgenericargument.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGenericArgument() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgenericargument.html - * $ONELINER$ - * Creates a new QGenericArgument object. - * $INHERITS$ - * - * $SYNTAX$ - * QGenericArgument( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGenericArgument - * $METHODS$ - * :data() -> NIL - * :name() -> cChar - * - * $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/qtcore/TQGenericArgument.prg - * C++ wrappers : contrib/hbqt/qtcore/QGenericArgument.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt deleted file mode 100644 index 4412143605..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qiodevice.txt +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QIODevice() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qiodevice.html - * $ONELINER$ - * Creates a new QIODevice object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QIODevice( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QIODevice - * $METHODS$ - * :atEnd() -> lBool - * :bytesAvailable() -> nQint64 - * :bytesToWrite() -> nQint64 - * :canReadLine() -> lBool - * :close() -> NIL - * :errorString() -> cQString - * :getChar( cC ) -> lBool - * :isOpen() -> lBool - * :isReadable() -> lBool - * :isSequential() -> lBool - * :isTextModeEnabled() -> lBool - * :isWritable() -> lBool - * :open( nMode ) -> lBool - * :openMode() -> nOpenMode - * :peek( cData, nMaxSize ) -> nQint64 - * :peek( nMaxSize ) -> oQByteArray - * :pos() -> nQint64 - * :putChar( nC ) -> lBool - * :read( cData, nMaxSize ) -> nQint64 - * :read( nMaxSize ) -> oQByteArray - * :readAll() -> oQByteArray - * :readLine( cData, nMaxSize ) -> nQint64 - * :readLine( nMaxSize ) -> oQByteArray - * :reset() -> lBool - * :seek( nPos ) -> lBool - * :setTextModeEnabled( lEnabled ) -> NIL - * :size() -> nQint64 - * :ungetChar( nC ) -> NIL - * :waitForBytesWritten( nMsecs ) -> lBool - * :waitForReadyRead( nMsecs ) -> lBool - * :write( cData, nMaxSize ) -> nQint64 - * :write( cData ) -> nQint64 - * :write( oQByteArray ) -> nQint64 - * - * $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/qtcore/TQIODevice.prg - * C++ wrappers : contrib/hbqt/qtcore/QIODevice.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt deleted file mode 100644 index 9e648c4a08..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1char.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLatin1Char() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlatin1char.html - * $ONELINER$ - * Creates a new QLatin1Char object. - * $INHERITS$ - * - * $SYNTAX$ - * QLatin1Char( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLatin1Char - * $METHODS$ - * :toLatin1() -> cChar - * :unicode() -> nUshort - * - * $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/qtcore/TQLatin1Char.prg - * C++ wrappers : contrib/hbqt/qtcore/QLatin1Char.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt deleted file mode 100644 index 2a4cfe7980..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlatin1string.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLatin1String() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlatin1string.html - * $ONELINER$ - * Creates a new QLatin1String object. - * $INHERITS$ - * - * $SYNTAX$ - * QLatin1String( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLatin1String - * $METHODS$ - * :latin1() -> cChar - * - * $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/qtcore/TQLatin1String.prg - * C++ wrappers : contrib/hbqt/qtcore/QLatin1String.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt deleted file mode 100644 index edfe6f46e5..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qline.txt +++ /dev/null @@ -1,65 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLine() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qline.html - * $ONELINER$ - * Creates a new QLine object. - * $INHERITS$ - * - * $SYNTAX$ - * QLine( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLine - * $METHODS$ - * :p1() -> oQPoint - * :p2() -> oQPoint - * :x1() -> nInt - * :x2() -> nInt - * :y1() -> nInt - * :y2() -> nInt - * :dx() -> nInt - * :dy() -> nInt - * :isNull() -> lBool - * :setP1( oQPoint ) -> NIL - * :setP2( oQPoint ) -> NIL - * :setLine( nX1, nY1, nX2, nY2 ) -> NIL - * :setPoints( oQPoint, oQPoint ) -> NIL - * :translate( oQPoint ) -> NIL - * :translate( nDx, nDy ) -> NIL - * :translated( oQPoint ) -> oQLine - * :translated( nDx, nDy ) -> oQLine - * - * $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/qtcore/TQLine.prg - * C++ wrappers : contrib/hbqt/qtcore/QLine.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt deleted file mode 100644 index 2fde4ff537..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlinef.txt +++ /dev/null @@ -1,75 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLineF() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlinef.html - * $ONELINER$ - * Creates a new QLineF object. - * $INHERITS$ - * - * $SYNTAX$ - * QLineF( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLineF - * $METHODS$ - * :p1() -> oQPointF - * :p2() -> oQPointF - * :x1() -> nQreal - * :x2() -> nQreal - * :y1() -> nQreal - * :y2() -> nQreal - * :angle() -> nQreal - * :angleTo( oQLineF ) -> nQreal - * :dx() -> nQreal - * :dy() -> nQreal - * :intersect( oQLineF, oQPointF ) -> nIntersectType - * :isNull() -> lBool - * :length() -> nQreal - * :normalVector() -> oQLineF - * :pointAt( nT ) -> oQPointF - * :setP1( oQPointF ) -> NIL - * :setP2( oQPointF ) -> NIL - * :setAngle( nAngle ) -> NIL - * :setLength( nLength ) -> NIL - * :setLine( nX1, nY1, nX2, nY2 ) -> NIL - * :setPoints( oQPointF, oQPointF ) -> NIL - * :toLine() -> oQLine - * :translate( oQPointF ) -> NIL - * :translate( nDx, nDy ) -> NIL - * :translated( oQPointF ) -> oQLineF - * :translated( nDx, nDy ) -> oQLineF - * :unitVector() -> oQLineF - * - * $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/qtcore/TQLineF.prg - * C++ wrappers : contrib/hbqt/qtcore/QLineF.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt deleted file mode 100644 index bec75287a2..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlist.txt +++ /dev/null @@ -1,84 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QList() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlist.html - * $ONELINER$ - * Creates a new QList object. - * $INHERITS$ - * - * $SYNTAX$ - * QList( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QList - * $METHODS$ - * :append( xValue ) -> NIL - * :at( nI ) -> pT - * :back() -> pT - * :clear() -> NIL - * :count( xValue ) -> nInt - * :count() -> nInt - * :empty() -> lBool - * :endsWith( xValue ) -> lBool - * :first() -> pT - * :front() -> pT - * :indexOf( xValue, nFrom ) -> nInt - * :insert( nI, xValue ) -> NIL - * :isEmpty() -> lBool - * :last() -> pT - * :lastIndexOf( xValue, nFrom ) -> nInt - * :length() -> nInt - * :move( nFrom, nTo ) -> NIL - * :pop() -> NIL - * :pop() -> NIL - * :prepend( xValue ) -> NIL - * :push( xValue ) -> NIL - * :push( xValue ) -> NIL - * :removeAll( xValue ) -> nInt - * :removeAt( nI ) -> NIL - * :removeFirst() -> NIL - * :removeLast() -> NIL - * :removeOne( xValue ) -> lBool - * :replace( nI, xValue ) -> NIL - * :size() -> nInt - * :startsWith( xValue ) -> lBool - * :swap( nI, nJ ) -> NIL - * :takeAt( nI ) -> pT - * :takeFirst() -> pT - * :takeLast() -> pT - * :value( nI ) -> pT - * :value( nI, xDefaultValue ) -> pT - * - * $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/qtcore/TQList.prg - * C++ wrappers : contrib/hbqt/qtcore/QList.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt deleted file mode 100644 index bfeef14713..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qlocale.txt +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLocale() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlocale.html - * $ONELINER$ - * Creates a new QLocale object. - * $INHERITS$ - * - * $SYNTAX$ - * QLocale( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLocale - * $METHODS$ - * :amText() -> cQString - * :country() -> nCountry - * :dateFormat( nFormat ) -> cQString - * :dateTimeFormat( nFormat ) -> cQString - * :dayName( nDay, nType ) -> cQString - * :decimalPoint() -> oQChar - * :exponential() -> oQChar - * :groupSeparator() -> oQChar - * :language() -> nLanguage - * :measurementSystem() -> nMeasurementSystem - * :monthName( nMonth, nType ) -> cQString - * :name() -> cQString - * :negativeSign() -> oQChar - * :numberOptions() -> nNumberOptions - * :percent() -> oQChar - * :pmText() -> cQString - * :positiveSign() -> oQChar - * :setNumberOptions( nOptions ) -> NIL - * :standaloneDayName( nDay, nType ) -> cQString - * :standaloneMonthName( nMonth, nType ) -> cQString - * :timeFormat( nFormat ) -> cQString - * :toDate( cString, nFormat ) -> oQDate - * :toDate( cString, cFormat ) -> oQDate - * :toDateTime( cString, nFormat ) -> oQDateTime - * :toDateTime( cString, cFormat ) -> oQDateTime - * :toDouble( cS, @lOk ) -> nDouble - * :toFloat( cS, @lOk ) -> nFloat - * :toInt( cS, @lOk, nBase ) -> nInt - * :toLongLong( cS, @lOk, nBase ) -> nQlonglong - * :toShort( cS, @lOk, nBase ) -> nShort - * :toString( nI ) -> cQString - * :toString( oQDate, cFormat ) -> cQString - * :toString( oQDate, nFormat ) -> cQString - * :toString( oQTime, cFormat ) -> cQString - * :toString( oQTime, nFormat ) -> cQString - * :toString( oQDateTime, nFormat ) -> cQString - * :toString( oQDateTime, cFormat ) -> cQString - * :toString( nI ) -> cQString - * :toString( nI, nF, nPrec ) -> cQString - * :toString( nI ) -> cQString - * :toString( nI ) -> cQString - * :toString( nI ) -> cQString - * :toString( nI ) -> cQString - * :toString( nI, nF, nPrec ) -> cQString - * :toTime( cString, nFormat ) -> oQTime - * :toTime( cString, cFormat ) -> oQTime - * :toUInt( cS, @lOk, nBase ) -> nUint - * :toULongLong( cS, @lOk, nBase ) -> nQlonglong - * :toUShort( cS, @lOk, nBase ) -> nUshort - * :zeroDigit() -> oQChar - * :c() -> oQLocale - * :countryToString( nCountry ) -> cQString - * :languageToString( nLanguage ) -> cQString - * :setDefault( oQLocale ) -> NIL - * :system() -> oQLocale - * - * $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/qtcore/TQLocale.prg - * C++ wrappers : contrib/hbqt/qtcore/QLocale.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaclassinfo.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaclassinfo.txt deleted file mode 100644 index 96eb482d04..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaclassinfo.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMetaClassInfo() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmetaclassinfo.html - * $ONELINER$ - * Creates a new QMetaClassInfo object. - * $INHERITS$ - * - * $SYNTAX$ - * QMetaClassInfo( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMetaClassInfo - * $METHODS$ - * :name() -> cChar - * :value() -> cChar - * - * $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/qtcore/TQMetaClassInfo.prg - * C++ wrappers : contrib/hbqt/qtcore/QMetaClassInfo.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaenum.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaenum.txt deleted file mode 100644 index 2cfb198d49..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaenum.txt +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMetaEnum() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmetaenum.html - * $ONELINER$ - * Creates a new QMetaEnum object. - * $INHERITS$ - * - * $SYNTAX$ - * QMetaEnum( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMetaEnum - * $METHODS$ - * :isFlag() -> lBool - * :isValid() -> lBool - * :key( nIndex ) -> cChar - * :keyCount() -> nInt - * :keyToValue( cKey ) -> nInt - * :keysToValue( cKeys ) -> nInt - * :name() -> cChar - * :scope() -> cChar - * :value( nIndex ) -> nInt - * :valueToKey( nValue ) -> cChar - * :valueToKeys( nValue ) -> oQByteArray - * - * $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/qtcore/TQMetaEnum.prg - * C++ wrappers : contrib/hbqt/qtcore/QMetaEnum.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetamethod.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmetamethod.txt deleted file mode 100644 index 332993fdd6..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetamethod.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMetaMethod() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmetamethod.html - * $ONELINER$ - * Creates a new QMetaMethod object. - * $INHERITS$ - * - * $SYNTAX$ - * QMetaMethod( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMetaMethod - * $METHODS$ - * :access() -> nAccess - * :methodType() -> nMethodType - * :parameterNames() -> oQList_QByteArray> - * :parameterTypes() -> oQList_QByteArray> - * :signature() -> cChar - * :tag() -> cChar - * :typeName() -> cChar - * - * $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/qtcore/TQMetaMethod.prg - * C++ wrappers : contrib/hbqt/qtcore/QMetaMethod.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaobject.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaobject.txt deleted file mode 100644 index 6dd56453a8..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaobject.txt +++ /dev/null @@ -1,76 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMetaObject() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmetaobject.html - * $ONELINER$ - * Creates a new QMetaObject object. - * $INHERITS$ - * - * $SYNTAX$ - * QMetaObject( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMetaObject - * $METHODS$ - * :classInfo( nIndex ) -> oQMetaClassInfo - * :classInfoCount() -> nInt - * :classInfoOffset() -> nInt - * :className() -> cChar - * :constructor( nIndex ) -> oQMetaMethod - * :constructorCount() -> nInt - * :enumerator( nIndex ) -> oQMetaEnum - * :enumeratorCount() -> nInt - * :enumeratorOffset() -> nInt - * :indexOfClassInfo( cName ) -> nInt - * :indexOfConstructor( cConstructor ) -> nInt - * :indexOfEnumerator( cName ) -> nInt - * :indexOfMethod( cMethod ) -> nInt - * :indexOfProperty( cName ) -> nInt - * :indexOfSignal( cSignal ) -> nInt - * :indexOfSlot( cSlot ) -> nInt - * :method( nIndex ) -> oQMetaMethod - * :methodCount() -> nInt - * :methodOffset() -> nInt - * :property( nIndex ) -> oQMetaProperty - * :propertyCount() -> nInt - * :propertyOffset() -> nInt - * :superClass() -> oQMetaObject - * :userProperty() -> oQMetaProperty - * :checkConnectArgs( cSignal, cMethod ) -> lBool - * :connectSlotsByName( oQObject ) -> NIL - * :normalizedSignature( cMethod ) -> oQByteArray - * :normalizedType( cType ) -> oQByteArray - * - * $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/qtcore/TQMetaObject.prg - * C++ wrappers : contrib/hbqt/qtcore/QMetaObject.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaproperty.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaproperty.txt deleted file mode 100644 index d43b148626..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetaproperty.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMetaProperty() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmetaproperty.html - * $ONELINER$ - * Creates a new QMetaProperty object. - * $INHERITS$ - * - * $SYNTAX$ - * QMetaProperty( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMetaProperty - * $METHODS$ - * :enumerator() -> oQMetaEnum - * :hasNotifySignal() -> lBool - * :isDesignable( oQObject ) -> lBool - * :isEnumType() -> lBool - * :isFlagType() -> lBool - * :isReadable() -> lBool - * :isResettable() -> lBool - * :isScriptable( oQObject ) -> lBool - * :isStored( oQObject ) -> lBool - * :isUser( oQObject ) -> lBool - * :isValid() -> lBool - * :isWritable() -> lBool - * :name() -> cChar - * :notifySignal() -> oQMetaMethod - * :notifySignalIndex() -> nInt - * :read( oQObject ) -> oQVariant - * :reset( oQObject ) -> lBool - * :type() -> nQVariant_Type - * :typeName() -> cChar - * :userType() -> nInt - * :write( oQObject, oQVariant ) -> lBool - * - * $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/qtcore/TQMetaProperty.prg - * C++ wrappers : contrib/hbqt/qtcore/QMetaProperty.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetatype.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmetatype.txt deleted file mode 100644 index b805096e4b..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmetatype.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMetaType() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmetatype.html - * $ONELINER$ - * Creates a new QMetaType object. - * $INHERITS$ - * - * $SYNTAX$ - * QMetaType( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMetaType - * $METHODS$ - * :isRegistered( nType ) -> lBool - * :type( cTypeName ) -> nInt - * :typeName( nType ) -> cChar - * :unregisterType( cTypeName ) -> 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/qtcore/TQMetaType.prg - * C++ wrappers : contrib/hbqt/qtcore/QMetaType.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt deleted file mode 100644 index b08708aaf7..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmimedata.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMimeData() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmimedata.html - * $ONELINER$ - * Creates a new QMimeData object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QMimeData( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMimeData - * $METHODS$ - * :clear() -> NIL - * :colorData() -> oQVariant - * :data( cMimeType ) -> oQByteArray - * :formats() -> oQStringList - * :hasColor() -> lBool - * :hasFormat( cMimeType ) -> lBool - * :hasHtml() -> lBool - * :hasImage() -> lBool - * :hasText() -> lBool - * :hasUrls() -> lBool - * :html() -> cQString - * :imageData() -> oQVariant - * :removeFormat( cMimeType ) -> NIL - * :setColorData( oQVariant ) -> NIL - * :setData( cMimeType, oQByteArray ) -> NIL - * :setHtml( cHtml ) -> NIL - * :setImageData( oQVariant ) -> NIL - * :setText( cText ) -> NIL - * :text() -> cQString - * :urls() -> oQList_QUrl> - * :hbUrlList() -> oQStringList - * - * $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/qtcore/TQMimeData.prg - * C++ wrappers : contrib/hbqt/qtcore/QMimeData.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt deleted file mode 100644 index 57be623563..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qmodelindex.txt +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QModelIndex() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmodelindex.html - * $ONELINER$ - * Creates a new QModelIndex object. - * $INHERITS$ - * - * $SYNTAX$ - * QModelIndex( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QModelIndex - * $METHODS$ - * :child( nRow, nColumn ) -> oQModelIndex - * :column() -> nInt - * :data( nRole ) -> oQVariant - * :flags() -> nQt_ItemFlags - * :internalId() -> nQint64 - * :internalPointer() -> NIL - * :isValid() -> lBool - * :model() -> oQAbstractItemModel - * :parent() -> oQModelIndex - * :row() -> nInt - * :sibling( nRow, nColumn ) -> oQModelIndex - * - * $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/qtcore/TQModelIndex.prg - * C++ wrappers : contrib/hbqt/qtcore/QModelIndex.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt deleted file mode 100644 index f5c2bda3d4..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qobject.txt +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QObject() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qobject.html - * $ONELINER$ - * Creates a new QObject object. - * $INHERITS$ - * - * $SYNTAX$ - * QObject( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QObject - * $METHODS$ - * :blockSignals( lBlock ) -> lBool - * :dumpObjectInfo() -> NIL - * :dumpObjectTree() -> NIL - * :dynamicPropertyNames() -> oQList_QByteArray> - * :event( oQEvent ) -> lBool - * :eventFilter( oQObject, oQEvent ) -> lBool - * :inherits( cClassName ) -> lBool - * :installEventFilter( oQObject ) -> NIL - * :isWidgetType() -> lBool - * :killTimer( nId ) -> NIL - * :moveToThread( oQThread ) -> NIL - * :objectName() -> cQString - * :parent() -> oQObject - * :property( cName ) -> oQVariant - * :removeEventFilter( oQObject ) -> NIL - * :setObjectName( cName ) -> NIL - * :setParent( oQObject ) -> NIL - * :setProperty( cName, oQVariant ) -> lBool - * :signalsBlocked() -> lBool - * :startTimer( nInterval ) -> nInt - * :thread() -> oQThread - * :tr( cSourceText, cDisambiguation, nN ) -> cQString - * :trUtf8( cSourceText, cDisambiguation, nN ) -> cQString - * :deleteLater() -> 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/qtcore/TQObject.prg - * C++ wrappers : contrib/hbqt/qtcore/QObject.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt deleted file mode 100644 index a3532f1582..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qpoint.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPoint() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpoint.html - * $ONELINER$ - * Creates a new QPoint object. - * $INHERITS$ - * - * $SYNTAX$ - * QPoint( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPoint - * $METHODS$ - * :isNull() -> lBool - * :manhattanLength() -> nInt - * :rx() -> nInt - * :ry() -> nInt - * :setX( nX ) -> NIL - * :setY( nY ) -> NIL - * :x() -> nInt - * :y() -> nInt - * - * $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/qtcore/TQPoint.prg - * C++ wrappers : contrib/hbqt/qtcore/QPoint.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt deleted file mode 100644 index 27297768bb..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qpointf.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPointF() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpointf.html - * $ONELINER$ - * Creates a new QPointF object. - * $INHERITS$ - * - * $SYNTAX$ - * QPointF( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPointF - * $METHODS$ - * :isNull() -> lBool - * :rx() -> nQreal - * :ry() -> nQreal - * :setX( nX ) -> NIL - * :setY( nY ) -> NIL - * :toPoint() -> oQPoint - * :x() -> nQreal - * :y() -> nQreal - * - * $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/qtcore/TQPointF.prg - * C++ wrappers : contrib/hbqt/qtcore/QPointF.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt deleted file mode 100644 index 573989a106..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qprocess.txt +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QProcess() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprocess.html - * $ONELINER$ - * Creates a new QProcess object. - * $INHERITS$ - * QIODevice - * $SYNTAX$ - * QProcess( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QProcess - * $METHODS$ - * :close() -> NIL - * :closeReadChannel( nChannel ) -> NIL - * :closeWriteChannel() -> NIL - * :environment() -> oQStringList - * :error() -> nQProcess_ProcessError - * :exitCode() -> nInt - * :exitStatus() -> nQProcess_ExitStatus - * :processChannelMode() -> nProcessChannelMode - * :readAllStandardError() -> oQByteArray - * :readAllStandardOutput() -> oQByteArray - * :readChannel() -> nProcessChannel - * :setEnvironment( oQStringList ) -> NIL - * :setProcessChannelMode( nMode ) -> NIL - * :setReadChannel( nChannel ) -> NIL - * :setStandardErrorFile( cFileName, nMode ) -> NIL - * :setStandardInputFile( cFileName ) -> NIL - * :setStandardOutputFile( cFileName, nMode ) -> NIL - * :setStandardOutputProcess( oQProcess ) -> NIL - * :setWorkingDirectory( cDir ) -> NIL - * :start( cProgram, oQStringList, nMode ) -> NIL - * :start( cProgram, nMode ) -> NIL - * :state() -> nQProcess_ProcessState - * :waitForFinished( nMsecs ) -> lBool - * :waitForStarted( nMsecs ) -> lBool - * :workingDirectory() -> cQString - * :execute( cProgram, oQStringList ) -> nInt - * :execute( cProgram ) -> nInt - * :startDetached( cProgram, oQStringList, cWorkingDirectory, @nPid ) -> lBool - * :startDetached( cProgram, oQStringList ) -> lBool - * :startDetached( cProgram ) -> lBool - * :systemEnvironment() -> oQStringList - * :kill() -> NIL - * :terminate() -> 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/qtcore/TQProcess.prg - * C++ wrappers : contrib/hbqt/qtcore/QProcess.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt deleted file mode 100644 index 955b0ecaaa..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qrect.txt +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRect() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qrect.html - * $ONELINER$ - * Creates a new QRect object. - * $INHERITS$ - * - * $SYNTAX$ - * QRect( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRect - * $METHODS$ - * :adjust( nDx1, nDy1, nDx2, nDy2 ) -> NIL - * :adjusted( nDx1, nDy1, nDx2, nDy2 ) -> oQRect - * :bottom() -> nInt - * :bottomLeft() -> oQPoint - * :bottomRight() -> oQPoint - * :center() -> oQPoint - * :contains( oQPoint, lProper ) -> lBool - * :contains( nX, nY, lProper ) -> lBool - * :contains( nX, nY ) -> lBool - * :contains( oQRect, lProper ) -> lBool - * :getCoords( @nX1, @nY1, @nX2, @nY2 ) -> NIL - * :getRect( @nX, @nY, @nWidth, @nHeight ) -> NIL - * :height() -> nInt - * :intersected( oQRect ) -> oQRect - * :intersects( oQRect ) -> lBool - * :isEmpty() -> lBool - * :isNull() -> lBool - * :isValid() -> lBool - * :left() -> nInt - * :moveBottom( nY ) -> NIL - * :moveBottomLeft( oQPoint ) -> NIL - * :moveBottomRight( oQPoint ) -> NIL - * :moveCenter( oQPoint ) -> NIL - * :moveLeft( nX ) -> NIL - * :moveRight( nX ) -> NIL - * :moveTo( nX, nY ) -> NIL - * :moveTo( oQPoint ) -> NIL - * :moveTop( nY ) -> NIL - * :moveTopLeft( oQPoint ) -> NIL - * :moveTopRight( oQPoint ) -> NIL - * :normalized() -> oQRect - * :right() -> nInt - * :setBottom( nY ) -> NIL - * :setBottomLeft( oQPoint ) -> NIL - * :setBottomRight( oQPoint ) -> NIL - * :setCoords( nX1, nY1, nX2, nY2 ) -> NIL - * :setHeight( nHeight ) -> NIL - * :setLeft( nX ) -> NIL - * :setRect( nX, nY, nWidth, nHeight ) -> NIL - * :setRight( nX ) -> NIL - * :setSize( oQSize ) -> NIL - * :setTop( nY ) -> NIL - * :setTopLeft( oQPoint ) -> NIL - * :setTopRight( oQPoint ) -> NIL - * :setWidth( nWidth ) -> NIL - * :setX( nX ) -> NIL - * :setY( nY ) -> NIL - * :size() -> oQSize - * :top() -> nInt - * :topLeft() -> oQPoint - * :topRight() -> oQPoint - * :translate( nDx, nDy ) -> NIL - * :translate( oQPoint ) -> NIL - * :translated( nDx, nDy ) -> oQRect - * :translated( oQPoint ) -> oQRect - * :united( oQRect ) -> oQRect - * :width() -> nInt - * :x() -> nInt - * :y() -> nInt - * - * $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/qtcore/TQRect.prg - * C++ wrappers : contrib/hbqt/qtcore/QRect.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt deleted file mode 100644 index 60357f2059..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qrectf.txt +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRectF() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qrectf.html - * $ONELINER$ - * Creates a new QRectF object. - * $INHERITS$ - * - * $SYNTAX$ - * QRectF( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRectF - * $METHODS$ - * :adjust( nDx1, nDy1, nDx2, nDy2 ) -> NIL - * :adjusted( nDx1, nDy1, nDx2, nDy2 ) -> oQRectF - * :bottom() -> nQreal - * :bottomLeft() -> oQPointF - * :bottomRight() -> oQPointF - * :center() -> oQPointF - * :contains( oQPointF ) -> lBool - * :contains( nX, nY ) -> lBool - * :contains( oQRectF ) -> lBool - * :getCoords( @nX1, @nY1, @nX2, @nY2 ) -> NIL - * :getRect( @nX, @nY, @nWidth, @nHeight ) -> NIL - * :height() -> nQreal - * :intersected( oQRectF ) -> oQRectF - * :intersects( oQRectF ) -> lBool - * :isEmpty() -> lBool - * :isNull() -> lBool - * :isValid() -> lBool - * :left() -> nQreal - * :moveBottom( nY ) -> NIL - * :moveBottomLeft( oQPointF ) -> NIL - * :moveBottomRight( oQPointF ) -> NIL - * :moveCenter( oQPointF ) -> NIL - * :moveLeft( nX ) -> NIL - * :moveRight( nX ) -> NIL - * :moveTo( nX, nY ) -> NIL - * :moveTo( oQPointF ) -> NIL - * :moveTop( nY ) -> NIL - * :moveTopLeft( oQPointF ) -> NIL - * :moveTopRight( oQPointF ) -> NIL - * :normalized() -> oQRectF - * :right() -> nQreal - * :setBottom( nY ) -> NIL - * :setBottomLeft( oQPointF ) -> NIL - * :setBottomRight( oQPointF ) -> NIL - * :setCoords( nX1, nY1, nX2, nY2 ) -> NIL - * :setHeight( nHeight ) -> NIL - * :setLeft( nX ) -> NIL - * :setRect( nX, nY, nWidth, nHeight ) -> NIL - * :setRight( nX ) -> NIL - * :setSize( oQSizeF ) -> NIL - * :setTop( nY ) -> NIL - * :setTopLeft( oQPointF ) -> NIL - * :setTopRight( oQPointF ) -> NIL - * :setWidth( nWidth ) -> NIL - * :setX( nX ) -> NIL - * :setY( nY ) -> NIL - * :size() -> oQSizeF - * :toAlignedRect() -> oQRect - * :toRect() -> oQRect - * :top() -> nQreal - * :topLeft() -> oQPointF - * :topRight() -> oQPointF - * :translate( nDx, nDy ) -> NIL - * :translate( oQPointF ) -> NIL - * :translated( nDx, nDy ) -> oQRectF - * :translated( oQPointF ) -> oQRectF - * :united( oQRectF ) -> oQRectF - * :width() -> nQreal - * :x() -> nQreal - * :y() -> nQreal - * - * $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/qtcore/TQRectF.prg - * C++ wrappers : contrib/hbqt/qtcore/QRectF.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt deleted file mode 100644 index b625b8f22c..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qregexp.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRegExp() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qregexp.html - * $ONELINER$ - * Creates a new QRegExp object. - * $INHERITS$ - * - * $SYNTAX$ - * QRegExp( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRegExp - * $METHODS$ - * :cap( nNth ) -> cQString - * :capturedTexts() -> oQStringList - * :caseSensitivity() -> nQt_CaseSensitivity - * :errorString() -> cQString - * :exactMatch( cStr ) -> lBool - * :indexIn( cStr, nOffset, nCaretMode ) -> nInt - * :isEmpty() -> lBool - * :isMinimal() -> lBool - * :isValid() -> lBool - * :lastIndexIn( cStr, nOffset, nCaretMode ) -> nInt - * :matchedLength() -> nInt - * :numCaptures() -> nInt - * :pattern() -> cQString - * :patternSyntax() -> nPatternSyntax - * :pos( nNth ) -> nInt - * :setCaseSensitivity( nCs ) -> NIL - * :setMinimal( lMinimal ) -> NIL - * :setPattern( cPattern ) -> NIL - * :setPatternSyntax( nSyntax ) -> 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/qtcore/TQRegExp.prg - * C++ wrappers : contrib/hbqt/qtcore/QRegExp.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt deleted file mode 100644 index 38fc98da7b..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qresource.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QResource() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qresource.html - * $ONELINER$ - * Creates a new QResource object. - * $INHERITS$ - * - * $SYNTAX$ - * QResource( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QResource - * $METHODS$ - * :absoluteFilePath() -> cQString - * :data() -> cUchar - * :fileName() -> cQString - * :isCompressed() -> lBool - * :isValid() -> lBool - * :locale() -> oQLocale - * :setFileName( cFile ) -> NIL - * :setLocale( oQLocale ) -> NIL - * :size() -> nQint64 - * :registerResource( cRccFileName, cMapRoot ) -> lBool - * :registerResource_1( ouchar, cMapRoot ) -> lBool - * :searchPaths() -> oQStringList - * :unregisterResource( cRccFileName, cMapRoot ) -> lBool - * :unregisterResource_1( ouchar, cMapRoot ) -> lBool - * - * $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/qtcore/TQResource.prg - * C++ wrappers : contrib/hbqt/qtcore/QResource.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt deleted file mode 100644 index 0c50f9f324..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsettings.txt +++ /dev/null @@ -1,79 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSettings() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsettings.html - * $ONELINER$ - * Creates a new QSettings object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QSettings( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSettings - * $METHODS$ - * :allKeys() -> oQStringList - * :applicationName() -> cQString - * :beginGroup( cPrefix ) -> NIL - * :beginReadArray( cPrefix ) -> nInt - * :beginWriteArray( cPrefix, nSize ) -> NIL - * :childGroups() -> oQStringList - * :childKeys() -> oQStringList - * :clear() -> NIL - * :contains( cKey ) -> lBool - * :endArray() -> NIL - * :endGroup() -> NIL - * :fallbacksEnabled() -> lBool - * :fileName() -> cQString - * :format() -> nFormat - * :group() -> cQString - * :iniCodec() -> oQTextCodec - * :isWritable() -> lBool - * :organizationName() -> cQString - * :remove( cKey ) -> NIL - * :scope() -> nScope - * :setArrayIndex( nI ) -> NIL - * :setFallbacksEnabled( lB ) -> NIL - * :setIniCodec( oQTextCodec ) -> NIL - * :setIniCodec( cCodecName ) -> NIL - * :setValue( cKey, oQVariant ) -> NIL - * :status() -> nStatus - * :sync() -> NIL - * :value( cKey, oQVariant ) -> oQVariant - * :defaultFormat() -> nFormat - * :setDefaultFormat( nFormat ) -> NIL - * :setPath( nFormat, nScope, cPath ) -> 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/qtcore/TQSettings.prg - * C++ wrappers : contrib/hbqt/qtcore/QSettings.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt deleted file mode 100644 index daa4f0db22..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsignalmapper.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSignalMapper() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsignalmapper.html - * $ONELINER$ - * Creates a new QSignalMapper object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QSignalMapper( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSignalMapper - * $METHODS$ - * :mapping( nId ) -> oQObject - * :mapping( cId ) -> oQObject - * :mapping( oQObject ) -> oQObject - * :removeMappings( oQObject ) -> NIL - * :setMapping( oQObject, nId ) -> NIL - * :setMapping( oQObject, cText ) -> NIL - * :setMapping( oQObject, oQObject ) -> NIL - * :map() -> NIL - * :map( oQObject ) -> 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/qtcore/TQSignalMapper.prg - * C++ wrappers : contrib/hbqt/qtcore/QSignalMapper.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt deleted file mode 100644 index b05ba15544..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsize.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSize() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsize.html - * $ONELINER$ - * Creates a new QSize object. - * $INHERITS$ - * - * $SYNTAX$ - * QSize( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSize - * $METHODS$ - * :height() -> nInt - * :isEmpty() -> lBool - * :isNull() -> lBool - * :isValid() -> lBool - * :rheight() -> nInt - * :rwidth() -> nInt - * :scale( nWidth, nHeight, nMode ) -> NIL - * :scale( oQSize, nMode ) -> NIL - * :setHeight( nHeight ) -> NIL - * :setWidth( nWidth ) -> NIL - * :transpose() -> NIL - * :width() -> nInt - * :boundedTo( oQSize ) -> oQSize - * :expandedTo( oQSize ) -> oQSize - * - * $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/qtcore/TQSize.prg - * C++ wrappers : contrib/hbqt/qtcore/QSize.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt deleted file mode 100644 index f63596fbac..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qsizef.txt +++ /dev/null @@ -1,63 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSizeF() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsizef.html - * $ONELINER$ - * Creates a new QSizeF object. - * $INHERITS$ - * - * $SYNTAX$ - * QSizeF( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSizeF - * $METHODS$ - * :boundedTo( oQSizeF ) -> oQSizeF - * :expandedTo( oQSizeF ) -> oQSizeF - * :height() -> nQreal - * :isEmpty() -> lBool - * :isNull() -> lBool - * :isValid() -> lBool - * :rheight() -> nQreal - * :rwidth() -> nQreal - * :scale( nWidth, nHeight, nMode ) -> NIL - * :scale( oQSizeF, nMode ) -> NIL - * :setHeight( nHeight ) -> NIL - * :setWidth( nWidth ) -> NIL - * :toSize() -> oQSize - * :transpose() -> NIL - * :width() -> nQreal - * - * $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/qtcore/TQSizeF.prg - * C++ wrappers : contrib/hbqt/qtcore/QSizeF.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt deleted file mode 100644 index b89121c08f..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qstringlist.txt +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStringList() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstringlist.html - * $ONELINER$ - * Creates a new QStringList object. - * $INHERITS$ - * QList - * $SYNTAX$ - * QStringList( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStringList - * $METHODS$ - * :append( cValue ) -> NIL - * :filter( cStr, nCs ) -> oQStringList - * :filter( oQRegExp ) -> oQStringList - * :indexOf( cValue, nFrom ) -> nInt - * :indexOf( oQRegExp, nFrom ) -> nInt - * :indexOf( oQRegExp, nFrom ) -> nInt - * :join( cSeparator ) -> cQString - * :lastIndexOf( oQRegExp, nFrom ) -> nInt - * :lastIndexOf( cValue, nFrom ) -> nInt - * :lastIndexOf( oQRegExp, nFrom ) -> nInt - * :removeDuplicates() -> nInt - * :sort() -> NIL - * :at( nI ) -> cQString - * :back() -> cQString - * :count( cValue ) -> nInt - * :endsWith( cValue ) -> lBool - * :first() -> cQString - * :front() -> cQString - * :insert( nI, cValue ) -> NIL - * :last() -> cQString - * :mid( nPos, nLength ) -> oQList_QString> - * :prepend( cValue ) -> NIL - * :push( cValue ) -> NIL - * :push( cValue ) -> NIL - * :removeAll( cValue ) -> nInt - * :removeOne( cValue ) -> lBool - * :replace( nI, cValue ) -> NIL - * :startsWith( cValue ) -> lBool - * :takeAt( nI ) -> cQString - * :takeFirst() -> cQString - * :takeLast() -> cQString - * :value( nI ) -> cQString - * :value( nI, cDefaultValue ) -> cQString - * - * $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/qtcore/TQStringList.prg - * C++ wrappers : contrib/hbqt/qtcore/QStringList.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qstringref.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qstringref.txt deleted file mode 100644 index a64634aecf..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qstringref.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStringRef() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstringref.html - * $ONELINER$ - * Creates a new QStringRef object. - * $INHERITS$ - * - * $SYNTAX$ - * QStringRef( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStringRef - * $METHODS$ - * :at( nPosition ) -> oQChar - * :clear() -> NIL - * :compare( cOther, nCs ) -> nInt - * :compare( oQStringRef, nCs ) -> nInt - * :constData() -> oQChar - * :count() -> nInt - * :data() -> oQChar - * :isEmpty() -> lBool - * :isNull() -> lBool - * :length() -> nInt - * :localeAwareCompare( cOther ) -> nInt - * :localeAwareCompare( oQStringRef ) -> nInt - * :position() -> nInt - * :size() -> nInt - * :unicode() -> oQChar - * :compare( oQStringRef, cS2, nCs ) -> nInt - * :compare( oQStringRef, oQStringRef, nCs ) -> nInt - * :localeAwareCompare( oQStringRef, cS2 ) -> nInt - * :localeAwareCompare( oQStringRef, oQStringRef ) -> nInt - * - * $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/qtcore/TQStringRef.prg - * C++ wrappers : contrib/hbqt/qtcore/QStringRef.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt deleted file mode 100644 index f571daa726..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextboundaryfinder.txt +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextBoundaryFinder() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextboundaryfinder.html - * $ONELINER$ - * Creates a new QTextBoundaryFinder object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextBoundaryFinder( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextBoundaryFinder - * $METHODS$ - * :boundaryReasons() -> nBoundaryReasons - * :isAtBoundary() -> lBool - * :isValid() -> lBool - * :position() -> nInt - * :setPosition( nPosition ) -> NIL - * :string() -> cQString - * :toEnd() -> NIL - * :toNextBoundary() -> nInt - * :toPreviousBoundary() -> nInt - * :toStart() -> NIL - * :type() -> nBoundaryType - * - * $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/qtcore/TQTextBoundaryFinder.prg - * C++ wrappers : contrib/hbqt/qtcore/QTextBoundaryFinder.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt deleted file mode 100644 index f3d14e2061..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextcodec.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextCodec() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextcodec.html - * $ONELINER$ - * Creates a new QTextCodec object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextCodec( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextCodec - * $METHODS$ - * :aliases() -> oQList_QByteArray> - * :canEncode( oQChar ) -> lBool - * :canEncode( cS ) -> lBool - * :fromUnicode( cStr ) -> oQByteArray - * :makeDecoder() -> oQTextDecoder - * :makeEncoder() -> oQTextEncoder - * :mibEnum() -> nInt - * :name() -> oQByteArray - * :toUnicode( oQByteArray ) -> cQString - * :toUnicode( cChars ) -> cQString - * :codecForCStrings() -> oQTextCodec - * :codecForHtml( oQByteArray, oQTextCodec ) -> oQTextCodec - * :codecForHtml( oQByteArray ) -> oQTextCodec - * :codecForLocale() -> oQTextCodec - * :codecForMib( nMib ) -> oQTextCodec - * :codecForName( oQByteArray ) -> oQTextCodec - * :codecForName( cName ) -> oQTextCodec - * :codecForTr() -> oQTextCodec - * :setCodecForCStrings( oQTextCodec ) -> NIL - * :setCodecForLocale( oQTextCodec ) -> NIL - * :setCodecForTr( oQTextCodec ) -> 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/qtcore/TQTextCodec.prg - * C++ wrappers : contrib/hbqt/qtcore/QTextCodec.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt deleted file mode 100644 index 17326206ce..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextdecoder.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextDecoder() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextdecoder.html - * $ONELINER$ - * Creates a new QTextDecoder object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextDecoder( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextDecoder - * $METHODS$ - * :toUnicode( cChars, nLen ) -> cQString - * - * $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/qtcore/TQTextDecoder.prg - * C++ wrappers : contrib/hbqt/qtcore/QTextDecoder.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt deleted file mode 100644 index 2bd2fec1ab..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextencoder.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextEncoder() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextencoder.html - * $ONELINER$ - * Creates a new QTextEncoder object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextEncoder( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextEncoder - * $METHODS$ - * :fromUnicode( cStr ) -> oQByteArray - * :fromUnicode( oQChar, nLen ) -> oQByteArray - * - * $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/qtcore/TQTextEncoder.prg - * C++ wrappers : contrib/hbqt/qtcore/QTextEncoder.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt deleted file mode 100644 index 29c2fd2660..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtextstream.txt +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextStream() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextstream.html - * $ONELINER$ - * Creates a new QTextStream object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextStream( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextStream - * $METHODS$ - * :padChar() -> oQChar - * :atEnd() -> lBool - * :autoDetectUnicode() -> lBool - * :codec() -> oQTextCodec - * :device() -> oQIODevice - * :fieldAlignment() -> nFieldAlignment - * :fieldWidth() -> nInt - * :flush() -> NIL - * :generateByteOrderMark() -> lBool - * :integerBase() -> nInt - * :locale() -> oQLocale - * :numberFlags() -> nNumberFlags - * :pos() -> nQint64 - * :read( nMaxlen ) -> cQString - * :readAll() -> cQString - * :readLine( nMaxlen ) -> cQString - * :realNumberNotation() -> nRealNumberNotation - * :realNumberPrecision() -> nInt - * :reset() -> NIL - * :resetStatus() -> NIL - * :seek( nPos ) -> lBool - * :setAutoDetectUnicode( lEnabled ) -> NIL - * :setCodec( oQTextCodec ) -> NIL - * :setCodec( cCodecName ) -> NIL - * :setDevice( oQIODevice ) -> NIL - * :setFieldAlignment( nMode ) -> NIL - * :setFieldWidth( nWidth ) -> NIL - * :setGenerateByteOrderMark( lGenerate ) -> NIL - * :setIntegerBase( nBase ) -> NIL - * :setLocale( oQLocale ) -> NIL - * :setNumberFlags( nFlags ) -> NIL - * :setPadChar( oQChar ) -> NIL - * :setRealNumberNotation( nNotation ) -> NIL - * :setRealNumberPrecision( nPrecision ) -> NIL - * :setStatus( nStatus ) -> NIL - * :skipWhiteSpace() -> NIL - * :status() -> nStatus - * - * $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/qtcore/TQTextStream.prg - * C++ wrappers : contrib/hbqt/qtcore/QTextStream.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt deleted file mode 100644 index 674cc50d4f..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qthread.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QThread() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qthread.html - * $ONELINER$ - * Creates a new QThread object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QThread( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QThread - * $METHODS$ - * :exit( nReturnCode ) -> NIL - * :isFinished() -> lBool - * :isRunning() -> lBool - * :priority() -> nPriority - * :setPriority( nPriority ) -> NIL - * :setStackSize( nStackSize ) -> NIL - * :stackSize() -> nUint - * :wait( nTime ) -> lBool - * :currentThread() -> oQThread - * :idealThreadCount() -> nInt - * :yieldCurrentThread() -> NIL - * :quit() -> NIL - * :start( nPriority ) -> NIL - * :terminate() -> 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/qtcore/TQThread.prg - * C++ wrappers : contrib/hbqt/qtcore/QThread.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt deleted file mode 100644 index 40c25035d3..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtime.txt +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTime() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtime.html - * $ONELINER$ - * Creates a new QTime object. - * $INHERITS$ - * - * $SYNTAX$ - * QTime( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTime - * $METHODS$ - * :addMSecs( nMs ) -> oQTime - * :addSecs( nS ) -> oQTime - * :elapsed() -> nInt - * :hour() -> nInt - * :isNull() -> lBool - * :isValid() -> lBool - * :minute() -> nInt - * :msec() -> nInt - * :msecsTo( oQTime ) -> nInt - * :restart() -> nInt - * :second() -> nInt - * :secsTo( oQTime ) -> nInt - * :setHMS( nH, nM, nS, nMs ) -> lBool - * :start() -> NIL - * :toString( cFormat ) -> cQString - * :toString( nFormat ) -> cQString - * :currentTime() -> oQTime - * :fromString( cString, nFormat ) -> oQTime - * :fromString( cString, cFormat ) -> oQTime - * :isValid( nH, nM, nS, nMs ) -> lBool - * - * $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/qtcore/TQTime.prg - * C++ wrappers : contrib/hbqt/qtcore/QTime.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt deleted file mode 100644 index 485b069a18..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimeline.txt +++ /dev/null @@ -1,75 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTimeLine() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtimeline.html - * $ONELINER$ - * Creates a new QTimeLine object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QTimeLine( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTimeLine - * $METHODS$ - * :currentFrame() -> nInt - * :currentTime() -> nInt - * :currentValue() -> nQreal - * :curveShape() -> nCurveShape - * :direction() -> nDirection - * :duration() -> nInt - * :endFrame() -> nInt - * :frameForTime( nMsec ) -> nInt - * :loopCount() -> nInt - * :setCurveShape( nShape ) -> NIL - * :setDirection( nDirection ) -> NIL - * :setDuration( nDuration ) -> NIL - * :setEndFrame( nFrame ) -> NIL - * :setFrameRange( nStartFrame, nEndFrame ) -> NIL - * :setLoopCount( nCount ) -> NIL - * :setStartFrame( nFrame ) -> NIL - * :setUpdateInterval( nInterval ) -> NIL - * :startFrame() -> nInt - * :state() -> nState - * :updateInterval() -> nInt - * :valueForTime( nMsec ) -> nQreal - * :resume() -> NIL - * :setCurrentTime( nMsec ) -> NIL - * :setPaused( lPaused ) -> NIL - * :start() -> NIL - * :stop() -> NIL - * :toggleDirection() -> 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/qtcore/TQTimeLine.prg - * C++ wrappers : contrib/hbqt/qtcore/QTimeLine.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt deleted file mode 100644 index c0ce7d416d..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtimer.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTimer() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtimer.html - * $ONELINER$ - * Creates a new QTimer object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QTimer( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTimer - * $METHODS$ - * :interval() -> nInt - * :isActive() -> lBool - * :isSingleShot() -> lBool - * :setInterval( nMsec ) -> NIL - * :setSingleShot( lSingleShot ) -> NIL - * :timerId() -> nInt - * :singleShot( nMsec, oQObject, cMember ) -> NIL - * :start() -> NIL - * :stop() -> NIL - * :start( nMsec ) -> 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/qtcore/TQTimer.prg - * C++ wrappers : contrib/hbqt/qtcore/QTimer.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt deleted file mode 100644 index 721207bb21..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qtranslator.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTranslator() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtranslator.html - * $ONELINER$ - * Creates a new QTranslator object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QTranslator( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTranslator - * $METHODS$ - * :isEmpty() -> lBool - * :load( cFilename, cDirectory, cSearch_delimiters, cSuffix ) -> lBool - * :translate( cContext, cSourceText, cDisambiguation ) -> cQString - * :translate( cContext, cSourceText, cDisambiguation, nN ) -> cQString - * - * $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/qtcore/TQTranslator.prg - * C++ wrappers : contrib/hbqt/qtcore/QTranslator.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt deleted file mode 100644 index 0e5de62b62..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qurl.txt +++ /dev/null @@ -1,118 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QUrl() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qurl.html - * $ONELINER$ - * Creates a new QUrl object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QUrl( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QUrl - * $METHODS$ - * :addEncodedQueryItem( oQByteArray, oQByteArray ) -> NIL - * :addQueryItem( cKey, cValue ) -> NIL - * :allEncodedQueryItemValues( oQByteArray ) -> oQList_QByteArray> - * :allQueryItemValues( cKey ) -> oQStringList - * :authority() -> cQString - * :clear() -> NIL - * :encodedFragment() -> oQByteArray - * :encodedHost() -> oQByteArray - * :encodedPassword() -> oQByteArray - * :encodedPath() -> oQByteArray - * :encodedQuery() -> oQByteArray - * :encodedQueryItemValue( oQByteArray ) -> oQByteArray - * :encodedUserName() -> oQByteArray - * :errorString() -> cQString - * :fragment() -> cQString - * :hasEncodedQueryItem( oQByteArray ) -> lBool - * :hasFragment() -> lBool - * :hasQuery() -> lBool - * :hasQueryItem( cKey ) -> lBool - * :host() -> cQString - * :isEmpty() -> lBool - * :isParentOf( oQUrl ) -> lBool - * :isRelative() -> lBool - * :isValid() -> lBool - * :password() -> cQString - * :path() -> cQString - * :port() -> nInt - * :port( nDefaultPort ) -> nInt - * :queryItemValue( cKey ) -> cQString - * :queryPairDelimiter() -> cChar - * :queryValueDelimiter() -> cChar - * :removeAllEncodedQueryItems( oQByteArray ) -> NIL - * :removeAllQueryItems( cKey ) -> NIL - * :removeEncodedQueryItem( oQByteArray ) -> NIL - * :removeQueryItem( cKey ) -> NIL - * :resolved( oQUrl ) -> oQUrl - * :scheme() -> cQString - * :setAuthority( cAuthority ) -> NIL - * :setEncodedFragment( oQByteArray ) -> NIL - * :setEncodedHost( oQByteArray ) -> NIL - * :setEncodedPassword( oQByteArray ) -> NIL - * :setEncodedPath( oQByteArray ) -> NIL - * :setEncodedQuery( oQByteArray ) -> NIL - * :setEncodedUrl( oQByteArray ) -> NIL - * :setEncodedUrl( oQByteArray, nParsingMode ) -> NIL - * :setEncodedUserName( oQByteArray ) -> NIL - * :setFragment( cFragment ) -> NIL - * :setHost( cHost ) -> NIL - * :setPassword( cPassword ) -> NIL - * :setPath( cPath ) -> NIL - * :setPort( nPort ) -> NIL - * :setScheme( cScheme ) -> NIL - * :setUrl( cUrl ) -> NIL - * :setUrl( cUrl, nParsingMode ) -> NIL - * :setUserInfo( cUserInfo ) -> NIL - * :setUserName( cUserName ) -> NIL - * :toEncoded( nOptions ) -> oQByteArray - * :toLocalFile() -> cQString - * :toString( nOptions ) -> cQString - * :userInfo() -> cQString - * :userName() -> cQString - * :fromAce( oQByteArray ) -> cQString - * :fromEncoded( oQByteArray ) -> oQUrl - * :fromEncoded( oQByteArray, nParsingMode ) -> oQUrl - * :fromLocalFile( cLocalFile ) -> oQUrl - * :fromPercentEncoding( oQByteArray ) -> cQString - * :idnWhitelist() -> oQStringList - * :setIdnWhitelist( oQStringList ) -> NIL - * :toAce( cDomain ) -> oQByteArray - * :toPercentEncoding( cInput, oQByteArray, oQByteArray ) -> oQByteArray - * - * $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/qtcore/TQUrl.prg - * C++ wrappers : contrib/hbqt/qtcore/QUrl.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt b/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt deleted file mode 100644 index 4059d4dae4..0000000000 --- a/harbour/contrib/hbqt/qtcore/doc/en/class_qvariant.txt +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QVariant() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qvariant.html - * $ONELINER$ - * Creates a new QVariant object. - * $INHERITS$ - * - * $SYNTAX$ - * QVariant( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QVariant - * $METHODS$ - * :canConvert( nT ) -> lBool - * :canConvert( nT ) -> lBool - * :clear() -> NIL - * :convert( nT ) -> lBool - * :isNull() -> lBool - * :isValid() -> lBool - * :setValue( xValue ) -> NIL - * :toBitArray() -> oQBitArray - * :toBool() -> lBool - * :toByteArray() -> oQByteArray - * :toChar() -> oQChar - * :toDate() -> oQDate - * :toDateTime() -> oQDateTime - * :toDouble( @lOk ) -> nDouble - * :toInt( @lOk ) -> nInt - * :toLine() -> oQLine - * :toLineF() -> oQLineF - * :toList() -> oQList_QVariant> - * :toLocale() -> oQLocale - * :toLongLong( @lOk ) -> nQlonglong - * :toPoint() -> oQPoint - * :toPointF() -> oQPointF - * :toRect() -> oQRect - * :toRectF() -> oQRectF - * :toRegExp() -> oQRegExp - * :toSize() -> oQSize - * :toSizeF() -> oQSizeF - * :toString() -> cQString - * :toStringList() -> oQStringList - * :toTime() -> oQTime - * :toUInt( @lOk ) -> nUint - * :toULongLong( @lOk ) -> nQulonglong - * :toUrl() -> oQUrl - * :type() -> nType - * :userType() -> nInt - * :fromValue( xValue ) -> oQVariant - * :nameToType( cName ) -> nType - * :typeToName( nTyp ) -> cChar - * - * $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/qtcore/TQVariant.prg - * C++ wrappers : contrib/hbqt/qtcore/QVariant.cpp - * Library : hbqtcore - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp b/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp deleted file mode 100644 index 2252228b3e..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/HBQEvents.cpp +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqevents.h" - - -/* - * HBQEvents () - * ~HBQEvents () - * - */ - -typedef struct -{ - QPointer< HBQEvents > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQEvents; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQEvents ) -{ - HBQT_GC_T_HBQEvents * p = ( HBQT_GC_T_HBQEvents * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQEvents * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQEvents( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQEvents * p = ( HBQT_GC_T_HBQEvents * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQEvents ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQEvents >( ( HBQEvents * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQEvents; - p->type = HBQT_TYPE_HBQEvents; - - return p; -} - -HB_FUNC( QT_HBQEVENTS ) -{ - HBQEvents * pObj = NULL; - - pObj = new HBQEvents() ; - - hb_retptrGC( hbqt_gcAllocate_HBQEvents( ( void * ) pObj, true ) ); -} - -/* bool hbConnect( PHB_ITEM obj, int event, PHB_ITEM block ) */ -HB_FUNC( QT_HBQEVENTS_HBCONNECT ) -{ - HBQEvents * p = hbqt_par_HBQEvents( 1 ); - if( p ) - hb_retl( ( p )->hbConnect( hb_param( 2, HB_IT_ANY ), hb_parni( 3 ), hb_param( 4, HB_IT_ANY ) ) ); -} - -/* bool hbDisconnect( PHB_ITEM obj, int event ) */ -HB_FUNC( QT_HBQEVENTS_HBDISCONNECT ) -{ - HBQEvents * p = hbqt_par_HBQEvents( 1 ); - if( p ) - hb_retl( ( p )->hbDisconnect( hb_param( 2, HB_IT_ANY ), hb_parni( 3 ) ) ); -} - -/* bool hbClear() */ -HB_FUNC( QT_HBQEVENTS_HBCLEAR ) -{ - HBQEvents * p = hbqt_par_HBQEvents( 1 ); - if( p ) - hb_retl( ( p )->hbClear() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp b/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp deleted file mode 100644 index 155fd87ad0..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/HBQSlots.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqslots.h" - - -/* - * HBQSlots () - * ~HBQSlots () - */ - -typedef struct -{ - QPointer< HBQSlots > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQSlots; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQSlots ) -{ - HBQT_GC_T_HBQSlots * p = ( HBQT_GC_T_HBQSlots * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQSlots * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQSlots( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQSlots * p = ( HBQT_GC_T_HBQSlots * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQSlots ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQSlots >( ( HBQSlots * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQSlots; - p->type = HBQT_TYPE_HBQSlots; - - return p; -} - -HB_FUNC( QT_HBQSLOTS ) -{ - HBQSlots * pObj = NULL; - - pObj = new HBQSlots() ; - - hb_retptrGC( hbqt_gcAllocate_HBQSlots( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/HBQString.cpp b/harbour/contrib/hbqt/qtcore/g/HBQString.cpp deleted file mode 100644 index 69bc07c26e..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/HBQString.cpp +++ /dev/null @@ -1,1684 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * class Null - * typedef ConstIterator - * typedef Iterator - * enum NormalizationForm { NormalizationForm_D, NormalizationForm_C, NormalizationForm_KD, NormalizationForm_KC } - * enum SectionFlag { SectionDefault, SectionSkipEmpty, SectionIncludeLeadingSep, SectionIncludeTrailingSep, SectionCaseInsensitiveSeps } - * flags SectionFlags - * enum SplitBehavior { KeepEmptyParts, SkipEmptyParts } - * typedef const_iterator - * typedef iterator - */ - -/* - * Constructed[ 167/168 [ 99.40% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector toUcs4 () const - * - * *** Commented out protostypes *** - * - * //iterator begin () - * //const_iterator begin () const - * //const_iterator constBegin () const - * //const_iterator constEnd () const - * //bool contains ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - * //bool contains ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - * //bool contains ( const QRegExp & rx ) const - * //bool contains ( QRegExp & rx ) const - * //iterator end () - * //const_iterator end () const - * //QString & sprintf ( const char * cformat, ... ) - * //std::string toStdString () const - * //std::wstring toStdWString () const - * //int toWCharArray ( wchar_t * array ) const - * //const ushort * utf16 () const - * //QString & vsprintf ( const char * cformat, va_list ap ) - * //QString fromStdString ( const std::string & str ) - * //QString fromStdWString ( const std::wstring & str ) - * //QString fromWCharArray ( const wchar_t * string, int size = -1 ) - */ - -#include - -#include "hbapi.h" -#include "hbapiitm.h" -#include "hbvm.h" - -#include -#include -#include - -#include "../hbqt_hbqstring.h" - -/* - * HBQString () - * HBQString ( const QChar * unicode, int size ) - * HBQString ( QChar ch ) - * HBQString ( int size, QChar ch ) - * HBQString ( const QLatin1String & str ) - * HBQString ( const QString & other ) - * HBQString ( const char * str ) - * HBQString ( const QByteArray & ba ) - * ~HBQString () - */ - -typedef struct -{ - HBQString * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQString; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQString ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( HBQString * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQString( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( HBQString * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQString; - p->type = HBQT_TYPE_HBQString; - - return p; -} - -HB_FUNC( QT_HBQSTRING ) -{ - HBQString * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new HBQString( hbqt_par_QString( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new HBQString( ( const char * ) hb_parptr( 1 ) ) ; - } - else - { - pObj = new HBQString() ; - } - - hb_retptrGC( hbqt_gcAllocate_HBQString( ( void * ) pObj, true ) ); -} - -/* QString & append ( const QString & str ) */ -HB_FUNC( QT_HBQSTRING_APPEND ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->append( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & append ( const QStringRef & reference ) */ -HB_FUNC( QT_HBQSTRING_APPEND_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->append( *hbqt_par_QStringRef( 2 ) ).toUtf8().data() ); -} - -/* QString & append ( const QLatin1String & str ) */ -HB_FUNC( QT_HBQSTRING_APPEND_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->append( *hbqt_par_QLatin1String( 2 ) ).toUtf8().data() ); -} - -/* QString & append ( const QByteArray & ba ) */ -HB_FUNC( QT_HBQSTRING_APPEND_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->append( *hbqt_par_QByteArray( 2 ) ).toUtf8().data() ); -} - -/* QString & append ( const char * str ) */ -HB_FUNC( QT_HBQSTRING_APPEND_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->append( ( const char * ) hb_parc( 2 ) ).toUtf8().data() ); -} - -/* QString & append ( QChar ch ) */ -HB_FUNC( QT_HBQSTRING_APPEND_5 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->append( *hbqt_par_QChar( 2 ) ).toUtf8().data() ); -} - -/* QString arg ( const QString & a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QChar( 4 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3, const QString & a4 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ), hb_parstr_utf8( 6, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_5 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ), hb_parstr_utf8( 6, &pText, NULL ), hb_parstr_utf8( 7, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_6 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ), hb_parstr_utf8( 6, &pText, NULL ), hb_parstr_utf8( 7, &pText, NULL ), hb_parstr_utf8( 8, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7, const QString & a8 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_7 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ), hb_parstr_utf8( 6, &pText, NULL ), hb_parstr_utf8( 7, &pText, NULL ), hb_parstr_utf8( 8, &pText, NULL ), hb_parstr_utf8( 9, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7, const QString & a8, const QString & a9 ) const */ -HB_FUNC( QT_HBQSTRING_ARG_8 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->arg( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ), hb_parstr_utf8( 6, &pText, NULL ), hb_parstr_utf8( 7, &pText, NULL ), hb_parstr_utf8( 8, &pText, NULL ), hb_parstr_utf8( 9, &pText, NULL ), hb_parstr_utf8( 10, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString arg ( int a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_9 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( hb_parni( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( uint a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_10 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( hb_parni( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( long a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_11 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( ( long ) hb_parnint( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( ulong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_12 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( ( ulong ) hb_parnint( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( qlonglong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_13 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( ( qlonglong ) hb_parnint( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( qulonglong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_14 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( ( qulonglong ) hb_parnint( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( short a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_15 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( hb_parni( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( ushort a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_16 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( hb_parni( 2 ), hb_parni( 3 ), hb_parnidef( 4, 10 ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QChar( 5 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( QChar a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_17 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( *hbqt_par_QChar( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QChar( 4 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( char a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_18 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( ( char ) hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QChar( 4 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* QString arg ( double a, int fieldWidth = 0, char format = 'g', int precision = -1, const QChar & fillChar = QLatin1Char( ' ' ) ) const */ -HB_FUNC( QT_HBQSTRING_ARG_19 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->arg( hb_parnd( 2 ), hb_parni( 3 ), ( char ) hb_parni( 4 ), hb_parnidef( 5, -1 ), ( HB_ISOBJECT( 6 ) ? *hbqt_par_QChar( 6 ) : QLatin1Char( ' ' ) ) ).toUtf8().data() ); -} - -/* const QChar at ( int position ) const */ -HB_FUNC( QT_HBQSTRING_AT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->at( hb_parni( 2 ) ) ), true ) ); -} - -/* int capacity () const */ -HB_FUNC( QT_HBQSTRING_CAPACITY ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->capacity() ); -} - -/* void chop ( int n ) */ -HB_FUNC( QT_HBQSTRING_CHOP ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->chop( hb_parni( 2 ) ); -} - -/* void clear () */ -HB_FUNC( QT_HBQSTRING_CLEAR ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->clear(); -} - -/* int compare ( const QString & other ) const */ -HB_FUNC( QT_HBQSTRING_COMPARE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QString & other, Qt::CaseSensitivity cs ) const */ -HB_FUNC( QT_HBQSTRING_COMPARE_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ), ( Qt::CaseSensitivity ) hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QLatin1String & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_COMPARE_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->compare( *hbqt_par_QLatin1String( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int compare ( const QStringRef & ref, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_COMPARE_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->compare( *hbqt_par_QStringRef( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* const QChar * constData () const */ -HB_FUNC( QT_HBQSTRING_CONSTDATA ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( *( ( p )->constData() ) ), true ) ); -} - -/* int count ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_COUNT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->count( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int count ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_COUNT_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->count( *hbqt_par_QChar( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int count ( const QRegExp & rx ) const */ -HB_FUNC( QT_HBQSTRING_COUNT_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->count( *hbqt_par_QRegExp( 2 ) ) ); -} - -/* int count () const */ -HB_FUNC( QT_HBQSTRING_COUNT_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* QChar * data () */ -HB_FUNC( QT_HBQSTRING_DATA ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( ( p )->data(), false ) ); -} - -/* const QChar * data () const */ -HB_FUNC( QT_HBQSTRING_DATA_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( *( ( p )->data() ) ), true ) ); -} - -/* bool endsWith ( const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_ENDSWITH ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->endsWith( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* bool endsWith ( const QLatin1String & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_ENDSWITH_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retl( ( p )->endsWith( *hbqt_par_QLatin1String( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* bool endsWith ( const QChar & c, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_ENDSWITH_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retl( ( p )->endsWith( *hbqt_par_QChar( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* QString & fill ( QChar ch, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FILL ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fill( *hbqt_par_QChar( 2 ), hb_parnidef( 3, -1 ) ).toUtf8().data() ); -} - -/* int indexOf ( const QString & str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_INDEXOF ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->indexOf( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int indexOf ( const QLatin1String & str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_INDEXOF_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QLatin1String( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int indexOf ( QChar ch, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_INDEXOF_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QChar( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int indexOf ( const QRegExp & rx, int from = 0 ) const */ -HB_FUNC( QT_HBQSTRING_INDEXOF_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ) ) ); -} - -/* int indexOf ( QRegExp & rx, int from = 0 ) const */ -HB_FUNC( QT_HBQSTRING_INDEXOF_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ) ) ); -} - -/* QString & insert ( int position, const QString & str ) */ -HB_FUNC( QT_HBQSTRING_INSERT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->insert( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & insert ( int position, const QLatin1String & str ) */ -HB_FUNC( QT_HBQSTRING_INSERT_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->insert( hb_parni( 2 ), *hbqt_par_QLatin1String( 3 ) ).toUtf8().data() ); -} - -/* QString & insert ( int position, const QChar * unicode, int size ) */ -HB_FUNC( QT_HBQSTRING_INSERT_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->insert( hb_parni( 2 ), hbqt_par_QChar( 3 ), hb_parni( 4 ) ).toUtf8().data() ); -} - -/* QString & insert ( int position, QChar ch ) */ -HB_FUNC( QT_HBQSTRING_INSERT_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->insert( hb_parni( 2 ), *hbqt_par_QChar( 3 ) ).toUtf8().data() ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_HBQSTRING_ISEMPTY ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_HBQSTRING_ISNULL ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* int lastIndexOf ( const QString & str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_LASTINDEXOF ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->lastIndexOf( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, -1 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int lastIndexOf ( const QLatin1String & str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_LASTINDEXOF_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QLatin1String( 2 ), hb_parnidef( 3, -1 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int lastIndexOf ( QChar ch, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_LASTINDEXOF_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QChar( 2 ), hb_parnidef( 3, -1 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int lastIndexOf ( const QRegExp & rx, int from = -1 ) const */ -HB_FUNC( QT_HBQSTRING_LASTINDEXOF_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QRegExp( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int lastIndexOf ( QRegExp & rx, int from = -1 ) const */ -HB_FUNC( QT_HBQSTRING_LASTINDEXOF_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QRegExp( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* QString left ( int n ) const */ -HB_FUNC( QT_HBQSTRING_LEFT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->left( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString leftJustified ( int width, QChar fill = QLatin1Char( ' ' ), bool truncate = false ) const */ -HB_FUNC( QT_HBQSTRING_LEFTJUSTIFIED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->leftJustified( hb_parni( 2 ), *hbqt_par_QChar( 3 ), hb_parl( 4 ) ).toUtf8().data() ); -} - -/* QStringRef leftRef ( int n ) const */ -HB_FUNC( QT_HBQSTRING_LEFTREF ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringRef( new QStringRef( ( p )->leftRef( hb_parni( 2 ) ) ), true ) ); -} - -/* int length () const */ -HB_FUNC( QT_HBQSTRING_LENGTH ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* int localeAwareCompare ( const QStringRef & other ) const */ -HB_FUNC( QT_HBQSTRING_LOCALEAWARECOMPARE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->localeAwareCompare( *hbqt_par_QStringRef( 2 ) ) ); -} - -/* int localeAwareCompare ( const QString & other ) const */ -HB_FUNC( QT_HBQSTRING_LOCALEAWARECOMPARE_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->localeAwareCompare( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QString mid ( int position, int n = -1 ) const */ -HB_FUNC( QT_HBQSTRING_MID ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->mid( hb_parni( 2 ), hb_parnidef( 3, -1 ) ).toUtf8().data() ); -} - -/* QStringRef midRef ( int position, int n = -1 ) const */ -HB_FUNC( QT_HBQSTRING_MIDREF ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringRef( new QStringRef( ( p )->midRef( hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ), true ) ); -} - -/* QString normalized ( NormalizationForm mode ) const */ -HB_FUNC( QT_HBQSTRING_NORMALIZED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->normalized( ( HBQString::NormalizationForm ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString normalized ( NormalizationForm mode, QChar::UnicodeVersion version ) const */ -HB_FUNC( QT_HBQSTRING_NORMALIZED_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->normalized( ( HBQString::NormalizationForm ) hb_parni( 2 ), ( QChar::UnicodeVersion ) hb_parni( 3 ) ).toUtf8().data() ); -} - -/* QString & prepend ( const QString & str ) */ -HB_FUNC( QT_HBQSTRING_PREPEND ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->prepend( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & prepend ( const QLatin1String & str ) */ -HB_FUNC( QT_HBQSTRING_PREPEND_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->prepend( *hbqt_par_QLatin1String( 2 ) ).toUtf8().data() ); -} - -/* QString & prepend ( const QByteArray & ba ) */ -HB_FUNC( QT_HBQSTRING_PREPEND_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->prepend( *hbqt_par_QByteArray( 2 ) ).toUtf8().data() ); -} - -/* QString & prepend ( const char * str ) */ -HB_FUNC( QT_HBQSTRING_PREPEND_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->prepend( ( const char * ) hb_parc( 2 ) ).toUtf8().data() ); -} - -/* QString & prepend ( QChar ch ) */ -HB_FUNC( QT_HBQSTRING_PREPEND_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->prepend( *hbqt_par_QChar( 2 ) ).toUtf8().data() ); -} - -/* void push_back ( const QString & other ) */ -HB_FUNC( QT_HBQSTRING_PUSH_BACK ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - ( p )->push_back( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void push_back ( QChar ch ) */ -HB_FUNC( QT_HBQSTRING_PUSH_BACK_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->push_back( *hbqt_par_QChar( 2 ) ); -} - -/* void push_front ( const QString & other ) */ -HB_FUNC( QT_HBQSTRING_PUSH_FRONT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - ( p )->push_front( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void push_front ( QChar ch ) */ -HB_FUNC( QT_HBQSTRING_PUSH_FRONT_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->push_front( *hbqt_par_QChar( 2 ) ); -} - -/* QString & remove ( int position, int n ) */ -HB_FUNC( QT_HBQSTRING_REMOVE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->remove( hb_parni( 2 ), hb_parni( 3 ) ).toUtf8().data() ); -} - -/* QString & remove ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REMOVE_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->remove( *hbqt_par_QChar( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); -} - -/* QString & remove ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REMOVE_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->remove( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & remove ( const QRegExp & rx ) */ -HB_FUNC( QT_HBQSTRING_REMOVE_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->remove( *hbqt_par_QRegExp( 2 ) ).toUtf8().data() ); -} - -/* QString repeated ( int times ) const */ -HB_FUNC( QT_HBQSTRING_REPEATED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->repeated( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString & replace ( int position, int n, const QString & after ) */ -HB_FUNC( QT_HBQSTRING_REPLACE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->replace( hb_parni( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & replace ( int position, int n, const QChar * unicode, int size ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->replace( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QChar( 4 ), hb_parni( 5 ) ).toUtf8().data() ); -} - -/* QString & replace ( int position, int n, QChar after ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->replace( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QChar( 4 ) ).toUtf8().data() ); -} - -/* QString & replace ( const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->replace( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & replace ( const QChar * before, int blen, const QChar * after, int alen, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->replace( hbqt_par_QChar( 2 ), hb_parni( 3 ), hbqt_par_QChar( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::CaseSensitivity ) hb_parni( 6 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); -} - -/* QString & replace ( QChar ch, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_5 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->replace( *hbqt_par_QChar( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & replace ( QChar before, QChar after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_6 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->replace( *hbqt_par_QChar( 2 ), *hbqt_par_QChar( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); -} - -/* QString & replace ( const QLatin1String & before, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_7 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->replace( *hbqt_par_QLatin1String( 2 ), *hbqt_par_QLatin1String( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); -} - -/* QString & replace ( const QLatin1String & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_8 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->replace( *hbqt_par_QLatin1String( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & replace ( const QString & before, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_9 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->replace( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QLatin1String( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString & replace ( QChar c, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_10 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->replace( *hbqt_par_QChar( 2 ), *hbqt_par_QLatin1String( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ).toUtf8().data() ); -} - -/* QString & replace ( const QRegExp & rx, const QString & after ) */ -HB_FUNC( QT_HBQSTRING_REPLACE_11 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->replace( *hbqt_par_QRegExp( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* void reserve ( int size ) */ -HB_FUNC( QT_HBQSTRING_RESERVE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->reserve( hb_parni( 2 ) ); -} - -/* void resize ( int size ) */ -HB_FUNC( QT_HBQSTRING_RESIZE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->resize( hb_parni( 2 ) ); -} - -/* QString right ( int n ) const */ -HB_FUNC( QT_HBQSTRING_RIGHT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->right( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString rightJustified ( int width, QChar fill = QLatin1Char( ' ' ), bool truncate = false ) const */ -HB_FUNC( QT_HBQSTRING_RIGHTJUSTIFIED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->rightJustified( hb_parni( 2 ), *hbqt_par_QChar( 3 ), hb_parl( 4 ) ).toUtf8().data() ); -} - -/* QStringRef rightRef ( int n ) const */ -HB_FUNC( QT_HBQSTRING_RIGHTREF ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringRef( new QStringRef( ( p )->rightRef( hb_parni( 2 ) ) ), true ) ); -} - -/* QString section ( QChar sep, int start, int end = -1, SectionFlags flags = SectionDefault ) const */ -HB_FUNC( QT_HBQSTRING_SECTION ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->section( *hbqt_par_QChar( 2 ), hb_parni( 3 ), hb_parnidef( 4, -1 ), ( HB_ISNUM( 5 ) ? ( HBQString::SectionFlags ) hb_parni( 5 ) : ( HBQString::SectionFlags ) HBQString::SectionDefault ) ).toUtf8().data() ); -} - -/* QString section ( const QString & sep, int start, int end = -1, SectionFlags flags = SectionDefault ) const */ -HB_FUNC( QT_HBQSTRING_SECTION_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->section( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), hb_parnidef( 4, -1 ), ( HB_ISNUM( 5 ) ? ( HBQString::SectionFlags ) hb_parni( 5 ) : ( HBQString::SectionFlags ) HBQString::SectionDefault ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString section ( const QRegExp & reg, int start, int end = -1, SectionFlags flags = SectionDefault ) const */ -HB_FUNC( QT_HBQSTRING_SECTION_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->section( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ), hb_parnidef( 4, -1 ), ( HB_ISNUM( 5 ) ? ( HBQString::SectionFlags ) hb_parni( 5 ) : ( HBQString::SectionFlags ) HBQString::SectionDefault ) ).toUtf8().data() ); -} - -/* QString & setNum ( int n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( uint n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( long n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( ( long ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( ulong n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( ( ulong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( qlonglong n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( ( qlonglong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( qulonglong n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_5 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( ( qulonglong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( short n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_6 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( ushort n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_7 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString & setNum ( double n, char format = 'g', int precision = 6 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_8 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ).toUtf8().data() ); -} - -/* QString & setNum ( float n, char format = 'g', int precision = 6 ) */ -HB_FUNC( QT_HBQSTRING_SETNUM_9 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setNum( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ).toUtf8().data() ); -} - -/* QString & setUnicode ( const QChar * unicode, int size ) */ -HB_FUNC( QT_HBQSTRING_SETUNICODE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->setUnicode( hbqt_par_QChar( 2 ), hb_parni( 3 ) ).toUtf8().data() ); -} - -/* QString & setUtf16 ( const ushort * unicode, int size ) */ -HB_FUNC( QT_HBQSTRING_SETUTF16 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - ushort iUnicode = 0; - - if( p ) - hb_retstr_utf8( ( p )->setUtf16( &iUnicode, hb_parni( 3 ) ).toUtf8().data() ); - - hb_storni( iUnicode, 2 ); -} - -/* QString simplified () const */ -HB_FUNC( QT_HBQSTRING_SIMPLIFIED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->simplified().toUtf8().data() ); -} - -/* int size () const */ -HB_FUNC( QT_HBQSTRING_SIZE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retni( ( p )->size() ); -} - -/* QStringList split ( const QString & sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_SPLIT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->split( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( HBQString::SplitBehavior ) hb_parni( 3 ) : ( HBQString::SplitBehavior ) HBQString::KeepEmptyParts ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QStringList split ( const QChar & sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_SPLIT_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->split( *hbqt_par_QChar( 2 ), ( HB_ISNUM( 3 ) ? ( HBQString::SplitBehavior ) hb_parni( 3 ) : ( HBQString::SplitBehavior ) HBQString::KeepEmptyParts ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ), true ) ); -} - -/* QStringList split ( const QRegExp & rx, SplitBehavior behavior = KeepEmptyParts ) const */ -HB_FUNC( QT_HBQSTRING_SPLIT_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->split( *hbqt_par_QRegExp( 2 ), ( HB_ISNUM( 3 ) ? ( HBQString::SplitBehavior ) hb_parni( 3 ) : ( HBQString::SplitBehavior ) HBQString::KeepEmptyParts ) ) ), true ) ); -} - -/* void squeeze () */ -HB_FUNC( QT_HBQSTRING_SQUEEZE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->squeeze(); -} - -/* bool startsWith ( const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_STARTSWITH ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->startsWith( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* bool startsWith ( const QLatin1String & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_STARTSWITH_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retl( ( p )->startsWith( *hbqt_par_QLatin1String( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* bool startsWith ( const QChar & c, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_HBQSTRING_STARTSWITH_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retl( ( p )->startsWith( *hbqt_par_QChar( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* QByteArray toAscii () const */ -HB_FUNC( QT_HBQSTRING_TOASCII ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toAscii() ), true ) ); -} - -/* QString toCaseFolded () const */ -HB_FUNC( QT_HBQSTRING_TOCASEFOLDED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toCaseFolded().toUtf8().data() ); -} - -/* double toDouble ( bool * ok = 0 ) const */ -HB_FUNC( QT_HBQSTRING_TODOUBLE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retnd( ( p )->toDouble( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* float toFloat ( bool * ok = 0 ) const */ -HB_FUNC( QT_HBQSTRING_TOFLOAT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retnd( ( p )->toFloat( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* int toInt ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOINT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toInt( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* QByteArray toLatin1 () const */ -HB_FUNC( QT_HBQSTRING_TOLATIN1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toLatin1() ), true ) ); -} - -/* QByteArray toLocal8Bit () const */ -HB_FUNC( QT_HBQSTRING_TOLOCAL8BIT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toLocal8Bit() ), true ) ); -} - -/* long toLong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOLONG ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toLong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* qlonglong toLongLong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOLONGLONG ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toLongLong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* QString toLower () const */ -HB_FUNC( QT_HBQSTRING_TOLOWER ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toLower().toUtf8().data() ); -} - -/* short toShort ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOSHORT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toShort( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* uint toUInt ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOUINT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toUInt( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* ulong toULong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOULONG ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toULong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* qulonglong toULongLong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOULONGLONG ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toULongLong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* ushort toUShort ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_HBQSTRING_TOUSHORT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toUShort( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* QString toUpper () const */ -HB_FUNC( QT_HBQSTRING_TOUPPER ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toUpper().toUtf8().data() ); -} - -/* QByteArray toUtf8 () const */ -HB_FUNC( QT_HBQSTRING_TOUTF8 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toUtf8() ), true ) ); -} - -/* QString trimmed () const */ -HB_FUNC( QT_HBQSTRING_TRIMMED ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->trimmed().toUtf8().data() ); -} - -/* void truncate ( int position ) */ -HB_FUNC( QT_HBQSTRING_TRUNCATE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - ( p )->truncate( hb_parni( 2 ) ); -} - -/* const QChar * unicode () const */ -HB_FUNC( QT_HBQSTRING_UNICODE ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( *( ( p )->unicode() ) ), true ) ); -} - -/* int compare ( const QString & s1, const QString & s2, Qt::CaseSensitivity cs ) */ -HB_FUNC( QT_HBQSTRING_COMPARE_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), ( Qt::CaseSensitivity ) hb_parni( 4 ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QString & s1, const QString & s2 ) */ -HB_FUNC( QT_HBQSTRING_COMPARE_5 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QString & s1, const QLatin1String & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_COMPARE_6 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QLatin1String( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QLatin1String & s1, const QString & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_COMPARE_7 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( *hbqt_par_QLatin1String( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QString & s1, const QStringRef & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_HBQSTRING_COMPARE_8 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringRef( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* QString fromAscii ( const char * str, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FROMASCII ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromAscii( ( const char * ) hb_parc( 2 ), hb_parnidef( 3, -1 ) ).toUtf8().data() ); -} - -/* QString fromLatin1 ( const char * str, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FROMLATIN1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromLatin1( ( const char * ) hb_parc( 2 ), hb_parnidef( 3, -1 ) ).toUtf8().data() ); -} - -/* QString fromLocal8Bit ( const char * str, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FROMLOCAL8BIT ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromLocal8Bit( ( const char * ) hb_parc( 2 ), hb_parnidef( 3, -1 ) ).toUtf8().data() ); -} - -/* QString fromRawData ( const QChar * unicode, int size ) */ -HB_FUNC( QT_HBQSTRING_FROMRAWDATA ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromRawData( hbqt_par_QChar( 2 ), hb_parni( 3 ) ).toUtf8().data() ); -} - -/* QString fromUcs4 ( const uint * unicode, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FROMUCS4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - uint iUnicode = 0; - - if( p ) - hb_retstr_utf8( ( p )->fromUcs4( &iUnicode, hb_parnidef( 3, -1 ) ).toUtf8().data() ); - - hb_storni( iUnicode, 2 ); -} - -/* QString fromUtf8 ( const char * str, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FROMUTF8 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromUtf8( ( const char * ) hb_parc( 2 ), hb_parnidef( 3, -1 ) ).toUtf8().data() ); -} - -/* QString fromUtf16 ( const ushort * unicode, int size = -1 ) */ -HB_FUNC( QT_HBQSTRING_FROMUTF16 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - ushort iUnicode = 0; - - if( p ) - hb_retstr_utf8( ( p )->fromUtf16( &iUnicode, hb_parnidef( 3, -1 ) ).toUtf8().data() ); - - hb_storni( iUnicode, 2 ); -} - -/* int localeAwareCompare ( const QString & s1, const QString & s2 ) */ -HB_FUNC( QT_HBQSTRING_LOCALEAWARECOMPARE_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->localeAwareCompare( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int localeAwareCompare ( const QString & s1, const QStringRef & s2 ) */ -HB_FUNC( QT_HBQSTRING_LOCALEAWARECOMPARE_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->localeAwareCompare( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringRef( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* QString number ( long n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( ( long ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString number ( double n, char format = 'g', int precision = 6 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER_1 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ).toUtf8().data() ); -} - -/* QString number ( ulong n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER_2 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( ( ulong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString number ( int n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER_3 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( hb_parni( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString number ( uint n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER_4 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( hb_parni( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString number ( qlonglong n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER_5 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( ( qlonglong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - -/* QString number ( qulonglong n, int base = 10 ) */ -HB_FUNC( QT_HBQSTRING_NUMBER_6 ) -{ - HBQString * p = hbqt_par_HBQString( 1 ); - if( p ) - hb_retstr_utf8( ( p )->number( ( qulonglong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp b/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp deleted file mode 100644 index 1337fc57e6..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QAbstractItemModel.cpp +++ /dev/null @@ -1,342 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 32/34 [ 94.12% ] ] - * - * *** Unconvered Prototypes *** - * - * virtual QMap itemData ( const QModelIndex & index ) const - * virtual bool setItemData ( const QModelIndex & index, const QMap & roles ) - * - * *** Commented out protostypes *** - * - * // virtual QModelIndexList match ( const QModelIndex & start, int role, const QVariant & value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap ) ) const - * // virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const - */ - -#include - -#include -#include -#include - - -/* - * QAbstractItemModel ( QObject * parent = 0 ) - * virtual ~QAbstractItemModel () - */ - - - -typedef struct -{ - QPointer< QAbstractItemModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractItemModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemModel ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractItemModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractItemModel * p = ( HBQT_GC_T_QAbstractItemModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractItemModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractItemModel >( ( QAbstractItemModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractItemModel; - p->type = HBQT_TYPE_QAbstractItemModel; - - return p; -} - -HB_FUNC( QT_QABSTRACTITEMMODEL ) -{ -} - -/* virtual QModelIndex buddy ( const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_BUDDY ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->buddy( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* virtual bool canFetchMore ( const QModelIndex & parent ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_CANFETCHMORE ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->canFetchMore( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* virtual int columnCount ( const QModelIndex & parent = QModelIndex() ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMMODEL_COLUMNCOUNT ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retni( ( p )->columnCount( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMMODEL_DATA ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( *hbqt_par_QModelIndex( 2 ), hb_parnidef( 3, Qt::DisplayRole ) ) ), true ) ); -} - -/* virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_DROPMIMEDATA ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->dropMimeData( hbqt_par_QMimeData( 2 ), ( Qt::DropAction ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QModelIndex( 6 ) ) ); -} - -/* virtual void fetchMore ( const QModelIndex & parent ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_FETCHMORE ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - ( p )->fetchMore( *hbqt_par_QModelIndex( 2 ) ); -} - -/* virtual Qt::ItemFlags flags ( const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_FLAGS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_HASCHILDREN ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->hasChildren( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* bool hasIndex ( int row, int column, const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_HASINDEX ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->hasIndex( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* virtual QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_HEADERDATA ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->headerData( hb_parni( 2 ), ( Qt::Orientation ) hb_parni( 3 ), hb_parnidef( 4, Qt::DisplayRole ) ) ), true ) ); -} - -/* virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INDEX ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ), true ) ); -} - -/* bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTCOLUMN ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->insertColumn( hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* virtual bool insertColumns ( int column, int count, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTCOLUMNS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->insertColumns( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTROW ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->insertRow( hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* virtual bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTROWS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->insertRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* virtual QStringList mimeTypes () const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_MIMETYPES ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->mimeTypes() ), true ) ); -} - -/* virtual QModelIndex parent ( const QModelIndex & index ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMMODEL_PARENT ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->parent( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* bool removeColumn ( int column, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVECOLUMN ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->removeColumn( hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* virtual bool removeColumns ( int column, int count, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVECOLUMNS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->removeColumns( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* bool removeRow ( int row, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVEROW ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->removeRow( hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* virtual bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVEROWS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->removeRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMMODEL_ROWCOUNT ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retni( ( p )->rowCount( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SETDATA ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->setData( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QVariant( 3 ), hb_parnidef( 4, Qt::EditRole ) ) ); -} - -/* virtual bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SETHEADERDATA ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->setHeaderData( hb_parni( 2 ), ( Qt::Orientation ) hb_parni( 3 ), *hbqt_par_QVariant( 4 ), hb_parnidef( 5, Qt::EditRole ) ) ); -} - -/* void setSupportedDragActions ( Qt::DropActions actions ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SETSUPPORTEDDRAGACTIONS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - ( p )->setSupportedDragActions( ( Qt::DropActions ) hb_parni( 2 ) ); -} - -/* QModelIndex sibling ( int row, int column, const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SIBLING ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->sibling( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QModelIndex( 4 ) ) ), true ) ); -} - -/* virtual void sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SORT ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - ( p )->sort( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* virtual QSize span ( const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SPAN ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->span( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* Qt::DropActions supportedDragActions () const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SUPPORTEDDRAGACTIONS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retni( ( Qt::DropActions ) ( p )->supportedDragActions() ); -} - -/* virtual Qt::DropActions supportedDropActions () const */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SUPPORTEDDROPACTIONS ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retni( ( Qt::DropActions ) ( p )->supportedDropActions() ); -} - -/* virtual void revert () */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REVERT ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - ( p )->revert(); -} - -/* virtual bool submit () */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SUBMIT ) -{ - QAbstractItemModel * p = hbqt_par_QAbstractItemModel( 1 ); - if( p ) - hb_retl( ( p )->submit() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp b/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp deleted file mode 100644 index c5b40a9b3e..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QAbstractListModel.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QAbstractListModel ( QObject * parent = 0 ) - * ~QAbstractListModel () - */ - -typedef struct -{ - QPointer< QAbstractListModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractListModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractListModel ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractListModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractListModel * p = ( HBQT_GC_T_QAbstractListModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractListModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractListModel >( ( QAbstractListModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractListModel; - p->type = HBQT_TYPE_QAbstractListModel; - - return p; -} - -HB_FUNC( QT_QABSTRACTLISTMODEL ) -{ - //__HB_RETPTRGC__( new QAbstractListModel() ); -} - -/* virtual QModelIndex index ( int row, int column = 0, const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QABSTRACTLISTMODEL_INDEX ) -{ - QAbstractListModel * p = hbqt_par_QAbstractListModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp b/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp deleted file mode 100644 index f6199d40ec..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QAbstractTableModel.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QAbstractTableModel ( QObject * parent = 0 ) - * ~QAbstractTableModel () - */ - -typedef struct -{ - QPointer< QAbstractTableModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractTableModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractTableModel ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractTableModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractTableModel * p = ( HBQT_GC_T_QAbstractTableModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractTableModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractTableModel >( ( QAbstractTableModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractTableModel; - p->type = HBQT_TYPE_QAbstractTableModel; - - return p; -} - -HB_FUNC( QT_QABSTRACTTABLEMODEL ) -{ - // __HB_RETPTRGC__( new QAbstractTableModel() ); -} - -/* virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QABSTRACTTABLEMODEL_INDEX ) -{ - QAbstractTableModel * p = hbqt_par_QAbstractTableModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp b/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp deleted file mode 100644 index 3b6bc90e88..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QBitArray.cpp +++ /dev/null @@ -1,210 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 16/16 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QBitArray () - * QBitArray ( int size, bool value = false ) - * QBitArray ( const QBitArray & other ) - */ - -typedef struct -{ - QBitArray * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QBitArray; - -HBQT_GC_FUNC( hbqt_gcRelease_QBitArray ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QBitArray * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QBitArray( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QBitArray * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QBitArray; - p->type = HBQT_TYPE_QBitArray; - - return p; -} - -HB_FUNC( QT_QBITARRAY ) -{ - QBitArray * pObj = NULL; - - pObj = new QBitArray() ; - - hb_retptrGC( hbqt_gcAllocate_QBitArray( ( void * ) pObj, true ) ); -} - -/* bool at ( int i ) const */ -HB_FUNC( QT_QBITARRAY_AT ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retl( ( p )->at( hb_parni( 2 ) ) ); -} - -/* void clear () */ -HB_FUNC( QT_QBITARRAY_CLEAR ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->clear(); -} - -/* void clearBit ( int i ) */ -HB_FUNC( QT_QBITARRAY_CLEARBIT ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->clearBit( hb_parni( 2 ) ); -} - -/* int count () const */ -HB_FUNC( QT_QBITARRAY_COUNT ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* int count ( bool on ) const */ -HB_FUNC( QT_QBITARRAY_COUNT_1 ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retni( ( p )->count( hb_parl( 2 ) ) ); -} - -/* bool fill ( bool value, int size = -1 ) */ -HB_FUNC( QT_QBITARRAY_FILL ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retl( ( p )->fill( hb_parl( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* void fill ( bool value, int begin, int end ) */ -HB_FUNC( QT_QBITARRAY_FILL_1 ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->fill( hb_parl( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QBITARRAY_ISEMPTY ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QBITARRAY_ISNULL ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* void resize ( int size ) */ -HB_FUNC( QT_QBITARRAY_RESIZE ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->resize( hb_parni( 2 ) ); -} - -/* void setBit ( int i ) */ -HB_FUNC( QT_QBITARRAY_SETBIT ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->setBit( hb_parni( 2 ) ); -} - -/* void setBit ( int i, bool value ) */ -HB_FUNC( QT_QBITARRAY_SETBIT_1 ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->setBit( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* int size () const */ -HB_FUNC( QT_QBITARRAY_SIZE ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retni( ( p )->size() ); -} - -/* bool testBit ( int i ) const */ -HB_FUNC( QT_QBITARRAY_TESTBIT ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retl( ( p )->testBit( hb_parni( 2 ) ) ); -} - -/* bool toggleBit ( int i ) */ -HB_FUNC( QT_QBITARRAY_TOGGLEBIT ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - hb_retl( ( p )->toggleBit( hb_parni( 2 ) ) ); -} - -/* void truncate ( int pos ) */ -HB_FUNC( QT_QBITARRAY_TRUNCATE ) -{ - QBitArray * p = hbqt_par_QBitArray( 1 ); - if( p ) - ( p )->truncate( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp b/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp deleted file mode 100644 index f9a8c94781..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QBuffer.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //const QByteArray & buffer () const - */ - -#include - -#include - - -/* - * QBuffer ( QObject * parent = 0 ) - * QBuffer ( QByteArray * byteArray, QObject * parent = 0 ) - * ~QBuffer () - */ - -typedef struct -{ - QPointer< QBuffer > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QBuffer; - -HBQT_GC_FUNC( hbqt_gcRelease_QBuffer ) -{ - HBQT_GC_T_QBuffer * p = ( HBQT_GC_T_QBuffer * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QBuffer * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QBuffer( void * pObj, bool bNew ) -{ - HBQT_GC_T_QBuffer * p = ( HBQT_GC_T_QBuffer * ) hb_gcAllocate( sizeof( HBQT_GC_T_QBuffer ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QBuffer >( ( QBuffer * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QBuffer; - p->type = HBQT_TYPE_QBuffer; - - return p; -} - -HB_FUNC( QT_QBUFFER ) -{ - QBuffer * pObj = NULL; - - pObj = new QBuffer() ; - - hb_retptrGC( hbqt_gcAllocate_QBuffer( ( void * ) pObj, true ) ); -} - -/* QByteArray & buffer () */ -HB_FUNC( QT_QBUFFER_BUFFER ) -{ - QBuffer * p = hbqt_par_QBuffer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->buffer() ), true ) ); -} - -/* const QByteArray & data () const */ -HB_FUNC( QT_QBUFFER_DATA ) -{ - QBuffer * p = hbqt_par_QBuffer( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->data() ), true ) ); -} - -/* void setBuffer ( QByteArray * byteArray ) */ -HB_FUNC( QT_QBUFFER_SETBUFFER ) -{ - QBuffer * p = hbqt_par_QBuffer( 1 ); - if( p ) - ( p )->setBuffer( hbqt_par_QByteArray( 2 ) ); -} - -/* void setData ( const char * data, int size ) */ -HB_FUNC( QT_QBUFFER_SETDATA ) -{ - QBuffer * p = hbqt_par_QBuffer( 1 ); - if( p ) - ( p )->setData( ( const char * ) hb_parc( 2 ), hb_parni( 3 ) ); -} - -/* void setData ( const QByteArray & data ) */ -HB_FUNC( QT_QBUFFER_SETDATA_1 ) -{ - QBuffer * p = hbqt_par_QBuffer( 1 ); - if( p ) - ( p )->setData( *hbqt_par_QByteArray( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp b/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp deleted file mode 100644 index 8f7d05fd5b..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QByteArray.cpp +++ /dev/null @@ -1,950 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 98/98 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // bool contains ( const QByteArray & ba ) const - * // bool contains ( const char * str ) const - * // bool contains ( char ch ) const - */ - -#include - -#include - - -/* QByteArray () - * QByteArray ( const char * str ) - * QByteArray ( const char * data, int size ) - * QByteArray ( int size, char ch ) - * QByteArray ( const QByteArray & other ) - * ~QByteArray () - */ - -typedef struct -{ - QByteArray * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QByteArray; - -HBQT_GC_FUNC( hbqt_gcRelease_QByteArray ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QByteArray * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QByteArray( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QByteArray * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QByteArray; - p->type = HBQT_TYPE_QByteArray; - - return p; -} - -HB_FUNC( QT_QBYTEARRAY ) -{ - QByteArray * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QByteArray( hb_parc( 1 ) ) ; - } - else - { - pObj = new QByteArray() ; - } - - hb_retptrGC( hbqt_gcAllocate_QByteArray( ( void * ) pObj, true ) ); -} - -/* QByteArray & append ( const QByteArray & ba ) */ -HB_FUNC( QT_QBYTEARRAY_APPEND ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->append( *hbqt_par_QByteArray( 2 ) ) ), true ) ); -} - -/* QByteArray & append ( const QString & str ) */ -HB_FUNC( QT_QBYTEARRAY_APPEND_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->append( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray & append ( const char * str ) */ -HB_FUNC( QT_QBYTEARRAY_APPEND_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->append( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - -/* QByteArray & append ( const char * str, int len ) */ -HB_FUNC( QT_QBYTEARRAY_APPEND_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->append( ( const char * ) hb_parc( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* QByteArray & append ( char ch ) */ -HB_FUNC( QT_QBYTEARRAY_APPEND_4 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->append( ( char ) hb_parni( 2 ) ) ), true ) ); -} - -/* char at ( int i ) const */ -HB_FUNC( QT_QBYTEARRAY_AT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->at( hb_parni( 2 ) ) ); -} - -/* int capacity () const */ -HB_FUNC( QT_QBYTEARRAY_CAPACITY ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->capacity() ); -} - -/* void chop ( int n ) */ -HB_FUNC( QT_QBYTEARRAY_CHOP ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->chop( hb_parni( 2 ) ); -} - -/* void clear () */ -HB_FUNC( QT_QBYTEARRAY_CLEAR ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->clear(); -} - -/* const char * constData () const */ -HB_FUNC( QT_QBYTEARRAY_CONSTDATA ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retc( ( p )->constData() ); -} - -/* int count ( const QByteArray & ba ) const */ -HB_FUNC( QT_QBYTEARRAY_COUNT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->count( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* int count ( const char * str ) const */ -HB_FUNC( QT_QBYTEARRAY_COUNT_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->count( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int count ( char ch ) const */ -HB_FUNC( QT_QBYTEARRAY_COUNT_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->count( ( char ) hb_parni( 2 ) ) ); -} - -/* int count () const */ -HB_FUNC( QT_QBYTEARRAY_COUNT_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* char * data () */ -HB_FUNC( QT_QBYTEARRAY_DATA ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retc( ( p )->data() ); -} - -/* const char * data () const */ -HB_FUNC( QT_QBYTEARRAY_DATA_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retc( ( p )->data() ); -} - -/* bool endsWith ( const QByteArray & ba ) const */ -HB_FUNC( QT_QBYTEARRAY_ENDSWITH ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->endsWith( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* bool endsWith ( const char * str ) const */ -HB_FUNC( QT_QBYTEARRAY_ENDSWITH_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->endsWith( ( const char * ) hb_parc( 2 ) ) ); -} - -/* bool endsWith ( char ch ) const */ -HB_FUNC( QT_QBYTEARRAY_ENDSWITH_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->endsWith( ( char ) hb_parni( 2 ) ) ); -} - -/* QByteArray & fill ( char ch, int size = -1 ) */ -HB_FUNC( QT_QBYTEARRAY_FILL ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->fill( ( char ) hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ), true ) ); -} - -/* int indexOf ( const QByteArray & ba, int from = 0 ) const */ -HB_FUNC( QT_QBYTEARRAY_INDEXOF ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QByteArray( 2 ), hb_parni( 3 ) ) ); -} - -/* int indexOf ( const QString & str, int from = 0 ) const */ -HB_FUNC( QT_QBYTEARRAY_INDEXOF_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->indexOf( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* int indexOf ( const char * str, int from = 0 ) const */ -HB_FUNC( QT_QBYTEARRAY_INDEXOF_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->indexOf( ( const char * ) hb_parc( 2 ), hb_parni( 3 ) ) ); -} - -/* int indexOf ( char ch, int from = 0 ) const */ -HB_FUNC( QT_QBYTEARRAY_INDEXOF_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->indexOf( ( char ) hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* QByteArray & insert ( int i, const QByteArray & ba ) */ -HB_FUNC( QT_QBYTEARRAY_INSERT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->insert( hb_parni( 2 ), *hbqt_par_QByteArray( 3 ) ) ), true ) ); -} - -/* QByteArray & insert ( int i, const QString & str ) */ -HB_FUNC( QT_QBYTEARRAY_INSERT_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->insert( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray & insert ( int i, const char * str ) */ -HB_FUNC( QT_QBYTEARRAY_INSERT_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->insert( hb_parni( 2 ), ( const char * ) hb_parc( 3 ) ) ), true ) ); -} - -/* QByteArray & insert ( int i, char ch ) */ -HB_FUNC( QT_QBYTEARRAY_INSERT_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->insert( hb_parni( 2 ), ( char ) hb_parni( 3 ) ) ), true ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QBYTEARRAY_ISEMPTY ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QBYTEARRAY_ISNULL ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* int lastIndexOf ( const QByteArray & ba, int from = -1 ) const */ -HB_FUNC( QT_QBYTEARRAY_LASTINDEXOF ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QByteArray( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int lastIndexOf ( const QString & str, int from = -1 ) const */ -HB_FUNC( QT_QBYTEARRAY_LASTINDEXOF_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->lastIndexOf( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, -1 ) ) ); - hb_strfree( pText ); - } -} - -/* int lastIndexOf ( const char * str, int from = -1 ) const */ -HB_FUNC( QT_QBYTEARRAY_LASTINDEXOF_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( ( const char * ) hb_parc( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int lastIndexOf ( char ch, int from = -1 ) const */ -HB_FUNC( QT_QBYTEARRAY_LASTINDEXOF_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( ( char ) hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* QByteArray left ( int len ) const */ -HB_FUNC( QT_QBYTEARRAY_LEFT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->left( hb_parni( 2 ) ) ), true ) ); -} - -/* QByteArray leftJustified ( int width, char fill = ' ', bool truncate = false ) const */ -HB_FUNC( QT_QBYTEARRAY_LEFTJUSTIFIED ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->leftJustified( hb_parni( 2 ), ( char ) hb_parni( 3 ), hb_parl( 4 ) ) ), true ) ); -} - -/* int length () const */ -HB_FUNC( QT_QBYTEARRAY_LENGTH ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* QByteArray mid ( int pos, int len = -1 ) const */ -HB_FUNC( QT_QBYTEARRAY_MID ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->mid( hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ), true ) ); -} - -/* QByteArray & prepend ( const QByteArray & ba ) */ -HB_FUNC( QT_QBYTEARRAY_PREPEND ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->prepend( *hbqt_par_QByteArray( 2 ) ) ), true ) ); -} - -/* QByteArray & prepend ( const char * str ) */ -HB_FUNC( QT_QBYTEARRAY_PREPEND_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->prepend( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - -/* QByteArray & prepend ( char ch ) */ -HB_FUNC( QT_QBYTEARRAY_PREPEND_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->prepend( ( char ) hb_parni( 2 ) ) ), true ) ); -} - -/* void push_back ( const QByteArray & other ) */ -HB_FUNC( QT_QBYTEARRAY_PUSH_BACK ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->push_back( *hbqt_par_QByteArray( 2 ) ); -} - -/* void push_back ( const char * str ) */ -HB_FUNC( QT_QBYTEARRAY_PUSH_BACK_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->push_back( ( const char * ) hb_parc( 2 ) ); -} - -/* void push_back ( char ch ) */ -HB_FUNC( QT_QBYTEARRAY_PUSH_BACK_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->push_back( ( char ) hb_parni( 2 ) ); -} - -/* void push_front ( const QByteArray & other ) */ -HB_FUNC( QT_QBYTEARRAY_PUSH_FRONT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->push_front( *hbqt_par_QByteArray( 2 ) ); -} - -/* void push_front ( const char * str ) */ -HB_FUNC( QT_QBYTEARRAY_PUSH_FRONT_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->push_front( ( const char * ) hb_parc( 2 ) ); -} - -/* void push_front ( char ch ) */ -HB_FUNC( QT_QBYTEARRAY_PUSH_FRONT_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->push_front( ( char ) hb_parni( 2 ) ); -} - -/* QByteArray & remove ( int pos, int len ) */ -HB_FUNC( QT_QBYTEARRAY_REMOVE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->remove( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* QByteArray repeated ( int times ) const */ -HB_FUNC( QT_QBYTEARRAY_REPEATED ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->repeated( hb_parni( 2 ) ) ), true ) ); -} - -/* QByteArray & replace ( int pos, int len, const QByteArray & after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QByteArray( 4 ) ) ), true ) ); -} - -/* QByteArray & replace ( int pos, int len, const char * after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( hb_parni( 2 ), hb_parni( 3 ), ( const char * ) hb_parc( 4 ) ) ), true ) ); -} - -/* QByteArray & replace ( const QByteArray & before, const QByteArray & after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( *hbqt_par_QByteArray( 2 ), *hbqt_par_QByteArray( 3 ) ) ), true ) ); -} - -/* QByteArray & replace ( const char * before, const QByteArray & after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( const char * ) hb_parc( 2 ), *hbqt_par_QByteArray( 3 ) ) ), true ) ); -} - -/* QByteArray & replace ( const char * before, int bsize, const char * after, int asize ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_4 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( const char * ) hb_parc( 2 ), hb_parni( 3 ), ( const char * ) hb_parc( 4 ), hb_parni( 5 ) ) ), true ) ); -} - -/* QByteArray & replace ( const QByteArray & before, const char * after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_5 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( *hbqt_par_QByteArray( 2 ), ( const char * ) hb_parc( 3 ) ) ), true ) ); -} - -/* QByteArray & replace ( const QString & before, const QByteArray & after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_6 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QByteArray( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray & replace ( const QString & before, const char * after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_7 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray & replace ( const char * before, const char * after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_8 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ) ) ), true ) ); -} - -/* QByteArray & replace ( char before, const QByteArray & after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_9 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( char ) hb_parni( 2 ), *hbqt_par_QByteArray( 3 ) ) ), true ) ); -} - -/* QByteArray & replace ( char before, const QString & after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_10 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( char ) hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray & replace ( char before, const char * after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_11 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( char ) hb_parni( 2 ), ( const char * ) hb_parc( 3 ) ) ), true ) ); -} - -/* QByteArray & replace ( char before, char after ) */ -HB_FUNC( QT_QBYTEARRAY_REPLACE_12 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->replace( ( char ) hb_parni( 2 ), ( char ) hb_parni( 3 ) ) ), true ) ); -} - -/* void reserve ( int size ) */ -HB_FUNC( QT_QBYTEARRAY_RESERVE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->reserve( hb_parni( 2 ) ); -} - -/* void resize ( int size ) */ -HB_FUNC( QT_QBYTEARRAY_RESIZE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->resize( hb_parni( 2 ) ); -} - -/* QByteArray right ( int len ) const */ -HB_FUNC( QT_QBYTEARRAY_RIGHT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->right( hb_parni( 2 ) ) ), true ) ); -} - -/* QByteArray rightJustified ( int width, char fill = ' ', bool truncate = false ) const */ -HB_FUNC( QT_QBYTEARRAY_RIGHTJUSTIFIED ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->rightJustified( hb_parni( 2 ), ( char ) hb_parni( 3 ), hb_parl( 4 ) ) ), true ) ); -} - -/* QByteArray & setNum ( int n, int base = 10 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ) ), true ) ); -} - -/* QByteArray & setNum ( uint n, int base = 10 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ) ), true ) ); -} - -/* QByteArray & setNum ( short n, int base = 10 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ) ), true ) ); -} - -/* QByteArray & setNum ( ushort n, int base = 10 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_3 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( hb_parni( 2 ), hb_parnidef( 3, 10 ) ) ), true ) ); -} - -/* QByteArray & setNum ( qlonglong n, int base = 10 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_4 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( ( qlonglong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ) ), true ) ); -} - -/* QByteArray & setNum ( qulonglong n, int base = 10 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_5 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( ( qulonglong ) hb_parnint( 2 ), hb_parnidef( 3, 10 ) ) ), true ) ); -} - -/* QByteArray & setNum ( double n, char f = 'g', int prec = 6 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_6 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ) ), true ) ); -} - -/* QByteArray & setNum ( float n, char f = 'g', int prec = 6 ) */ -HB_FUNC( QT_QBYTEARRAY_SETNUM_7 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->setNum( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ) ), true ) ); -} - -/* QByteArray simplified () const */ -HB_FUNC( QT_QBYTEARRAY_SIMPLIFIED ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->simplified() ), true ) ); -} - -/* int size () const */ -HB_FUNC( QT_QBYTEARRAY_SIZE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retni( ( p )->size() ); -} - -/* QList split ( char sep ) const */ -HB_FUNC( QT_QBYTEARRAY_SPLIT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->split( ( char ) hb_parni( 2 ) ) ), true ) ); -} - -/* void squeeze () */ -HB_FUNC( QT_QBYTEARRAY_SQUEEZE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->squeeze(); -} - -/* bool startsWith ( const QByteArray & ba ) const */ -HB_FUNC( QT_QBYTEARRAY_STARTSWITH ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->startsWith( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* bool startsWith ( const char * str ) const */ -HB_FUNC( QT_QBYTEARRAY_STARTSWITH_1 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->startsWith( ( const char * ) hb_parc( 2 ) ) ); -} - -/* bool startsWith ( char ch ) const */ -HB_FUNC( QT_QBYTEARRAY_STARTSWITH_2 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retl( ( p )->startsWith( ( char ) hb_parni( 2 ) ) ); -} - -/* QByteArray toBase64 () const */ -HB_FUNC( QT_QBYTEARRAY_TOBASE64 ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toBase64() ), true ) ); -} - -/* double toDouble ( bool * ok = 0 ) const */ -HB_FUNC( QT_QBYTEARRAY_TODOUBLE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retnd( ( p )->toDouble( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* float toFloat ( bool * ok = 0 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOFLOAT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retnd( ( p )->toFloat( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* QByteArray toHex () const */ -HB_FUNC( QT_QBYTEARRAY_TOHEX ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toHex() ), true ) ); -} - -/* int toInt ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOINT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toInt( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* long toLong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOLONG ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toLong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* qlonglong toLongLong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOLONGLONG ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toLongLong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* QByteArray toLower () const */ -HB_FUNC( QT_QBYTEARRAY_TOLOWER ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toLower() ), true ) ); -} - -/* QByteArray toPercentEncoding ( const QByteArray & exclude = QByteArray(), const QByteArray & include = QByteArray(), char percent = '%' ) const */ -HB_FUNC( QT_QBYTEARRAY_TOPERCENTENCODING ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toPercentEncoding( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QByteArray( 2 ) : QByteArray() ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QByteArray( 3 ) : QByteArray() ), ( char ) hb_parni( 4 ) ) ), true ) ); -} - -/* short toShort ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOSHORT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toShort( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* uint toUInt ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOUINT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toUInt( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* ulong toULong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOULONG ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toULong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* qulonglong toULongLong ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOULONGLONG ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toULongLong( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* ushort toUShort ( bool * ok = 0, int base = 10 ) const */ -HB_FUNC( QT_QBYTEARRAY_TOUSHORT ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toUShort( &iOk, hb_parnidef( 3, 10 ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* QByteArray toUpper () const */ -HB_FUNC( QT_QBYTEARRAY_TOUPPER ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toUpper() ), true ) ); -} - -/* QByteArray trimmed () const */ -HB_FUNC( QT_QBYTEARRAY_TRIMMED ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->trimmed() ), true ) ); -} - -/* void truncate ( int pos ) */ -HB_FUNC( QT_QBYTEARRAY_TRUNCATE ) -{ - QByteArray * p = hbqt_par_QByteArray( 1 ); - if( p ) - ( p )->truncate( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QChar.cpp b/harbour/contrib/hbqt/qtcore/g/QChar.cpp deleted file mode 100644 index f06c2fa27a..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QChar.cpp +++ /dev/null @@ -1,359 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Category { Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, ..., NoCategory } - * enum Decomposition { NoDecomposition, Canonical, Circle, Compat, ..., Wide } - * enum Direction { DirAL, DirAN, DirB, DirBN, ..., DirWS } - * enum Joining { Center, Dual, OtherJoining, Right } - * enum SpecialCharacter { Null, Nbsp, ReplacementCharacter, ObjectReplacementCharacter, ..., LineSeparator } - * enum UnicodeVersion { Unicode_1_1, Unicode_2_0, Unicode_2_1_2, Unicode_3_0, ..., Unicode_Unassigned } - */ - -/* - * Constructed[ 32/34 [ 94.12% ] ] - * - * *** Unconvered Prototypes *** - * - * uchar cell () const - * uchar row () const - * - * *** Commented out protostypes *** - * - * //ushort unicode () const - */ - -#include - -#include - - -/* - * QChar () - * QChar ( char ch ) - * QChar ( uchar ch ) - * QChar ( QLatin1Char ch ) - * QChar ( uchar cell, uchar row ) - * QChar ( ushort code ) - * QChar ( short code ) - * QChar ( uint code ) - * QChar ( int code ) - * QChar ( SpecialCharacter ch ) - */ - -typedef struct -{ - QChar * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QChar; - -HBQT_GC_FUNC( hbqt_gcRelease_QChar ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QChar( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QChar * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QChar; - p->type = HBQT_TYPE_QChar; - - return p; -} - -HB_FUNC( QT_QCHAR ) -{ - QChar * pObj = NULL; - - pObj = new QChar() ; - - hb_retptrGC( hbqt_gcAllocate_QChar( ( void * ) pObj, true ) ); -} - -/* Category category () const */ -HB_FUNC( QT_QCHAR_CATEGORY ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( QChar::Category ) ( p )->category() ); -} - -/* unsigned char combiningClass () const */ -HB_FUNC( QT_QCHAR_COMBININGCLASS ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( p )->combiningClass() ); -} - -/* QString decomposition () const */ -HB_FUNC( QT_QCHAR_DECOMPOSITION ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->decomposition().toUtf8().data() ); -} - -/* Decomposition decompositionTag () const */ -HB_FUNC( QT_QCHAR_DECOMPOSITIONTAG ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( QChar::Decomposition ) ( p )->decompositionTag() ); -} - -/* int digitValue () const */ -HB_FUNC( QT_QCHAR_DIGITVALUE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( p )->digitValue() ); -} - -/* Direction direction () const */ -HB_FUNC( QT_QCHAR_DIRECTION ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( QChar::Direction ) ( p )->direction() ); -} - -/* bool hasMirrored () const */ -HB_FUNC( QT_QCHAR_HASMIRRORED ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->hasMirrored() ); -} - -/* bool isDigit () const */ -HB_FUNC( QT_QCHAR_ISDIGIT ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isDigit() ); -} - -/* bool isHighSurrogate () const */ -HB_FUNC( QT_QCHAR_ISHIGHSURROGATE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isHighSurrogate() ); -} - -/* bool isLetter () const */ -HB_FUNC( QT_QCHAR_ISLETTER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isLetter() ); -} - -/* bool isLetterOrNumber () const */ -HB_FUNC( QT_QCHAR_ISLETTERORNUMBER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isLetterOrNumber() ); -} - -/* bool isLowSurrogate () const */ -HB_FUNC( QT_QCHAR_ISLOWSURROGATE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isLowSurrogate() ); -} - -/* bool isLower () const */ -HB_FUNC( QT_QCHAR_ISLOWER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isLower() ); -} - -/* bool isMark () const */ -HB_FUNC( QT_QCHAR_ISMARK ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isMark() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QCHAR_ISNULL ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isNumber () const */ -HB_FUNC( QT_QCHAR_ISNUMBER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isNumber() ); -} - -/* bool isPrint () const */ -HB_FUNC( QT_QCHAR_ISPRINT ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isPrint() ); -} - -/* bool isPunct () const */ -HB_FUNC( QT_QCHAR_ISPUNCT ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isPunct() ); -} - -/* bool isSpace () const */ -HB_FUNC( QT_QCHAR_ISSPACE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isSpace() ); -} - -/* bool isSymbol () const */ -HB_FUNC( QT_QCHAR_ISSYMBOL ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isSymbol() ); -} - -/* bool isTitleCase () const */ -HB_FUNC( QT_QCHAR_ISTITLECASE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isTitleCase() ); -} - -/* bool isUpper () const */ -HB_FUNC( QT_QCHAR_ISUPPER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retl( ( p )->isUpper() ); -} - -/* Joining joining () const */ -HB_FUNC( QT_QCHAR_JOINING ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( QChar::Joining ) ( p )->joining() ); -} - -/* QChar mirroredChar () const */ -HB_FUNC( QT_QCHAR_MIRROREDCHAR ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->mirroredChar() ), true ) ); -} - -/* char toAscii () const */ -HB_FUNC( QT_QCHAR_TOASCII ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( p )->toAscii() ); -} - -/* QChar toCaseFolded () const */ -HB_FUNC( QT_QCHAR_TOCASEFOLDED ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->toCaseFolded() ), true ) ); -} - -/* char toLatin1 () const */ -HB_FUNC( QT_QCHAR_TOLATIN1 ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( p )->toLatin1() ); -} - -/* QChar toLower () const */ -HB_FUNC( QT_QCHAR_TOLOWER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->toLower() ), true ) ); -} - -/* QChar toTitleCase () const */ -HB_FUNC( QT_QCHAR_TOTITLECASE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->toTitleCase() ), true ) ); -} - -/* QChar toUpper () const */ -HB_FUNC( QT_QCHAR_TOUPPER ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->toUpper() ), true ) ); -} - -/* ushort & unicode () */ -HB_FUNC( QT_QCHAR_UNICODE ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( p )->unicode() ); -} - -/* UnicodeVersion unicodeVersion () const */ -HB_FUNC( QT_QCHAR_UNICODEVERSION ) -{ - QChar * p = hbqt_par_QChar( 1 ); - if( p ) - hb_retni( ( QChar::UnicodeVersion ) ( p )->unicodeVersion() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp b/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp deleted file mode 100644 index ce8db7f9b3..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QCoreApplication.cpp +++ /dev/null @@ -1,428 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Encoding { CodecForTr, UnicodeUTF8, DefaultCodec } - */ - -/* - * Constructed[ 40/40 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // bool filterEvent ( void * message, long * result ) - * // EventFilter setEventFilter ( EventFilter filter ) - * // virtual bool winEventFilter ( MSG * msg, long * result ) - */ - -#include - -#include -#include - -/* - * QCoreApplication ( int & argc, char ** argv ) - * ~QCoreApplication () - */ - -typedef struct -{ - QPointer< QCoreApplication > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCoreApplication; - -HBQT_GC_FUNC( hbqt_gcRelease_QCoreApplication ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QCoreApplication( void * pObj, bool bNew ) -{ - HBQT_GC_T_QCoreApplication * p = ( HBQT_GC_T_QCoreApplication * ) hb_gcAllocate( sizeof( HBQT_GC_T_QCoreApplication ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QCoreApplication >( ( QCoreApplication * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QCoreApplication; - p->type = HBQT_TYPE_QCoreApplication; - - return p; -} - -HB_FUNC( QT_QCOREAPPLICATION ) -{ - -} - -/* virtual bool notify ( QObject * receiver, QEvent * event ) */ -HB_FUNC( QT_QCOREAPPLICATION_NOTIFY ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retl( ( p )->notify( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) ); -} - -/* void addLibraryPath ( const QString & path ) */ -HB_FUNC( QT_QCOREAPPLICATION_ADDLIBRARYPATH ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - { - void * pText; - ( p )->addLibraryPath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString applicationDirPath () */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONDIRPATH ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->applicationDirPath().toUtf8().data() ); -} - -/* QString applicationFilePath () */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONFILEPATH ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->applicationFilePath().toUtf8().data() ); -} - -/* QString applicationName () */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONNAME ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->applicationName().toUtf8().data() ); -} - -/* qint64 applicationPid () */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONPID ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retnint( ( p )->applicationPid() ); -} - -/* QString applicationVersion () */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONVERSION ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->applicationVersion().toUtf8().data() ); -} - -/* QStringList arguments () */ -HB_FUNC( QT_QCOREAPPLICATION_ARGUMENTS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->arguments() ), true ) ); -} - -/* bool closingDown () */ -HB_FUNC( QT_QCOREAPPLICATION_CLOSINGDOWN ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retl( ( p )->closingDown() ); -} - -/* int exec () */ -HB_FUNC( QT_QCOREAPPLICATION_EXEC ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retni( ( p )->exec() ); -} - -/* void exit ( int returnCode = 0 ) */ -HB_FUNC( QT_QCOREAPPLICATION_EXIT ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->exit( hb_parni( 2 ) ); -} - -/* void flush () */ -HB_FUNC( QT_QCOREAPPLICATION_FLUSH ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->flush(); -} - -/* bool hasPendingEvents () */ -HB_FUNC( QT_QCOREAPPLICATION_HASPENDINGEVENTS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retl( ( p )->hasPendingEvents() ); -} - -/* void installTranslator ( QTranslator * translationFile ) */ -HB_FUNC( QT_QCOREAPPLICATION_INSTALLTRANSLATOR ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->installTranslator( hbqt_par_QTranslator( 2 ) ); -} - -/* QCoreApplication * instance () */ -HB_FUNC( QT_QCOREAPPLICATION_INSTANCE ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCoreApplication( ( p )->instance(), false ) ); -} - -/* QStringList libraryPaths () */ -HB_FUNC( QT_QCOREAPPLICATION_LIBRARYPATHS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->libraryPaths() ), true ) ); -} - -/* QString organizationDomain () */ -HB_FUNC( QT_QCOREAPPLICATION_ORGANIZATIONDOMAIN ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->organizationDomain().toUtf8().data() ); -} - -/* QString organizationName () */ -HB_FUNC( QT_QCOREAPPLICATION_ORGANIZATIONNAME ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->organizationName().toUtf8().data() ); -} - -/* void postEvent ( QObject * receiver, QEvent * event ) */ -HB_FUNC( QT_QCOREAPPLICATION_POSTEVENT ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->postEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ); -} - -/* void postEvent ( QObject * receiver, QEvent * event, int priority ) */ -HB_FUNC( QT_QCOREAPPLICATION_POSTEVENT_1 ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->postEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ), hb_parni( 4 ) ); -} - -/* void processEvents ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents ) */ -HB_FUNC( QT_QCOREAPPLICATION_PROCESSEVENTS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->processEvents( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) ); -} - -/* void processEvents ( QEventLoop::ProcessEventsFlags flags, int maxtime ) */ -HB_FUNC( QT_QCOREAPPLICATION_PROCESSEVENTS_1 ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->processEvents( ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void removeLibraryPath ( const QString & path ) */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVELIBRARYPATH ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - { - void * pText; - ( p )->removeLibraryPath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void removePostedEvents ( QObject * receiver ) */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVEPOSTEDEVENTS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->removePostedEvents( hbqt_par_QObject( 2 ) ); -} - -/* void removePostedEvents ( QObject * receiver, int eventType ) */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVEPOSTEDEVENTS_1 ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->removePostedEvents( hbqt_par_QObject( 2 ), hb_parni( 3 ) ); -} - -/* void removeTranslator ( QTranslator * translationFile ) */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVETRANSLATOR ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->removeTranslator( hbqt_par_QTranslator( 2 ) ); -} - -/* bool sendEvent ( QObject * receiver, QEvent * event ) */ -HB_FUNC( QT_QCOREAPPLICATION_SENDEVENT ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retl( ( p )->sendEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) ); -} - -/* void sendPostedEvents ( QObject * receiver, int event_type ) */ -HB_FUNC( QT_QCOREAPPLICATION_SENDPOSTEDEVENTS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->sendPostedEvents( hbqt_par_QObject( 2 ), hb_parni( 3 ) ); -} - -/* void sendPostedEvents () */ -HB_FUNC( QT_QCOREAPPLICATION_SENDPOSTEDEVENTS_1 ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->sendPostedEvents(); -} - -/* void setApplicationName ( const QString & application ) */ -HB_FUNC( QT_QCOREAPPLICATION_SETAPPLICATIONNAME ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - { - void * pText; - ( p )->setApplicationName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setApplicationVersion ( const QString & version ) */ -HB_FUNC( QT_QCOREAPPLICATION_SETAPPLICATIONVERSION ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - { - void * pText; - ( p )->setApplicationVersion( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setAttribute ( Qt::ApplicationAttribute attribute, bool on = true ) */ -HB_FUNC( QT_QCOREAPPLICATION_SETATTRIBUTE ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->setAttribute( ( Qt::ApplicationAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setLibraryPaths ( const QStringList & paths ) */ -HB_FUNC( QT_QCOREAPPLICATION_SETLIBRARYPATHS ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->setLibraryPaths( *hbqt_par_QStringList( 2 ) ); -} - -/* void setOrganizationDomain ( const QString & orgDomain ) */ -HB_FUNC( QT_QCOREAPPLICATION_SETORGANIZATIONDOMAIN ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - { - void * pText; - ( p )->setOrganizationDomain( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setOrganizationName ( const QString & orgName ) */ -HB_FUNC( QT_QCOREAPPLICATION_SETORGANIZATIONNAME ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - { - void * pText; - ( p )->setOrganizationName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* bool startingUp () */ -HB_FUNC( QT_QCOREAPPLICATION_STARTINGUP ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retl( ( p )->startingUp() ); -} - -/* bool testAttribute ( Qt::ApplicationAttribute attribute ) */ -HB_FUNC( QT_QCOREAPPLICATION_TESTATTRIBUTE ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retl( ( p )->testAttribute( ( Qt::ApplicationAttribute ) hb_parni( 2 ) ) ); -} - -/* QString translate ( const char * context, const char * sourceText, const char * disambiguation, Encoding encoding, int n ) */ -HB_FUNC( QT_QCOREAPPLICATION_TRANSLATE ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->translate( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), ( const char * ) hb_parc( 4 ), ( QCoreApplication::Encoding ) hb_parni( 5 ), hb_parni( 6 ) ).toUtf8().data() ); -} - -/* QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0, Encoding encoding = CodecForTr ) */ -HB_FUNC( QT_QCOREAPPLICATION_TRANSLATE_1 ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->translate( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), ( const char * ) hb_parc( 4 ), ( HB_ISNUM( 5 ) ? ( QCoreApplication::Encoding ) hb_parni( 5 ) : ( QCoreApplication::Encoding ) QCoreApplication::CodecForTr ) ).toUtf8().data() ); -} - -/* void quit () */ -HB_FUNC( QT_QCOREAPPLICATION_QUIT ) -{ - QCoreApplication * p = hbqt_par_QCoreApplication( 1 ); - if( p ) - ( p )->quit(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp b/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp deleted file mode 100644 index bbcc15e1fb..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QDataStream.cpp +++ /dev/null @@ -1,199 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ByteOrder { BigEndian, LittleEndian } - * enum Status { Ok, ReadPastEnd, ReadCorruptData } - * enum Version { Qt_1_0, Qt_2_0, Qt_2_1, Qt_3_0, ..., Qt_4_5 } - */ - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QDataStream & readBytes ( char *& s, uint & l ) - * //QDataStream & writeBytes ( const char * s, uint len ) - */ - -#include - -#include - - -/* QDataStream () - * QDataStream ( QIODevice * d ) - * QDataStream ( QByteArray * a, QIODevice::OpenMode mode ) - * QDataStream ( const QByteArray & a ) - * virtual ~QDataStream () - */ - -typedef struct -{ - QDataStream * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDataStream; - -HBQT_GC_FUNC( hbqt_gcRelease_QDataStream ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QDataStream * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDataStream( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDataStream * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDataStream; - p->type = HBQT_TYPE_QDataStream; - - return p; -} - -HB_FUNC( QT_QDATASTREAM ) -{ - QDataStream * pObj = NULL; - - pObj = new QDataStream() ; - - hb_retptrGC( hbqt_gcAllocate_QDataStream( ( void * ) pObj, true ) ); -} - -/* bool atEnd () const */ -HB_FUNC( QT_QDATASTREAM_ATEND ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retl( ( p )->atEnd() ); -} - -/* ByteOrder byteOrder () const */ -HB_FUNC( QT_QDATASTREAM_BYTEORDER ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retni( ( QDataStream::ByteOrder ) ( p )->byteOrder() ); -} - -/* QIODevice * device () const */ -HB_FUNC( QT_QDATASTREAM_DEVICE ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->device(), false ) ); -} - -/* int readRawData ( char * s, int len ) */ -HB_FUNC( QT_QDATASTREAM_READRAWDATA ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retni( ( p )->readRawData( ( char * ) hb_parc( 2 ), hb_parni( 3 ) ) ); -} - -/* void resetStatus () */ -HB_FUNC( QT_QDATASTREAM_RESETSTATUS ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - ( p )->resetStatus(); -} - -/* void setByteOrder ( ByteOrder bo ) */ -HB_FUNC( QT_QDATASTREAM_SETBYTEORDER ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - ( p )->setByteOrder( ( QDataStream::ByteOrder ) hb_parni( 2 ) ); -} - -/* void setDevice ( QIODevice * d ) */ -HB_FUNC( QT_QDATASTREAM_SETDEVICE ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - ( p )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* void setStatus ( Status status ) */ -HB_FUNC( QT_QDATASTREAM_SETSTATUS ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - ( p )->setStatus( ( QDataStream::Status ) hb_parni( 2 ) ); -} - -/* void setVersion ( int v ) */ -HB_FUNC( QT_QDATASTREAM_SETVERSION ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - ( p )->setVersion( hb_parni( 2 ) ); -} - -/* int skipRawData ( int len ) */ -HB_FUNC( QT_QDATASTREAM_SKIPRAWDATA ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retni( ( p )->skipRawData( hb_parni( 2 ) ) ); -} - -/* Status status () const */ -HB_FUNC( QT_QDATASTREAM_STATUS ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retni( ( QDataStream::Status ) ( p )->status() ); -} - -/* int version () const */ -HB_FUNC( QT_QDATASTREAM_VERSION ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retni( ( p )->version() ); -} - -/* int writeRawData ( const char * s, int len ) */ -HB_FUNC( QT_QDATASTREAM_WRITERAWDATA ) -{ - QDataStream * p = hbqt_par_QDataStream( 1 ); - if( p ) - hb_retni( ( p )->writeRawData( ( const char * ) hb_parc( 2 ), hb_parni( 3 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QDate.cpp b/harbour/contrib/hbqt/qtcore/g/QDate.cpp deleted file mode 100644 index 279433f85e..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QDate.cpp +++ /dev/null @@ -1,253 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum MonthNameType { DateFormat, StandaloneFormat } - */ - -/* - * Constructed[ 19/19 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QDate () - * QDate ( int y, int m, int d ) - */ - -typedef struct -{ - QDate * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDate; - -HBQT_GC_FUNC( hbqt_gcRelease_QDate ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QDate * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDate( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDate * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDate; - p->type = HBQT_TYPE_QDate; - - return p; -} - -HB_FUNC( QT_QDATE ) -{ - QDate * pObj = NULL; - - pObj = new QDate() ; - - hb_retptrGC( hbqt_gcAllocate_QDate( ( void * ) pObj, true ) ); -} - -/* QDate addDays ( int ndays ) const */ -HB_FUNC( QT_QDATE_ADDDAYS ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->addDays( hb_parni( 2 ) ) ), true ) ); -} - -/* QDate addMonths ( int nmonths ) const */ -HB_FUNC( QT_QDATE_ADDMONTHS ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->addMonths( hb_parni( 2 ) ) ), true ) ); -} - -/* QDate addYears ( int nyears ) const */ -HB_FUNC( QT_QDATE_ADDYEARS ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->addYears( hb_parni( 2 ) ) ), true ) ); -} - -/* int day () const */ -HB_FUNC( QT_QDATE_DAY ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->day() ); -} - -/* int dayOfWeek () const */ -HB_FUNC( QT_QDATE_DAYOFWEEK ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->dayOfWeek() ); -} - -/* int dayOfYear () const */ -HB_FUNC( QT_QDATE_DAYOFYEAR ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->dayOfYear() ); -} - -/* int daysInMonth () const */ -HB_FUNC( QT_QDATE_DAYSINMONTH ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->daysInMonth() ); -} - -/* int daysInYear () const */ -HB_FUNC( QT_QDATE_DAYSINYEAR ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->daysInYear() ); -} - -/* int daysTo ( const QDate & d ) const */ -HB_FUNC( QT_QDATE_DAYSTO ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->daysTo( *hbqt_par_QDate( 2 ) ) ); -} - -/* void getDate ( int * year, int * month, int * day ) */ -HB_FUNC( QT_QDATE_GETDATE ) -{ - QDate * p = hbqt_par_QDate( 1 ); - int iYear = 0; - int iMonth = 0; - int iDay = 0; - - if( p ) - ( p )->getDate( &iYear, &iMonth, &iDay ); - - hb_storni( iYear, 2 ); - hb_storni( iMonth, 3 ); - hb_storni( iDay, 4 ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QDATE_ISNULL ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QDATE_ISVALID ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int month () const */ -HB_FUNC( QT_QDATE_MONTH ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->month() ); -} - -/* bool setDate ( int year, int month, int day ) */ -HB_FUNC( QT_QDATE_SETDATE ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retl( ( p )->setDate( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ); -} - -/* int toJulianDay () const */ -HB_FUNC( QT_QDATE_TOJULIANDAY ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->toJulianDay() ); -} - -/* QString toString ( const QString & format ) const */ -HB_FUNC( QT_QDATE_TOSTRING ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toString( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString toString ( Qt::DateFormat format = Qt::TextDate ) const */ -HB_FUNC( QT_QDATE_TOSTRING_1 ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( HB_ISNUM( 2 ) ? ( Qt::DateFormat ) hb_parni( 2 ) : ( Qt::DateFormat ) Qt::TextDate ) ).toUtf8().data() ); -} - -/* int weekNumber ( int * yearNumber = 0 ) const */ -HB_FUNC( QT_QDATE_WEEKNUMBER ) -{ - QDate * p = hbqt_par_QDate( 1 ); - int iYearNumber = 0; - - if( p ) - hb_retni( ( p )->weekNumber( &iYearNumber ) ); - - hb_storni( iYearNumber, 2 ); -} - -/* int year () const */ -HB_FUNC( QT_QDATE_YEAR ) -{ - QDate * p = hbqt_par_QDate( 1 ); - if( p ) - hb_retni( ( p )->year() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp b/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp deleted file mode 100644 index 9ddf50f150..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QDateTime.cpp +++ /dev/null @@ -1,305 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDateTime () - * QDateTime ( const QDate & date ) - * QDateTime ( const QDate & date, const QTime & time, Qt::TimeSpec spec = Qt::LocalTime ) - * QDateTime ( const QDateTime & other ) - * ~QDateTime () - */ - -typedef struct -{ - QDateTime * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDateTime; - -HBQT_GC_FUNC( hbqt_gcRelease_QDateTime ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QDateTime * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDateTime( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDateTime * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDateTime; - p->type = HBQT_TYPE_QDateTime; - - return p; -} - -HB_FUNC( QT_QDATETIME ) -{ - QDateTime * pObj = NULL; - - pObj = new QDateTime() ; - - hb_retptrGC( hbqt_gcAllocate_QDateTime( ( void * ) pObj, true ) ); -} - -/* QDateTime addDays ( int ndays ) const */ -HB_FUNC( QT_QDATETIME_ADDDAYS ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->addDays( hb_parni( 2 ) ) ), true ) ); -} - -/* QDateTime addMSecs ( qint64 msecs ) const */ -HB_FUNC( QT_QDATETIME_ADDMSECS ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->addMSecs( hb_parnint( 2 ) ) ), true ) ); -} - -/* QDateTime addMonths ( int nmonths ) const */ -HB_FUNC( QT_QDATETIME_ADDMONTHS ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->addMonths( hb_parni( 2 ) ) ), true ) ); -} - -/* QDateTime addSecs ( int s ) const */ -HB_FUNC( QT_QDATETIME_ADDSECS ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->addSecs( hb_parni( 2 ) ) ), true ) ); -} - -/* QDateTime addYears ( int nyears ) const */ -HB_FUNC( QT_QDATETIME_ADDYEARS ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->addYears( hb_parni( 2 ) ) ), true ) ); -} - -/* QDate date () const */ -HB_FUNC( QT_QDATETIME_DATE ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->date() ), true ) ); -} - -/* int daysTo ( const QDateTime & other ) const */ -HB_FUNC( QT_QDATETIME_DAYSTO ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retni( ( p )->daysTo( *hbqt_par_QDateTime( 2 ) ) ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QDATETIME_ISNULL ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QDATETIME_ISVALID ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int secsTo ( const QDateTime & other ) const */ -HB_FUNC( QT_QDATETIME_SECSTO ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retni( ( p )->secsTo( *hbqt_par_QDateTime( 2 ) ) ); -} - -/* void setDate ( const QDate & date ) */ -HB_FUNC( QT_QDATETIME_SETDATE ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - ( p )->setDate( *hbqt_par_QDate( 2 ) ); -} - -/* void setTime ( const QTime & time ) */ -HB_FUNC( QT_QDATETIME_SETTIME ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - ( p )->setTime( *hbqt_par_QTime( 2 ) ); -} - -/* void setTimeSpec ( Qt::TimeSpec spec ) */ -HB_FUNC( QT_QDATETIME_SETTIMESPEC ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - ( p )->setTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) ); -} - -/* void setTime_t ( uint seconds ) */ -HB_FUNC( QT_QDATETIME_SETTIME_T ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - ( p )->setTime_t( hb_parni( 2 ) ); -} - -/* QTime time () const */ -HB_FUNC( QT_QDATETIME_TIME ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->time() ), true ) ); -} - -/* Qt::TimeSpec timeSpec () const */ -HB_FUNC( QT_QDATETIME_TIMESPEC ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retni( ( Qt::TimeSpec ) ( p )->timeSpec() ); -} - -/* QDateTime toLocalTime () const */ -HB_FUNC( QT_QDATETIME_TOLOCALTIME ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->toLocalTime() ), true ) ); -} - -/* QString toString ( const QString & format ) const */ -HB_FUNC( QT_QDATETIME_TOSTRING ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toString( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString toString ( Qt::DateFormat format = Qt::TextDate ) const */ -HB_FUNC( QT_QDATETIME_TOSTRING_1 ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( HB_ISNUM( 2 ) ? ( Qt::DateFormat ) hb_parni( 2 ) : ( Qt::DateFormat ) Qt::TextDate ) ).toUtf8().data() ); -} - -/* QDateTime toTimeSpec ( Qt::TimeSpec specification ) const */ -HB_FUNC( QT_QDATETIME_TOTIMESPEC ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->toTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) ) ), true ) ); -} - -/* uint toTime_t () const */ -HB_FUNC( QT_QDATETIME_TOTIME_T ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retni( ( p )->toTime_t() ); -} - -/* QDateTime toUTC () const */ -HB_FUNC( QT_QDATETIME_TOUTC ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->toUTC() ), true ) ); -} - -/* QDateTime currentDateTime () */ -HB_FUNC( QT_QDATETIME_CURRENTDATETIME ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->currentDateTime() ), true ) ); -} - -/* QDateTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) */ -HB_FUNC( QT_QDATETIME_FROMSTRING ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->fromString( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::DateFormat ) hb_parni( 3 ) : ( Qt::DateFormat ) Qt::TextDate ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QDateTime fromString ( const QString & string, const QString & format ) */ -HB_FUNC( QT_QDATETIME_FROMSTRING_1 ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->fromString( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QDateTime fromTime_t ( uint seconds ) */ -HB_FUNC( QT_QDATETIME_FROMTIME_T ) -{ - QDateTime * p = hbqt_par_QDateTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->fromTime_t( hb_parni( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QDir.cpp b/harbour/contrib/hbqt/qtcore/g/QDir.cpp deleted file mode 100644 index 79816f1078..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QDir.cpp +++ /dev/null @@ -1,613 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Filter { Dirs, AllDirs, Files, Drives, ..., CaseSensitive } - * enum SortFlag { Name, Time, Size, Type, ..., LocaleAware } - * flags Filters - * flags SortFlags - */ - -/* - * Constructed[ 53/53 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QFileInfoList entryInfoList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const - * // QFileInfoList entryInfoList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const - * // QFileInfoList drives () - */ - -#include - -#include - - -/* - * QDir ( const QDir & dir ) - * QDir ( const QString & path = QString() ) - * QDir ( const QString & path, const QString & nameFilter, SortFlags sort = SortFlags( Name | IgnoreCase ), Filters filters = AllEntries ) - * ~QDir () - */ - -typedef struct -{ - QDir * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDir; - -HBQT_GC_FUNC( hbqt_gcRelease_QDir ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QDir * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDir( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDir * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDir; - p->type = HBQT_TYPE_QDir; - - return p; -} - -HB_FUNC( QT_QDIR ) -{ - QDir * pObj = NULL; - - pObj = new QDir( hbqt_par_QString( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDir( ( void * ) pObj, true ) ); -} - -/* QString absoluteFilePath ( const QString & fileName ) const */ -HB_FUNC( QT_QDIR_ABSOLUTEFILEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->absoluteFilePath( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString absolutePath () const */ -HB_FUNC( QT_QDIR_ABSOLUTEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->absolutePath().toUtf8().data() ); -} - -/* QString canonicalPath () const */ -HB_FUNC( QT_QDIR_CANONICALPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->canonicalPath().toUtf8().data() ); -} - -/* bool cd ( const QString & dirName ) */ -HB_FUNC( QT_QDIR_CD ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->cd( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool cdUp () */ -HB_FUNC( QT_QDIR_CDUP ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->cdUp() ); -} - -/* uint count () const */ -HB_FUNC( QT_QDIR_COUNT ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* QString dirName () const */ -HB_FUNC( QT_QDIR_DIRNAME ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->dirName().toUtf8().data() ); -} - -/* QStringList entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const */ -HB_FUNC( QT_QDIR_ENTRYLIST ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->entryList( *hbqt_par_QStringList( 2 ), ( HB_ISNUM( 3 ) ? ( QDir::Filters ) hb_parni( 3 ) : ( QDir::Filters ) QDir::NoFilter ), ( HB_ISNUM( 4 ) ? ( QDir::SortFlags ) hb_parni( 4 ) : ( QDir::SortFlags ) QDir::NoSort ) ) ), true ) ); -} - -/* QStringList entryList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const */ -HB_FUNC( QT_QDIR_ENTRYLIST_1 ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->entryList( ( HB_ISNUM( 2 ) ? ( QDir::Filters ) hb_parni( 2 ) : ( QDir::Filters ) QDir::NoFilter ), ( HB_ISNUM( 3 ) ? ( QDir::SortFlags ) hb_parni( 3 ) : ( QDir::SortFlags ) QDir::NoSort ) ) ), true ) ); -} - -/* bool exists ( const QString & name ) const */ -HB_FUNC( QT_QDIR_EXISTS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->exists( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool exists () const */ -HB_FUNC( QT_QDIR_EXISTS_1 ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->exists() ); -} - -/* QString filePath ( const QString & fileName ) const */ -HB_FUNC( QT_QDIR_FILEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->filePath( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* Filters filter () const */ -HB_FUNC( QT_QDIR_FILTER ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retni( ( QDir::Filters ) ( p )->filter() ); -} - -/* bool isAbsolute () const */ -HB_FUNC( QT_QDIR_ISABSOLUTE ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->isAbsolute() ); -} - -/* bool isReadable () const */ -HB_FUNC( QT_QDIR_ISREADABLE ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->isReadable() ); -} - -/* bool isRelative () const */ -HB_FUNC( QT_QDIR_ISRELATIVE ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->isRelative() ); -} - -/* bool isRoot () const */ -HB_FUNC( QT_QDIR_ISROOT ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->isRoot() ); -} - -/* bool makeAbsolute () */ -HB_FUNC( QT_QDIR_MAKEABSOLUTE ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retl( ( p )->makeAbsolute() ); -} - -/* bool mkdir ( const QString & dirName ) const */ -HB_FUNC( QT_QDIR_MKDIR ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->mkdir( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool mkpath ( const QString & dirPath ) const */ -HB_FUNC( QT_QDIR_MKPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->mkpath( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QStringList nameFilters () const */ -HB_FUNC( QT_QDIR_NAMEFILTERS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->nameFilters() ), true ) ); -} - -/* QString path () const */ -HB_FUNC( QT_QDIR_PATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->path().toUtf8().data() ); -} - -/* void refresh () const */ -HB_FUNC( QT_QDIR_REFRESH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - ( p )->refresh(); -} - -/* QString relativeFilePath ( const QString & fileName ) const */ -HB_FUNC( QT_QDIR_RELATIVEFILEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->relativeFilePath( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* bool remove ( const QString & fileName ) */ -HB_FUNC( QT_QDIR_REMOVE ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->remove( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool rename ( const QString & oldName, const QString & newName ) */ -HB_FUNC( QT_QDIR_RENAME ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->rename( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool rmdir ( const QString & dirName ) const */ -HB_FUNC( QT_QDIR_RMDIR ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->rmdir( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool rmpath ( const QString & dirPath ) const */ -HB_FUNC( QT_QDIR_RMPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->rmpath( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void setFilter ( Filters filters ) */ -HB_FUNC( QT_QDIR_SETFILTER ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - ( p )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* void setNameFilters ( const QStringList & nameFilters ) */ -HB_FUNC( QT_QDIR_SETNAMEFILTERS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - ( p )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* void setPath ( const QString & path ) */ -HB_FUNC( QT_QDIR_SETPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - ( p )->setPath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setSorting ( SortFlags sort ) */ -HB_FUNC( QT_QDIR_SETSORTING ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - ( p )->setSorting( ( QDir::SortFlags ) hb_parni( 2 ) ); -} - -/* SortFlags sorting () const */ -HB_FUNC( QT_QDIR_SORTING ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retni( ( QDir::SortFlags ) ( p )->sorting() ); -} - -/* void addSearchPath ( const QString & prefix, const QString & path ) */ -HB_FUNC( QT_QDIR_ADDSEARCHPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - ( p )->addSearchPath( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString cleanPath ( const QString & path ) */ -HB_FUNC( QT_QDIR_CLEANPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->cleanPath( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QDir current () */ -HB_FUNC( QT_QDIR_CURRENT ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->current() ), true ) ); -} - -/* QString currentPath () */ -HB_FUNC( QT_QDIR_CURRENTPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->currentPath().toUtf8().data() ); -} - -/* QString fromNativeSeparators ( const QString & pathName ) */ -HB_FUNC( QT_QDIR_FROMNATIVESEPARATORS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->fromNativeSeparators( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QDir home () */ -HB_FUNC( QT_QDIR_HOME ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->home() ), true ) ); -} - -/* QString homePath () */ -HB_FUNC( QT_QDIR_HOMEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->homePath().toUtf8().data() ); -} - -/* bool isAbsolutePath ( const QString & path ) */ -HB_FUNC( QT_QDIR_ISABSOLUTEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isAbsolutePath( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isRelativePath ( const QString & path ) */ -HB_FUNC( QT_QDIR_ISRELATIVEPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isRelativePath( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool match ( const QString & filter, const QString & fileName ) */ -HB_FUNC( QT_QDIR_MATCH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->match( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool match ( const QStringList & filters, const QString & fileName ) */ -HB_FUNC( QT_QDIR_MATCH_1 ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->match( *hbqt_par_QStringList( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QDir root () */ -HB_FUNC( QT_QDIR_ROOT ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->root() ), true ) ); -} - -/* QString rootPath () */ -HB_FUNC( QT_QDIR_ROOTPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->rootPath().toUtf8().data() ); -} - -/* QStringList searchPaths ( const QString & prefix ) */ -HB_FUNC( QT_QDIR_SEARCHPATHS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->searchPaths( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QChar separator () */ -HB_FUNC( QT_QDIR_SEPARATOR ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->separator() ), true ) ); -} - -/* bool setCurrent ( const QString & path ) */ -HB_FUNC( QT_QDIR_SETCURRENT ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->setCurrent( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void setSearchPaths ( const QString & prefix, const QStringList & searchPaths ) */ -HB_FUNC( QT_QDIR_SETSEARCHPATHS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - ( p )->setSearchPaths( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ) ); - hb_strfree( pText ); - } -} - -/* QDir temp () */ -HB_FUNC( QT_QDIR_TEMP ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->temp() ), true ) ); -} - -/* QString tempPath () */ -HB_FUNC( QT_QDIR_TEMPPATH ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tempPath().toUtf8().data() ); -} - -/* QString toNativeSeparators ( const QString & pathName ) */ -HB_FUNC( QT_QDIR_TONATIVESEPARATORS ) -{ - QDir * p = hbqt_par_QDir( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toNativeSeparators( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QEvent.cpp b/harbour/contrib/hbqt/qtcore/g/QEvent.cpp deleted file mode 100644 index db6c250844..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QEvent.cpp +++ /dev/null @@ -1,142 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Type { None, AccessibilityDescription, AccessibilityHelp, AccessibilityPrepare, ..., MaxUser } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QEvent ( Type type ) - * ~QEvent () - */ - -typedef struct -{ - QEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QEvent * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QEvent; - p->type = HBQT_TYPE_QEvent; - - return p; -} - -HB_FUNC( QT_QEVENT ) -{ - QEvent * pObj = NULL; - - pObj = new QEvent( ( QEvent::Type ) hb_parni( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QEvent( ( void * ) pObj, true ) ); -} - -/* void accept () */ -HB_FUNC( QT_QEVENT_ACCEPT ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - ( p )->accept(); -} - -/* void ignore () */ -HB_FUNC( QT_QEVENT_IGNORE ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - ( p )->ignore(); -} - -/* bool isAccepted () const */ -HB_FUNC( QT_QEVENT_ISACCEPTED ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - hb_retl( ( p )->isAccepted() ); -} - -/* void setAccepted ( bool accepted ) */ -HB_FUNC( QT_QEVENT_SETACCEPTED ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - ( p )->setAccepted( hb_parl( 2 ) ); -} - -/* bool spontaneous () const */ -HB_FUNC( QT_QEVENT_SPONTANEOUS ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - hb_retl( ( p )->spontaneous() ); -} - -/* Type type () const */ -HB_FUNC( QT_QEVENT_TYPE ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - hb_retni( ( QEvent::Type ) ( p )->type() ); -} - -/* int registerEventType ( int hint = -1 ) */ -HB_FUNC( QT_QEVENT_REGISTEREVENTTYPE ) -{ - QEvent * p = hbqt_par_QEvent( 1 ); - if( p ) - hb_retni( ( p )->registerEventType( hb_parnidef( 2, -1 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp b/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp deleted file mode 100644 index 3f9e37d681..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QEventLoop.cpp +++ /dev/null @@ -1,140 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ProcessEventsFlag { AllEvents, ExcludeUserInputEvents, ExcludeSocketNotifiers, WaitForMoreEvents, DeferredDeletion } - * flags ProcessEventsFlags - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include -#include - -/* - * QEventLoop ( QObject * parent = 0 ) - * ~QEventLoop () - */ - -typedef struct -{ - QPointer< QEventLoop > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QEventLoop; - -HBQT_GC_FUNC( hbqt_gcRelease_QEventLoop ) -{ - HBQT_GC_T_QEventLoop * p = ( HBQT_GC_T_QEventLoop * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QEventLoop * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QEventLoop( void * pObj, bool bNew ) -{ - HBQT_GC_T_QEventLoop * p = ( HBQT_GC_T_QEventLoop * ) hb_gcAllocate( sizeof( HBQT_GC_T_QEventLoop ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QEventLoop >( ( QEventLoop * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QEventLoop; - p->type = HBQT_TYPE_QEventLoop; - - return p; -} - -HB_FUNC( QT_QEVENTLOOP ) -{ - QEventLoop * pObj = NULL; - - pObj = new QEventLoop( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QEventLoop( ( void * ) pObj, true ) ); -} - -/* int exec ( ProcessEventsFlags flags = AllEvents ) */ -HB_FUNC( QT_QEVENTLOOP_EXEC ) -{ - QEventLoop * p = hbqt_par_QEventLoop( 1 ); - if( p ) - hb_retni( ( p )->exec( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) ) ); -} - -/* void exit ( int returnCode = 0 ) */ -HB_FUNC( QT_QEVENTLOOP_EXIT ) -{ - QEventLoop * p = hbqt_par_QEventLoop( 1 ); - if( p ) - ( p )->exit( hb_parni( 2 ) ); -} - -/* bool isRunning () const */ -HB_FUNC( QT_QEVENTLOOP_ISRUNNING ) -{ - QEventLoop * p = hbqt_par_QEventLoop( 1 ); - if( p ) - hb_retl( ( p )->isRunning() ); -} - -/* bool processEvents ( ProcessEventsFlags flags = AllEvents ) */ -HB_FUNC( QT_QEVENTLOOP_PROCESSEVENTS ) -{ - QEventLoop * p = hbqt_par_QEventLoop( 1 ); - if( p ) - hb_retl( ( p )->processEvents( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) ) ); -} - -/* void processEvents ( ProcessEventsFlags flags, int maxTime ) */ -HB_FUNC( QT_QEVENTLOOP_PROCESSEVENTS_1 ) -{ - QEventLoop * p = hbqt_par_QEventLoop( 1 ); - if( p ) - ( p )->processEvents( ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void wakeUp () */ -HB_FUNC( QT_QEVENTLOOP_WAKEUP ) -{ - QEventLoop * p = hbqt_par_QEventLoop( 1 ); - if( p ) - ( p )->wakeUp(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QFile.cpp b/harbour/contrib/hbqt/qtcore/g/QFile.cpp deleted file mode 100644 index 06544cac77..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QFile.cpp +++ /dev/null @@ -1,428 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FileError { NoError, ReadError, WriteError, FatalError, ..., CopyError } - * enum MemoryMapFlags { NoOptions } - * enum Permission { ReadOwner, WriteOwner, ExeOwner, ReadUser, ..., ExeOther } - * flags Permissions - * flags OpenMode - * enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - */ - -/* - * Constructed[ 33/33 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // bool open ( FILE * fh, OpenMode mode ) - * // bool unmap ( uchar * address ) - * //QString decodeName ( const QByteArray & localFileName ) - * // void setDecodingFunction ( DecoderFn function ) - * // void setEncodingFunction ( EncoderFn function ) - */ - -#include - -#include - - -/* QFile ( const QString & name ) - * QFile ( QObject * parent ) - * QFile ( const QString & name, QObject * parent ) - * ~QFile () - */ - -typedef struct -{ - QPointer< QFile > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFile; - -HBQT_GC_FUNC( hbqt_gcRelease_QFile ) -{ - HBQT_GC_T_QFile * p = ( HBQT_GC_T_QFile * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFile * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFile( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFile * p = ( HBQT_GC_T_QFile * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFile ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFile >( ( QFile * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFile; - p->type = HBQT_TYPE_QFile; - - return p; -} - -HB_FUNC( QT_QFILE ) -{ - QFile * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QFile( hbqt_par_QString( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QFile( ( void * ) pObj, true ) ); -} - -/* virtual bool atEnd () const */ -HB_FUNC( QT_QFILE_ATEND ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->atEnd() ); -} - -/* virtual void close () */ -HB_FUNC( QT_QFILE_CLOSE ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - ( p )->close(); -} - -/* bool copy ( const QString & newName ) */ -HB_FUNC( QT_QFILE_COPY ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->copy( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* FileError error () const */ -HB_FUNC( QT_QFILE_ERROR ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retni( ( QFile::FileError ) ( p )->error() ); -} - -/* bool exists () const */ -HB_FUNC( QT_QFILE_EXISTS ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->exists() ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QFILE_FILENAME ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* bool flush () */ -HB_FUNC( QT_QFILE_FLUSH ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->flush() ); -} - -/* int handle () const */ -HB_FUNC( QT_QFILE_HANDLE ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retni( ( p )->handle() ); -} - -/* virtual bool isSequential () const */ -HB_FUNC( QT_QFILE_ISSEQUENTIAL ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->isSequential() ); -} - -/* bool link ( const QString & linkName ) */ -HB_FUNC( QT_QFILE_LINK ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->link( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* uchar * map ( qint64 offset, qint64 size, MemoryMapFlags flags = NoOptions ) */ -HB_FUNC( QT_QFILE_MAP ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retc( ( const char * ) ( p )->map( hb_parnint( 2 ), hb_parnint( 3 ), ( HB_ISNUM( 4 ) ? ( QFile::MemoryMapFlags ) hb_parni( 4 ) : ( QFile::MemoryMapFlags ) QFile::NoOptions ) ) ); -} - -/* virtual bool open ( OpenMode mode ) */ -HB_FUNC( QT_QFILE_OPEN ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->open( ( QFile::OpenMode ) hb_parni( 2 ) ) ); -} - -/* bool open ( int fd, OpenMode mode ) */ -HB_FUNC( QT_QFILE_OPEN_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->open( hb_parni( 2 ), ( QFile::OpenMode ) hb_parni( 3 ) ) ); -} - -/* Permissions permissions () const */ -HB_FUNC( QT_QFILE_PERMISSIONS ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retni( ( QFile::Permissions ) ( p )->permissions() ); -} - -/* bool remove () */ -HB_FUNC( QT_QFILE_REMOVE ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->remove() ); -} - -/* bool rename ( const QString & newName ) */ -HB_FUNC( QT_QFILE_RENAME ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->rename( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool resize ( qint64 sz ) */ -HB_FUNC( QT_QFILE_RESIZE ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->resize( hb_parnint( 2 ) ) ); -} - -/* void setFileName ( const QString & name ) */ -HB_FUNC( QT_QFILE_SETFILENAME ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* bool setPermissions ( Permissions permissions ) */ -HB_FUNC( QT_QFILE_SETPERMISSIONS ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retl( ( p )->setPermissions( ( QFile::Permissions ) hb_parni( 2 ) ) ); -} - -/* virtual qint64 size () const */ -HB_FUNC( QT_QFILE_SIZE ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retnint( ( p )->size() ); -} - -/* QString symLinkTarget () const */ -HB_FUNC( QT_QFILE_SYMLINKTARGET ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retstr_utf8( ( p )->symLinkTarget().toUtf8().data() ); -} - -/* void unsetError () */ -HB_FUNC( QT_QFILE_UNSETERROR ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - ( p )->unsetError(); -} - -/* bool copy ( const QString & fileName, const QString & newName ) */ -HB_FUNC( QT_QFILE_COPY_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->copy( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QString decodeName ( const char * localFileName ) */ -HB_FUNC( QT_QFILE_DECODENAME ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - hb_retstr_utf8( ( p )->decodeName( ( const char * ) hb_parc( 2 ) ).toUtf8().data() ); -} - -/* QByteArray encodeName ( const QString & fileName ) */ -HB_FUNC( QT_QFILE_ENCODENAME ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodeName( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* bool exists ( const QString & fileName ) */ -HB_FUNC( QT_QFILE_EXISTS_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->exists( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool link ( const QString & fileName, const QString & linkName ) */ -HB_FUNC( QT_QFILE_LINK_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->link( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* Permissions permissions ( const QString & fileName ) */ -HB_FUNC( QT_QFILE_PERMISSIONS_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retni( ( QFile::Permissions ) ( p )->permissions( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool remove ( const QString & fileName ) */ -HB_FUNC( QT_QFILE_REMOVE_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->remove( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool rename ( const QString & oldName, const QString & newName ) */ -HB_FUNC( QT_QFILE_RENAME_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->rename( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool resize ( const QString & fileName, qint64 sz ) */ -HB_FUNC( QT_QFILE_RESIZE_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->resize( hb_parstr_utf8( 2, &pText, NULL ), hb_parnint( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool setPermissions ( const QString & fileName, Permissions permissions ) */ -HB_FUNC( QT_QFILE_SETPERMISSIONS_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->setPermissions( hb_parstr_utf8( 2, &pText, NULL ), ( QFile::Permissions ) hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* QString symLinkTarget ( const QString & fileName ) */ -HB_FUNC( QT_QFILE_SYMLINKTARGET_1 ) -{ - QFile * p = hbqt_par_QFile( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->symLinkTarget( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp b/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp deleted file mode 100644 index f06894639f..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QFileInfo.cpp +++ /dev/null @@ -1,451 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags PermissionSpec - */ - -/* - * Constructed[ 44/44 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* QFileInfo () - * QFileInfo ( const QString & file ) - * QFileInfo ( const QFile & file ) - * QFileInfo ( const QDir & dir, const QString & file ) - * QFileInfo ( const QFileInfo & fileinfo ) - * ~QFileInfo () - */ - -typedef struct -{ - QFileInfo * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFileInfo; - -HBQT_GC_FUNC( hbqt_gcRelease_QFileInfo ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFileInfo * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFileInfo( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFileInfo * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFileInfo; - p->type = HBQT_TYPE_QFileInfo; - - return p; -} - -HB_FUNC( QT_QFILEINFO ) -{ - QFileInfo * pObj = NULL; - - pObj = new QFileInfo() ; - - hb_retptrGC( hbqt_gcAllocate_QFileInfo( ( void * ) pObj, true ) ); -} - -/* QDir absoluteDir () const */ -HB_FUNC( QT_QFILEINFO_ABSOLUTEDIR ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->absoluteDir() ), true ) ); -} - -/* QString absoluteFilePath () const */ -HB_FUNC( QT_QFILEINFO_ABSOLUTEFILEPATH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->absoluteFilePath().toUtf8().data() ); -} - -/* QString absolutePath () const */ -HB_FUNC( QT_QFILEINFO_ABSOLUTEPATH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->absolutePath().toUtf8().data() ); -} - -/* QString baseName () const */ -HB_FUNC( QT_QFILEINFO_BASENAME ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->baseName().toUtf8().data() ); -} - -/* QString bundleName () const */ -HB_FUNC( QT_QFILEINFO_BUNDLENAME ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->bundleName().toUtf8().data() ); -} - -/* bool caching () const */ -HB_FUNC( QT_QFILEINFO_CACHING ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->caching() ); -} - -/* QString canonicalFilePath () const */ -HB_FUNC( QT_QFILEINFO_CANONICALFILEPATH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->canonicalFilePath().toUtf8().data() ); -} - -/* QString canonicalPath () const */ -HB_FUNC( QT_QFILEINFO_CANONICALPATH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->canonicalPath().toUtf8().data() ); -} - -/* QString completeBaseName () const */ -HB_FUNC( QT_QFILEINFO_COMPLETEBASENAME ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->completeBaseName().toUtf8().data() ); -} - -/* QString completeSuffix () const */ -HB_FUNC( QT_QFILEINFO_COMPLETESUFFIX ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->completeSuffix().toUtf8().data() ); -} - -/* QDateTime created () const */ -HB_FUNC( QT_QFILEINFO_CREATED ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->created() ), true ) ); -} - -/* QDir dir () const */ -HB_FUNC( QT_QFILEINFO_DIR ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->dir() ), true ) ); -} - -/* bool exists () const */ -HB_FUNC( QT_QFILEINFO_EXISTS ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->exists() ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QFILEINFO_FILENAME ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* QString filePath () const */ -HB_FUNC( QT_QFILEINFO_FILEPATH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->filePath().toUtf8().data() ); -} - -/* QString group () const */ -HB_FUNC( QT_QFILEINFO_GROUP ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->group().toUtf8().data() ); -} - -/* uint groupId () const */ -HB_FUNC( QT_QFILEINFO_GROUPID ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retni( ( p )->groupId() ); -} - -/* bool isAbsolute () const */ -HB_FUNC( QT_QFILEINFO_ISABSOLUTE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isAbsolute() ); -} - -/* bool isBundle () const */ -HB_FUNC( QT_QFILEINFO_ISBUNDLE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isBundle() ); -} - -/* bool isDir () const */ -HB_FUNC( QT_QFILEINFO_ISDIR ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isDir() ); -} - -/* bool isExecutable () const */ -HB_FUNC( QT_QFILEINFO_ISEXECUTABLE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isExecutable() ); -} - -/* bool isFile () const */ -HB_FUNC( QT_QFILEINFO_ISFILE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isFile() ); -} - -/* bool isHidden () const */ -HB_FUNC( QT_QFILEINFO_ISHIDDEN ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isHidden() ); -} - -/* bool isReadable () const */ -HB_FUNC( QT_QFILEINFO_ISREADABLE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isReadable() ); -} - -/* bool isRelative () const */ -HB_FUNC( QT_QFILEINFO_ISRELATIVE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isRelative() ); -} - -/* bool isRoot () const */ -HB_FUNC( QT_QFILEINFO_ISROOT ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isRoot() ); -} - -/* bool isSymLink () const */ -HB_FUNC( QT_QFILEINFO_ISSYMLINK ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isSymLink() ); -} - -/* bool isWritable () const */ -HB_FUNC( QT_QFILEINFO_ISWRITABLE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->isWritable() ); -} - -/* QDateTime lastModified () const */ -HB_FUNC( QT_QFILEINFO_LASTMODIFIED ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->lastModified() ), true ) ); -} - -/* QDateTime lastRead () const */ -HB_FUNC( QT_QFILEINFO_LASTREAD ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->lastRead() ), true ) ); -} - -/* bool makeAbsolute () */ -HB_FUNC( QT_QFILEINFO_MAKEABSOLUTE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->makeAbsolute() ); -} - -/* QString owner () const */ -HB_FUNC( QT_QFILEINFO_OWNER ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->owner().toUtf8().data() ); -} - -/* uint ownerId () const */ -HB_FUNC( QT_QFILEINFO_OWNERID ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retni( ( p )->ownerId() ); -} - -/* QString path () const */ -HB_FUNC( QT_QFILEINFO_PATH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->path().toUtf8().data() ); -} - -/* bool permission ( QFile::Permissions permissions ) const */ -HB_FUNC( QT_QFILEINFO_PERMISSION ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retl( ( p )->permission( ( QFile::Permissions ) hb_parni( 2 ) ) ); -} - -/* QFile::Permissions permissions () const */ -HB_FUNC( QT_QFILEINFO_PERMISSIONS ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retni( ( QFile::Permissions ) ( p )->permissions() ); -} - -/* void refresh () */ -HB_FUNC( QT_QFILEINFO_REFRESH ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - ( p )->refresh(); -} - -/* void setCaching ( bool enable ) */ -HB_FUNC( QT_QFILEINFO_SETCACHING ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - ( p )->setCaching( hb_parl( 2 ) ); -} - -/* void setFile ( const QString & file ) */ -HB_FUNC( QT_QFILEINFO_SETFILE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - { - void * pText; - ( p )->setFile( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFile ( const QFile & file ) */ -HB_FUNC( QT_QFILEINFO_SETFILE_1 ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - ( p )->setFile( *hbqt_par_QFile( 2 ) ); -} - -/* void setFile ( const QDir & dir, const QString & file ) */ -HB_FUNC( QT_QFILEINFO_SETFILE_2 ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - { - void * pText; - ( p )->setFile( *hbqt_par_QDir( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* qint64 size () const */ -HB_FUNC( QT_QFILEINFO_SIZE ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retnint( ( p )->size() ); -} - -/* QString suffix () const */ -HB_FUNC( QT_QFILEINFO_SUFFIX ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->suffix().toUtf8().data() ); -} - -/* QString symLinkTarget () const */ -HB_FUNC( QT_QFILEINFO_SYMLINKTARGET ) -{ - QFileInfo * p = hbqt_par_QFileInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->symLinkTarget().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QGenericArgument.cpp b/harbour/contrib/hbqt/qtcore/g/QGenericArgument.cpp deleted file mode 100644 index d0e2717e81..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QGenericArgument.cpp +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGenericArgument ( const char * name = 0, const void * data = 0 ) - * - */ - -typedef struct -{ - QGenericArgument * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGenericArgument; - -HBQT_GC_FUNC( hbqt_gcRelease_QGenericArgument ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGenericArgument * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGenericArgument( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGenericArgument * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGenericArgument; - p->type = HBQT_TYPE_QGenericArgument; - - return p; -} - -HB_FUNC( QT_QGENERICARGUMENT ) -{ - QGenericArgument * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QGenericArgument( hb_parc( 1 ), 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QGenericArgument( hb_parc( 1 ), hb_parptr( 2 ) ) ; - } - else - { - pObj = new QGenericArgument() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGenericArgument( ( void * ) pObj, true ) ); -} - -/* void * data () const */ -HB_FUNC( QT_QGENERICARGUMENT_DATA ) -{ - QGenericArgument * p = hbqt_par_QGenericArgument( 1 ); - if( p ) - ( p )->data(); -} - -/* const char * name () const */ -HB_FUNC( QT_QGENERICARGUMENT_NAME ) -{ - QGenericArgument * p = hbqt_par_QGenericArgument( 1 ); - if( p ) - hb_retc( ( p )->name() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QGenericReturnArgument.cpp b/harbour/contrib/hbqt/qtcore/g/QGenericReturnArgument.cpp deleted file mode 100644 index 45ac691af8..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QGenericReturnArgument.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QGenericArgument ( const char * name = 0, const void * data = 0 ) - * - */ - -typedef struct -{ - QGenericReturnArgument * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGenericReturnArgument; - -HBQT_GC_FUNC( hbqt_gcRelease_QGenericReturnArgument ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGenericReturnArgument * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGenericReturnArgument( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGenericReturnArgument * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGenericReturnArgument; - p->type = HBQT_TYPE_QGenericReturnArgument; - - return p; -} - -HB_FUNC( QT_QGENERICRETURNARGUMENT ) -{ - QGenericReturnArgument * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QGenericReturnArgument( hb_parc( 1 ), 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QGenericReturnArgument( hb_parc( 1 ), hb_parptr( 2 ) ) ; - } - else - { - pObj = new QGenericReturnArgument() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGenericReturnArgument( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp b/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp deleted file mode 100644 index 5bdf3d1e30..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QIODevice.cpp +++ /dev/null @@ -1,347 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags OpenMode - * enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - */ - -/* - * Constructed[ 33/33 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QIODevice () - * QIODevice ( QObject * parent ) - * ~QIODevice () - */ - -typedef struct -{ - QPointer< QIODevice > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QIODevice; - -HBQT_GC_FUNC( hbqt_gcRelease_QIODevice ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QIODevice( void * pObj, bool bNew ) -{ - HBQT_GC_T_QIODevice * p = ( HBQT_GC_T_QIODevice * ) hb_gcAllocate( sizeof( HBQT_GC_T_QIODevice ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QIODevice >( ( QIODevice * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QIODevice; - p->type = HBQT_TYPE_QIODevice; - - return p; -} - -HB_FUNC( QT_QIODEVICE ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - // __HB_RETPTRGC__( new QIODevice( hbqt_par_QObject( 1 ) ) ); - } -} - -/* virtual bool atEnd () const */ -HB_FUNC( QT_QIODEVICE_ATEND ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->atEnd() ); -} - -/* virtual qint64 bytesAvailable () const */ -HB_FUNC( QT_QIODEVICE_BYTESAVAILABLE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->bytesAvailable() ); -} - -/* virtual qint64 bytesToWrite () const */ -HB_FUNC( QT_QIODEVICE_BYTESTOWRITE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->bytesToWrite() ); -} - -/* virtual bool canReadLine () const */ -HB_FUNC( QT_QIODEVICE_CANREADLINE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->canReadLine() ); -} - -/* virtual void close () */ -HB_FUNC( QT_QIODEVICE_CLOSE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - ( p )->close(); -} - -/* QString errorString () const */ -HB_FUNC( QT_QIODEVICE_ERRORSTRING ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* bool getChar ( char * c ) */ -HB_FUNC( QT_QIODEVICE_GETCHAR ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->getChar( ( char * ) hb_parc( 2 ) ) ); -} - -/* bool isOpen () const */ -HB_FUNC( QT_QIODEVICE_ISOPEN ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->isOpen() ); -} - -/* bool isReadable () const */ -HB_FUNC( QT_QIODEVICE_ISREADABLE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->isReadable() ); -} - -/* virtual bool isSequential () const */ -HB_FUNC( QT_QIODEVICE_ISSEQUENTIAL ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->isSequential() ); -} - -/* bool isTextModeEnabled () const */ -HB_FUNC( QT_QIODEVICE_ISTEXTMODEENABLED ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->isTextModeEnabled() ); -} - -/* bool isWritable () const */ -HB_FUNC( QT_QIODEVICE_ISWRITABLE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->isWritable() ); -} - -/* virtual bool open ( OpenMode mode ) */ -HB_FUNC( QT_QIODEVICE_OPEN ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->open( ( QIODevice::OpenMode ) hb_parni( 2 ) ) ); -} - -/* OpenMode openMode () const */ -HB_FUNC( QT_QIODEVICE_OPENMODE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retni( ( QIODevice::OpenMode ) ( p )->openMode() ); -} - -/* qint64 peek ( char * data, qint64 maxSize ) */ -HB_FUNC( QT_QIODEVICE_PEEK ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->peek( ( char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* QByteArray peek ( qint64 maxSize ) */ -HB_FUNC( QT_QIODEVICE_PEEK_1 ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->peek( hb_parnint( 2 ) ) ), true ) ); -} - -/* virtual qint64 pos () const */ -HB_FUNC( QT_QIODEVICE_POS ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->pos() ); -} - -/* bool putChar ( char c ) */ -HB_FUNC( QT_QIODEVICE_PUTCHAR ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->putChar( ( char ) hb_parni( 2 ) ) ); -} - -/* qint64 read ( char * data, qint64 maxSize ) */ -HB_FUNC( QT_QIODEVICE_READ ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->read( ( char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* QByteArray read ( qint64 maxSize ) */ -HB_FUNC( QT_QIODEVICE_READ_1 ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->read( hb_parnint( 2 ) ) ), true ) ); -} - -/* QByteArray readAll () */ -HB_FUNC( QT_QIODEVICE_READALL ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->readAll() ), true ) ); -} - -/* qint64 readLine ( char * data, qint64 maxSize ) */ -HB_FUNC( QT_QIODEVICE_READLINE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->readLine( ( char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* QByteArray readLine ( qint64 maxSize = 0 ) */ -HB_FUNC( QT_QIODEVICE_READLINE_1 ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->readLine( hb_parnint( 2 ) ) ), true ) ); -} - -/* virtual bool reset () */ -HB_FUNC( QT_QIODEVICE_RESET ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->reset() ); -} - -/* virtual bool seek ( qint64 pos ) */ -HB_FUNC( QT_QIODEVICE_SEEK ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->seek( hb_parnint( 2 ) ) ); -} - -/* void setTextModeEnabled ( bool enabled ) */ -HB_FUNC( QT_QIODEVICE_SETTEXTMODEENABLED ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - ( p )->setTextModeEnabled( hb_parl( 2 ) ); -} - -/* virtual qint64 size () const */ -HB_FUNC( QT_QIODEVICE_SIZE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->size() ); -} - -/* void ungetChar ( char c ) */ -HB_FUNC( QT_QIODEVICE_UNGETCHAR ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - ( p )->ungetChar( ( char ) hb_parni( 2 ) ); -} - -/* virtual bool waitForBytesWritten ( int msecs ) */ -HB_FUNC( QT_QIODEVICE_WAITFORBYTESWRITTEN ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->waitForBytesWritten( hb_parni( 2 ) ) ); -} - -/* virtual bool waitForReadyRead ( int msecs ) */ -HB_FUNC( QT_QIODEVICE_WAITFORREADYREAD ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retl( ( p )->waitForReadyRead( hb_parni( 2 ) ) ); -} - -/* qint64 write ( const char * data, qint64 maxSize ) */ -HB_FUNC( QT_QIODEVICE_WRITE ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->write( ( const char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* qint64 write ( const char * data ) */ -HB_FUNC( QT_QIODEVICE_WRITE_1 ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->write( ( const char * ) hb_parc( 2 ) ) ); -} - -/* qint64 write ( const QByteArray & byteArray ) */ -HB_FUNC( QT_QIODEVICE_WRITE_2 ) -{ - QIODevice * p = hbqt_par_QIODevice( 1 ); - if( p ) - hb_retnint( ( p )->write( *hbqt_par_QByteArray( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp b/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp deleted file mode 100644 index 0427b8cc1f..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QLatin1Char.cpp +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLatin1Char ( char c ) - */ - -typedef struct -{ - QLatin1Char * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLatin1Char; - -HBQT_GC_FUNC( hbqt_gcRelease_QLatin1Char ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QLatin1Char * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLatin1Char( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLatin1Char * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLatin1Char; - p->type = HBQT_TYPE_QLatin1Char; - - return p; -} - -HB_FUNC( QT_QLATIN1CHAR ) -{ - QLatin1Char * pObj = NULL; - - pObj = new QLatin1Char( *hb_parcx( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QLatin1Char( ( void * ) pObj, true ) ); -} - -/* char toLatin1 () const */ -HB_FUNC( QT_QLATIN1CHAR_TOLATIN1 ) -{ - QLatin1Char * p = hbqt_par_QLatin1Char( 1 ); - if( p ) - hb_retni( ( p )->toLatin1() ); -} - -/* ushort unicode () const */ -HB_FUNC( QT_QLATIN1CHAR_UNICODE ) -{ - QLatin1Char * p = hbqt_par_QLatin1Char( 1 ); - if( p ) - hb_retni( ( p )->unicode() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp b/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp deleted file mode 100644 index 4a316a62c1..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QLatin1String.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLatin1String ( const char * str ) - */ - -typedef struct -{ - QLatin1String * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLatin1String; - -HBQT_GC_FUNC( hbqt_gcRelease_QLatin1String ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QLatin1String * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLatin1String( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLatin1String * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLatin1String; - p->type = HBQT_TYPE_QLatin1String; - - return p; -} - -HB_FUNC( QT_QLATIN1STRING ) -{ - QLatin1String * pObj = NULL; - - pObj = new QLatin1String( hb_parcx( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QLatin1String( ( void * ) pObj, true ) ); -} - -/* const char * latin1 () const */ -HB_FUNC( QT_QLATIN1STRING_LATIN1 ) -{ - QLatin1String * p = hbqt_par_QLatin1String( 1 ); - if( p ) - hb_retc( ( p )->latin1() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QLine.cpp b/harbour/contrib/hbqt/qtcore/g/QLine.cpp deleted file mode 100644 index 0b7caeddcc..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QLine.cpp +++ /dev/null @@ -1,235 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 17/17 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLine () - * QLine ( const QPoint & p1, const QPoint & p2 ) - * QLine ( int x1, int y1, int x2, int y2 ) - * QLine ( const QLine & other ) - */ - -typedef struct -{ - QLine * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLine; - -HBQT_GC_FUNC( hbqt_gcRelease_QLine ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QLine * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLine( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLine * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLine; - p->type = HBQT_TYPE_QLine; - - return p; -} - -HB_FUNC( QT_QLINE ) -{ - QLine * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QLine( *hbqt_par_QLine( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QLine( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QLine( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ; - } - else - { - pObj = new QLine() ; - } - - hb_retptrGC( hbqt_gcAllocate_QLine( ( void * ) pObj, true ) ); -} - -/* QPoint p1 () const */ -HB_FUNC( QT_QLINE_P1 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->p1() ), true ) ); -} - -/* QPoint p2 () const */ -HB_FUNC( QT_QLINE_P2 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->p2() ), true ) ); -} - -/* int x1 () const */ -HB_FUNC( QT_QLINE_X1 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retni( ( p )->x1() ); -} - -/* int x2 () const */ -HB_FUNC( QT_QLINE_X2 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retni( ( p )->x2() ); -} - -/* int y1 () const */ -HB_FUNC( QT_QLINE_Y1 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retni( ( p )->y1() ); -} - -/* int y2 () const */ -HB_FUNC( QT_QLINE_Y2 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retni( ( p )->y2() ); -} - -/* int dx () const */ -HB_FUNC( QT_QLINE_DX ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retni( ( p )->dx() ); -} - -/* int dy () const */ -HB_FUNC( QT_QLINE_DY ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retni( ( p )->dy() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QLINE_ISNULL ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* void setP1 ( const QPoint & p1 ) */ -HB_FUNC( QT_QLINE_SETP1 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - ( p )->setP1( *hbqt_par_QPoint( 2 ) ); -} - -/* void setP2 ( const QPoint & p2 ) */ -HB_FUNC( QT_QLINE_SETP2 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - ( p )->setP2( *hbqt_par_QPoint( 2 ) ); -} - -/* void setLine ( int x1, int y1, int x2, int y2 ) */ -HB_FUNC( QT_QLINE_SETLINE ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - ( p )->setLine( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setPoints ( const QPoint & p1, const QPoint & p2 ) */ -HB_FUNC( QT_QLINE_SETPOINTS ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - ( p )->setPoints( *hbqt_par_QPoint( 2 ), *hbqt_par_QPoint( 3 ) ); -} - -/* void translate ( const QPoint & offset ) */ -HB_FUNC( QT_QLINE_TRANSLATE ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* void translate ( int dx, int dy ) */ -HB_FUNC( QT_QLINE_TRANSLATE_1 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - ( p )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* QLine translated ( const QPoint & offset ) const */ -HB_FUNC( QT_QLINE_TRANSLATED ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLine( new QLine( ( p )->translated( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QLine translated ( int dx, int dy ) const */ -HB_FUNC( QT_QLINE_TRANSLATED_1 ) -{ - QLine * p = hbqt_par_QLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLine( new QLine( ( p )->translated( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QLineF.cpp b/harbour/contrib/hbqt/qtcore/g/QLineF.cpp deleted file mode 100644 index 0a5eccc368..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QLineF.cpp +++ /dev/null @@ -1,303 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum IntersectType { NoIntersection, UnboundedIntersection, BoundedIntersection } - */ - -/* - * Constructed[ 27/27 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QLineF () - * QLineF ( const QPointF & p1, const QPointF & p2 ) - * QLineF ( qreal x1, qreal y1, qreal x2, qreal y2 ) - * QLineF ( const QLine & line ) - */ - -typedef struct -{ - QLineF * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLineF; - -HBQT_GC_FUNC( hbqt_gcRelease_QLineF ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QLineF * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLineF( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLineF * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLineF; - p->type = HBQT_TYPE_QLineF; - - return p; -} - -HB_FUNC( QT_QLINEF ) -{ - QLineF * pObj = NULL; - - pObj = new QLineF() ; - - hb_retptrGC( hbqt_gcAllocate_QLineF( ( void * ) pObj, true ) ); -} - -/* QPointF p1 () const */ -HB_FUNC( QT_QLINEF_P1 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->p1() ), true ) ); -} - -/* QPointF p2 () const */ -HB_FUNC( QT_QLINEF_P2 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->p2() ), true ) ); -} - -/* qreal x1 () const */ -HB_FUNC( QT_QLINEF_X1 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->x1() ); -} - -/* qreal x2 () const */ -HB_FUNC( QT_QLINEF_X2 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->x2() ); -} - -/* qreal y1 () const */ -HB_FUNC( QT_QLINEF_Y1 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->y1() ); -} - -/* qreal y2 () const */ -HB_FUNC( QT_QLINEF_Y2 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->y2() ); -} - -/* qreal angle () const */ -HB_FUNC( QT_QLINEF_ANGLE ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->angle() ); -} - -/* qreal angleTo ( const QLineF & line ) const */ -HB_FUNC( QT_QLINEF_ANGLETO ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->angleTo( *hbqt_par_QLineF( 2 ) ) ); -} - -/* qreal dx () const */ -HB_FUNC( QT_QLINEF_DX ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->dx() ); -} - -/* qreal dy () const */ -HB_FUNC( QT_QLINEF_DY ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->dy() ); -} - -/* IntersectType intersect ( const QLineF & line, QPointF * intersectionPoint ) const */ -HB_FUNC( QT_QLINEF_INTERSECT ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retni( ( QLineF::IntersectType ) ( p )->intersect( *hbqt_par_QLineF( 2 ), hbqt_par_QPointF( 3 ) ) ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QLINEF_ISNULL ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* qreal length () const */ -HB_FUNC( QT_QLINEF_LENGTH ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retnd( ( p )->length() ); -} - -/* QLineF normalVector () const */ -HB_FUNC( QT_QLINEF_NORMALVECTOR ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->normalVector() ), true ) ); -} - -/* QPointF pointAt ( qreal t ) const */ -HB_FUNC( QT_QLINEF_POINTAT ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pointAt( hb_parnd( 2 ) ) ), true ) ); -} - -/* void setP1 ( const QPointF & p1 ) */ -HB_FUNC( QT_QLINEF_SETP1 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->setP1( *hbqt_par_QPointF( 2 ) ); -} - -/* void setP2 ( const QPointF & p2 ) */ -HB_FUNC( QT_QLINEF_SETP2 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->setP2( *hbqt_par_QPointF( 2 ) ); -} - -/* void setAngle ( qreal angle ) */ -HB_FUNC( QT_QLINEF_SETANGLE ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->setAngle( hb_parnd( 2 ) ); -} - -/* void setLength ( qreal length ) */ -HB_FUNC( QT_QLINEF_SETLENGTH ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->setLength( hb_parnd( 2 ) ); -} - -/* void setLine ( qreal x1, qreal y1, qreal x2, qreal y2 ) */ -HB_FUNC( QT_QLINEF_SETLINE ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->setLine( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setPoints ( const QPointF & p1, const QPointF & p2 ) */ -HB_FUNC( QT_QLINEF_SETPOINTS ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->setPoints( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ) ); -} - -/* QLine toLine () const */ -HB_FUNC( QT_QLINEF_TOLINE ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLine( new QLine( ( p )->toLine() ), true ) ); -} - -/* void translate ( const QPointF & offset ) */ -HB_FUNC( QT_QLINEF_TRANSLATE ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPointF( 2 ) ); -} - -/* void translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QLINEF_TRANSLATE_1 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QLineF translated ( const QPointF & offset ) const */ -HB_FUNC( QT_QLINEF_TRANSLATED ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->translated( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QLineF translated ( qreal dx, qreal dy ) const */ -HB_FUNC( QT_QLINEF_TRANSLATED_1 ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->translated( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QLineF unitVector () const */ -HB_FUNC( QT_QLINEF_UNITVECTOR ) -{ - QLineF * p = hbqt_par_QLineF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->unitVector() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QList.cpp b/harbour/contrib/hbqt/qtcore/g/QList.cpp deleted file mode 100644 index 9789c098cb..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QList.cpp +++ /dev/null @@ -1,396 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 36/40 [ 90.00% ] ] - * - * *** Unconvered Prototypes *** - * - * void append ( const QList & value ) - * QList mid ( int pos, int length = -1 ) const - * QSet toSet () const - * QVector toVector () const - * - * *** Commented out protostypes *** - * - * //T & back () - * //iterator begin () - * //const_iterator begin () const - * //const_iterator constBegin () const - * //const_iterator constEnd () const - * //bool contains ( const T & value ) const - * //iterator end () - * //const_iterator end () const - * //iterator erase ( iterator pos ) - * //iterator erase ( iterator begin, iterator end ) - * //T & first () - * //T & front () - * //iterator insert ( iterator before, const T & value ) - * //T & last () - * //std::list toStdList () const - */ - -#include - -#include - - -/* - * QList () - * QList ( const QList & other ) - * ~QList () - */ - -typedef struct -{ - QList< void * > * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QList; - -HBQT_GC_FUNC( hbqt_gcRelease_QList ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QList< void * > * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QList( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QList< void * > * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QList; - p->type = HBQT_TYPE_QList; - - return p; -} - -HB_FUNC( QT_QLIST ) -{ - QList< void * > * pObj = NULL; - - QList* list = NULL; - pObj = ( QList* ) list ; - - hb_retptrGC( hbqt_gcAllocate_QList( ( void * ) pObj, true ) ); -} - -/* void append ( const T & value ) */ -HB_FUNC( QT_QLIST_APPEND ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->append( hb_param( 2, HB_IT_ANY ) ); -} - -/* const T & at ( int i ) const */ -HB_FUNC( QT_QLIST_AT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->at( hb_parni( 2 ) ) ); -} - -/* const T & back () const */ -HB_FUNC( QT_QLIST_BACK ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->back() ); -} - -/* void clear () */ -HB_FUNC( QT_QLIST_CLEAR ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->clear(); -} - -/* int count ( const T & value ) const */ -HB_FUNC( QT_QLIST_COUNT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->count( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* int count () const */ -HB_FUNC( QT_QLIST_COUNT_1 ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* bool empty () const */ -HB_FUNC( QT_QLIST_EMPTY ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retl( ( p )->empty() ); -} - -/* bool endsWith ( const T & value ) const */ -HB_FUNC( QT_QLIST_ENDSWITH ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retl( ( p )->endsWith( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* const T & first () const */ -HB_FUNC( QT_QLIST_FIRST ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->first() ); -} - -/* const T & front () const */ -HB_FUNC( QT_QLIST_FRONT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->front() ); -} - -/* int indexOf ( const T & value, int from = 0 ) const */ -HB_FUNC( QT_QLIST_INDEXOF ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->indexOf( hb_param( 2, HB_IT_ANY ), hb_parni( 3 ) ) ); -} - -/* void insert ( int i, const T & value ) */ -HB_FUNC( QT_QLIST_INSERT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->insert( hb_parni( 2 ), hb_param( 3, HB_IT_ANY ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QLIST_ISEMPTY ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* const T & last () const */ -HB_FUNC( QT_QLIST_LAST ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->last() ); -} - -/* int lastIndexOf ( const T & value, int from = -1 ) const */ -HB_FUNC( QT_QLIST_LASTINDEXOF ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( hb_param( 2, HB_IT_ANY ), hb_parnidef( 3, -1 ) ) ); -} - -/* int length () const */ -HB_FUNC( QT_QLIST_LENGTH ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* void move ( int from, int to ) */ -HB_FUNC( QT_QLIST_MOVE ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->move( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void pop_back () */ -HB_FUNC( QT_QLIST_POP_BACK ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->pop_back(); -} - -/* void pop_front () */ -HB_FUNC( QT_QLIST_POP_FRONT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->pop_front(); -} - -/* void prepend ( const T & value ) */ -HB_FUNC( QT_QLIST_PREPEND ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->prepend( hb_param( 2, HB_IT_ANY ) ); -} - -/* void push_back ( const T & value ) */ -HB_FUNC( QT_QLIST_PUSH_BACK ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->push_back( hb_param( 2, HB_IT_ANY ) ); -} - -/* void push_front ( const T & value ) */ -HB_FUNC( QT_QLIST_PUSH_FRONT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->push_front( hb_param( 2, HB_IT_ANY ) ); -} - -/* int removeAll ( const T & value ) */ -HB_FUNC( QT_QLIST_REMOVEALL ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->removeAll( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* void removeAt ( int i ) */ -HB_FUNC( QT_QLIST_REMOVEAT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->removeAt( hb_parni( 2 ) ); -} - -/* void removeFirst () */ -HB_FUNC( QT_QLIST_REMOVEFIRST ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->removeFirst(); -} - -/* void removeLast () */ -HB_FUNC( QT_QLIST_REMOVELAST ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->removeLast(); -} - -/* bool removeOne ( const T & value ) */ -HB_FUNC( QT_QLIST_REMOVEONE ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retl( ( p )->removeOne( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* void replace ( int i, const T & value ) */ -HB_FUNC( QT_QLIST_REPLACE ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->replace( hb_parni( 2 ), hb_param( 3, HB_IT_ANY ) ); -} - -/* int size () const */ -HB_FUNC( QT_QLIST_SIZE ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retni( ( p )->size() ); -} - -/* bool startsWith ( const T & value ) const */ -HB_FUNC( QT_QLIST_STARTSWITH ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retl( ( p )->startsWith( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* void swap ( int i, int j ) */ -HB_FUNC( QT_QLIST_SWAP ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - ( p )->swap( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* T takeAt ( int i ) */ -HB_FUNC( QT_QLIST_TAKEAT ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->takeAt( hb_parni( 2 ) ) ); -} - -/* T takeFirst () */ -HB_FUNC( QT_QLIST_TAKEFIRST ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->takeFirst() ); -} - -/* T takeLast () */ -HB_FUNC( QT_QLIST_TAKELAST ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->takeLast() ); -} - -/* T value ( int i ) const */ -HB_FUNC( QT_QLIST_VALUE ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->value( hb_parni( 2 ) ) ); -} - -/* T value ( int i, const T & defaultValue ) const */ -HB_FUNC( QT_QLIST_VALUE_1 ) -{ - QList< void *> * p = hbqt_par_QList( 1 ); - if( p ) - hb_retptr( ( p )->value( hb_parni( 2 ), hb_param( 3, HB_IT_ANY ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QLocale.cpp b/harbour/contrib/hbqt/qtcore/g/QLocale.cpp deleted file mode 100644 index 414e8419cd..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QLocale.cpp +++ /dev/null @@ -1,636 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Country { AnyCountry, Afghanistan, Albania, Algeria, ..., Zimbabwe } - * enum FormatType { LongFormat, ShortFormat, NarrowFormat } - * enum Language { C, Abkhazian, Afan, Afar, ..., Chewa } - * enum MeasurementSystem { MetricSystem, ImperialSystem } - * enum NumberOption { OmitGroupSeparator, RejectGroupSeparator } - * flags NumberOptions - */ - -/* - * Constructed[ 55/55 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QList countriesForLanguage ( Language language ) - */ - -#include - -#include -#include - -/* QLocale () - * QLocale ( const QString & name ) - * QLocale ( QLocale::Language language, QLocale::Country country = AnyCountry ) - * QLocale ( const QLocale & other ) - */ - -typedef struct -{ - QLocale * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLocale; - -HBQT_GC_FUNC( hbqt_gcRelease_QLocale ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QLocale * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLocale( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLocale * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLocale; - p->type = HBQT_TYPE_QLocale; - - return p; -} - -HB_FUNC( QT_QLOCALE ) -{ - QLocale * pObj = NULL; - - pObj = new QLocale() ; - - hb_retptrGC( hbqt_gcAllocate_QLocale( ( void * ) pObj, true ) ); -} - -/* QString amText () const */ -HB_FUNC( QT_QLOCALE_AMTEXT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->amText().toUtf8().data() ); -} - -/* Country country () const */ -HB_FUNC( QT_QLOCALE_COUNTRY ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retni( ( QLocale::Country ) ( p )->country() ); -} - -/* QString dateFormat ( FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_DATEFORMAT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->dateFormat( ( HB_ISNUM( 2 ) ? ( QLocale::FormatType ) hb_parni( 2 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString dateTimeFormat ( FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_DATETIMEFORMAT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->dateTimeFormat( ( HB_ISNUM( 2 ) ? ( QLocale::FormatType ) hb_parni( 2 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString dayName ( int day, FormatType type = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_DAYNAME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->dayName( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QChar decimalPoint () const */ -HB_FUNC( QT_QLOCALE_DECIMALPOINT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->decimalPoint() ), true ) ); -} - -/* QChar exponential () const */ -HB_FUNC( QT_QLOCALE_EXPONENTIAL ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->exponential() ), true ) ); -} - -/* QChar groupSeparator () const */ -HB_FUNC( QT_QLOCALE_GROUPSEPARATOR ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->groupSeparator() ), true ) ); -} - -/* Language language () const */ -HB_FUNC( QT_QLOCALE_LANGUAGE ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retni( ( QLocale::Language ) ( p )->language() ); -} - -/* MeasurementSystem measurementSystem () const */ -HB_FUNC( QT_QLOCALE_MEASUREMENTSYSTEM ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retni( ( QLocale::MeasurementSystem ) ( p )->measurementSystem() ); -} - -/* QString monthName ( int month, FormatType type = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_MONTHNAME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->monthName( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString name () const */ -HB_FUNC( QT_QLOCALE_NAME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->name().toUtf8().data() ); -} - -/* QChar negativeSign () const */ -HB_FUNC( QT_QLOCALE_NEGATIVESIGN ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->negativeSign() ), true ) ); -} - -/* NumberOptions numberOptions () const */ -HB_FUNC( QT_QLOCALE_NUMBEROPTIONS ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retni( ( QLocale::NumberOptions ) ( p )->numberOptions() ); -} - -/* QChar percent () const */ -HB_FUNC( QT_QLOCALE_PERCENT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->percent() ), true ) ); -} - -/* QString pmText () const */ -HB_FUNC( QT_QLOCALE_PMTEXT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->pmText().toUtf8().data() ); -} - -/* QChar positiveSign () const */ -HB_FUNC( QT_QLOCALE_POSITIVESIGN ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->positiveSign() ), true ) ); -} - -/* void setNumberOptions ( NumberOptions options ) */ -HB_FUNC( QT_QLOCALE_SETNUMBEROPTIONS ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - ( p )->setNumberOptions( ( QLocale::NumberOptions ) hb_parni( 2 ) ); -} - -/* QString standaloneDayName ( int day, FormatType type = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_STANDALONEDAYNAME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->standaloneDayName( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString standaloneMonthName ( int month, FormatType type = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_STANDALONEMONTHNAME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->standaloneMonthName( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString timeFormat ( FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TIMEFORMAT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->timeFormat( ( HB_ISNUM( 2 ) ? ( QLocale::FormatType ) hb_parni( 2 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QDate toDate ( const QString & string, FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TODATE ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->toDate( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QDate toDate ( const QString & string, const QString & format ) const */ -HB_FUNC( QT_QLOCALE_TODATE_1 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->toDate( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QDateTime toDateTime ( const QString & string, FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TODATETIME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->toDateTime( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QDateTime toDateTime ( const QString & string, const QString & format ) const */ -HB_FUNC( QT_QLOCALE_TODATETIME_1 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->toDateTime( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* double toDouble ( const QString & s, bool * ok = 0 ) const */ -HB_FUNC( QT_QLOCALE_TODOUBLE ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retnd( ( p )->toDouble( hb_parstr_utf8( 2, &pText, NULL ), &iOk ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* float toFloat ( const QString & s, bool * ok = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOFLOAT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retnd( ( p )->toFloat( hb_parstr_utf8( 2, &pText, NULL ), &iOk ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* int toInt ( const QString & s, bool * ok = 0, int base = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOINT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retni( ( p )->toInt( hb_parstr_utf8( 2, &pText, NULL ), &iOk, hb_parni( 4 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* qlonglong toLongLong ( const QString & s, bool * ok = 0, int base = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOLONGLONG ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retnint( ( p )->toLongLong( hb_parstr_utf8( 2, &pText, NULL ), &iOk, hb_parni( 4 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* short toShort ( const QString & s, bool * ok = 0, int base = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOSHORT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retni( ( p )->toShort( hb_parstr_utf8( 2, &pText, NULL ), &iOk, hb_parni( 4 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* QString toString ( qlonglong i ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( qlonglong ) hb_parnint( 2 ) ).toUtf8().data() ); -} - -/* QString toString ( const QDate & date, const QString & format ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_1 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toString( *hbqt_par_QDate( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString toString ( const QDate & date, FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_2 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( *hbqt_par_QDate( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString toString ( const QTime & time, const QString & format ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_3 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toString( *hbqt_par_QTime( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString toString ( const QTime & time, FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_4 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( *hbqt_par_QTime( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString toString ( const QDateTime & dateTime, FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_5 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( *hbqt_par_QDateTime( 2 ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ).toUtf8().data() ); -} - -/* QString toString ( const QDateTime & dateTime, const QString & format ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_6 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toString( *hbqt_par_QDateTime( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString toString ( qulonglong i ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_7 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( qulonglong ) hb_parnint( 2 ) ).toUtf8().data() ); -} - -/* QString toString ( double i, char f = 'g', int prec = 6 ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_8 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ).toUtf8().data() ); -} - -/* QString toString ( short i ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_9 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString toString ( ushort i ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_10 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString toString ( int i ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_11 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString toString ( uint i ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_12 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString toString ( float i, char f = 'g', int prec = 6 ) const */ -HB_FUNC( QT_QLOCALE_TOSTRING_13 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( hb_parnd( 2 ), ( char ) hb_parni( 3 ), hb_parnidef( 4, 6 ) ).toUtf8().data() ); -} - -/* QTime toTime ( const QString & string, FormatType format = LongFormat ) const */ -HB_FUNC( QT_QLOCALE_TOTIME ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->toTime( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QLocale::FormatType ) hb_parni( 3 ) : ( QLocale::FormatType ) QLocale::LongFormat ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTime toTime ( const QString & string, const QString & format ) const */ -HB_FUNC( QT_QLOCALE_TOTIME_1 ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->toTime( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* uint toUInt ( const QString & s, bool * ok = 0, int base = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOUINT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retni( ( p )->toUInt( hb_parstr_utf8( 2, &pText, NULL ), &iOk, hb_parni( 4 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* qlonglong toULongLong ( const QString & s, bool * ok = 0, int base = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOULONGLONG ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retnint( ( p )->toULongLong( hb_parstr_utf8( 2, &pText, NULL ), &iOk, hb_parni( 4 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* ushort toUShort ( const QString & s, bool * ok = 0, int base = 0 ) const */ -HB_FUNC( QT_QLOCALE_TOUSHORT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retni( ( p )->toUShort( hb_parstr_utf8( 2, &pText, NULL ), &iOk, hb_parni( 4 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 3 ); -} - -/* QChar zeroDigit () const */ -HB_FUNC( QT_QLOCALE_ZERODIGIT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->zeroDigit() ), true ) ); -} - -/* QLocale c () */ -HB_FUNC( QT_QLOCALE_C ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->c() ), true ) ); -} - -/* QString countryToString ( Country country ) */ -HB_FUNC( QT_QLOCALE_COUNTRYTOSTRING ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->countryToString( ( QLocale::Country ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString languageToString ( Language language ) */ -HB_FUNC( QT_QLOCALE_LANGUAGETOSTRING ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retstr_utf8( ( p )->languageToString( ( QLocale::Language ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* void setDefault ( const QLocale & locale ) */ -HB_FUNC( QT_QLOCALE_SETDEFAULT ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - ( p )->setDefault( *hbqt_par_QLocale( 2 ) ); -} - -/* QLocale system () */ -HB_FUNC( QT_QLOCALE_SYSTEM ) -{ - QLocale * p = hbqt_par_QLocale( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->system() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMetaClassInfo.cpp b/harbour/contrib/hbqt/qtcore/g/QMetaClassInfo.cpp deleted file mode 100644 index 5f9cf61d98..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMetaClassInfo.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMetaClassInfo () - * - */ - -typedef struct -{ - QMetaClassInfo * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMetaClassInfo; - -HBQT_GC_FUNC( hbqt_gcRelease_QMetaClassInfo ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QMetaClassInfo( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMetaClassInfo * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMetaClassInfo; - p->type = HBQT_TYPE_QMetaClassInfo; - - return p; -} - -HB_FUNC( QT_QMETACLASSINFO ) -{ - // __HB_RETPTRGC__( new QMetaClassInfo() ); -} - -/* const char * name () const */ -HB_FUNC( QT_QMETACLASSINFO_NAME ) -{ - QMetaClassInfo * p = hbqt_par_QMetaClassInfo( 1 ); - if( p ) - hb_retc( ( p )->name() ); -} - -/* const char * value () const */ -HB_FUNC( QT_QMETACLASSINFO_VALUE ) -{ - QMetaClassInfo * p = hbqt_par_QMetaClassInfo( 1 ); - if( p ) - hb_retc( ( p )->value() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMetaEnum.cpp b/harbour/contrib/hbqt/qtcore/g/QMetaEnum.cpp deleted file mode 100644 index 2d204d1815..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMetaEnum.cpp +++ /dev/null @@ -1,162 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 11/11 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMetaEnum () - * - */ - -typedef struct -{ - QMetaEnum * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMetaEnum; - -HBQT_GC_FUNC( hbqt_gcRelease_QMetaEnum ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QMetaEnum( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMetaEnum * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMetaEnum; - p->type = HBQT_TYPE_QMetaEnum; - - return p; -} - -HB_FUNC( QT_QMETAENUM ) -{ - // __HB_RETPTRGC__( new QMetaEnum() ); -} - -/* bool isFlag () const */ -HB_FUNC( QT_QMETAENUM_ISFLAG ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retl( ( p )->isFlag() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QMETAENUM_ISVALID ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* const char * key ( int index ) const */ -HB_FUNC( QT_QMETAENUM_KEY ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retc( ( p )->key( hb_parni( 2 ) ) ); -} - -/* int keyCount () const */ -HB_FUNC( QT_QMETAENUM_KEYCOUNT ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retni( ( p )->keyCount() ); -} - -/* int keyToValue ( const char * key ) const */ -HB_FUNC( QT_QMETAENUM_KEYTOVALUE ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retni( ( p )->keyToValue( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int keysToValue ( const char * keys ) const */ -HB_FUNC( QT_QMETAENUM_KEYSTOVALUE ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retni( ( p )->keysToValue( ( const char * ) hb_parc( 2 ) ) ); -} - -/* const char * name () const */ -HB_FUNC( QT_QMETAENUM_NAME ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retc( ( p )->name() ); -} - -/* const char * scope () const */ -HB_FUNC( QT_QMETAENUM_SCOPE ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retc( ( p )->scope() ); -} - -/* int value ( int index ) const */ -HB_FUNC( QT_QMETAENUM_VALUE ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retni( ( p )->value( hb_parni( 2 ) ) ); -} - -/* const char * valueToKey ( int value ) const */ -HB_FUNC( QT_QMETAENUM_VALUETOKEY ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retc( ( p )->valueToKey( hb_parni( 2 ) ) ); -} - -/* QByteArray valueToKeys ( int value ) const */ -HB_FUNC( QT_QMETAENUM_VALUETOKEYS ) -{ - QMetaEnum * p = hbqt_par_QMetaEnum( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->valueToKeys( hb_parni( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMetaMethod.cpp b/harbour/contrib/hbqt/qtcore/g/QMetaMethod.cpp deleted file mode 100644 index b680c86d99..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMetaMethod.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Access { Private, Protected, Public } - * enum MethodType { Method, Signal, Slot, Constructor } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //bool invoke ( QObject * object, Qt::ConnectionType connectionType, QGenericReturnArgument returnValue, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) const - * //bool invoke ( QObject * object, QGenericReturnArgument returnValue, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) const - * //bool invoke ( QObject * object, Qt::ConnectionType connectionType, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) const - * //bool invoke ( QObject * object, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) const - */ - -#include - -#include - - -/* - * QMetaMethod () - * - */ - -typedef struct -{ - QMetaMethod * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMetaMethod; - -HBQT_GC_FUNC( hbqt_gcRelease_QMetaMethod ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QMetaMethod * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMetaMethod( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMetaMethod * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMetaMethod; - p->type = HBQT_TYPE_QMetaMethod; - - return p; -} - -HB_FUNC( QT_QMETAMETHOD ) -{ - QMetaMethod * pObj = NULL; - - pObj = new QMetaMethod() ; - - hb_retptrGC( hbqt_gcAllocate_QMetaMethod( ( void * ) pObj, true ) ); -} - -/* Access access () const */ -HB_FUNC( QT_QMETAMETHOD_ACCESS ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retni( ( QMetaMethod::Access ) ( p )->access() ); -} - -/* MethodType methodType () const */ -HB_FUNC( QT_QMETAMETHOD_METHODTYPE ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retni( ( QMetaMethod::MethodType ) ( p )->methodType() ); -} - -/* QList parameterNames () const */ -HB_FUNC( QT_QMETAMETHOD_PARAMETERNAMES ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->parameterNames() ), true ) ); -} - -/* QList parameterTypes () const */ -HB_FUNC( QT_QMETAMETHOD_PARAMETERTYPES ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->parameterTypes() ), true ) ); -} - -/* const char * signature () const */ -HB_FUNC( QT_QMETAMETHOD_SIGNATURE ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retc( ( p )->signature() ); -} - -/* const char * tag () const */ -HB_FUNC( QT_QMETAMETHOD_TAG ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retc( ( p )->tag() ); -} - -/* const char * typeName () const */ -HB_FUNC( QT_QMETAMETHOD_TYPENAME ) -{ - QMetaMethod * p = hbqt_par_QMetaMethod( 1 ); - if( p ) - hb_retc( ( p )->typeName() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMetaObject.cpp b/harbour/contrib/hbqt/qtcore/g/QMetaObject.cpp deleted file mode 100644 index 562ac0749d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMetaObject.cpp +++ /dev/null @@ -1,306 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 28/28 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QObject * newInstance ( QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) const - * //bool invokeMethod ( QObject * obj, const char * member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) - * //bool invokeMethod ( QObject * obj, const char * member, QGenericReturnArgument ret, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) - * //bool invokeMethod ( QObject * obj, const char * member, Qt::ConnectionType type, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) - * //bool invokeMethod ( QObject * obj, const char * member, QGenericArgument val0 = QGenericArgument( 0 ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument() ) - */ - -#include - -#include -#include - -/* - * QMetaObject () - * - */ - -typedef struct -{ - QMetaObject * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMetaObject; - -HBQT_GC_FUNC( hbqt_gcRelease_QMetaObject ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QMetaObject( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMetaObject * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMetaObject; - p->type = HBQT_TYPE_QMetaObject; - - return p; -} - -HB_FUNC( QT_QMETAOBJECT ) -{ - // __HB_RETPTRGC__( new QMetaObject() ); -} - -/* QMetaClassInfo classInfo ( int index ) const */ -HB_FUNC( QT_QMETAOBJECT_CLASSINFO ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaClassInfo( new QMetaClassInfo( ( p )->classInfo( hb_parni( 2 ) ) ), true ) ); -} - -/* int classInfoCount () const */ -HB_FUNC( QT_QMETAOBJECT_CLASSINFOCOUNT ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->classInfoCount() ); -} - -/* int classInfoOffset () const */ -HB_FUNC( QT_QMETAOBJECT_CLASSINFOOFFSET ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->classInfoOffset() ); -} - -/* const char * className () const */ -HB_FUNC( QT_QMETAOBJECT_CLASSNAME ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retc( ( p )->className() ); -} - -/* QMetaMethod constructor ( int index ) const */ -HB_FUNC( QT_QMETAOBJECT_CONSTRUCTOR ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaMethod( new QMetaMethod( ( p )->constructor( hb_parni( 2 ) ) ), true ) ); -} - -/* int constructorCount () const */ -HB_FUNC( QT_QMETAOBJECT_CONSTRUCTORCOUNT ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->constructorCount() ); -} - -/* QMetaEnum enumerator ( int index ) const */ -HB_FUNC( QT_QMETAOBJECT_ENUMERATOR ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaEnum( new QMetaEnum( ( p )->enumerator( hb_parni( 2 ) ) ), true ) ); -} - -/* int enumeratorCount () const */ -HB_FUNC( QT_QMETAOBJECT_ENUMERATORCOUNT ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->enumeratorCount() ); -} - -/* int enumeratorOffset () const */ -HB_FUNC( QT_QMETAOBJECT_ENUMERATOROFFSET ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->enumeratorOffset() ); -} - -/* int indexOfClassInfo ( const char * name ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFCLASSINFO ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfClassInfo( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int indexOfConstructor ( const char * constructor ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFCONSTRUCTOR ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfConstructor( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int indexOfEnumerator ( const char * name ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFENUMERATOR ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfEnumerator( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int indexOfMethod ( const char * method ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFMETHOD ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfMethod( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int indexOfProperty ( const char * name ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFPROPERTY ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfProperty( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int indexOfSignal ( const char * signal ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFSIGNAL ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfSignal( ( const char * ) hb_parc( 2 ) ) ); -} - -/* int indexOfSlot ( const char * slot ) const */ -HB_FUNC( QT_QMETAOBJECT_INDEXOFSLOT ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->indexOfSlot( ( const char * ) hb_parc( 2 ) ) ); -} - -/* QMetaMethod method ( int index ) const */ -HB_FUNC( QT_QMETAOBJECT_METHOD ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaMethod( new QMetaMethod( ( p )->method( hb_parni( 2 ) ) ), true ) ); -} - -/* int methodCount () const */ -HB_FUNC( QT_QMETAOBJECT_METHODCOUNT ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->methodCount() ); -} - -/* int methodOffset () const */ -HB_FUNC( QT_QMETAOBJECT_METHODOFFSET ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->methodOffset() ); -} - -/* QMetaProperty property ( int index ) const */ -HB_FUNC( QT_QMETAOBJECT_PROPERTY ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaProperty( new QMetaProperty( ( p )->property( hb_parni( 2 ) ) ), true ) ); -} - -/* int propertyCount () const */ -HB_FUNC( QT_QMETAOBJECT_PROPERTYCOUNT ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->propertyCount() ); -} - -/* int propertyOffset () const */ -HB_FUNC( QT_QMETAOBJECT_PROPERTYOFFSET ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retni( ( p )->propertyOffset() ); -} - -/* const QMetaObject * superClass () const */ -HB_FUNC( QT_QMETAOBJECT_SUPERCLASS ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaObject( new QMetaObject( *( ( p )->superClass() ) ), true ) ); -} - -/* QMetaProperty userProperty () const */ -HB_FUNC( QT_QMETAOBJECT_USERPROPERTY ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaProperty( new QMetaProperty( ( p )->userProperty() ), true ) ); -} - -/* bool checkConnectArgs ( const char * signal, const char * method ) */ -HB_FUNC( QT_QMETAOBJECT_CHECKCONNECTARGS ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retl( ( p )->checkConnectArgs( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* void connectSlotsByName ( QObject * object ) */ -HB_FUNC( QT_QMETAOBJECT_CONNECTSLOTSBYNAME ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - ( p )->connectSlotsByName( hbqt_par_QObject( 2 ) ); -} - -/* QByteArray normalizedSignature ( const char * method ) */ -HB_FUNC( QT_QMETAOBJECT_NORMALIZEDSIGNATURE ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->normalizedSignature( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - -/* QByteArray normalizedType ( const char * type ) */ -HB_FUNC( QT_QMETAOBJECT_NORMALIZEDTYPE ) -{ - QMetaObject * p = hbqt_par_QMetaObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->normalizedType( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMetaProperty.cpp b/harbour/contrib/hbqt/qtcore/g/QMetaProperty.cpp deleted file mode 100644 index d0b0427d19..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMetaProperty.cpp +++ /dev/null @@ -1,242 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 21/21 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMetaProperty () - * - */ - -typedef struct -{ - QMetaProperty * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMetaProperty; - -HBQT_GC_FUNC( hbqt_gcRelease_QMetaProperty ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QMetaProperty( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMetaProperty * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMetaProperty; - p->type = HBQT_TYPE_QMetaProperty; - - return p; -} - -HB_FUNC( QT_QMETAPROPERTY ) -{ - // __HB_RETPTRGC__( new QMetaProperty() ); -} - -/* QMetaEnum enumerator () const */ -HB_FUNC( QT_QMETAPROPERTY_ENUMERATOR ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaEnum( new QMetaEnum( ( p )->enumerator() ), true ) ); -} - -/* bool hasNotifySignal () const */ -HB_FUNC( QT_QMETAPROPERTY_HASNOTIFYSIGNAL ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->hasNotifySignal() ); -} - -/* bool isDesignable ( const QObject * object = 0 ) const */ -HB_FUNC( QT_QMETAPROPERTY_ISDESIGNABLE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isDesignable( hbqt_par_QObject( 2 ) ) ); -} - -/* bool isEnumType () const */ -HB_FUNC( QT_QMETAPROPERTY_ISENUMTYPE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isEnumType() ); -} - -/* bool isFlagType () const */ -HB_FUNC( QT_QMETAPROPERTY_ISFLAGTYPE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isFlagType() ); -} - -/* bool isReadable () const */ -HB_FUNC( QT_QMETAPROPERTY_ISREADABLE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isReadable() ); -} - -/* bool isResettable () const */ -HB_FUNC( QT_QMETAPROPERTY_ISRESETTABLE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isResettable() ); -} - -/* bool isScriptable ( const QObject * object = 0 ) const */ -HB_FUNC( QT_QMETAPROPERTY_ISSCRIPTABLE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isScriptable( hbqt_par_QObject( 2 ) ) ); -} - -/* bool isStored ( const QObject * object = 0 ) const */ -HB_FUNC( QT_QMETAPROPERTY_ISSTORED ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isStored( hbqt_par_QObject( 2 ) ) ); -} - -/* bool isUser ( const QObject * object = 0 ) const */ -HB_FUNC( QT_QMETAPROPERTY_ISUSER ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isUser( hbqt_par_QObject( 2 ) ) ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QMETAPROPERTY_ISVALID ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* bool isWritable () const */ -HB_FUNC( QT_QMETAPROPERTY_ISWRITABLE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->isWritable() ); -} - -/* const char * name () const */ -HB_FUNC( QT_QMETAPROPERTY_NAME ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retc( ( p )->name() ); -} - -/* QMetaMethod notifySignal () const */ -HB_FUNC( QT_QMETAPROPERTY_NOTIFYSIGNAL ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMetaMethod( new QMetaMethod( ( p )->notifySignal() ), true ) ); -} - -/* int notifySignalIndex () const */ -HB_FUNC( QT_QMETAPROPERTY_NOTIFYSIGNALINDEX ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retni( ( p )->notifySignalIndex() ); -} - -/* QVariant read ( const QObject * object ) const */ -HB_FUNC( QT_QMETAPROPERTY_READ ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->read( hbqt_par_QObject( 2 ) ) ), true ) ); -} - -/* bool reset ( QObject * object ) const */ -HB_FUNC( QT_QMETAPROPERTY_RESET ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->reset( hbqt_par_QObject( 2 ) ) ); -} - -/* QVariant::Type type () const */ -HB_FUNC( QT_QMETAPROPERTY_TYPE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retni( ( QVariant::Type ) ( p )->type() ); -} - -/* const char * typeName () const */ -HB_FUNC( QT_QMETAPROPERTY_TYPENAME ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retc( ( p )->typeName() ); -} - -/* int userType () const */ -HB_FUNC( QT_QMETAPROPERTY_USERTYPE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retni( ( p )->userType() ); -} - -/* bool write ( QObject * object, const QVariant & value ) const */ -HB_FUNC( QT_QMETAPROPERTY_WRITE ) -{ - QMetaProperty * p = hbqt_par_QMetaProperty( 1 ); - if( p ) - hb_retl( ( p )->write( hbqt_par_QObject( 2 ), *hbqt_par_QVariant( 3 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMetaType.cpp b/harbour/contrib/hbqt/qtcore/g/QMetaType.cpp deleted file mode 100644 index 794a7b0d23..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMetaType.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Type { Void, Bool, Int, UInt, ..., User } - */ - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //void * construct ( int type, const void * copy = 0 ) - * //void destroy ( int type, void * data ) - * //bool load ( QDataStream & stream, int type, void * data ) - * //bool save ( QDataStream & stream, int type, const void * data ) - */ - -#include - -#include - - -/* - * QMetaType () - * - */ - -typedef struct -{ - QMetaType * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMetaType; - -HBQT_GC_FUNC( hbqt_gcRelease_QMetaType ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QMetaType( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMetaType * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMetaType; - p->type = HBQT_TYPE_QMetaType; - - return p; -} - -HB_FUNC( QT_QMETATYPE ) -{ - // __HB_RETPTRGC__( new QMetaType() ); -} - -/* bool isRegistered ( int type ) */ -HB_FUNC( QT_QMETATYPE_ISREGISTERED ) -{ - QMetaType * p = hbqt_par_QMetaType( 1 ); - if( p ) - hb_retl( ( p )->isRegistered( hb_parni( 2 ) ) ); -} - -/* int type ( const char * typeName ) */ -HB_FUNC( QT_QMETATYPE_TYPE ) -{ - QMetaType * p = hbqt_par_QMetaType( 1 ); - if( p ) - hb_retni( ( p )->type( ( const char * ) hb_parc( 2 ) ) ); -} - -/* const char * typeName ( int type ) */ -HB_FUNC( QT_QMETATYPE_TYPENAME ) -{ - QMetaType * p = hbqt_par_QMetaType( 1 ); - if( p ) - hb_retc( ( p )->typeName( hb_parni( 2 ) ) ); -} - -/* void unregisterType ( const char * typeName ) */ -HB_FUNC( QT_QMETATYPE_UNREGISTERTYPE ) -{ - QMetaType * p = hbqt_par_QMetaType( 1 ); - if( p ) - ( p )->unregisterType( ( const char * ) hb_parc( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp b/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp deleted file mode 100644 index f579308557..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QMimeData.cpp +++ /dev/null @@ -1,289 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 21/22 [ 95.45% ] ] - * - * *** Unconvered Prototypes *** - * - * void setUrls ( const QList & urls ) - */ - -#include - -#include -#include -#include - -/* QMimeData () - * ~QMimeData () - */ - -typedef struct -{ - QPointer< QMimeData > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMimeData; - -HBQT_GC_FUNC( hbqt_gcRelease_QMimeData ) -{ - HBQT_GC_T_QMimeData * p = ( HBQT_GC_T_QMimeData * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMimeData * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMimeData( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMimeData * p = ( HBQT_GC_T_QMimeData * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMimeData ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMimeData >( ( QMimeData * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMimeData; - p->type = HBQT_TYPE_QMimeData; - - return p; -} - -HB_FUNC( QT_QMIMEDATA ) -{ - QMimeData * pObj = NULL; - - pObj = new QMimeData() ; - - hb_retptrGC( hbqt_gcAllocate_QMimeData( ( void * ) pObj, true ) ); -} - -/* void clear () */ -HB_FUNC( QT_QMIMEDATA_CLEAR ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - ( p )->clear(); -} - -/* QVariant colorData () const */ -HB_FUNC( QT_QMIMEDATA_COLORDATA ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->colorData() ), true ) ); -} - -/* QByteArray data ( const QString & mimeType ) const */ -HB_FUNC( QT_QMIMEDATA_DATA ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->data( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* virtual QStringList formats () const */ -HB_FUNC( QT_QMIMEDATA_FORMATS ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->formats() ), true ) ); -} - -/* bool hasColor () const */ -HB_FUNC( QT_QMIMEDATA_HASCOLOR ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retl( ( p )->hasColor() ); -} - -/* virtual bool hasFormat ( const QString & mimeType ) const */ -HB_FUNC( QT_QMIMEDATA_HASFORMAT ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->hasFormat( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool hasHtml () const */ -HB_FUNC( QT_QMIMEDATA_HASHTML ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retl( ( p )->hasHtml() ); -} - -/* bool hasImage () const */ -HB_FUNC( QT_QMIMEDATA_HASIMAGE ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retl( ( p )->hasImage() ); -} - -/* bool hasText () const */ -HB_FUNC( QT_QMIMEDATA_HASTEXT ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retl( ( p )->hasText() ); -} - -/* bool hasUrls () const */ -HB_FUNC( QT_QMIMEDATA_HASURLS ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retl( ( p )->hasUrls() ); -} - -/* QString html () const */ -HB_FUNC( QT_QMIMEDATA_HTML ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retstr_utf8( ( p )->html().toUtf8().data() ); -} - -/* QVariant imageData () const */ -HB_FUNC( QT_QMIMEDATA_IMAGEDATA ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->imageData() ), true ) ); -} - -/* void removeFormat ( const QString & mimeType ) */ -HB_FUNC( QT_QMIMEDATA_REMOVEFORMAT ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - void * pText; - ( p )->removeFormat( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setColorData ( const QVariant & color ) */ -HB_FUNC( QT_QMIMEDATA_SETCOLORDATA ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - ( p )->setColorData( *hbqt_par_QVariant( 2 ) ); -} - -/* void setData ( const QString & mimeType, const QByteArray & data ) */ -HB_FUNC( QT_QMIMEDATA_SETDATA ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - void * pText; - ( p )->setData( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QByteArray( 3 ) ); - hb_strfree( pText ); - } -} - -/* void setHtml ( const QString & html ) */ -HB_FUNC( QT_QMIMEDATA_SETHTML ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - void * pText; - ( p )->setHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setImageData ( const QVariant & image ) */ -HB_FUNC( QT_QMIMEDATA_SETIMAGEDATA ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - ( p )->setImageData( *hbqt_par_QVariant( 2 ) ); -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QMIMEDATA_SETTEXT ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString text () const */ -HB_FUNC( QT_QMIMEDATA_TEXT ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* QList urls () const */ -HB_FUNC( QT_QMIMEDATA_URLS ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->urls() ), true ) ); -} - -/* QStringList * hbUrlList() const */ -HB_FUNC( QT_QMIMEDATA_HBURLLIST ) -{ - QMimeData * p = hbqt_par_QMimeData( 1 ); - if( p ) - { - QStringList strList; - foreach ( QUrl url, ( p )->urls() ) - { - strList << ( QString ) url.toString().toAscii().data(); - } - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( strList ), true ) ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp b/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp deleted file mode 100644 index 694d5ca63d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QModelIndex.cpp +++ /dev/null @@ -1,171 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 11/11 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QModelIndex () - * QModelIndex ( const QModelIndex & other ) - * ~QModelIndex () - */ - -typedef struct -{ - QModelIndex * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QModelIndex; - -HBQT_GC_FUNC( hbqt_gcRelease_QModelIndex ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QModelIndex * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QModelIndex( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QModelIndex * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QModelIndex; - p->type = HBQT_TYPE_QModelIndex; - - return p; -} - -HB_FUNC( QT_QMODELINDEX ) -{ - QModelIndex * pObj = NULL; - - pObj = new QModelIndex() ; - - hb_retptrGC( hbqt_gcAllocate_QModelIndex( ( void * ) pObj, true ) ); -} - -/* QModelIndex child ( int row, int column ) const */ -HB_FUNC( QT_QMODELINDEX_CHILD ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->child( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* int column () const */ -HB_FUNC( QT_QMODELINDEX_COLUMN ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retni( ( p )->column() ); -} - -/* QVariant data ( int role = Qt::DisplayRole ) const */ -HB_FUNC( QT_QMODELINDEX_DATA ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( hb_parnidef( 2, Qt::DisplayRole ) ) ), true ) ); -} - -/* Qt::ItemFlags flags () const */ -HB_FUNC( QT_QMODELINDEX_FLAGS ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags() ); -} - -/* qint64 internalId () const */ -HB_FUNC( QT_QMODELINDEX_INTERNALID ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retnint( ( p )->internalId() ); -} - -/* void * internalPointer () const */ -HB_FUNC( QT_QMODELINDEX_INTERNALPOINTER ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - ( p )->internalPointer(); -} - -/* bool isValid () const */ -HB_FUNC( QT_QMODELINDEX_ISVALID ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* const QAbstractItemModel * model () const */ -HB_FUNC( QT_QMODELINDEX_MODEL ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( void * ) ( p )->model(), false ) ); -} - -/* QModelIndex parent () const */ -HB_FUNC( QT_QMODELINDEX_PARENT ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->parent() ), true ) ); -} - -/* int row () const */ -HB_FUNC( QT_QMODELINDEX_ROW ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retni( ( p )->row() ); -} - -/* QModelIndex sibling ( int row, int column ) const */ -HB_FUNC( QT_QMODELINDEX_SIBLING ) -{ - QModelIndex * p = hbqt_par_QModelIndex( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->sibling( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QObject.cpp b/harbour/contrib/hbqt/qtcore/g/QObject.cpp deleted file mode 100644 index e1cee68247..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QObject.cpp +++ /dev/null @@ -1,299 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 24/25 [ 96.00% ] ] - * - * *** Unconvered Prototypes *** - * - * const QMetaObject staticMetaObject - * - * *** Commented out protostypes *** - * - * // const QObjectList & children () const - * // bool connect ( const QObject * sender, const char * signal, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) const - * // bool disconnect ( const char * signal = 0, const QObject * receiver = 0, const char * method = 0 ) - * // bool disconnect ( const QObject * receiver, const char * method = 0 ) - * //T findChild ( const QString & name = QString() ) const - * //QList findChildren ( const QString & name = QString() ) const - * //QList findChildren ( const QRegExp & regExp ) const - * //virtual const QMetaObject * metaObject () const - * // bool connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) - * // bool disconnect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method ) - */ - -#include - -#include -#include - -/* - * QObject ( QObject * parent = 0 ) - * ~QObject () - */ - -typedef struct -{ - QPointer< QObject > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QObject; - -HBQT_GC_FUNC( hbqt_gcRelease_QObject ) -{ - HBQT_GC_T_QObject * p = ( HBQT_GC_T_QObject * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QObject * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QObject( void * pObj, bool bNew ) -{ - HBQT_GC_T_QObject * p = ( HBQT_GC_T_QObject * ) hb_gcAllocate( sizeof( HBQT_GC_T_QObject ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QObject >( ( QObject * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QObject; - p->type = HBQT_TYPE_QObject; - - return p; -} - -HB_FUNC( QT_QOBJECT ) -{ - QObject * pObj = NULL; - - pObj = new QObject( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QObject( ( void * ) pObj, true ) ); -} - -/* bool blockSignals ( bool block ) */ -HB_FUNC( QT_QOBJECT_BLOCKSIGNALS ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->blockSignals( hb_parl( 2 ) ) ); -} - -/* void dumpObjectInfo () */ -HB_FUNC( QT_QOBJECT_DUMPOBJECTINFO ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->dumpObjectInfo(); -} - -/* void dumpObjectTree () */ -HB_FUNC( QT_QOBJECT_DUMPOBJECTTREE ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->dumpObjectTree(); -} - -/* QList dynamicPropertyNames () const */ -HB_FUNC( QT_QOBJECT_DYNAMICPROPERTYNAMES ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->dynamicPropertyNames() ), true ) ); -} - -/* virtual bool event ( QEvent * e ) */ -HB_FUNC( QT_QOBJECT_EVENT ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->event( hbqt_par_QEvent( 2 ) ) ); -} - -/* virtual bool eventFilter ( QObject * watched, QEvent * event ) */ -HB_FUNC( QT_QOBJECT_EVENTFILTER ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->eventFilter( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) ); -} - -/* bool inherits ( const char * className ) const */ -HB_FUNC( QT_QOBJECT_INHERITS ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->inherits( ( const char * ) hb_parc( 2 ) ) ); -} - -/* void installEventFilter ( QObject * filterObj ) */ -HB_FUNC( QT_QOBJECT_INSTALLEVENTFILTER ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->installEventFilter( hbqt_par_QObject( 2 ) ); -} - -/* bool isWidgetType () const */ -HB_FUNC( QT_QOBJECT_ISWIDGETTYPE ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->isWidgetType() ); -} - -/* void killTimer ( int id ) */ -HB_FUNC( QT_QOBJECT_KILLTIMER ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->killTimer( hb_parni( 2 ) ); -} - -/* void moveToThread ( QThread * targetThread ) */ -HB_FUNC( QT_QOBJECT_MOVETOTHREAD ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->moveToThread( hbqt_par_QThread( 2 ) ); -} - -/* QString objectName () const */ -HB_FUNC( QT_QOBJECT_OBJECTNAME ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retstr_utf8( ( p )->objectName().toUtf8().data() ); -} - -/* QObject * parent () const */ -HB_FUNC( QT_QOBJECT_PARENT ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->parent(), false ) ); -} - -/* QVariant property ( const char * name ) const */ -HB_FUNC( QT_QOBJECT_PROPERTY ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->property( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - -/* void removeEventFilter ( QObject * obj ) */ -HB_FUNC( QT_QOBJECT_REMOVEEVENTFILTER ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->removeEventFilter( hbqt_par_QObject( 2 ) ); -} - -/* void setObjectName ( const QString & name ) */ -HB_FUNC( QT_QOBJECT_SETOBJECTNAME ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - { - void * pText; - ( p )->setObjectName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setParent ( QObject * parent ) */ -HB_FUNC( QT_QOBJECT_SETPARENT ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->setParent( hbqt_par_QObject( 2 ) ); -} - -/* bool setProperty ( const char * name, const QVariant & value ) */ -HB_FUNC( QT_QOBJECT_SETPROPERTY ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->setProperty( ( const char * ) hb_parc( 2 ), *hbqt_par_QVariant( 3 ) ) ); -} - -/* bool signalsBlocked () const */ -HB_FUNC( QT_QOBJECT_SIGNALSBLOCKED ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retl( ( p )->signalsBlocked() ); -} - -/* int startTimer ( int interval ) */ -HB_FUNC( QT_QOBJECT_STARTTIMER ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retni( ( p )->startTimer( hb_parni( 2 ) ) ); -} - -/* QThread * thread () const */ -HB_FUNC( QT_QOBJECT_THREAD ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QThread( ( p )->thread(), false ) ); -} - -/* QString tr ( const char * sourceText, const char * disambiguation = 0, int n = -1 ) */ -HB_FUNC( QT_QOBJECT_TR ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tr( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), hb_parnidef( 4, -1 ) ).toUtf8().data() ); -} - -/* QString trUtf8 ( const char * sourceText, const char * disambiguation = 0, int n = -1 ) */ -HB_FUNC( QT_QOBJECT_TRUTF8 ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - hb_retstr_utf8( ( p )->trUtf8( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), hb_parnidef( 4, -1 ) ).toUtf8().data() ); -} - -/* void deleteLater () */ -HB_FUNC( QT_QOBJECT_DELETELATER ) -{ - QObject * p = hbqt_par_QObject( 1 ); - if( p ) - ( p )->deleteLater(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QPoint.cpp b/harbour/contrib/hbqt/qtcore/g/QPoint.cpp deleted file mode 100644 index 155746599c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QPoint.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPoint () - * QPoint ( const QPoint & point ) - * QPoint ( int x, int y ) - * ~QPoint () - */ - -typedef struct -{ - QPoint * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPoint; - -HBQT_GC_FUNC( hbqt_gcRelease_QPoint ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPoint * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPoint( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPoint * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPoint; - p->type = HBQT_TYPE_QPoint; - - return p; -} - -HB_FUNC( QT_QPOINT ) -{ - QPoint * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QPoint( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPoint( *hbqt_par_QPoint( 1 ) ) ; - } - else - { - pObj = new QPoint() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPoint( ( void * ) pObj, true ) ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QPOINT_ISNULL ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* int manhattanLength () const */ -HB_FUNC( QT_QPOINT_MANHATTANLENGTH ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - hb_retni( ( p )->manhattanLength() ); -} - -/* int & rx () */ -HB_FUNC( QT_QPOINT_RX ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - hb_retni( ( p )->rx() ); -} - -/* int & ry () */ -HB_FUNC( QT_QPOINT_RY ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - hb_retni( ( p )->ry() ); -} - -/* void setX ( int x ) */ -HB_FUNC( QT_QPOINT_SETX ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - ( p )->setX( hb_parni( 2 ) ); -} - -/* void setY ( int y ) */ -HB_FUNC( QT_QPOINT_SETY ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - ( p )->setY( hb_parni( 2 ) ); -} - -/* int x () const */ -HB_FUNC( QT_QPOINT_X ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QPOINT_Y ) -{ - QPoint * p = hbqt_par_QPoint( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QPointF.cpp b/harbour/contrib/hbqt/qtcore/g/QPointF.cpp deleted file mode 100644 index 9227044e75..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QPointF.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPointF () - * QPointF ( const QPoint & point ) - * QPointF ( qreal x, qreal y ) - * ~QPointF () - */ - -typedef struct -{ - QPointF * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPointF; - -HBQT_GC_FUNC( hbqt_gcRelease_QPointF ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPointF * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPointF( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPointF * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPointF; - p->type = HBQT_TYPE_QPointF; - - return p; -} - -HB_FUNC( QT_QPOINTF ) -{ - QPointF * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QPointF( ( qreal ) hb_parnd( 1 ), ( qreal ) hb_parnd( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPointF( *hbqt_par_QPoint( 1 ) ) ; - } - else - { - pObj = new QPointF() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPointF( ( void * ) pObj, true ) ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QPOINTF_ISNULL ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* qreal & rx () */ -HB_FUNC( QT_QPOINTF_RX ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - hb_retnd( ( p )->rx() ); -} - -/* qreal & ry () */ -HB_FUNC( QT_QPOINTF_RY ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - hb_retnd( ( p )->ry() ); -} - -/* void setX ( qreal x ) */ -HB_FUNC( QT_QPOINTF_SETX ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - ( p )->setX( hb_parnd( 2 ) ); -} - -/* void setY ( qreal y ) */ -HB_FUNC( QT_QPOINTF_SETY ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - ( p )->setY( hb_parnd( 2 ) ); -} - -/* QPoint toPoint () const */ -HB_FUNC( QT_QPOINTF_TOPOINT ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->toPoint() ), true ) ); -} - -/* qreal x () const */ -HB_FUNC( QT_QPOINTF_X ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - hb_retnd( ( p )->x() ); -} - -/* qreal y () const */ -HB_FUNC( QT_QPOINTF_Y ) -{ - QPointF * p = hbqt_par_QPointF( 1 ); - if( p ) - hb_retnd( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QProcess.cpp b/harbour/contrib/hbqt/qtcore/g/QProcess.cpp deleted file mode 100644 index dc5b8739a3..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QProcess.cpp +++ /dev/null @@ -1,421 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * # FROM QIODevice - * flags OpenMode - * enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - * enum ExitStatus { NormalExit, CrashExit } - * enum ProcessChannel { StandardOutput, StandardError } - * enum ProcessChannelMode { SeparateChannels, MergedChannels, ForwardedChannels } - * enum ProcessError { FailedToStart, Crashed, Timedout, WriteError, ReadError, UnknownError } - * enum ProcessState { NotRunning, Starting, Running } - */ - -/* - * Constructed[ 33/33 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // Q_PID pid () const - */ - -#include - -#include - - -/* - * QProcess ( QObject * parent = 0 ) - * ~QProcess () - */ - -typedef struct -{ - QPointer< QProcess > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QProcess; - -HBQT_GC_FUNC( hbqt_gcRelease_QProcess ) -{ - HBQT_GC_T_QProcess * p = ( HBQT_GC_T_QProcess * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QProcess * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QProcess( void * pObj, bool bNew ) -{ - HBQT_GC_T_QProcess * p = ( HBQT_GC_T_QProcess * ) hb_gcAllocate( sizeof( HBQT_GC_T_QProcess ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QProcess >( ( QProcess * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QProcess; - p->type = HBQT_TYPE_QProcess; - - return p; -} - -HB_FUNC( QT_QPROCESS ) -{ - QProcess * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QProcess( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QProcess() ; - } - - hb_retptrGC( hbqt_gcAllocate_QProcess( ( void * ) pObj, true ) ); -} - -/* virtual void close () */ -HB_FUNC( QT_QPROCESS_CLOSE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->close(); -} - -/* void closeReadChannel ( ProcessChannel channel ) */ -HB_FUNC( QT_QPROCESS_CLOSEREADCHANNEL ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->closeReadChannel( ( QProcess::ProcessChannel ) hb_parni( 2 ) ); -} - -/* void closeWriteChannel () */ -HB_FUNC( QT_QPROCESS_CLOSEWRITECHANNEL ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->closeWriteChannel(); -} - -/* QStringList environment () const */ -HB_FUNC( QT_QPROCESS_ENVIRONMENT ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->environment() ), true ) ); -} - -/* QProcess::ProcessError error () const */ -HB_FUNC( QT_QPROCESS_ERROR ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retni( ( QProcess::ProcessError ) ( p )->error() ); -} - -/* int exitCode () const */ -HB_FUNC( QT_QPROCESS_EXITCODE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retni( ( p )->exitCode() ); -} - -/* QProcess::ExitStatus exitStatus () const */ -HB_FUNC( QT_QPROCESS_EXITSTATUS ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retni( ( QProcess::ExitStatus ) ( p )->exitStatus() ); -} - -/* ProcessChannelMode processChannelMode () const */ -HB_FUNC( QT_QPROCESS_PROCESSCHANNELMODE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retni( ( QProcess::ProcessChannelMode ) ( p )->processChannelMode() ); -} - -/* QByteArray readAllStandardError () */ -HB_FUNC( QT_QPROCESS_READALLSTANDARDERROR ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->readAllStandardError() ), true ) ); -} - -/* QByteArray readAllStandardOutput () */ -HB_FUNC( QT_QPROCESS_READALLSTANDARDOUTPUT ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->readAllStandardOutput() ), true ) ); -} - -/* ProcessChannel readChannel () const */ -HB_FUNC( QT_QPROCESS_READCHANNEL ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retni( ( QProcess::ProcessChannel ) ( p )->readChannel() ); -} - -/* void setEnvironment ( const QStringList & environment ) */ -HB_FUNC( QT_QPROCESS_SETENVIRONMENT ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->setEnvironment( *hbqt_par_QStringList( 2 ) ); -} - -/* void setProcessChannelMode ( ProcessChannelMode mode ) */ -HB_FUNC( QT_QPROCESS_SETPROCESSCHANNELMODE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->setProcessChannelMode( ( QProcess::ProcessChannelMode ) hb_parni( 2 ) ); -} - -/* void setReadChannel ( ProcessChannel channel ) */ -HB_FUNC( QT_QPROCESS_SETREADCHANNEL ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->setReadChannel( ( QProcess::ProcessChannel ) hb_parni( 2 ) ); -} - -/* void setStandardErrorFile ( const QString & fileName, OpenMode mode = Truncate ) */ -HB_FUNC( QT_QPROCESS_SETSTANDARDERRORFILE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - ( p )->setStandardErrorFile( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QProcess::OpenMode ) hb_parni( 3 ) : ( QProcess::OpenMode ) QProcess::Truncate ) ); - hb_strfree( pText ); - } -} - -/* void setStandardInputFile ( const QString & fileName ) */ -HB_FUNC( QT_QPROCESS_SETSTANDARDINPUTFILE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - ( p )->setStandardInputFile( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setStandardOutputFile ( const QString & fileName, OpenMode mode = Truncate ) */ -HB_FUNC( QT_QPROCESS_SETSTANDARDOUTPUTFILE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - ( p )->setStandardOutputFile( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QProcess::OpenMode ) hb_parni( 3 ) : ( QProcess::OpenMode ) QProcess::Truncate ) ); - hb_strfree( pText ); - } -} - -/* void setStandardOutputProcess ( QProcess * destination ) */ -HB_FUNC( QT_QPROCESS_SETSTANDARDOUTPUTPROCESS ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->setStandardOutputProcess( hbqt_par_QProcess( 2 ) ); -} - -/* void setWorkingDirectory ( const QString & dir ) */ -HB_FUNC( QT_QPROCESS_SETWORKINGDIRECTORY ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - ( p )->setWorkingDirectory( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void start ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) */ -HB_FUNC( QT_QPROCESS_START ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - ( p )->start( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ), ( HB_ISNUM( 4 ) ? ( QProcess::OpenMode ) hb_parni( 4 ) : ( QProcess::OpenMode ) QProcess::ReadWrite ) ); - hb_strfree( pText ); - } -} - -/* void start ( const QString & program, OpenMode mode = ReadWrite ) */ -HB_FUNC( QT_QPROCESS_START_1 ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - ( p )->start( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QProcess::OpenMode ) hb_parni( 3 ) : ( QProcess::OpenMode ) QProcess::ReadWrite ) ); - hb_strfree( pText ); - } -} - -/* QProcess::ProcessState state () const */ -HB_FUNC( QT_QPROCESS_STATE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retni( ( QProcess::ProcessState ) ( p )->state() ); -} - -/* bool waitForFinished ( int msecs = 30000 ) */ -HB_FUNC( QT_QPROCESS_WAITFORFINISHED ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retl( ( p )->waitForFinished( hb_parnidef( 2, 30000 ) ) ); -} - -/* bool waitForStarted ( int msecs = 30000 ) */ -HB_FUNC( QT_QPROCESS_WAITFORSTARTED ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retl( ( p )->waitForStarted( hb_parnidef( 2, 30000 ) ) ); -} - -/* QString workingDirectory () const */ -HB_FUNC( QT_QPROCESS_WORKINGDIRECTORY ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retstr_utf8( ( p )->workingDirectory().toUtf8().data() ); -} - -/* int execute ( const QString & program, const QStringList & arguments ) */ -HB_FUNC( QT_QPROCESS_EXECUTE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->execute( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* int execute ( const QString & program ) */ -HB_FUNC( QT_QPROCESS_EXECUTE_1 ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->execute( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 ) */ -HB_FUNC( QT_QPROCESS_STARTDETACHED ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - qint64 iPid = 0; - - if( p ) - { - void * pText; - hb_retl( ( p )->startDetached( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ), hb_parstr_utf8( 4, &pText, NULL ), &iPid ) ); - hb_strfree( pText ); - } - - hb_stornint( iPid, 5 ); -} - -/* bool startDetached ( const QString & program, const QStringList & arguments ) */ -HB_FUNC( QT_QPROCESS_STARTDETACHED_1 ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->startDetached( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool startDetached ( const QString & program ) */ -HB_FUNC( QT_QPROCESS_STARTDETACHED_2 ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->startDetached( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QStringList systemEnvironment () */ -HB_FUNC( QT_QPROCESS_SYSTEMENVIRONMENT ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->systemEnvironment() ), true ) ); -} - -/* void kill () */ -HB_FUNC( QT_QPROCESS_KILL ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->kill(); -} - -/* void terminate () */ -HB_FUNC( QT_QPROCESS_TERMINATE ) -{ - QProcess * p = hbqt_par_QProcess( 1 ); - if( p ) - ( p )->terminate(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QRect.cpp b/harbour/contrib/hbqt/qtcore/g/QRect.cpp deleted file mode 100644 index c8fd14495b..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QRect.cpp +++ /dev/null @@ -1,592 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 59/59 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QRect () - * QRect ( const QPoint & topLeft, const QPoint & bottomRight ) - * QRect ( const QPoint & topLeft, const QSize & size ) - * QRect ( int x, int y, int width, int height ) - * ~QRect () - */ - -typedef struct -{ - QRect * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRect; - -HBQT_GC_FUNC( hbqt_gcRelease_QRect ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QRect * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRect( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QRect * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QRect; - p->type = HBQT_TYPE_QRect; - - return p; -} - -HB_FUNC( QT_QRECT ) -{ - QRect * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QRect( *hbqt_par_QRect( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QRect( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QRect( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ; - } - else - { - pObj = new QRect() ; - } - - hb_retptrGC( hbqt_gcAllocate_QRect( ( void * ) pObj, true ) ); -} - -/* void adjust ( int dx1, int dy1, int dx2, int dy2 ) */ -HB_FUNC( QT_QRECT_ADJUST ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->adjust( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* QRect adjusted ( int dx1, int dy1, int dx2, int dy2 ) const */ -HB_FUNC( QT_QRECT_ADJUSTED ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->adjusted( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ), true ) ); -} - -/* int bottom () const */ -HB_FUNC( QT_QRECT_BOTTOM ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->bottom() ); -} - -/* QPoint bottomLeft () const */ -HB_FUNC( QT_QRECT_BOTTOMLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->bottomLeft() ), true ) ); -} - -/* QPoint bottomRight () const */ -HB_FUNC( QT_QRECT_BOTTOMRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->bottomRight() ), true ) ); -} - -/* QPoint center () const */ -HB_FUNC( QT_QRECT_CENTER ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->center() ), true ) ); -} - -/* bool contains ( const QPoint & point, bool proper = false ) const */ -HB_FUNC( QT_QRECT_CONTAINS ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QPoint( 2 ), hb_parl( 3 ) ) ); -} - -/* bool contains ( int x, int y, bool proper ) const */ -HB_FUNC( QT_QRECT_CONTAINS_1 ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->contains( hb_parni( 2 ), hb_parni( 3 ), hb_parl( 4 ) ) ); -} - -/* bool contains ( int x, int y ) const */ -HB_FUNC( QT_QRECT_CONTAINS_2 ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->contains( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* bool contains ( const QRect & rectangle, bool proper = false ) const */ -HB_FUNC( QT_QRECT_CONTAINS_3 ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QRect( 2 ), hb_parl( 3 ) ) ); -} - -/* void getCoords ( int * x1, int * y1, int * x2, int * y2 ) const */ -HB_FUNC( QT_QRECT_GETCOORDS ) -{ - QRect * p = hbqt_par_QRect( 1 ); - int iX1 = 0; - int iY1 = 0; - int iX2 = 0; - int iY2 = 0; - - if( p ) - ( p )->getCoords( &iX1, &iY1, &iX2, &iY2 ); - - hb_storni( iX1, 2 ); - hb_storni( iY1, 3 ); - hb_storni( iX2, 4 ); - hb_storni( iY2, 5 ); -} - -/* void getRect ( int * x, int * y, int * width, int * height ) const */ -HB_FUNC( QT_QRECT_GETRECT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - int iX = 0; - int iY = 0; - int iWidth = 0; - int iHeight = 0; - - if( p ) - ( p )->getRect( &iX, &iY, &iWidth, &iHeight ); - - hb_storni( iX, 2 ); - hb_storni( iY, 3 ); - hb_storni( iWidth, 4 ); - hb_storni( iHeight, 5 ); -} - -/* int height () const */ -HB_FUNC( QT_QRECT_HEIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* QRect intersected ( const QRect & rectangle ) const */ -HB_FUNC( QT_QRECT_INTERSECTED ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->intersected( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* bool intersects ( const QRect & rectangle ) const */ -HB_FUNC( QT_QRECT_INTERSECTS ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->intersects( *hbqt_par_QRect( 2 ) ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QRECT_ISEMPTY ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QRECT_ISNULL ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QRECT_ISVALID ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int left () const */ -HB_FUNC( QT_QRECT_LEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->left() ); -} - -/* void moveBottom ( int y ) */ -HB_FUNC( QT_QRECT_MOVEBOTTOM ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveBottom( hb_parni( 2 ) ); -} - -/* void moveBottomLeft ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_MOVEBOTTOMLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveBottomLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* void moveBottomRight ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_MOVEBOTTOMRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveBottomRight( *hbqt_par_QPoint( 2 ) ); -} - -/* void moveCenter ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_MOVECENTER ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveCenter( *hbqt_par_QPoint( 2 ) ); -} - -/* void moveLeft ( int x ) */ -HB_FUNC( QT_QRECT_MOVELEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveLeft( hb_parni( 2 ) ); -} - -/* void moveRight ( int x ) */ -HB_FUNC( QT_QRECT_MOVERIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveRight( hb_parni( 2 ) ); -} - -/* void moveTo ( int x, int y ) */ -HB_FUNC( QT_QRECT_MOVETO ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveTo( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void moveTo ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_MOVETO_1 ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveTo( *hbqt_par_QPoint( 2 ) ); -} - -/* void moveTop ( int y ) */ -HB_FUNC( QT_QRECT_MOVETOP ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveTop( hb_parni( 2 ) ); -} - -/* void moveTopLeft ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_MOVETOPLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveTopLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* void moveTopRight ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_MOVETOPRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->moveTopRight( *hbqt_par_QPoint( 2 ) ); -} - -/* QRect normalized () const */ -HB_FUNC( QT_QRECT_NORMALIZED ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->normalized() ), true ) ); -} - -/* int right () const */ -HB_FUNC( QT_QRECT_RIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->right() ); -} - -/* void setBottom ( int y ) */ -HB_FUNC( QT_QRECT_SETBOTTOM ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setBottom( hb_parni( 2 ) ); -} - -/* void setBottomLeft ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_SETBOTTOMLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setBottomLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* void setBottomRight ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_SETBOTTOMRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setBottomRight( *hbqt_par_QPoint( 2 ) ); -} - -/* void setCoords ( int x1, int y1, int x2, int y2 ) */ -HB_FUNC( QT_QRECT_SETCOORDS ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setCoords( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setHeight ( int height ) */ -HB_FUNC( QT_QRECT_SETHEIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setHeight( hb_parni( 2 ) ); -} - -/* void setLeft ( int x ) */ -HB_FUNC( QT_QRECT_SETLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setLeft( hb_parni( 2 ) ); -} - -/* void setRect ( int x, int y, int width, int height ) */ -HB_FUNC( QT_QRECT_SETRECT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setRight ( int x ) */ -HB_FUNC( QT_QRECT_SETRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setRight( hb_parni( 2 ) ); -} - -/* void setSize ( const QSize & size ) */ -HB_FUNC( QT_QRECT_SETSIZE ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setTop ( int y ) */ -HB_FUNC( QT_QRECT_SETTOP ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setTop( hb_parni( 2 ) ); -} - -/* void setTopLeft ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_SETTOPLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setTopLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* void setTopRight ( const QPoint & position ) */ -HB_FUNC( QT_QRECT_SETTOPRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setTopRight( *hbqt_par_QPoint( 2 ) ); -} - -/* void setWidth ( int width ) */ -HB_FUNC( QT_QRECT_SETWIDTH ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setWidth( hb_parni( 2 ) ); -} - -/* void setX ( int x ) */ -HB_FUNC( QT_QRECT_SETX ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setX( hb_parni( 2 ) ); -} - -/* void setY ( int y ) */ -HB_FUNC( QT_QRECT_SETY ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->setY( hb_parni( 2 ) ); -} - -/* QSize size () const */ -HB_FUNC( QT_QRECT_SIZE ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size() ), true ) ); -} - -/* int top () const */ -HB_FUNC( QT_QRECT_TOP ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->top() ); -} - -/* QPoint topLeft () const */ -HB_FUNC( QT_QRECT_TOPLEFT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->topLeft() ), true ) ); -} - -/* QPoint topRight () const */ -HB_FUNC( QT_QRECT_TOPRIGHT ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->topRight() ), true ) ); -} - -/* void translate ( int dx, int dy ) */ -HB_FUNC( QT_QRECT_TRANSLATE ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void translate ( const QPoint & offset ) */ -HB_FUNC( QT_QRECT_TRANSLATE_1 ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* QRect translated ( int dx, int dy ) const */ -HB_FUNC( QT_QRECT_TRANSLATED ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->translated( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* QRect translated ( const QPoint & offset ) const */ -HB_FUNC( QT_QRECT_TRANSLATED_1 ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->translated( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QRect united ( const QRect & rectangle ) const */ -HB_FUNC( QT_QRECT_UNITED ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->united( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* int width () const */ -HB_FUNC( QT_QRECT_WIDTH ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - -/* int x () const */ -HB_FUNC( QT_QRECT_X ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QRECT_Y ) -{ - QRect * p = hbqt_par_QRect( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QRectF.cpp b/harbour/contrib/hbqt/qtcore/g/QRectF.cpp deleted file mode 100644 index 108ffa8a2e..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QRectF.cpp +++ /dev/null @@ -1,601 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 60/60 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QRectF () - * QRectF ( const QPointF & topLeft, const QSizeF & size ) - * QRectF ( const QPointF & topLeft, const QPointF & bottomRight ) - * QRectF ( qreal x, qreal y, qreal width, qreal height ) - * QRectF ( const QRect & rectangle ) - * ~QRectF () - */ - -typedef struct -{ - QRectF * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRectF; - -HBQT_GC_FUNC( hbqt_gcRelease_QRectF ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QRectF * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRectF( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QRectF * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QRectF; - p->type = HBQT_TYPE_QRectF; - - return p; -} - -HB_FUNC( QT_QRECTF ) -{ - QRectF * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QRectF( *hbqt_par_QRectF( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QRectF( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QRectF( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ; - } - else - { - pObj = new QRectF() ; - } - - hb_retptrGC( hbqt_gcAllocate_QRectF( ( void * ) pObj, true ) ); -} - -/* void adjust ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) */ -HB_FUNC( QT_QRECTF_ADJUST ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->adjust( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* QRectF adjusted ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) const */ -HB_FUNC( QT_QRECTF_ADJUSTED ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->adjusted( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* qreal bottom () const */ -HB_FUNC( QT_QRECTF_BOTTOM ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->bottom() ); -} - -/* QPointF bottomLeft () const */ -HB_FUNC( QT_QRECTF_BOTTOMLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->bottomLeft() ), true ) ); -} - -/* QPointF bottomRight () const */ -HB_FUNC( QT_QRECTF_BOTTOMRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->bottomRight() ), true ) ); -} - -/* QPointF center () const */ -HB_FUNC( QT_QRECTF_CENTER ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->center() ), true ) ); -} - -/* bool contains ( const QPointF & point ) const */ -HB_FUNC( QT_QRECTF_CONTAINS ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QPointF( 2 ) ) ); -} - -/* bool contains ( qreal x, qreal y ) const */ -HB_FUNC( QT_QRECTF_CONTAINS_1 ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->contains( hb_parnd( 2 ), hb_parnd( 3 ) ) ); -} - -/* bool contains ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QRECTF_CONTAINS_2 ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QRectF( 2 ) ) ); -} - -/* void getCoords ( qreal * x1, qreal * y1, qreal * x2, qreal * y2 ) const */ -HB_FUNC( QT_QRECTF_GETCOORDS ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - qreal qrX1 = 0; - qreal qrY1 = 0; - qreal qrX2 = 0; - qreal qrY2 = 0; - - if( p ) - ( p )->getCoords( &qrX1, &qrY1, &qrX2, &qrY2 ); - - hb_stornd( qrX1, 2 ); - hb_stornd( qrY1, 3 ); - hb_stornd( qrX2, 4 ); - hb_stornd( qrY2, 5 ); -} - -/* void getRect ( qreal * x, qreal * y, qreal * width, qreal * height ) const */ -HB_FUNC( QT_QRECTF_GETRECT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - qreal qrX = 0; - qreal qrY = 0; - qreal qrWidth = 0; - qreal qrHeight = 0; - - if( p ) - ( p )->getRect( &qrX, &qrY, &qrWidth, &qrHeight ); - - hb_stornd( qrX, 2 ); - hb_stornd( qrY, 3 ); - hb_stornd( qrWidth, 4 ); - hb_stornd( qrHeight, 5 ); -} - -/* qreal height () const */ -HB_FUNC( QT_QRECTF_HEIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* QRectF intersected ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QRECTF_INTERSECTED ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->intersected( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* bool intersects ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QRECTF_INTERSECTS ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->intersects( *hbqt_par_QRectF( 2 ) ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QRECTF_ISEMPTY ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QRECTF_ISNULL ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QRECTF_ISVALID ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* qreal left () const */ -HB_FUNC( QT_QRECTF_LEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->left() ); -} - -/* void moveBottom ( qreal y ) */ -HB_FUNC( QT_QRECTF_MOVEBOTTOM ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveBottom( hb_parnd( 2 ) ); -} - -/* void moveBottomLeft ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_MOVEBOTTOMLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveBottomLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* void moveBottomRight ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_MOVEBOTTOMRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveBottomRight( *hbqt_par_QPointF( 2 ) ); -} - -/* void moveCenter ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_MOVECENTER ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveCenter( *hbqt_par_QPointF( 2 ) ); -} - -/* void moveLeft ( qreal x ) */ -HB_FUNC( QT_QRECTF_MOVELEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveLeft( hb_parnd( 2 ) ); -} - -/* void moveRight ( qreal x ) */ -HB_FUNC( QT_QRECTF_MOVERIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveRight( hb_parnd( 2 ) ); -} - -/* void moveTo ( qreal x, qreal y ) */ -HB_FUNC( QT_QRECTF_MOVETO ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveTo( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void moveTo ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_MOVETO_1 ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveTo( *hbqt_par_QPointF( 2 ) ); -} - -/* void moveTop ( qreal y ) */ -HB_FUNC( QT_QRECTF_MOVETOP ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveTop( hb_parnd( 2 ) ); -} - -/* void moveTopLeft ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_MOVETOPLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveTopLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* void moveTopRight ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_MOVETOPRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->moveTopRight( *hbqt_par_QPointF( 2 ) ); -} - -/* QRectF normalized () const */ -HB_FUNC( QT_QRECTF_NORMALIZED ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->normalized() ), true ) ); -} - -/* qreal right () const */ -HB_FUNC( QT_QRECTF_RIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->right() ); -} - -/* void setBottom ( qreal y ) */ -HB_FUNC( QT_QRECTF_SETBOTTOM ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setBottom( hb_parnd( 2 ) ); -} - -/* void setBottomLeft ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_SETBOTTOMLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setBottomLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* void setBottomRight ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_SETBOTTOMRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setBottomRight( *hbqt_par_QPointF( 2 ) ); -} - -/* void setCoords ( qreal x1, qreal y1, qreal x2, qreal y2 ) */ -HB_FUNC( QT_QRECTF_SETCOORDS ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setCoords( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setHeight ( qreal height ) */ -HB_FUNC( QT_QRECTF_SETHEIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setHeight( hb_parnd( 2 ) ); -} - -/* void setLeft ( qreal x ) */ -HB_FUNC( QT_QRECTF_SETLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setLeft( hb_parnd( 2 ) ); -} - -/* void setRect ( qreal x, qreal y, qreal width, qreal height ) */ -HB_FUNC( QT_QRECTF_SETRECT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setRight ( qreal x ) */ -HB_FUNC( QT_QRECTF_SETRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setRight( hb_parnd( 2 ) ); -} - -/* void setSize ( const QSizeF & size ) */ -HB_FUNC( QT_QRECTF_SETSIZE ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* void setTop ( qreal y ) */ -HB_FUNC( QT_QRECTF_SETTOP ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setTop( hb_parnd( 2 ) ); -} - -/* void setTopLeft ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_SETTOPLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setTopLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* void setTopRight ( const QPointF & position ) */ -HB_FUNC( QT_QRECTF_SETTOPRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setTopRight( *hbqt_par_QPointF( 2 ) ); -} - -/* void setWidth ( qreal width ) */ -HB_FUNC( QT_QRECTF_SETWIDTH ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setWidth( hb_parnd( 2 ) ); -} - -/* void setX ( qreal x ) */ -HB_FUNC( QT_QRECTF_SETX ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setX( hb_parnd( 2 ) ); -} - -/* void setY ( qreal y ) */ -HB_FUNC( QT_QRECTF_SETY ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->setY( hb_parnd( 2 ) ); -} - -/* QSizeF size () const */ -HB_FUNC( QT_QRECTF_SIZE ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->size() ), true ) ); -} - -/* QRect toAlignedRect () const */ -HB_FUNC( QT_QRECTF_TOALIGNEDRECT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->toAlignedRect() ), true ) ); -} - -/* QRect toRect () const */ -HB_FUNC( QT_QRECTF_TORECT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->toRect() ), true ) ); -} - -/* qreal top () const */ -HB_FUNC( QT_QRECTF_TOP ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->top() ); -} - -/* QPointF topLeft () const */ -HB_FUNC( QT_QRECTF_TOPLEFT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->topLeft() ), true ) ); -} - -/* QPointF topRight () const */ -HB_FUNC( QT_QRECTF_TOPRIGHT ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->topRight() ), true ) ); -} - -/* void translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QRECTF_TRANSLATE ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void translate ( const QPointF & offset ) */ -HB_FUNC( QT_QRECTF_TRANSLATE_1 ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPointF( 2 ) ); -} - -/* QRectF translated ( qreal dx, qreal dy ) const */ -HB_FUNC( QT_QRECTF_TRANSLATED ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->translated( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QRectF translated ( const QPointF & offset ) const */ -HB_FUNC( QT_QRECTF_TRANSLATED_1 ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->translated( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QRectF united ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QRECTF_UNITED ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->united( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* qreal width () const */ -HB_FUNC( QT_QRECTF_WIDTH ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - -/* qreal x () const */ -HB_FUNC( QT_QRECTF_X ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->x() ); -} - -/* qreal y () const */ -HB_FUNC( QT_QRECTF_Y ) -{ - QRectF * p = hbqt_par_QRectF( 1 ); - if( p ) - hb_retnd( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp b/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp deleted file mode 100644 index 44a507dcff..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QRegExp.cpp +++ /dev/null @@ -1,256 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CaretMode { CaretAtZero, CaretAtOffset, CaretWontMatch } - * enum PatternSyntax { RegExp, RegExp2, Wildcard, FixedString } - */ - -/* - * Constructed[ 19/19 [ 100.00% ] ] - * - */ - -#include - -#include -#include - -/* QRegExp () - * QRegExp ( const QString & pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, PatternSyntax syntax = RegExp ) - * QRegExp ( const QRegExp & rx ) - * ~QRegExp () - */ - -typedef struct -{ - QRegExp * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRegExp; - -HBQT_GC_FUNC( hbqt_gcRelease_QRegExp ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QRegExp * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRegExp( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QRegExp * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QRegExp; - p->type = HBQT_TYPE_QRegExp; - - return p; -} - -HB_FUNC( QT_QREGEXP ) -{ - QRegExp * pObj = NULL; - - pObj = new QRegExp() ; - - hb_retptrGC( hbqt_gcAllocate_QRegExp( ( void * ) pObj, true ) ); -} - -/* QString cap ( int nth = 0 ) const */ -HB_FUNC( QT_QREGEXP_CAP ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retstr_utf8( ( p )->cap( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QStringList capturedTexts () const */ -HB_FUNC( QT_QREGEXP_CAPTUREDTEXTS ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->capturedTexts() ), true ) ); -} - -/* Qt::CaseSensitivity caseSensitivity () const */ -HB_FUNC( QT_QREGEXP_CASESENSITIVITY ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retni( ( Qt::CaseSensitivity ) ( p )->caseSensitivity() ); -} - -/* QString errorString () const */ -HB_FUNC( QT_QREGEXP_ERRORSTRING ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* bool exactMatch ( const QString & str ) const */ -HB_FUNC( QT_QREGEXP_EXACTMATCH ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->exactMatch( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int indexIn ( const QString & str, int offset = 0, CaretMode caretMode = CaretAtZero ) const */ -HB_FUNC( QT_QREGEXP_INDEXIN ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->indexIn( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QRegExp::CaretMode ) hb_parni( 4 ) : ( QRegExp::CaretMode ) QRegExp::CaretAtZero ) ) ); - hb_strfree( pText ); - } -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QREGEXP_ISEMPTY ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isMinimal () const */ -HB_FUNC( QT_QREGEXP_ISMINIMAL ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retl( ( p )->isMinimal() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QREGEXP_ISVALID ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int lastIndexIn ( const QString & str, int offset = -1, CaretMode caretMode = CaretAtZero ) const */ -HB_FUNC( QT_QREGEXP_LASTINDEXIN ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->lastIndexIn( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, -1 ), ( HB_ISNUM( 4 ) ? ( QRegExp::CaretMode ) hb_parni( 4 ) : ( QRegExp::CaretMode ) QRegExp::CaretAtZero ) ) ); - hb_strfree( pText ); - } -} - -/* int matchedLength () const */ -HB_FUNC( QT_QREGEXP_MATCHEDLENGTH ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retni( ( p )->matchedLength() ); -} - -/* int numCaptures () const */ -HB_FUNC( QT_QREGEXP_NUMCAPTURES ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retni( ( p )->numCaptures() ); -} - -/* QString pattern () const */ -HB_FUNC( QT_QREGEXP_PATTERN ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retstr_utf8( ( p )->pattern().toUtf8().data() ); -} - -/* PatternSyntax patternSyntax () const */ -HB_FUNC( QT_QREGEXP_PATTERNSYNTAX ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retni( ( QRegExp::PatternSyntax ) ( p )->patternSyntax() ); -} - -/* int pos ( int nth = 0 ) const */ -HB_FUNC( QT_QREGEXP_POS ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - hb_retni( ( p )->pos( hb_parni( 2 ) ) ); -} - -/* void setCaseSensitivity ( Qt::CaseSensitivity cs ) */ -HB_FUNC( QT_QREGEXP_SETCASESENSITIVITY ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - ( p )->setCaseSensitivity( ( Qt::CaseSensitivity ) hb_parni( 2 ) ); -} - -/* void setMinimal ( bool minimal ) */ -HB_FUNC( QT_QREGEXP_SETMINIMAL ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - ( p )->setMinimal( hb_parl( 2 ) ); -} - -/* void setPattern ( const QString & pattern ) */ -HB_FUNC( QT_QREGEXP_SETPATTERN ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - { - void * pText; - ( p )->setPattern( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPatternSyntax ( PatternSyntax syntax ) */ -HB_FUNC( QT_QREGEXP_SETPATTERNSYNTAX ) -{ - QRegExp * p = hbqt_par_QRegExp( 1 ); - if( p ) - ( p )->setPatternSyntax( ( QRegExp::PatternSyntax ) hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QResource.cpp b/harbour/contrib/hbqt/qtcore/g/QResource.cpp deleted file mode 100644 index abfeecf635..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QResource.cpp +++ /dev/null @@ -1,215 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QResource () - * QResource ( const QString & file = QString(), const QLocale & locale = QLocale() ) - * ~QResource () - */ - -typedef struct -{ - QResource * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QResource; - -HBQT_GC_FUNC( hbqt_gcRelease_QResource ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QResource * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QResource( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QResource * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QResource; - p->type = HBQT_TYPE_QResource; - - return p; -} - -HB_FUNC( QT_QRESOURCE ) -{ - QResource * pObj = NULL; - - pObj = new QResource() ; - - hb_retptrGC( hbqt_gcAllocate_QResource( ( void * ) pObj, true ) ); -} - -/* QString absoluteFilePath () const */ -HB_FUNC( QT_QRESOURCE_ABSOLUTEFILEPATH ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retstr_utf8( ( p )->absoluteFilePath().toUtf8().data() ); -} - -/* const uchar * data () const */ -HB_FUNC( QT_QRESOURCE_DATA ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retc( ( const char * ) ( p )->data() ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QRESOURCE_FILENAME ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* bool isCompressed () const */ -HB_FUNC( QT_QRESOURCE_ISCOMPRESSED ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retl( ( p )->isCompressed() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QRESOURCE_ISVALID ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QLocale locale () const */ -HB_FUNC( QT_QRESOURCE_LOCALE ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->locale() ), true ) ); -} - -/* void setFileName ( const QString & file ) */ -HB_FUNC( QT_QRESOURCE_SETFILENAME ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setLocale ( const QLocale & locale ) */ -HB_FUNC( QT_QRESOURCE_SETLOCALE ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - ( p )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - -/* qint64 size () const */ -HB_FUNC( QT_QRESOURCE_SIZE ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retnint( ( p )->size() ); -} - -/* bool registerResource ( const QString & rccFileName, const QString & mapRoot = QString() ) */ -HB_FUNC( QT_QRESOURCE_REGISTERRESOURCE ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->registerResource( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool registerResource ( const uchar * rccData, const QString & mapRoot = QString() ) */ -HB_FUNC( QT_QRESOURCE_REGISTERRESOURCE_1 ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->registerResource( hbqt_par_uchar( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QStringList searchPaths () */ -HB_FUNC( QT_QRESOURCE_SEARCHPATHS ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->searchPaths() ), true ) ); -} - -/* bool unregisterResource ( const QString & rccFileName, const QString & mapRoot = QString() ) */ -HB_FUNC( QT_QRESOURCE_UNREGISTERRESOURCE ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->unregisterResource( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool unregisterResource ( const uchar * rccData, const QString & mapRoot = QString() ) */ -HB_FUNC( QT_QRESOURCE_UNREGISTERRESOURCE_1 ) -{ - QResource * p = hbqt_par_QResource( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->unregisterResource( hbqt_par_uchar( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QSettings.cpp b/harbour/contrib/hbqt/qtcore/g/QSettings.cpp deleted file mode 100644 index 4d1b729c74..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QSettings.cpp +++ /dev/null @@ -1,392 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Format { NativeFormat, IniFormat, InvalidFormat } - * enum Scope { UserScope, SystemScope } - * enum Status { NoError, AccessError, FormatError } - */ - -/* - * Constructed[ 31/31 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //Format registerFormat ( const QString & extension, ReadFunc readFunc, WriteFunc writeFunc, Qt::CaseSensitivity caseSensitivity = Qt::CaseSensitive ) - */ - -#include - -#include -#include - -/* - * QSettings ( const QString & organization, const QString & application = QString(), QObject * parent = 0 ) - * QSettings ( Scope scope, const QString & organization, const QString & application = QString(), QObject * parent = * 0 ) - * QSettings ( Format format, Scope scope, const QString & organization, const QString & application = QString(), * QObject * parent = 0 ) - * QSettings ( const QString & fileName, Format format, QObject * parent = 0 ) - * QSettings ( QObject * parent = 0 ) - * ~QSettings () - */ - -typedef struct -{ - QPointer< QSettings > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSettings; - -HBQT_GC_FUNC( hbqt_gcRelease_QSettings ) -{ - HBQT_GC_T_QSettings * p = ( HBQT_GC_T_QSettings * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSettings * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSettings( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSettings * p = ( HBQT_GC_T_QSettings * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSettings ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSettings >( ( QSettings * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSettings; - p->type = HBQT_TYPE_QSettings; - - return p; -} - -HB_FUNC( QT_QSETTINGS ) -{ - QSettings * pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - pObj = new QSettings( hbqt_par_QString( 1 ), hbqt_par_QString( 2 ), 0 ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QSettings( hbqt_par_QString( 1 ), ( QSettings::Format ) hb_parni( 2 ) ) ; - } - else - { - pObj = new QSettings() ; - } - - hb_retptrGC( hbqt_gcAllocate_QSettings( ( void * ) pObj, true ) ); -} - -/* QStringList allKeys () const */ -HB_FUNC( QT_QSETTINGS_ALLKEYS ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->allKeys() ), true ) ); -} - -/* QString applicationName () const */ -HB_FUNC( QT_QSETTINGS_APPLICATIONNAME ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->applicationName().toUtf8().data() ); -} - -/* void beginGroup ( const QString & prefix ) */ -HB_FUNC( QT_QSETTINGS_BEGINGROUP ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - ( p )->beginGroup( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* int beginReadArray ( const QString & prefix ) */ -HB_FUNC( QT_QSETTINGS_BEGINREADARRAY ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->beginReadArray( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void beginWriteArray ( const QString & prefix, int size = -1 ) */ -HB_FUNC( QT_QSETTINGS_BEGINWRITEARRAY ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - ( p )->beginWriteArray( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, -1 ) ); - hb_strfree( pText ); - } -} - -/* QStringList childGroups () const */ -HB_FUNC( QT_QSETTINGS_CHILDGROUPS ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->childGroups() ), true ) ); -} - -/* QStringList childKeys () const */ -HB_FUNC( QT_QSETTINGS_CHILDKEYS ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->childKeys() ), true ) ); -} - -/* void clear () */ -HB_FUNC( QT_QSETTINGS_CLEAR ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->clear(); -} - -/* bool contains ( const QString & key ) const */ -HB_FUNC( QT_QSETTINGS_CONTAINS ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->contains( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void endArray () */ -HB_FUNC( QT_QSETTINGS_ENDARRAY ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->endArray(); -} - -/* void endGroup () */ -HB_FUNC( QT_QSETTINGS_ENDGROUP ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->endGroup(); -} - -/* bool fallbacksEnabled () const */ -HB_FUNC( QT_QSETTINGS_FALLBACKSENABLED ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retl( ( p )->fallbacksEnabled() ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QSETTINGS_FILENAME ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* Format format () const */ -HB_FUNC( QT_QSETTINGS_FORMAT ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retni( ( QSettings::Format ) ( p )->format() ); -} - -/* QString group () const */ -HB_FUNC( QT_QSETTINGS_GROUP ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->group().toUtf8().data() ); -} - -/* QTextCodec * iniCodec () const */ -HB_FUNC( QT_QSETTINGS_INICODEC ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->iniCodec(), false ) ); -} - -/* bool isWritable () const */ -HB_FUNC( QT_QSETTINGS_ISWRITABLE ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retl( ( p )->isWritable() ); -} - -/* QString organizationName () const */ -HB_FUNC( QT_QSETTINGS_ORGANIZATIONNAME ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->organizationName().toUtf8().data() ); -} - -/* void remove ( const QString & key ) */ -HB_FUNC( QT_QSETTINGS_REMOVE ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - ( p )->remove( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* Scope scope () const */ -HB_FUNC( QT_QSETTINGS_SCOPE ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retni( ( QSettings::Scope ) ( p )->scope() ); -} - -/* void setArrayIndex ( int i ) */ -HB_FUNC( QT_QSETTINGS_SETARRAYINDEX ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->setArrayIndex( hb_parni( 2 ) ); -} - -/* void setFallbacksEnabled ( bool b ) */ -HB_FUNC( QT_QSETTINGS_SETFALLBACKSENABLED ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->setFallbacksEnabled( hb_parl( 2 ) ); -} - -/* void setIniCodec ( QTextCodec * codec ) */ -HB_FUNC( QT_QSETTINGS_SETINICODEC ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->setIniCodec( hbqt_par_QTextCodec( 2 ) ); -} - -/* void setIniCodec ( const char * codecName ) */ -HB_FUNC( QT_QSETTINGS_SETINICODEC_1 ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->setIniCodec( ( const char * ) hb_parc( 2 ) ); -} - -/* void setValue ( const QString & key, const QVariant & value ) */ -HB_FUNC( QT_QSETTINGS_SETVALUE ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - ( p )->setValue( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QVariant( 3 ) ); - hb_strfree( pText ); - } -} - -/* Status status () const */ -HB_FUNC( QT_QSETTINGS_STATUS ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retni( ( QSettings::Status ) ( p )->status() ); -} - -/* void sync () */ -HB_FUNC( QT_QSETTINGS_SYNC ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->sync(); -} - -/* QVariant value ( const QString & key, const QVariant & defaultValue = QVariant() ) const */ -HB_FUNC( QT_QSETTINGS_VALUE ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->value( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QVariant( 3 ) : QVariant() ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* Format defaultFormat () */ -HB_FUNC( QT_QSETTINGS_DEFAULTFORMAT ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - hb_retni( ( QSettings::Format ) ( p )->defaultFormat() ); -} - -/* void setDefaultFormat ( Format format ) */ -HB_FUNC( QT_QSETTINGS_SETDEFAULTFORMAT ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - ( p )->setDefaultFormat( ( QSettings::Format ) hb_parni( 2 ) ); -} - -/* void setPath ( Format format, Scope scope, const QString & path ) */ -HB_FUNC( QT_QSETTINGS_SETPATH ) -{ - QSettings * p = hbqt_par_QSettings( 1 ); - if( p ) - { - void * pText; - ( p )->setPath( ( QSettings::Format ) hb_parni( 2 ), ( QSettings::Scope ) hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp b/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp deleted file mode 100644 index 1729628beb..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QSignalMapper.cpp +++ /dev/null @@ -1,172 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QObject * mapping ( QWidget * widget ) const - * // void setMapping ( QObject * sender, QWidget * widget ) - */ - -#include - -#include - - -/* - * QSignalMapper ( QObject * parent = 0 ) - * ~QSignalMapper () - */ - -typedef struct -{ - QPointer< QSignalMapper > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSignalMapper; - -HBQT_GC_FUNC( hbqt_gcRelease_QSignalMapper ) -{ - HBQT_GC_T_QSignalMapper * p = ( HBQT_GC_T_QSignalMapper * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSignalMapper * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSignalMapper( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSignalMapper * p = ( HBQT_GC_T_QSignalMapper * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSignalMapper ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSignalMapper >( ( QSignalMapper * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSignalMapper; - p->type = HBQT_TYPE_QSignalMapper; - - return p; -} - -HB_FUNC( QT_QSIGNALMAPPER ) -{ - QSignalMapper * pObj = NULL; - - pObj = new QSignalMapper( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSignalMapper( ( void * ) pObj, true ) ); -} - -/* QObject * mapping ( int id ) const */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->mapping( hb_parni( 2 ) ), false ) ); -} - -/* QObject * mapping ( const QString & id ) const */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING_1 ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->mapping( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QObject * mapping ( QObject * object ) const */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING_2 ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->mapping( hbqt_par_QObject( 2 ) ), false ) ); -} - -/* void removeMappings ( QObject * sender ) */ -HB_FUNC( QT_QSIGNALMAPPER_REMOVEMAPPINGS ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - ( p )->removeMappings( hbqt_par_QObject( 2 ) ); -} - -/* void setMapping ( QObject * sender, int id ) */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - ( p )->setMapping( hbqt_par_QObject( 2 ), hb_parni( 3 ) ); -} - -/* void setMapping ( QObject * sender, const QString & text ) */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING_1 ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - { - void * pText; - ( p )->setMapping( hbqt_par_QObject( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setMapping ( QObject * sender, QObject * object ) */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING_2 ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - ( p )->setMapping( hbqt_par_QObject( 2 ), hbqt_par_QObject( 3 ) ); -} - -/* void map () */ -HB_FUNC( QT_QSIGNALMAPPER_MAP ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - ( p )->map(); -} - -/* void map ( QObject * sender ) */ -HB_FUNC( QT_QSIGNALMAPPER_MAP_1 ) -{ - QSignalMapper * p = hbqt_par_QSignalMapper( 1 ); - if( p ) - ( p )->map( hbqt_par_QObject( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QSize.cpp b/harbour/contrib/hbqt/qtcore/g/QSize.cpp deleted file mode 100644 index f18c838d26..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QSize.cpp +++ /dev/null @@ -1,207 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSize () - * QSize ( const QSize & size ) - * QSize ( int width, int height ) - * ~QSize () - */ - -typedef struct -{ - QSize * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSize; - -HBQT_GC_FUNC( hbqt_gcRelease_QSize ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QSize * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSize( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QSize * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QSize; - p->type = HBQT_TYPE_QSize; - - return p; -} - -HB_FUNC( QT_QSIZE ) -{ - QSize * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QSize( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QSize( *hbqt_par_QSize( 1 ) ) ; - } - else - { - pObj = new QSize() ; - } - - hb_retptrGC( hbqt_gcAllocate_QSize( ( void * ) pObj, true ) ); -} - -/* int height () const */ -HB_FUNC( QT_QSIZE_HEIGHT ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QSIZE_ISEMPTY ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QSIZE_ISNULL ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QSIZE_ISVALID ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int & rheight () */ -HB_FUNC( QT_QSIZE_RHEIGHT ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retni( ( p )->rheight() ); -} - -/* int & rwidth () */ -HB_FUNC( QT_QSIZE_RWIDTH ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retni( ( p )->rwidth() ); -} - -/* void scale ( int width, int height, Qt::AspectRatioMode mode ) */ -HB_FUNC( QT_QSIZE_SCALE ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - ( p )->scale( hb_parni( 2 ), hb_parni( 3 ), ( Qt::AspectRatioMode ) hb_parni( 4 ) ); -} - -/* void scale ( const QSize & size, Qt::AspectRatioMode mode ) */ -HB_FUNC( QT_QSIZE_SCALE_1 ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - ( p )->scale( *hbqt_par_QSize( 2 ), ( Qt::AspectRatioMode ) hb_parni( 3 ) ); -} - -/* void setHeight ( int height ) */ -HB_FUNC( QT_QSIZE_SETHEIGHT ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - ( p )->setHeight( hb_parni( 2 ) ); -} - -/* void setWidth ( int width ) */ -HB_FUNC( QT_QSIZE_SETWIDTH ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - ( p )->setWidth( hb_parni( 2 ) ); -} - -/* void transpose () */ -HB_FUNC( QT_QSIZE_TRANSPOSE ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - ( p )->transpose(); -} - -/* int width () const */ -HB_FUNC( QT_QSIZE_WIDTH ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - -/* QSize boundedTo ( const QSize & otherSize ) const */ -HB_FUNC( QT_QSIZE_BOUNDEDTO ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->boundedTo( *hbqt_par_QSize( 2 ) ) ), true ) ); -} - -/* QSize expandedTo ( const QSize & otherSize ) const */ -HB_FUNC( QT_QSIZE_EXPANDEDTO ) -{ - QSize * p = hbqt_par_QSize( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->expandedTo( *hbqt_par_QSize( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp b/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp deleted file mode 100644 index efdb7e1043..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QSizeF.cpp +++ /dev/null @@ -1,211 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 15/15 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSizeF () - * QSizeF ( const QSize & size ) - * QSizeF ( qreal width, qreal height ) - * ~QSizeF () - */ - -typedef struct -{ - QSizeF * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSizeF; - -HBQT_GC_FUNC( hbqt_gcRelease_QSizeF ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QSizeF * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSizeF( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QSizeF * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QSizeF; - p->type = HBQT_TYPE_QSizeF; - - return p; -} - -HB_FUNC( QT_QSIZEF ) -{ - QSizeF * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QSizeF( hb_parnd( 1 ), hb_parnd( 2 ) ) ; - } - else - { - pObj = new QSizeF() ; - } - - hb_retptrGC( hbqt_gcAllocate_QSizeF( ( void * ) pObj, true ) ); -} - -/* QSizeF boundedTo ( const QSizeF & otherSize ) const */ -HB_FUNC( QT_QSIZEF_BOUNDEDTO ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->boundedTo( *hbqt_par_QSizeF( 2 ) ) ), true ) ); -} - -/* QSizeF expandedTo ( const QSizeF & otherSize ) const */ -HB_FUNC( QT_QSIZEF_EXPANDEDTO ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->expandedTo( *hbqt_par_QSizeF( 2 ) ) ), true ) ); -} - -/* qreal height () const */ -HB_FUNC( QT_QSIZEF_HEIGHT ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QSIZEF_ISEMPTY ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QSIZEF_ISNULL ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QSIZEF_ISVALID ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* qreal & rheight () */ -HB_FUNC( QT_QSIZEF_RHEIGHT ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retnd( ( p )->rheight() ); -} - -/* qreal & rwidth () */ -HB_FUNC( QT_QSIZEF_RWIDTH ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retnd( ( p )->rwidth() ); -} - -/* void scale ( qreal width, qreal height, Qt::AspectRatioMode mode ) */ -HB_FUNC( QT_QSIZEF_SCALE ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - ( p )->scale( hb_parnd( 2 ), hb_parnd( 3 ), ( Qt::AspectRatioMode ) hb_parni( 4 ) ); -} - -/* void scale ( const QSizeF & size, Qt::AspectRatioMode mode ) */ -HB_FUNC( QT_QSIZEF_SCALE_1 ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - ( p )->scale( *hbqt_par_QSizeF( 2 ), ( Qt::AspectRatioMode ) hb_parni( 3 ) ); -} - -/* void setHeight ( qreal height ) */ -HB_FUNC( QT_QSIZEF_SETHEIGHT ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - ( p )->setHeight( hb_parnd( 2 ) ); -} - -/* void setWidth ( qreal width ) */ -HB_FUNC( QT_QSIZEF_SETWIDTH ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - ( p )->setWidth( hb_parnd( 2 ) ); -} - -/* QSize toSize () const */ -HB_FUNC( QT_QSIZEF_TOSIZE ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->toSize() ), true ) ); -} - -/* void transpose () */ -HB_FUNC( QT_QSIZEF_TRANSPOSE ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - ( p )->transpose(); -} - -/* qreal width () const */ -HB_FUNC( QT_QSIZEF_WIDTH ) -{ - QSizeF * p = hbqt_par_QSizeF( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QStringList.cpp b/harbour/contrib/hbqt/qtcore/g/QStringList.cpp deleted file mode 100644 index c47dd2f7cc..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QStringList.cpp +++ /dev/null @@ -1,426 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 33/36 [ 91.67% ] ] - * - * *** Unconvered Prototypes *** - * - * QSet toSet () const - * std::list toStdList () const - * QVector toVector () const - * - * *** Commented out protostypes *** - * - * // bool contains ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - * // QStringList & replaceInStrings ( const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - * // QStringList & replaceInStrings ( const QRegExp & rx, const QString & after ) - * //QString & first () - * //QString & front () - * //QString & last () - */ - -#include - -#include - - -/* - * QStringList () - * QStringList ( const QString & str ) - * QStringList ( const QStringList & other ) - * QStringList ( const QList & other ) - */ - -typedef struct -{ - QStringList * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStringList; - -HBQT_GC_FUNC( hbqt_gcRelease_QStringList ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStringList * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStringList( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStringList * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStringList; - p->type = HBQT_TYPE_QStringList; - - return p; -} - -HB_FUNC( QT_QSTRINGLIST ) -{ - QStringList * pObj = NULL; - - pObj = new QStringList() ; - - hb_retptrGC( hbqt_gcAllocate_QStringList( ( void * ) pObj, true ) ); -} - -/* void append ( const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_APPEND ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - ( p )->append( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QStringList filter ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_QSTRINGLIST_FILTER ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->filter( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QStringList filter ( const QRegExp & rx ) const */ -HB_FUNC( QT_QSTRINGLIST_FILTER_1 ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->filter( *hbqt_par_QRegExp( 2 ) ) ), true ) ); -} - -/* int indexOf ( const QString & value, int from = 0 ) const */ -HB_FUNC( QT_QSTRINGLIST_INDEXOF ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->indexOf( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* int indexOf ( const QRegExp & rx, int from = 0 ) const */ -HB_FUNC( QT_QSTRINGLIST_INDEXOF_1 ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ) ) ); -} - -/* int indexOf ( QRegExp & rx, int from = 0 ) const */ -HB_FUNC( QT_QSTRINGLIST_INDEXOF_2 ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retni( ( p )->indexOf( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ) ) ); -} - -/* QString join ( const QString & separator ) const */ -HB_FUNC( QT_QSTRINGLIST_JOIN ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->join( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* int lastIndexOf ( const QRegExp & rx, int from = -1 ) const */ -HB_FUNC( QT_QSTRINGLIST_LASTINDEXOF ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QRegExp( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int lastIndexOf ( const QString & value, int from = -1 ) const */ -HB_FUNC( QT_QSTRINGLIST_LASTINDEXOF_1 ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->lastIndexOf( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, -1 ) ) ); - hb_strfree( pText ); - } -} - -/* int lastIndexOf ( QRegExp & rx, int from = -1 ) const */ -HB_FUNC( QT_QSTRINGLIST_LASTINDEXOF_2 ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retni( ( p )->lastIndexOf( *hbqt_par_QRegExp( 2 ), hb_parnidef( 3, -1 ) ) ); -} - -/* int removeDuplicates () */ -HB_FUNC( QT_QSTRINGLIST_REMOVEDUPLICATES ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retni( ( p )->removeDuplicates() ); -} - -/* void sort () */ -HB_FUNC( QT_QSTRINGLIST_SORT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - ( p )->sort(); -} - -/* QString & at ( int i ) const */ -HB_FUNC( QT_QSTRINGLIST_AT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->at( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString & back () */ -HB_FUNC( QT_QSTRINGLIST_BACK ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->back().toUtf8().data() ); -} - -/* int count ( const QString & value ) const */ -HB_FUNC( QT_QSTRINGLIST_COUNT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->count( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool endsWith ( const QString & value ) const */ -HB_FUNC( QT_QSTRINGLIST_ENDSWITH ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->endsWith( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* const QString & first () const */ -HB_FUNC( QT_QSTRINGLIST_FIRST ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->first().toUtf8().data() ); -} - -/* const QString & front () const */ -HB_FUNC( QT_QSTRINGLIST_FRONT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->front().toUtf8().data() ); -} - -/* void insert ( int i, const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_INSERT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - ( p )->insert( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* const QString & last () const */ -HB_FUNC( QT_QSTRINGLIST_LAST ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->last().toUtf8().data() ); -} - -/* QList mid ( int pos, int length = -1 ) const */ -HB_FUNC( QT_QSTRINGLIST_MID ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->mid( hb_parni( 2 ), hb_parnidef( 3, -1 ) ) ), true ) ); -} - -/* void prepend ( const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_PREPEND ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - ( p )->prepend( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void push_back ( const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_PUSH_BACK ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - ( p )->push_back( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void push_front ( const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_PUSH_FRONT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - ( p )->push_front( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* int removeAll ( const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_REMOVEALL ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->removeAll( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool removeOne ( const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_REMOVEONE ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->removeOne( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void replace ( int i, const QString & value ) */ -HB_FUNC( QT_QSTRINGLIST_REPLACE ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - ( p )->replace( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* bool startsWith ( const QString & value ) const */ -HB_FUNC( QT_QSTRINGLIST_STARTSWITH ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->startsWith( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QString takeAt ( int i ) */ -HB_FUNC( QT_QSTRINGLIST_TAKEAT ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->takeAt( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString takeFirst () */ -HB_FUNC( QT_QSTRINGLIST_TAKEFIRST ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->takeFirst().toUtf8().data() ); -} - -/* QString takeLast () */ -HB_FUNC( QT_QSTRINGLIST_TAKELAST ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->takeLast().toUtf8().data() ); -} - -/* QString value ( int i ) const */ -HB_FUNC( QT_QSTRINGLIST_VALUE ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->value( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString value ( int i, const QString & defaultValue ) const */ -HB_FUNC( QT_QSTRINGLIST_VALUE_1 ) -{ - QStringList * p = hbqt_par_QStringList( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->value( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp b/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp deleted file mode 100644 index bbd61b7a4d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QStringRef.cpp +++ /dev/null @@ -1,276 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 19/19 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QStringRef appendTo ( QString * string ) const - * //int compare ( QLatin1String other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - * //const QString * string () const - * //QString toString () const - * //int compare ( const QStringRef & s1, QLatin1String s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - */ - -#include - -#include - - -/* - * QStringRef () - * QStringRef ( const QString * string ) - * QStringRef ( const QStringRef & other ) - * QStringRef ( const QString * string, int position, int length ) - * ~QStringRef () - */ - -typedef struct -{ - QStringRef * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStringRef; - -HBQT_GC_FUNC( hbqt_gcRelease_QStringRef ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStringRef * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStringRef( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStringRef * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStringRef; - p->type = HBQT_TYPE_QStringRef; - - return p; -} - -HB_FUNC( QT_QSTRINGREF ) -{ - QStringRef * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QStringRef( ( const QString *) hb_parcx( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QStringRef( * hbqt_par_QStringRef( 1 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = new QStringRef( ( const QString *) hb_parcx( 1 ), hb_parni( 2 ), hb_parni( 3 ) ) ; - } - else - { - pObj = new QStringRef() ; - } - - hb_retptrGC( hbqt_gcAllocate_QStringRef( ( void * ) pObj, true ) ); -} - -/* const QChar at ( int position ) const */ -HB_FUNC( QT_QSTRINGREF_AT ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->at( hb_parni( 2 ) ) ), true ) ); -} - -/* void clear () */ -HB_FUNC( QT_QSTRINGREF_CLEAR ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - ( p )->clear(); -} - -/* int compare ( const QString & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_QSTRINGREF_COMPARE ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QStringRef & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const */ -HB_FUNC( QT_QSTRINGREF_COMPARE_1 ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->compare( *hbqt_par_QStringRef( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* const QChar * constData () const */ -HB_FUNC( QT_QSTRINGREF_CONSTDATA ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( *( ( p )->constData() ) ), true ) ); -} - -/* int count () const */ -HB_FUNC( QT_QSTRINGREF_COUNT ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* const QChar * data () const */ -HB_FUNC( QT_QSTRINGREF_DATA ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( *( ( p )->data() ) ), true ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QSTRINGREF_ISEMPTY ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QSTRINGREF_ISNULL ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* int length () const */ -HB_FUNC( QT_QSTRINGREF_LENGTH ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* int localeAwareCompare ( const QString & other ) const */ -HB_FUNC( QT_QSTRINGREF_LOCALEAWARECOMPARE ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->localeAwareCompare( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int localeAwareCompare ( const QStringRef & other ) const */ -HB_FUNC( QT_QSTRINGREF_LOCALEAWARECOMPARE_1 ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->localeAwareCompare( *hbqt_par_QStringRef( 2 ) ) ); -} - -/* int position () const */ -HB_FUNC( QT_QSTRINGREF_POSITION ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->position() ); -} - -/* int size () const */ -HB_FUNC( QT_QSTRINGREF_SIZE ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->size() ); -} - -/* const QChar * unicode () const */ -HB_FUNC( QT_QSTRINGREF_UNICODE ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( *( ( p )->unicode() ) ), true ) ); -} - -/* int compare ( const QStringRef & s1, const QString & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_QSTRINGREF_COMPARE_2 ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->compare( *hbqt_par_QStringRef( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* int compare ( const QStringRef & s1, const QStringRef & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) */ -HB_FUNC( QT_QSTRINGREF_COMPARE_3 ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->compare( *hbqt_par_QStringRef( 2 ), *hbqt_par_QStringRef( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::CaseSensitivity ) hb_parni( 4 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ); -} - -/* int localeAwareCompare ( const QStringRef & s1, const QString & s2 ) */ -HB_FUNC( QT_QSTRINGREF_LOCALEAWARECOMPARE_2 ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->localeAwareCompare( *hbqt_par_QStringRef( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int localeAwareCompare ( const QStringRef & s1, const QStringRef & s2 ) */ -HB_FUNC( QT_QSTRINGREF_LOCALEAWARECOMPARE_3 ) -{ - QStringRef * p = hbqt_par_QStringRef( 1 ); - if( p ) - hb_retni( ( p )->localeAwareCompare( *hbqt_par_QStringRef( 2 ), *hbqt_par_QStringRef( 3 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp b/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp deleted file mode 100644 index 3943ba8cb7..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTextBoundaryFinder.cpp +++ /dev/null @@ -1,179 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags BoundaryReasons - * enum BoundaryReason { NotAtBoundary, StartWord, EndWord } - * enum BoundaryType { Grapheme, Word, Line, Sentence } - */ - -/* - * Constructed[ 11/11 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextBoundaryFinder () - * QTextBoundaryFinder ( const QTextBoundaryFinder & other ) - * QTextBoundaryFinder ( BoundaryType type, const QString & string ) - * QTextBoundaryFinder ( BoundaryType type, const QChar * chars, int length, unsigned char * buffer = 0, int bufferSize = 0 ) - * ~QTextBoundaryFinder () - */ - -typedef struct -{ - QTextBoundaryFinder * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextBoundaryFinder; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextBoundaryFinder ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextBoundaryFinder * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextBoundaryFinder( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextBoundaryFinder * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextBoundaryFinder; - p->type = HBQT_TYPE_QTextBoundaryFinder; - - return p; -} - -HB_FUNC( QT_QTEXTBOUNDARYFINDER ) -{ - QTextBoundaryFinder * pObj = NULL; - - pObj = new QTextBoundaryFinder() ; - - hb_retptrGC( hbqt_gcAllocate_QTextBoundaryFinder( ( void * ) pObj, true ) ); -} - -/* BoundaryReasons boundaryReasons () const */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_BOUNDARYREASONS ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retni( ( QTextBoundaryFinder::BoundaryReasons ) ( p )->boundaryReasons() ); -} - -/* bool isAtBoundary () const */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_ISATBOUNDARY ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retl( ( p )->isAtBoundary() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_ISVALID ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int position () const */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_POSITION ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retni( ( p )->position() ); -} - -/* void setPosition ( int position ) */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_SETPOSITION ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - ( p )->setPosition( hb_parni( 2 ) ); -} - -/* QString string () const */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_STRING ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retstr_utf8( ( p )->string().toUtf8().data() ); -} - -/* void toEnd () */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TOEND ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - ( p )->toEnd(); -} - -/* int toNextBoundary () */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TONEXTBOUNDARY ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retni( ( p )->toNextBoundary() ); -} - -/* int toPreviousBoundary () */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TOPREVIOUSBOUNDARY ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retni( ( p )->toPreviousBoundary() ); -} - -/* void toStart () */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TOSTART ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - ( p )->toStart(); -} - -/* BoundaryType type () const */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TYPE ) -{ - QTextBoundaryFinder * p = hbqt_par_QTextBoundaryFinder( 1 ); - if( p ) - hb_retni( ( QTextBoundaryFinder::BoundaryType ) ( p )->type() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp b/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp deleted file mode 100644 index 1c891aa998..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTextCodec.cpp +++ /dev/null @@ -1,260 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ConversionFlag { DefaultConversion, ConvertInvalidToNull, IgnoreHeader } - * flags ConversionFlags - */ - -/* - * Constructed[ 21/21 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QByteArray fromUnicode ( const QChar * input, int number, ConverterState * state = 0 ) const - * // QString toUnicode ( const char * input, int size, ConverterState * state = 0 ) const - */ - -#include - -#include - - -/* - * QTextCodec () - * - */ - -typedef struct -{ - QTextCodec * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextCodec; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextCodec ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QTextCodec( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextCodec * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextCodec; - p->type = HBQT_TYPE_QTextCodec; - - return p; -} - -HB_FUNC( QT_QTEXTCODEC ) -{ - //__HB_RETPTRGC__( new QTextCodec() ); -} - -/* virtual QList aliases () const */ -HB_FUNC( QT_QTEXTCODEC_ALIASES ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->aliases() ), true ) ); -} - -/* bool canEncode ( QChar ch ) const */ -HB_FUNC( QT_QTEXTCODEC_CANENCODE ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retl( ( p )->canEncode( *hbqt_par_QChar( 2 ) ) ); -} - -/* bool canEncode ( const QString & s ) const */ -HB_FUNC( QT_QTEXTCODEC_CANENCODE_1 ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->canEncode( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QByteArray fromUnicode ( const QString & str ) const */ -HB_FUNC( QT_QTEXTCODEC_FROMUNICODE ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->fromUnicode( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTextDecoder * makeDecoder () const */ -HB_FUNC( QT_QTEXTCODEC_MAKEDECODER ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDecoder( ( p )->makeDecoder(), false ) ); -} - -/* QTextEncoder * makeEncoder () const */ -HB_FUNC( QT_QTEXTCODEC_MAKEENCODER ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextEncoder( ( p )->makeEncoder(), false ) ); -} - -/* virtual int mibEnum () const = 0 */ -HB_FUNC( QT_QTEXTCODEC_MIBENUM ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retni( ( p )->mibEnum() ); -} - -/* virtual QByteArray name () const = 0 */ -HB_FUNC( QT_QTEXTCODEC_NAME ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->name() ), true ) ); -} - -/* QString toUnicode ( const QByteArray & a ) const */ -HB_FUNC( QT_QTEXTCODEC_TOUNICODE ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toUnicode( *hbqt_par_QByteArray( 2 ) ).toUtf8().data() ); -} - -/* QString toUnicode ( const char * chars ) const */ -HB_FUNC( QT_QTEXTCODEC_TOUNICODE_1 ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toUnicode( ( const char * ) hb_parc( 2 ) ).toUtf8().data() ); -} - -/* QTextCodec * codecForCStrings () */ -HB_FUNC( QT_QTEXTCODEC_CODECFORCSTRINGS ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForCStrings(), false ) ); -} - -/* QTextCodec * codecForHtml ( const QByteArray & ba, QTextCodec * defaultCodec ) */ -HB_FUNC( QT_QTEXTCODEC_CODECFORHTML ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForHtml( *hbqt_par_QByteArray( 2 ), hbqt_par_QTextCodec( 3 ) ), false ) ); -} - -/* QTextCodec * codecForHtml ( const QByteArray & ba ) */ -HB_FUNC( QT_QTEXTCODEC_CODECFORHTML_1 ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForHtml( *hbqt_par_QByteArray( 2 ) ), false ) ); -} - -/* QTextCodec * codecForLocale () */ -HB_FUNC( QT_QTEXTCODEC_CODECFORLOCALE ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForLocale(), false ) ); -} - -/* QTextCodec * codecForMib ( int mib ) */ -HB_FUNC( QT_QTEXTCODEC_CODECFORMIB ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForMib( hb_parni( 2 ) ), false ) ); -} - -/* QTextCodec * codecForName ( const QByteArray & name ) */ -HB_FUNC( QT_QTEXTCODEC_CODECFORNAME ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForName( *hbqt_par_QByteArray( 2 ) ), false ) ); -} - -/* QTextCodec * codecForName ( const char * name ) */ -HB_FUNC( QT_QTEXTCODEC_CODECFORNAME_1 ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForName( ( const char * ) hb_parc( 2 ) ), false ) ); -} - -/* QTextCodec * codecForTr () */ -HB_FUNC( QT_QTEXTCODEC_CODECFORTR ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codecForTr(), false ) ); -} - -/* void setCodecForCStrings ( QTextCodec * codec ) */ -HB_FUNC( QT_QTEXTCODEC_SETCODECFORCSTRINGS ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - ( p )->setCodecForCStrings( hbqt_par_QTextCodec( 2 ) ); -} - -/* void setCodecForLocale ( QTextCodec * c ) */ -HB_FUNC( QT_QTEXTCODEC_SETCODECFORLOCALE ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - ( p )->setCodecForLocale( hbqt_par_QTextCodec( 2 ) ); -} - -/* void setCodecForTr ( QTextCodec * c ) */ -HB_FUNC( QT_QTEXTCODEC_SETCODECFORTR ) -{ - QTextCodec * p = hbqt_par_QTextCodec( 1 ); - if( p ) - ( p )->setCodecForTr( hbqt_par_QTextCodec( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp b/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp deleted file mode 100644 index dac73d65a2..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTextDecoder.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //void toUnicode ( QString * target, const char * chars, int len ) - * //QString toUnicode ( const QByteArray & ba ) - */ - -#include - -#include - - -/* - * QTextDecoder ( const QTextCodec * codec ) - * ~QTextDecoder () - */ - -typedef struct -{ - QTextDecoder * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextDecoder; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextDecoder ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextDecoder * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextDecoder( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextDecoder * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextDecoder; - p->type = HBQT_TYPE_QTextDecoder; - - return p; -} - -HB_FUNC( QT_QTEXTDECODER ) -{ - QTextDecoder * pObj = NULL; - - pObj = new QTextDecoder( hbqt_par_QTextCodec( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextDecoder( ( void * ) pObj, true ) ); -} - -/* QString toUnicode ( const char * chars, int len ) */ -HB_FUNC( QT_QTEXTDECODER_TOUNICODE ) -{ - QTextDecoder * p = hbqt_par_QTextDecoder( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toUnicode( ( const char * ) hb_parc( 2 ), hb_parni( 3 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp b/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp deleted file mode 100644 index 13b9901b54..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTextEncoder.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QByteArray fromUnicode ( const QString & uc, int & lenInOut ) - */ - -#include - -#include - - -/* - * QTextEncoder ( const QTextCodec * codec ) - * ~QTextEncoder () - */ - -typedef struct -{ - QTextEncoder * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextEncoder; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextEncoder ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextEncoder * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextEncoder( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextEncoder * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextEncoder; - p->type = HBQT_TYPE_QTextEncoder; - - return p; -} - -HB_FUNC( QT_QTEXTENCODER ) -{ - QTextEncoder * pObj = NULL; - - pObj = new QTextEncoder( hbqt_par_QTextCodec( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextEncoder( ( void * ) pObj, true ) ); -} - -/* QByteArray fromUnicode ( const QString & str ) */ -HB_FUNC( QT_QTEXTENCODER_FROMUNICODE ) -{ - QTextEncoder * p = hbqt_par_QTextEncoder( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->fromUnicode( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray fromUnicode ( const QChar * uc, int len ) */ -HB_FUNC( QT_QTEXTENCODER_FROMUNICODE_1 ) -{ - QTextEncoder * p = hbqt_par_QTextEncoder( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->fromUnicode( hbqt_par_QChar( 2 ), hb_parni( 3 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp b/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp deleted file mode 100644 index b29cea11de..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTextStream.cpp +++ /dev/null @@ -1,396 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags NumberFlags - * enum FieldAlignment { AlignLeft, AlignRight, AlignCenter, AlignAccountingStyle } - * enum NumberFlag { ShowBase, ForcePoint, ForceSign, UppercaseBase, UppercaseDigits } - * enum RealNumberNotation { ScientificNotation, FixedNotation, SmartNotation } - * enum Status { Ok, ReadPastEnd, ReadCorruptData } - */ - -/* - * Constructed[ 37/37 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //void setString ( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * //QString * string () const - */ - -#include - -#include - - -/* - * QTextStream () - * QTextStream ( QIODevice * device ) - * QTextStream ( FILE * fileHandle, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * QTextStream ( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * QTextStream ( QByteArray * array, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * QTextStream ( const QByteArray & array, QIODevice::OpenMode openMode = QIODevice::ReadOnly ) - * virtual ~QTextStream () - */ - -typedef struct -{ - QTextStream * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextStream; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextStream ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextStream * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextStream( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextStream * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextStream; - p->type = HBQT_TYPE_QTextStream; - - return p; -} - -HB_FUNC( QT_QTEXTSTREAM ) -{ - QTextStream * pObj = NULL; - - pObj = new QTextStream( hb_parcx( 1 ), ( QIODevice::OpenMode ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : QIODevice::ReadWrite ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextStream( ( void * ) pObj, true ) ); -} - -/* QChar padChar () const */ -HB_FUNC( QT_QTEXTSTREAM_PADCHAR ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->padChar() ), true ) ); -} - -/* bool atEnd () const */ -HB_FUNC( QT_QTEXTSTREAM_ATEND ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retl( ( p )->atEnd() ); -} - -/* bool autoDetectUnicode () const */ -HB_FUNC( QT_QTEXTSTREAM_AUTODETECTUNICODE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retl( ( p )->autoDetectUnicode() ); -} - -/* QTextCodec * codec () const */ -HB_FUNC( QT_QTEXTSTREAM_CODEC ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codec(), false ) ); -} - -/* QIODevice * device () const */ -HB_FUNC( QT_QTEXTSTREAM_DEVICE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->device(), false ) ); -} - -/* FieldAlignment fieldAlignment () const */ -HB_FUNC( QT_QTEXTSTREAM_FIELDALIGNMENT ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( QTextStream::FieldAlignment ) ( p )->fieldAlignment() ); -} - -/* int fieldWidth () const */ -HB_FUNC( QT_QTEXTSTREAM_FIELDWIDTH ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( p )->fieldWidth() ); -} - -/* void flush () */ -HB_FUNC( QT_QTEXTSTREAM_FLUSH ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->flush(); -} - -/* bool generateByteOrderMark () const */ -HB_FUNC( QT_QTEXTSTREAM_GENERATEBYTEORDERMARK ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retl( ( p )->generateByteOrderMark() ); -} - -/* int integerBase () const */ -HB_FUNC( QT_QTEXTSTREAM_INTEGERBASE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( p )->integerBase() ); -} - -/* QLocale locale () const */ -HB_FUNC( QT_QTEXTSTREAM_LOCALE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->locale() ), true ) ); -} - -/* NumberFlags numberFlags () const */ -HB_FUNC( QT_QTEXTSTREAM_NUMBERFLAGS ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( QTextStream::NumberFlags ) ( p )->numberFlags() ); -} - -/* qint64 pos () const */ -HB_FUNC( QT_QTEXTSTREAM_POS ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retnint( ( p )->pos() ); -} - -/* QString read ( qint64 maxlen ) */ -HB_FUNC( QT_QTEXTSTREAM_READ ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retstr_utf8( ( p )->read( hb_parnint( 2 ) ).toUtf8().data() ); -} - -/* QString readAll () */ -HB_FUNC( QT_QTEXTSTREAM_READALL ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retstr_utf8( ( p )->readAll().toUtf8().data() ); -} - -/* QString readLine ( qint64 maxlen = 0 ) */ -HB_FUNC( QT_QTEXTSTREAM_READLINE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retstr_utf8( ( p )->readLine( hb_parnint( 2 ) ).toUtf8().data() ); -} - -/* RealNumberNotation realNumberNotation () const */ -HB_FUNC( QT_QTEXTSTREAM_REALNUMBERNOTATION ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( QTextStream::RealNumberNotation ) ( p )->realNumberNotation() ); -} - -/* int realNumberPrecision () const */ -HB_FUNC( QT_QTEXTSTREAM_REALNUMBERPRECISION ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( p )->realNumberPrecision() ); -} - -/* void reset () */ -HB_FUNC( QT_QTEXTSTREAM_RESET ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->reset(); -} - -/* void resetStatus () */ -HB_FUNC( QT_QTEXTSTREAM_RESETSTATUS ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->resetStatus(); -} - -/* bool seek ( qint64 pos ) */ -HB_FUNC( QT_QTEXTSTREAM_SEEK ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retl( ( p )->seek( hb_parnint( 2 ) ) ); -} - -/* void setAutoDetectUnicode ( bool enabled ) */ -HB_FUNC( QT_QTEXTSTREAM_SETAUTODETECTUNICODE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setAutoDetectUnicode( hb_parl( 2 ) ); -} - -/* void setCodec ( QTextCodec * codec ) */ -HB_FUNC( QT_QTEXTSTREAM_SETCODEC ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setCodec( hbqt_par_QTextCodec( 2 ) ); -} - -/* void setCodec ( const char * codecName ) */ -HB_FUNC( QT_QTEXTSTREAM_SETCODEC_1 ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setCodec( ( const char * ) hb_parc( 2 ) ); -} - -/* void setDevice ( QIODevice * device ) */ -HB_FUNC( QT_QTEXTSTREAM_SETDEVICE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* void setFieldAlignment ( FieldAlignment mode ) */ -HB_FUNC( QT_QTEXTSTREAM_SETFIELDALIGNMENT ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setFieldAlignment( ( QTextStream::FieldAlignment ) hb_parni( 2 ) ); -} - -/* void setFieldWidth ( int width ) */ -HB_FUNC( QT_QTEXTSTREAM_SETFIELDWIDTH ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setFieldWidth( hb_parni( 2 ) ); -} - -/* void setGenerateByteOrderMark ( bool generate ) */ -HB_FUNC( QT_QTEXTSTREAM_SETGENERATEBYTEORDERMARK ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setGenerateByteOrderMark( hb_parl( 2 ) ); -} - -/* void setIntegerBase ( int base ) */ -HB_FUNC( QT_QTEXTSTREAM_SETINTEGERBASE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setIntegerBase( hb_parni( 2 ) ); -} - -/* void setLocale ( const QLocale & locale ) */ -HB_FUNC( QT_QTEXTSTREAM_SETLOCALE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - -/* void setNumberFlags ( NumberFlags flags ) */ -HB_FUNC( QT_QTEXTSTREAM_SETNUMBERFLAGS ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setNumberFlags( ( QTextStream::NumberFlags ) hb_parni( 2 ) ); -} - -/* void setPadChar ( QChar ch ) */ -HB_FUNC( QT_QTEXTSTREAM_SETPADCHAR ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setPadChar( *hbqt_par_QChar( 2 ) ); -} - -/* void setRealNumberNotation ( RealNumberNotation notation ) */ -HB_FUNC( QT_QTEXTSTREAM_SETREALNUMBERNOTATION ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setRealNumberNotation( ( QTextStream::RealNumberNotation ) hb_parni( 2 ) ); -} - -/* void setRealNumberPrecision ( int precision ) */ -HB_FUNC( QT_QTEXTSTREAM_SETREALNUMBERPRECISION ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setRealNumberPrecision( hb_parni( 2 ) ); -} - -/* void setStatus ( Status status ) */ -HB_FUNC( QT_QTEXTSTREAM_SETSTATUS ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->setStatus( ( QTextStream::Status ) hb_parni( 2 ) ); -} - -/* void skipWhiteSpace () */ -HB_FUNC( QT_QTEXTSTREAM_SKIPWHITESPACE ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - ( p )->skipWhiteSpace(); -} - -/* Status status () const */ -HB_FUNC( QT_QTEXTSTREAM_STATUS ) -{ - QTextStream * p = hbqt_par_QTextStream( 1 ); - if( p ) - hb_retni( ( QTextStream::Status ) ( p )->status() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QThread.cpp b/harbour/contrib/hbqt/qtcore/g/QThread.cpp deleted file mode 100644 index fd34a8047d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QThread.cpp +++ /dev/null @@ -1,206 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Priority { IdlePriority, LowestPriority, LowPriority, NormalPriority, ..., InheritPriority } - */ - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // Qt::HANDLE currentThreadId () - */ - -#include - -#include - - -/* QThread ( QObject * parent = 0 ) - * ~QThread () - */ - -typedef struct -{ - QPointer< QThread > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QThread; - -HBQT_GC_FUNC( hbqt_gcRelease_QThread ) -{ - HBQT_GC_T_QThread * p = ( HBQT_GC_T_QThread * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QThread * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QThread( void * pObj, bool bNew ) -{ - HBQT_GC_T_QThread * p = ( HBQT_GC_T_QThread * ) hb_gcAllocate( sizeof( HBQT_GC_T_QThread ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QThread >( ( QThread * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QThread; - p->type = HBQT_TYPE_QThread; - - return p; -} - -HB_FUNC( QT_QTHREAD ) -{ - QThread * pObj = NULL; - - pObj = new QThread() ; - - hb_retptrGC( hbqt_gcAllocate_QThread( ( void * ) pObj, true ) ); -} - -/* void exit ( int returnCode = 0 ) */ -HB_FUNC( QT_QTHREAD_EXIT ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->exit( hb_parni( 2 ) ); -} - -/* bool isFinished () const */ -HB_FUNC( QT_QTHREAD_ISFINISHED ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retl( ( p )->isFinished() ); -} - -/* bool isRunning () const */ -HB_FUNC( QT_QTHREAD_ISRUNNING ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retl( ( p )->isRunning() ); -} - -/* Priority priority () const */ -HB_FUNC( QT_QTHREAD_PRIORITY ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retni( ( QThread::Priority ) ( p )->priority() ); -} - -/* void setPriority ( Priority priority ) */ -HB_FUNC( QT_QTHREAD_SETPRIORITY ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->setPriority( ( QThread::Priority ) hb_parni( 2 ) ); -} - -/* void setStackSize ( uint stackSize ) */ -HB_FUNC( QT_QTHREAD_SETSTACKSIZE ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->setStackSize( hb_parni( 2 ) ); -} - -/* uint stackSize () const */ -HB_FUNC( QT_QTHREAD_STACKSIZE ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retni( ( p )->stackSize() ); -} - -/* bool wait ( ulong time = ULONG_MAX ) */ -HB_FUNC( QT_QTHREAD_WAIT ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retl( ( p )->wait( ( ulong ) hb_parnintdef( 2, ULONG_MAX ) ) ); -} - -/* QThread * currentThread () */ -HB_FUNC( QT_QTHREAD_CURRENTTHREAD ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QThread( ( p )->currentThread(), false ) ); -} - -/* int idealThreadCount () */ -HB_FUNC( QT_QTHREAD_IDEALTHREADCOUNT ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - hb_retni( ( p )->idealThreadCount() ); -} - -/* void yieldCurrentThread () */ -HB_FUNC( QT_QTHREAD_YIELDCURRENTTHREAD ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->yieldCurrentThread(); -} - -/* void quit () */ -HB_FUNC( QT_QTHREAD_QUIT ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->quit(); -} - -/* void start ( Priority priority = InheritPriority ) */ -HB_FUNC( QT_QTHREAD_START ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->start( ( HB_ISNUM( 2 ) ? ( QThread::Priority ) hb_parni( 2 ) : ( QThread::Priority ) QThread::InheritPriority ) ); -} - -/* void terminate () */ -HB_FUNC( QT_QTHREAD_TERMINATE ) -{ - QThread * p = hbqt_par_QThread( 1 ); - if( p ) - ( p )->terminate(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTime.cpp b/harbour/contrib/hbqt/qtcore/g/QTime.cpp deleted file mode 100644 index 1325774f5d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTime.cpp +++ /dev/null @@ -1,253 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 20/20 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QTime () - * QTime ( int h, int m, int s = 0, int ms = 0 ) - */ - -typedef struct -{ - QTime * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTime; - -HBQT_GC_FUNC( hbqt_gcRelease_QTime ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTime * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTime( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTime * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTime; - p->type = HBQT_TYPE_QTime; - - return p; -} - -HB_FUNC( QT_QTIME ) -{ - QTime * pObj = NULL; - - pObj = new QTime() ; - - hb_retptrGC( hbqt_gcAllocate_QTime( ( void * ) pObj, true ) ); -} - -/* QTime addMSecs ( int ms ) const */ -HB_FUNC( QT_QTIME_ADDMSECS ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->addMSecs( hb_parni( 2 ) ) ), true ) ); -} - -/* QTime addSecs ( int s ) const */ -HB_FUNC( QT_QTIME_ADDSECS ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->addSecs( hb_parni( 2 ) ) ), true ) ); -} - -/* int elapsed () const */ -HB_FUNC( QT_QTIME_ELAPSED ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->elapsed() ); -} - -/* int hour () const */ -HB_FUNC( QT_QTIME_HOUR ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->hour() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QTIME_ISNULL ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTIME_ISVALID ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int minute () const */ -HB_FUNC( QT_QTIME_MINUTE ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->minute() ); -} - -/* int msec () const */ -HB_FUNC( QT_QTIME_MSEC ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->msec() ); -} - -/* int msecsTo ( const QTime & t ) const */ -HB_FUNC( QT_QTIME_MSECSTO ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->msecsTo( *hbqt_par_QTime( 2 ) ) ); -} - -/* int restart () */ -HB_FUNC( QT_QTIME_RESTART ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->restart() ); -} - -/* int second () const */ -HB_FUNC( QT_QTIME_SECOND ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->second() ); -} - -/* int secsTo ( const QTime & t ) const */ -HB_FUNC( QT_QTIME_SECSTO ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retni( ( p )->secsTo( *hbqt_par_QTime( 2 ) ) ); -} - -/* bool setHMS ( int h, int m, int s, int ms = 0 ) */ -HB_FUNC( QT_QTIME_SETHMS ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retl( ( p )->setHMS( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ); -} - -/* void start () */ -HB_FUNC( QT_QTIME_START ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - ( p )->start(); -} - -/* QString toString ( const QString & format ) const */ -HB_FUNC( QT_QTIME_TOSTRING ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->toString( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QString toString ( Qt::DateFormat format = Qt::TextDate ) const */ -HB_FUNC( QT_QTIME_TOSTRING_1 ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( HB_ISNUM( 2 ) ? ( Qt::DateFormat ) hb_parni( 2 ) : ( Qt::DateFormat ) Qt::TextDate ) ).toUtf8().data() ); -} - -/* QTime currentTime () */ -HB_FUNC( QT_QTIME_CURRENTTIME ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->currentTime() ), true ) ); -} - -/* QTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) */ -HB_FUNC( QT_QTIME_FROMSTRING ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->fromString( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::DateFormat ) hb_parni( 3 ) : ( Qt::DateFormat ) Qt::TextDate ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTime fromString ( const QString & string, const QString & format ) */ -HB_FUNC( QT_QTIME_FROMSTRING_1 ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->fromString( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* bool isValid ( int h, int m, int s, int ms = 0 ) */ -HB_FUNC( QT_QTIME_ISVALID_1 ) -{ - QTime * p = hbqt_par_QTime( 1 ); - if( p ) - hb_retl( ( p )->isValid( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp b/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp deleted file mode 100644 index f0bb05d2ad..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTimeLine.cpp +++ /dev/null @@ -1,309 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CurveShape { EaseInCurve, EaseOutCurve, EaseInOutCurve, LinearCurve, SineCurve, CosineCurve } - * enum Direction { Forward, Backward } - * enum State { NotRunning, Paused, Running } - */ - -/* - * Constructed[ 27/27 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTimeLine ( int duration = 1000, QObject * parent = 0 ) - * virtual ~QTimeLine () - */ - -typedef struct -{ - QPointer< QTimeLine > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTimeLine; - -HBQT_GC_FUNC( hbqt_gcRelease_QTimeLine ) -{ - HBQT_GC_T_QTimeLine * p = ( HBQT_GC_T_QTimeLine * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTimeLine * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTimeLine( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTimeLine * p = ( HBQT_GC_T_QTimeLine * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTimeLine ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTimeLine >( ( QTimeLine * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTimeLine; - p->type = HBQT_TYPE_QTimeLine; - - return p; -} - -HB_FUNC( QT_QTIMELINE ) -{ - QTimeLine * pObj = NULL; - - pObj = new QTimeLine() ; - - hb_retptrGC( hbqt_gcAllocate_QTimeLine( ( void * ) pObj, true ) ); -} - -/* int currentFrame () const */ -HB_FUNC( QT_QTIMELINE_CURRENTFRAME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->currentFrame() ); -} - -/* int currentTime () const */ -HB_FUNC( QT_QTIMELINE_CURRENTTIME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->currentTime() ); -} - -/* qreal currentValue () const */ -HB_FUNC( QT_QTIMELINE_CURRENTVALUE ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retnd( ( p )->currentValue() ); -} - -/* CurveShape curveShape () const */ -HB_FUNC( QT_QTIMELINE_CURVESHAPE ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( QTimeLine::CurveShape ) ( p )->curveShape() ); -} - -/* Direction direction () const */ -HB_FUNC( QT_QTIMELINE_DIRECTION ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( QTimeLine::Direction ) ( p )->direction() ); -} - -/* int duration () const */ -HB_FUNC( QT_QTIMELINE_DURATION ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->duration() ); -} - -/* int endFrame () const */ -HB_FUNC( QT_QTIMELINE_ENDFRAME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->endFrame() ); -} - -/* int frameForTime ( int msec ) const */ -HB_FUNC( QT_QTIMELINE_FRAMEFORTIME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->frameForTime( hb_parni( 2 ) ) ); -} - -/* int loopCount () const */ -HB_FUNC( QT_QTIMELINE_LOOPCOUNT ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->loopCount() ); -} - -/* void setCurveShape ( CurveShape shape ) */ -HB_FUNC( QT_QTIMELINE_SETCURVESHAPE ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setCurveShape( ( QTimeLine::CurveShape ) hb_parni( 2 ) ); -} - -/* void setDirection ( Direction direction ) */ -HB_FUNC( QT_QTIMELINE_SETDIRECTION ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setDirection( ( QTimeLine::Direction ) hb_parni( 2 ) ); -} - -/* void setDuration ( int duration ) */ -HB_FUNC( QT_QTIMELINE_SETDURATION ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setDuration( hb_parni( 2 ) ); -} - -/* void setEndFrame ( int frame ) */ -HB_FUNC( QT_QTIMELINE_SETENDFRAME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setEndFrame( hb_parni( 2 ) ); -} - -/* void setFrameRange ( int startFrame, int endFrame ) */ -HB_FUNC( QT_QTIMELINE_SETFRAMERANGE ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setFrameRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setLoopCount ( int count ) */ -HB_FUNC( QT_QTIMELINE_SETLOOPCOUNT ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setLoopCount( hb_parni( 2 ) ); -} - -/* void setStartFrame ( int frame ) */ -HB_FUNC( QT_QTIMELINE_SETSTARTFRAME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setStartFrame( hb_parni( 2 ) ); -} - -/* void setUpdateInterval ( int interval ) */ -HB_FUNC( QT_QTIMELINE_SETUPDATEINTERVAL ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setUpdateInterval( hb_parni( 2 ) ); -} - -/* int startFrame () const */ -HB_FUNC( QT_QTIMELINE_STARTFRAME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->startFrame() ); -} - -/* State state () const */ -HB_FUNC( QT_QTIMELINE_STATE ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( QTimeLine::State ) ( p )->state() ); -} - -/* int updateInterval () const */ -HB_FUNC( QT_QTIMELINE_UPDATEINTERVAL ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retni( ( p )->updateInterval() ); -} - -/* virtual qreal valueForTime ( int msec ) const */ -HB_FUNC( QT_QTIMELINE_VALUEFORTIME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - hb_retnd( ( p )->valueForTime( hb_parni( 2 ) ) ); -} - -/* void resume () */ -HB_FUNC( QT_QTIMELINE_RESUME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->resume(); -} - -/* void setCurrentTime ( int msec ) */ -HB_FUNC( QT_QTIMELINE_SETCURRENTTIME ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setCurrentTime( hb_parni( 2 ) ); -} - -/* void setPaused ( bool paused ) */ -HB_FUNC( QT_QTIMELINE_SETPAUSED ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->setPaused( hb_parl( 2 ) ); -} - -/* void start () */ -HB_FUNC( QT_QTIMELINE_START ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->start(); -} - -/* void stop () */ -HB_FUNC( QT_QTIMELINE_STOP ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->stop(); -} - -/* void toggleDirection () */ -HB_FUNC( QT_QTIMELINE_TOGGLEDIRECTION ) -{ - QTimeLine * p = hbqt_par_QTimeLine( 1 ); - if( p ) - ( p )->toggleDirection(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTimer.cpp b/harbour/contrib/hbqt/qtcore/g/QTimer.cpp deleted file mode 100644 index 02bdeab083..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTimer.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTimer ( QObject * parent = 0 ) - * ~QTimer () - */ - -typedef struct -{ - QPointer< QTimer > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTimer; - -HBQT_GC_FUNC( hbqt_gcRelease_QTimer ) -{ - HBQT_GC_T_QTimer * p = ( HBQT_GC_T_QTimer * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTimer * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTimer( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTimer * p = ( HBQT_GC_T_QTimer * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTimer ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTimer >( ( QTimer * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTimer; - p->type = HBQT_TYPE_QTimer; - - return p; -} - -HB_FUNC( QT_QTIMER ) -{ - QTimer * pObj = NULL; - - pObj = new QTimer( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTimer( ( void * ) pObj, true ) ); -} - -/* int interval () const */ -HB_FUNC( QT_QTIMER_INTERVAL ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - hb_retni( ( p )->interval() ); -} - -/* bool isActive () const */ -HB_FUNC( QT_QTIMER_ISACTIVE ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - hb_retl( ( p )->isActive() ); -} - -/* bool isSingleShot () const */ -HB_FUNC( QT_QTIMER_ISSINGLESHOT ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - hb_retl( ( p )->isSingleShot() ); -} - -/* void setInterval ( int msec ) */ -HB_FUNC( QT_QTIMER_SETINTERVAL ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - ( p )->setInterval( hb_parni( 2 ) ); -} - -/* void setSingleShot ( bool singleShot ) */ -HB_FUNC( QT_QTIMER_SETSINGLESHOT ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - ( p )->setSingleShot( hb_parl( 2 ) ); -} - -/* int timerId () const */ -HB_FUNC( QT_QTIMER_TIMERID ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - hb_retni( ( p )->timerId() ); -} - -/* void singleShot ( int msec, QObject * receiver, const char * member ) */ -HB_FUNC( QT_QTIMER_SINGLESHOT ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - ( p )->singleShot( hb_parni( 2 ), hbqt_par_QObject( 3 ), ( const char * ) hb_parc( 4 ) ); -} - -/* void start () */ -HB_FUNC( QT_QTIMER_START ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - ( p )->start(); -} - -/* void stop () */ -HB_FUNC( QT_QTIMER_STOP ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - ( p )->stop(); -} - -/* void start ( int msec ) */ -HB_FUNC( QT_QTIMER_START_1 ) -{ - QTimer * p = hbqt_par_QTimer( 1 ); - if( p ) - ( p )->start( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp b/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp deleted file mode 100644 index b949a37c71..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QTranslator.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // bool load ( const uchar * data, int len ) - */ - -#include - -#include - - -/* QTranslator ( QObject * parent = 0 ) - * ~QTranslator () - */ - -typedef struct -{ - QPointer< QTranslator > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTranslator; - -HBQT_GC_FUNC( hbqt_gcRelease_QTranslator ) -{ - HBQT_GC_T_QTranslator * p = ( HBQT_GC_T_QTranslator * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTranslator * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTranslator( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTranslator * p = ( HBQT_GC_T_QTranslator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTranslator ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTranslator >( ( QTranslator * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTranslator; - p->type = HBQT_TYPE_QTranslator; - - return p; -} - -HB_FUNC( QT_QTRANSLATOR ) -{ - QTranslator * pObj = NULL; - - pObj = new QTranslator() ; - - hb_retptrGC( hbqt_gcAllocate_QTranslator( ( void * ) pObj, true ) ); -} - -/* virtual bool isEmpty () const */ -HB_FUNC( QT_QTRANSLATOR_ISEMPTY ) -{ - QTranslator * p = hbqt_par_QTranslator( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool load ( const QString & filename, const QString & directory = QString(), const QString & search_delimiters = QString(), const QString & suffix = QString() ) */ -HB_FUNC( QT_QTRANSLATOR_LOAD ) -{ - QTranslator * p = hbqt_par_QTranslator( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->load( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* virtual QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0 ) const */ -HB_FUNC( QT_QTRANSLATOR_TRANSLATE ) -{ - QTranslator * p = hbqt_par_QTranslator( 1 ); - if( p ) - hb_retstr_utf8( ( p )->translate( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), ( const char * ) hb_parc( 4 ) ).toUtf8().data() ); -} - -/* QString translate ( const char * context, const char * sourceText, const char * disambiguation, int n ) const */ -HB_FUNC( QT_QTRANSLATOR_TRANSLATE_1 ) -{ - QTranslator * p = hbqt_par_QTranslator( 1 ); - if( p ) - hb_retstr_utf8( ( p )->translate( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), ( const char * ) hb_parc( 4 ), hb_parni( 5 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QUrl.cpp b/harbour/contrib/hbqt/qtcore/g/QUrl.cpp deleted file mode 100644 index 320b2da0ba..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QUrl.cpp +++ /dev/null @@ -1,756 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FormattingOption { None, RemoveScheme, RemovePassword, RemoveUserInfo, ..., StripTrailingSlash } - * flags FormattingOptions - * enum ParsingMode { TolerantMode, StrictMode } - */ - -/* - * Constructed[ 70/74 [ 94.59% ] ] - * - * *** Unconvered Prototypes *** - * - * QList > encodedQueryItems () const - * QList > queryItems () const - * void setEncodedQueryItems ( const QList > & query ) - * void setQueryItems ( const QList > & query ) - * - * *** Commented out protostypes *** - * - * //void setQueryDelimiters ( char valueDelimiter, char pairDelimiter ) - */ - -#include - -#include -#include - - -/* - * QUrl () - * QUrl ( const QString & url ) - * QUrl ( const QUrl & other ) - * QUrl ( const QString & url, ParsingMode parsingMode ) - * ~QUrl () - */ -/* - * void setQueryDelimiters ( char valueDelimiter, char pairDelimiter ) - */ -HB_FUNC( QT_QURL_SETQUERYDELIMITERS ) -{ - hbqt_par_QUrl( 1 )->setQueryDelimiters( ( char ) hb_parni( 2 ), ( char ) hb_parni( 3 ) ); -} - -typedef struct -{ - QUrl * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QUrl; - -HBQT_GC_FUNC( hbqt_gcRelease_QUrl ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QUrl * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QUrl( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QUrl * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QUrl; - p->type = HBQT_TYPE_QUrl; - - return p; -} - -HB_FUNC( QT_QURL ) -{ - QUrl * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QUrl( hbqt_par_QString( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QUrl( *hbqt_par_QUrl( 1 ) ) ; - } - else - { - pObj = new QUrl() ; - } - - hb_retptrGC( hbqt_gcAllocate_QUrl( ( void * ) pObj, true ) ); -} - -/* void addEncodedQueryItem ( const QByteArray & key, const QByteArray & value ) */ -HB_FUNC( QT_QURL_ADDENCODEDQUERYITEM ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->addEncodedQueryItem( *hbqt_par_QByteArray( 2 ), *hbqt_par_QByteArray( 3 ) ); -} - -/* void addQueryItem ( const QString & key, const QString & value ) */ -HB_FUNC( QT_QURL_ADDQUERYITEM ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->addQueryItem( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QList allEncodedQueryItemValues ( const QByteArray & key ) const */ -HB_FUNC( QT_QURL_ALLENCODEDQUERYITEMVALUES ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->allEncodedQueryItemValues( *hbqt_par_QByteArray( 2 ) ) ), true ) ); -} - -/* QStringList allQueryItemValues ( const QString & key ) const */ -HB_FUNC( QT_QURL_ALLQUERYITEMVALUES ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->allQueryItemValues( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QString authority () const */ -HB_FUNC( QT_QURL_AUTHORITY ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->authority().toUtf8().data() ); -} - -/* void clear () */ -HB_FUNC( QT_QURL_CLEAR ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->clear(); -} - -/* QByteArray encodedFragment () const */ -HB_FUNC( QT_QURL_ENCODEDFRAGMENT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedFragment() ), true ) ); -} - -/* QByteArray encodedHost () const */ -HB_FUNC( QT_QURL_ENCODEDHOST ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedHost() ), true ) ); -} - -/* QByteArray encodedPassword () const */ -HB_FUNC( QT_QURL_ENCODEDPASSWORD ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedPassword() ), true ) ); -} - -/* QByteArray encodedPath () const */ -HB_FUNC( QT_QURL_ENCODEDPATH ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedPath() ), true ) ); -} - -/* QByteArray encodedQuery () const */ -HB_FUNC( QT_QURL_ENCODEDQUERY ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedQuery() ), true ) ); -} - -/* QByteArray encodedQueryItemValue ( const QByteArray & key ) const */ -HB_FUNC( QT_QURL_ENCODEDQUERYITEMVALUE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedQueryItemValue( *hbqt_par_QByteArray( 2 ) ) ), true ) ); -} - -/* QByteArray encodedUserName () const */ -HB_FUNC( QT_QURL_ENCODEDUSERNAME ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->encodedUserName() ), true ) ); -} - -/* QString errorString () const */ -HB_FUNC( QT_QURL_ERRORSTRING ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* QString fragment () const */ -HB_FUNC( QT_QURL_FRAGMENT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fragment().toUtf8().data() ); -} - -/* bool hasEncodedQueryItem ( const QByteArray & key ) const */ -HB_FUNC( QT_QURL_HASENCODEDQUERYITEM ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->hasEncodedQueryItem( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* bool hasFragment () const */ -HB_FUNC( QT_QURL_HASFRAGMENT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->hasFragment() ); -} - -/* bool hasQuery () const */ -HB_FUNC( QT_QURL_HASQUERY ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->hasQuery() ); -} - -/* bool hasQueryItem ( const QString & key ) const */ -HB_FUNC( QT_QURL_HASQUERYITEM ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->hasQueryItem( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QString host () const */ -HB_FUNC( QT_QURL_HOST ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->host().toUtf8().data() ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QURL_ISEMPTY ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isParentOf ( const QUrl & childUrl ) const */ -HB_FUNC( QT_QURL_ISPARENTOF ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->isParentOf( *hbqt_par_QUrl( 2 ) ) ); -} - -/* bool isRelative () const */ -HB_FUNC( QT_QURL_ISRELATIVE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->isRelative() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QURL_ISVALID ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QString password () const */ -HB_FUNC( QT_QURL_PASSWORD ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->password().toUtf8().data() ); -} - -/* QString path () const */ -HB_FUNC( QT_QURL_PATH ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->path().toUtf8().data() ); -} - -/* int port () const */ -HB_FUNC( QT_QURL_PORT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retni( ( p )->port() ); -} - -/* int port ( int defaultPort ) const */ -HB_FUNC( QT_QURL_PORT_1 ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retni( ( p )->port( hb_parni( 2 ) ) ); -} - -/* QString queryItemValue ( const QString & key ) const */ -HB_FUNC( QT_QURL_QUERYITEMVALUE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->queryItemValue( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* char queryPairDelimiter () const */ -HB_FUNC( QT_QURL_QUERYPAIRDELIMITER ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retni( ( p )->queryPairDelimiter() ); -} - -/* char queryValueDelimiter () const */ -HB_FUNC( QT_QURL_QUERYVALUEDELIMITER ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retni( ( p )->queryValueDelimiter() ); -} - -/* void removeAllEncodedQueryItems ( const QByteArray & key ) */ -HB_FUNC( QT_QURL_REMOVEALLENCODEDQUERYITEMS ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->removeAllEncodedQueryItems( *hbqt_par_QByteArray( 2 ) ); -} - -/* void removeAllQueryItems ( const QString & key ) */ -HB_FUNC( QT_QURL_REMOVEALLQUERYITEMS ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->removeAllQueryItems( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void removeEncodedQueryItem ( const QByteArray & key ) */ -HB_FUNC( QT_QURL_REMOVEENCODEDQUERYITEM ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->removeEncodedQueryItem( *hbqt_par_QByteArray( 2 ) ); -} - -/* void removeQueryItem ( const QString & key ) */ -HB_FUNC( QT_QURL_REMOVEQUERYITEM ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->removeQueryItem( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QUrl resolved ( const QUrl & relative ) const */ -HB_FUNC( QT_QURL_RESOLVED ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->resolved( *hbqt_par_QUrl( 2 ) ) ), true ) ); -} - -/* QString scheme () const */ -HB_FUNC( QT_QURL_SCHEME ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->scheme().toUtf8().data() ); -} - -/* void setAuthority ( const QString & authority ) */ -HB_FUNC( QT_QURL_SETAUTHORITY ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setAuthority( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setEncodedFragment ( const QByteArray & fragment ) */ -HB_FUNC( QT_QURL_SETENCODEDFRAGMENT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedFragment( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setEncodedHost ( const QByteArray & host ) */ -HB_FUNC( QT_QURL_SETENCODEDHOST ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedHost( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setEncodedPassword ( const QByteArray & password ) */ -HB_FUNC( QT_QURL_SETENCODEDPASSWORD ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedPassword( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setEncodedPath ( const QByteArray & path ) */ -HB_FUNC( QT_QURL_SETENCODEDPATH ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedPath( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setEncodedQuery ( const QByteArray & query ) */ -HB_FUNC( QT_QURL_SETENCODEDQUERY ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedQuery( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setEncodedUrl ( const QByteArray & encodedUrl ) */ -HB_FUNC( QT_QURL_SETENCODEDURL ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedUrl( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setEncodedUrl ( const QByteArray & encodedUrl, ParsingMode parsingMode ) */ -HB_FUNC( QT_QURL_SETENCODEDURL_1 ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedUrl( *hbqt_par_QByteArray( 2 ), ( QUrl::ParsingMode ) hb_parni( 3 ) ); -} - -/* void setEncodedUserName ( const QByteArray & userName ) */ -HB_FUNC( QT_QURL_SETENCODEDUSERNAME ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setEncodedUserName( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setFragment ( const QString & fragment ) */ -HB_FUNC( QT_QURL_SETFRAGMENT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setFragment( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setHost ( const QString & host ) */ -HB_FUNC( QT_QURL_SETHOST ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setHost( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPassword ( const QString & password ) */ -HB_FUNC( QT_QURL_SETPASSWORD ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setPassword( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPath ( const QString & path ) */ -HB_FUNC( QT_QURL_SETPATH ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setPath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPort ( int port ) */ -HB_FUNC( QT_QURL_SETPORT ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setPort( hb_parni( 2 ) ); -} - -/* void setScheme ( const QString & scheme ) */ -HB_FUNC( QT_QURL_SETSCHEME ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setScheme( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setUrl ( const QString & url ) */ -HB_FUNC( QT_QURL_SETURL ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setUrl( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setUrl ( const QString & url, ParsingMode parsingMode ) */ -HB_FUNC( QT_QURL_SETURL_1 ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setUrl( hb_parstr_utf8( 2, &pText, NULL ), ( QUrl::ParsingMode ) hb_parni( 3 ) ); - hb_strfree( pText ); - } -} - -/* void setUserInfo ( const QString & userInfo ) */ -HB_FUNC( QT_QURL_SETUSERINFO ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setUserInfo( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setUserName ( const QString & userName ) */ -HB_FUNC( QT_QURL_SETUSERNAME ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - ( p )->setUserName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QByteArray toEncoded ( FormattingOptions options = None ) const */ -HB_FUNC( QT_QURL_TOENCODED ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toEncoded( ( HB_ISNUM( 2 ) ? ( QUrl::FormattingOptions ) hb_parni( 2 ) : ( QUrl::FormattingOptions ) QUrl::None ) ) ), true ) ); -} - -/* QString toLocalFile () const */ -HB_FUNC( QT_QURL_TOLOCALFILE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toLocalFile().toUtf8().data() ); -} - -/* QString toString ( FormattingOptions options = None ) const */ -HB_FUNC( QT_QURL_TOSTRING ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( HB_ISNUM( 2 ) ? ( QUrl::FormattingOptions ) hb_parni( 2 ) : ( QUrl::FormattingOptions ) QUrl::None ) ).toUtf8().data() ); -} - -/* QString userInfo () const */ -HB_FUNC( QT_QURL_USERINFO ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->userInfo().toUtf8().data() ); -} - -/* QString userName () const */ -HB_FUNC( QT_QURL_USERNAME ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->userName().toUtf8().data() ); -} - -/* QString fromAce ( const QByteArray & domain ) */ -HB_FUNC( QT_QURL_FROMACE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromAce( *hbqt_par_QByteArray( 2 ) ).toUtf8().data() ); -} - -/* QUrl fromEncoded ( const QByteArray & input ) */ -HB_FUNC( QT_QURL_FROMENCODED ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->fromEncoded( *hbqt_par_QByteArray( 2 ) ) ), true ) ); -} - -/* QUrl fromEncoded ( const QByteArray & input, ParsingMode parsingMode ) */ -HB_FUNC( QT_QURL_FROMENCODED_1 ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->fromEncoded( *hbqt_par_QByteArray( 2 ), ( QUrl::ParsingMode ) hb_parni( 3 ) ) ), true ) ); -} - -/* QUrl fromLocalFile ( const QString & localFile ) */ -HB_FUNC( QT_QURL_FROMLOCALFILE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->fromLocalFile( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QString fromPercentEncoding ( const QByteArray & input ) */ -HB_FUNC( QT_QURL_FROMPERCENTENCODING ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fromPercentEncoding( *hbqt_par_QByteArray( 2 ) ).toUtf8().data() ); -} - -/* QStringList idnWhitelist () */ -HB_FUNC( QT_QURL_IDNWHITELIST ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->idnWhitelist() ), true ) ); -} - -/* void setIdnWhitelist ( const QStringList & list ) */ -HB_FUNC( QT_QURL_SETIDNWHITELIST ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - ( p )->setIdnWhitelist( *hbqt_par_QStringList( 2 ) ); -} - -/* QByteArray toAce ( const QString & domain ) */ -HB_FUNC( QT_QURL_TOACE ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toAce( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray toPercentEncoding ( const QString & input, const QByteArray & exclude = QByteArray(), const QByteArray & include = QByteArray() ) */ -HB_FUNC( QT_QURL_TOPERCENTENCODING ) -{ - QUrl * p = hbqt_par_QUrl( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toPercentEncoding( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QByteArray( 3 ) : QByteArray() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QByteArray( 4 ) : QByteArray() ) ) ), true ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/QVariant.cpp b/harbour/contrib/hbqt/qtcore/g/QVariant.cpp deleted file mode 100644 index 84afb485eb..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/QVariant.cpp +++ /dev/null @@ -1,461 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Type { Invalid, BitArray, Bitmap, Bool, ..., UserType } - */ - -/* - * Constructed[ 38/40 [ 95.00% ] ] - * - * *** Unconvered Prototypes *** - * - * QHash toHash () const - * QMap toMap () const - * - * *** Commented out protostypes *** - * - * //const char * typeName () const - * //T value () const - */ - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - - -/* -QVariant () -QVariant ( Qt::GlobalColor color ) -QVariant ( Type type ) -QVariant ( int typeOrUserType, const void * copy ) -QVariant ( const QVariant & p ) -QVariant ( QDataStream & s ) -QVariant ( int val ) -QVariant ( uint val ) -QVariant ( qlonglong val ) -QVariant ( qulonglong val ) -QVariant ( bool val ) -QVariant ( double val ) -QVariant ( const char * val ) -QVariant ( const QByteArray & val ) -QVariant ( const QBitArray & val ) -QVariant ( const QString & val ) -QVariant ( const QLatin1String & val ) -QVariant ( const QStringList & val ) -QVariant ( const QChar & c ) -QVariant ( const QDate & val ) -QVariant ( const QTime & val ) -QVariant ( const QDateTime & val ) -QVariant ( const QList & val ) -QVariant ( const QMap & val ) -QVariant ( const QHash & val ) -QVariant ( const QSize & val ) -QVariant ( const QSizeF & val ) -QVariant ( const QPoint & val ) -QVariant ( const QPointF & val ) -QVariant ( const QLine & val ) -QVariant ( const QLineF & val ) -QVariant ( const QRect & val ) -QVariant ( const QRectF & val ) -QVariant ( const QUrl & val ) -QVariant ( const QLocale & l ) -QVariant ( const QRegExp & regExp ) -~QVariant () - */ - -typedef struct -{ - QVariant * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QVariant; - -HBQT_GC_FUNC( hbqt_gcRelease_QVariant ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QVariant * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QVariant( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QVariant * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QVariant; - p->type = HBQT_TYPE_QVariant; - - return p; -} - -HB_FUNC( QT_QVARIANT ) -{ - QVariant * pObj = NULL; - - pObj = new QVariant() ; - - hb_retptrGC( hbqt_gcAllocate_QVariant( ( void * ) pObj, true ) ); -} - -/* bool canConvert ( Type t ) const */ -HB_FUNC( QT_QVARIANT_CANCONVERT ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retl( ( p )->canConvert( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - -/* bool canConvert ( Type t ) const */ -HB_FUNC( QT_QVARIANT_CANCONVERT_1 ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retl( ( p )->canConvert( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - -/* void clear () */ -HB_FUNC( QT_QVARIANT_CLEAR ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - ( p )->clear(); -} - -/* bool convert ( Type t ) */ -HB_FUNC( QT_QVARIANT_CONVERT ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retl( ( p )->convert( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QVARIANT_ISNULL ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QVARIANT_ISVALID ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* void setValue ( const T & value ) */ -HB_FUNC( QT_QVARIANT_SETVALUE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - ( p )->setValue( hb_param( 2, HB_IT_ANY ) ); -} - -/* QBitArray toBitArray () const */ -HB_FUNC( QT_QVARIANT_TOBITARRAY ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitArray( new QBitArray( ( p )->toBitArray() ), true ) ); -} - -/* bool toBool () const */ -HB_FUNC( QT_QVARIANT_TOBOOL ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retl( ( p )->toBool() ); -} - -/* QByteArray toByteArray () const */ -HB_FUNC( QT_QVARIANT_TOBYTEARRAY ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->toByteArray() ), true ) ); -} - -/* QChar toChar () const */ -HB_FUNC( QT_QVARIANT_TOCHAR ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->toChar() ), true ) ); -} - -/* QDate toDate () const */ -HB_FUNC( QT_QVARIANT_TODATE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->toDate() ), true ) ); -} - -/* QDateTime toDateTime () const */ -HB_FUNC( QT_QVARIANT_TODATETIME ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->toDateTime() ), true ) ); -} - -/* double toDouble ( bool * ok = 0 ) const */ -HB_FUNC( QT_QVARIANT_TODOUBLE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - bool iOk = 0; - - if( p ) - hb_retnd( ( p )->toDouble( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* int toInt ( bool * ok = 0 ) const */ -HB_FUNC( QT_QVARIANT_TOINT ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toInt( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* QLine toLine () const */ -HB_FUNC( QT_QVARIANT_TOLINE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLine( new QLine( ( p )->toLine() ), true ) ); -} - -/* QLineF toLineF () const */ -HB_FUNC( QT_QVARIANT_TOLINEF ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->toLineF() ), true ) ); -} - -/* QList toList () const */ -HB_FUNC( QT_QVARIANT_TOLIST ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->toList() ), true ) ); -} - -/* QLocale toLocale () const */ -HB_FUNC( QT_QVARIANT_TOLOCALE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->toLocale() ), true ) ); -} - -/* qlonglong toLongLong ( bool * ok = 0 ) const */ -HB_FUNC( QT_QVARIANT_TOLONGLONG ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toLongLong( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* QPoint toPoint () const */ -HB_FUNC( QT_QVARIANT_TOPOINT ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->toPoint() ), true ) ); -} - -/* QPointF toPointF () const */ -HB_FUNC( QT_QVARIANT_TOPOINTF ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->toPointF() ), true ) ); -} - -/* QRect toRect () const */ -HB_FUNC( QT_QVARIANT_TORECT ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->toRect() ), true ) ); -} - -/* QRectF toRectF () const */ -HB_FUNC( QT_QVARIANT_TORECTF ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->toRectF() ), true ) ); -} - -/* QRegExp toRegExp () const */ -HB_FUNC( QT_QVARIANT_TOREGEXP ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegExp( new QRegExp( ( p )->toRegExp() ), true ) ); -} - -/* QSize toSize () const */ -HB_FUNC( QT_QVARIANT_TOSIZE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->toSize() ), true ) ); -} - -/* QSizeF toSizeF () const */ -HB_FUNC( QT_QVARIANT_TOSIZEF ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->toSizeF() ), true ) ); -} - -/* QString toString () const */ -HB_FUNC( QT_QVARIANT_TOSTRING ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString().toUtf8().data() ); -} - -/* QStringList toStringList () const */ -HB_FUNC( QT_QVARIANT_TOSTRINGLIST ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->toStringList() ), true ) ); -} - -/* QTime toTime () const */ -HB_FUNC( QT_QVARIANT_TOTIME ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->toTime() ), true ) ); -} - -/* uint toUInt ( bool * ok = 0 ) const */ -HB_FUNC( QT_QVARIANT_TOUINT ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - bool iOk = 0; - - if( p ) - hb_retni( ( p )->toUInt( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* qulonglong toULongLong ( bool * ok = 0 ) const */ -HB_FUNC( QT_QVARIANT_TOULONGLONG ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - bool iOk = 0; - - if( p ) - hb_retnint( ( p )->toULongLong( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* QUrl toUrl () const */ -HB_FUNC( QT_QVARIANT_TOURL ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->toUrl() ), true ) ); -} - -/* Type type () const */ -HB_FUNC( QT_QVARIANT_TYPE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retni( ( QVariant::Type ) ( p )->type() ); -} - -/* int userType () const */ -HB_FUNC( QT_QVARIANT_USERTYPE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retni( ( p )->userType() ); -} - -/* QVariant fromValue ( const T & value ) */ -HB_FUNC( QT_QVARIANT_FROMVALUE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->fromValue( hb_param( 2, HB_IT_ANY ) ) ), true ) ); -} - -/* Type nameToType ( const char * name ) */ -HB_FUNC( QT_QVARIANT_NAMETOTYPE ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retni( ( QVariant::Type ) ( p )->nameToType( ( const char * ) hb_parc( 2 ) ) ); -} - -/* const char * typeToName ( Type typ ) */ -HB_FUNC( QT_QVARIANT_TYPETONAME ) -{ - QVariant * p = hbqt_par_QVariant( 1 ); - if( p ) - hb_retc( ( p )->typeToName( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg b/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg deleted file mode 100644 index d735f6e3df..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/THBQEvents.prg +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION HBQEvents( ... ) - RETURN HB_HBQEvents():new( ... ) - -FUNCTION HBQEventsFromPointer( ... ) - RETURN HB_HBQEvents():fromPointer( ... ) - - -CREATE CLASS HBQEvents INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_HBQEvents - - METHOD new( ... ) - - METHOD hbConnect // ( xObj, nEvent, xBlock ) -> lBool - METHOD hbDisconnect // ( xObj, nEvent ) -> lBool - METHOD hbClear // ( ) -> lBool - - ENDCLASS - - -METHOD HBQEvents:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQEvents( ... ) - RETURN Self - - -METHOD HBQEvents:hbConnect( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. ( hb_pvalue( 3 ) != NIL ) - RETURN Qt_HBQEvents_hbConnect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQEvents:hbDisconnect( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_HBQEvents_hbDisconnect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQEvents:hbClear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQEvents_hbClear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg b/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg deleted file mode 100644 index 83f24133ea..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/THBQSlots.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION HBQSlots( ... ) - RETURN HB_HBQSlots():new( ... ) - -FUNCTION HBQSlotsFromPointer( ... ) - RETURN HB_HBQSlots():fromPointer( ... ) - - -CREATE CLASS HBQSlots INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_HBQSlots - - METHOD new( ... ) - - - ENDCLASS - - -METHOD HBQSlots:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQSlots( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtcore/g/THBQString.prg b/harbour/contrib/hbqt/qtcore/g/THBQString.prg deleted file mode 100644 index d04fe763d7..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/THBQString.prg +++ /dev/null @@ -1,885 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION HBQString( ... ) - RETURN HB_HBQString():new( ... ) - -FUNCTION HBQStringFromPointer( ... ) - RETURN HB_HBQString():fromPointer( ... ) - - -CREATE CLASS HBQString INHERIT HbQtObjectHandler FUNCTION HB_HBQString - - METHOD new( ... ) - - METHOD append // ( cStr ) -> cQString - METHOD append_1 // ( oQStringRef ) -> cQString - METHOD append_2 // ( oQLatin1String ) -> cQString - METHOD append_3 // ( oQByteArray ) -> cQString - METHOD append_4 // ( cStr ) -> cQString - METHOD append_5 // ( oQChar ) -> cQString - METHOD arg // ( cA, nFieldWidth, oQChar ) -> cQString - METHOD arg_1 // ( cA1, cA2 ) -> cQString - METHOD arg_2 // ( cA1, cA2, cA3 ) -> cQString - METHOD arg_3 // ( cA1, cA2, cA3, cA4 ) -> cQString - METHOD arg_4 // ( cA1, cA2, cA3, cA4, cA5 ) -> cQString - METHOD arg_5 // ( cA1, cA2, cA3, cA4, cA5, cA6 ) -> cQString - METHOD arg_6 // ( cA1, cA2, cA3, cA4, cA5, cA6, cA7 ) -> cQString - METHOD arg_7 // ( cA1, cA2, cA3, cA4, cA5, cA6, cA7, cA8 ) -> cQString - METHOD arg_8 // ( cA1, cA2, cA3, cA4, cA5, cA6, cA7, cA8, cA9 ) -> cQString - METHOD arg_9 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_10 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_11 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_12 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_13 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_14 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_15 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_16 // ( nA, nFieldWidth, nBase, oQChar ) -> cQString - METHOD arg_17 // ( oQChar, nFieldWidth, oQChar ) -> cQString - METHOD arg_18 // ( nA, nFieldWidth, oQChar ) -> cQString - METHOD arg_19 // ( nA, nFieldWidth, nFormat, nPrecision, oQChar ) -> cQString - METHOD at // ( nPosition ) -> oQChar - METHOD capacity // ( ) -> nInt - METHOD chop // ( nN ) -> NIL - METHOD clear // ( ) -> NIL - METHOD compare // ( cOther ) -> nInt - METHOD compare_1 // ( cOther, nCs ) -> nInt - METHOD compare_2 // ( oQLatin1String, nCs ) -> nInt - METHOD compare_3 // ( oQStringRef, nCs ) -> nInt - METHOD constData // ( ) -> oQChar - METHOD count // ( cStr, nCs ) -> nInt - METHOD count_1 // ( oQChar, nCs ) -> nInt - METHOD count_2 // ( oQRegExp ) -> nInt - METHOD count_3 // ( ) -> nInt - METHOD data // ( ) -> oQChar - METHOD data_1 // ( ) -> oQChar - METHOD endsWith // ( cS, nCs ) -> lBool - METHOD endsWith_1 // ( oQLatin1String, nCs ) -> lBool - METHOD endsWith_2 // ( oQChar, nCs ) -> lBool - METHOD fill // ( oQChar, nSize ) -> cQString - METHOD indexOf // ( cStr, nFrom, nCs ) -> nInt - METHOD indexOf_1 // ( oQLatin1String, nFrom, nCs ) -> nInt - METHOD indexOf_2 // ( oQChar, nFrom, nCs ) -> nInt - METHOD indexOf_3 // ( oQRegExp, nFrom ) -> nInt - METHOD indexOf_4 // ( oQRegExp, nFrom ) -> nInt - METHOD insert // ( nPosition, cStr ) -> cQString - METHOD insert_1 // ( nPosition, oQLatin1String ) -> cQString - METHOD insert_2 // ( nPosition, oQChar, nSize ) -> cQString - METHOD insert_3 // ( nPosition, oQChar ) -> cQString - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD lastIndexOf // ( cStr, nFrom, nCs ) -> nInt - METHOD lastIndexOf_1 // ( oQLatin1String, nFrom, nCs ) -> nInt - METHOD lastIndexOf_2 // ( oQChar, nFrom, nCs ) -> nInt - METHOD lastIndexOf_3 // ( oQRegExp, nFrom ) -> nInt - METHOD lastIndexOf_4 // ( oQRegExp, nFrom ) -> nInt - METHOD left // ( nN ) -> cQString - METHOD leftJustified // ( nWidth, oQChar, lTruncate ) -> cQString - METHOD leftRef // ( nN ) -> oQStringRef - METHOD length // ( ) -> nInt - METHOD localeAwareCompare // ( oQStringRef ) -> nInt - METHOD localeAwareCompare_1 // ( cOther ) -> nInt - METHOD mid // ( nPosition, nN ) -> cQString - METHOD midRef // ( nPosition, nN ) -> oQStringRef - METHOD normalized // ( nMode ) -> cQString - METHOD normalized_1 // ( nMode, nVersion ) -> cQString - METHOD prepend // ( cStr ) -> cQString - METHOD prepend_1 // ( oQLatin1String ) -> cQString - METHOD prepend_2 // ( oQByteArray ) -> cQString - METHOD prepend_3 // ( cStr ) -> cQString - METHOD prepend_4 // ( oQChar ) -> cQString - METHOD push_back // ( cOther ) -> NIL - METHOD push_back_1 // ( oQChar ) -> NIL - METHOD push_front // ( cOther ) -> NIL - METHOD push_front_1 // ( oQChar ) -> NIL - METHOD remove // ( nPosition, nN ) -> cQString - METHOD remove_1 // ( oQChar, nCs ) -> cQString - METHOD remove_2 // ( cStr, nCs ) -> cQString - METHOD remove_3 // ( oQRegExp ) -> cQString - METHOD repeated // ( nTimes ) -> cQString - METHOD replace // ( nPosition, nN, cAfter ) -> cQString - METHOD replace_1 // ( nPosition, nN, oQChar, nSize ) -> cQString - METHOD replace_2 // ( nPosition, nN, oQChar ) -> cQString - METHOD replace_3 // ( cBefore, cAfter, nCs ) -> cQString - METHOD replace_4 // ( oQChar, nBlen, oQChar, nAlen, nCs ) -> cQString - METHOD replace_5 // ( oQChar, cAfter, nCs ) -> cQString - METHOD replace_6 // ( oQChar, oQChar, nCs ) -> cQString - METHOD replace_7 // ( oQLatin1String, oQLatin1String, nCs ) -> cQString - METHOD replace_8 // ( oQLatin1String, cAfter, nCs ) -> cQString - METHOD replace_9 // ( cBefore, oQLatin1String, nCs ) -> cQString - METHOD replace_10 // ( oQChar, oQLatin1String, nCs ) -> cQString - METHOD replace_11 // ( oQRegExp, cAfter ) -> cQString - METHOD reserve // ( nSize ) -> NIL - METHOD resize // ( nSize ) -> NIL - METHOD right // ( nN ) -> cQString - METHOD rightJustified // ( nWidth, oQChar, lTruncate ) -> cQString - METHOD rightRef // ( nN ) -> oQStringRef - METHOD section // ( oQChar, nStart, nEnd, nFlags ) -> cQString - METHOD section_1 // ( cSep, nStart, nEnd, nFlags ) -> cQString - METHOD section_2 // ( oQRegExp, nStart, nEnd, nFlags ) -> cQString - METHOD setNum // ( nN, nBase ) -> cQString - METHOD setNum_1 // ( nN, nBase ) -> cQString - METHOD setNum_2 // ( nN, nBase ) -> cQString - METHOD setNum_3 // ( nN, nBase ) -> cQString - METHOD setNum_4 // ( nN, nBase ) -> cQString - METHOD setNum_5 // ( nN, nBase ) -> cQString - METHOD setNum_6 // ( nN, nBase ) -> cQString - METHOD setNum_7 // ( nN, nBase ) -> cQString - METHOD setNum_8 // ( nN, nFormat, nPrecision ) -> cQString - METHOD setNum_9 // ( nN, nFormat, nPrecision ) -> cQString - METHOD setUnicode // ( oQChar, nSize ) -> cQString - METHOD setUtf16 // ( @nUnicode, nSize ) -> cQString - METHOD simplified // ( ) -> cQString - METHOD size // ( ) -> nInt - METHOD split // ( cSep, nBehavior, nCs ) -> oQStringList - METHOD split_1 // ( oQChar, nBehavior, nCs ) -> oQStringList - METHOD split_2 // ( oQRegExp, nBehavior ) -> oQStringList - METHOD squeeze // ( ) -> NIL - METHOD startsWith // ( cS, nCs ) -> lBool - METHOD startsWith_1 // ( oQLatin1String, nCs ) -> lBool - METHOD startsWith_2 // ( oQChar, nCs ) -> lBool - METHOD toAscii // ( ) -> oQByteArray - METHOD toCaseFolded // ( ) -> cQString - METHOD toDouble // ( @lOk ) -> nDouble - METHOD toFloat // ( @lOk ) -> nFloat - METHOD toInt // ( @lOk, nBase ) -> nInt - METHOD toLatin1 // ( ) -> oQByteArray - METHOD toLocal8Bit // ( ) -> oQByteArray - METHOD toLong // ( @lOk, nBase ) -> nLong - METHOD toLongLong // ( @lOk, nBase ) -> nQlonglong - METHOD toLower // ( ) -> cQString - METHOD toShort // ( @lOk, nBase ) -> nShort - METHOD toUInt // ( @lOk, nBase ) -> nUint - METHOD toULong // ( @lOk, nBase ) -> nUlong - METHOD toULongLong // ( @lOk, nBase ) -> nQulonglong - METHOD toUShort // ( @lOk, nBase ) -> nUshort - METHOD toUpper // ( ) -> cQString - METHOD toUtf8 // ( ) -> oQByteArray - METHOD trimmed // ( ) -> cQString - METHOD truncate // ( nPosition ) -> NIL - METHOD unicode // ( ) -> oQChar - METHOD compare_4 // ( cS1, cS2, nCs ) -> nInt - METHOD compare_5 // ( cS1, cS2 ) -> nInt - METHOD compare_6 // ( cS1, oQLatin1String, nCs ) -> nInt - METHOD compare_7 // ( oQLatin1String, cS2, nCs ) -> nInt - METHOD compare_8 // ( cS1, oQStringRef, nCs ) -> nInt - METHOD fromAscii // ( cStr, nSize ) -> cQString - METHOD fromLatin1 // ( cStr, nSize ) -> cQString - METHOD fromLocal8Bit // ( cStr, nSize ) -> cQString - METHOD fromRawData // ( oQChar, nSize ) -> cQString - METHOD fromUcs4 // ( @nUnicode, nSize ) -> cQString - METHOD fromUtf8 // ( cStr, nSize ) -> cQString - METHOD fromUtf16 // ( @nUnicode, nSize ) -> cQString - METHOD localeAwareCompare_2 // ( cS1, cS2 ) -> nInt - METHOD localeAwareCompare_3 // ( cS1, oQStringRef ) -> nInt - METHOD number // ( nN, nBase ) -> cQString - METHOD number_1 // ( nN, nFormat, nPrecision ) -> cQString - METHOD number_2 // ( nN, nBase ) -> cQString - METHOD number_3 // ( nN, nBase ) -> cQString - METHOD number_4 // ( nN, nBase ) -> cQString - METHOD number_5 // ( nN, nBase ) -> cQString - METHOD number_6 // ( nN, nBase ) -> cQString - - ENDCLASS - - -METHOD HBQString:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQString( ... ) - RETURN Self - - -METHOD HBQString:append( ... ) - RETURN Qt_HBQString_append( ::pPtr, ... ) - - -METHOD HBQString:append_1( ... ) - RETURN Qt_HBQString_append_1( ::pPtr, ... ) - - -METHOD HBQString:append_2( ... ) - RETURN Qt_HBQString_append_2( ::pPtr, ... ) - - -METHOD HBQString:append_3( ... ) - RETURN Qt_HBQString_append_3( ::pPtr, ... ) - - -METHOD HBQString:append_4( ... ) - RETURN Qt_HBQString_append_4( ::pPtr, ... ) - - -METHOD HBQString:append_5( ... ) - RETURN Qt_HBQString_append_5( ::pPtr, ... ) - - -METHOD HBQString:arg( ... ) - RETURN Qt_HBQString_arg( ::pPtr, ... ) - - -METHOD HBQString:arg_1( ... ) - RETURN Qt_HBQString_arg_1( ::pPtr, ... ) - - -METHOD HBQString:arg_2( ... ) - RETURN Qt_HBQString_arg_2( ::pPtr, ... ) - - -METHOD HBQString:arg_3( ... ) - RETURN Qt_HBQString_arg_3( ::pPtr, ... ) - - -METHOD HBQString:arg_4( ... ) - RETURN Qt_HBQString_arg_4( ::pPtr, ... ) - - -METHOD HBQString:arg_5( ... ) - RETURN Qt_HBQString_arg_5( ::pPtr, ... ) - - -METHOD HBQString:arg_6( ... ) - RETURN Qt_HBQString_arg_6( ::pPtr, ... ) - - -METHOD HBQString:arg_7( ... ) - RETURN Qt_HBQString_arg_7( ::pPtr, ... ) - - -METHOD HBQString:arg_8( ... ) - RETURN Qt_HBQString_arg_8( ::pPtr, ... ) - - -METHOD HBQString:arg_9( ... ) - RETURN Qt_HBQString_arg_9( ::pPtr, ... ) - - -METHOD HBQString:arg_10( ... ) - RETURN Qt_HBQString_arg_10( ::pPtr, ... ) - - -METHOD HBQString:arg_11( ... ) - RETURN Qt_HBQString_arg_11( ::pPtr, ... ) - - -METHOD HBQString:arg_12( ... ) - RETURN Qt_HBQString_arg_12( ::pPtr, ... ) - - -METHOD HBQString:arg_13( ... ) - RETURN Qt_HBQString_arg_13( ::pPtr, ... ) - - -METHOD HBQString:arg_14( ... ) - RETURN Qt_HBQString_arg_14( ::pPtr, ... ) - - -METHOD HBQString:arg_15( ... ) - RETURN Qt_HBQString_arg_15( ::pPtr, ... ) - - -METHOD HBQString:arg_16( ... ) - RETURN Qt_HBQString_arg_16( ::pPtr, ... ) - - -METHOD HBQString:arg_17( ... ) - RETURN Qt_HBQString_arg_17( ::pPtr, ... ) - - -METHOD HBQString:arg_18( ... ) - RETURN Qt_HBQString_arg_18( ::pPtr, ... ) - - -METHOD HBQString:arg_19( ... ) - RETURN Qt_HBQString_arg_19( ::pPtr, ... ) - - -METHOD HBQString:at( ... ) - RETURN QCharFromPointer( Qt_HBQString_at( ::pPtr, ... ) ) - - -METHOD HBQString:capacity( ... ) - RETURN Qt_HBQString_capacity( ::pPtr, ... ) - - -METHOD HBQString:chop( ... ) - RETURN Qt_HBQString_chop( ::pPtr, ... ) - - -METHOD HBQString:clear( ... ) - RETURN Qt_HBQString_clear( ::pPtr, ... ) - - -METHOD HBQString:compare( ... ) - RETURN Qt_HBQString_compare( ::pPtr, ... ) - - -METHOD HBQString:compare_1( ... ) - RETURN Qt_HBQString_compare_1( ::pPtr, ... ) - - -METHOD HBQString:compare_2( ... ) - RETURN Qt_HBQString_compare_2( ::pPtr, ... ) - - -METHOD HBQString:compare_3( ... ) - RETURN Qt_HBQString_compare_3( ::pPtr, ... ) - - -METHOD HBQString:constData( ... ) - RETURN QCharFromPointer( Qt_HBQString_constData( ::pPtr, ... ) ) - - -METHOD HBQString:count( ... ) - RETURN Qt_HBQString_count( ::pPtr, ... ) - - -METHOD HBQString:count_1( ... ) - RETURN Qt_HBQString_count_1( ::pPtr, ... ) - - -METHOD HBQString:count_2( ... ) - RETURN Qt_HBQString_count_2( ::pPtr, ... ) - - -METHOD HBQString:count_3( ... ) - RETURN Qt_HBQString_count_3( ::pPtr, ... ) - - -METHOD HBQString:data( ... ) - RETURN QCharFromPointer( Qt_HBQString_data( ::pPtr, ... ) ) - - -METHOD HBQString:data_1( ... ) - RETURN QCharFromPointer( Qt_HBQString_data_1( ::pPtr, ... ) ) - - -METHOD HBQString:endsWith( ... ) - RETURN Qt_HBQString_endsWith( ::pPtr, ... ) - - -METHOD HBQString:endsWith_1( ... ) - RETURN Qt_HBQString_endsWith_1( ::pPtr, ... ) - - -METHOD HBQString:endsWith_2( ... ) - RETURN Qt_HBQString_endsWith_2( ::pPtr, ... ) - - -METHOD HBQString:fill( ... ) - RETURN Qt_HBQString_fill( ::pPtr, ... ) - - -METHOD HBQString:indexOf( ... ) - RETURN Qt_HBQString_indexOf( ::pPtr, ... ) - - -METHOD HBQString:indexOf_1( ... ) - RETURN Qt_HBQString_indexOf_1( ::pPtr, ... ) - - -METHOD HBQString:indexOf_2( ... ) - RETURN Qt_HBQString_indexOf_2( ::pPtr, ... ) - - -METHOD HBQString:indexOf_3( ... ) - RETURN Qt_HBQString_indexOf_3( ::pPtr, ... ) - - -METHOD HBQString:indexOf_4( ... ) - RETURN Qt_HBQString_indexOf_4( ::pPtr, ... ) - - -METHOD HBQString:insert( ... ) - RETURN Qt_HBQString_insert( ::pPtr, ... ) - - -METHOD HBQString:insert_1( ... ) - RETURN Qt_HBQString_insert_1( ::pPtr, ... ) - - -METHOD HBQString:insert_2( ... ) - RETURN Qt_HBQString_insert_2( ::pPtr, ... ) - - -METHOD HBQString:insert_3( ... ) - RETURN Qt_HBQString_insert_3( ::pPtr, ... ) - - -METHOD HBQString:isEmpty( ... ) - RETURN Qt_HBQString_isEmpty( ::pPtr, ... ) - - -METHOD HBQString:isNull( ... ) - RETURN Qt_HBQString_isNull( ::pPtr, ... ) - - -METHOD HBQString:lastIndexOf( ... ) - RETURN Qt_HBQString_lastIndexOf( ::pPtr, ... ) - - -METHOD HBQString:lastIndexOf_1( ... ) - RETURN Qt_HBQString_lastIndexOf_1( ::pPtr, ... ) - - -METHOD HBQString:lastIndexOf_2( ... ) - RETURN Qt_HBQString_lastIndexOf_2( ::pPtr, ... ) - - -METHOD HBQString:lastIndexOf_3( ... ) - RETURN Qt_HBQString_lastIndexOf_3( ::pPtr, ... ) - - -METHOD HBQString:lastIndexOf_4( ... ) - RETURN Qt_HBQString_lastIndexOf_4( ::pPtr, ... ) - - -METHOD HBQString:left( ... ) - RETURN Qt_HBQString_left( ::pPtr, ... ) - - -METHOD HBQString:leftJustified( ... ) - RETURN Qt_HBQString_leftJustified( ::pPtr, ... ) - - -METHOD HBQString:leftRef( ... ) - RETURN QStringRefFromPointer( Qt_HBQString_leftRef( ::pPtr, ... ) ) - - -METHOD HBQString:length( ... ) - RETURN Qt_HBQString_length( ::pPtr, ... ) - - -METHOD HBQString:localeAwareCompare( ... ) - RETURN Qt_HBQString_localeAwareCompare( ::pPtr, ... ) - - -METHOD HBQString:localeAwareCompare_1( ... ) - RETURN Qt_HBQString_localeAwareCompare_1( ::pPtr, ... ) - - -METHOD HBQString:mid( ... ) - RETURN Qt_HBQString_mid( ::pPtr, ... ) - - -METHOD HBQString:midRef( ... ) - RETURN QStringRefFromPointer( Qt_HBQString_midRef( ::pPtr, ... ) ) - - -METHOD HBQString:normalized( ... ) - RETURN Qt_HBQString_normalized( ::pPtr, ... ) - - -METHOD HBQString:normalized_1( ... ) - RETURN Qt_HBQString_normalized_1( ::pPtr, ... ) - - -METHOD HBQString:prepend( ... ) - RETURN Qt_HBQString_prepend( ::pPtr, ... ) - - -METHOD HBQString:prepend_1( ... ) - RETURN Qt_HBQString_prepend_1( ::pPtr, ... ) - - -METHOD HBQString:prepend_2( ... ) - RETURN Qt_HBQString_prepend_2( ::pPtr, ... ) - - -METHOD HBQString:prepend_3( ... ) - RETURN Qt_HBQString_prepend_3( ::pPtr, ... ) - - -METHOD HBQString:prepend_4( ... ) - RETURN Qt_HBQString_prepend_4( ::pPtr, ... ) - - -METHOD HBQString:push_back( ... ) - RETURN Qt_HBQString_push_back( ::pPtr, ... ) - - -METHOD HBQString:push_back_1( ... ) - RETURN Qt_HBQString_push_back_1( ::pPtr, ... ) - - -METHOD HBQString:push_front( ... ) - RETURN Qt_HBQString_push_front( ::pPtr, ... ) - - -METHOD HBQString:push_front_1( ... ) - RETURN Qt_HBQString_push_front_1( ::pPtr, ... ) - - -METHOD HBQString:remove( ... ) - RETURN Qt_HBQString_remove( ::pPtr, ... ) - - -METHOD HBQString:remove_1( ... ) - RETURN Qt_HBQString_remove_1( ::pPtr, ... ) - - -METHOD HBQString:remove_2( ... ) - RETURN Qt_HBQString_remove_2( ::pPtr, ... ) - - -METHOD HBQString:remove_3( ... ) - RETURN Qt_HBQString_remove_3( ::pPtr, ... ) - - -METHOD HBQString:repeated( ... ) - RETURN Qt_HBQString_repeated( ::pPtr, ... ) - - -METHOD HBQString:replace( ... ) - RETURN Qt_HBQString_replace( ::pPtr, ... ) - - -METHOD HBQString:replace_1( ... ) - RETURN Qt_HBQString_replace_1( ::pPtr, ... ) - - -METHOD HBQString:replace_2( ... ) - RETURN Qt_HBQString_replace_2( ::pPtr, ... ) - - -METHOD HBQString:replace_3( ... ) - RETURN Qt_HBQString_replace_3( ::pPtr, ... ) - - -METHOD HBQString:replace_4( ... ) - RETURN Qt_HBQString_replace_4( ::pPtr, ... ) - - -METHOD HBQString:replace_5( ... ) - RETURN Qt_HBQString_replace_5( ::pPtr, ... ) - - -METHOD HBQString:replace_6( ... ) - RETURN Qt_HBQString_replace_6( ::pPtr, ... ) - - -METHOD HBQString:replace_7( ... ) - RETURN Qt_HBQString_replace_7( ::pPtr, ... ) - - -METHOD HBQString:replace_8( ... ) - RETURN Qt_HBQString_replace_8( ::pPtr, ... ) - - -METHOD HBQString:replace_9( ... ) - RETURN Qt_HBQString_replace_9( ::pPtr, ... ) - - -METHOD HBQString:replace_10( ... ) - RETURN Qt_HBQString_replace_10( ::pPtr, ... ) - - -METHOD HBQString:replace_11( ... ) - RETURN Qt_HBQString_replace_11( ::pPtr, ... ) - - -METHOD HBQString:reserve( ... ) - RETURN Qt_HBQString_reserve( ::pPtr, ... ) - - -METHOD HBQString:resize( ... ) - RETURN Qt_HBQString_resize( ::pPtr, ... ) - - -METHOD HBQString:right( ... ) - RETURN Qt_HBQString_right( ::pPtr, ... ) - - -METHOD HBQString:rightJustified( ... ) - RETURN Qt_HBQString_rightJustified( ::pPtr, ... ) - - -METHOD HBQString:rightRef( ... ) - RETURN QStringRefFromPointer( Qt_HBQString_rightRef( ::pPtr, ... ) ) - - -METHOD HBQString:section( ... ) - RETURN Qt_HBQString_section( ::pPtr, ... ) - - -METHOD HBQString:section_1( ... ) - RETURN Qt_HBQString_section_1( ::pPtr, ... ) - - -METHOD HBQString:section_2( ... ) - RETURN Qt_HBQString_section_2( ::pPtr, ... ) - - -METHOD HBQString:setNum( ... ) - RETURN Qt_HBQString_setNum( ::pPtr, ... ) - - -METHOD HBQString:setNum_1( ... ) - RETURN Qt_HBQString_setNum_1( ::pPtr, ... ) - - -METHOD HBQString:setNum_2( ... ) - RETURN Qt_HBQString_setNum_2( ::pPtr, ... ) - - -METHOD HBQString:setNum_3( ... ) - RETURN Qt_HBQString_setNum_3( ::pPtr, ... ) - - -METHOD HBQString:setNum_4( ... ) - RETURN Qt_HBQString_setNum_4( ::pPtr, ... ) - - -METHOD HBQString:setNum_5( ... ) - RETURN Qt_HBQString_setNum_5( ::pPtr, ... ) - - -METHOD HBQString:setNum_6( ... ) - RETURN Qt_HBQString_setNum_6( ::pPtr, ... ) - - -METHOD HBQString:setNum_7( ... ) - RETURN Qt_HBQString_setNum_7( ::pPtr, ... ) - - -METHOD HBQString:setNum_8( ... ) - RETURN Qt_HBQString_setNum_8( ::pPtr, ... ) - - -METHOD HBQString:setNum_9( ... ) - RETURN Qt_HBQString_setNum_9( ::pPtr, ... ) - - -METHOD HBQString:setUnicode( ... ) - RETURN Qt_HBQString_setUnicode( ::pPtr, ... ) - - -METHOD HBQString:setUtf16( ... ) - RETURN Qt_HBQString_setUtf16( ::pPtr, ... ) - - -METHOD HBQString:simplified( ... ) - RETURN Qt_HBQString_simplified( ::pPtr, ... ) - - -METHOD HBQString:size( ... ) - RETURN Qt_HBQString_size( ::pPtr, ... ) - - -METHOD HBQString:split( ... ) - RETURN QStringListFromPointer( Qt_HBQString_split( ::pPtr, ... ) ) - - -METHOD HBQString:split_1( ... ) - RETURN QStringListFromPointer( Qt_HBQString_split_1( ::pPtr, ... ) ) - - -METHOD HBQString:split_2( ... ) - RETURN QStringListFromPointer( Qt_HBQString_split_2( ::pPtr, ... ) ) - - -METHOD HBQString:squeeze( ... ) - RETURN Qt_HBQString_squeeze( ::pPtr, ... ) - - -METHOD HBQString:startsWith( ... ) - RETURN Qt_HBQString_startsWith( ::pPtr, ... ) - - -METHOD HBQString:startsWith_1( ... ) - RETURN Qt_HBQString_startsWith_1( ::pPtr, ... ) - - -METHOD HBQString:startsWith_2( ... ) - RETURN Qt_HBQString_startsWith_2( ::pPtr, ... ) - - -METHOD HBQString:toAscii( ... ) - RETURN QByteArrayFromPointer( Qt_HBQString_toAscii( ::pPtr, ... ) ) - - -METHOD HBQString:toCaseFolded( ... ) - RETURN Qt_HBQString_toCaseFolded( ::pPtr, ... ) - - -METHOD HBQString:toDouble( ... ) - RETURN Qt_HBQString_toDouble( ::pPtr, ... ) - - -METHOD HBQString:toFloat( ... ) - RETURN Qt_HBQString_toFloat( ::pPtr, ... ) - - -METHOD HBQString:toInt( ... ) - RETURN Qt_HBQString_toInt( ::pPtr, ... ) - - -METHOD HBQString:toLatin1( ... ) - RETURN QByteArrayFromPointer( Qt_HBQString_toLatin1( ::pPtr, ... ) ) - - -METHOD HBQString:toLocal8Bit( ... ) - RETURN QByteArrayFromPointer( Qt_HBQString_toLocal8Bit( ::pPtr, ... ) ) - - -METHOD HBQString:toLong( ... ) - RETURN Qt_HBQString_toLong( ::pPtr, ... ) - - -METHOD HBQString:toLongLong( ... ) - RETURN Qt_HBQString_toLongLong( ::pPtr, ... ) - - -METHOD HBQString:toLower( ... ) - RETURN Qt_HBQString_toLower( ::pPtr, ... ) - - -METHOD HBQString:toShort( ... ) - RETURN Qt_HBQString_toShort( ::pPtr, ... ) - - -METHOD HBQString:toUInt( ... ) - RETURN Qt_HBQString_toUInt( ::pPtr, ... ) - - -METHOD HBQString:toULong( ... ) - RETURN Qt_HBQString_toULong( ::pPtr, ... ) - - -METHOD HBQString:toULongLong( ... ) - RETURN Qt_HBQString_toULongLong( ::pPtr, ... ) - - -METHOD HBQString:toUShort( ... ) - RETURN Qt_HBQString_toUShort( ::pPtr, ... ) - - -METHOD HBQString:toUpper( ... ) - RETURN Qt_HBQString_toUpper( ::pPtr, ... ) - - -METHOD HBQString:toUtf8( ... ) - RETURN QByteArrayFromPointer( Qt_HBQString_toUtf8( ::pPtr, ... ) ) - - -METHOD HBQString:trimmed( ... ) - RETURN Qt_HBQString_trimmed( ::pPtr, ... ) - - -METHOD HBQString:truncate( ... ) - RETURN Qt_HBQString_truncate( ::pPtr, ... ) - - -METHOD HBQString:unicode( ... ) - RETURN QCharFromPointer( Qt_HBQString_unicode( ::pPtr, ... ) ) - - -METHOD HBQString:compare_4( ... ) - RETURN Qt_HBQString_compare_4( ::pPtr, ... ) - - -METHOD HBQString:compare_5( ... ) - RETURN Qt_HBQString_compare_5( ::pPtr, ... ) - - -METHOD HBQString:compare_6( ... ) - RETURN Qt_HBQString_compare_6( ::pPtr, ... ) - - -METHOD HBQString:compare_7( ... ) - RETURN Qt_HBQString_compare_7( ::pPtr, ... ) - - -METHOD HBQString:compare_8( ... ) - RETURN Qt_HBQString_compare_8( ::pPtr, ... ) - - -METHOD HBQString:fromAscii( ... ) - RETURN Qt_HBQString_fromAscii( ::pPtr, ... ) - - -METHOD HBQString:fromLatin1( ... ) - RETURN Qt_HBQString_fromLatin1( ::pPtr, ... ) - - -METHOD HBQString:fromLocal8Bit( ... ) - RETURN Qt_HBQString_fromLocal8Bit( ::pPtr, ... ) - - -METHOD HBQString:fromRawData( ... ) - RETURN Qt_HBQString_fromRawData( ::pPtr, ... ) - - -METHOD HBQString:fromUcs4( ... ) - RETURN Qt_HBQString_fromUcs4( ::pPtr, ... ) - - -METHOD HBQString:fromUtf8( ... ) - RETURN Qt_HBQString_fromUtf8( ::pPtr, ... ) - - -METHOD HBQString:fromUtf16( ... ) - RETURN Qt_HBQString_fromUtf16( ::pPtr, ... ) - - -METHOD HBQString:localeAwareCompare_2( ... ) - RETURN Qt_HBQString_localeAwareCompare_2( ::pPtr, ... ) - - -METHOD HBQString:localeAwareCompare_3( ... ) - RETURN Qt_HBQString_localeAwareCompare_3( ::pPtr, ... ) - - -METHOD HBQString:number( ... ) - RETURN Qt_HBQString_number( ::pPtr, ... ) - - -METHOD HBQString:number_1( ... ) - RETURN Qt_HBQString_number_1( ::pPtr, ... ) - - -METHOD HBQString:number_2( ... ) - RETURN Qt_HBQString_number_2( ::pPtr, ... ) - - -METHOD HBQString:number_3( ... ) - RETURN Qt_HBQString_number_3( ::pPtr, ... ) - - -METHOD HBQString:number_4( ... ) - RETURN Qt_HBQString_number_4( ::pPtr, ... ) - - -METHOD HBQString:number_5( ... ) - RETURN Qt_HBQString_number_5( ::pPtr, ... ) - - -METHOD HBQString:number_6( ... ) - RETURN Qt_HBQString_number_6( ::pPtr, ... ) - diff --git a/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg b/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg deleted file mode 100644 index 45c97a2850..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQAbstractItemModel.prg +++ /dev/null @@ -1,542 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QAbstractItemModel( ... ) - RETURN HB_QAbstractItemModel():new( ... ) - -FUNCTION QAbstractItemModelFromPointer( ... ) - RETURN HB_QAbstractItemModel():fromPointer( ... ) - - -CREATE CLASS QAbstractItemModel INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QAbstractItemModel - - METHOD new( ... ) - - METHOD buddy // ( oQModelIndex ) -> oQModelIndex - METHOD canFetchMore // ( oQModelIndex ) -> lBool - METHOD columnCount // ( oQModelIndex ) -> nInt - METHOD data // ( oQModelIndex, nRole ) -> oQVariant - METHOD dropMimeData // ( oQMimeData, nAction, nRow, nColumn, oQModelIndex ) -> lBool - METHOD fetchMore // ( oQModelIndex ) -> NIL - METHOD flags // ( oQModelIndex ) -> nQt_ItemFlags - METHOD hasChildren // ( oQModelIndex ) -> lBool - METHOD hasIndex // ( nRow, nColumn, oQModelIndex ) -> lBool - METHOD headerData // ( nSection, nOrientation, nRole ) -> oQVariant - METHOD index // ( nRow, nColumn, oQModelIndex ) -> oQModelIndex - METHOD insertColumn // ( nColumn, oQModelIndex ) -> lBool - METHOD insertColumns // ( nColumn, nCount, oQModelIndex ) -> lBool - METHOD insertRow // ( nRow, oQModelIndex ) -> lBool - METHOD insertRows // ( nRow, nCount, oQModelIndex ) -> lBool - METHOD mimeTypes // ( ) -> oQStringList - METHOD parent // ( oQModelIndex ) -> oQModelIndex - METHOD removeColumn // ( nColumn, oQModelIndex ) -> lBool - METHOD removeColumns // ( nColumn, nCount, oQModelIndex ) -> lBool - METHOD removeRow // ( nRow, oQModelIndex ) -> lBool - METHOD removeRows // ( nRow, nCount, oQModelIndex ) -> lBool - METHOD rowCount // ( oQModelIndex ) -> nInt - METHOD setData // ( oQModelIndex, oQVariant, nRole ) -> lBool - METHOD setHeaderData // ( nSection, nOrientation, oQVariant, nRole ) -> lBool - METHOD setSupportedDragActions // ( nActions ) -> NIL - METHOD sibling // ( nRow, nColumn, oQModelIndex ) -> oQModelIndex - METHOD sort // ( nColumn, nOrder ) -> NIL - METHOD span // ( oQModelIndex ) -> oQSize - METHOD supportedDragActions // ( ) -> nQt_DropActions - METHOD supportedDropActions // ( ) -> nQt_DropActions - METHOD revert // ( ) -> NIL - METHOD submit // ( ) -> lBool - - ENDCLASS - - -METHOD QAbstractItemModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractItemModel( ... ) - RETURN Self - - -METHOD QAbstractItemModel:buddy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractItemModel_buddy( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:canFetchMore( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_canFetchMore( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:columnCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_columnCount( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QAbstractItemModel_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:data( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QAbstractItemModel_data( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QAbstractItemModel_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:dropMimeData( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) - RETURN Qt_QAbstractItemModel_dropMimeData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:fetchMore( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_fetchMore( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:flags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_flags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:hasChildren( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_hasChildren( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QAbstractItemModel_hasChildren( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:hasIndex( ... ) - 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_QAbstractItemModel_hasIndex( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_hasIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:headerData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QVariantFromPointer( Qt_QAbstractItemModel_headerData( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QAbstractItemModel_headerData( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:index( ... ) - 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 QModelIndexFromPointer( Qt_QAbstractItemModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractItemModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:insertColumn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_insertColumn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_insertColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:insertColumns( ... ) - 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_QAbstractItemModel_insertColumns( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_insertColumns( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:insertRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_insertRow( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_insertRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:insertRows( ... ) - 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_QAbstractItemModel_insertRows( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_insertRows( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:mimeTypes( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QAbstractItemModel_mimeTypes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:parent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractItemModel_parent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:removeColumn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_removeColumn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_removeColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:removeColumns( ... ) - 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_QAbstractItemModel_removeColumns( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_removeColumns( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:removeRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_removeRow( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_removeRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:removeRows( ... ) - 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_QAbstractItemModel_removeRows( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_removeRows( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:rowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_rowCount( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QAbstractItemModel_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:setData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QAbstractItemModel_setData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:setHeaderData( ... ) - SWITCH PCount() - CASE 4 - 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 ) ) - RETURN Qt_QAbstractItemModel_setHeaderData( ::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_QAbstractItemModel_setHeaderData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:setSupportedDragActions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_setSupportedDragActions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:sibling( ... ) - 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 QModelIndexFromPointer( Qt_QAbstractItemModel_sibling( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:sort( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemModel_sort( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemModel_sort( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:span( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFromPointer( Qt_QAbstractItemModel_span( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:supportedDragActions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemModel_supportedDragActions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:supportedDropActions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemModel_supportedDropActions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:revert( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemModel_revert( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemModel:submit( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemModel_submit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg b/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg deleted file mode 100644 index c0c6699d5c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQAbstractListModel.prg +++ /dev/null @@ -1,75 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QAbstractListModel( ... ) - RETURN HB_QAbstractListModel():new( ... ) - -FUNCTION QAbstractListModelFromPointer( ... ) - RETURN HB_QAbstractListModel():fromPointer( ... ) - - -CREATE CLASS QAbstractListModel INHERIT HbQtObjectHandler, HB_QAbstractItemModel FUNCTION HB_QAbstractListModel - - METHOD new( ... ) - - METHOD index // ( nRow, nColumn, oQModelIndex ) -> oQModelIndex - - ENDCLASS - - -METHOD QAbstractListModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractListModel( ... ) - RETURN Self - - -METHOD QAbstractListModel:index( ... ) - 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 QModelIndexFromPointer( Qt_QAbstractListModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractListModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractListModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg b/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg deleted file mode 100644 index 39197da302..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQAbstractTableModel.prg +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QAbstractTableModel( ... ) - RETURN HB_QAbstractTableModel():new( ... ) - -FUNCTION QAbstractTableModelFromPointer( ... ) - RETURN HB_QAbstractTableModel():fromPointer( ... ) - - -CREATE CLASS QAbstractTableModel INHERIT HbQtObjectHandler, HB_QAbstractItemModel FUNCTION HB_QAbstractTableModel - - METHOD new( ... ) - - METHOD index // ( nRow, nColumn, oQModelIndex ) -> oQModelIndex - - ENDCLASS - - -METHOD QAbstractTableModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractTableModel( ... ) - RETURN Self - - -METHOD QAbstractTableModel:index( ... ) - 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 QModelIndexFromPointer( Qt_QAbstractTableModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractTableModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg b/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg deleted file mode 100644 index d336939127..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQBitArray.prg +++ /dev/null @@ -1,226 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QBitArray( ... ) - RETURN HB_QBitArray():new( ... ) - -FUNCTION QBitArrayFromPointer( ... ) - RETURN HB_QBitArray():fromPointer( ... ) - - -CREATE CLASS QBitArray INHERIT HbQtObjectHandler FUNCTION HB_QBitArray - - METHOD new( ... ) - - METHOD at // ( nI ) -> lBool - METHOD clear // ( ) -> NIL - METHOD clearBit // ( nI ) -> NIL - METHOD count // ( ) -> nInt - // ( lOn ) -> nInt - METHOD fill // ( lValue, nSize ) -> lBool - // ( lValue, nBegin, nEnd ) -> NIL - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD resize // ( nSize ) -> NIL - METHOD setBit // ( nI ) -> NIL - // ( nI, lValue ) -> NIL - METHOD size // ( ) -> nInt - METHOD testBit // ( nI ) -> lBool - METHOD toggleBit // ( nI ) -> lBool - METHOD truncate // ( nPos ) -> NIL - - ENDCLASS - - -METHOD QBitArray:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QBitArray( ... ) - RETURN Self - - -METHOD QBitArray:at( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_at( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBitArray_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:clearBit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_clearBit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:count( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_count_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QBitArray_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:fill( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBitArray_fill( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_fill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBitArray_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBitArray_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:resize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_resize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:setBit( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QBitArray_setBit_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_setBit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBitArray_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:testBit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_testBit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:toggleBit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_toggleBit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitArray:truncate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBitArray_truncate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg b/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg deleted file mode 100644 index 30f8a54ca0..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQBuffer.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QBuffer( ... ) - RETURN HB_QBuffer():new( ... ) - -FUNCTION QBufferFromPointer( ... ) - RETURN HB_QBuffer():fromPointer( ... ) - - -CREATE CLASS QBuffer INHERIT HbQtObjectHandler, HB_QIODevice FUNCTION HB_QBuffer - - METHOD new( ... ) - - METHOD buffer // ( ) -> oQByteArray - METHOD data // ( ) -> oQByteArray - METHOD setBuffer // ( oQByteArray ) -> NIL - METHOD setData // ( cData, nSize ) -> NIL - // ( oQByteArray ) -> NIL - - ENDCLASS - - -METHOD QBuffer:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QBuffer( ... ) - RETURN Self - - -METHOD QBuffer:buffer( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QBuffer_buffer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBuffer:data( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QBuffer_data( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBuffer:setBuffer( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBuffer_setBuffer( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBuffer:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBuffer_setData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBuffer_setData_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg b/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg deleted file mode 100644 index fd0186ef1d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQByteArray.prg +++ /dev/null @@ -1,540 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QByteArray( ... ) - RETURN HB_QByteArray():new( ... ) - -FUNCTION QByteArrayFromPointer( ... ) - RETURN HB_QByteArray():fromPointer( ... ) - - -CREATE CLASS QByteArray INHERIT HbQtObjectHandler FUNCTION HB_QByteArray - - METHOD new( ... ) - - METHOD append // ( oQByteArray ) -> oQByteArray - METHOD append_1 // ( cStr ) -> oQByteArray - METHOD append_2 // ( cStr ) -> oQByteArray - METHOD append_3 // ( cStr, nLen ) -> oQByteArray - METHOD append_4 // ( nCh ) -> oQByteArray - METHOD at // ( nI ) -> cChar - METHOD capacity // ( ) -> nInt - METHOD chop // ( nN ) -> NIL - METHOD clear // ( ) -> NIL - METHOD constData // ( ) -> cChar - METHOD count // ( oQByteArray ) -> nInt - METHOD count_1 // ( cStr ) -> nInt - METHOD count_2 // ( nCh ) -> nInt - METHOD count_3 // ( ) -> nInt - METHOD data // ( ) -> cChar - METHOD data_1 // ( ) -> cChar - METHOD endsWith // ( oQByteArray ) -> lBool - METHOD endsWith_1 // ( cStr ) -> lBool - METHOD endsWith_2 // ( nCh ) -> lBool - METHOD fill // ( nCh, nSize ) -> oQByteArray - METHOD indexOf // ( oQByteArray, nFrom ) -> nInt - METHOD indexOf_1 // ( cStr, nFrom ) -> nInt - METHOD indexOf_2 // ( cStr, nFrom ) -> nInt - METHOD indexOf_3 // ( nCh, nFrom ) -> nInt - METHOD insert // ( nI, oQByteArray ) -> oQByteArray - METHOD insert_1 // ( nI, cStr ) -> oQByteArray - METHOD insert_2 // ( nI, cStr ) -> oQByteArray - METHOD insert_3 // ( nI, nCh ) -> oQByteArray - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD lastIndexOf // ( oQByteArray, nFrom ) -> nInt - METHOD lastIndexOf_1 // ( cStr, nFrom ) -> nInt - METHOD lastIndexOf_2 // ( cStr, nFrom ) -> nInt - METHOD lastIndexOf_3 // ( nCh, nFrom ) -> nInt - METHOD left // ( nLen ) -> oQByteArray - METHOD leftJustified // ( nWidth, nFill, lTruncate ) -> oQByteArray - METHOD length // ( ) -> nInt - METHOD mid // ( nPos, nLen ) -> oQByteArray - METHOD prepend // ( oQByteArray ) -> oQByteArray - METHOD prepend_1 // ( cStr ) -> oQByteArray - METHOD prepend_2 // ( nCh ) -> oQByteArray - METHOD push_back // ( oQByteArray ) -> NIL - METHOD push_back_1 // ( cStr ) -> NIL - METHOD push_back_2 // ( nCh ) -> NIL - METHOD push_front // ( oQByteArray ) -> NIL - METHOD push_front_1 // ( cStr ) -> NIL - METHOD push_front_2 // ( nCh ) -> NIL - METHOD remove // ( nPos, nLen ) -> oQByteArray - METHOD repeated // ( nTimes ) -> oQByteArray - METHOD replace // ( nPos, nLen, oQByteArray ) -> oQByteArray - METHOD replace_1 // ( nPos, nLen, cAfter ) -> oQByteArray - METHOD replace_2 // ( oQByteArray, oQByteArray ) -> oQByteArray - METHOD replace_3 // ( cBefore, oQByteArray ) -> oQByteArray - METHOD replace_4 // ( cBefore, nBsize, cAfter, nAsize ) -> oQByteArray - METHOD replace_5 // ( oQByteArray, cAfter ) -> oQByteArray - METHOD replace_6 // ( cBefore, oQByteArray ) -> oQByteArray - METHOD replace_7 // ( cBefore, cAfter ) -> oQByteArray - METHOD replace_8 // ( cBefore, cAfter ) -> oQByteArray - METHOD replace_9 // ( nBefore, oQByteArray ) -> oQByteArray - METHOD replace_10 // ( nBefore, cAfter ) -> oQByteArray - METHOD replace_11 // ( nBefore, cAfter ) -> oQByteArray - METHOD replace_12 // ( nBefore, nAfter ) -> oQByteArray - METHOD reserve // ( nSize ) -> NIL - METHOD resize // ( nSize ) -> NIL - METHOD right // ( nLen ) -> oQByteArray - METHOD rightJustified // ( nWidth, nFill, lTruncate ) -> oQByteArray - METHOD setNum // ( nN, nBase ) -> oQByteArray - METHOD setNum_1 // ( nN, nBase ) -> oQByteArray - METHOD setNum_2 // ( nN, nBase ) -> oQByteArray - METHOD setNum_3 // ( nN, nBase ) -> oQByteArray - METHOD setNum_4 // ( nN, nBase ) -> oQByteArray - METHOD setNum_5 // ( nN, nBase ) -> oQByteArray - METHOD setNum_6 // ( nN, nF, nPrec ) -> oQByteArray - METHOD setNum_7 // ( nN, nF, nPrec ) -> oQByteArray - METHOD simplified // ( ) -> oQByteArray - METHOD size // ( ) -> nInt - METHOD split // ( nSep ) -> oQList_QByteArray> - METHOD squeeze // ( ) -> NIL - METHOD startsWith // ( oQByteArray ) -> lBool - METHOD startsWith_1 // ( cStr ) -> lBool - METHOD startsWith_2 // ( nCh ) -> lBool - METHOD toBase64 // ( ) -> oQByteArray - METHOD toDouble // ( @lOk ) -> nDouble - METHOD toFloat // ( @lOk ) -> nFloat - METHOD toHex // ( ) -> oQByteArray - METHOD toInt // ( @lOk, nBase ) -> nInt - METHOD toLong // ( @lOk, nBase ) -> nLong - METHOD toLongLong // ( @lOk, nBase ) -> nQlonglong - METHOD toLower // ( ) -> oQByteArray - METHOD toPercentEncoding // ( oQByteArray, oQByteArray, nPercent ) -> oQByteArray - METHOD toShort // ( @lOk, nBase ) -> nShort - METHOD toUInt // ( @lOk, nBase ) -> nUint - METHOD toULong // ( @lOk, nBase ) -> nUlong - METHOD toULongLong // ( @lOk, nBase ) -> nQulonglong - METHOD toUShort // ( @lOk, nBase ) -> nUshort - METHOD toUpper // ( ) -> oQByteArray - METHOD trimmed // ( ) -> oQByteArray - METHOD truncate // ( nPos ) -> NIL - - ENDCLASS - - -METHOD QByteArray:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QByteArray( ... ) - RETURN Self - - -METHOD QByteArray:append( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_append( ::pPtr, ... ) ) - - -METHOD QByteArray:append_1( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_append_1( ::pPtr, ... ) ) - - -METHOD QByteArray:append_2( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_append_2( ::pPtr, ... ) ) - - -METHOD QByteArray:append_3( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_append_3( ::pPtr, ... ) ) - - -METHOD QByteArray:append_4( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_append_4( ::pPtr, ... ) ) - - -METHOD QByteArray:at( ... ) - RETURN Qt_QByteArray_at( ::pPtr, ... ) - - -METHOD QByteArray:capacity( ... ) - RETURN Qt_QByteArray_capacity( ::pPtr, ... ) - - -METHOD QByteArray:chop( ... ) - RETURN Qt_QByteArray_chop( ::pPtr, ... ) - - -METHOD QByteArray:clear( ... ) - RETURN Qt_QByteArray_clear( ::pPtr, ... ) - - -METHOD QByteArray:constData( ... ) - RETURN Qt_QByteArray_constData( ::pPtr, ... ) - - -METHOD QByteArray:count( ... ) - RETURN Qt_QByteArray_count( ::pPtr, ... ) - - -METHOD QByteArray:count_1( ... ) - RETURN Qt_QByteArray_count_1( ::pPtr, ... ) - - -METHOD QByteArray:count_2( ... ) - RETURN Qt_QByteArray_count_2( ::pPtr, ... ) - - -METHOD QByteArray:count_3( ... ) - RETURN Qt_QByteArray_count_3( ::pPtr, ... ) - - -METHOD QByteArray:data( ... ) - RETURN Qt_QByteArray_data( ::pPtr, ... ) - - -METHOD QByteArray:data_1( ... ) - RETURN Qt_QByteArray_data_1( ::pPtr, ... ) - - -METHOD QByteArray:endsWith( ... ) - RETURN Qt_QByteArray_endsWith( ::pPtr, ... ) - - -METHOD QByteArray:endsWith_1( ... ) - RETURN Qt_QByteArray_endsWith_1( ::pPtr, ... ) - - -METHOD QByteArray:endsWith_2( ... ) - RETURN Qt_QByteArray_endsWith_2( ::pPtr, ... ) - - -METHOD QByteArray:fill( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_fill( ::pPtr, ... ) ) - - -METHOD QByteArray:indexOf( ... ) - RETURN Qt_QByteArray_indexOf( ::pPtr, ... ) - - -METHOD QByteArray:indexOf_1( ... ) - RETURN Qt_QByteArray_indexOf_1( ::pPtr, ... ) - - -METHOD QByteArray:indexOf_2( ... ) - RETURN Qt_QByteArray_indexOf_2( ::pPtr, ... ) - - -METHOD QByteArray:indexOf_3( ... ) - RETURN Qt_QByteArray_indexOf_3( ::pPtr, ... ) - - -METHOD QByteArray:insert( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_insert( ::pPtr, ... ) ) - - -METHOD QByteArray:insert_1( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_insert_1( ::pPtr, ... ) ) - - -METHOD QByteArray:insert_2( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_insert_2( ::pPtr, ... ) ) - - -METHOD QByteArray:insert_3( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_insert_3( ::pPtr, ... ) ) - - -METHOD QByteArray:isEmpty( ... ) - RETURN Qt_QByteArray_isEmpty( ::pPtr, ... ) - - -METHOD QByteArray:isNull( ... ) - RETURN Qt_QByteArray_isNull( ::pPtr, ... ) - - -METHOD QByteArray:lastIndexOf( ... ) - RETURN Qt_QByteArray_lastIndexOf( ::pPtr, ... ) - - -METHOD QByteArray:lastIndexOf_1( ... ) - RETURN Qt_QByteArray_lastIndexOf_1( ::pPtr, ... ) - - -METHOD QByteArray:lastIndexOf_2( ... ) - RETURN Qt_QByteArray_lastIndexOf_2( ::pPtr, ... ) - - -METHOD QByteArray:lastIndexOf_3( ... ) - RETURN Qt_QByteArray_lastIndexOf_3( ::pPtr, ... ) - - -METHOD QByteArray:left( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_left( ::pPtr, ... ) ) - - -METHOD QByteArray:leftJustified( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_leftJustified( ::pPtr, ... ) ) - - -METHOD QByteArray:length( ... ) - RETURN Qt_QByteArray_length( ::pPtr, ... ) - - -METHOD QByteArray:mid( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_mid( ::pPtr, ... ) ) - - -METHOD QByteArray:prepend( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_prepend( ::pPtr, ... ) ) - - -METHOD QByteArray:prepend_1( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_prepend_1( ::pPtr, ... ) ) - - -METHOD QByteArray:prepend_2( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_prepend_2( ::pPtr, ... ) ) - - -METHOD QByteArray:push_back( ... ) - RETURN Qt_QByteArray_push_back( ::pPtr, ... ) - - -METHOD QByteArray:push_back_1( ... ) - RETURN Qt_QByteArray_push_back_1( ::pPtr, ... ) - - -METHOD QByteArray:push_back_2( ... ) - RETURN Qt_QByteArray_push_back_2( ::pPtr, ... ) - - -METHOD QByteArray:push_front( ... ) - RETURN Qt_QByteArray_push_front( ::pPtr, ... ) - - -METHOD QByteArray:push_front_1( ... ) - RETURN Qt_QByteArray_push_front_1( ::pPtr, ... ) - - -METHOD QByteArray:push_front_2( ... ) - RETURN Qt_QByteArray_push_front_2( ::pPtr, ... ) - - -METHOD QByteArray:remove( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_remove( ::pPtr, ... ) ) - - -METHOD QByteArray:repeated( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_repeated( ::pPtr, ... ) ) - - -METHOD QByteArray:replace( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_1( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_1( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_2( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_2( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_3( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_3( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_4( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_4( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_5( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_5( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_6( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_6( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_7( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_7( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_8( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_8( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_9( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_9( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_10( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_10( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_11( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_11( ::pPtr, ... ) ) - - -METHOD QByteArray:replace_12( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_replace_12( ::pPtr, ... ) ) - - -METHOD QByteArray:reserve( ... ) - RETURN Qt_QByteArray_reserve( ::pPtr, ... ) - - -METHOD QByteArray:resize( ... ) - RETURN Qt_QByteArray_resize( ::pPtr, ... ) - - -METHOD QByteArray:right( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_right( ::pPtr, ... ) ) - - -METHOD QByteArray:rightJustified( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_rightJustified( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_1( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_1( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_2( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_2( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_3( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_3( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_4( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_4( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_5( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_5( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_6( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_6( ::pPtr, ... ) ) - - -METHOD QByteArray:setNum_7( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_setNum_7( ::pPtr, ... ) ) - - -METHOD QByteArray:simplified( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_simplified( ::pPtr, ... ) ) - - -METHOD QByteArray:size( ... ) - RETURN Qt_QByteArray_size( ::pPtr, ... ) - - -METHOD QByteArray:split( ... ) - RETURN QListFromPointer( Qt_QByteArray_split( ::pPtr, ... ) ) - - -METHOD QByteArray:squeeze( ... ) - RETURN Qt_QByteArray_squeeze( ::pPtr, ... ) - - -METHOD QByteArray:startsWith( ... ) - RETURN Qt_QByteArray_startsWith( ::pPtr, ... ) - - -METHOD QByteArray:startsWith_1( ... ) - RETURN Qt_QByteArray_startsWith_1( ::pPtr, ... ) - - -METHOD QByteArray:startsWith_2( ... ) - RETURN Qt_QByteArray_startsWith_2( ::pPtr, ... ) - - -METHOD QByteArray:toBase64( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_toBase64( ::pPtr, ... ) ) - - -METHOD QByteArray:toDouble( ... ) - RETURN Qt_QByteArray_toDouble( ::pPtr, ... ) - - -METHOD QByteArray:toFloat( ... ) - RETURN Qt_QByteArray_toFloat( ::pPtr, ... ) - - -METHOD QByteArray:toHex( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_toHex( ::pPtr, ... ) ) - - -METHOD QByteArray:toInt( ... ) - RETURN Qt_QByteArray_toInt( ::pPtr, ... ) - - -METHOD QByteArray:toLong( ... ) - RETURN Qt_QByteArray_toLong( ::pPtr, ... ) - - -METHOD QByteArray:toLongLong( ... ) - RETURN Qt_QByteArray_toLongLong( ::pPtr, ... ) - - -METHOD QByteArray:toLower( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_toLower( ::pPtr, ... ) ) - - -METHOD QByteArray:toPercentEncoding( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_toPercentEncoding( ::pPtr, ... ) ) - - -METHOD QByteArray:toShort( ... ) - RETURN Qt_QByteArray_toShort( ::pPtr, ... ) - - -METHOD QByteArray:toUInt( ... ) - RETURN Qt_QByteArray_toUInt( ::pPtr, ... ) - - -METHOD QByteArray:toULong( ... ) - RETURN Qt_QByteArray_toULong( ::pPtr, ... ) - - -METHOD QByteArray:toULongLong( ... ) - RETURN Qt_QByteArray_toULongLong( ::pPtr, ... ) - - -METHOD QByteArray:toUShort( ... ) - RETURN Qt_QByteArray_toUShort( ::pPtr, ... ) - - -METHOD QByteArray:toUpper( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_toUpper( ::pPtr, ... ) ) - - -METHOD QByteArray:trimmed( ... ) - RETURN QByteArrayFromPointer( Qt_QByteArray_trimmed( ::pPtr, ... ) ) - - -METHOD QByteArray:truncate( ... ) - RETURN Qt_QByteArray_truncate( ::pPtr, ... ) - diff --git a/harbour/contrib/hbqt/qtcore/g/TQChar.prg b/harbour/contrib/hbqt/qtcore/g/TQChar.prg deleted file mode 100644 index 9f2cab0a35..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQChar.prg +++ /dev/null @@ -1,338 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QChar( ... ) - RETURN HB_QChar():new( ... ) - -FUNCTION QCharFromPointer( ... ) - RETURN HB_QChar():fromPointer( ... ) - - -CREATE CLASS QChar INHERIT HbQtObjectHandler FUNCTION HB_QChar - - METHOD new( ... ) - - METHOD category // ( ) -> nCategory - METHOD combiningClass // ( ) -> nChar - METHOD decomposition // ( ) -> cQString - METHOD decompositionTag // ( ) -> nDecomposition - METHOD digitValue // ( ) -> nInt - METHOD direction // ( ) -> nDirection - METHOD hasMirrored // ( ) -> lBool - METHOD isDigit // ( ) -> lBool - METHOD isHighSurrogate // ( ) -> lBool - METHOD isLetter // ( ) -> lBool - METHOD isLetterOrNumber // ( ) -> lBool - METHOD isLowSurrogate // ( ) -> lBool - METHOD isLower // ( ) -> lBool - METHOD isMark // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD isNumber // ( ) -> lBool - METHOD isPrint // ( ) -> lBool - METHOD isPunct // ( ) -> lBool - METHOD isSpace // ( ) -> lBool - METHOD isSymbol // ( ) -> lBool - METHOD isTitleCase // ( ) -> lBool - METHOD isUpper // ( ) -> lBool - METHOD joining // ( ) -> nJoining - METHOD mirroredChar // ( ) -> oQChar - METHOD toAscii // ( ) -> cChar - METHOD toCaseFolded // ( ) -> oQChar - METHOD toLatin1 // ( ) -> cChar - METHOD toLower // ( ) -> oQChar - METHOD toTitleCase // ( ) -> oQChar - METHOD toUpper // ( ) -> oQChar - METHOD unicode // ( ) -> nUshort - METHOD unicodeVersion // ( ) -> nUnicodeVersion - - ENDCLASS - - -METHOD QChar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QChar( ... ) - RETURN Self - - -METHOD QChar:category( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_category( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:combiningClass( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_combiningClass( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:decomposition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_decomposition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:decompositionTag( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_decompositionTag( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:digitValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_digitValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:direction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_direction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:hasMirrored( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_hasMirrored( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isDigit( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isDigit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isHighSurrogate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isHighSurrogate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isLetter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isLetter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isLetterOrNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isLetterOrNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isLowSurrogate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isLowSurrogate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isLower( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isLower( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isMark( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isMark( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isPrint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isPrint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isPunct( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isPunct( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isSpace( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isSpace( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isSymbol( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isSymbol( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isTitleCase( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isTitleCase( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:isUpper( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_isUpper( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:joining( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_joining( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:mirroredChar( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QChar_mirroredChar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:toAscii( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_toAscii( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:toCaseFolded( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QChar_toCaseFolded( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:toLatin1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_toLatin1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:toLower( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QChar_toLower( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:toTitleCase( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QChar_toTitleCase( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:toUpper( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QChar_toUpper( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:unicode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_unicode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QChar:unicodeVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QChar_unicodeVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg b/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg deleted file mode 100644 index 6b61161502..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQCoreApplication.prg +++ /dev/null @@ -1,494 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QCoreApplication( ... ) - RETURN HB_QCoreApplication():new( ... ) - -FUNCTION QCoreApplicationFromPointer( ... ) - RETURN HB_QCoreApplication():fromPointer( ... ) - - -CREATE CLASS QCoreApplication INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QCoreApplication - - METHOD new( ... ) - - METHOD notify // ( oQObject, oQEvent ) -> lBool - METHOD addLibraryPath // ( cPath ) -> NIL - METHOD applicationDirPath // ( ) -> cQString - METHOD applicationFilePath // ( ) -> cQString - METHOD applicationName // ( ) -> cQString - METHOD applicationPid // ( ) -> nQint64 - METHOD applicationVersion // ( ) -> cQString - METHOD arguments // ( ) -> oQStringList - METHOD closingDown // ( ) -> lBool - METHOD exec // ( ) -> nInt - METHOD exit // ( nReturnCode ) -> NIL - METHOD flush // ( ) -> NIL - METHOD hasPendingEvents // ( ) -> lBool - METHOD installTranslator // ( oQTranslator ) -> NIL - METHOD instance // ( ) -> oQCoreApplication - METHOD libraryPaths // ( ) -> oQStringList - METHOD organizationDomain // ( ) -> cQString - METHOD organizationName // ( ) -> cQString - METHOD postEvent // ( oQObject, oQEvent ) -> NIL - // ( oQObject, oQEvent, nPriority ) -> NIL - METHOD processEvents // ( nFlags ) -> NIL - // ( nFlags, nMaxtime ) -> NIL - METHOD removeLibraryPath // ( cPath ) -> NIL - METHOD removePostedEvents // ( oQObject ) -> NIL - // ( oQObject, nEventType ) -> NIL - METHOD removeTranslator // ( oQTranslator ) -> NIL - METHOD sendEvent // ( oQObject, oQEvent ) -> lBool - METHOD sendPostedEvents // ( oQObject, nEvent_type ) -> NIL - // ( ) -> NIL - METHOD setApplicationName // ( cApplication ) -> NIL - METHOD setApplicationVersion // ( cVersion ) -> NIL - METHOD setAttribute // ( nAttribute, lOn ) -> NIL - METHOD setLibraryPaths // ( oQStringList ) -> NIL - METHOD setOrganizationDomain // ( cOrgDomain ) -> NIL - METHOD setOrganizationName // ( cOrgName ) -> NIL - METHOD startingUp // ( ) -> lBool - METHOD testAttribute // ( nAttribute ) -> lBool - METHOD translate // ( cContext, cSourceText, cDisambiguation, nEncoding, nN ) -> cQString - // ( cContext, cSourceText, cDisambiguation, nEncoding ) -> cQString - METHOD quit // ( ) -> NIL - - ENDCLASS - - -METHOD QCoreApplication:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCoreApplication( ... ) - RETURN Self - - -METHOD QCoreApplication:notify( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_notify( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:addLibraryPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_addLibraryPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:applicationDirPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_applicationDirPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:applicationFilePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_applicationFilePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:applicationName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_applicationName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:applicationPid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_applicationPid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:applicationVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_applicationVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:arguments( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QCoreApplication_arguments( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:closingDown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_closingDown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:exec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:exit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_exit( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QCoreApplication_exit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:flush( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_flush( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:hasPendingEvents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_hasPendingEvents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:installTranslator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_installTranslator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:instance( ... ) - SWITCH PCount() - CASE 0 - RETURN QCoreApplicationFromPointer( Qt_QCoreApplication_instance( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:libraryPaths( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QCoreApplication_libraryPaths( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:organizationDomain( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_organizationDomain( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:organizationName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_organizationName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:postEvent( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_postEvent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:processEvents( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_processEvents_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_processEvents( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QCoreApplication_processEvents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:removeLibraryPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_removeLibraryPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:removePostedEvents( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_removePostedEvents_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_removePostedEvents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:removeTranslator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_removeTranslator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:sendEvent( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_sendEvent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:sendPostedEvents( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_sendPostedEvents( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QCoreApplication_sendPostedEvents_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:setApplicationName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_setApplicationName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:setApplicationVersion( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_setApplicationVersion( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:setAttribute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:setLibraryPaths( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_setLibraryPaths( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:setOrganizationDomain( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_setOrganizationDomain( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:setOrganizationName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_setOrganizationName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:startingUp( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_startingUp( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:testAttribute( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCoreApplication_testAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:translate( ... ) - SWITCH PCount() - CASE 5 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QCoreApplication_translate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QCoreApplication_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QCoreApplication_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QCoreApplication_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCoreApplication:quit( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCoreApplication_quit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg b/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg deleted file mode 100644 index d848e242c2..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQDataStream.prg +++ /dev/null @@ -1,195 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QDataStream( ... ) - RETURN HB_QDataStream():new( ... ) - -FUNCTION QDataStreamFromPointer( ... ) - RETURN HB_QDataStream():fromPointer( ... ) - - -CREATE CLASS QDataStream INHERIT HbQtObjectHandler FUNCTION HB_QDataStream - - METHOD new( ... ) - - METHOD atEnd // ( ) -> lBool - METHOD byteOrder // ( ) -> nByteOrder - METHOD device // ( ) -> oQIODevice - METHOD readRawData // ( cS, nLen ) -> nInt - METHOD resetStatus // ( ) -> NIL - METHOD setByteOrder // ( nBo ) -> NIL - METHOD setDevice // ( oQIODevice ) -> NIL - METHOD setStatus // ( nStatus ) -> NIL - METHOD setVersion // ( nV ) -> NIL - METHOD skipRawData // ( nLen ) -> nInt - METHOD status // ( ) -> nStatus - METHOD version // ( ) -> nInt - METHOD writeRawData // ( cS, nLen ) -> nInt - - ENDCLASS - - -METHOD QDataStream:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDataStream( ... ) - RETURN Self - - -METHOD QDataStream:atEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDataStream_atEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:byteOrder( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDataStream_byteOrder( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QDataStream_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:readRawData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDataStream_readRawData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:resetStatus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDataStream_resetStatus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:setByteOrder( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDataStream_setByteOrder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:setDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDataStream_setDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:setStatus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDataStream_setStatus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:setVersion( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDataStream_setVersion( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:skipRawData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDataStream_skipRawData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:status( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDataStream_status( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:version( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDataStream_version( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDataStream:writeRawData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDataStream_writeRawData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQDate.prg b/harbour/contrib/hbqt/qtcore/g/TQDate.prg deleted file mode 100644 index d620e1766d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQDate.prg +++ /dev/null @@ -1,251 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QDate( ... ) - RETURN HB_QDate():new( ... ) - -FUNCTION QDateFromPointer( ... ) - RETURN HB_QDate():fromPointer( ... ) - - -CREATE CLASS QDate INHERIT HbQtObjectHandler FUNCTION HB_QDate - - METHOD new( ... ) - - METHOD addDays // ( nNdays ) -> oQDate - METHOD addMonths // ( nNmonths ) -> oQDate - METHOD addYears // ( nNyears ) -> oQDate - METHOD day // ( ) -> nInt - METHOD dayOfWeek // ( ) -> nInt - METHOD dayOfYear // ( ) -> nInt - METHOD daysInMonth // ( ) -> nInt - METHOD daysInYear // ( ) -> nInt - METHOD daysTo // ( oQDate ) -> nInt - METHOD getDate // ( @nYear, @nMonth, @nDay ) -> NIL - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD month // ( ) -> nInt - METHOD setDate // ( nYear, nMonth, nDay ) -> lBool - METHOD toJulianDay // ( ) -> nInt - METHOD toString // ( cFormat ) -> cQString - // ( nFormat ) -> cQString - METHOD weekNumber // ( @nYearNumber ) -> nInt - METHOD year // ( ) -> nInt - - ENDCLASS - - -METHOD QDate:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDate( ... ) - RETURN Self - - -METHOD QDate:addDays( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateFromPointer( Qt_QDate_addDays( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:addMonths( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateFromPointer( Qt_QDate_addMonths( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:addYears( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateFromPointer( Qt_QDate_addYears( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:day( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_day( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:dayOfWeek( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_dayOfWeek( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:dayOfYear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_dayOfYear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:daysInMonth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_daysInMonth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:daysInYear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_daysInYear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:daysTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDate_daysTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:getDate( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QDate_getDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:month( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_month( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:setDate( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QDate_setDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:toJulianDay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_toJulianDay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:toString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDate_toString( ::pPtr, ... ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDate_toString_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDate_toString_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:weekNumber( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDate_weekNumber( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDate_weekNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDate:year( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDate_year( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg b/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg deleted file mode 100644 index 2bab697790..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQDateTime.prg +++ /dev/null @@ -1,340 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QDateTime( ... ) - RETURN HB_QDateTime():new( ... ) - -FUNCTION QDateTimeFromPointer( ... ) - RETURN HB_QDateTime():fromPointer( ... ) - - -CREATE CLASS QDateTime INHERIT HbQtObjectHandler FUNCTION HB_QDateTime - - METHOD new( ... ) - - METHOD addDays // ( nNdays ) -> oQDateTime - METHOD addMSecs // ( nMsecs ) -> oQDateTime - METHOD addMonths // ( nNmonths ) -> oQDateTime - METHOD addSecs // ( nS ) -> oQDateTime - METHOD addYears // ( nNyears ) -> oQDateTime - METHOD date // ( ) -> oQDate - METHOD daysTo // ( oQDateTime ) -> nInt - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD secsTo // ( oQDateTime ) -> nInt - METHOD setDate // ( oQDate ) -> NIL - METHOD setTime // ( oQTime ) -> NIL - METHOD setTimeSpec // ( nSpec ) -> NIL - METHOD setTime_t // ( nSeconds ) -> NIL - METHOD time // ( ) -> oQTime - METHOD timeSpec // ( ) -> nQt_TimeSpec - METHOD toLocalTime // ( ) -> oQDateTime - METHOD toString // ( cFormat ) -> cQString - // ( nFormat ) -> cQString - METHOD toTimeSpec // ( nSpecification ) -> oQDateTime - METHOD toTime_t // ( ) -> nUint - METHOD toUTC // ( ) -> oQDateTime - METHOD currentDateTime // ( ) -> oQDateTime - METHOD fromString // ( cString, nFormat ) -> oQDateTime - // ( cString, cFormat ) -> oQDateTime - METHOD fromTime_t // ( nSeconds ) -> oQDateTime - - ENDCLASS - - -METHOD QDateTime:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDateTime( ... ) - RETURN Self - - -METHOD QDateTime:addDays( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_addDays( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:addMSecs( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_addMSecs( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:addMonths( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_addMonths( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:addSecs( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_addSecs( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:addYears( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_addYears( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:date( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QDateTime_date( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:daysTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_daysTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTime_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTime_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:secsTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_secsTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:setDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_setDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:setTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_setTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:setTimeSpec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_setTimeSpec( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:setTime_t( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_setTime_t( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:time( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeFromPointer( Qt_QDateTime_time( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:timeSpec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTime_timeSpec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:toLocalTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QDateTime_toLocalTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:toString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_toString( ::pPtr, ... ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTime_toString_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDateTime_toString_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:toTimeSpec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_toTimeSpec( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:toTime_t( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTime_toTime_t( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:toUTC( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QDateTime_toUTC( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:currentDateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QDateTime_currentDateTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:fromString( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_fromString_1( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_fromString( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_fromString( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTime:fromTime_t( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QDateTime_fromTime_t( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQDir.prg b/harbour/contrib/hbqt/qtcore/g/TQDir.prg deleted file mode 100644 index 7dc30ea87a..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQDir.prg +++ /dev/null @@ -1,629 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QDir( ... ) - RETURN HB_QDir():new( ... ) - -FUNCTION QDirFromPointer( ... ) - RETURN HB_QDir():fromPointer( ... ) - - -CREATE CLASS QDir INHERIT HbQtObjectHandler FUNCTION HB_QDir - - METHOD new( ... ) - - METHOD absoluteFilePath // ( cFileName ) -> cQString - METHOD absolutePath // ( ) -> cQString - METHOD canonicalPath // ( ) -> cQString - METHOD cd // ( cDirName ) -> lBool - METHOD cdUp // ( ) -> lBool - METHOD count // ( ) -> nUint - METHOD dirName // ( ) -> cQString - METHOD entryList // ( oQStringList, nFilters, nSort ) -> oQStringList - // ( nFilters, nSort ) -> oQStringList - METHOD exists // ( cName ) -> lBool - // ( ) -> lBool - METHOD filePath // ( cFileName ) -> cQString - METHOD filter // ( ) -> nFilters - METHOD isAbsolute // ( ) -> lBool - METHOD isReadable // ( ) -> lBool - METHOD isRelative // ( ) -> lBool - METHOD isRoot // ( ) -> lBool - METHOD makeAbsolute // ( ) -> lBool - METHOD mkdir // ( cDirName ) -> lBool - METHOD mkpath // ( cDirPath ) -> lBool - METHOD nameFilters // ( ) -> oQStringList - METHOD path // ( ) -> cQString - METHOD refresh // ( ) -> NIL - METHOD relativeFilePath // ( cFileName ) -> cQString - METHOD remove // ( cFileName ) -> lBool - METHOD rename // ( cOldName, cNewName ) -> lBool - METHOD rmdir // ( cDirName ) -> lBool - METHOD rmpath // ( cDirPath ) -> lBool - METHOD setFilter // ( nFilters ) -> NIL - METHOD setNameFilters // ( oQStringList ) -> NIL - METHOD setPath // ( cPath ) -> NIL - METHOD setSorting // ( nSort ) -> NIL - METHOD sorting // ( ) -> nSortFlags - METHOD addSearchPath // ( cPrefix, cPath ) -> NIL - METHOD cleanPath // ( cPath ) -> cQString - METHOD current // ( ) -> oQDir - METHOD currentPath // ( ) -> cQString - METHOD fromNativeSeparators // ( cPathName ) -> cQString - METHOD home // ( ) -> oQDir - METHOD homePath // ( ) -> cQString - METHOD isAbsolutePath // ( cPath ) -> lBool - METHOD isRelativePath // ( cPath ) -> lBool - METHOD match // ( cFilter, cFileName ) -> lBool - // ( oQStringList, cFileName ) -> lBool - METHOD root // ( ) -> oQDir - METHOD rootPath // ( ) -> cQString - METHOD searchPaths // ( cPrefix ) -> oQStringList - METHOD separator // ( ) -> oQChar - METHOD setCurrent // ( cPath ) -> lBool - METHOD setSearchPaths // ( cPrefix, oQStringList ) -> NIL - METHOD temp // ( ) -> oQDir - METHOD tempPath // ( ) -> cQString - METHOD toNativeSeparators // ( cPathName ) -> cQString - - ENDCLASS - - -METHOD QDir:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDir( ... ) - RETURN Self - - -METHOD QDir:absoluteFilePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_absoluteFilePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:absolutePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_absolutePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:canonicalPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_canonicalPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:cd( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_cd( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:cdUp( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_cdUp( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:dirName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_dirName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:entryList( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QStringListFromPointer( Qt_QDir_entryList( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStringListFromPointer( Qt_QDir_entryList_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStringListFromPointer( Qt_QDir_entryList( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QDir_entryList_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QDir_entryList( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QStringListFromPointer( Qt_QDir_entryList_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:exists( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_exists( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDir_exists_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:filePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_filePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:filter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_filter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:isAbsolute( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_isAbsolute( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:isReadable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_isReadable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:isRelative( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_isRelative( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:isRoot( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_isRoot( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:makeAbsolute( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_makeAbsolute( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:mkdir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_mkdir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:mkpath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_mkpath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:nameFilters( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QDir_nameFilters( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:path( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_path( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:refresh( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_refresh( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:relativeFilePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_relativeFilePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:rename( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QDir_rename( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:rmdir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_rmdir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:rmpath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_rmpath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:setFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDir_setFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:setNameFilters( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDir_setNameFilters( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:setPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_setPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:setSorting( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDir_setSorting( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:sorting( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_sorting( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:addSearchPath( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QDir_addSearchPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:cleanPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_cleanPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:current( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QDir_current( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:currentPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_currentPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:fromNativeSeparators( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_fromNativeSeparators( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:home( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QDir_home( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:homePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_homePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:isAbsolutePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_isAbsolutePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:isRelativePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_isRelativePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:match( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QDir_match( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QDir_match_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:root( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QDir_root( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:rootPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_rootPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:searchPaths( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QDir_searchPaths( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:separator( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QDir_separator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:setCurrent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_setCurrent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:setSearchPaths( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDir_setSearchPaths( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:temp( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QDir_temp( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:tempPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDir_tempPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDir:toNativeSeparators( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDir_toNativeSeparators( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQEvent.prg b/harbour/contrib/hbqt/qtcore/g/TQEvent.prg deleted file mode 100644 index 9b1698473c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQEvent.prg +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QEvent( ... ) - RETURN HB_QEvent():new( ... ) - -FUNCTION QEventFromPointer( ... ) - RETURN HB_QEvent():fromPointer( ... ) - - -CREATE CLASS QEvent INHERIT HbQtObjectHandler FUNCTION HB_QEvent - - METHOD new( ... ) - - METHOD accept // ( ) -> NIL - METHOD ignore // ( ) -> NIL - METHOD isAccepted // ( ) -> lBool - METHOD setAccepted // ( lAccepted ) -> NIL - METHOD spontaneous // ( ) -> lBool - METHOD type // ( ) -> nType - METHOD registerEventType // ( nHint ) -> nInt - - ENDCLASS - - -METHOD QEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QEvent( ... ) - RETURN Self - - -METHOD QEvent:accept( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEvent_accept( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEvent:ignore( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEvent_ignore( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEvent:isAccepted( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEvent_isAccepted( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEvent:setAccepted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QEvent_setAccepted( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEvent:spontaneous( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEvent_spontaneous( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEvent:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEvent_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEvent:registerEventType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QEvent_registerEventType( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QEvent_registerEventType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg b/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg deleted file mode 100644 index ea87d66df2..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQEventLoop.prg +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QEventLoop( ... ) - RETURN HB_QEventLoop():new( ... ) - -FUNCTION QEventLoopFromPointer( ... ) - RETURN HB_QEventLoop():fromPointer( ... ) - - -CREATE CLASS QEventLoop INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QEventLoop - - METHOD new( ... ) - - METHOD exec // ( nFlags ) -> nInt - METHOD exit // ( nReturnCode ) -> NIL - METHOD isRunning // ( ) -> lBool - METHOD processEvents // ( nFlags ) -> lBool - // ( nFlags, nMaxTime ) -> NIL - METHOD wakeUp // ( ) -> NIL - - ENDCLASS - - -METHOD QEventLoop:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QEventLoop( ... ) - RETURN Self - - -METHOD QEventLoop:exec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QEventLoop_exec( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QEventLoop_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEventLoop:exit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QEventLoop_exit( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QEventLoop_exit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEventLoop:isRunning( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEventLoop_isRunning( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEventLoop:processEvents( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QEventLoop_processEvents_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QEventLoop_processEvents( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QEventLoop_processEvents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QEventLoop:wakeUp( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QEventLoop_wakeUp( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQFile.prg b/harbour/contrib/hbqt/qtcore/g/TQFile.prg deleted file mode 100644 index 9a60427b34..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQFile.prg +++ /dev/null @@ -1,373 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QFile( ... ) - RETURN HB_QFile():new( ... ) - -FUNCTION QFileFromPointer( ... ) - RETURN HB_QFile():fromPointer( ... ) - - -CREATE CLASS QFile INHERIT HbQtObjectHandler, HB_QIODevice FUNCTION HB_QFile - - METHOD new( ... ) - - METHOD atEnd // ( ) -> lBool - METHOD close // ( ) -> NIL - METHOD copy // ( cNewName ) -> lBool - METHOD error // ( ) -> nFileError - METHOD exists // ( ) -> lBool - METHOD fileName // ( ) -> cQString - METHOD flush // ( ) -> lBool - METHOD handle // ( ) -> nInt - METHOD isSequential // ( ) -> lBool - METHOD link // ( cLinkName ) -> lBool - METHOD map // ( nOffset, nSize, nFlags ) -> cUchar - METHOD open // ( nMode ) -> lBool - // ( nFd, nMode ) -> lBool - METHOD permissions // ( ) -> nPermissions - METHOD remove // ( ) -> lBool - METHOD rename // ( cNewName ) -> lBool - METHOD resize // ( nSz ) -> lBool - METHOD setFileName // ( cName ) -> NIL - METHOD setPermissions // ( nPermissions ) -> lBool - METHOD size // ( ) -> nQint64 - METHOD symLinkTarget // ( ) -> cQString - METHOD unsetError // ( ) -> NIL - // ( cFileName, cNewName ) -> lBool - METHOD decodeName // ( cLocalFileName ) -> cQString - METHOD encodeName // ( cFileName ) -> oQByteArray - // ( cFileName ) -> lBool - // ( cFileName, cLinkName ) -> lBool - // ( cFileName ) -> nPermissions - // ( cFileName ) -> lBool - // ( cOldName, cNewName ) -> lBool - // ( cFileName, nSz ) -> lBool - // ( cFileName, nPermissions ) -> lBool - // ( cFileName ) -> cQString - - ENDCLASS - - -METHOD QFile:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFile( ... ) - RETURN Self - - -METHOD QFile:atEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_atEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:copy( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFile_copy_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_copy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:error( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_error( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:exists( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_exists_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFile_exists( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:flush( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_flush( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:handle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_handle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:isSequential( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_isSequential( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:link( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFile_link_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_link( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:map( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFile_map( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFile_map( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFile_open_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFile_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:permissions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_permissions_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFile_permissions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_remove_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFile_remove( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:rename( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFile_rename_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_rename( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:resize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFile_resize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFile_resize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:setPermissions( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFile_setPermissions_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFile_setPermissions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:symLinkTarget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_symLinkTarget_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFile_symLinkTarget( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:unsetError( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFile_unsetError( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:decodeName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFile_decodeName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFile:encodeName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QFile_encodeName( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg b/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg deleted file mode 100644 index 9f6380e8b7..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQFileInfo.prg +++ /dev/null @@ -1,450 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QFileInfo( ... ) - RETURN HB_QFileInfo():new( ... ) - -FUNCTION QFileInfoFromPointer( ... ) - RETURN HB_QFileInfo():fromPointer( ... ) - - -CREATE CLASS QFileInfo INHERIT HbQtObjectHandler FUNCTION HB_QFileInfo - - METHOD new( ... ) - - METHOD absoluteDir // ( ) -> oQDir - METHOD absoluteFilePath // ( ) -> cQString - METHOD absolutePath // ( ) -> cQString - METHOD baseName // ( ) -> cQString - METHOD bundleName // ( ) -> cQString - METHOD caching // ( ) -> lBool - METHOD canonicalFilePath // ( ) -> cQString - METHOD canonicalPath // ( ) -> cQString - METHOD completeBaseName // ( ) -> cQString - METHOD completeSuffix // ( ) -> cQString - METHOD created // ( ) -> oQDateTime - METHOD dir // ( ) -> oQDir - METHOD exists // ( ) -> lBool - METHOD fileName // ( ) -> cQString - METHOD filePath // ( ) -> cQString - METHOD group // ( ) -> cQString - METHOD groupId // ( ) -> nUint - METHOD isAbsolute // ( ) -> lBool - METHOD isBundle // ( ) -> lBool - METHOD isDir // ( ) -> lBool - METHOD isExecutable // ( ) -> lBool - METHOD isFile // ( ) -> lBool - METHOD isHidden // ( ) -> lBool - METHOD isReadable // ( ) -> lBool - METHOD isRelative // ( ) -> lBool - METHOD isRoot // ( ) -> lBool - METHOD isSymLink // ( ) -> lBool - METHOD isWritable // ( ) -> lBool - METHOD lastModified // ( ) -> oQDateTime - METHOD lastRead // ( ) -> oQDateTime - METHOD makeAbsolute // ( ) -> lBool - METHOD owner // ( ) -> cQString - METHOD ownerId // ( ) -> nUint - METHOD path // ( ) -> cQString - METHOD permission // ( nPermissions ) -> lBool - METHOD permissions // ( ) -> nQFile_Permissions - METHOD refresh // ( ) -> NIL - METHOD setCaching // ( lEnable ) -> NIL - METHOD setFile // ( cFile ) -> NIL - // ( oQFile ) -> NIL - // ( oQDir, cFile ) -> NIL - METHOD size // ( ) -> nQint64 - METHOD suffix // ( ) -> cQString - METHOD symLinkTarget // ( ) -> cQString - - ENDCLASS - - -METHOD QFileInfo:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFileInfo( ... ) - RETURN Self - - -METHOD QFileInfo:absoluteDir( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QFileInfo_absoluteDir( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:absoluteFilePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_absoluteFilePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:absolutePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_absolutePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:baseName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_baseName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:bundleName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_bundleName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:caching( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_caching( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:canonicalFilePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_canonicalFilePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:canonicalPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_canonicalPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:completeBaseName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_completeBaseName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:completeSuffix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_completeSuffix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:created( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QFileInfo_created( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:dir( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QFileInfo_dir( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:exists( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_exists( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:filePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_filePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:group( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_group( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:groupId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_groupId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isAbsolute( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isAbsolute( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isBundle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isBundle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isDir( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isDir( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isExecutable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isExecutable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isFile( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isFile( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isHidden( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isHidden( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isReadable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isReadable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isRelative( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isRelative( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isRoot( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isRoot( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isSymLink( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isSymLink( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:isWritable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_isWritable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:lastModified( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QFileInfo_lastModified( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:lastRead( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QFileInfo_lastRead( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:makeAbsolute( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_makeAbsolute( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:owner( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_owner( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:ownerId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_ownerId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:path( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_path( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:permission( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileInfo_permission( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:permissions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_permissions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:refresh( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_refresh( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:setCaching( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileInfo_setCaching( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:setFile( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFileInfo_setFile_2( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFileInfo_setFile( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileInfo_setFile_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:suffix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_suffix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileInfo:symLinkTarget( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileInfo_symLinkTarget( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQGenericArgument.prg b/harbour/contrib/hbqt/qtcore/g/TQGenericArgument.prg deleted file mode 100644 index ec3640f45c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQGenericArgument.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QGenericArgument( ... ) - RETURN HB_QGenericArgument():new( ... ) - -FUNCTION QGenericArgumentFromPointer( ... ) - RETURN HB_QGenericArgument():fromPointer( ... ) - - -CREATE CLASS QGenericArgument INHERIT HbQtObjectHandler FUNCTION HB_QGenericArgument - - METHOD new( ... ) - - METHOD data // ( ) -> NIL - METHOD name // ( ) -> cChar - - ENDCLASS - - -METHOD QGenericArgument:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGenericArgument( ... ) - RETURN Self - - -METHOD QGenericArgument:data( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGenericArgument_data( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGenericArgument:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGenericArgument_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQGenericReturnArgument.prg b/harbour/contrib/hbqt/qtcore/g/TQGenericReturnArgument.prg deleted file mode 100644 index 94f6dcd15c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQGenericReturnArgument.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QGenericReturnArgument( ... ) - RETURN HB_QGenericReturnArgument():new( ... ) - -FUNCTION QGenericReturnArgumentFromPointer( ... ) - RETURN HB_QGenericReturnArgument():fromPointer( ... ) - - -CREATE CLASS QGenericReturnArgument INHERIT HbQtObjectHandler, HB_QGenericArgument FUNCTION HB_QGenericReturnArgument - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QGenericReturnArgument:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGenericReturnArgument( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg b/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg deleted file mode 100644 index 04e4e8f22f..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQIODevice.prg +++ /dev/null @@ -1,383 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QIODevice( ... ) - RETURN HB_QIODevice():new( ... ) - -FUNCTION QIODeviceFromPointer( ... ) - RETURN HB_QIODevice():fromPointer( ... ) - - -CREATE CLASS QIODevice INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QIODevice - - METHOD new( ... ) - - METHOD atEnd // ( ) -> lBool - METHOD bytesAvailable // ( ) -> nQint64 - METHOD bytesToWrite // ( ) -> nQint64 - METHOD canReadLine // ( ) -> lBool - METHOD close // ( ) -> NIL - METHOD errorString // ( ) -> cQString - METHOD getChar // ( cC ) -> lBool - METHOD isOpen // ( ) -> lBool - METHOD isReadable // ( ) -> lBool - METHOD isSequential // ( ) -> lBool - METHOD isTextModeEnabled // ( ) -> lBool - METHOD isWritable // ( ) -> lBool - METHOD open // ( nMode ) -> lBool - METHOD openMode // ( ) -> nOpenMode - METHOD peek // ( cData, nMaxSize ) -> nQint64 - // ( nMaxSize ) -> oQByteArray - METHOD pos // ( ) -> nQint64 - METHOD putChar // ( nC ) -> lBool - METHOD read // ( cData, nMaxSize ) -> nQint64 - // ( nMaxSize ) -> oQByteArray - METHOD readAll // ( ) -> oQByteArray - METHOD readLine // ( cData, nMaxSize ) -> nQint64 - // ( nMaxSize ) -> oQByteArray - METHOD reset // ( ) -> lBool - METHOD seek // ( nPos ) -> lBool - METHOD setTextModeEnabled // ( lEnabled ) -> NIL - METHOD size // ( ) -> nQint64 - METHOD ungetChar // ( nC ) -> NIL - METHOD waitForBytesWritten // ( nMsecs ) -> lBool - METHOD waitForReadyRead // ( nMsecs ) -> lBool - METHOD write // ( cData, nMaxSize ) -> nQint64 - // ( cData ) -> nQint64 - // ( oQByteArray ) -> nQint64 - - ENDCLASS - - -METHOD QIODevice:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QIODevice( ... ) - RETURN Self - - -METHOD QIODevice:atEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_atEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:bytesAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_bytesAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:bytesToWrite( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_bytesToWrite( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:canReadLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_canReadLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:getChar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_getChar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:isOpen( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_isOpen( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:isReadable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_isReadable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:isSequential( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_isSequential( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:isTextModeEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_isTextModeEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:isWritable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_isWritable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:open( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:openMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_openMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:peek( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QIODevice_peek( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QIODevice_peek_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_pos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:putChar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_putChar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:read( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QIODevice_read( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QIODevice_read_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:readAll( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QIODevice_readAll( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:readLine( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QIODevice_readLine( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QIODevice_readLine_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QByteArrayFromPointer( Qt_QIODevice_readLine_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:seek( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_seek( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:setTextModeEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_setTextModeEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIODevice_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:ungetChar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_ungetChar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:waitForBytesWritten( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_waitForBytesWritten( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:waitForReadyRead( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_waitForReadyRead( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIODevice:write( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QIODevice_write( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_write_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QIODevice_write_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg b/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg deleted file mode 100644 index ef85d9ab27..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQLatin1Char.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QLatin1Char( ... ) - RETURN HB_QLatin1Char():new( ... ) - -FUNCTION QLatin1CharFromPointer( ... ) - RETURN HB_QLatin1Char():fromPointer( ... ) - - -CREATE CLASS QLatin1Char INHERIT HbQtObjectHandler FUNCTION HB_QLatin1Char - - METHOD new( ... ) - - METHOD toLatin1 // ( ) -> cChar - METHOD unicode // ( ) -> nUshort - - ENDCLASS - - -METHOD QLatin1Char:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLatin1Char( ... ) - RETURN Self - - -METHOD QLatin1Char:toLatin1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLatin1Char_toLatin1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLatin1Char:unicode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLatin1Char_unicode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg b/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg deleted file mode 100644 index 253710826b..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQLatin1String.prg +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QLatin1String( ... ) - RETURN HB_QLatin1String():new( ... ) - -FUNCTION QLatin1StringFromPointer( ... ) - RETURN HB_QLatin1String():fromPointer( ... ) - - -CREATE CLASS QLatin1String INHERIT HbQtObjectHandler FUNCTION HB_QLatin1String - - METHOD new( ... ) - - METHOD latin1 // ( ) -> cChar - - ENDCLASS - - -METHOD QLatin1String:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLatin1String( ... ) - RETURN Self - - -METHOD QLatin1String:latin1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLatin1String_latin1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQLine.prg b/harbour/contrib/hbqt/qtcore/g/TQLine.prg deleted file mode 100644 index 153e2ef272..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQLine.prg +++ /dev/null @@ -1,223 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QLine( ... ) - RETURN HB_QLine():new( ... ) - -FUNCTION QLineFromPointer( ... ) - RETURN HB_QLine():fromPointer( ... ) - - -CREATE CLASS QLine INHERIT HbQtObjectHandler FUNCTION HB_QLine - - METHOD new( ... ) - - METHOD p1 // ( ) -> oQPoint - METHOD p2 // ( ) -> oQPoint - METHOD x1 // ( ) -> nInt - METHOD x2 // ( ) -> nInt - METHOD y1 // ( ) -> nInt - METHOD y2 // ( ) -> nInt - METHOD dx // ( ) -> nInt - METHOD dy // ( ) -> nInt - METHOD isNull // ( ) -> lBool - METHOD setP1 // ( oQPoint ) -> NIL - METHOD setP2 // ( oQPoint ) -> NIL - METHOD setLine // ( nX1, nY1, nX2, nY2 ) -> NIL - METHOD setPoints // ( oQPoint, oQPoint ) -> NIL - METHOD translate // ( oQPoint ) -> NIL - // ( nDx, nDy ) -> NIL - METHOD translated // ( oQPoint ) -> oQLine - // ( nDx, nDy ) -> oQLine - - ENDCLASS - - -METHOD QLine:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLine( ... ) - RETURN Self - - -METHOD QLine:p1( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QLine_p1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:p2( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QLine_p2( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:x1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_x1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:x2( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_x2( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:y1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_y1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:y2( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_y2( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:dx( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_dx( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:dy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_dy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLine_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:setP1( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLine_setP1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:setP2( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLine_setP2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:setLine( ... ) - 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_QLine_setLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:setPoints( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QLine_setPoints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLine_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLine_translate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLine:translated( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QLineFromPointer( Qt_QLine_translated_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QLineFromPointer( Qt_QLine_translated( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQLineF.prg b/harbour/contrib/hbqt/qtcore/g/TQLineF.prg deleted file mode 100644 index 7935833fb0..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQLineF.prg +++ /dev/null @@ -1,333 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QLineF( ... ) - RETURN HB_QLineF():new( ... ) - -FUNCTION QLineFFromPointer( ... ) - RETURN HB_QLineF():fromPointer( ... ) - - -CREATE CLASS QLineF INHERIT HbQtObjectHandler FUNCTION HB_QLineF - - METHOD new( ... ) - - METHOD p1 // ( ) -> oQPointF - METHOD p2 // ( ) -> oQPointF - METHOD x1 // ( ) -> nQreal - METHOD x2 // ( ) -> nQreal - METHOD y1 // ( ) -> nQreal - METHOD y2 // ( ) -> nQreal - METHOD angle // ( ) -> nQreal - METHOD angleTo // ( oQLineF ) -> nQreal - METHOD dx // ( ) -> nQreal - METHOD dy // ( ) -> nQreal - METHOD intersect // ( oQLineF, oQPointF ) -> nIntersectType - METHOD isNull // ( ) -> lBool - METHOD length // ( ) -> nQreal - METHOD normalVector // ( ) -> oQLineF - METHOD pointAt // ( nT ) -> oQPointF - METHOD setP1 // ( oQPointF ) -> NIL - METHOD setP2 // ( oQPointF ) -> NIL - METHOD setAngle // ( nAngle ) -> NIL - METHOD setLength // ( nLength ) -> NIL - METHOD setLine // ( nX1, nY1, nX2, nY2 ) -> NIL - METHOD setPoints // ( oQPointF, oQPointF ) -> NIL - METHOD toLine // ( ) -> oQLine - METHOD translate // ( oQPointF ) -> NIL - // ( nDx, nDy ) -> NIL - METHOD translated // ( oQPointF ) -> oQLineF - // ( nDx, nDy ) -> oQLineF - METHOD unitVector // ( ) -> oQLineF - - ENDCLASS - - -METHOD QLineF:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLineF( ... ) - RETURN Self - - -METHOD QLineF:p1( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QLineF_p1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:p2( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QLineF_p2( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:x1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_x1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:x2( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_x2( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:y1( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_y1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:y2( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_y2( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:angle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_angle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:angleTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineF_angleTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:dx( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_dx( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:dy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_dy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:intersect( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QLineF_intersect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineF_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:normalVector( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineFFromPointer( Qt_QLineF_normalVector( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:pointAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFFromPointer( Qt_QLineF_pointAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:setP1( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineF_setP1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:setP2( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineF_setP2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:setAngle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLineF_setAngle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:setLength( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLineF_setLength( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:setLine( ... ) - 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_QLineF_setLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:setPoints( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QLineF_setPoints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:toLine( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineFromPointer( Qt_QLineF_toLine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLineF_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineF_translate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:translated( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QLineFFromPointer( Qt_QLineF_translated_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QLineFFromPointer( Qt_QLineF_translated( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineF:unitVector( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineFFromPointer( Qt_QLineF_unitVector( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQList.prg b/harbour/contrib/hbqt/qtcore/g/TQList.prg deleted file mode 100644 index 25a8256fe6..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQList.prg +++ /dev/null @@ -1,454 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QList( ... ) - RETURN HB_QList():new( ... ) - -FUNCTION QListFromPointer( ... ) - RETURN HB_QList():fromPointer( ... ) - - -CREATE CLASS QList INHERIT HbQtObjectHandler FUNCTION HB_QList - - METHOD new( ... ) - - METHOD append // ( xValue ) -> NIL - METHOD at // ( nI ) -> pT - METHOD back // ( ) -> pT - METHOD clear // ( ) -> NIL - METHOD count // ( xValue ) -> nInt - // ( ) -> nInt - METHOD empty // ( ) -> lBool - METHOD endsWith // ( xValue ) -> lBool - METHOD first // ( ) -> pT - METHOD front // ( ) -> pT - METHOD indexOf // ( xValue, nFrom ) -> nInt - METHOD insert // ( nI, xValue ) -> NIL - METHOD isEmpty // ( ) -> lBool - METHOD last // ( ) -> pT - METHOD lastIndexOf // ( xValue, nFrom ) -> nInt - METHOD length // ( ) -> nInt - METHOD move // ( nFrom, nTo ) -> NIL - METHOD pop_back // ( ) -> NIL - METHOD pop_front // ( ) -> NIL - METHOD prepend // ( xValue ) -> NIL - METHOD push_back // ( xValue ) -> NIL - METHOD push_front // ( xValue ) -> NIL - METHOD removeAll // ( xValue ) -> nInt - METHOD removeAt // ( nI ) -> NIL - METHOD removeFirst // ( ) -> NIL - METHOD removeLast // ( ) -> NIL - METHOD removeOne // ( xValue ) -> lBool - METHOD replace // ( nI, xValue ) -> NIL - METHOD size // ( ) -> nInt - METHOD startsWith // ( xValue ) -> lBool - METHOD swap // ( nI, nJ ) -> NIL - METHOD takeAt // ( nI ) -> pT - METHOD takeFirst // ( ) -> pT - METHOD takeLast // ( ) -> pT - METHOD value // ( nI ) -> pT - // ( nI, xDefaultValue ) -> pT - - ENDCLASS - - -METHOD QList:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QList( ... ) - RETURN Self - - -METHOD QList:append( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_append( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:at( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QList_at( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:back( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_back( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:count( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_count( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QList_count_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:empty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_empty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:endsWith( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_endsWith( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:first( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_first( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:front( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_front( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:indexOf( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QList_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:insert( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isPointer( hb_pvalue( 2 ) ) - RETURN Qt_QList_insert( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:last( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_last( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:lastIndexOf( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QList_lastIndexOf( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_lastIndexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:move( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QList_move( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:pop_back( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_pop_back( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:pop_front( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_pop_front( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:prepend( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_prepend( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:push_back( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_push_back( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:push_front( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_push_front( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:removeAll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_removeAll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:removeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QList_removeAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:removeFirst( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_removeFirst( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:removeLast( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_removeLast( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:removeOne( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_removeOne( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:replace( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isPointer( hb_pvalue( 2 ) ) - RETURN Qt_QList_replace( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:startsWith( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QList_startsWith( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:swap( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QList_swap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:takeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QList_takeAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:takeFirst( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_takeFirst( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:takeLast( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QList_takeLast( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QList:value( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isPointer( hb_pvalue( 2 ) ) - RETURN Qt_QList_value_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QList_value( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQLocale.prg b/harbour/contrib/hbqt/qtcore/g/TQLocale.prg deleted file mode 100644 index f8b3578fa7..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQLocale.prg +++ /dev/null @@ -1,695 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QLocale( ... ) - RETURN HB_QLocale():new( ... ) - -FUNCTION QLocaleFromPointer( ... ) - RETURN HB_QLocale():fromPointer( ... ) - - -CREATE CLASS QLocale INHERIT HbQtObjectHandler FUNCTION HB_QLocale - - METHOD new( ... ) - - METHOD amText // ( ) -> cQString - METHOD country // ( ) -> nCountry - METHOD dateFormat // ( nFormat ) -> cQString - METHOD dateTimeFormat // ( nFormat ) -> cQString - METHOD dayName // ( nDay, nType ) -> cQString - METHOD decimalPoint // ( ) -> oQChar - METHOD exponential // ( ) -> oQChar - METHOD groupSeparator // ( ) -> oQChar - METHOD language // ( ) -> nLanguage - METHOD measurementSystem // ( ) -> nMeasurementSystem - METHOD monthName // ( nMonth, nType ) -> cQString - METHOD name // ( ) -> cQString - METHOD negativeSign // ( ) -> oQChar - METHOD numberOptions // ( ) -> nNumberOptions - METHOD percent // ( ) -> oQChar - METHOD pmText // ( ) -> cQString - METHOD positiveSign // ( ) -> oQChar - METHOD setNumberOptions // ( nOptions ) -> NIL - METHOD standaloneDayName // ( nDay, nType ) -> cQString - METHOD standaloneMonthName // ( nMonth, nType ) -> cQString - METHOD timeFormat // ( nFormat ) -> cQString - METHOD toDate // ( cString, nFormat ) -> oQDate - // ( cString, cFormat ) -> oQDate - METHOD toDateTime // ( cString, nFormat ) -> oQDateTime - // ( cString, cFormat ) -> oQDateTime - METHOD toDouble // ( cS, @lOk ) -> nDouble - METHOD toFloat // ( cS, @lOk ) -> nFloat - METHOD toInt // ( cS, @lOk, nBase ) -> nInt - METHOD toLongLong // ( cS, @lOk, nBase ) -> nQlonglong - METHOD toShort // ( cS, @lOk, nBase ) -> nShort - METHOD toString // ( nI ) -> cQString - // ( oQDate, cFormat ) -> cQString - // ( oQDate, nFormat ) -> cQString - // ( oQTime, cFormat ) -> cQString - // ( oQTime, nFormat ) -> cQString - // ( oQDateTime, nFormat ) -> cQString - // ( oQDateTime, cFormat ) -> cQString - // ( nI ) -> cQString - // ( nI, nF, nPrec ) -> cQString - // ( nI ) -> cQString - // ( nI ) -> cQString - // ( nI ) -> cQString - // ( nI ) -> cQString - // ( nI, nF, nPrec ) -> cQString - METHOD toTime // ( cString, nFormat ) -> oQTime - // ( cString, cFormat ) -> oQTime - METHOD toUInt // ( cS, @lOk, nBase ) -> nUint - METHOD toULongLong // ( cS, @lOk, nBase ) -> nQlonglong - METHOD toUShort // ( cS, @lOk, nBase ) -> nUshort - METHOD zeroDigit // ( ) -> oQChar - METHOD c // ( ) -> oQLocale - METHOD countryToString // ( nCountry ) -> cQString - METHOD languageToString // ( nLanguage ) -> cQString - METHOD setDefault // ( oQLocale ) -> NIL - METHOD system // ( ) -> oQLocale - - ENDCLASS - - -METHOD QLocale:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLocale( ... ) - RETURN Self - - -METHOD QLocale:amText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_amText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:country( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_country( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:dateFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_dateFormat( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QLocale_dateFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:dateTimeFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_dateTimeFormat( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QLocale_dateTimeFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:dayName( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_dayName( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_dayName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:decimalPoint( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_decimalPoint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:exponential( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_exponential( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:groupSeparator( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_groupSeparator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:language( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_language( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:measurementSystem( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_measurementSystem( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:monthName( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_monthName( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_monthName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:negativeSign( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_negativeSign( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:numberOptions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_numberOptions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:percent( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_percent( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:pmText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLocale_pmText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:positiveSign( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_positiveSign( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:setNumberOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_setNumberOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:standaloneDayName( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_standaloneDayName( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_standaloneDayName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:standaloneMonthName( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_standaloneMonthName( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_standaloneMonthName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:timeFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_timeFormat( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QLocale_timeFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toDate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QDateFromPointer( Qt_QLocale_toDate_1( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QDateFromPointer( Qt_QLocale_toDate( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QDateFromPointer( Qt_QLocale_toDate( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toDateTime( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QDateTimeFromPointer( Qt_QLocale_toDateTime_1( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QDateTimeFromPointer( Qt_QLocale_toDateTime( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QLocale_toDateTime( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toDouble( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toDouble( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toFloat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toFloat( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toFloat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toInt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toInt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toLongLong( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toLongLong( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toLongLong( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toLongLong( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toShort( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toShort( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toShort( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toShort( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toString( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toString_13( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_8( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toString_8( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_13( ::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 "QTIME" - RETURN Qt_QLocale_toString_3( ::pPtr, ... ) - CASE "QDATETIME" - RETURN Qt_QLocale_toString_6( ::pPtr, ... ) - ENDSWITCH - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QTIME" - RETURN Qt_QLocale_toString_4( ::pPtr, ... ) - CASE "QDATE" - RETURN Qt_QLocale_toString_2( ::pPtr, ... ) - CASE "QDATETIME" - RETURN Qt_QLocale_toString_5( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toString( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_10( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_13( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_9( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_8( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_7( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_12( ::pPtr, ... ) - // RETURN Qt_QLocale_toString_11( ::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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toTime( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QTimeFromPointer( Qt_QLocale_toTime_1( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTimeFromPointer( Qt_QLocale_toTime( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QTimeFromPointer( Qt_QLocale_toTime( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toUInt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toUInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toUInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toUInt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toULongLong( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toULongLong( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toULongLong( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toULongLong( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:toUShort( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QLocale_toUShort( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QLocale_toUShort( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_toUShort( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:zeroDigit( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QLocale_zeroDigit( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:c( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QLocale_c( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:countryToString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_countryToString( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:languageToString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_languageToString( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:setDefault( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLocale_setDefault( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLocale:system( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QLocale_system( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMetaClassInfo.prg b/harbour/contrib/hbqt/qtcore/g/TQMetaClassInfo.prg deleted file mode 100644 index f7e26ecd97..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMetaClassInfo.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMetaClassInfo( ... ) - RETURN HB_QMetaClassInfo():new( ... ) - -FUNCTION QMetaClassInfoFromPointer( ... ) - RETURN HB_QMetaClassInfo():fromPointer( ... ) - - -CREATE CLASS QMetaClassInfo INHERIT HbQtObjectHandler FUNCTION HB_QMetaClassInfo - - METHOD new( ... ) - - METHOD name // ( ) -> cChar - METHOD value // ( ) -> cChar - - ENDCLASS - - -METHOD QMetaClassInfo:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMetaClassInfo( ... ) - RETURN Self - - -METHOD QMetaClassInfo:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaClassInfo_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaClassInfo:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaClassInfo_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMetaEnum.prg b/harbour/contrib/hbqt/qtcore/g/TQMetaEnum.prg deleted file mode 100644 index 8f5a092922..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMetaEnum.prg +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMetaEnum( ... ) - RETURN HB_QMetaEnum():new( ... ) - -FUNCTION QMetaEnumFromPointer( ... ) - RETURN HB_QMetaEnum():fromPointer( ... ) - - -CREATE CLASS QMetaEnum INHERIT HbQtObjectHandler FUNCTION HB_QMetaEnum - - METHOD new( ... ) - - METHOD isFlag // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD key // ( nIndex ) -> cChar - METHOD keyCount // ( ) -> nInt - METHOD keyToValue // ( cKey ) -> nInt - METHOD keysToValue // ( cKeys ) -> nInt - METHOD name // ( ) -> cChar - METHOD scope // ( ) -> cChar - METHOD value // ( nIndex ) -> nInt - METHOD valueToKey // ( nValue ) -> cChar - METHOD valueToKeys // ( nValue ) -> oQByteArray - - ENDCLASS - - -METHOD QMetaEnum:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMetaEnum( ... ) - RETURN Self - - -METHOD QMetaEnum:isFlag( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaEnum_isFlag( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaEnum_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:key( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMetaEnum_key( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:keyCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaEnum_keyCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:keyToValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaEnum_keyToValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:keysToValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaEnum_keysToValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaEnum_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:scope( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaEnum_scope( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:value( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMetaEnum_value( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:valueToKey( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMetaEnum_valueToKey( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaEnum:valueToKeys( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QMetaEnum_valueToKeys( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMetaMethod.prg b/harbour/contrib/hbqt/qtcore/g/TQMetaMethod.prg deleted file mode 100644 index 98ac27e17f..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMetaMethod.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMetaMethod( ... ) - RETURN HB_QMetaMethod():new( ... ) - -FUNCTION QMetaMethodFromPointer( ... ) - RETURN HB_QMetaMethod():fromPointer( ... ) - - -CREATE CLASS QMetaMethod INHERIT HbQtObjectHandler FUNCTION HB_QMetaMethod - - METHOD new( ... ) - - METHOD access // ( ) -> nAccess - METHOD methodType // ( ) -> nMethodType - METHOD parameterNames // ( ) -> oQList_QByteArray> - METHOD parameterTypes // ( ) -> oQList_QByteArray> - METHOD signature // ( ) -> cChar - METHOD tag // ( ) -> cChar - METHOD typeName // ( ) -> cChar - - ENDCLASS - - -METHOD QMetaMethod:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMetaMethod( ... ) - RETURN Self - - -METHOD QMetaMethod:access( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaMethod_access( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaMethod:methodType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaMethod_methodType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaMethod:parameterNames( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QMetaMethod_parameterNames( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaMethod:parameterTypes( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QMetaMethod_parameterTypes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaMethod:signature( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaMethod_signature( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaMethod:tag( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaMethod_tag( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaMethod:typeName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaMethod_typeName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMetaObject.prg b/harbour/contrib/hbqt/qtcore/g/TQMetaObject.prg deleted file mode 100644 index 0a7a5492ef..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMetaObject.prg +++ /dev/null @@ -1,366 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMetaObject( ... ) - RETURN HB_QMetaObject():new( ... ) - -FUNCTION QMetaObjectFromPointer( ... ) - RETURN HB_QMetaObject():fromPointer( ... ) - - -CREATE CLASS QMetaObject INHERIT HbQtObjectHandler FUNCTION HB_QMetaObject - - METHOD new( ... ) - - METHOD classInfo // ( nIndex ) -> oQMetaClassInfo - METHOD classInfoCount // ( ) -> nInt - METHOD classInfoOffset // ( ) -> nInt - METHOD className // ( ) -> cChar - METHOD constructor // ( nIndex ) -> oQMetaMethod - METHOD constructorCount // ( ) -> nInt - METHOD enumerator // ( nIndex ) -> oQMetaEnum - METHOD enumeratorCount // ( ) -> nInt - METHOD enumeratorOffset // ( ) -> nInt - METHOD indexOfClassInfo // ( cName ) -> nInt - METHOD indexOfConstructor // ( cConstructor ) -> nInt - METHOD indexOfEnumerator // ( cName ) -> nInt - METHOD indexOfMethod // ( cMethod ) -> nInt - METHOD indexOfProperty // ( cName ) -> nInt - METHOD indexOfSignal // ( cSignal ) -> nInt - METHOD indexOfSlot // ( cSlot ) -> nInt - METHOD method // ( nIndex ) -> oQMetaMethod - METHOD methodCount // ( ) -> nInt - METHOD methodOffset // ( ) -> nInt - METHOD property // ( nIndex ) -> oQMetaProperty - METHOD propertyCount // ( ) -> nInt - METHOD propertyOffset // ( ) -> nInt - METHOD superClass // ( ) -> oQMetaObject - METHOD userProperty // ( ) -> oQMetaProperty - METHOD checkConnectArgs // ( cSignal, cMethod ) -> lBool - METHOD connectSlotsByName // ( oQObject ) -> NIL - METHOD normalizedSignature // ( cMethod ) -> oQByteArray - METHOD normalizedType // ( cType ) -> oQByteArray - - ENDCLASS - - -METHOD QMetaObject:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMetaObject( ... ) - RETURN Self - - -METHOD QMetaObject:classInfo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMetaClassInfoFromPointer( Qt_QMetaObject_classInfo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:classInfoCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_classInfoCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:classInfoOffset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_classInfoOffset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:className( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_className( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:constructor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMetaMethodFromPointer( Qt_QMetaObject_constructor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:constructorCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_constructorCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:enumerator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMetaEnumFromPointer( Qt_QMetaObject_enumerator( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:enumeratorCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_enumeratorCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:enumeratorOffset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_enumeratorOffset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfClassInfo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfClassInfo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfConstructor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfConstructor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfEnumerator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfEnumerator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfMethod( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfMethod( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfSignal( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfSignal( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:indexOfSlot( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_indexOfSlot( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:method( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMetaMethodFromPointer( Qt_QMetaObject_method( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:methodCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_methodCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:methodOffset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_methodOffset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:property( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMetaPropertyFromPointer( Qt_QMetaObject_property( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:propertyCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_propertyCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:propertyOffset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaObject_propertyOffset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:superClass( ... ) - SWITCH PCount() - CASE 0 - RETURN QMetaObjectFromPointer( Qt_QMetaObject_superClass( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:userProperty( ... ) - SWITCH PCount() - CASE 0 - RETURN QMetaPropertyFromPointer( Qt_QMetaObject_userProperty( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:checkConnectArgs( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QMetaObject_checkConnectArgs( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:connectSlotsByName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMetaObject_connectSlotsByName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:normalizedSignature( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QMetaObject_normalizedSignature( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaObject:normalizedType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QMetaObject_normalizedType( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMetaProperty.prg b/harbour/contrib/hbqt/qtcore/g/TQMetaProperty.prg deleted file mode 100644 index 0d74a9b9b4..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMetaProperty.prg +++ /dev/null @@ -1,275 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMetaProperty( ... ) - RETURN HB_QMetaProperty():new( ... ) - -FUNCTION QMetaPropertyFromPointer( ... ) - RETURN HB_QMetaProperty():fromPointer( ... ) - - -CREATE CLASS QMetaProperty INHERIT HbQtObjectHandler FUNCTION HB_QMetaProperty - - METHOD new( ... ) - - METHOD enumerator // ( ) -> oQMetaEnum - METHOD hasNotifySignal // ( ) -> lBool - METHOD isDesignable // ( oQObject ) -> lBool - METHOD isEnumType // ( ) -> lBool - METHOD isFlagType // ( ) -> lBool - METHOD isReadable // ( ) -> lBool - METHOD isResettable // ( ) -> lBool - METHOD isScriptable // ( oQObject ) -> lBool - METHOD isStored // ( oQObject ) -> lBool - METHOD isUser // ( oQObject ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD isWritable // ( ) -> lBool - METHOD name // ( ) -> cChar - METHOD notifySignal // ( ) -> oQMetaMethod - METHOD notifySignalIndex // ( ) -> nInt - METHOD read // ( oQObject ) -> oQVariant - METHOD reset // ( oQObject ) -> lBool - METHOD type // ( ) -> nQVariant_Type - METHOD typeName // ( ) -> cChar - METHOD userType // ( ) -> nInt - METHOD write // ( oQObject, oQVariant ) -> lBool - - ENDCLASS - - -METHOD QMetaProperty:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMetaProperty( ... ) - RETURN Self - - -METHOD QMetaProperty:enumerator( ... ) - SWITCH PCount() - CASE 0 - RETURN QMetaEnumFromPointer( Qt_QMetaProperty_enumerator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:hasNotifySignal( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_hasNotifySignal( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isDesignable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMetaProperty_isDesignable( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QMetaProperty_isDesignable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isEnumType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_isEnumType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isFlagType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_isFlagType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isReadable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_isReadable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isResettable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_isResettable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isScriptable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMetaProperty_isScriptable( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QMetaProperty_isScriptable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isStored( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMetaProperty_isStored( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QMetaProperty_isStored( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isUser( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMetaProperty_isUser( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QMetaProperty_isUser( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:isWritable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_isWritable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:notifySignal( ... ) - SWITCH PCount() - CASE 0 - RETURN QMetaMethodFromPointer( Qt_QMetaProperty_notifySignal( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:notifySignalIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_notifySignalIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QMetaProperty_read( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:reset( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMetaProperty_reset( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:typeName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_typeName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:userType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMetaProperty_userType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaProperty:write( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMetaProperty_write( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMetaType.prg b/harbour/contrib/hbqt/qtcore/g/TQMetaType.prg deleted file mode 100644 index 0e87e1596e..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMetaType.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMetaType( ... ) - RETURN HB_QMetaType():new( ... ) - -FUNCTION QMetaTypeFromPointer( ... ) - RETURN HB_QMetaType():fromPointer( ... ) - - -CREATE CLASS QMetaType INHERIT HbQtObjectHandler FUNCTION HB_QMetaType - - METHOD new( ... ) - - METHOD isRegistered // ( nType ) -> lBool - METHOD type // ( cTypeName ) -> nInt - METHOD typeName // ( nType ) -> cChar - METHOD unregisterType // ( cTypeName ) -> NIL - - ENDCLASS - - -METHOD QMetaType:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMetaType( ... ) - RETURN Self - - -METHOD QMetaType:isRegistered( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMetaType_isRegistered( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaType:type( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaType_type( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaType:typeName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMetaType_typeName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMetaType:unregisterType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMetaType_unregisterType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg b/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg deleted file mode 100644 index b376d3c68d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQMimeData.prg +++ /dev/null @@ -1,271 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QMimeData( ... ) - RETURN HB_QMimeData():new( ... ) - -FUNCTION QMimeDataFromPointer( ... ) - RETURN HB_QMimeData():fromPointer( ... ) - - -CREATE CLASS QMimeData INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QMimeData - - METHOD new( ... ) - - METHOD clear // ( ) -> NIL - METHOD colorData // ( ) -> oQVariant - METHOD data // ( cMimeType ) -> oQByteArray - METHOD formats // ( ) -> oQStringList - METHOD hasColor // ( ) -> lBool - METHOD hasFormat // ( cMimeType ) -> lBool - METHOD hasHtml // ( ) -> lBool - METHOD hasImage // ( ) -> lBool - METHOD hasText // ( ) -> lBool - METHOD hasUrls // ( ) -> lBool - METHOD html // ( ) -> cQString - METHOD imageData // ( ) -> oQVariant - METHOD removeFormat // ( cMimeType ) -> NIL - METHOD setColorData // ( oQVariant ) -> NIL - METHOD setData // ( cMimeType, oQByteArray ) -> NIL - METHOD setHtml // ( cHtml ) -> NIL - METHOD setImageData // ( oQVariant ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD text // ( ) -> cQString - METHOD urls // ( ) -> oQList_QUrl> - METHOD hbUrlList // ( ) -> oQStringList - - ENDCLASS - - -METHOD QMimeData:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMimeData( ... ) - RETURN Self - - -METHOD QMimeData:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:colorData( ... ) - SWITCH PCount() - CASE 0 - RETURN QVariantFromPointer( Qt_QMimeData_colorData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:data( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QMimeData_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:formats( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QMimeData_formats( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hasColor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_hasColor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hasFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMimeData_hasFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hasHtml( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_hasHtml( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hasImage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_hasImage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hasText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_hasText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hasUrls( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_hasUrls( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:html( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_html( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:imageData( ... ) - SWITCH PCount() - CASE 0 - RETURN QVariantFromPointer( Qt_QMimeData_imageData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:removeFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMimeData_removeFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:setColorData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMimeData_setColorData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMimeData_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:setHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMimeData_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:setImageData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMimeData_setImageData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMimeData_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMimeData_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:urls( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QMimeData_urls( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMimeData:hbUrlList( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QMimeData_hbUrlList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg b/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg deleted file mode 100644 index 44dab8773d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQModelIndex.prg +++ /dev/null @@ -1,163 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QModelIndex( ... ) - RETURN HB_QModelIndex():new( ... ) - -FUNCTION QModelIndexFromPointer( ... ) - RETURN HB_QModelIndex():fromPointer( ... ) - - -CREATE CLASS QModelIndex INHERIT HbQtObjectHandler FUNCTION HB_QModelIndex - - METHOD new( ... ) - - METHOD child // ( nRow, nColumn ) -> oQModelIndex - METHOD column // ( ) -> nInt - METHOD data // ( nRole ) -> oQVariant - METHOD flags // ( ) -> nQt_ItemFlags - METHOD internalId // ( ) -> nQint64 - METHOD internalPointer // ( ) -> NIL - METHOD isValid // ( ) -> lBool - METHOD model // ( ) -> oQAbstractItemModel - METHOD parent // ( ) -> oQModelIndex - METHOD row // ( ) -> nInt - METHOD sibling // ( nRow, nColumn ) -> oQModelIndex - - ENDCLASS - - -METHOD QModelIndex:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QModelIndex( ... ) - RETURN Self - - -METHOD QModelIndex:child( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QModelIndex_child( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:column( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QModelIndex_column( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:data( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QModelIndex_data( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QVariantFromPointer( Qt_QModelIndex_data( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QModelIndex_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:internalId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QModelIndex_internalId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:internalPointer( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QModelIndex_internalPointer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QModelIndex_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:model( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QModelIndex_model( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:parent( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QModelIndex_parent( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:row( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QModelIndex_row( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QModelIndex:sibling( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QModelIndex_sibling( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQObject.prg b/harbour/contrib/hbqt/qtcore/g/TQObject.prg deleted file mode 100644 index a00ace5a92..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQObject.prg +++ /dev/null @@ -1,350 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QObject( ... ) - RETURN HB_QObject():new( ... ) - -FUNCTION QObjectFromPointer( ... ) - RETURN HB_QObject():fromPointer( ... ) - - -CREATE CLASS QObject INHERIT HbQtObjectHandler FUNCTION HB_QObject - - METHOD new( ... ) - - METHOD blockSignals // ( lBlock ) -> lBool - METHOD dumpObjectInfo // ( ) -> NIL - METHOD dumpObjectTree // ( ) -> NIL - METHOD dynamicPropertyNames // ( ) -> oQList_QByteArray> - METHOD event // ( oQEvent ) -> lBool - METHOD eventFilter // ( oQObject, oQEvent ) -> lBool - METHOD inherits // ( cClassName ) -> lBool - METHOD installEventFilter // ( oQObject ) -> NIL - METHOD isWidgetType // ( ) -> lBool - METHOD killTimer // ( nId ) -> NIL - METHOD moveToThread // ( oQThread ) -> NIL - METHOD objectName // ( ) -> cQString - METHOD parent // ( ) -> oQObject - METHOD property // ( cName ) -> oQVariant - METHOD removeEventFilter // ( oQObject ) -> NIL - METHOD setObjectName // ( cName ) -> NIL - METHOD setParent // ( oQObject ) -> NIL - METHOD setProperty // ( cName, oQVariant ) -> lBool - METHOD signalsBlocked // ( ) -> lBool - METHOD startTimer // ( nInterval ) -> nInt - METHOD thread // ( ) -> oQThread - METHOD tr // ( cSourceText, cDisambiguation, nN ) -> cQString - METHOD trUtf8 // ( cSourceText, cDisambiguation, nN ) -> cQString - METHOD deleteLater // ( ) -> NIL - - ENDCLASS - - -METHOD QObject:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QObject( ... ) - RETURN Self - - -METHOD QObject:blockSignals( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QObject_blockSignals( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:dumpObjectInfo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QObject_dumpObjectInfo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:dumpObjectTree( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QObject_dumpObjectTree( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:dynamicPropertyNames( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QObject_dynamicPropertyNames( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:event( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QObject_event( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:eventFilter( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QObject_eventFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:inherits( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QObject_inherits( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:installEventFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QObject_installEventFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:isWidgetType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QObject_isWidgetType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:killTimer( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QObject_killTimer( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:moveToThread( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QObject_moveToThread( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:objectName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QObject_objectName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:parent( ... ) - SWITCH PCount() - CASE 0 - RETURN QObjectFromPointer( Qt_QObject_parent( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:property( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QObject_property( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:removeEventFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QObject_removeEventFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:setObjectName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QObject_setObjectName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:setParent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QObject_setParent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:setProperty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QObject_setProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:signalsBlocked( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QObject_signalsBlocked( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:startTimer( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QObject_startTimer( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:thread( ... ) - SWITCH PCount() - CASE 0 - RETURN QThreadFromPointer( Qt_QObject_thread( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:tr( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QObject_tr( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QObject_tr( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QObject_tr( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:trUtf8( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QObject_trUtf8( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QObject_trUtf8( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QObject_trUtf8( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QObject:deleteLater( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QObject_deleteLater( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQPoint.prg b/harbour/contrib/hbqt/qtcore/g/TQPoint.prg deleted file mode 100644 index d3a0cc4a81..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQPoint.prg +++ /dev/null @@ -1,130 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QPoint( ... ) - RETURN HB_QPoint():new( ... ) - -FUNCTION QPointFromPointer( ... ) - RETURN HB_QPoint():fromPointer( ... ) - - -CREATE CLASS QPoint INHERIT HbQtObjectHandler FUNCTION HB_QPoint - - METHOD new( ... ) - - METHOD isNull // ( ) -> lBool - METHOD manhattanLength // ( ) -> nInt - METHOD rx // ( ) -> nInt - METHOD ry // ( ) -> nInt - METHOD setX // ( nX ) -> NIL - METHOD setY // ( nY ) -> NIL - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - - ENDCLASS - - -METHOD QPoint:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPoint( ... ) - RETURN Self - - -METHOD QPoint:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPoint_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:manhattanLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPoint_manhattanLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:rx( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPoint_rx( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:ry( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPoint_ry( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:setX( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPoint_setX( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:setY( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPoint_setY( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPoint_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPoint:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPoint_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQPointF.prg b/harbour/contrib/hbqt/qtcore/g/TQPointF.prg deleted file mode 100644 index 98de8a8544..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQPointF.prg +++ /dev/null @@ -1,130 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QPointF( ... ) - RETURN HB_QPointF():new( ... ) - -FUNCTION QPointFFromPointer( ... ) - RETURN HB_QPointF():fromPointer( ... ) - - -CREATE CLASS QPointF INHERIT HbQtObjectHandler FUNCTION HB_QPointF - - METHOD new( ... ) - - METHOD isNull // ( ) -> lBool - METHOD rx // ( ) -> nQreal - METHOD ry // ( ) -> nQreal - METHOD setX // ( nX ) -> NIL - METHOD setY // ( nY ) -> NIL - METHOD toPoint // ( ) -> oQPoint - METHOD x // ( ) -> nQreal - METHOD y // ( ) -> nQreal - - ENDCLASS - - -METHOD QPointF:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPointF( ... ) - RETURN Self - - -METHOD QPointF:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPointF_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:rx( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPointF_rx( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:ry( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPointF_ry( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:setX( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPointF_setX( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:setY( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPointF_setY( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:toPoint( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QPointF_toPoint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPointF_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPointF:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPointF_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQProcess.prg b/harbour/contrib/hbqt/qtcore/g/TQProcess.prg deleted file mode 100644 index 4f9138cca1..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQProcess.prg +++ /dev/null @@ -1,425 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QProcess( ... ) - RETURN HB_QProcess():new( ... ) - -FUNCTION QProcessFromPointer( ... ) - RETURN HB_QProcess():fromPointer( ... ) - - -CREATE CLASS QProcess INHERIT HbQtObjectHandler, HB_QIODevice FUNCTION HB_QProcess - - METHOD new( ... ) - - METHOD close // ( ) -> NIL - METHOD closeReadChannel // ( nChannel ) -> NIL - METHOD closeWriteChannel // ( ) -> NIL - METHOD environment // ( ) -> oQStringList - METHOD error // ( ) -> nQProcess_ProcessError - METHOD exitCode // ( ) -> nInt - METHOD exitStatus // ( ) -> nQProcess_ExitStatus - METHOD processChannelMode // ( ) -> nProcessChannelMode - METHOD readAllStandardError // ( ) -> oQByteArray - METHOD readAllStandardOutput // ( ) -> oQByteArray - METHOD readChannel // ( ) -> nProcessChannel - METHOD setEnvironment // ( oQStringList ) -> NIL - METHOD setProcessChannelMode // ( nMode ) -> NIL - METHOD setReadChannel // ( nChannel ) -> NIL - METHOD setStandardErrorFile // ( cFileName, nMode ) -> NIL - METHOD setStandardInputFile // ( cFileName ) -> NIL - METHOD setStandardOutputFile // ( cFileName, nMode ) -> NIL - METHOD setStandardOutputProcess // ( oQProcess ) -> NIL - METHOD setWorkingDirectory // ( cDir ) -> NIL - METHOD start // ( cProgram, oQStringList, nMode ) -> NIL - // ( cProgram, nMode ) -> NIL - METHOD state // ( ) -> nQProcess_ProcessState - METHOD waitForFinished // ( nMsecs ) -> lBool - METHOD waitForStarted // ( nMsecs ) -> lBool - METHOD workingDirectory // ( ) -> cQString - METHOD execute // ( cProgram, oQStringList ) -> nInt - // ( cProgram ) -> nInt - METHOD startDetached // ( cProgram, oQStringList, cWorkingDirectory, @nPid ) -> lBool - // ( cProgram, oQStringList ) -> lBool - // ( cProgram ) -> lBool - METHOD systemEnvironment // ( ) -> oQStringList - METHOD kill // ( ) -> NIL - METHOD terminate // ( ) -> NIL - - ENDCLASS - - -METHOD QProcess:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QProcess( ... ) - RETURN Self - - -METHOD QProcess:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:closeReadChannel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_closeReadChannel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:closeWriteChannel( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_closeWriteChannel( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:environment( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QProcess_environment( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:error( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_error( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:exitCode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_exitCode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:exitStatus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_exitStatus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:processChannelMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_processChannelMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:readAllStandardError( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QProcess_readAllStandardError( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:readAllStandardOutput( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QProcess_readAllStandardOutput( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:readChannel( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_readChannel( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setEnvironment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setEnvironment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setProcessChannelMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setProcessChannelMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setReadChannel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setReadChannel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setStandardErrorFile( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QProcess_setStandardErrorFile( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setStandardErrorFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setStandardInputFile( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setStandardInputFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setStandardOutputFile( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QProcess_setStandardOutputFile( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setStandardOutputFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setStandardOutputProcess( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setStandardOutputProcess( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:setWorkingDirectory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_setWorkingDirectory( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:start( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QProcess_start( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QProcess_start_1( ::pPtr, ... ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QProcess_start( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_start_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:state( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_state( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:waitForFinished( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_waitForFinished( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QProcess_waitForFinished( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:waitForStarted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_waitForStarted( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QProcess_waitForStarted( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:workingDirectory( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_workingDirectory( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:execute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QProcess_execute( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_execute_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:startDetached( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QProcess_startDetached( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QProcess_startDetached_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProcess_startDetached_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:systemEnvironment( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QProcess_systemEnvironment( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:kill( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_kill( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProcess:terminate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProcess_terminate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQRect.prg b/harbour/contrib/hbqt/qtcore/g/TQRect.prg deleted file mode 100644 index 3ab48ae691..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQRect.prg +++ /dev/null @@ -1,715 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QRect( ... ) - RETURN HB_QRect():new( ... ) - -FUNCTION QRectFromPointer( ... ) - RETURN HB_QRect():fromPointer( ... ) - - -CREATE CLASS QRect INHERIT HbQtObjectHandler FUNCTION HB_QRect - - METHOD new( ... ) - - METHOD adjust // ( nDx1, nDy1, nDx2, nDy2 ) -> NIL - METHOD adjusted // ( nDx1, nDy1, nDx2, nDy2 ) -> oQRect - METHOD bottom // ( ) -> nInt - METHOD bottomLeft // ( ) -> oQPoint - METHOD bottomRight // ( ) -> oQPoint - METHOD center // ( ) -> oQPoint - METHOD contains // ( oQPoint, lProper ) -> lBool - // ( nX, nY, lProper ) -> lBool - // ( nX, nY ) -> lBool - // ( oQRect, lProper ) -> lBool - METHOD getCoords // ( @nX1, @nY1, @nX2, @nY2 ) -> NIL - METHOD getRect // ( @nX, @nY, @nWidth, @nHeight ) -> NIL - METHOD height // ( ) -> nInt - METHOD intersected // ( oQRect ) -> oQRect - METHOD intersects // ( oQRect ) -> lBool - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD left // ( ) -> nInt - METHOD moveBottom // ( nY ) -> NIL - METHOD moveBottomLeft // ( oQPoint ) -> NIL - METHOD moveBottomRight // ( oQPoint ) -> NIL - METHOD moveCenter // ( oQPoint ) -> NIL - METHOD moveLeft // ( nX ) -> NIL - METHOD moveRight // ( nX ) -> NIL - METHOD moveTo // ( nX, nY ) -> NIL - // ( oQPoint ) -> NIL - METHOD moveTop // ( nY ) -> NIL - METHOD moveTopLeft // ( oQPoint ) -> NIL - METHOD moveTopRight // ( oQPoint ) -> NIL - METHOD normalized // ( ) -> oQRect - METHOD right // ( ) -> nInt - METHOD setBottom // ( nY ) -> NIL - METHOD setBottomLeft // ( oQPoint ) -> NIL - METHOD setBottomRight // ( oQPoint ) -> NIL - METHOD setCoords // ( nX1, nY1, nX2, nY2 ) -> NIL - METHOD setHeight // ( nHeight ) -> NIL - METHOD setLeft // ( nX ) -> NIL - METHOD setRect // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD setRight // ( nX ) -> NIL - METHOD setSize // ( oQSize ) -> NIL - METHOD setTop // ( nY ) -> NIL - METHOD setTopLeft // ( oQPoint ) -> NIL - METHOD setTopRight // ( oQPoint ) -> NIL - METHOD setWidth // ( nWidth ) -> NIL - METHOD setX // ( nX ) -> NIL - METHOD setY // ( nY ) -> NIL - METHOD size // ( ) -> oQSize - METHOD top // ( ) -> nInt - METHOD topLeft // ( ) -> oQPoint - METHOD topRight // ( ) -> oQPoint - METHOD translate // ( nDx, nDy ) -> NIL - // ( oQPoint ) -> NIL - METHOD translated // ( nDx, nDy ) -> oQRect - // ( oQPoint ) -> oQRect - METHOD united // ( oQRect ) -> oQRect - METHOD width // ( ) -> nInt - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - - ENDCLASS - - -METHOD QRect:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRect( ... ) - RETURN Self - - -METHOD QRect:adjust( ... ) - 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_QRect_adjust( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:adjusted( ... ) - 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 QRectFromPointer( Qt_QRect_adjusted( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:bottom( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_bottom( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:bottomLeft( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QRect_bottomLeft( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:bottomRight( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QRect_bottomRight( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:center( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QRect_center( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:contains( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRect_contains_2( ::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 - EXIT - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:getCoords( ... ) - 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_QRect_getCoords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:getRect( ... ) - 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_QRect_getRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:intersected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QRect_intersected( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:intersects( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_intersects( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:left( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_left( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveBottom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveBottom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveBottomLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveBottomLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveBottomRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveBottomRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveCenter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveCenter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRect_moveTo( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveTo_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveTop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveTop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveTopLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveTopLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:moveTopRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_moveTopRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:normalized( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QRect_normalized( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:right( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_right( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setBottom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setBottom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setBottomLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setBottomLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setBottomRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setBottomRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setCoords( ... ) - 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_QRect_setCoords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setRect( ... ) - 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_QRect_setRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setTop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setTop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setTopLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setTopLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setTopRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setTopRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setX( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setX( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:setY( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRect_setY( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QRect_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:top( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_top( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:topLeft( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QRect_topLeft( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:topRight( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QRect_topRight( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRect_translate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRect_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:translated( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QRectFromPointer( Qt_QRect_translated( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QRect_translated_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:united( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QRect_united( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRect:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRect_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQRectF.prg b/harbour/contrib/hbqt/qtcore/g/TQRectF.prg deleted file mode 100644 index 4778adc2da..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQRectF.prg +++ /dev/null @@ -1,719 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QRectF( ... ) - RETURN HB_QRectF():new( ... ) - -FUNCTION QRectFFromPointer( ... ) - RETURN HB_QRectF():fromPointer( ... ) - - -CREATE CLASS QRectF INHERIT HbQtObjectHandler FUNCTION HB_QRectF - - METHOD new( ... ) - - METHOD adjust // ( nDx1, nDy1, nDx2, nDy2 ) -> NIL - METHOD adjusted // ( nDx1, nDy1, nDx2, nDy2 ) -> oQRectF - METHOD bottom // ( ) -> nQreal - METHOD bottomLeft // ( ) -> oQPointF - METHOD bottomRight // ( ) -> oQPointF - METHOD center // ( ) -> oQPointF - METHOD contains // ( oQPointF ) -> lBool - // ( nX, nY ) -> lBool - // ( oQRectF ) -> lBool - METHOD getCoords // ( @nX1, @nY1, @nX2, @nY2 ) -> NIL - METHOD getRect // ( @nX, @nY, @nWidth, @nHeight ) -> NIL - METHOD height // ( ) -> nQreal - METHOD intersected // ( oQRectF ) -> oQRectF - METHOD intersects // ( oQRectF ) -> lBool - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD left // ( ) -> nQreal - METHOD moveBottom // ( nY ) -> NIL - METHOD moveBottomLeft // ( oQPointF ) -> NIL - METHOD moveBottomRight // ( oQPointF ) -> NIL - METHOD moveCenter // ( oQPointF ) -> NIL - METHOD moveLeft // ( nX ) -> NIL - METHOD moveRight // ( nX ) -> NIL - METHOD moveTo // ( nX, nY ) -> NIL - // ( oQPointF ) -> NIL - METHOD moveTop // ( nY ) -> NIL - METHOD moveTopLeft // ( oQPointF ) -> NIL - METHOD moveTopRight // ( oQPointF ) -> NIL - METHOD normalized // ( ) -> oQRectF - METHOD right // ( ) -> nQreal - METHOD setBottom // ( nY ) -> NIL - METHOD setBottomLeft // ( oQPointF ) -> NIL - METHOD setBottomRight // ( oQPointF ) -> NIL - METHOD setCoords // ( nX1, nY1, nX2, nY2 ) -> NIL - METHOD setHeight // ( nHeight ) -> NIL - METHOD setLeft // ( nX ) -> NIL - METHOD setRect // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD setRight // ( nX ) -> NIL - METHOD setSize // ( oQSizeF ) -> NIL - METHOD setTop // ( nY ) -> NIL - METHOD setTopLeft // ( oQPointF ) -> NIL - METHOD setTopRight // ( oQPointF ) -> NIL - METHOD setWidth // ( nWidth ) -> NIL - METHOD setX // ( nX ) -> NIL - METHOD setY // ( nY ) -> NIL - METHOD size // ( ) -> oQSizeF - METHOD toAlignedRect // ( ) -> oQRect - METHOD toRect // ( ) -> oQRect - METHOD top // ( ) -> nQreal - METHOD topLeft // ( ) -> oQPointF - METHOD topRight // ( ) -> oQPointF - METHOD translate // ( nDx, nDy ) -> NIL - // ( oQPointF ) -> NIL - METHOD translated // ( nDx, nDy ) -> oQRectF - // ( oQPointF ) -> oQRectF - METHOD united // ( oQRectF ) -> oQRectF - METHOD width // ( ) -> nQreal - METHOD x // ( ) -> nQreal - METHOD y // ( ) -> nQreal - - ENDCLASS - - -METHOD QRectF:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRectF( ... ) - RETURN Self - - -METHOD QRectF:adjust( ... ) - 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_QRectF_adjust( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:adjusted( ... ) - 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 QRectFFromPointer( Qt_QRectF_adjusted( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:bottom( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_bottom( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:bottomLeft( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRectF_bottomLeft( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:bottomRight( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRectF_bottomRight( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:center( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRectF_center( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:contains( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRectF_contains_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:getCoords( ... ) - 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_QRectF_getCoords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:getRect( ... ) - 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_QRectF_getRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:intersected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QRectF_intersected( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:intersects( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_intersects( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:left( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_left( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveBottom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveBottom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveBottomLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveBottomLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveBottomRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveBottomRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveCenter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveCenter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRectF_moveTo( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveTo_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveTop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveTop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveTopLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveTopLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:moveTopRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_moveTopRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:normalized( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QRectF_normalized( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:right( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_right( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setBottom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setBottom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setBottomLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setBottomLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setBottomRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setBottomRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setCoords( ... ) - 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_QRectF_setCoords( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setRect( ... ) - 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_QRectF_setRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setTop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setTop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setTopLeft( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setTopLeft( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setTopRight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setTopRight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setX( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setX( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:setY( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_setY( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QRectF_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:toAlignedRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QRectF_toAlignedRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:toRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QRectF_toRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:top( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_top( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:topLeft( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRectF_topLeft( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:topRight( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRectF_topRight( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRectF_translate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRectF_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:translated( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QRectFFromPointer( Qt_QRectF_translated( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QRectF_translated_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:united( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QRectF_united( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRectF:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRectF_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg b/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg deleted file mode 100644 index 69c90002a9..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQRegExp.prg +++ /dev/null @@ -1,285 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QRegExp( ... ) - RETURN HB_QRegExp():new( ... ) - -FUNCTION QRegExpFromPointer( ... ) - RETURN HB_QRegExp():fromPointer( ... ) - - -CREATE CLASS QRegExp INHERIT HbQtObjectHandler FUNCTION HB_QRegExp - - METHOD new( ... ) - - METHOD cap // ( nNth ) -> cQString - METHOD capturedTexts // ( ) -> oQStringList - METHOD caseSensitivity // ( ) -> nQt_CaseSensitivity - METHOD errorString // ( ) -> cQString - METHOD exactMatch // ( cStr ) -> lBool - METHOD indexIn // ( cStr, nOffset, nCaretMode ) -> nInt - METHOD isEmpty // ( ) -> lBool - METHOD isMinimal // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD lastIndexIn // ( cStr, nOffset, nCaretMode ) -> nInt - METHOD matchedLength // ( ) -> nInt - METHOD numCaptures // ( ) -> nInt - METHOD pattern // ( ) -> cQString - METHOD patternSyntax // ( ) -> nPatternSyntax - METHOD pos // ( nNth ) -> nInt - METHOD setCaseSensitivity // ( nCs ) -> NIL - METHOD setMinimal // ( lMinimal ) -> NIL - METHOD setPattern // ( cPattern ) -> NIL - METHOD setPatternSyntax // ( nSyntax ) -> NIL - - ENDCLASS - - -METHOD QRegExp:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRegExp( ... ) - RETURN Self - - -METHOD QRegExp:cap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_cap( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QRegExp_cap( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:capturedTexts( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QRegExp_capturedTexts( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:caseSensitivity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_caseSensitivity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:exactMatch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_exactMatch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:indexIn( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QRegExp_indexIn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRegExp_indexIn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_indexIn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:isMinimal( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_isMinimal( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:lastIndexIn( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QRegExp_lastIndexIn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRegExp_lastIndexIn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_lastIndexIn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:matchedLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_matchedLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:numCaptures( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_numCaptures( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:pattern( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_pattern( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:patternSyntax( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegExp_patternSyntax( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:pos( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_pos( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QRegExp_pos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:setCaseSensitivity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_setCaseSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:setMinimal( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_setMinimal( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:setPattern( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_setPattern( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExp:setPatternSyntax( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRegExp_setPatternSyntax( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQResource.prg b/harbour/contrib/hbqt/qtcore/g/TQResource.prg deleted file mode 100644 index 2115c87259..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQResource.prg +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QResource( ... ) - RETURN HB_QResource():new( ... ) - -FUNCTION QResourceFromPointer( ... ) - RETURN HB_QResource():fromPointer( ... ) - - -CREATE CLASS QResource INHERIT HbQtObjectHandler FUNCTION HB_QResource - - METHOD new( ... ) - - METHOD absoluteFilePath // ( ) -> cQString - METHOD data // ( ) -> cUchar - METHOD fileName // ( ) -> cQString - METHOD isCompressed // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD locale // ( ) -> oQLocale - METHOD setFileName // ( cFile ) -> NIL - METHOD setLocale // ( oQLocale ) -> NIL - METHOD size // ( ) -> nQint64 - METHOD registerResource // ( cRccFileName, cMapRoot ) -> lBool - METHOD registerResource_1 // ( ouchar, cMapRoot ) -> lBool - METHOD searchPaths // ( ) -> oQStringList - METHOD unregisterResource // ( cRccFileName, cMapRoot ) -> lBool - METHOD unregisterResource_1 // ( ouchar, cMapRoot ) -> lBool - - ENDCLASS - - -METHOD QResource:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QResource( ... ) - RETURN Self - - -METHOD QResource:absoluteFilePath( ... ) - RETURN Qt_QResource_absoluteFilePath( ::pPtr, ... ) - - -METHOD QResource:data( ... ) - RETURN Qt_QResource_data( ::pPtr, ... ) - - -METHOD QResource:fileName( ... ) - RETURN Qt_QResource_fileName( ::pPtr, ... ) - - -METHOD QResource:isCompressed( ... ) - RETURN Qt_QResource_isCompressed( ::pPtr, ... ) - - -METHOD QResource:isValid( ... ) - RETURN Qt_QResource_isValid( ::pPtr, ... ) - - -METHOD QResource:locale( ... ) - RETURN QLocaleFromPointer( Qt_QResource_locale( ::pPtr, ... ) ) - - -METHOD QResource:setFileName( ... ) - RETURN Qt_QResource_setFileName( ::pPtr, ... ) - - -METHOD QResource:setLocale( ... ) - RETURN Qt_QResource_setLocale( ::pPtr, ... ) - - -METHOD QResource:size( ... ) - RETURN Qt_QResource_size( ::pPtr, ... ) - - -METHOD QResource:registerResource( ... ) - RETURN Qt_QResource_registerResource( ::pPtr, ... ) - - -METHOD QResource:registerResource_1( ... ) - RETURN Qt_QResource_registerResource_1( ::pPtr, ... ) - - -METHOD QResource:searchPaths( ... ) - RETURN QStringListFromPointer( Qt_QResource_searchPaths( ::pPtr, ... ) ) - - -METHOD QResource:unregisterResource( ... ) - RETURN Qt_QResource_unregisterResource( ::pPtr, ... ) - - -METHOD QResource:unregisterResource_1( ... ) - RETURN Qt_QResource_unregisterResource_1( ::pPtr, ... ) - diff --git a/harbour/contrib/hbqt/qtcore/g/TQSettings.prg b/harbour/contrib/hbqt/qtcore/g/TQSettings.prg deleted file mode 100644 index 87500f9958..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQSettings.prg +++ /dev/null @@ -1,383 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QSettings( ... ) - RETURN HB_QSettings():new( ... ) - -FUNCTION QSettingsFromPointer( ... ) - RETURN HB_QSettings():fromPointer( ... ) - - -CREATE CLASS QSettings INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QSettings - - METHOD new( ... ) - - METHOD allKeys // ( ) -> oQStringList - METHOD applicationName // ( ) -> cQString - METHOD beginGroup // ( cPrefix ) -> NIL - METHOD beginReadArray // ( cPrefix ) -> nInt - METHOD beginWriteArray // ( cPrefix, nSize ) -> NIL - METHOD childGroups // ( ) -> oQStringList - METHOD childKeys // ( ) -> oQStringList - METHOD clear // ( ) -> NIL - METHOD contains // ( cKey ) -> lBool - METHOD endArray // ( ) -> NIL - METHOD endGroup // ( ) -> NIL - METHOD fallbacksEnabled // ( ) -> lBool - METHOD fileName // ( ) -> cQString - METHOD format // ( ) -> nFormat - METHOD group // ( ) -> cQString - METHOD iniCodec // ( ) -> oQTextCodec - METHOD isWritable // ( ) -> lBool - METHOD organizationName // ( ) -> cQString - METHOD remove // ( cKey ) -> NIL - METHOD scope // ( ) -> nScope - METHOD setArrayIndex // ( nI ) -> NIL - METHOD setFallbacksEnabled // ( lB ) -> NIL - METHOD setIniCodec // ( oQTextCodec ) -> NIL - // ( cCodecName ) -> NIL - METHOD setValue // ( cKey, oQVariant ) -> NIL - METHOD status // ( ) -> nStatus - METHOD sync // ( ) -> NIL - METHOD value // ( cKey, oQVariant ) -> oQVariant - METHOD defaultFormat // ( ) -> nFormat - METHOD setDefaultFormat // ( nFormat ) -> NIL - METHOD setPath // ( nFormat, nScope, cPath ) -> NIL - - ENDCLASS - - -METHOD QSettings:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSettings( ... ) - RETURN Self - - -METHOD QSettings:allKeys( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QSettings_allKeys( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:applicationName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_applicationName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:beginGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_beginGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:beginReadArray( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_beginReadArray( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:beginWriteArray( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSettings_beginWriteArray( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_beginWriteArray( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:childGroups( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QSettings_childGroups( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:childKeys( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QSettings_childKeys( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:contains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_contains( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:endArray( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_endArray( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:endGroup( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_endGroup( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:fallbacksEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_fallbacksEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:format( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_format( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:group( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_group( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:iniCodec( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCodecFromPointer( Qt_QSettings_iniCodec( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:isWritable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_isWritable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:organizationName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_organizationName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:scope( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_scope( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:setArrayIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_setArrayIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:setFallbacksEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_setFallbacksEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:setIniCodec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_setIniCodec_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_setIniCodec( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:setValue( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QSettings_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:status( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_status( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:sync( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_sync( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:value( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QSettings_value( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QSettings_value( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:defaultFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSettings_defaultFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:setDefaultFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSettings_setDefaultFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSettings:setPath( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QSettings_setPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg b/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg deleted file mode 100644 index b2f56ca526..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQSignalMapper.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QSignalMapper( ... ) - RETURN HB_QSignalMapper():new( ... ) - -FUNCTION QSignalMapperFromPointer( ... ) - RETURN HB_QSignalMapper():fromPointer( ... ) - - -CREATE CLASS QSignalMapper INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QSignalMapper - - METHOD new( ... ) - - METHOD mapping // ( nId ) -> oQObject - // ( cId ) -> oQObject - // ( oQObject ) -> oQObject - METHOD removeMappings // ( oQObject ) -> NIL - METHOD setMapping // ( oQObject, nId ) -> NIL - // ( oQObject, cText ) -> NIL - // ( oQObject, oQObject ) -> NIL - METHOD map // ( ) -> NIL - // ( oQObject ) -> NIL - - ENDCLASS - - -METHOD QSignalMapper:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSignalMapper( ... ) - RETURN Self - - -METHOD QSignalMapper:mapping( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QObjectFromPointer( Qt_QSignalMapper_mapping_1( ::pPtr, ... ) ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QObjectFromPointer( Qt_QSignalMapper_mapping( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QObjectFromPointer( Qt_QSignalMapper_mapping_2( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSignalMapper:removeMappings( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSignalMapper_removeMappings( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSignalMapper:setMapping( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QSignalMapper_setMapping_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSignalMapper_setMapping( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QSignalMapper_setMapping_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSignalMapper:map( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSignalMapper_map_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QSignalMapper_map( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQSize.prg b/harbour/contrib/hbqt/qtcore/g/TQSize.prg deleted file mode 100644 index c056f69662..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQSize.prg +++ /dev/null @@ -1,194 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QSize( ... ) - RETURN HB_QSize():new( ... ) - -FUNCTION QSizeFromPointer( ... ) - RETURN HB_QSize():fromPointer( ... ) - - -CREATE CLASS QSize INHERIT HbQtObjectHandler FUNCTION HB_QSize - - METHOD new( ... ) - - METHOD height // ( ) -> nInt - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD rheight // ( ) -> nInt - METHOD rwidth // ( ) -> nInt - METHOD scale // ( nWidth, nHeight, nMode ) -> NIL - // ( oQSize, nMode ) -> NIL - METHOD setHeight // ( nHeight ) -> NIL - METHOD setWidth // ( nWidth ) -> NIL - METHOD transpose // ( ) -> NIL - METHOD width // ( ) -> nInt - METHOD boundedTo // ( oQSize ) -> oQSize - METHOD expandedTo // ( oQSize ) -> oQSize - - ENDCLASS - - -METHOD QSize:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSize( ... ) - RETURN Self - - -METHOD QSize:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:rheight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_rheight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:rwidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_rwidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:scale( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QSize_scale( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSize_scale_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSize_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSize_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:transpose( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_transpose( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSize_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:boundedTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFromPointer( Qt_QSize_boundedTo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSize:expandedTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFromPointer( Qt_QSize_expandedTo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg b/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg deleted file mode 100644 index 21aaa8131f..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQSizeF.prg +++ /dev/null @@ -1,203 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QSizeF( ... ) - RETURN HB_QSizeF():new( ... ) - -FUNCTION QSizeFFromPointer( ... ) - RETURN HB_QSizeF():fromPointer( ... ) - - -CREATE CLASS QSizeF INHERIT HbQtObjectHandler FUNCTION HB_QSizeF - - METHOD new( ... ) - - METHOD boundedTo // ( oQSizeF ) -> oQSizeF - METHOD expandedTo // ( oQSizeF ) -> oQSizeF - METHOD height // ( ) -> nQreal - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD rheight // ( ) -> nQreal - METHOD rwidth // ( ) -> nQreal - METHOD scale // ( nWidth, nHeight, nMode ) -> NIL - // ( oQSizeF, nMode ) -> NIL - METHOD setHeight // ( nHeight ) -> NIL - METHOD setWidth // ( nWidth ) -> NIL - METHOD toSize // ( ) -> oQSize - METHOD transpose // ( ) -> NIL - METHOD width // ( ) -> nQreal - - ENDCLASS - - -METHOD QSizeF:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSizeF( ... ) - RETURN Self - - -METHOD QSizeF:boundedTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFFromPointer( Qt_QSizeF_boundedTo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:expandedTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFFromPointer( Qt_QSizeF_expandedTo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:rheight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_rheight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:rwidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_rwidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:scale( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QSizeF_scale( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSizeF_scale_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizeF_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizeF_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:toSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QSizeF_toSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:transpose( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_transpose( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizeF:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizeF_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQStringList.prg b/harbour/contrib/hbqt/qtcore/g/TQStringList.prg deleted file mode 100644 index 3a11386082..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQStringList.prg +++ /dev/null @@ -1,435 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QStringList( ... ) - RETURN HB_QStringList():new( ... ) - -FUNCTION QStringListFromPointer( ... ) - RETURN HB_QStringList():fromPointer( ... ) - - -CREATE CLASS QStringList INHERIT HbQtObjectHandler, HB_QList FUNCTION HB_QStringList - - METHOD new( ... ) - - METHOD append // ( cValue ) -> NIL - METHOD filter // ( cStr, nCs ) -> oQStringList - // ( oQRegExp ) -> oQStringList - METHOD indexOf // ( cValue, nFrom ) -> nInt - // ( oQRegExp, nFrom ) -> nInt - // ( oQRegExp, nFrom ) -> nInt - METHOD join // ( cSeparator ) -> cQString - METHOD lastIndexOf // ( oQRegExp, nFrom ) -> nInt - // ( cValue, nFrom ) -> nInt - // ( oQRegExp, nFrom ) -> nInt - METHOD removeDuplicates // ( ) -> nInt - METHOD sort // ( ) -> NIL - METHOD at // ( nI ) -> cQString - METHOD back // ( ) -> cQString - METHOD count // ( cValue ) -> nInt - METHOD endsWith // ( cValue ) -> lBool - METHOD first // ( ) -> cQString - METHOD front // ( ) -> cQString - METHOD insert // ( nI, cValue ) -> NIL - METHOD last // ( ) -> cQString - METHOD mid // ( nPos, nLength ) -> oQList_QString> - METHOD prepend // ( cValue ) -> NIL - METHOD push_back // ( cValue ) -> NIL - METHOD push_front // ( cValue ) -> NIL - METHOD removeAll // ( cValue ) -> nInt - METHOD removeOne // ( cValue ) -> lBool - METHOD replace // ( nI, cValue ) -> NIL - METHOD startsWith // ( cValue ) -> lBool - METHOD takeAt // ( nI ) -> cQString - METHOD takeFirst // ( ) -> cQString - METHOD takeLast // ( ) -> cQString - METHOD value // ( nI ) -> cQString - // ( nI, cDefaultValue ) -> cQString - - ENDCLASS - - -METHOD QStringList:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStringList( ... ) - RETURN Self - - -METHOD QStringList:append( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_append( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:filter( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStringListFromPointer( Qt_QStringList_filter( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QStringList_filter( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QStringList_filter_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:indexOf( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStringList_indexOf( ::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 - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_indexOf( ::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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:join( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_join( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:lastIndexOf( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStringList_lastIndexOf_1( ::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 - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_lastIndexOf_1( ::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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:removeDuplicates( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_removeDuplicates( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:sort( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_sort( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:at( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_at( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:back( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_back( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:count( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_count( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:endsWith( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_endsWith( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:first( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_first( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:front( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_front( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:insert( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QStringList_insert( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:last( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_last( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:mid( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QStringList_mid( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QStringList_mid( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:prepend( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_prepend( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:push_back( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_push_back( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:push_front( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_push_front( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:removeAll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_removeAll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:removeOne( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_removeOne( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:replace( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QStringList_replace( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:startsWith( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_startsWith( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:takeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_takeAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:takeFirst( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_takeFirst( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:takeLast( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringList_takeLast( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringList:value( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QStringList_value_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStringList_value( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg b/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg deleted file mode 100644 index 9b2095280d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQStringRef.prg +++ /dev/null @@ -1,217 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QStringRef( ... ) - RETURN HB_QStringRef():new( ... ) - -FUNCTION QStringRefFromPointer( ... ) - RETURN HB_QStringRef():fromPointer( ... ) - - -CREATE CLASS QStringRef INHERIT HbQtObjectHandler FUNCTION HB_QStringRef - - METHOD new( ... ) - - METHOD at // ( nPosition ) -> oQChar - METHOD clear // ( ) -> NIL - METHOD compare // ( cOther, nCs ) -> nInt - // ( oQStringRef, nCs ) -> nInt - METHOD constData // ( ) -> oQChar - METHOD count // ( ) -> nInt - METHOD data // ( ) -> oQChar - METHOD isEmpty // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD length // ( ) -> nInt - METHOD localeAwareCompare // ( cOther ) -> nInt - // ( oQStringRef ) -> nInt - METHOD position // ( ) -> nInt - METHOD size // ( ) -> nInt - METHOD unicode // ( ) -> oQChar - // ( oQStringRef, cS2, nCs ) -> nInt - // ( oQStringRef, oQStringRef, nCs ) -> nInt - // ( oQStringRef, cS2 ) -> nInt - // ( oQStringRef, oQStringRef ) -> nInt - - ENDCLASS - - -METHOD QStringRef:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStringRef( ... ) - RETURN Self - - -METHOD QStringRef:at( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QCharFromPointer( Qt_QStringRef_at( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:compare( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QStringRef_compare_3( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStringRef_compare( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QStringRef_compare_2( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStringRef_compare_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStringRef_compare_3( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringRef_compare( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStringRef_compare_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:constData( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QStringRef_constData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:data( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QStringRef_data( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:localeAwareCompare( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QStringRef_localeAwareCompare_2( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStringRef_localeAwareCompare_3( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStringRef_localeAwareCompare( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStringRef_localeAwareCompare_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStringRef_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringRef:unicode( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QStringRef_unicode( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg b/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg deleted file mode 100644 index 2bcf24a8ea..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTextBoundaryFinder.prg +++ /dev/null @@ -1,153 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTextBoundaryFinder( ... ) - RETURN HB_QTextBoundaryFinder():new( ... ) - -FUNCTION QTextBoundaryFinderFromPointer( ... ) - RETURN HB_QTextBoundaryFinder():fromPointer( ... ) - - -CREATE CLASS QTextBoundaryFinder INHERIT HbQtObjectHandler FUNCTION HB_QTextBoundaryFinder - - METHOD new( ... ) - - METHOD boundaryReasons // ( ) -> nBoundaryReasons - METHOD isAtBoundary // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD position // ( ) -> nInt - METHOD setPosition // ( nPosition ) -> NIL - METHOD string // ( ) -> cQString - METHOD toEnd // ( ) -> NIL - METHOD toNextBoundary // ( ) -> nInt - METHOD toPreviousBoundary // ( ) -> nInt - METHOD toStart // ( ) -> NIL - METHOD type // ( ) -> nBoundaryType - - ENDCLASS - - -METHOD QTextBoundaryFinder:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextBoundaryFinder( ... ) - RETURN Self - - -METHOD QTextBoundaryFinder:boundaryReasons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_boundaryReasons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:isAtBoundary( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_isAtBoundary( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:setPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBoundaryFinder_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:string( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_string( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:toEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_toEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:toNextBoundary( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_toNextBoundary( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:toPreviousBoundary( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_toPreviousBoundary( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:toStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_toStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBoundaryFinder:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBoundaryFinder_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg b/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg deleted file mode 100644 index b54199a14d..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTextCodec.prg +++ /dev/null @@ -1,255 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTextCodec( ... ) - RETURN HB_QTextCodec():new( ... ) - -FUNCTION QTextCodecFromPointer( ... ) - RETURN HB_QTextCodec():fromPointer( ... ) - - -CREATE CLASS QTextCodec INHERIT HbQtObjectHandler FUNCTION HB_QTextCodec - - METHOD new( ... ) - - METHOD aliases // ( ) -> oQList_QByteArray> - METHOD canEncode // ( oQChar ) -> lBool - // ( cS ) -> lBool - METHOD fromUnicode // ( cStr ) -> oQByteArray - METHOD makeDecoder // ( ) -> oQTextDecoder - METHOD makeEncoder // ( ) -> oQTextEncoder - METHOD mibEnum // ( ) -> nInt - METHOD name // ( ) -> oQByteArray - METHOD toUnicode // ( oQByteArray ) -> cQString - // ( cChars ) -> cQString - METHOD codecForCStrings // ( ) -> oQTextCodec - METHOD codecForHtml // ( oQByteArray, oQTextCodec ) -> oQTextCodec - // ( oQByteArray ) -> oQTextCodec - METHOD codecForLocale // ( ) -> oQTextCodec - METHOD codecForMib // ( nMib ) -> oQTextCodec - METHOD codecForName // ( oQByteArray ) -> oQTextCodec - // ( cName ) -> oQTextCodec - METHOD codecForTr // ( ) -> oQTextCodec - METHOD setCodecForCStrings // ( oQTextCodec ) -> NIL - METHOD setCodecForLocale // ( oQTextCodec ) -> NIL - METHOD setCodecForTr // ( oQTextCodec ) -> NIL - - ENDCLASS - - -METHOD QTextCodec:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextCodec( ... ) - RETURN Self - - -METHOD QTextCodec:aliases( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTextCodec_aliases( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:canEncode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_canEncode_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_canEncode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:fromUnicode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QTextCodec_fromUnicode( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:makeDecoder( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDecoderFromPointer( Qt_QTextCodec_makeDecoder( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:makeEncoder( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextEncoderFromPointer( Qt_QTextCodec_makeEncoder( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:mibEnum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCodec_mibEnum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:name( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QTextCodec_name( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:toUnicode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_toUnicode_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_toUnicode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:codecForCStrings( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForCStrings( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:codecForHtml( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForHtml( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForHtml_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:codecForLocale( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForLocale( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:codecForMib( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForMib( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:codecForName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForName_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForName( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:codecForTr( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCodecFromPointer( Qt_QTextCodec_codecForTr( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:setCodecForCStrings( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_setCodecForCStrings( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:setCodecForLocale( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_setCodecForLocale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCodec:setCodecForTr( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCodec_setCodecForTr( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg b/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg deleted file mode 100644 index 1c5803ea1c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTextDecoder.prg +++ /dev/null @@ -1,63 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTextDecoder( ... ) - RETURN HB_QTextDecoder():new( ... ) - -FUNCTION QTextDecoderFromPointer( ... ) - RETURN HB_QTextDecoder():fromPointer( ... ) - - -CREATE CLASS QTextDecoder INHERIT HbQtObjectHandler FUNCTION HB_QTextDecoder - - METHOD new( ... ) - - METHOD toUnicode // ( cChars, nLen ) -> cQString - - ENDCLASS - - -METHOD QTextDecoder:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextDecoder( ... ) - RETURN Self - - -METHOD QTextDecoder:toUnicode( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextDecoder_toUnicode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg b/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg deleted file mode 100644 index d8fe4c8a5a..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTextEncoder.prg +++ /dev/null @@ -1,70 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTextEncoder( ... ) - RETURN HB_QTextEncoder():new( ... ) - -FUNCTION QTextEncoderFromPointer( ... ) - RETURN HB_QTextEncoder():fromPointer( ... ) - - -CREATE CLASS QTextEncoder INHERIT HbQtObjectHandler FUNCTION HB_QTextEncoder - - METHOD new( ... ) - - METHOD fromUnicode // ( cStr ) -> oQByteArray - // ( oQChar, nLen ) -> oQByteArray - - ENDCLASS - - -METHOD QTextEncoder:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextEncoder( ... ) - RETURN Self - - -METHOD QTextEncoder:fromUnicode( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QByteArrayFromPointer( Qt_QTextEncoder_fromUnicode_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QTextEncoder_fromUnicode( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg b/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg deleted file mode 100644 index eca7ba2dc1..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTextStream.prg +++ /dev/null @@ -1,443 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTextStream( ... ) - RETURN HB_QTextStream():new( ... ) - -FUNCTION QTextStreamFromPointer( ... ) - RETURN HB_QTextStream():fromPointer( ... ) - - -CREATE CLASS QTextStream INHERIT HbQtObjectHandler FUNCTION HB_QTextStream - - METHOD new( ... ) - - METHOD padChar // ( ) -> oQChar - METHOD atEnd // ( ) -> lBool - METHOD autoDetectUnicode // ( ) -> lBool - METHOD codec // ( ) -> oQTextCodec - METHOD device // ( ) -> oQIODevice - METHOD fieldAlignment // ( ) -> nFieldAlignment - METHOD fieldWidth // ( ) -> nInt - METHOD flush // ( ) -> NIL - METHOD generateByteOrderMark // ( ) -> lBool - METHOD integerBase // ( ) -> nInt - METHOD locale // ( ) -> oQLocale - METHOD numberFlags // ( ) -> nNumberFlags - METHOD pos // ( ) -> nQint64 - METHOD read // ( nMaxlen ) -> cQString - METHOD readAll // ( ) -> cQString - METHOD readLine // ( nMaxlen ) -> cQString - METHOD realNumberNotation // ( ) -> nRealNumberNotation - METHOD realNumberPrecision // ( ) -> nInt - METHOD reset // ( ) -> NIL - METHOD resetStatus // ( ) -> NIL - METHOD seek // ( nPos ) -> lBool - METHOD setAutoDetectUnicode // ( lEnabled ) -> NIL - METHOD setCodec // ( oQTextCodec ) -> NIL - // ( cCodecName ) -> NIL - METHOD setDevice // ( oQIODevice ) -> NIL - METHOD setFieldAlignment // ( nMode ) -> NIL - METHOD setFieldWidth // ( nWidth ) -> NIL - METHOD setGenerateByteOrderMark // ( lGenerate ) -> NIL - METHOD setIntegerBase // ( nBase ) -> NIL - METHOD setLocale // ( oQLocale ) -> NIL - METHOD setNumberFlags // ( nFlags ) -> NIL - METHOD setPadChar // ( oQChar ) -> NIL - METHOD setRealNumberNotation // ( nNotation ) -> NIL - METHOD setRealNumberPrecision // ( nPrecision ) -> NIL - METHOD setStatus // ( nStatus ) -> NIL - METHOD skipWhiteSpace // ( ) -> NIL - METHOD status // ( ) -> nStatus - - ENDCLASS - - -METHOD QTextStream:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextStream( ... ) - RETURN Self - - -METHOD QTextStream:padChar( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QTextStream_padChar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:atEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_atEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:autoDetectUnicode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_autoDetectUnicode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:codec( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCodecFromPointer( Qt_QTextStream_codec( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QTextStream_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:fieldAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_fieldAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:fieldWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_fieldWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:flush( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_flush( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:generateByteOrderMark( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_generateByteOrderMark( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:integerBase( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_integerBase( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:locale( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QTextStream_locale( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:numberFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_numberFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_pos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_read( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:readAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_readAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:readLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_readLine( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextStream_readLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:realNumberNotation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_realNumberNotation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:realNumberPrecision( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_realNumberPrecision( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:resetStatus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_resetStatus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:seek( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_seek( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setAutoDetectUnicode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setAutoDetectUnicode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setCodec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setCodec_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setCodec( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setFieldAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setFieldAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setFieldWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setFieldWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setGenerateByteOrderMark( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setGenerateByteOrderMark( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setIntegerBase( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setIntegerBase( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setLocale( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setLocale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setNumberFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setNumberFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setPadChar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setPadChar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setRealNumberNotation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setRealNumberNotation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setRealNumberPrecision( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setRealNumberPrecision( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:setStatus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextStream_setStatus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:skipWhiteSpace( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_skipWhiteSpace( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextStream:status( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextStream_status( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQThread.prg b/harbour/contrib/hbqt/qtcore/g/TQThread.prg deleted file mode 100644 index b4dae90c42..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQThread.prg +++ /dev/null @@ -1,202 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QThread( ... ) - RETURN HB_QThread():new( ... ) - -FUNCTION QThreadFromPointer( ... ) - RETURN HB_QThread():fromPointer( ... ) - - -CREATE CLASS QThread INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QThread - - METHOD new( ... ) - - METHOD exit // ( nReturnCode ) -> NIL - METHOD isFinished // ( ) -> lBool - METHOD isRunning // ( ) -> lBool - METHOD priority // ( ) -> nPriority - METHOD setPriority // ( nPriority ) -> NIL - METHOD setStackSize // ( nStackSize ) -> NIL - METHOD stackSize // ( ) -> nUint - METHOD wait // ( nTime ) -> lBool - METHOD currentThread // ( ) -> oQThread - METHOD idealThreadCount // ( ) -> nInt - METHOD yieldCurrentThread // ( ) -> NIL - METHOD quit // ( ) -> NIL - METHOD start // ( nPriority ) -> NIL - METHOD terminate // ( ) -> NIL - - ENDCLASS - - -METHOD QThread:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QThread( ... ) - RETURN Self - - -METHOD QThread:exit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QThread_exit( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QThread_exit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:isFinished( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_isFinished( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:isRunning( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_isRunning( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:priority( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_priority( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:setPriority( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QThread_setPriority( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:setStackSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QThread_setStackSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:stackSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_stackSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:wait( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QThread_wait( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QThread_wait( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:currentThread( ... ) - SWITCH PCount() - CASE 0 - RETURN QThreadFromPointer( Qt_QThread_currentThread( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:idealThreadCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_idealThreadCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:yieldCurrentThread( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_yieldCurrentThread( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:quit( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_quit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:start( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QThread_start( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QThread_start( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QThread:terminate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QThread_terminate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTime.prg b/harbour/contrib/hbqt/qtcore/g/TQTime.prg deleted file mode 100644 index a355fcd64c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTime.prg +++ /dev/null @@ -1,264 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTime( ... ) - RETURN HB_QTime():new( ... ) - -FUNCTION QTimeFromPointer( ... ) - RETURN HB_QTime():fromPointer( ... ) - - -CREATE CLASS QTime INHERIT HbQtObjectHandler FUNCTION HB_QTime - - METHOD new( ... ) - - METHOD addMSecs // ( nMs ) -> oQTime - METHOD addSecs // ( nS ) -> oQTime - METHOD elapsed // ( ) -> nInt - METHOD hour // ( ) -> nInt - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD minute // ( ) -> nInt - METHOD msec // ( ) -> nInt - METHOD msecsTo // ( oQTime ) -> nInt - METHOD restart // ( ) -> nInt - METHOD second // ( ) -> nInt - METHOD secsTo // ( oQTime ) -> nInt - METHOD setHMS // ( nH, nM, nS, nMs ) -> lBool - METHOD start // ( ) -> NIL - METHOD toString // ( cFormat ) -> cQString - // ( nFormat ) -> cQString - METHOD currentTime // ( ) -> oQTime - METHOD fromString // ( cString, nFormat ) -> oQTime - // ( cString, cFormat ) -> oQTime - // ( nH, nM, nS, nMs ) -> lBool - - ENDCLASS - - -METHOD QTime:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTime( ... ) - RETURN Self - - -METHOD QTime:addMSecs( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTimeFromPointer( Qt_QTime_addMSecs( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:addSecs( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTimeFromPointer( Qt_QTime_addSecs( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:elapsed( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_elapsed( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:hour( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_hour( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:isValid( ... ) - 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_QTime_isValid_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - 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 - EXIT - CASE 0 - RETURN Qt_QTime_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:minute( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_minute( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:msec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_msec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:msecsTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTime_msecsTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:restart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_restart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:second( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_second( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:secsTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTime_secsTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:setHMS( ... ) - 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_QTime_setHMS( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QTime_setHMS( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:start( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTime_start( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:toString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTime_toString( ::pPtr, ... ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTime_toString_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTime_toString_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:currentTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeFromPointer( Qt_QTime_currentTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTime:fromString( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QTimeFromPointer( Qt_QTime_fromString_1( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTimeFromPointer( Qt_QTime_fromString( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QTimeFromPointer( Qt_QTime_fromString( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg b/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg deleted file mode 100644 index 266a5152bd..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTimeLine.prg +++ /dev/null @@ -1,341 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTimeLine( ... ) - RETURN HB_QTimeLine():new( ... ) - -FUNCTION QTimeLineFromPointer( ... ) - RETURN HB_QTimeLine():fromPointer( ... ) - - -CREATE CLASS QTimeLine INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QTimeLine - - METHOD new( ... ) - - METHOD currentFrame // ( ) -> nInt - METHOD currentTime // ( ) -> nInt - METHOD currentValue // ( ) -> nQreal - METHOD curveShape // ( ) -> nCurveShape - METHOD direction // ( ) -> nDirection - METHOD duration // ( ) -> nInt - METHOD endFrame // ( ) -> nInt - METHOD frameForTime // ( nMsec ) -> nInt - METHOD loopCount // ( ) -> nInt - METHOD setCurveShape // ( nShape ) -> NIL - METHOD setDirection // ( nDirection ) -> NIL - METHOD setDuration // ( nDuration ) -> NIL - METHOD setEndFrame // ( nFrame ) -> NIL - METHOD setFrameRange // ( nStartFrame, nEndFrame ) -> NIL - METHOD setLoopCount // ( nCount ) -> NIL - METHOD setStartFrame // ( nFrame ) -> NIL - METHOD setUpdateInterval // ( nInterval ) -> NIL - METHOD startFrame // ( ) -> nInt - METHOD state // ( ) -> nState - METHOD updateInterval // ( ) -> nInt - METHOD valueForTime // ( nMsec ) -> nQreal - METHOD resume // ( ) -> NIL - METHOD setCurrentTime // ( nMsec ) -> NIL - METHOD setPaused // ( lPaused ) -> NIL - METHOD start // ( ) -> NIL - METHOD stop // ( ) -> NIL - METHOD toggleDirection // ( ) -> NIL - - ENDCLASS - - -METHOD QTimeLine:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTimeLine( ... ) - RETURN Self - - -METHOD QTimeLine:currentFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_currentFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:currentTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_currentTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:currentValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_currentValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:curveShape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_curveShape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:direction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_direction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:duration( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_duration( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:endFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_endFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:frameForTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_frameForTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:loopCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_loopCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setCurveShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setCurveShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setDuration( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setDuration( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setEndFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setEndFrame( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setFrameRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTimeLine_setFrameRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setLoopCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setLoopCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setStartFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setStartFrame( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setUpdateInterval( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setUpdateInterval( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:startFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_startFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:state( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_state( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:updateInterval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_updateInterval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:valueForTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_valueForTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:resume( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_resume( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setCurrentTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setCurrentTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:setPaused( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTimeLine_setPaused( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:start( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_start( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:stop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_stop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimeLine:toggleDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimeLine_toggleDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTimer.prg b/harbour/contrib/hbqt/qtcore/g/TQTimer.prg deleted file mode 100644 index b86e03195c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTimer.prg +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTimer( ... ) - RETURN HB_QTimer():new( ... ) - -FUNCTION QTimerFromPointer( ... ) - RETURN HB_QTimer():fromPointer( ... ) - - -CREATE CLASS QTimer INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QTimer - - METHOD new( ... ) - - METHOD interval // ( ) -> nInt - METHOD isActive // ( ) -> lBool - METHOD isSingleShot // ( ) -> lBool - METHOD setInterval // ( nMsec ) -> NIL - METHOD setSingleShot // ( lSingleShot ) -> NIL - METHOD timerId // ( ) -> nInt - METHOD singleShot // ( nMsec, oQObject, cMember ) -> NIL - METHOD start // ( ) -> NIL - METHOD stop // ( ) -> NIL - // ( nMsec ) -> NIL - - ENDCLASS - - -METHOD QTimer:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTimer( ... ) - RETURN Self - - -METHOD QTimer:interval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimer_interval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:isActive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimer_isActive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:isSingleShot( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimer_isSingleShot( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:setInterval( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimer_setInterval( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:setSingleShot( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTimer_setSingleShot( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:timerId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimer_timerId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:singleShot( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QTimer_singleShot( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:start( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTimer_start_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTimer_start( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTimer:stop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTimer_stop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg b/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg deleted file mode 100644 index 4ebb97773f..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQTranslator.prg +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QTranslator( ... ) - RETURN HB_QTranslator():new( ... ) - -FUNCTION QTranslatorFromPointer( ... ) - RETURN HB_QTranslator():fromPointer( ... ) - - -CREATE CLASS QTranslator INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QTranslator - - METHOD new( ... ) - - METHOD isEmpty // ( ) -> lBool - METHOD load // ( cFilename, cDirectory, cSearch_delimiters, cSuffix ) -> lBool - METHOD translate // ( cContext, cSourceText, cDisambiguation ) -> cQString - // ( cContext, cSourceText, cDisambiguation, nN ) -> cQString - - ENDCLASS - - -METHOD QTranslator:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTranslator( ... ) - RETURN Self - - -METHOD QTranslator:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTranslator_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTranslator:load( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) - RETURN Qt_QTranslator_load( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QTranslator_load( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTranslator_load( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTranslator_load( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTranslator:translate( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QTranslator_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QTranslator_translate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTranslator_translate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQUrl.prg b/harbour/contrib/hbqt/qtcore/g/TQUrl.prg deleted file mode 100644 index 6640cc5233..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQUrl.prg +++ /dev/null @@ -1,848 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QUrl( ... ) - RETURN HB_QUrl():new( ... ) - -FUNCTION QUrlFromPointer( ... ) - RETURN HB_QUrl():fromPointer( ... ) - - -CREATE CLASS QUrl INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QUrl - - METHOD new( ... ) - - METHOD addEncodedQueryItem // ( oQByteArray, oQByteArray ) -> NIL - METHOD addQueryItem // ( cKey, cValue ) -> NIL - METHOD allEncodedQueryItemValues // ( oQByteArray ) -> oQList_QByteArray> - METHOD allQueryItemValues // ( cKey ) -> oQStringList - METHOD authority // ( ) -> cQString - METHOD clear // ( ) -> NIL - METHOD encodedFragment // ( ) -> oQByteArray - METHOD encodedHost // ( ) -> oQByteArray - METHOD encodedPassword // ( ) -> oQByteArray - METHOD encodedPath // ( ) -> oQByteArray - METHOD encodedQuery // ( ) -> oQByteArray - METHOD encodedQueryItemValue // ( oQByteArray ) -> oQByteArray - METHOD encodedUserName // ( ) -> oQByteArray - METHOD errorString // ( ) -> cQString - METHOD fragment // ( ) -> cQString - METHOD hasEncodedQueryItem // ( oQByteArray ) -> lBool - METHOD hasFragment // ( ) -> lBool - METHOD hasQuery // ( ) -> lBool - METHOD hasQueryItem // ( cKey ) -> lBool - METHOD host // ( ) -> cQString - METHOD isEmpty // ( ) -> lBool - METHOD isParentOf // ( oQUrl ) -> lBool - METHOD isRelative // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD password // ( ) -> cQString - METHOD path // ( ) -> cQString - METHOD port // ( ) -> nInt - // ( nDefaultPort ) -> nInt - METHOD queryItemValue // ( cKey ) -> cQString - METHOD queryPairDelimiter // ( ) -> cChar - METHOD queryValueDelimiter // ( ) -> cChar - METHOD removeAllEncodedQueryItems // ( oQByteArray ) -> NIL - METHOD removeAllQueryItems // ( cKey ) -> NIL - METHOD removeEncodedQueryItem // ( oQByteArray ) -> NIL - METHOD removeQueryItem // ( cKey ) -> NIL - METHOD resolved // ( oQUrl ) -> oQUrl - METHOD scheme // ( ) -> cQString - METHOD setAuthority // ( cAuthority ) -> NIL - METHOD setEncodedFragment // ( oQByteArray ) -> NIL - METHOD setEncodedHost // ( oQByteArray ) -> NIL - METHOD setEncodedPassword // ( oQByteArray ) -> NIL - METHOD setEncodedPath // ( oQByteArray ) -> NIL - METHOD setEncodedQuery // ( oQByteArray ) -> NIL - METHOD setEncodedUrl // ( oQByteArray ) -> NIL - // ( oQByteArray, nParsingMode ) -> NIL - METHOD setEncodedUserName // ( oQByteArray ) -> NIL - METHOD setFragment // ( cFragment ) -> NIL - METHOD setHost // ( cHost ) -> NIL - METHOD setPassword // ( cPassword ) -> NIL - METHOD setPath // ( cPath ) -> NIL - METHOD setPort // ( nPort ) -> NIL - METHOD setScheme // ( cScheme ) -> NIL - METHOD setUrl // ( cUrl ) -> NIL - // ( cUrl, nParsingMode ) -> NIL - METHOD setUserInfo // ( cUserInfo ) -> NIL - METHOD setUserName // ( cUserName ) -> NIL - METHOD toEncoded // ( nOptions ) -> oQByteArray - METHOD toLocalFile // ( ) -> cQString - METHOD toString // ( nOptions ) -> cQString - METHOD userInfo // ( ) -> cQString - METHOD userName // ( ) -> cQString - METHOD fromAce // ( oQByteArray ) -> cQString - METHOD fromEncoded // ( oQByteArray ) -> oQUrl - // ( oQByteArray, nParsingMode ) -> oQUrl - METHOD fromLocalFile // ( cLocalFile ) -> oQUrl - METHOD fromPercentEncoding // ( oQByteArray ) -> cQString - METHOD idnWhitelist // ( ) -> oQStringList - METHOD setIdnWhitelist // ( oQStringList ) -> NIL - METHOD toAce // ( cDomain ) -> oQByteArray - METHOD toPercentEncoding // ( cInput, oQByteArray, oQByteArray ) -> oQByteArray - - ENDCLASS - - -METHOD QUrl:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QUrl( ... ) - RETURN Self - - -METHOD QUrl:addEncodedQueryItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QUrl_addEncodedQueryItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:addQueryItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QUrl_addQueryItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:allEncodedQueryItemValues( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QUrl_allEncodedQueryItemValues( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:allQueryItemValues( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QUrl_allQueryItemValues( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:authority( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_authority( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedFragment( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_encodedFragment( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedHost( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_encodedHost( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedPassword( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_encodedPassword( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedPath( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_encodedPath( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedQuery( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_encodedQuery( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedQueryItemValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QUrl_encodedQueryItemValue( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:encodedUserName( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_encodedUserName( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:fragment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_fragment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:hasEncodedQueryItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_hasEncodedQueryItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:hasFragment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_hasFragment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:hasQuery( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_hasQuery( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:hasQueryItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_hasQueryItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:host( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_host( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:isParentOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_isParentOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:isRelative( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_isRelative( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:password( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_password( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:path( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_path( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:port( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_port_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QUrl_port( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:queryItemValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_queryItemValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:queryPairDelimiter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_queryPairDelimiter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:queryValueDelimiter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_queryValueDelimiter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:removeAllEncodedQueryItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_removeAllEncodedQueryItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:removeAllQueryItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_removeAllQueryItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:removeEncodedQueryItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_removeEncodedQueryItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:removeQueryItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_removeQueryItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:resolved( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QUrlFromPointer( Qt_QUrl_resolved( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:scheme( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_scheme( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setAuthority( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setAuthority( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedFragment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedFragment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedHost( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedHost( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedPassword( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedPassword( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedQuery( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedQuery( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedUrl( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QUrl_setEncodedUrl_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setEncodedUserName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setEncodedUserName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setFragment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setFragment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setHost( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setHost( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setPassword( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setPassword( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setPort( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setPort( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setScheme( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setScheme( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setUrl( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QUrl_setUrl_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setUserInfo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setUserInfo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setUserName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setUserName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:toEncoded( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QUrl_toEncoded( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QByteArrayFromPointer( Qt_QUrl_toEncoded( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:toLocalFile( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_toLocalFile( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:toString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_toString( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QUrl_toString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:userInfo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_userInfo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:userName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUrl_userName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:fromAce( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_fromAce( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:fromEncoded( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QUrlFromPointer( Qt_QUrl_fromEncoded_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QUrlFromPointer( Qt_QUrl_fromEncoded( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:fromLocalFile( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QUrlFromPointer( Qt_QUrl_fromLocalFile( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:fromPercentEncoding( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_fromPercentEncoding( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:idnWhitelist( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QUrl_idnWhitelist( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:setIdnWhitelist( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUrl_setIdnWhitelist( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:toAce( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QUrl_toAce( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUrl:toPercentEncoding( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QByteArrayFromPointer( Qt_QUrl_toPercentEncoding( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QByteArrayFromPointer( Qt_QUrl_toPercentEncoding( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QUrl_toPercentEncoding( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/TQVariant.prg b/harbour/contrib/hbqt/qtcore/g/TQVariant.prg deleted file mode 100644 index e1fa402a4c..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/TQVariant.prg +++ /dev/null @@ -1,439 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTCORE - - -FUNCTION QVariant( ... ) - RETURN HB_QVariant():new( ... ) - -FUNCTION QVariantFromPointer( ... ) - RETURN HB_QVariant():fromPointer( ... ) - - -CREATE CLASS QVariant INHERIT HbQtObjectHandler FUNCTION HB_QVariant - - METHOD new( ... ) - - METHOD canConvert // ( nT ) -> lBool - // ( nT ) -> lBool - METHOD clear // ( ) -> NIL - METHOD convert // ( nT ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD setValue // ( xValue ) -> NIL - METHOD toBitArray // ( ) -> oQBitArray - METHOD toBool // ( ) -> lBool - METHOD toByteArray // ( ) -> oQByteArray - METHOD toChar // ( ) -> oQChar - METHOD toDate // ( ) -> oQDate - METHOD toDateTime // ( ) -> oQDateTime - METHOD toDouble // ( @lOk ) -> nDouble - METHOD toInt // ( @lOk ) -> nInt - METHOD toLine // ( ) -> oQLine - METHOD toLineF // ( ) -> oQLineF - METHOD toList // ( ) -> oQList_QVariant> - METHOD toLocale // ( ) -> oQLocale - METHOD toLongLong // ( @lOk ) -> nQlonglong - METHOD toPoint // ( ) -> oQPoint - METHOD toPointF // ( ) -> oQPointF - METHOD toRect // ( ) -> oQRect - METHOD toRectF // ( ) -> oQRectF - METHOD toRegExp // ( ) -> oQRegExp - METHOD toSize // ( ) -> oQSize - METHOD toSizeF // ( ) -> oQSizeF - METHOD toString // ( ) -> cQString - METHOD toStringList // ( ) -> oQStringList - METHOD toTime // ( ) -> oQTime - METHOD toUInt // ( @lOk ) -> nUint - METHOD toULongLong // ( @lOk ) -> nQulonglong - METHOD toUrl // ( ) -> oQUrl - METHOD type // ( ) -> nType - METHOD userType // ( ) -> nInt - METHOD fromValue // ( xValue ) -> oQVariant - METHOD nameToType // ( cName ) -> nType - METHOD typeToName // ( nTyp ) -> cChar - - ENDCLASS - - -METHOD QVariant:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QVariant( ... ) - RETURN Self - - -METHOD QVariant:canConvert( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_canConvert( ::pPtr, ... ) - // RETURN Qt_QVariant_canConvert_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:convert( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_convert( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:setValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toBitArray( ... ) - SWITCH PCount() - CASE 0 - RETURN QBitArrayFromPointer( Qt_QVariant_toBitArray( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toBool( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_toBool( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toByteArray( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QVariant_toByteArray( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toChar( ... ) - SWITCH PCount() - CASE 0 - RETURN QCharFromPointer( Qt_QVariant_toChar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toDate( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QVariant_toDate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toDateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QVariant_toDateTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toDouble( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_toDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QVariant_toDouble( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toInt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_toInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QVariant_toInt( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toLine( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineFromPointer( Qt_QVariant_toLine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toLineF( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineFFromPointer( Qt_QVariant_toLineF( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toList( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QVariant_toList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toLocale( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QVariant_toLocale( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toLongLong( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_toLongLong( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QVariant_toLongLong( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toPoint( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QVariant_toPoint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toPointF( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QVariant_toPointF( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QVariant_toRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toRectF( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QVariant_toRectF( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toRegExp( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegExpFromPointer( Qt_QVariant_toRegExp( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QVariant_toSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toSizeF( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QVariant_toSizeF( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_toString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toStringList( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QVariant_toStringList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeFromPointer( Qt_QVariant_toTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toUInt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_toUInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QVariant_toUInt( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toULongLong( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_toULongLong( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QVariant_toULongLong( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:toUrl( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QVariant_toUrl( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:userType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QVariant_userType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:fromValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isPointer( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QVariant_fromValue( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:nameToType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_nameToType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QVariant:typeToName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QVariant_typeToName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtcore/g/filelist.hbm b/harbour/contrib/hbqt/qtcore/g/filelist.hbm deleted file mode 100644 index acb403ee6b..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/filelist.hbm +++ /dev/null @@ -1,135 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -HBQEvents.cpp -HBQSlots.cpp -HBQString.cpp -QAbstractItemModel.cpp -QAbstractListModel.cpp -QAbstractTableModel.cpp -QBitArray.cpp -QBuffer.cpp -QByteArray.cpp -QChar.cpp -QCoreApplication.cpp -QDataStream.cpp -QDate.cpp -QDateTime.cpp -QDir.cpp -QEvent.cpp -QEventLoop.cpp -QFile.cpp -QFileInfo.cpp -QGenericArgument.cpp -QGenericReturnArgument.cpp -QIODevice.cpp -QLatin1Char.cpp -QLatin1String.cpp -QLine.cpp -QLineF.cpp -QList.cpp -QLocale.cpp -QMetaClassInfo.cpp -QMetaEnum.cpp -QMetaMethod.cpp -QMetaObject.cpp -QMetaProperty.cpp -QMetaType.cpp -QMimeData.cpp -QModelIndex.cpp -QObject.cpp -QPoint.cpp -QPointF.cpp -QProcess.cpp -QRect.cpp -QRectF.cpp -QRegExp.cpp -QResource.cpp -QSettings.cpp -QSignalMapper.cpp -QSize.cpp -QSizeF.cpp -QStringList.cpp -QStringRef.cpp -QTextBoundaryFinder.cpp -QTextCodec.cpp -QTextDecoder.cpp -QTextEncoder.cpp -QTextStream.cpp -QThread.cpp -QTime.cpp -QTimeLine.cpp -QTimer.cpp -QTranslator.cpp -QUrl.cpp -QVariant.cpp - -THBQEvents.prg -THBQSlots.prg -THBQString.prg -TQAbstractItemModel.prg -TQAbstractListModel.prg -TQAbstractTableModel.prg -TQBitArray.prg -TQBuffer.prg -TQByteArray.prg -TQChar.prg -TQCoreApplication.prg -TQDataStream.prg -TQDate.prg -TQDateTime.prg -TQDir.prg -TQEvent.prg -TQEventLoop.prg -TQFile.prg -TQFileInfo.prg -TQGenericArgument.prg -TQGenericReturnArgument.prg -TQIODevice.prg -TQLatin1Char.prg -TQLatin1String.prg -TQLine.prg -TQLineF.prg -TQList.prg -TQLocale.prg -TQMetaClassInfo.prg -TQMetaEnum.prg -TQMetaMethod.prg -TQMetaObject.prg -TQMetaProperty.prg -TQMetaType.prg -TQMimeData.prg -TQModelIndex.prg -TQObject.prg -TQPoint.prg -TQPointF.prg -TQProcess.prg -TQRect.prg -TQRectF.prg -TQRegExp.prg -TQResource.prg -TQSettings.prg -TQSignalMapper.prg -TQSize.prg -TQSizeF.prg -TQStringList.prg -TQStringRef.prg -TQTextBoundaryFinder.prg -TQTextCodec.prg -TQTextDecoder.prg -TQTextEncoder.prg -TQTextStream.prg -TQThread.prg -TQTime.prg -TQTimeLine.prg -TQTimer.prg -TQTranslator.prg -TQUrl.prg -TQVariant.prg diff --git a/harbour/contrib/hbqt/qtcore/g/hbqtcore.h b/harbour/contrib/hbqt/qtcore/g/hbqtcore.h deleted file mode 100644 index 6167faacc8..0000000000 --- a/harbour/contrib/hbqt/qtcore/g/hbqtcore.h +++ /dev/null @@ -1,272 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQTCORE_H -#define __HBQTCORE_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQEvents ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQSlots ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQString ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractListModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractTableModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QBitArray ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QBuffer ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QByteArray ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QChar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCoreApplication ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDataStream ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDate ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDateTime ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDir ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QEventLoop ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFile ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFileInfo ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGenericArgument ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGenericReturnArgument ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QIODevice ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLatin1Char ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLatin1String ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLine ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLineF ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QList ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLocale ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaClassInfo ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaEnum ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaMethod ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaObject ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaProperty ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaType ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMimeData ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QModelIndex ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QObject ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPoint ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPointF ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QProcess ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRect ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRectF ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRegExp ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QResource ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSettings ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSignalMapper ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSize ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSizeF ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStringList ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStringRef ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextBoundaryFinder ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextCodec ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextDecoder ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextEncoder ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextStream ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QThread ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTime ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTimeLine ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTimer ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTranslator ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QUrl ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QVariant ); - -extern HB_EXPORT void * hbqt_gcAllocate_HBQEvents( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQSlots( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQString( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractItemModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractListModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractTableModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QBitArray( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QBuffer( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QByteArray( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QChar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QCoreApplication( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDataStream( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDate( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDateTime( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDir( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QEventLoop( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFile( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFileInfo( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGenericArgument( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGenericReturnArgument( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QIODevice( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLatin1Char( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLatin1String( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLine( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLineF( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QList( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLocale( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMetaClassInfo( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMetaEnum( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMetaMethod( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMetaObject( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMetaProperty( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMetaType( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMimeData( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QModelIndex( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QObject( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPoint( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPointF( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QProcess( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRect( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRectF( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRegExp( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QResource( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSettings( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSignalMapper( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSize( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSizeF( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStringList( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStringRef( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextBoundaryFinder( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextCodec( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextDecoder( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextEncoder( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextStream( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QThread( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTime( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTimeLine( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTimer( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTranslator( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QUrl( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QVariant( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_HBQEvents( n ) ( ( HBQEvents * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQSlots( n ) ( ( HBQSlots * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQString( n ) ( ( HBQString * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractItemModel( n ) ( ( QAbstractItemModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractListModel( n ) ( ( QAbstractListModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractTableModel( n ) ( ( QAbstractTableModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QBitArray( n ) ( ( QBitArray * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QBuffer( n ) ( ( QBuffer * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QByteArray( n ) ( ( QByteArray * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QChar( n ) ( ( QChar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QCoreApplication( n ) ( ( QCoreApplication * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDataStream( n ) ( ( QDataStream * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDate( n ) ( ( QDate * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDateTime( n ) ( ( QDateTime * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDir( n ) ( ( QDir * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QEvent( n ) ( ( QEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QEventLoop( n ) ( ( QEventLoop * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFile( n ) ( ( QFile * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFileInfo( n ) ( ( QFileInfo * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGenericArgument( n ) ( ( QGenericArgument * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGenericReturnArgument( n ) ( ( QGenericReturnArgument * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QIODevice( n ) ( ( QIODevice * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLatin1Char( n ) ( ( QLatin1Char * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLatin1String( n ) ( ( QLatin1String * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLine( n ) ( ( QLine * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLineF( n ) ( ( QLineF * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QList( n ) ( ( QList< void * > * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLocale( n ) ( ( QLocale * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMetaClassInfo( n ) ( ( QMetaClassInfo * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMetaEnum( n ) ( ( QMetaEnum * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMetaMethod( n ) ( ( QMetaMethod * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMetaObject( n ) ( ( QMetaObject * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMetaProperty( n ) ( ( QMetaProperty * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMetaType( n ) ( ( QMetaType * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMimeData( n ) ( ( QMimeData * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QModelIndex( n ) ( ( QModelIndex * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QObject( n ) ( ( QObject * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPoint( n ) ( ( QPoint * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPointF( n ) ( ( QPointF * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QProcess( n ) ( ( QProcess * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRect( n ) ( ( QRect * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRectF( n ) ( ( QRectF * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRegExp( n ) ( ( QRegExp * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QResource( n ) ( ( QResource * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSettings( n ) ( ( QSettings * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSignalMapper( n ) ( ( QSignalMapper * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSize( n ) ( ( QSize * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSizeF( n ) ( ( QSizeF * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStringList( n ) ( ( QStringList * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStringRef( n ) ( ( QStringRef * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextBoundaryFinder( n ) ( ( QTextBoundaryFinder * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextCodec( n ) ( ( QTextCodec * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextDecoder( n ) ( ( QTextDecoder * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextEncoder( n ) ( ( QTextEncoder * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextStream( n ) ( ( QTextStream * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QThread( n ) ( ( QThread * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTime( n ) ( ( QTime * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTimeLine( n ) ( ( QTimeLine * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTimer( n ) ( ( QTimer * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTranslator( n ) ( ( QTranslator * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QUrl( n ) ( ( QUrl * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QVariant( n ) ( ( QVariant * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_HBQEvents 0xCFEFBC47 -#define HBQT_TYPE_HBQSlots 0xA9999114 -#define HBQT_TYPE_HBQString 0x02D659A4 -#define HBQT_TYPE_QAbstractItemModel 0xA364960B -#define HBQT_TYPE_QAbstractListModel 0x2E9A0D19 -#define HBQT_TYPE_QAbstractTableModel 0xCE3DDD6B -#define HBQT_TYPE_QBitArray 0x87B529FE -#define HBQT_TYPE_QBuffer 0x35BCA79A -#define HBQT_TYPE_QByteArray 0x3B257D0A -#define HBQT_TYPE_QChar 0x251606FA -#define HBQT_TYPE_QCoreApplication 0x3E792ED7 -#define HBQT_TYPE_QDataStream 0xABEAEC83 -#define HBQT_TYPE_QDate 0x0376661F -#define HBQT_TYPE_QDateTime 0x6BEA48EA -#define HBQT_TYPE_QDir 0xEE544CFC -#define HBQT_TYPE_QEvent 0x06DF7721 -#define HBQT_TYPE_QEventLoop 0xA79E78BB -#define HBQT_TYPE_QFile 0x25776775 -#define HBQT_TYPE_QFileInfo 0x51B82814 -#define HBQT_TYPE_QGenericArgument 0x7ED89228 -#define HBQT_TYPE_QGenericReturnArgument 0xFCA684A1 -#define HBQT_TYPE_QIODevice 0xFFAF526C -#define HBQT_TYPE_QLatin1Char 0x6E622038 -#define HBQT_TYPE_QLatin1String 0xB1999E84 -#define HBQT_TYPE_QLine 0x78FCE593 -#define HBQT_TYPE_QLineF 0x24C33533 -#define HBQT_TYPE_QList 0xED20A97D -#define HBQT_TYPE_QLocale 0x456691F0 -#define HBQT_TYPE_QMetaClassInfo 0x33015F02 -#define HBQT_TYPE_QMetaEnum 0x1440E706 -#define HBQT_TYPE_QMetaMethod 0xA4A31239 -#define HBQT_TYPE_QMetaObject 0x525783B5 -#define HBQT_TYPE_QMetaProperty 0xD53EA8C3 -#define HBQT_TYPE_QMetaType 0x96201E7E -#define HBQT_TYPE_QMimeData 0xA1F425D3 -#define HBQT_TYPE_QModelIndex 0xA9E86353 -#define HBQT_TYPE_QObject 0xAC4BFC84 -#define HBQT_TYPE_QPoint 0x8AD48EA2 -#define HBQT_TYPE_QPointF 0x75EF1D62 -#define HBQT_TYPE_QProcess 0xC57017AB -#define HBQT_TYPE_QRect 0x1E3E62E4 -#define HBQT_TYPE_QRectF 0xEAC4132B -#define HBQT_TYPE_QRegExp 0xC55FA06F -#define HBQT_TYPE_QResource 0xE4BAD508 -#define HBQT_TYPE_QSettings 0xBD6E81DB -#define HBQT_TYPE_QSignalMapper 0xE007D6F8 -#define HBQT_TYPE_QSize 0x5E28750F -#define HBQT_TYPE_QSizeF 0xDD5C3ECC -#define HBQT_TYPE_QStringList 0xE79A6108 -#define HBQT_TYPE_QStringRef 0xFAF65AC1 -#define HBQT_TYPE_QTextBoundaryFinder 0x56058F15 -#define HBQT_TYPE_QTextCodec 0x99D7E641 -#define HBQT_TYPE_QTextDecoder 0xFBBD0ACA -#define HBQT_TYPE_QTextEncoder 0x370DF1BD -#define HBQT_TYPE_QTextStream 0xB3E19A41 -#define HBQT_TYPE_QThread 0x35C61BEB -#define HBQT_TYPE_QTime 0xC67CC920 -#define HBQT_TYPE_QTimeLine 0xBEE74846 -#define HBQT_TYPE_QTimer 0x57A1A39C -#define HBQT_TYPE_QTranslator 0xC0E59441 -#define HBQT_TYPE_QUrl 0xA0897342 -#define HBQT_TYPE_QVariant 0xB22EB090 - -#endif /* __HBQTCORE_H */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt deleted file mode 100644 index cc2b6c9d50..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerActionEditorInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesigneractioneditorinterface.html - * $ONELINER$ - * Creates a new QDesignerActionEditorInterface object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDesignerActionEditorInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerActionEditorInterface - * $METHODS$ - * :core() -> oQDesignerFormEditorInterface - * :manageAction( oQAction ) -> NIL - * :unmanageAction( oQAction ) -> NIL - * :setFormWindow( oQDesignerFormWindowInterface ) -> 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/qtdesigner/TQDesignerActionEditorInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerActionEditorInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt deleted file mode 100644 index 693f74cac8..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerFormEditorInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerformeditorinterface.html - * $ONELINER$ - * Creates a new QDesignerFormEditorInterface object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QDesignerFormEditorInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerFormEditorInterface - * $METHODS$ - * :actionEditor() -> oQDesignerActionEditorInterface - * :formWindowManager() -> oQDesignerFormWindowManagerInterface - * :objectInspector() -> oQDesignerObjectInspectorInterface - * :propertyEditor() -> oQDesignerPropertyEditorInterface - * :setActionEditor( oQDesignerActionEditorInterface ) -> NIL - * :setObjectInspector( oQDesignerObjectInspectorInterface ) -> NIL - * :setPropertyEditor( oQDesignerPropertyEditorInterface ) -> NIL - * :setWidgetBox( oQDesignerWidgetBoxInterface ) -> NIL - * :topLevel() -> oQWidget - * :widgetBox() -> oQDesignerWidgetBoxInterface - * - * $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/qtdesigner/TQDesignerFormEditorInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormEditorInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt deleted file mode 100644 index d086ffd37e..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerFormWindowCursorInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerformwindowcursorinterface.html - * $ONELINER$ - * Creates a new QDesignerFormWindowCursorInterface object. - * $INHERITS$ - * - * $SYNTAX$ - * QDesignerFormWindowCursorInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerFormWindowCursorInterface - * $METHODS$ - * :current() -> oQWidget - * :formWindow() -> oQDesignerFormWindowInterface - * :hasSelection() -> lBool - * :isWidgetSelected( oQWidget ) -> lBool - * :movePosition( nOperation, nMode ) -> lBool - * :position() -> nInt - * :resetWidgetProperty( oQWidget, cName ) -> NIL - * :selectedWidget( nIndex ) -> oQWidget - * :selectedWidgetCount() -> nInt - * :setPosition( nPosition, nMode ) -> NIL - * :setProperty( cName, oQVariant ) -> NIL - * :setWidgetProperty( oQWidget, cName, oQVariant ) -> NIL - * :widget( nIndex ) -> oQWidget - * :widgetCount() -> nInt - * - * $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/qtdesigner/TQDesignerFormWindowCursorInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormWindowCursorInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt deleted file mode 100644 index 9e98156ac0..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerFormWindowInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerformwindowinterface.html - * $ONELINER$ - * Creates a new QDesignerFormWindowInterface object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDesignerFormWindowInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerFormWindowInterface - * $METHODS$ - * :addResourceFile( cPath ) -> NIL - * :author() -> cQString - * :comment() -> cQString - * :contents() -> cQString - * :core() -> oQDesignerFormEditorInterface - * :cursor() -> oQDesignerFormWindowCursorInterface - * :emitSelectionChanged() -> NIL - * :exportMacro() -> cQString - * :features() -> nFeature - * :fileName() -> cQString - * :grid() -> oQPoint - * :hasFeature( nFeature ) -> lBool - * :includeHints() -> oQStringList - * :isDirty() -> lBool - * :isManaged( oQWidget ) -> lBool - * :layoutDefault( @nMargin, @nSpacing ) -> NIL - * :mainContainer() -> oQWidget - * :pixmapFunction() -> cQString - * :removeResourceFile( cPath ) -> NIL - * :resourceFiles() -> oQStringList - * :setAuthor( cAuthor ) -> NIL - * :setComment( cComment ) -> NIL - * :setContents( oQIODevice ) -> NIL - * :setExportMacro( cExportMacro ) -> NIL - * :setIncludeHints( oQStringList ) -> NIL - * :setLayoutDefault( nMargin, nSpacing ) -> NIL - * :setMainContainer( oQWidget ) -> NIL - * :setPixmapFunction( cPixmapFunction ) -> NIL - * :findFormWindow( oQWidget ) -> oQDesignerFormWindowInterface - * :findFormWindow( oQObject ) -> oQDesignerFormWindowInterface - * :clearSelection( lUpdate ) -> NIL - * :manageWidget( oQWidget ) -> NIL - * :selectWidget( oQWidget, lSelect ) -> NIL - * :setContents( cContents ) -> NIL - * :setDirty( lDirty ) -> NIL - * :setFeatures( nFeatures ) -> NIL - * :setFileName( cFileName ) -> NIL - * :setGrid( oQPoint ) -> NIL - * :unmanageWidget( oQWidget ) -> 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/qtdesigner/TQDesignerFormWindowInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormWindowInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt deleted file mode 100644 index 10eaf4b8d3..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerFormWindowManagerInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerformwindowmanagerinterface.html - * $ONELINER$ - * Creates a new QDesignerFormWindowManagerInterface object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QDesignerFormWindowManagerInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerFormWindowManagerInterface - * $METHODS$ - * :actionAdjustSize() -> oQAction - * :actionBreakLayout() -> oQAction - * :actionCopy() -> oQAction - * :actionCut() -> oQAction - * :actionDelete() -> oQAction - * :actionFormLayout() -> oQAction - * :actionGridLayout() -> oQAction - * :actionHorizontalLayout() -> oQAction - * :actionLower() -> oQAction - * :actionPaste() -> oQAction - * :actionRaise() -> oQAction - * :actionRedo() -> oQAction - * :actionSelectAll() -> oQAction - * :actionSimplifyLayout() -> oQAction - * :actionSplitHorizontal() -> oQAction - * :actionSplitVertical() -> oQAction - * :actionUndo() -> oQAction - * :actionVerticalLayout() -> oQAction - * :activeFormWindow() -> oQDesignerFormWindowInterface - * :core() -> oQDesignerFormEditorInterface - * :createFormWindow( oQWidget, nFlags ) -> oQDesignerFormWindowInterface - * :formWindow( nIndex ) -> oQDesignerFormWindowInterface - * :formWindowCount() -> nInt - * :addFormWindow( oQDesignerFormWindowInterface ) -> NIL - * :removeFormWindow( oQDesignerFormWindowInterface ) -> NIL - * :setActiveFormWindow( oQDesignerFormWindowInterface ) -> 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/qtdesigner/TQDesignerFormWindowManagerInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerFormWindowManagerInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt deleted file mode 100644 index ca545bca58..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerObjectInspectorInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerobjectinspectorinterface.html - * $ONELINER$ - * Creates a new QDesignerObjectInspectorInterface object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDesignerObjectInspectorInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerObjectInspectorInterface - * $METHODS$ - * :core() -> oQDesignerFormEditorInterface - * :setFormWindow( oQDesignerFormWindowInterface ) -> 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/qtdesigner/TQDesignerObjectInspectorInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerObjectInspectorInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt deleted file mode 100644 index 4be17010b0..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerPropertyEditorInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerpropertyeditorinterface.html - * $ONELINER$ - * Creates a new QDesignerPropertyEditorInterface object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDesignerPropertyEditorInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerPropertyEditorInterface - * $METHODS$ - * :core() -> oQDesignerFormEditorInterface - * :currentPropertyName() -> cQString - * :isReadOnly() -> lBool - * :object() -> oQObject - * :setObject( oQObject ) -> NIL - * :setPropertyValue( cName, oQVariant, lChanged ) -> NIL - * :setReadOnly( lReadOnly ) -> 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/qtdesigner/TQDesignerPropertyEditorInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerPropertyEditorInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt b/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt deleted file mode 100644 index 57ef69af94..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesignerWidgetBoxInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesignerwidgetboxinterface.html - * $ONELINER$ - * Creates a new QDesignerWidgetBoxInterface object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDesignerWidgetBoxInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesignerWidgetBoxInterface - * $METHODS$ - * :fileName() -> cQString - * :load() -> lBool - * :save() -> lBool - * :setFileName( cFileName ) -> 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/qtdesigner/TQDesignerWidgetBoxInterface.prg - * C++ wrappers : contrib/hbqt/qtdesigner/QDesignerWidgetBoxInterface.cpp - * Library : hbqtdesigner - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp deleted file mode 100644 index 1b152f91af..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerActionEditorInterface.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerActionEditorInterface ( QWidget * parent, Qt::WindowFlags flags = 0 ) - * ~QDesignerActionEditorInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerActionEditorInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerActionEditorInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerActionEditorInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerActionEditorInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerActionEditorInterface * p = ( HBQT_GC_T_QDesignerActionEditorInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerActionEditorInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerActionEditorInterface >( ( QDesignerActionEditorInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerActionEditorInterface; - p->type = HBQT_TYPE_QDesignerActionEditorInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerActionEditorInterface() ); -} - -/* virtual QDesignerFormEditorInterface * core () const */ -HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE_CORE ) -{ - QDesignerActionEditorInterface * p = hbqt_par_QDesignerActionEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormEditorInterface( ( p )->core(), false ) ); -} - -/* virtual void manageAction ( QAction * action ) = 0 */ -HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE_MANAGEACTION ) -{ - QDesignerActionEditorInterface * p = hbqt_par_QDesignerActionEditorInterface( 1 ); - if( p ) - ( p )->manageAction( hbqt_par_QAction( 2 ) ); -} - -/* virtual void unmanageAction ( QAction * action ) = 0 */ -HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE_UNMANAGEACTION ) -{ - QDesignerActionEditorInterface * p = hbqt_par_QDesignerActionEditorInterface( 1 ); - if( p ) - ( p )->unmanageAction( hbqt_par_QAction( 2 ) ); -} - -/* virtual void setFormWindow ( QDesignerFormWindowInterface * formWindow ) = 0 */ -HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE_SETFORMWINDOW ) -{ - QDesignerActionEditorInterface * p = hbqt_par_QDesignerActionEditorInterface( 1 ); - if( p ) - ( p )->setFormWindow( hbqt_par_QDesignerFormWindowInterface( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp deleted file mode 100644 index c583225fc2..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormEditorInterface.cpp +++ /dev/null @@ -1,182 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QExtensionManager * extensionManager () const - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerFormEditorInterface ( QObject * parent = 0 ) - * virtual ~QDesignerFormEditorInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerFormEditorInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerFormEditorInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormEditorInterface ) -{ - HBQT_GC_T_QDesignerFormEditorInterface * p = ( HBQT_GC_T_QDesignerFormEditorInterface * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDesignerFormEditorInterface * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDesignerFormEditorInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerFormEditorInterface * p = ( HBQT_GC_T_QDesignerFormEditorInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerFormEditorInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerFormEditorInterface >( ( QDesignerFormEditorInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerFormEditorInterface; - p->type = HBQT_TYPE_QDesignerFormEditorInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE ) -{ - QDesignerFormEditorInterface * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - { - pObj = new QDesignerFormEditorInterface( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QDesignerFormEditorInterface() ; - } - - hb_retptrGC( hbqt_gcAllocate_QDesignerFormEditorInterface( ( void * ) pObj, true ) ); -} - -/* QDesignerActionEditorInterface * actionEditor () const */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_ACTIONEDITOR ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerActionEditorInterface( ( p )->actionEditor(), false ) ); -} - -/* QDesignerFormWindowManagerInterface * formWindowManager () const */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_FORMWINDOWMANAGER ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowManagerInterface( ( p )->formWindowManager(), false ) ); -} - -/* QDesignerObjectInspectorInterface * objectInspector () const */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_OBJECTINSPECTOR ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerObjectInspectorInterface( ( p )->objectInspector(), false ) ); -} - -/* QDesignerPropertyEditorInterface * propertyEditor () const */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_PROPERTYEDITOR ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerPropertyEditorInterface( ( p )->propertyEditor(), false ) ); -} - -/* void setActionEditor ( QDesignerActionEditorInterface * actionEditor ) */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_SETACTIONEDITOR ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - ( p )->setActionEditor( hbqt_par_QDesignerActionEditorInterface( 2 ) ); -} - -/* void setObjectInspector ( QDesignerObjectInspectorInterface * objectInspector ) */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_SETOBJECTINSPECTOR ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - ( p )->setObjectInspector( hbqt_par_QDesignerObjectInspectorInterface( 2 ) ); -} - -/* void setPropertyEditor ( QDesignerPropertyEditorInterface * propertyEditor ) */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_SETPROPERTYEDITOR ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - ( p )->setPropertyEditor( hbqt_par_QDesignerPropertyEditorInterface( 2 ) ); -} - -/* void setWidgetBox ( QDesignerWidgetBoxInterface * widgetBox ) */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_SETWIDGETBOX ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - ( p )->setWidgetBox( hbqt_par_QDesignerWidgetBoxInterface( 2 ) ); -} - -/* QWidget * topLevel () const */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_TOPLEVEL ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->topLevel(), false ) ); -} - -/* QDesignerWidgetBoxInterface * widgetBox () const */ -HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE_WIDGETBOX ) -{ - QDesignerFormEditorInterface * p = hbqt_par_QDesignerFormEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerWidgetBoxInterface( ( p )->widgetBox(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp deleted file mode 100644 index fb9be40504..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowCursorInterface.cpp +++ /dev/null @@ -1,206 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum MoveMode { MoveAnchor, KeepAnchor } - * enum MoveOperation { NoMove, Start, End, Next, ..., Down } - */ - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * ~QDesignerFormWindowCursorInterface () - * - */ - -typedef struct -{ - QDesignerFormWindowCursorInterface * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerFormWindowCursorInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowCursorInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerFormWindowCursorInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDesignerFormWindowCursorInterface * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerFormWindowCursorInterface; - p->type = HBQT_TYPE_QDesignerFormWindowCursorInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerFormWindowCursorInterface() ); -} - -/* virtual QWidget * current () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_CURRENT ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->current(), false ) ); -} - -/* virtual QDesignerFormWindowInterface * formWindow () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_FORMWINDOW ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowInterface( ( p )->formWindow(), false ) ); -} - -/* virtual bool hasSelection () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_HASSELECTION ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retl( ( p )->hasSelection() ); -} - -/* bool isWidgetSelected ( QWidget * widget ) const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_ISWIDGETSELECTED ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retl( ( p )->isWidgetSelected( hbqt_par_QWidget( 2 ) ) ); -} - -/* virtual bool movePosition ( MoveOperation operation, MoveMode mode = MoveAnchor ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_MOVEPOSITION ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retl( ( p )->movePosition( ( QDesignerFormWindowCursorInterface::MoveOperation ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QDesignerFormWindowCursorInterface::MoveMode ) hb_parni( 3 ) : ( QDesignerFormWindowCursorInterface::MoveMode ) QDesignerFormWindowCursorInterface::MoveAnchor ) ) ); -} - -/* virtual int position () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_POSITION ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retni( ( p )->position() ); -} - -/* virtual void resetWidgetProperty ( QWidget * widget, const QString & name ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_RESETWIDGETPROPERTY ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - { - void * pText; - ( p )->resetWidgetProperty( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual QWidget * selectedWidget ( int index ) const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_SELECTEDWIDGET ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->selectedWidget( hb_parni( 2 ) ), false ) ); -} - -/* virtual int selectedWidgetCount () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_SELECTEDWIDGETCOUNT ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retni( ( p )->selectedWidgetCount() ); -} - -/* virtual void setPosition ( int position, MoveMode mode = MoveAnchor ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_SETPOSITION ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - ( p )->setPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QDesignerFormWindowCursorInterface::MoveMode ) hb_parni( 3 ) : ( QDesignerFormWindowCursorInterface::MoveMode ) QDesignerFormWindowCursorInterface::MoveAnchor ) ); -} - -/* virtual void setProperty ( const QString & name, const QVariant & value ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_SETPROPERTY ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setProperty( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QVariant( 3 ) ); - hb_strfree( pText ); - } -} - -/* virtual void setWidgetProperty ( QWidget * widget, const QString & name, const QVariant & value ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_SETWIDGETPROPERTY ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setWidgetProperty( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), *hbqt_par_QVariant( 4 ) ); - hb_strfree( pText ); - } -} - -/* virtual QWidget * widget ( int index ) const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_WIDGET ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget( hb_parni( 2 ) ), false ) ); -} - -/* virtual int widgetCount () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE_WIDGETCOUNT ) -{ - QDesignerFormWindowCursorInterface * p = hbqt_par_QDesignerFormWindowCursorInterface( 1 ); - if( p ) - hb_retni( ( p )->widgetCount() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp deleted file mode 100644 index 13f7df58d5..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowInterface.cpp +++ /dev/null @@ -1,439 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags Feature - * enum FeatureFlag { EditFeature, GridFeature, TabOrderFeature, DefaultFeature } - */ - -/* - * Constructed[ 39/39 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //virtual QDir absoluteDir () const = 0 - * //virtual void layoutFunction ( QString * margin, QString * spacing ) = 0 - * //virtual void setLayoutFunction ( const QString & margin, const QString & spacing ) = 0 - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerFormWindowInterface ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QDesignerFormWindowInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerFormWindowInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerFormWindowInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerFormWindowInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerFormWindowInterface * p = ( HBQT_GC_T_QDesignerFormWindowInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerFormWindowInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerFormWindowInterface >( ( QDesignerFormWindowInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerFormWindowInterface; - p->type = HBQT_TYPE_QDesignerFormWindowInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerFormWindowInterface() ); -} - -/* virtual void addResourceFile ( const QString & path ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_ADDRESOURCEFILE ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->addResourceFile( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual QString author () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_AUTHOR ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->author().toUtf8().data() ); -} - -/* virtual QString comment () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_COMMENT ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->comment().toUtf8().data() ); -} - -/* virtual QString contents () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_CONTENTS ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->contents().toUtf8().data() ); -} - -/* virtual QDesignerFormEditorInterface * core () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_CORE ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormEditorInterface( ( p )->core(), false ) ); -} - -/* virtual QDesignerFormWindowCursorInterface * cursor () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_CURSOR ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowCursorInterface( ( p )->cursor(), false ) ); -} - -/* virtual void emitSelectionChanged () = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_EMITSELECTIONCHANGED ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->emitSelectionChanged(); -} - -/* virtual QString exportMacro () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_EXPORTMACRO ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->exportMacro().toUtf8().data() ); -} - -/* virtual Feature features () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_FEATURES ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retni( ( QDesignerFormWindowInterface::Feature ) ( p )->features() ); -} - -/* virtual QString fileName () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_FILENAME ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* virtual QPoint grid () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_GRID ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->grid() ), true ) ); -} - -/* virtual bool hasFeature ( Feature feature ) const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_HASFEATURE ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retl( ( p )->hasFeature( ( QDesignerFormWindowInterface::Feature ) hb_parni( 2 ) ) ); -} - -/* virtual QStringList includeHints () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_INCLUDEHINTS ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->includeHints() ), true ) ); -} - -/* virtual bool isDirty () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_ISDIRTY ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retl( ( p )->isDirty() ); -} - -/* virtual bool isManaged ( QWidget * widget ) const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_ISMANAGED ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retl( ( p )->isManaged( hbqt_par_QWidget( 2 ) ) ); -} - -/* virtual void layoutDefault ( int * margin, int * spacing ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_LAYOUTDEFAULT ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - int iMargin = 0; - int iSpacing = 0; - - if( p ) - ( p )->layoutDefault( &iMargin, &iSpacing ); - - hb_storni( iMargin, 2 ); - hb_storni( iSpacing, 3 ); -} - -/* virtual QWidget * mainContainer () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_MAINCONTAINER ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->mainContainer(), false ) ); -} - -/* virtual QString pixmapFunction () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_PIXMAPFUNCTION ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->pixmapFunction().toUtf8().data() ); -} - -/* virtual void removeResourceFile ( const QString & path ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_REMOVERESOURCEFILE ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->removeResourceFile( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual QStringList resourceFiles () const = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILES ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->resourceFiles() ), true ) ); -} - -/* virtual void setAuthor ( const QString & author ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETAUTHOR ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setAuthor( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setComment ( const QString & comment ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETCOMMENT ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setComment( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setContents ( QIODevice * device ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETCONTENTS ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setContents( hbqt_par_QIODevice( 2 ) ); -} - -/* virtual void setExportMacro ( const QString & exportMacro ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETEXPORTMACRO ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setExportMacro( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setIncludeHints ( const QStringList & includeHints ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETINCLUDEHINTS ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setIncludeHints( *hbqt_par_QStringList( 2 ) ); -} - -/* virtual void setLayoutDefault ( int margin, int spacing ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETLAYOUTDEFAULT ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setLayoutDefault( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* virtual void setMainContainer ( QWidget * mainContainer ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETMAINCONTAINER ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setMainContainer( hbqt_par_QWidget( 2 ) ); -} - -/* virtual void setPixmapFunction ( const QString & pixmapFunction ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETPIXMAPFUNCTION ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setPixmapFunction( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QDesignerFormWindowInterface * findFormWindow ( QWidget * widget ) */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_FINDFORMWINDOW ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowInterface( ( p )->findFormWindow( hbqt_par_QWidget( 2 ) ), false ) ); -} - -/* QDesignerFormWindowInterface * findFormWindow ( QObject * object ) */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_FINDFORMWINDOW_1 ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowInterface( ( p )->findFormWindow( hbqt_par_QObject( 2 ) ), false ) ); -} - -/* virtual void clearSelection ( bool update = true ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_CLEARSELECTION ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->clearSelection( hb_parl( 2 ) ); -} - -/* virtual void manageWidget ( QWidget * widget ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_MANAGEWIDGET ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->manageWidget( hbqt_par_QWidget( 2 ) ); -} - -/* virtual void selectWidget ( QWidget * widget, bool select = true ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SELECTWIDGET ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->selectWidget( hbqt_par_QWidget( 2 ), hb_parl( 3 ) ); -} - -/* virtual void setContents ( const QString & contents ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETCONTENTS_1 ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setContents( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setDirty ( bool dirty ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETDIRTY ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setDirty( hb_parl( 2 ) ); -} - -/* virtual void setFeatures ( Feature features ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETFEATURES ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setFeatures( ( QDesignerFormWindowInterface::Feature ) hb_parni( 2 ) ); -} - -/* virtual void setFileName ( const QString & fileName ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETFILENAME ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setGrid ( const QPoint & grid ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_SETGRID ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->setGrid( *hbqt_par_QPoint( 2 ) ); -} - -/* virtual void unmanageWidget ( QWidget * widget ) = 0 */ -HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE_UNMANAGEWIDGET ) -{ - QDesignerFormWindowInterface * p = hbqt_par_QDesignerFormWindowInterface( 1 ); - if( p ) - ( p )->unmanageWidget( hbqt_par_QWidget( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp deleted file mode 100644 index ec4d70c0eb..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerFormWindowManagerInterface.cpp +++ /dev/null @@ -1,286 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerFormWindowManagerInterface ( QObject * parent = 0 ) - * ~QDesignerFormWindowManagerInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerFormWindowManagerInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerFormWindowManagerInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowManagerInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerFormWindowManagerInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerFormWindowManagerInterface * p = ( HBQT_GC_T_QDesignerFormWindowManagerInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerFormWindowManagerInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerFormWindowManagerInterface >( ( QDesignerFormWindowManagerInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerFormWindowManagerInterface; - p->type = HBQT_TYPE_QDesignerFormWindowManagerInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerFormWindowManagerInterface() ); -} - -/* virtual QAction * actionAdjustSize () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONADJUSTSIZE ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionAdjustSize(), false ) ); -} - -/* virtual QAction * actionBreakLayout () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONBREAKLAYOUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionBreakLayout(), false ) ); -} - -/* virtual QAction * actionCopy () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONCOPY ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionCopy(), false ) ); -} - -/* virtual QAction * actionCut () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONCUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionCut(), false ) ); -} - -/* virtual QAction * actionDelete () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONDELETE ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionDelete(), false ) ); -} - -/* QAction * actionFormLayout () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONFORMLAYOUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionFormLayout(), false ) ); -} - -/* virtual QAction * actionGridLayout () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONGRIDLAYOUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionGridLayout(), false ) ); -} - -/* virtual QAction * actionHorizontalLayout () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONHORIZONTALLAYOUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionHorizontalLayout(), false ) ); -} - -/* virtual QAction * actionLower () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONLOWER ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionLower(), false ) ); -} - -/* virtual QAction * actionPaste () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONPASTE ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionPaste(), false ) ); -} - -/* virtual QAction * actionRaise () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONRAISE ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionRaise(), false ) ); -} - -/* virtual QAction * actionRedo () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONREDO ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionRedo(), false ) ); -} - -/* virtual QAction * actionSelectAll () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONSELECTALL ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionSelectAll(), false ) ); -} - -/* QAction * actionSimplifyLayout () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONSIMPLIFYLAYOUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionSimplifyLayout(), false ) ); -} - -/* virtual QAction * actionSplitHorizontal () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONSPLITHORIZONTAL ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionSplitHorizontal(), false ) ); -} - -/* virtual QAction * actionSplitVertical () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONSPLITVERTICAL ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionSplitVertical(), false ) ); -} - -/* virtual QAction * actionUndo () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONUNDO ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionUndo(), false ) ); -} - -/* virtual QAction * actionVerticalLayout () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIONVERTICALLAYOUT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionVerticalLayout(), false ) ); -} - -/* virtual QDesignerFormWindowInterface * activeFormWindow () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ACTIVEFORMWINDOW ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowInterface( ( p )->activeFormWindow(), false ) ); -} - -/* virtual QDesignerFormEditorInterface * core () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_CORE ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormEditorInterface( ( p )->core(), false ) ); -} - -/* virtual QDesignerFormWindowInterface * createFormWindow ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_CREATEFORMWINDOW ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowInterface( ( p )->createFormWindow( hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ), false ) ); -} - -/* virtual QDesignerFormWindowInterface * formWindow ( int index ) const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_FORMWINDOW ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormWindowInterface( ( p )->formWindow( hb_parni( 2 ) ), false ) ); -} - -/* virtual int formWindowCount () const */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_FORMWINDOWCOUNT ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - hb_retni( ( p )->formWindowCount() ); -} - -/* virtual void addFormWindow ( QDesignerFormWindowInterface * formWindow ) */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_ADDFORMWINDOW ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - ( p )->addFormWindow( hbqt_par_QDesignerFormWindowInterface( 2 ) ); -} - -/* virtual void removeFormWindow ( QDesignerFormWindowInterface * formWindow ) */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_REMOVEFORMWINDOW ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - ( p )->removeFormWindow( hbqt_par_QDesignerFormWindowInterface( 2 ) ); -} - -/* virtual void setActiveFormWindow ( QDesignerFormWindowInterface * formWindow ) */ -HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE_SETACTIVEFORMWINDOW ) -{ - QDesignerFormWindowManagerInterface * p = hbqt_par_QDesignerFormWindowManagerInterface( 1 ); - if( p ) - ( p )->setActiveFormWindow( hbqt_par_QDesignerFormWindowInterface( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp deleted file mode 100644 index c137ea320a..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerObjectInspectorInterface.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerObjectInspectorInterface ( QWidget * parent, Qt::WindowFlags flags = 0 ) - * ~QDesignerObjectInspectorInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerObjectInspectorInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerObjectInspectorInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerObjectInspectorInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerObjectInspectorInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerObjectInspectorInterface * p = ( HBQT_GC_T_QDesignerObjectInspectorInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerObjectInspectorInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerObjectInspectorInterface >( ( QDesignerObjectInspectorInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerObjectInspectorInterface; - p->type = HBQT_TYPE_QDesignerObjectInspectorInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNEROBJECTINSPECTORINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerObjectInspectorInterface() ); -} - -/* virtual QDesignerFormEditorInterface * core () const */ -HB_FUNC( QT_QDESIGNEROBJECTINSPECTORINTERFACE_CORE ) -{ - QDesignerObjectInspectorInterface * p = hbqt_par_QDesignerObjectInspectorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormEditorInterface( ( p )->core(), false ) ); -} - -/* virtual void setFormWindow ( QDesignerFormWindowInterface * formWindow ) = 0 */ -HB_FUNC( QT_QDESIGNEROBJECTINSPECTORINTERFACE_SETFORMWINDOW ) -{ - QDesignerObjectInspectorInterface * p = hbqt_par_QDesignerObjectInspectorInterface( 1 ); - if( p ) - ( p )->setFormWindow( hbqt_par_QDesignerFormWindowInterface( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp deleted file mode 100644 index 9e27235af0..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerPropertyEditorInterface.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerPropertyEditorInterface ( QWidget * parent, Qt::WindowFlags flags = 0 ) - * ~QDesignerPropertyEditorInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerPropertyEditorInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerPropertyEditorInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerPropertyEditorInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerPropertyEditorInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerPropertyEditorInterface * p = ( HBQT_GC_T_QDesignerPropertyEditorInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerPropertyEditorInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerPropertyEditorInterface >( ( QDesignerPropertyEditorInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerPropertyEditorInterface; - p->type = HBQT_TYPE_QDesignerPropertyEditorInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerPropertyEditorInterface() ); -} - -/* virtual QDesignerFormEditorInterface * core () const */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_CORE ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesignerFormEditorInterface( ( p )->core(), false ) ); -} - -/* virtual QString currentPropertyName () const = 0 */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_CURRENTPROPERTYNAME ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->currentPropertyName().toUtf8().data() ); -} - -/* virtual bool isReadOnly () const = 0 */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_ISREADONLY ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* virtual QObject * object () const = 0 */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_OBJECT ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->object(), false ) ); -} - -/* virtual void setObject ( QObject * object ) = 0 */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_SETOBJECT ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - ( p )->setObject( hbqt_par_QObject( 2 ) ); -} - -/* virtual void setPropertyValue ( const QString & name, const QVariant & value, bool changed = true ) = 0 */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_SETPROPERTYVALUE ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setPropertyValue( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QVariant( 3 ), hb_parl( 4 ) ); - hb_strfree( pText ); - } -} - -/* virtual void setReadOnly ( bool readOnly ) = 0 */ -HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE_SETREADONLY ) -{ - QDesignerPropertyEditorInterface * p = hbqt_par_QDesignerPropertyEditorInterface( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp b/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp deleted file mode 100644 index 91213981cf..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/QDesignerWidgetBoxInterface.cpp +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtdesigner.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QDesignerWidgetBoxInterface ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QDesignerWidgetBoxInterface () - * - */ - -typedef struct -{ - QPointer< QDesignerWidgetBoxInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesignerWidgetBoxInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesignerWidgetBoxInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDesignerWidgetBoxInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesignerWidgetBoxInterface * p = ( HBQT_GC_T_QDesignerWidgetBoxInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesignerWidgetBoxInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesignerWidgetBoxInterface >( ( QDesignerWidgetBoxInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesignerWidgetBoxInterface; - p->type = HBQT_TYPE_QDesignerWidgetBoxInterface; - - return p; -} - -HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE ) -{ - //__HB_RETPTRGC__( new QDesignerWidgetBoxInterface() ); -} - -/* virtual QString fileName () const = 0 */ -HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE_FILENAME ) -{ - QDesignerWidgetBoxInterface * p = hbqt_par_QDesignerWidgetBoxInterface( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* virtual bool load () = 0 */ -HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE_LOAD ) -{ - QDesignerWidgetBoxInterface * p = hbqt_par_QDesignerWidgetBoxInterface( 1 ); - if( p ) - hb_retl( ( p )->load() ); -} - -/* virtual bool save () = 0 */ -HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE_SAVE ) -{ - QDesignerWidgetBoxInterface * p = hbqt_par_QDesignerWidgetBoxInterface( 1 ); - if( p ) - hb_retl( ( p )->save() ); -} - -/* virtual void setFileName ( const QString & fileName ) = 0 */ -HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE_SETFILENAME ) -{ - QDesignerWidgetBoxInterface * p = hbqt_par_QDesignerWidgetBoxInterface( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg deleted file mode 100644 index c84034372b..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerActionEditorInterface.prg +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerActionEditorInterface( ... ) - RETURN HB_QDesignerActionEditorInterface():new( ... ) - -FUNCTION QDesignerActionEditorInterfaceFromPointer( ... ) - RETURN HB_QDesignerActionEditorInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerActionEditorInterface INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDesignerActionEditorInterface - - METHOD new( ... ) - - METHOD core // ( ) -> oQDesignerFormEditorInterface - METHOD manageAction // ( oQAction ) -> NIL - METHOD unmanageAction // ( oQAction ) -> NIL - METHOD setFormWindow // ( oQDesignerFormWindowInterface ) -> NIL - - ENDCLASS - - -METHOD QDesignerActionEditorInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerActionEditorInterface( ... ) - RETURN Self - - -METHOD QDesignerActionEditorInterface:core( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormEditorInterfaceFromPointer( Qt_QDesignerActionEditorInterface_core( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerActionEditorInterface:manageAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerActionEditorInterface_manageAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerActionEditorInterface:unmanageAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerActionEditorInterface_unmanageAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerActionEditorInterface:setFormWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerActionEditorInterface_setFormWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg deleted file mode 100644 index f3af4a569a..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormEditorInterface.prg +++ /dev/null @@ -1,156 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerFormEditorInterface( ... ) - RETURN HB_QDesignerFormEditorInterface():new( ... ) - -FUNCTION QDesignerFormEditorInterfaceFromPointer( ... ) - RETURN HB_QDesignerFormEditorInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerFormEditorInterface INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QDesignerFormEditorInterface - - METHOD new( ... ) - - METHOD actionEditor // ( ) -> oQDesignerActionEditorInterface - METHOD formWindowManager // ( ) -> oQDesignerFormWindowManagerInterface - METHOD objectInspector // ( ) -> oQDesignerObjectInspectorInterface - METHOD propertyEditor // ( ) -> oQDesignerPropertyEditorInterface - METHOD setActionEditor // ( oQDesignerActionEditorInterface ) -> NIL - METHOD setObjectInspector // ( oQDesignerObjectInspectorInterface ) -> NIL - METHOD setPropertyEditor // ( oQDesignerPropertyEditorInterface ) -> NIL - METHOD setWidgetBox // ( oQDesignerWidgetBoxInterface ) -> NIL - METHOD topLevel // ( ) -> oQWidget - METHOD widgetBox // ( ) -> oQDesignerWidgetBoxInterface - - ENDCLASS - - -METHOD QDesignerFormEditorInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerFormEditorInterface( ... ) - RETURN Self - - -METHOD QDesignerFormEditorInterface:actionEditor( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerActionEditorInterfaceFromPointer( Qt_QDesignerFormEditorInterface_actionEditor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:formWindowManager( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormWindowManagerInterfaceFromPointer( Qt_QDesignerFormEditorInterface_formWindowManager( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:objectInspector( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerObjectInspectorInterfaceFromPointer( Qt_QDesignerFormEditorInterface_objectInspector( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:propertyEditor( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerPropertyEditorInterfaceFromPointer( Qt_QDesignerFormEditorInterface_propertyEditor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:setActionEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormEditorInterface_setActionEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:setObjectInspector( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormEditorInterface_setObjectInspector( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:setPropertyEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormEditorInterface_setPropertyEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:setWidgetBox( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormEditorInterface_setWidgetBox( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:topLevel( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDesignerFormEditorInterface_topLevel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormEditorInterface:widgetBox( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerWidgetBoxInterfaceFromPointer( Qt_QDesignerFormEditorInterface_widgetBox( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg deleted file mode 100644 index 527dc1b935..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowCursorInterface.prg +++ /dev/null @@ -1,220 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerFormWindowCursorInterface( ... ) - RETURN HB_QDesignerFormWindowCursorInterface():new( ... ) - -FUNCTION QDesignerFormWindowCursorInterfaceFromPointer( ... ) - RETURN HB_QDesignerFormWindowCursorInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerFormWindowCursorInterface INHERIT HbQtObjectHandler FUNCTION HB_QDesignerFormWindowCursorInterface - - METHOD new( ... ) - - METHOD current // ( ) -> oQWidget - METHOD formWindow // ( ) -> oQDesignerFormWindowInterface - METHOD hasSelection // ( ) -> lBool - METHOD isWidgetSelected // ( oQWidget ) -> lBool - METHOD movePosition // ( nOperation, nMode ) -> lBool - METHOD position // ( ) -> nInt - METHOD resetWidgetProperty // ( oQWidget, cName ) -> NIL - METHOD selectedWidget // ( nIndex ) -> oQWidget - METHOD selectedWidgetCount // ( ) -> nInt - METHOD setPosition // ( nPosition, nMode ) -> NIL - METHOD setProperty // ( cName, oQVariant ) -> NIL - METHOD setWidgetProperty // ( oQWidget, cName, oQVariant ) -> NIL - METHOD widget // ( nIndex ) -> oQWidget - METHOD widgetCount // ( ) -> nInt - - ENDCLASS - - -METHOD QDesignerFormWindowCursorInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerFormWindowCursorInterface( ... ) - RETURN Self - - -METHOD QDesignerFormWindowCursorInterface:current( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDesignerFormWindowCursorInterface_current( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:formWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowCursorInterface_formWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:hasSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowCursorInterface_hasSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:isWidgetSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_isWidgetSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:movePosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_movePosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_movePosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowCursorInterface_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:resetWidgetProperty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_resetWidgetProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:selectedWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QDesignerFormWindowCursorInterface_selectedWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:selectedWidgetCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowCursorInterface_selectedWidgetCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:setPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:setProperty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_setProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:setWidgetProperty( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QDesignerFormWindowCursorInterface_setWidgetProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:widget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QDesignerFormWindowCursorInterface_widget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowCursorInterface:widgetCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowCursorInterface_widgetCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg deleted file mode 100644 index 5c6c1a4dd7..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowInterface.prg +++ /dev/null @@ -1,488 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerFormWindowInterface( ... ) - RETURN HB_QDesignerFormWindowInterface():new( ... ) - -FUNCTION QDesignerFormWindowInterfaceFromPointer( ... ) - RETURN HB_QDesignerFormWindowInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerFormWindowInterface INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDesignerFormWindowInterface - - METHOD new( ... ) - - METHOD addResourceFile // ( cPath ) -> NIL - METHOD author // ( ) -> cQString - METHOD comment // ( ) -> cQString - METHOD contents // ( ) -> cQString - METHOD core // ( ) -> oQDesignerFormEditorInterface - METHOD cursor // ( ) -> oQDesignerFormWindowCursorInterface - METHOD emitSelectionChanged // ( ) -> NIL - METHOD exportMacro // ( ) -> cQString - METHOD features // ( ) -> nFeature - METHOD fileName // ( ) -> cQString - METHOD grid // ( ) -> oQPoint - METHOD hasFeature // ( nFeature ) -> lBool - METHOD includeHints // ( ) -> oQStringList - METHOD isDirty // ( ) -> lBool - METHOD isManaged // ( oQWidget ) -> lBool - METHOD layoutDefault // ( @nMargin, @nSpacing ) -> NIL - METHOD mainContainer // ( ) -> oQWidget - METHOD pixmapFunction // ( ) -> cQString - METHOD removeResourceFile // ( cPath ) -> NIL - METHOD resourceFiles // ( ) -> oQStringList - METHOD setAuthor // ( cAuthor ) -> NIL - METHOD setComment // ( cComment ) -> NIL - METHOD setContents // ( oQIODevice ) -> NIL - METHOD setExportMacro // ( cExportMacro ) -> NIL - METHOD setIncludeHints // ( oQStringList ) -> NIL - METHOD setLayoutDefault // ( nMargin, nSpacing ) -> NIL - METHOD setMainContainer // ( oQWidget ) -> NIL - METHOD setPixmapFunction // ( cPixmapFunction ) -> NIL - METHOD findFormWindow // ( oQWidget ) -> oQDesignerFormWindowInterface - // ( oQObject ) -> oQDesignerFormWindowInterface - METHOD clearSelection // ( lUpdate ) -> NIL - METHOD manageWidget // ( oQWidget ) -> NIL - METHOD selectWidget // ( oQWidget, lSelect ) -> NIL - // ( cContents ) -> NIL - METHOD setDirty // ( lDirty ) -> NIL - METHOD setFeatures // ( nFeatures ) -> NIL - METHOD setFileName // ( cFileName ) -> NIL - METHOD setGrid // ( oQPoint ) -> NIL - METHOD unmanageWidget // ( oQWidget ) -> NIL - - ENDCLASS - - -METHOD QDesignerFormWindowInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerFormWindowInterface( ... ) - RETURN Self - - -METHOD QDesignerFormWindowInterface:addResourceFile( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_addResourceFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:author( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_author( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:comment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_comment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:contents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_contents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:core( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormEditorInterfaceFromPointer( Qt_QDesignerFormWindowInterface_core( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:cursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormWindowCursorInterfaceFromPointer( Qt_QDesignerFormWindowInterface_cursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:emitSelectionChanged( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_emitSelectionChanged( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:exportMacro( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_exportMacro( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:features( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_features( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:grid( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QDesignerFormWindowInterface_grid( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:hasFeature( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_hasFeature( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:includeHints( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QDesignerFormWindowInterface_includeHints( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:isDirty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_isDirty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:isManaged( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_isManaged( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:layoutDefault( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowInterface_layoutDefault( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:mainContainer( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDesignerFormWindowInterface_mainContainer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:pixmapFunction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_pixmapFunction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:removeResourceFile( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_removeResourceFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:resourceFiles( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QDesignerFormWindowInterface_resourceFiles( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setAuthor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setAuthor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setComment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setComment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setContents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setContents_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setContents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setExportMacro( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setExportMacro( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setIncludeHints( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setIncludeHints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setLayoutDefault( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowInterface_setLayoutDefault( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setMainContainer( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setMainContainer( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setPixmapFunction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setPixmapFunction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:findFormWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QWIDGET" - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowInterface_findFormWindow( ::pPtr, ... ) ) - CASE "QOBJECT" - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowInterface_findFormWindow_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:clearSelection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_clearSelection( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDesignerFormWindowInterface_clearSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:manageWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_manageWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:selectWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerFormWindowInterface_selectWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_selectWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setDirty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setDirty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setFeatures( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setFeatures( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:setGrid( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_setGrid( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowInterface:unmanageWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowInterface_unmanageWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg deleted file mode 100644 index 2882dc552f..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerFormWindowManagerInterface.prg +++ /dev/null @@ -1,312 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerFormWindowManagerInterface( ... ) - RETURN HB_QDesignerFormWindowManagerInterface():new( ... ) - -FUNCTION QDesignerFormWindowManagerInterfaceFromPointer( ... ) - RETURN HB_QDesignerFormWindowManagerInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerFormWindowManagerInterface INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QDesignerFormWindowManagerInterface - - METHOD new( ... ) - - METHOD actionAdjustSize // ( ) -> oQAction - METHOD actionBreakLayout // ( ) -> oQAction - METHOD actionCopy // ( ) -> oQAction - METHOD actionCut // ( ) -> oQAction - METHOD actionDelete // ( ) -> oQAction - METHOD actionFormLayout // ( ) -> oQAction - METHOD actionGridLayout // ( ) -> oQAction - METHOD actionHorizontalLayout // ( ) -> oQAction - METHOD actionLower // ( ) -> oQAction - METHOD actionPaste // ( ) -> oQAction - METHOD actionRaise // ( ) -> oQAction - METHOD actionRedo // ( ) -> oQAction - METHOD actionSelectAll // ( ) -> oQAction - METHOD actionSimplifyLayout // ( ) -> oQAction - METHOD actionSplitHorizontal // ( ) -> oQAction - METHOD actionSplitVertical // ( ) -> oQAction - METHOD actionUndo // ( ) -> oQAction - METHOD actionVerticalLayout // ( ) -> oQAction - METHOD activeFormWindow // ( ) -> oQDesignerFormWindowInterface - METHOD core // ( ) -> oQDesignerFormEditorInterface - METHOD createFormWindow // ( oQWidget, nFlags ) -> oQDesignerFormWindowInterface - METHOD formWindow // ( nIndex ) -> oQDesignerFormWindowInterface - METHOD formWindowCount // ( ) -> nInt - METHOD addFormWindow // ( oQDesignerFormWindowInterface ) -> NIL - METHOD removeFormWindow // ( oQDesignerFormWindowInterface ) -> NIL - METHOD setActiveFormWindow // ( oQDesignerFormWindowInterface ) -> NIL - - ENDCLASS - - -METHOD QDesignerFormWindowManagerInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerFormWindowManagerInterface( ... ) - RETURN Self - - -METHOD QDesignerFormWindowManagerInterface:actionAdjustSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionAdjustSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionBreakLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionBreakLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionCopy( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionCopy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionCut( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionCut( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionDelete( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionDelete( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionFormLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionFormLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionGridLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionGridLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionHorizontalLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionHorizontalLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionLower( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionLower( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionPaste( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionPaste( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionRaise( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionRaise( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionRedo( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionRedo( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionSelectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionSelectAll( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionSimplifyLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionSimplifyLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionSplitHorizontal( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionSplitHorizontal( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionSplitVertical( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionSplitVertical( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionUndo( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionUndo( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:actionVerticalLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDesignerFormWindowManagerInterface_actionVerticalLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:activeFormWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowManagerInterface_activeFormWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:core( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormEditorInterfaceFromPointer( Qt_QDesignerFormWindowManagerInterface_core( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:createFormWindow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowManagerInterface_createFormWindow( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowManagerInterface_createFormWindow( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowManagerInterface_createFormWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:formWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QDesignerFormWindowInterfaceFromPointer( Qt_QDesignerFormWindowManagerInterface_formWindow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:formWindowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerFormWindowManagerInterface_formWindowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:addFormWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowManagerInterface_addFormWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:removeFormWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowManagerInterface_removeFormWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerFormWindowManagerInterface:setActiveFormWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerFormWindowManagerInterface_setActiveFormWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg deleted file mode 100644 index bbf7a48791..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerObjectInspectorInterface.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerObjectInspectorInterface( ... ) - RETURN HB_QDesignerObjectInspectorInterface():new( ... ) - -FUNCTION QDesignerObjectInspectorInterfaceFromPointer( ... ) - RETURN HB_QDesignerObjectInspectorInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerObjectInspectorInterface INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDesignerObjectInspectorInterface - - METHOD new( ... ) - - METHOD core // ( ) -> oQDesignerFormEditorInterface - METHOD setFormWindow // ( oQDesignerFormWindowInterface ) -> NIL - - ENDCLASS - - -METHOD QDesignerObjectInspectorInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerObjectInspectorInterface( ... ) - RETURN Self - - -METHOD QDesignerObjectInspectorInterface:core( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormEditorInterfaceFromPointer( Qt_QDesignerObjectInspectorInterface_core( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerObjectInspectorInterface:setFormWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerObjectInspectorInterface_setFormWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg deleted file mode 100644 index fac196e143..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerPropertyEditorInterface.prg +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerPropertyEditorInterface( ... ) - RETURN HB_QDesignerPropertyEditorInterface():new( ... ) - -FUNCTION QDesignerPropertyEditorInterfaceFromPointer( ... ) - RETURN HB_QDesignerPropertyEditorInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerPropertyEditorInterface INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDesignerPropertyEditorInterface - - METHOD new( ... ) - - METHOD core // ( ) -> oQDesignerFormEditorInterface - METHOD currentPropertyName // ( ) -> cQString - METHOD isReadOnly // ( ) -> lBool - METHOD object // ( ) -> oQObject - METHOD setObject // ( oQObject ) -> NIL - METHOD setPropertyValue // ( cName, oQVariant, lChanged ) -> NIL - METHOD setReadOnly // ( lReadOnly ) -> NIL - - ENDCLASS - - -METHOD QDesignerPropertyEditorInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerPropertyEditorInterface( ... ) - RETURN Self - - -METHOD QDesignerPropertyEditorInterface:core( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesignerFormEditorInterfaceFromPointer( Qt_QDesignerPropertyEditorInterface_core( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerPropertyEditorInterface:currentPropertyName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerPropertyEditorInterface_currentPropertyName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerPropertyEditorInterface:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerPropertyEditorInterface_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerPropertyEditorInterface:object( ... ) - SWITCH PCount() - CASE 0 - RETURN QObjectFromPointer( Qt_QDesignerPropertyEditorInterface_object( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerPropertyEditorInterface:setObject( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerPropertyEditorInterface_setObject( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerPropertyEditorInterface:setPropertyValue( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) - RETURN Qt_QDesignerPropertyEditorInterface_setPropertyValue( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDesignerPropertyEditorInterface_setPropertyValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerPropertyEditorInterface:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerPropertyEditorInterface_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg b/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg deleted file mode 100644 index 1907638f35..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/TQDesignerWidgetBoxInterface.prg +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTDESIGNER - - -FUNCTION QDesignerWidgetBoxInterface( ... ) - RETURN HB_QDesignerWidgetBoxInterface():new( ... ) - -FUNCTION QDesignerWidgetBoxInterfaceFromPointer( ... ) - RETURN HB_QDesignerWidgetBoxInterface():fromPointer( ... ) - - -CREATE CLASS QDesignerWidgetBoxInterface INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDesignerWidgetBoxInterface - - METHOD new( ... ) - - METHOD fileName // ( ) -> cQString - METHOD load // ( ) -> lBool - METHOD save // ( ) -> lBool - METHOD setFileName // ( cFileName ) -> NIL - - ENDCLASS - - -METHOD QDesignerWidgetBoxInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesignerWidgetBoxInterface( ... ) - RETURN Self - - -METHOD QDesignerWidgetBoxInterface:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerWidgetBoxInterface_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerWidgetBoxInterface:load( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerWidgetBoxInterface_load( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerWidgetBoxInterface:save( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesignerWidgetBoxInterface_save( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesignerWidgetBoxInterface:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesignerWidgetBoxInterface_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtdesigner/g/filelist.hbm b/harbour/contrib/hbqt/qtdesigner/g/filelist.hbm deleted file mode 100644 index 65d40fbeef..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/filelist.hbm +++ /dev/null @@ -1,27 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -QDesignerActionEditorInterface.cpp -QDesignerFormEditorInterface.cpp -QDesignerFormWindowCursorInterface.cpp -QDesignerFormWindowInterface.cpp -QDesignerFormWindowManagerInterface.cpp -QDesignerObjectInspectorInterface.cpp -QDesignerPropertyEditorInterface.cpp -QDesignerWidgetBoxInterface.cpp - -TQDesignerActionEditorInterface.prg -TQDesignerFormEditorInterface.prg -TQDesignerFormWindowCursorInterface.prg -TQDesignerFormWindowInterface.prg -TQDesignerFormWindowManagerInterface.prg -TQDesignerObjectInspectorInterface.prg -TQDesignerPropertyEditorInterface.prg -TQDesignerWidgetBoxInterface.prg diff --git a/harbour/contrib/hbqt/qtdesigner/g/hbqtdesigner.h b/harbour/contrib/hbqt/qtdesigner/g/hbqtdesigner.h deleted file mode 100644 index 4d415851d4..0000000000 --- a/harbour/contrib/hbqt/qtdesigner/g/hbqtdesigner.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQTDESIGNER_H -#define __HBQTDESIGNER_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerActionEditorInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormEditorInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowCursorInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowManagerInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerObjectInspectorInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerPropertyEditorInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerWidgetBoxInterface ); - -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerActionEditorInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerFormEditorInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerFormWindowCursorInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerFormWindowInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerFormWindowManagerInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerObjectInspectorInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerPropertyEditorInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDesignerWidgetBoxInterface( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_QDesignerActionEditorInterface( n ) ( ( QDesignerActionEditorInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerFormEditorInterface( n ) ( ( QDesignerFormEditorInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerFormWindowCursorInterface( n ) ( ( QDesignerFormWindowCursorInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerFormWindowInterface( n ) ( ( QDesignerFormWindowInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerFormWindowManagerInterface( n ) ( ( QDesignerFormWindowManagerInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerObjectInspectorInterface( n ) ( ( QDesignerObjectInspectorInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerPropertyEditorInterface( n ) ( ( QDesignerPropertyEditorInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDesignerWidgetBoxInterface( n ) ( ( QDesignerWidgetBoxInterface * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_QDesignerActionEditorInterface 0x8856A3E4 -#define HBQT_TYPE_QDesignerFormEditorInterface 0x1A537878 -#define HBQT_TYPE_QDesignerFormWindowCursorInterface 0x8A3172B7 -#define HBQT_TYPE_QDesignerFormWindowInterface 0xD60F061D -#define HBQT_TYPE_QDesignerFormWindowManagerInterface 0x54FF1CEA -#define HBQT_TYPE_QDesignerObjectInspectorInterface 0x5D40E5DF -#define HBQT_TYPE_QDesignerPropertyEditorInterface 0xB7E07056 -#define HBQT_TYPE_QDesignerWidgetBoxInterface 0xED8D07B6 - -#endif /* __HBQTDESIGNER_H */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt deleted file mode 100644 index 371fdcb29c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqabstractitemmodel.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQAbstractItemModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqabstractitemmodel.html - * $ONELINER$ - * Creates a new HBQAbstractItemModel object. - * $INHERITS$ - * QAbstractItemModel - * $SYNTAX$ - * HBQAbstractItemModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQAbstractItemModel - * $METHODS$ - * :reset() -> NIL - * :index( nRow, nColumn, oQModelIndex ) -> oQModelIndex - * - * $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/THBQAbstractItemModel.prg - * C++ wrappers : contrib/hbqt/qtgui/HBQAbstractItemModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt deleted file mode 100644 index 4ecc328b47..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQGraphicsItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqgraphicsitem.html - * $ONELINER$ - * Creates a new HBQGraphicsItem object. - * $INHERITS$ - * QGraphicsItem - * $SYNTAX$ - * HBQGraphicsItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQGraphicsItem - * $METHODS$ - * :hbSetBlock( xBlock ) -> NIL - * :boundingRect() -> oQRectF - * :paint( oQPainter, oQStyleOptionGraphicsItem, oQWidget ) -> NIL - * :determineResizeMode( oQPointF ) -> nInt - * :adjustRect( oQRectF ) -> oQRectF - * :prepare( oQPainter ) -> NIL - * :pen() -> oQPen - * :setPen( oQPen ) -> NIL - * :brush() -> oQBrush - * :setBrush( oQBrush ) -> NIL - * :backgroundBrush() -> oQBrush - * :setBackgroundBrush( oQBrush ) -> NIL - * :font() -> oQFont - * :setFont( oQFont ) -> NIL - * :lineStyle() -> nInt - * :setLineStyle( nLineStyle ) -> NIL - * :startAngle() -> nInt - * :setStartAngle( nStartAngle ) -> NIL - * :spanAngle() -> nInt - * :setSpanAngle( nSpanAngle ) -> NIL - * :width() -> nQreal - * :setWidth( nWidth ) -> NIL - * :height() -> nQreal - * :setHeight( nHeight ) -> NIL - * :opacity() -> nInt - * :setOpacity( nOpacity ) -> NIL - * :geometry() -> oQRectF - * :setGeometry( oQRectF ) -> NIL - * :objectType() -> cQString - * :setObjectType( cType ) -> NIL - * :objectName() -> cQString - * :setObjectName( cName ) -> NIL - * :text() -> cQString - * :setText( cType ) -> NIL - * :paintType() -> nInt - * :setPaintType( nPaintType ) -> NIL - * :frameType() -> nInt - * :setFrameType( nFrameType ) -> NIL - * :drawTextType() -> nInt - * :setDrawTextType( nDrawTextType ) -> NIL - * :pixmap() -> oQPixmap - * :setPixmap( oQPixmap ) -> NIL - * :textColor() -> oQColor - * :setTextColor( oQColor ) -> NIL - * :borderWidth() -> nInt - * :setBorderWidth( nBWidth ) -> NIL - * :borderColor() -> oQColor - * :setBorderColor( oQColor ) -> NIL - * :sizePolicy() -> nInt - * :setSizePolicy( nSizePolicy ) -> NIL - * :textFlags() -> nInt - * :setTextFlags( nTextFlags ) -> NIL - * :resizeFlags() -> nInt - * :setResizeFlags( nResizeFlags ) -> NIL - * :resizeHandle() -> nInt - * :setResizeHandle( nResizeHandle ) -> NIL - * :barsIdentation() -> nInt - * :setBarsIdentation( nBarsIdentation ) -> NIL - * :drawBorder() -> lBool - * :setDrawBorder( lDrawBorder ) -> NIL - * :showGrid() -> lBool - * :setShowGrid( lShowGrid ) -> NIL - * :showLabels() -> lBool - * :setShowLabels( lShowLabels ) -> NIL - * :toColorFactor() -> nQreal - * :setToColorFactor( nToColorFactor ) -> NIL - * :setBarValues( oQStringList ) -> NIL - * :setLegendColorRectWidth( nLegendColorRectWidth ) -> 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/THBQGraphicsItem.prg - * C++ wrappers : contrib/hbqt/qtgui/HBQGraphicsItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt deleted file mode 100644 index b5bad96f74..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQGraphicsScene() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqgraphicsscene.html - * $ONELINER$ - * Creates a new HBQGraphicsScene object. - * $INHERITS$ - * QGraphicsScene - * $SYNTAX$ - * HBQGraphicsScene( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQGraphicsScene - * $METHODS$ - * :hbSetBlock( xBlock ) -> NIL - * :pageSize() -> nInt - * :setPageSize( nPageSize ) -> NIL - * :paperRect() -> oQRectF - * :setPaperRect( oQRectF ) -> NIL - * :orientation() -> nInt - * :setOrientation( nOrientation ) -> NIL - * :geometry() -> oQRectF - * :setGeometry( oQRectF ) -> NIL - * :magnetArea() -> nInt - * :setMagnetArea( nMagnetArea ) -> NIL - * :showGrid() -> lBool - * :setShowGrid( lShowGrid ) -> NIL - * :setLeftMagnet( lMagneted ) -> NIL - * :setRightMagnet( lMagneted ) -> NIL - * :setTopMagnet( lMagneted ) -> NIL - * :setBottomMagnet( lMagneted ) -> NIL - * :setHorizontalMagnet( lMagneted ) -> NIL - * :setVerticalMagnet( lMagneted ) -> 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/THBQGraphicsScene.prg - * C++ wrappers : contrib/hbqt/qtgui/HBQGraphicsScene.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt deleted file mode 100644 index 9b44af61e8..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqplaintextedit.txt +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQPlainTextEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqplaintextedit.html - * $ONELINER$ - * Creates a new HBQPlainTextEdit object. - * $INHERITS$ - * QPlainTextEdit - * $SYNTAX$ - * HBQPlainTextEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQPlainTextEdit - * $METHODS$ - * :hbGetIndex( oQTextCursor ) -> nInt - * :hbGetLine( oQTextCursor ) -> nInt - * :hbLineNumberAreaWidth() -> nInt - * :hbGetSpaces() -> nInt - * :hbSetSpaces( nNewSpaces ) -> NIL - * :hbBookmarks( nBlock ) -> NIL - * :hbNextBookmark( nBlock ) -> NIL - * :hbPrevBookmark( nBlock ) -> NIL - * :hbGotoBookmark( nBlock ) -> NIL - * :hbNumberBlockVisible( lB ) -> NIL - * :hbNumberBlockVisible() -> lBool - * :hbHighlightCurrentLine( lB ) -> NIL - * :hbHighlightCurrentLine() -> lBool - * :hbSetEventBlock( xBlock ) -> NIL - * :hbUpdateLineNumberAreaWidth( nNewBlockCount ) -> NIL - * :hbCaseUpper() -> NIL - * :hbCaseLower() -> NIL - * :hbEscapeQuotes() -> NIL - * :hbEscapeDQuotes() -> NIL - * :hbUnescapeQuotes() -> NIL - * :hbUnescapeDQuotes() -> NIL - * :hbConvertQuotes() -> NIL - * :hbConvertDQuotes() -> NIL - * :hbBlockComment() -> NIL - * :hbStreamComment() -> NIL - * :hbDuplicateLine() -> NIL - * :hbReplaceSelection( cTxt ) -> NIL - * :hbBlockIndent( nSteps ) -> NIL - * :hbDeleteLine() -> NIL - * :hbMoveLine( nIDirection ) -> NIL - * :hbGetSelectedText() -> cQString - * :hbTextUnderCursor( lBCodeComplete ) -> cQString - * :hbShowPrototype( cTip, nRows, nCols ) -> NIL - * :hbSetCompleter( oQCompleter ) -> NIL - * :hbSetFldsCompleter( oQCompleter ) -> NIL - * :hbSetCurrentLineColor( oQColor ) -> NIL - * :hbSetLineAreaBkColor( oQColor ) -> NIL - * :hbRefresh() -> NIL - * :hbCut( nKey ) -> NIL - * :hbCopy() -> NIL - * :hbPaste() -> NIL - * :hbSetSelectionMode( nMode, lOn ) -> NIL - * :hbGetSelectionInfo() -> NIL - * :hbSetSelectionInfo( xSelectionInfo ) -> NIL - * :hbSetSelectionColor( oQColor ) -> NIL - * :hbSetMatchBraces( lAll ) -> NIL - * :hbGetViewportInfo() -> NIL - * :hbApplyKey( nKey, nModifiers, cTxt ) -> NIL - * :hbHighlightArea( nTop, nLeft, nBottom, nRight, nMode ) -> NIL - * :hbTogglePersistentSelection() -> NIL - * :hbHorzRulerVisible( lVisible ) -> NIL - * :hbSetProtoStyle( cCss ) -> NIL - * :hbSelectAll() -> NIL - * :hbSetFieldsListActive( lActive ) -> NIL - * :hbToggleCodeCompetion() -> NIL - * :hbToggleCompetionTips() -> 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/THBQPlainTextEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/HBQPlainTextEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt deleted file mode 100644 index 1e41fb7349..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqsyntaxhighlighter.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQSyntaxHighlighter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqsyntaxhighlighter.html - * $ONELINER$ - * Creates a new HBQSyntaxHighlighter object. - * $INHERITS$ - * QSyntaxHighlighter - * $SYNTAX$ - * HBQSyntaxHighlighter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQSyntaxHighlighter - * $METHODS$ - * :hbSetMultiLineCommentFormat( oQTextCharFormat ) -> NIL - * :hbSetSingleLineCommentFormat( oQTextCharFormat ) -> NIL - * :hbSetRule( cName, cPattern, oQTextCharFormat ) -> NIL - * :hbSetFormat( cName, oQTextCharFormat ) -> NIL - * :hbSetFormatColumnSelection( nStart, nCount, oQColor ) -> NIL - * :hbSetRuleWithRegExp( cName, oQRegExp, oQTextCharFormat ) -> 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/THBQSyntaxHighlighter.prg - * C++ wrappers : contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt deleted file mode 100644 index aa7b390d78..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_hbqtextblockuserdata.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * HBQTextBlockUserData() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/hbqtextblockuserdata.html - * $ONELINER$ - * Creates a new HBQTextBlockUserData object. - * $INHERITS$ - * - * $SYNTAX$ - * HBQTextBlockUserData( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type HBQTextBlockUserData - * $METHODS$ - * :hbSetState( nState ) -> nInt - * :hbState() -> nInt - * - * $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/THBQTextBlockUserData.prg - * C++ wrappers : contrib/hbqt/qtgui/HBQTextBlockUserData.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt deleted file mode 100644 index fba0257061..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractbutton.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractbutton.html - * $ONELINER$ - * Creates a new QAbstractButton object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QAbstractButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractButton - * $METHODS$ - * :autoExclusive() -> lBool - * :autoRepeat() -> lBool - * :autoRepeatDelay() -> nInt - * :autoRepeatInterval() -> nInt - * :group() -> oQButtonGroup - * :icon() -> oQIcon - * :iconSize() -> oQSize - * :isCheckable() -> lBool - * :isChecked() -> lBool - * :isDown() -> lBool - * :setAutoExclusive( lBool ) -> NIL - * :setAutoRepeat( lBool ) -> NIL - * :setAutoRepeatDelay( nInt ) -> NIL - * :setAutoRepeatInterval( nInt ) -> NIL - * :setCheckable( lBool ) -> NIL - * :setDown( lBool ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setShortcut( oQKeySequence ) -> NIL - * :setText( cText ) -> NIL - * :shortcut() -> oQKeySequence - * :text() -> cQString - * :animateClick( nMsec ) -> NIL - * :click() -> NIL - * :setChecked( lBool ) -> NIL - * :setIconSize( oQSize ) -> NIL - * :toggle() -> 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/TQAbstractButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt deleted file mode 100644 index 9c6c565138..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractgraphicsshapeitem.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractGraphicsShapeItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractgraphicsshapeitem.html - * $ONELINER$ - * Creates a new QAbstractGraphicsShapeItem object. - * $INHERITS$ - * QGraphicsItem - * $SYNTAX$ - * QAbstractGraphicsShapeItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractGraphicsShapeItem - * $METHODS$ - * :brush() -> oQBrush - * :pen() -> oQPen - * :setBrush( oQBrush ) -> NIL - * :setPen( oQPen ) -> 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/TQAbstractGraphicsShapeItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractGraphicsShapeItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt deleted file mode 100644 index b83523fe3f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemdelegate.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractItemDelegate() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractitemdelegate.html - * $ONELINER$ - * Creates a new QAbstractItemDelegate object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QAbstractItemDelegate( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractItemDelegate - * $METHODS$ - * :createEditor( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> oQWidget - * :editorEvent( oQEvent, oQAbstractItemModel, oQStyleOptionViewItem, oQModelIndex ) -> lBool - * :paint( oQPainter, oQStyleOptionViewItem, oQModelIndex ) -> NIL - * :setEditorData( oQWidget, oQModelIndex ) -> NIL - * :setModelData( oQWidget, oQAbstractItemModel, oQModelIndex ) -> NIL - * :sizeHint( oQStyleOptionViewItem, oQModelIndex ) -> oQSize - * :updateEditorGeometry( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> 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/TQAbstractItemDelegate.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractItemDelegate.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt deleted file mode 100644 index 33dda51cce..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractitemview.txt +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractItemView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractitemview.html - * $ONELINER$ - * Creates a new QAbstractItemView object. - * $INHERITS$ - * QAbstractScrollArea - * $SYNTAX$ - * QAbstractItemView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractItemView - * $METHODS$ - * :alternatingRowColors() -> lBool - * :autoScrollMargin() -> nInt - * :closePersistentEditor( oQModelIndex ) -> NIL - * :currentIndex() -> oQModelIndex - * :dragDropMode() -> nDragDropMode - * :dragDropOverwriteMode() -> lBool - * :dragEnabled() -> lBool - * :editTriggers() -> nEditTriggers - * :hasAutoScroll() -> lBool - * :horizontalScrollMode() -> nScrollMode - * :iconSize() -> oQSize - * :indexAt( oQPoint ) -> oQModelIndex - * :indexWidget( oQModelIndex ) -> oQWidget - * :itemDelegate() -> oQAbstractItemDelegate - * :itemDelegate( oQModelIndex ) -> oQAbstractItemDelegate - * :itemDelegateForColumn( nColumn ) -> oQAbstractItemDelegate - * :itemDelegateForRow( nRow ) -> oQAbstractItemDelegate - * :keyboardSearch( cSearch ) -> NIL - * :model() -> oQAbstractItemModel - * :openPersistentEditor( oQModelIndex ) -> NIL - * :rootIndex() -> oQModelIndex - * :scrollTo( oQModelIndex, nHint ) -> NIL - * :selectionBehavior() -> nQAbstractItemView_SelectionBehavior - * :selectionMode() -> nQAbstractItemView_SelectionMode - * :selectionModel() -> oQItemSelectionModel - * :setAlternatingRowColors( lEnable ) -> NIL - * :setAutoScroll( lEnable ) -> NIL - * :setAutoScrollMargin( nMargin ) -> NIL - * :setDragDropMode( nBehavior ) -> NIL - * :setDragDropOverwriteMode( lOverwrite ) -> NIL - * :setDragEnabled( lEnable ) -> NIL - * :setDropIndicatorShown( lEnable ) -> NIL - * :setEditTriggers( nTriggers ) -> NIL - * :setHorizontalScrollMode( nMode ) -> NIL - * :setIconSize( oQSize ) -> NIL - * :setIndexWidget( oQModelIndex, oQWidget ) -> NIL - * :setItemDelegate( oQAbstractItemDelegate ) -> NIL - * :setItemDelegateForColumn( nColumn, oQAbstractItemDelegate ) -> NIL - * :setItemDelegateForRow( nRow, oQAbstractItemDelegate ) -> NIL - * :setModel( oQAbstractItemModel ) -> NIL - * :setSelectionBehavior( nBehavior ) -> NIL - * :setSelectionMode( nMode ) -> NIL - * :setSelectionModel( oQItemSelectionModel ) -> NIL - * :setTabKeyNavigation( lEnable ) -> NIL - * :setTextElideMode( nMode ) -> NIL - * :setVerticalScrollMode( nMode ) -> NIL - * :showDropIndicator() -> lBool - * :sizeHintForColumn( nColumn ) -> nInt - * :sizeHintForIndex( oQModelIndex ) -> oQSize - * :sizeHintForRow( nRow ) -> nInt - * :tabKeyNavigation() -> lBool - * :textElideMode() -> nQt_TextElideMode - * :verticalScrollMode() -> nScrollMode - * :visualRect( oQModelIndex ) -> oQRect - * :clearSelection() -> NIL - * :edit( oQModelIndex ) -> NIL - * :reset() -> NIL - * :scrollToBottom() -> NIL - * :scrollToTop() -> NIL - * :selectAll() -> NIL - * :setCurrentIndex( oQModelIndex ) -> NIL - * :setRootIndex( oQModelIndex ) -> NIL - * :update( oQModelIndex ) -> 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/TQAbstractItemView.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractItemView.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt deleted file mode 100644 index 5817c992c9..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractprintdialog.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractPrintDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractprintdialog.html - * $ONELINER$ - * Creates a new QAbstractPrintDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QAbstractPrintDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractPrintDialog - * $METHODS$ - * :exec() -> nInt - * :fromPage() -> nInt - * :maxPage() -> nInt - * :minPage() -> nInt - * :printRange() -> nPrintRange - * :printer() -> oQPrinter - * :setFromTo( nFrom, nTo ) -> NIL - * :setMinMax( nMin, nMax ) -> NIL - * :setPrintRange( nRange ) -> NIL - * :toPage() -> nInt - * - * $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/TQAbstractPrintDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractPrintDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt deleted file mode 100644 index a26d9dcf81..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractproxymodel.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractProxyModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractproxymodel.html - * $ONELINER$ - * Creates a new QAbstractProxyModel object. - * $INHERITS$ - * QAbstractItemModel - * $SYNTAX$ - * QAbstractProxyModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractProxyModel - * $METHODS$ - * :mapFromSource( oQModelIndex ) -> oQModelIndex - * :mapSelectionFromSource( oQItemSelection ) -> oQItemSelection - * :mapSelectionToSource( oQItemSelection ) -> oQItemSelection - * :mapToSource( oQModelIndex ) -> oQModelIndex - * :setSourceModel( oQAbstractItemModel ) -> NIL - * :sourceModel() -> oQAbstractItemModel - * - * $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/TQAbstractProxyModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractProxyModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt deleted file mode 100644 index 430a3bc5e2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractscrollarea.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractScrollArea() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractscrollarea.html - * $ONELINER$ - * Creates a new QAbstractScrollArea object. - * $INHERITS$ - * QFrame - * $SYNTAX$ - * QAbstractScrollArea( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractScrollArea - * $METHODS$ - * :addScrollBarWidget( oQWidget, nAlignment ) -> NIL - * :cornerWidget() -> oQWidget - * :horizontalScrollBar() -> oQScrollBar - * :horizontalScrollBarPolicy() -> nQt_ScrollBarPolicy - * :maximumViewportSize() -> oQSize - * :setCornerWidget( oQWidget ) -> NIL - * :setHorizontalScrollBar( oQScrollBar ) -> NIL - * :setHorizontalScrollBarPolicy( nQt::ScrollBarPolicy ) -> NIL - * :setVerticalScrollBar( oQScrollBar ) -> NIL - * :setVerticalScrollBarPolicy( nQt::ScrollBarPolicy ) -> NIL - * :setViewport( oQWidget ) -> NIL - * :verticalScrollBar() -> oQScrollBar - * :verticalScrollBarPolicy() -> nQt_ScrollBarPolicy - * :viewport() -> oQWidget - * - * $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/TQAbstractScrollArea.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractScrollArea.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt deleted file mode 100644 index 7825565515..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractslider.txt +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractSlider() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractslider.html - * $ONELINER$ - * Creates a new QAbstractSlider object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QAbstractSlider( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractSlider - * $METHODS$ - * :hasTracking() -> lBool - * :invertedAppearance() -> lBool - * :invertedControls() -> lBool - * :isSliderDown() -> lBool - * :maximum() -> nInt - * :minimum() -> nInt - * :orientation() -> nQt_Orientation - * :pageStep() -> nInt - * :setInvertedAppearance( lBool ) -> NIL - * :setInvertedControls( lBool ) -> NIL - * :setMaximum( nInt ) -> NIL - * :setMinimum( nInt ) -> NIL - * :setPageStep( nInt ) -> NIL - * :setRange( nMin, nMax ) -> NIL - * :setSingleStep( nInt ) -> NIL - * :setSliderDown( lBool ) -> NIL - * :setSliderPosition( nInt ) -> NIL - * :setTracking( lEnable ) -> NIL - * :singleStep() -> nInt - * :sliderPosition() -> nInt - * :triggerAction( nAction ) -> NIL - * :value() -> nInt - * :setOrientation( nQt::Orientation ) -> NIL - * :setValue( nInt ) -> 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/TQAbstractSlider.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractSlider.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt deleted file mode 100644 index 14f2bc7832..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstractspinbox.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractSpinBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstractspinbox.html - * $ONELINER$ - * Creates a new QAbstractSpinBox object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QAbstractSpinBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractSpinBox - * $METHODS$ - * :alignment() -> nQt_Alignment - * :buttonSymbols() -> nButtonSymbols - * :correctionMode() -> nCorrectionMode - * :hasAcceptableInput() -> lBool - * :hasFrame() -> lBool - * :interpretText() -> NIL - * :isAccelerated() -> lBool - * :isReadOnly() -> lBool - * :keyboardTracking() -> lBool - * :setAccelerated( lOn ) -> NIL - * :setAlignment( nFlag ) -> NIL - * :setButtonSymbols( nBs ) -> NIL - * :setCorrectionMode( nCm ) -> NIL - * :setFrame( lBool ) -> NIL - * :setKeyboardTracking( lKt ) -> NIL - * :setReadOnly( lR ) -> NIL - * :setSpecialValueText( cTxt ) -> NIL - * :setWrapping( lW ) -> NIL - * :specialValueText() -> cQString - * :stepBy( nSteps ) -> NIL - * :text() -> cQString - * :wrapping() -> lBool - * :clear() -> NIL - * :selectAll() -> NIL - * :stepDown() -> NIL - * :stepUp() -> 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/TQAbstractSpinBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractSpinBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt deleted file mode 100644 index bc6748fa5d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qabstracttextdocumentlayout.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAbstractTextDocumentLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qabstracttextdocumentlayout.html - * $ONELINER$ - * Creates a new QAbstractTextDocumentLayout object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QAbstractTextDocumentLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAbstractTextDocumentLayout - * $METHODS$ - * :anchorAt( oQPointF ) -> cQString - * :blockBoundingRect( oQTextBlock ) -> oQRectF - * :document() -> oQTextDocument - * :documentSize() -> oQSizeF - * :frameBoundingRect( oQTextFrame ) -> oQRectF - * :hitTest( oQPointF, nAccuracy ) -> nInt - * :pageCount() -> nInt - * :paintDevice() -> oQPaintDevice - * :registerHandler( nObjectType, oQObject ) -> NIL - * :setPaintDevice( oQPaintDevice ) -> 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/TQAbstractTextDocumentLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt deleted file mode 100644 index 475a6b0a33..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qaction.txt +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QAction() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qaction.html - * $ONELINER$ - * Creates a new QAction object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QAction( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QAction - * $METHODS$ - * :actionGroup() -> oQActionGroup - * :activate( nEvent ) -> NIL - * :associatedWidgets() -> oQList_QWidget - * :autoRepeat() -> lBool - * :data() -> oQVariant - * :font() -> oQFont - * :icon() -> oQIcon - * :iconText() -> cQString - * :isCheckable() -> lBool - * :isChecked() -> lBool - * :isEnabled() -> lBool - * :isIconVisibleInMenu() -> lBool - * :isSeparator() -> lBool - * :isVisible() -> lBool - * :menu() -> oQMenu - * :menuRole() -> nMenuRole - * :parentWidget() -> oQWidget - * :setActionGroup( oQActionGroup ) -> NIL - * :setAutoRepeat( lBool ) -> NIL - * :setCheckable( lBool ) -> NIL - * :setData( oQVariant ) -> NIL - * :setFont( oQFont ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setIconText( cText ) -> NIL - * :setIconVisibleInMenu( lVisible ) -> NIL - * :setMenu( oQMenu ) -> NIL - * :setMenuRole( nMenuRole ) -> NIL - * :setSeparator( lB ) -> NIL - * :setShortcut( oQKeySequence ) -> NIL - * :setShortcutContext( nContext ) -> NIL - * :setShortcuts( nKey ) -> NIL - * :setStatusTip( cStatusTip ) -> NIL - * :setText( cText ) -> NIL - * :setToolTip( cTip ) -> NIL - * :setWhatsThis( cWhat ) -> NIL - * :shortcut() -> oQKeySequence - * :shortcutContext() -> nQt_ShortcutContext - * :shortcuts() -> oQList_QKeySequence> - * :showStatusText( oQWidget ) -> lBool - * :statusTip() -> cQString - * :text() -> cQString - * :toolTip() -> cQString - * :whatsThis() -> cQString - * :hover() -> NIL - * :setChecked( lBool ) -> NIL - * :setDisabled( lB ) -> NIL - * :setEnabled( lBool ) -> NIL - * :setVisible( lBool ) -> NIL - * :toggle() -> NIL - * :trigger() -> 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/TQAction.prg - * C++ wrappers : contrib/hbqt/qtgui/QAction.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt deleted file mode 100644 index 331afd7f42..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qactiongroup.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QActionGroup() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qactiongroup.html - * $ONELINER$ - * Creates a new QActionGroup object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QActionGroup( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QActionGroup - * $METHODS$ - * :actions() -> oQList_QAction - * :addAction( oQAction ) -> oQAction - * :addAction( cText ) -> oQAction - * :addAction( coQIcon, cText ) -> oQAction - * :checkedAction() -> oQAction - * :isEnabled() -> lBool - * :isExclusive() -> lBool - * :isVisible() -> lBool - * :removeAction( oQAction ) -> NIL - * :setDisabled( lB ) -> NIL - * :setEnabled( lBool ) -> NIL - * :setExclusive( lBool ) -> NIL - * :setVisible( lBool ) -> 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/TQActionGroup.prg - * C++ wrappers : contrib/hbqt/qtgui/QActionGroup.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt deleted file mode 100644 index be6d332658..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qapplication.txt +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QApplication() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qapplication.html - * $ONELINER$ - * Creates a new QApplication object. - * $INHERITS$ - * QCoreApplication - * $SYNTAX$ - * QApplication( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QApplication - * $METHODS$ - * :commitData( oQSessionManager ) -> NIL - * :isSessionRestored() -> lBool - * :saveState( oQSessionManager ) -> NIL - * :sessionId() -> cQString - * :sessionKey() -> cQString - * :styleSheet() -> cQString - * :activeModalWidget() -> oQWidget - * :activePopupWidget() -> oQWidget - * :activeWindow() -> oQWidget - * :alert( oQWidget, nMsec ) -> NIL - * :beep() -> NIL - * :changeOverrideCursor( oQCursor ) -> NIL - * :clipboard() -> oQClipboard - * :colorSpec() -> nInt - * :cursorFlashTime() -> nInt - * :desktop() -> oQDesktopWidget - * :desktopSettingsAware() -> lBool - * :doubleClickInterval() -> nInt - * :exec() -> nInt - * :focusWidget() -> oQWidget - * :font() -> oQFont - * :font( oQWidget ) -> oQFont - * :font( cClassName ) -> oQFont - * :fontMetrics() -> oQFontMetrics - * :globalStrut() -> oQSize - * :isEffectEnabled( nEffect ) -> lBool - * :isLeftToRight() -> lBool - * :isRightToLeft() -> lBool - * :keyboardInputDirection() -> nQt_LayoutDirection - * :keyboardInputInterval() -> nInt - * :keyboardInputLocale() -> oQLocale - * :keyboardModifiers() -> nQt_KeyboardModifiers - * :layoutDirection() -> nQt_LayoutDirection - * :mouseButtons() -> nQt_MouseButtons - * :overrideCursor() -> oQCursor - * :palette() -> oQPalette - * :palette( oQWidget ) -> oQPalette - * :palette( cClassName ) -> oQPalette - * :quitOnLastWindowClosed() -> lBool - * :restoreOverrideCursor() -> NIL - * :setActiveWindow( oQWidget ) -> NIL - * :setColorSpec( nSpec ) -> NIL - * :setCursorFlashTime( nInt ) -> NIL - * :setDesktopSettingsAware( lOn ) -> NIL - * :setDoubleClickInterval( nInt ) -> NIL - * :setEffectEnabled( nEffect, lEnable ) -> NIL - * :setFont( oQFont, cClassName ) -> NIL - * :setGlobalStrut( oQSize ) -> NIL - * :setGraphicsSystem( cSystem ) -> NIL - * :setKeyboardInputInterval( nInt ) -> NIL - * :setLayoutDirection( nDirection ) -> NIL - * :setOverrideCursor( oQCursor ) -> NIL - * :setPalette( oQPalette, cClassName ) -> NIL - * :setQuitOnLastWindowClosed( lQuit ) -> NIL - * :setStartDragDistance( nL ) -> NIL - * :setStartDragTime( nMs ) -> NIL - * :setStyle( oQStyle ) -> NIL - * :setStyle( cStyle ) -> oQStyle - * :setWheelScrollLines( nInt ) -> NIL - * :setWindowIcon( coQIcon ) -> NIL - * :startDragDistance() -> nInt - * :startDragTime() -> nInt - * :style() -> oQStyle - * :syncX() -> NIL - * :topLevelAt( oQPoint ) -> oQWidget - * :topLevelAt( nX, nY ) -> oQWidget - * :type() -> nType - * :wheelScrollLines() -> nInt - * :widgetAt( oQPoint ) -> oQWidget - * :widgetAt( nX, nY ) -> oQWidget - * :windowIcon() -> oQIcon - * :aboutQt() -> NIL - * :closeAllWindows() -> NIL - * :setStyleSheet( cSheet ) -> 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/TQApplication.prg - * C++ wrappers : contrib/hbqt/qtgui/QApplication.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt deleted file mode 100644 index d48aca90c1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qbitmap.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QBitmap() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qbitmap.html - * $ONELINER$ - * Creates a new QBitmap object. - * $INHERITS$ - * QPixmap - * $SYNTAX$ - * QBitmap( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QBitmap - * $METHODS$ - * :QBitmap() -> oQBitmap - * :QBitmap( oQPixmap ) -> oQBitmap - * :QBitmap( nWidth, nHeight ) -> oQBitmap - * :QBitmap( oQSize ) -> oQBitmap - * :QBitmap( cFileName, cFormat ) -> oQBitmap - * :clear() -> NIL - * :transformed( oQTransform ) -> oQBitmap - * :transformed( oQMatrix ) -> oQBitmap - * :fromImage( oQImage, nFlags ) -> oQBitmap - * - * $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/TQBitmap.prg - * C++ wrappers : contrib/hbqt/qtgui/QBitmap.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt deleted file mode 100644 index 5e1e19deff..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qboxlayout.txt +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QBoxLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qboxlayout.html - * $ONELINER$ - * Creates a new QBoxLayout object. - * $INHERITS$ - * QLayout - * $SYNTAX$ - * QBoxLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QBoxLayout - * $METHODS$ - * :addLayout( oQLayout, nStretch ) -> NIL - * :addSpacerItem( oQSpacerItem ) -> NIL - * :addSpacing( nSize ) -> NIL - * :addStretch( nStretch ) -> NIL - * :addStrut( nSize ) -> NIL - * :addWidget( oQWidget, nStretch, nAlignment ) -> NIL - * :direction() -> nDirection - * :insertLayout( nIndex, oQLayout, nStretch ) -> NIL - * :insertSpacerItem( nIndex, oQSpacerItem ) -> NIL - * :insertSpacing( nIndex, nSize ) -> NIL - * :insertStretch( nIndex, nStretch ) -> NIL - * :insertWidget( nIndex, oQWidget, nStretch, nAlignment ) -> NIL - * :invalidate() -> NIL - * :setDirection( nDirection ) -> NIL - * :setSpacing( nSpacing ) -> NIL - * :setStretch( nIndex, nStretch ) -> NIL - * :setStretchFactor( oQWidget, nStretch ) -> lBool - * :setStretchFactor( oQLayout, nStretch ) -> lBool - * :spacing() -> nInt - * :stretch( nIndex ) -> nInt - * - * $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/TQBoxLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QBoxLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt deleted file mode 100644 index a25443d4f5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qbrush.txt +++ /dev/null @@ -1,63 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QBrush() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qbrush.html - * $ONELINER$ - * Creates a new QBrush object. - * $INHERITS$ - * - * $SYNTAX$ - * QBrush( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QBrush - * $METHODS$ - * :color() -> oQColor - * :gradient() -> oQGradient - * :isOpaque() -> lBool - * :matrix() -> oQMatrix - * :setColor( oQColor ) -> NIL - * :setColor( nColor ) -> NIL - * :setMatrix( oQMatrix ) -> NIL - * :setStyle( nStyle ) -> NIL - * :setTexture( oQPixmap ) -> NIL - * :setTextureImage( oQImage ) -> NIL - * :setTransform( oQTransform ) -> NIL - * :style() -> nQt_BrushStyle - * :texture() -> oQPixmap - * :textureImage() -> oQImage - * :transform() -> oQTransform - * - * $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/TQBrush.prg - * C++ wrappers : contrib/hbqt/qtgui/QBrush.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt deleted file mode 100644 index dba94839fa..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qbuttongroup.txt +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QButtonGroup() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qbuttongroup.html - * $ONELINER$ - * Creates a new QButtonGroup object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QButtonGroup( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QButtonGroup - * $METHODS$ - * :addButton( oQAbstractButton ) -> NIL - * :addButton( oQAbstractButton, nId ) -> NIL - * :button( nId ) -> oQAbstractButton - * :buttons() -> oQList_QAbstractButton - * :checkedButton() -> oQAbstractButton - * :checkedId() -> nInt - * :exclusive() -> lBool - * :id( oQAbstractButton ) -> nInt - * :removeButton( oQAbstractButton ) -> NIL - * :setExclusive( lBool ) -> NIL - * :setId( oQAbstractButton, nId ) -> 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/TQButtonGroup.prg - * C++ wrappers : contrib/hbqt/qtgui/QButtonGroup.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt deleted file mode 100644 index 29ea739933..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcalendarwidget.txt +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCalendarWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcalendarwidget.html - * $ONELINER$ - * Creates a new QCalendarWidget object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QCalendarWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCalendarWidget - * $METHODS$ - * :dateEditAcceptDelay() -> nInt - * :dateTextFormat( oQDate ) -> oQTextCharFormat - * :firstDayOfWeek() -> nQt_DayOfWeek - * :headerTextFormat() -> oQTextCharFormat - * :horizontalHeaderFormat() -> nHorizontalHeaderFormat - * :isDateEditEnabled() -> lBool - * :isGridVisible() -> lBool - * :isNavigationBarVisible() -> lBool - * :maximumDate() -> oQDate - * :minimumDate() -> oQDate - * :monthShown() -> nInt - * :selectedDate() -> oQDate - * :selectionMode() -> nSelectionMode - * :setDateEditAcceptDelay( nDelay ) -> NIL - * :setDateEditEnabled( lEnable ) -> NIL - * :setDateTextFormat( oQDate, oQTextCharFormat ) -> NIL - * :setFirstDayOfWeek( nDayOfWeek ) -> NIL - * :setHeaderTextFormat( oQTextCharFormat ) -> NIL - * :setHorizontalHeaderFormat( nFormat ) -> NIL - * :setMaximumDate( oQDate ) -> NIL - * :setMinimumDate( oQDate ) -> NIL - * :setSelectionMode( nMode ) -> NIL - * :setVerticalHeaderFormat( nFormat ) -> NIL - * :setWeekdayTextFormat( nDayOfWeek, oQTextCharFormat ) -> NIL - * :verticalHeaderFormat() -> nVerticalHeaderFormat - * :weekdayTextFormat( nDayOfWeek ) -> oQTextCharFormat - * :yearShown() -> nInt - * :setCurrentPage( nYear, nMonth ) -> NIL - * :setDateRange( oQDate, oQDate ) -> NIL - * :setGridVisible( lShow ) -> NIL - * :setNavigationBarVisible( lVisible ) -> NIL - * :setSelectedDate( oQDate ) -> NIL - * :showNextMonth() -> NIL - * :showNextYear() -> NIL - * :showPreviousMonth() -> NIL - * :showPreviousYear() -> NIL - * :showSelectedDate() -> NIL - * :showToday() -> 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/TQCalendarWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QCalendarWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt deleted file mode 100644 index f06b83757b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcheckbox.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCheckBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcheckbox.html - * $ONELINER$ - * Creates a new QCheckBox object. - * $INHERITS$ - * QAbstractButton - * $SYNTAX$ - * QCheckBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCheckBox - * $METHODS$ - * :checkState() -> nQt_CheckState - * :isTristate() -> lBool - * :setCheckState( nState ) -> NIL - * :setTristate( lY ) -> 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/TQCheckBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QCheckBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt deleted file mode 100644 index 946f1c151c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qclipboard.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QClipboard() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qclipboard.html - * $ONELINER$ - * Creates a new QClipboard object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QClipboard( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QClipboard - * $METHODS$ - * :clear( nMode ) -> NIL - * :image( nMode ) -> oQImage - * :ownsClipboard() -> lBool - * :ownsFindBuffer() -> lBool - * :ownsSelection() -> lBool - * :pixmap( nMode ) -> oQPixmap - * :setImage( oQImage, nMode ) -> NIL - * :setMimeData( oQMimeData, nMode ) -> NIL - * :setPixmap( oQPixmap, nMode ) -> NIL - * :setText( cText, nMode ) -> NIL - * :supportsFindBuffer() -> lBool - * :supportsSelection() -> lBool - * :text( nMode ) -> cQString - * - * $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/TQClipboard.prg - * C++ wrappers : contrib/hbqt/qtgui/QClipboard.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt deleted file mode 100644 index 3692b92b6d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolor.txt +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QColor() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcolor.html - * $ONELINER$ - * Creates a new QColor object. - * $INHERITS$ - * - * $SYNTAX$ - * QColor( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QColor - * $METHODS$ - * :QColor() -> oQColor - * :QColor( nR, nG, nB, nA ) -> oQColor - * :QColor( nColor ) -> oQColor - * :QColor( nColor ) -> oQColor - * :QColor( cName ) -> oQColor - * :QColor( oQColor ) -> oQColor - * :alpha() -> nInt - * :alphaF() -> nQreal - * :black() -> nInt - * :blackF() -> nQreal - * :blue() -> nInt - * :blueF() -> nQreal - * :convertTo( nColorSpec ) -> oQColor - * :cyan() -> nInt - * :cyanF() -> nQreal - * :darker( nFactor ) -> oQColor - * :getCmyk( @nC, @nM, @nY, @nK, @nA ) -> NIL - * :getCmykF( @nC, @nM, @nY, @nK, @nA ) -> NIL - * :getHsv( @nH, @nS, @nV, @nA ) -> NIL - * :getHsvF( @nH, @nS, @nV, @nA ) -> NIL - * :getRgb( @nR, @nG, @nB, @nA ) -> NIL - * :getRgbF( @nR, @nG, @nB, @nA ) -> NIL - * :green() -> nInt - * :greenF() -> nQreal - * :hue() -> nInt - * :hueF() -> nQreal - * :isValid() -> lBool - * :lighter( nFactor ) -> oQColor - * :magenta() -> nInt - * :magentaF() -> nQreal - * :name() -> cQString - * :red() -> nInt - * :redF() -> nQreal - * :rgb() -> nQRgb - * :rgba() -> nQRgb - * :saturation() -> nInt - * :saturationF() -> nQreal - * :setAlpha( nAlpha ) -> NIL - * :setAlphaF( nAlpha ) -> NIL - * :setBlue( nBlue ) -> NIL - * :setBlueF( nBlue ) -> NIL - * :setCmyk( nC, nM, nY, nK, nA ) -> NIL - * :setCmykF( nC, nM, nY, nK, nA ) -> NIL - * :setGreen( nGreen ) -> NIL - * :setGreenF( nGreen ) -> NIL - * :setHsv( nH, nS, nV, nA ) -> NIL - * :setHsvF( nH, nS, nV, nA ) -> NIL - * :setNamedColor( cName ) -> NIL - * :setRed( nRed ) -> NIL - * :setRedF( nRed ) -> NIL - * :setRgb( nRgb ) -> NIL - * :setRgb( nR, nG, nB, nA ) -> NIL - * :setRgba( nRgba ) -> NIL - * :setRgbF( nR, nG, nB, nA ) -> NIL - * :spec() -> nSpec - * :toCmyk() -> oQColor - * :toHsv() -> oQColor - * :toRgb() -> oQColor - * :value() -> nInt - * :valueF() -> nQreal - * :yellow() -> nInt - * :yellowF() -> nQreal - * :colorNames() -> oQStringList - * :fromCmyk( nC, nM, nY, nK, nA ) -> oQColor - * :fromCmykF( nC, nM, nY, nK, nA ) -> oQColor - * :fromHsv( nH, nS, nV, nA ) -> oQColor - * :fromHsvF( nH, nS, nV, nA ) -> oQColor - * :fromRgb( nRgb ) -> oQColor - * :fromRgb( nR, nG, nB, nA ) -> oQColor - * :fromRgbF( nR, nG, nB, nA ) -> oQColor - * :fromRgba( nRgba ) -> oQColor - * - * $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/TQColor.prg - * C++ wrappers : contrib/hbqt/qtgui/QColor.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt deleted file mode 100644 index 1155f1fd05..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcolordialog.txt +++ /dev/null @@ -1,63 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QColorDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcolordialog.html - * $ONELINER$ - * Creates a new QColorDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QColorDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QColorDialog - * $METHODS$ - * :currentColor() -> oQColor - * :open() -> NIL - * :options() -> nColorDialogOptions - * :selectedColor() -> oQColor - * :setCurrentColor( oQColor ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :setVisible( lVisible ) -> NIL - * :testOption( nOption ) -> lBool - * :customColor( nIndex ) -> nQRgb - * :customCount() -> nInt - * :getColor( oQColor, oQWidget, cTitle, nOptions ) -> oQColor - * :getColor( oQColor, oQWidget ) -> oQColor - * :setCustomColor( nIndex, nColor ) -> NIL - * :setStandardColor( nIndex, nColor ) -> 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/TQColorDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QColorDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt deleted file mode 100644 index a1c106a56b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcombobox.txt +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QComboBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcombobox.html - * $ONELINER$ - * Creates a new QComboBox object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QComboBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QComboBox - * $METHODS$ - * :QComboBox( oQWidget ) -> oQComboBox - * :addItem( cText, oQVariant ) -> NIL - * :addItem( coQIcon, cText, oQVariant ) -> NIL - * :addItems( oQStringList ) -> NIL - * :completer() -> oQCompleter - * :count() -> nInt - * :currentIndex() -> nInt - * :currentText() -> cQString - * :duplicatesEnabled() -> lBool - * :findData( oQVariant, nRole, nFlags ) -> nInt - * :findText( cText, nFlags ) -> nInt - * :hasFrame() -> lBool - * :hidePopup() -> NIL - * :iconSize() -> oQSize - * :insertItem( nIndex, cText, oQVariant ) -> NIL - * :insertItem( nIndex, coQIcon, cText, oQVariant ) -> NIL - * :insertItems( nIndex, oQStringList ) -> NIL - * :insertPolicy() -> nInsertPolicy - * :insertSeparator( nIndex ) -> NIL - * :isEditable() -> lBool - * :itemData( nIndex, nRole ) -> oQVariant - * :itemDelegate() -> oQAbstractItemDelegate - * :itemIcon( nIndex ) -> oQIcon - * :itemText( nIndex ) -> cQString - * :lineEdit() -> oQLineEdit - * :maxCount() -> nInt - * :maxVisibleItems() -> nInt - * :minimumContentsLength() -> nInt - * :model() -> oQAbstractItemModel - * :modelColumn() -> nInt - * :removeItem( nIndex ) -> NIL - * :rootModelIndex() -> oQModelIndex - * :setCompleter( oQCompleter ) -> NIL - * :setDuplicatesEnabled( lEnable ) -> NIL - * :setEditable( lEditable ) -> NIL - * :setFrame( lBool ) -> NIL - * :setIconSize( oQSize ) -> NIL - * :setInsertPolicy( nPolicy ) -> NIL - * :setItemData( nIndex, oQVariant, nRole ) -> NIL - * :setItemDelegate( oQAbstractItemDelegate ) -> NIL - * :setItemIcon( nIndex, coQIcon ) -> NIL - * :setItemText( nIndex, cText ) -> NIL - * :setLineEdit( oQLineEdit ) -> NIL - * :setMaxCount( nMax ) -> NIL - * :setMaxVisibleItems( nMaxItems ) -> NIL - * :setMinimumContentsLength( nCharacters ) -> NIL - * :setModel( oQAbstractItemModel ) -> NIL - * :setModelColumn( nVisibleColumn ) -> NIL - * :setRootModelIndex( oQModelIndex ) -> NIL - * :setSizeAdjustPolicy( nPolicy ) -> NIL - * :setValidator( oQValidator ) -> NIL - * :setView( oQAbstractItemView ) -> NIL - * :showPopup() -> NIL - * :sizeAdjustPolicy() -> nSizeAdjustPolicy - * :validator() -> oQValidator - * :view() -> oQAbstractItemView - * :clear() -> NIL - * :clearEditText() -> NIL - * :setCurrentIndex( nIndex ) -> NIL - * :setEditText( cText ) -> 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/TQComboBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QComboBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt deleted file mode 100644 index 65c0c3a29d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcommandlinkbutton.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCommandLinkButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcommandlinkbutton.html - * $ONELINER$ - * Creates a new QCommandLinkButton object. - * $INHERITS$ - * QPushButton - * $SYNTAX$ - * QCommandLinkButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCommandLinkButton - * $METHODS$ - * :description() -> cQString - * :setDescription( cDescription ) -> 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/TQCommandLinkButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QCommandLinkButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt deleted file mode 100644 index 4203f03333..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCommonStyle() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcommonstyle.html - * $ONELINER$ - * Creates a new QCommonStyle object. - * $INHERITS$ - * QStyle - * $SYNTAX$ - * QCommonStyle( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCommonStyle - * $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/TQCommonStyle.prg - * C++ wrappers : contrib/hbqt/qtgui/QCommonStyle.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt deleted file mode 100644 index 7e91c6e5a5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcompleter.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCompleter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcompleter.html - * $ONELINER$ - * Creates a new QCompleter object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QCompleter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCompleter - * $METHODS$ - * :caseSensitivity() -> nQt_CaseSensitivity - * :completionColumn() -> nInt - * :completionCount() -> nInt - * :completionMode() -> nCompletionMode - * :completionModel() -> oQAbstractItemModel - * :completionPrefix() -> cQString - * :completionRole() -> nInt - * :currentCompletion() -> cQString - * :currentIndex() -> oQModelIndex - * :currentRow() -> nInt - * :model() -> oQAbstractItemModel - * :modelSorting() -> nModelSorting - * :pathFromIndex( oQModelIndex ) -> cQString - * :popup() -> oQAbstractItemView - * :setCaseSensitivity( nCaseSensitivity ) -> NIL - * :setCompletionColumn( nColumn ) -> NIL - * :setCompletionMode( nMode ) -> NIL - * :setCompletionRole( nRole ) -> NIL - * :setCurrentRow( nRow ) -> lBool - * :setModel( oQAbstractItemModel ) -> NIL - * :setModelSorting( nSorting ) -> NIL - * :setPopup( oQAbstractItemView ) -> NIL - * :setWidget( oQWidget ) -> NIL - * :splitPath( cPath ) -> oQStringList - * :widget() -> oQWidget - * :wrapAround() -> lBool - * :complete( oQRect ) -> NIL - * :setCompletionPrefix( cPrefix ) -> NIL - * :setWrapAround( lWrap ) -> 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/TQCompleter.prg - * C++ wrappers : contrib/hbqt/qtgui/QCompleter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt deleted file mode 100644 index 0378961048..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qconicalgradient.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QConicalGradient() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qconicalgradient.html - * $ONELINER$ - * Creates a new QConicalGradient object. - * $INHERITS$ - * QGradient - * $SYNTAX$ - * QConicalGradient( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QConicalGradient - * $METHODS$ - * :angle() -> nQreal - * :center() -> oQPointF - * :setAngle( nAngle ) -> NIL - * :setCenter( oQPointF ) -> NIL - * :setCenter( nX, nY ) -> 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/TQConicalGradient.prg - * C++ wrappers : contrib/hbqt/qtgui/QConicalGradient.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt deleted file mode 100644 index 9aa11d8ac1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcontextmenuevent.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QContextMenuEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcontextmenuevent.html - * $ONELINER$ - * Creates a new QContextMenuEvent object. - * $INHERITS$ - * QInputEvent - * $SYNTAX$ - * QContextMenuEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QContextMenuEvent - * $METHODS$ - * :globalPos() -> oQPoint - * :globalX() -> nInt - * :globalY() -> nInt - * :pos() -> oQPoint - * :reason() -> nReason - * :x() -> nInt - * :y() -> nInt - * - * $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/TQContextMenuEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QContextMenuEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt deleted file mode 100644 index 13d24bdb16..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qcursor.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QCursor() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qcursor.html - * $ONELINER$ - * Creates a new QCursor object. - * $INHERITS$ - * - * $SYNTAX$ - * QCursor( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QCursor - * $METHODS$ - * :bitmap() -> oQBitmap - * :hotSpot() -> oQPoint - * :mask() -> oQBitmap - * :pixmap() -> oQPixmap - * :setShape( nShape ) -> NIL - * :shape() -> nQt_CursorShape - * :pos() -> oQPoint - * :setPos( nX, nY ) -> NIL - * :setPos( oQPoint ) -> 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/TQCursor.prg - * C++ wrappers : contrib/hbqt/qtgui/QCursor.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdateedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdateedit.txt deleted file mode 100644 index 047f8f8007..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdateedit.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDateEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdateedit.html - * $ONELINER$ - * Creates a new QDateEdit object. - * $INHERITS$ - * QDateTimeEdit - * $SYNTAX$ - * QDateEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDateEdit - * $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/TQDateEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/QDateEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt deleted file mode 100644 index f6d089d107..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdatetimeedit.txt +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDateTimeEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdatetimeedit.html - * $ONELINER$ - * Creates a new QDateTimeEdit object. - * $INHERITS$ - * QAbstractSpinBox - * $SYNTAX$ - * QDateTimeEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDateTimeEdit - * $METHODS$ - * :calendarPopup() -> lBool - * :calendarWidget() -> oQCalendarWidget - * :clearMaximumDate() -> NIL - * :clearMaximumDateTime() -> NIL - * :clearMaximumTime() -> NIL - * :clearMinimumDate() -> NIL - * :clearMinimumDateTime() -> NIL - * :clearMinimumTime() -> NIL - * :currentSection() -> nSection - * :currentSectionIndex() -> nInt - * :date() -> oQDate - * :dateTime() -> oQDateTime - * :displayFormat() -> cQString - * :displayedSections() -> nSections - * :maximumDate() -> oQDate - * :maximumDateTime() -> oQDateTime - * :maximumTime() -> oQTime - * :minimumDate() -> oQDate - * :minimumDateTime() -> oQDateTime - * :minimumTime() -> oQTime - * :sectionAt( nIndex ) -> nSection - * :sectionCount() -> nInt - * :sectionText( nSection ) -> cQString - * :setCalendarPopup( lEnable ) -> NIL - * :setCalendarWidget( oQCalendarWidget ) -> NIL - * :setCurrentSection( nSection ) -> NIL - * :setCurrentSectionIndex( nIndex ) -> NIL - * :setDateRange( oQDate, oQDate ) -> NIL - * :setDateTimeRange( oQDateTime, oQDateTime ) -> NIL - * :setDisplayFormat( cFormat ) -> NIL - * :setMaximumDate( oQDate ) -> NIL - * :setMaximumDateTime( oQDateTime ) -> NIL - * :setMaximumTime( oQTime ) -> NIL - * :setMinimumDate( oQDate ) -> NIL - * :setMinimumDateTime( oQDateTime ) -> NIL - * :setMinimumTime( oQTime ) -> NIL - * :setSelectedSection( nSection ) -> NIL - * :setTimeRange( oQTime, oQTime ) -> NIL - * :setTimeSpec( nSpec ) -> NIL - * :time() -> oQTime - * :timeSpec() -> nQt_TimeSpec - * :setDate( oQDate ) -> NIL - * :setDateTime( oQDateTime ) -> NIL - * :setTime( oQTime ) -> 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/TQDateTimeEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/QDateTimeEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt deleted file mode 100644 index d9540115d3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopservices.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $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( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesktopServices - * $METHODS$ - * :displayName( nType ) -> cQString - * :openUrl( oQUrl ) -> lBool - * :setUrlHandler( cScheme, oQObject, cMethod ) -> 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 - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt deleted file mode 100644 index 3f242b9a47..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdesktopwidget.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDesktopWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdesktopwidget.html - * $ONELINER$ - * Creates a new QDesktopWidget object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDesktopWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDesktopWidget - * $METHODS$ - * :availableGeometry( nScreen ) -> oQRect - * :availableGeometry( oQWidget ) -> oQRect - * :availableGeometry( oQPoint ) -> oQRect - * :isVirtualDesktop() -> lBool - * :numScreens() -> nInt - * :primaryScreen() -> nInt - * :screen( nScreen ) -> oQWidget - * :screenGeometry( nScreen ) -> oQRect - * :screenGeometry( oQWidget ) -> oQRect - * :screenGeometry( oQPoint ) -> oQRect - * :screenNumber( oQWidget ) -> nInt - * :screenNumber( oQPoint ) -> nInt - * - * $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/TQDesktopWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QDesktopWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt deleted file mode 100644 index 34ab2a0168..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdial.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDial() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdial.html - * $ONELINER$ - * Creates a new QDial object. - * $INHERITS$ - * QAbstractSlider - * $SYNTAX$ - * QDial( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDial - * $METHODS$ - * :notchSize() -> nInt - * :notchTarget() -> nQreal - * :notchesVisible() -> lBool - * :setNotchTarget( nTarget ) -> NIL - * :wrapping() -> lBool - * :setNotchesVisible( lVisible ) -> NIL - * :setWrapping( lOn ) -> 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/TQDial.prg - * C++ wrappers : contrib/hbqt/qtgui/QDial.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt deleted file mode 100644 index 42eeb6b5ea..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdialog.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdialog.html - * $ONELINER$ - * Creates a new QDialog object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDialog - * $METHODS$ - * :isSizeGripEnabled() -> lBool - * :result() -> nInt - * :setModal( lModal ) -> NIL - * :setResult( nI ) -> NIL - * :setSizeGripEnabled( lBool ) -> NIL - * :accept() -> NIL - * :done( nR ) -> NIL - * :exec() -> nInt - * :open() -> NIL - * :reject() -> 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/TQDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt deleted file mode 100644 index c8bf88384a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdirmodel.txt +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDirModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdirmodel.html - * $ONELINER$ - * Creates a new QDirModel object. - * $INHERITS$ - * QAbstractItemModel - * $SYNTAX$ - * QDirModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDirModel - * $METHODS$ - * :columnCount( oQModelIndex ) -> nInt - * :data( oQModelIndex, nRole ) -> oQVariant - * :dropMimeData( oQMimeData, nAction, nRow, nColumn, oQModelIndex ) -> lBool - * :fileIcon( oQModelIndex ) -> oQIcon - * :fileInfo( oQModelIndex ) -> oQFileInfo - * :fileName( oQModelIndex ) -> cQString - * :filePath( oQModelIndex ) -> cQString - * :filter() -> nQDir_Filters - * :flags( oQModelIndex ) -> nQt_ItemFlags - * :hasChildren( oQModelIndex ) -> lBool - * :headerData( nSection, nOrientation, nRole ) -> oQVariant - * :iconProvider() -> oQFileIconProvider - * :index( nRow, nColumn, oQModelIndex ) -> oQModelIndex - * :index( cPath, nColumn ) -> oQModelIndex - * :isDir( oQModelIndex ) -> lBool - * :isReadOnly() -> lBool - * :lazyChildCount() -> lBool - * :mimeTypes() -> oQStringList - * :mkdir( oQModelIndex, cName ) -> oQModelIndex - * :nameFilters() -> oQStringList - * :parent( oQModelIndex ) -> oQModelIndex - * :remove( oQModelIndex ) -> lBool - * :resolveSymlinks() -> lBool - * :rmdir( oQModelIndex ) -> lBool - * :rowCount( oQModelIndex ) -> nInt - * :setData( oQModelIndex, oQVariant, nRole ) -> lBool - * :setFilter( nFilters ) -> NIL - * :setIconProvider( oQFileIconProvider ) -> NIL - * :setLazyChildCount( lEnable ) -> NIL - * :setNameFilters( oQStringList ) -> NIL - * :setReadOnly( lEnable ) -> NIL - * :setResolveSymlinks( lEnable ) -> NIL - * :setSorting( nSort ) -> NIL - * :sort( nColumn, nOrder ) -> NIL - * :sorting() -> nQDir_SortFlags - * :supportedDropActions() -> nQt_DropActions - * :refresh( oQModelIndex ) -> 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/TQDirModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QDirModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt deleted file mode 100644 index 0fabc21f5f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdockwidget.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDockWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdockwidget.html - * $ONELINER$ - * Creates a new QDockWidget object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QDockWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDockWidget - * $METHODS$ - * :allowedAreas() -> nQt_DockWidgetAreas - * :features() -> nDockWidgetFeatures - * :isAreaAllowed( nArea ) -> lBool - * :isFloating() -> lBool - * :setAllowedAreas( nAreas ) -> NIL - * :setFeatures( nFeatures ) -> NIL - * :setFloating( lFloating ) -> NIL - * :setTitleBarWidget( oQWidget ) -> NIL - * :setWidget( oQWidget ) -> NIL - * :titleBarWidget() -> oQWidget - * :toggleViewAction() -> oQAction - * :widget() -> oQWidget - * - * $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/TQDockWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QDockWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt deleted file mode 100644 index 1ceba029f8..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublespinbox.txt +++ /dev/null @@ -1,66 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDoubleSpinBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdoublespinbox.html - * $ONELINER$ - * Creates a new QDoubleSpinBox object. - * $INHERITS$ - * QAbstractSpinBox - * $SYNTAX$ - * QDoubleSpinBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDoubleSpinBox - * $METHODS$ - * :cleanText() -> cQString - * :decimals() -> nInt - * :maximum() -> nDouble - * :minimum() -> nDouble - * :prefix() -> cQString - * :setDecimals( nPrec ) -> NIL - * :setMaximum( nMax ) -> NIL - * :setMinimum( nMin ) -> NIL - * :setPrefix( cPrefix ) -> NIL - * :setRange( nMinimum, nMaximum ) -> NIL - * :setSingleStep( nVal ) -> NIL - * :setSuffix( cSuffix ) -> NIL - * :singleStep() -> nDouble - * :suffix() -> cQString - * :textFromValue( nValue ) -> cQString - * :value() -> nDouble - * :valueFromText( cText ) -> nDouble - * :setValue( nVal ) -> 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/TQDoubleSpinBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QDoubleSpinBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt deleted file mode 100644 index a4a3d6a412..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDoubleValidator() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdoublevalidator.html - * $ONELINER$ - * Creates a new QDoubleValidator object. - * $INHERITS$ - * QValidator - * $SYNTAX$ - * QDoubleValidator( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDoubleValidator - * $METHODS$ - * :bottom() -> nDouble - * :decimals() -> nInt - * :notation() -> nNotation - * :setBottom( nDouble ) -> NIL - * :setDecimals( nInt ) -> NIL - * :setNotation( nNotation ) -> NIL - * :setRange( nMinimum, nMaximum, nDecimals ) -> NIL - * :setTop( nDouble ) -> NIL - * :top() -> nDouble - * - * $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/TQDoubleValidator.prg - * C++ wrappers : contrib/hbqt/qtgui/QDoubleValidator.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt deleted file mode 100644 index c2b4f78684..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdrag.txt +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDrag() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdrag.html - * $ONELINER$ - * Creates a new QDrag object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QDrag( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDrag - * $METHODS$ - * :exec( nSupportedActions ) -> nQt_DropAction - * :exec( nSupportedActions, nDefaultDropAction ) -> nQt_DropAction - * :hotSpot() -> oQPoint - * :mimeData() -> oQMimeData - * :pixmap() -> oQPixmap - * :setDragCursor( oQPixmap, nAction ) -> NIL - * :setHotSpot( oQPoint ) -> NIL - * :setMimeData( oQMimeData ) -> NIL - * :setPixmap( oQPixmap ) -> NIL - * :source() -> oQWidget - * :target() -> oQWidget - * - * $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/TQDrag.prg - * C++ wrappers : contrib/hbqt/qtgui/QDrag.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt deleted file mode 100644 index 754222088a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDragEnterEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdragenterevent.html - * $ONELINER$ - * Creates a new QDragEnterEvent object. - * $INHERITS$ - * QDragMoveEvent - * $SYNTAX$ - * QDragEnterEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDragEnterEvent - * $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/TQDragEnterEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QDragEnterEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt deleted file mode 100644 index 372dc35ec3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDragLeaveEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdragleaveevent.html - * $ONELINER$ - * Creates a new QDragLeaveEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QDragLeaveEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDragLeaveEvent - * $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/TQDragLeaveEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QDragLeaveEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt deleted file mode 100644 index 9c8d2fa406..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdragmoveevent.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDragMoveEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdragmoveevent.html - * $ONELINER$ - * Creates a new QDragMoveEvent object. - * $INHERITS$ - * QDropEvent - * $SYNTAX$ - * QDragMoveEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDragMoveEvent - * $METHODS$ - * :accept( oQRect ) -> NIL - * :accept() -> NIL - * :answerRect() -> oQRect - * :ignore( oQRect ) -> NIL - * :ignore() -> 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/TQDragMoveEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QDragMoveEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt deleted file mode 100644 index 9e7973c880..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qdropevent.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QDropEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qdropevent.html - * $ONELINER$ - * Creates a new QDropEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QDropEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QDropEvent - * $METHODS$ - * :acceptProposedAction() -> NIL - * :dropAction() -> nQt_DropAction - * :keyboardModifiers() -> nQt_KeyboardModifiers - * :mimeData() -> oQMimeData - * :mouseButtons() -> nQt_MouseButtons - * :pos() -> oQPoint - * :possibleActions() -> nQt_DropActions - * :proposedAction() -> nQt_DropAction - * :setDropAction( nAction ) -> NIL - * :source() -> oQWidget - * - * $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/TQDropEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QDropEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt deleted file mode 100644 index 81114fb6f6..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qerrormessage.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QErrorMessage() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qerrormessage.html - * $ONELINER$ - * Creates a new QErrorMessage object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QErrorMessage( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QErrorMessage - * $METHODS$ - * :showMessage( cMessage ) -> NIL - * :showMessage( cMessage, cType ) -> 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/TQErrorMessage.prg - * C++ wrappers : contrib/hbqt/qtgui/QErrorMessage.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt deleted file mode 100644 index cdb84b0d91..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfiledialog.txt +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFileDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfiledialog.html - * $ONELINER$ - * Creates a new QFileDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QFileDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFileDialog - * $METHODS$ - * :acceptMode() -> nAcceptMode - * :confirmOverwrite() -> lBool - * :defaultSuffix() -> cQString - * :directory() -> oQDir - * :fileMode() -> nFileMode - * :filter() -> nQDir_Filters - * :history() -> oQStringList - * :iconProvider() -> oQFileIconProvider - * :isNameFilterDetailsVisible() -> lBool - * :isReadOnly() -> lBool - * :itemDelegate() -> oQAbstractItemDelegate - * :labelText( nLabel ) -> cQString - * :nameFilters() -> oQStringList - * :options() -> nOptions - * :proxyModel() -> oQAbstractProxyModel - * :resolveSymlinks() -> lBool - * :restoreState( oQByteArray ) -> lBool - * :saveState() -> oQByteArray - * :selectFile( cFilename ) -> NIL - * :selectNameFilter( cFilter ) -> NIL - * :selectedFiles() -> oQStringList - * :selectedNameFilter() -> cQString - * :setAcceptMode( nMode ) -> NIL - * :setConfirmOverwrite( lEnabled ) -> NIL - * :setDefaultSuffix( cSuffix ) -> NIL - * :setDirectory( cDirectory ) -> NIL - * :setDirectory( oQDir ) -> NIL - * :setFileMode( nMode ) -> NIL - * :setFilter( nFilters ) -> NIL - * :setHistory( oQStringList ) -> NIL - * :setIconProvider( oQFileIconProvider ) -> NIL - * :setItemDelegate( oQAbstractItemDelegate ) -> NIL - * :setLabelText( nLabel, cText ) -> NIL - * :setNameFilter( cFilter ) -> NIL - * :setNameFilterDetailsVisible( lEnabled ) -> NIL - * :setNameFilters( oQStringList ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :setProxyModel( oQAbstractProxyModel ) -> NIL - * :setReadOnly( lEnabled ) -> NIL - * :setResolveSymlinks( lEnabled ) -> NIL - * :setViewMode( nMode ) -> NIL - * :sidebarUrls() -> oQList_QUrl> - * :testOption( nOption ) -> lBool - * :viewMode() -> nViewMode - * :getExistingDirectory( oQWidget, cCaption, cDir, nOptions ) -> cQString - * - * $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/TQFileDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QFileDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt deleted file mode 100644 index 349c3f62d1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfileiconprovider.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFileIconProvider() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfileiconprovider.html - * $ONELINER$ - * Creates a new QFileIconProvider object. - * $INHERITS$ - * - * $SYNTAX$ - * QFileIconProvider( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFileIconProvider - * $METHODS$ - * :icon( nType ) -> oQIcon - * :icon( oQFileInfo ) -> oQIcon - * :type( oQFileInfo ) -> cQString - * - * $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/TQFileIconProvider.prg - * C++ wrappers : contrib/hbqt/qtgui/QFileIconProvider.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt deleted file mode 100644 index 51bc986807..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfilesystemmodel.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFileSystemModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfilesystemmodel.html - * $ONELINER$ - * Creates a new QFileSystemModel object. - * $INHERITS$ - * QAbstractItemModel - * $SYNTAX$ - * QFileSystemModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFileSystemModel - * $METHODS$ - * :dropMimeData( oQMimeData, nAction, nRow, nColumn, oQModelIndex ) -> lBool - * :fileIcon( oQModelIndex ) -> oQIcon - * :fileInfo( oQModelIndex ) -> oQFileInfo - * :fileName( oQModelIndex ) -> cQString - * :filePath( oQModelIndex ) -> cQString - * :filter() -> nQDir_Filters - * :index( cPath, nColumn ) -> oQModelIndex - * :isDir( oQModelIndex ) -> lBool - * :isReadOnly() -> lBool - * :lastModified( oQModelIndex ) -> oQDateTime - * :mimeTypes() -> oQStringList - * :mkdir( oQModelIndex, cName ) -> oQModelIndex - * :myComputer( nRole ) -> oQVariant - * :nameFilterDisables() -> lBool - * :nameFilters() -> oQStringList - * :permissions( oQModelIndex ) -> nQFile_Permissions - * :remove( oQModelIndex ) -> lBool - * :resolveSymlinks() -> lBool - * :rmdir( oQModelIndex ) -> lBool - * :rootDirectory() -> oQDir - * :rootPath() -> cQString - * :setFilter( nFilters ) -> NIL - * :setNameFilterDisables( lEnable ) -> NIL - * :setNameFilters( oQStringList ) -> NIL - * :setReadOnly( lEnable ) -> NIL - * :setResolveSymlinks( lEnable ) -> NIL - * :setRootPath( cNewPath ) -> oQModelIndex - * :size( oQModelIndex ) -> nQint64 - * :type( oQModelIndex ) -> cQString - * - * $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/TQFileSystemModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QFileSystemModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt deleted file mode 100644 index 9fa9974cca..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusevent.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFocusEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfocusevent.html - * $ONELINER$ - * Creates a new QFocusEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QFocusEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFocusEvent - * $METHODS$ - * :gotFocus() -> lBool - * :lostFocus() -> lBool - * :reason() -> nQt_FocusReason - * - * $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/TQFocusEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QFocusEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt deleted file mode 100644 index 6246ea94b3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfocusframe.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFocusFrame() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfocusframe.html - * $ONELINER$ - * Creates a new QFocusFrame object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QFocusFrame( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFocusFrame - * $METHODS$ - * :setWidget( oQWidget ) -> NIL - * :widget() -> oQWidget - * - * $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/TQFocusFrame.prg - * C++ wrappers : contrib/hbqt/qtgui/QFocusFrame.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt deleted file mode 100644 index c324084072..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfont.txt +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFont() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfont.html - * $ONELINER$ - * Creates a new QFont object. - * $INHERITS$ - * - * $SYNTAX$ - * QFont( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFont - * $METHODS$ - * :bold() -> lBool - * :capitalization() -> nCapitalization - * :defaultFamily() -> cQString - * :exactMatch() -> lBool - * :family() -> cQString - * :fixedPitch() -> lBool - * :fromString( cDescrip ) -> lBool - * :italic() -> lBool - * :kerning() -> lBool - * :key() -> cQString - * :lastResortFamily() -> cQString - * :lastResortFont() -> cQString - * :letterSpacing() -> nQreal - * :letterSpacingType() -> nSpacingType - * :overline() -> lBool - * :pixelSize() -> nInt - * :pointSize() -> nInt - * :pointSizeF() -> nQreal - * :rawMode() -> lBool - * :rawName() -> cQString - * :setBold( lEnable ) -> NIL - * :setCapitalization( nCaps ) -> NIL - * :setFamily( cFamily ) -> NIL - * :setFixedPitch( lEnable ) -> NIL - * :setItalic( lEnable ) -> NIL - * :setKerning( lEnable ) -> NIL - * :setLetterSpacing( nType, nSpacing ) -> NIL - * :setOverline( lEnable ) -> NIL - * :setPixelSize( nPixelSize ) -> NIL - * :setPointSize( nPointSize ) -> NIL - * :setPointSizeF( nPointSize ) -> NIL - * :setRawMode( lEnable ) -> NIL - * :setRawName( cName ) -> NIL - * :setStretch( nFactor ) -> NIL - * :setStrikeOut( lEnable ) -> NIL - * :setStyle( nStyle ) -> NIL - * :setStyleHint( nHint, nStrategy ) -> NIL - * :setStyleStrategy( nS ) -> NIL - * :setUnderline( lEnable ) -> NIL - * :setWeight( nWeight ) -> NIL - * :setWordSpacing( nSpacing ) -> NIL - * :stretch() -> nInt - * :strikeOut() -> lBool - * :style() -> nStyle - * :styleHint() -> nStyleHint - * :styleStrategy() -> nStyleStrategy - * :toString() -> cQString - * :underline() -> lBool - * :weight() -> nInt - * :wordSpacing() -> nQreal - * :cleanup() -> NIL - * :initialize() -> NIL - * :insertSubstitution( cFamilyName, cSubstituteName ) -> NIL - * :insertSubstitutions( cFamilyName, oQStringList ) -> NIL - * :removeSubstitution( cFamilyName ) -> NIL - * :substitute( cFamilyName ) -> cQString - * :substitutes( cFamilyName ) -> oQStringList - * :substitutions() -> oQStringList - * - * $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/TQFont.prg - * C++ wrappers : contrib/hbqt/qtgui/QFont.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt deleted file mode 100644 index e3bcf00d43..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontcombobox.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFontComboBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfontcombobox.html - * $ONELINER$ - * Creates a new QFontComboBox object. - * $INHERITS$ - * QComboBox - * $SYNTAX$ - * QFontComboBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFontComboBox - * $METHODS$ - * :currentFont() -> oQFont - * :fontFilters() -> nFontFilters - * :setFontFilters( nFilters ) -> NIL - * :setWritingSystem( nScript ) -> NIL - * :writingSystem() -> nQFontDatabase_WritingSystem - * :setCurrentFont( oQFont ) -> 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/TQFontComboBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QFontComboBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt deleted file mode 100644 index 784f2d9d32..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdatabase.txt +++ /dev/null @@ -1,71 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFontDatabase() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfontdatabase.html - * $ONELINER$ - * Creates a new QFontDatabase object. - * $INHERITS$ - * - * $SYNTAX$ - * QFontDatabase( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFontDatabase - * $METHODS$ - * :bold( cFamily, cStyle ) -> lBool - * :families( nWritingSystem ) -> oQStringList - * :font( cFamily, cStyle, nPointSize ) -> oQFont - * :isBitmapScalable( cFamily, cStyle ) -> lBool - * :isFixedPitch( cFamily, cStyle ) -> lBool - * :isScalable( cFamily, cStyle ) -> lBool - * :isSmoothlyScalable( cFamily, cStyle ) -> lBool - * :italic( cFamily, cStyle ) -> lBool - * :pointSizes( cFamily, cStyle ) -> oQList_int> - * :smoothSizes( cFamily, cStyle ) -> oQList_int> - * :styleString( oQFont ) -> cQString - * :styleString( oQFontInfo ) -> cQString - * :styles( cFamily ) -> oQStringList - * :weight( cFamily, cStyle ) -> nInt - * :addApplicationFont( cFileName ) -> nInt - * :addApplicationFontFromData( oQByteArray ) -> nInt - * :applicationFontFamilies( nId ) -> oQStringList - * :removeAllApplicationFonts() -> lBool - * :removeApplicationFont( nId ) -> lBool - * :standardSizes() -> oQList_int> - * :supportsThreadedFontRendering() -> lBool - * :writingSystemName( nWritingSystem ) -> cQString - * :writingSystemSample( nWritingSystem ) -> cQString - * - * $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/TQFontDatabase.prg - * C++ wrappers : contrib/hbqt/qtgui/QFontDatabase.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt deleted file mode 100644 index 4acb7115ac..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontdialog.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFontDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfontdialog.html - * $ONELINER$ - * Creates a new QFontDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QFontDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFontDialog - * $METHODS$ - * :currentFont() -> oQFont - * :options() -> nFontDialogOptions - * :selectedFont() -> oQFont - * :setCurrentFont( oQFont ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :testOption( nOption ) -> lBool - * :getFont( @lOk, oQFont, oQWidget, cTitle, nOptions ) -> oQFont - * :getFont( @lOk, oQFont, oQWidget, cName ) -> oQFont - * :getFont( @lOk, oQFont, oQWidget, cTitle ) -> oQFont - * :getFont( @lOk, oQFont, oQWidget ) -> oQFont - * :getFont( @lOk, oQWidget ) -> oQFont - * - * $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/TQFontDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QFontDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt deleted file mode 100644 index 1bb71f543c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontinfo.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFontInfo() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfontinfo.html - * $ONELINER$ - * Creates a new QFontInfo object. - * $INHERITS$ - * - * $SYNTAX$ - * QFontInfo( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFontInfo - * $METHODS$ - * :bold() -> lBool - * :exactMatch() -> lBool - * :family() -> cQString - * :fixedPitch() -> lBool - * :italic() -> lBool - * :pixelSize() -> nInt - * :pointSize() -> nInt - * :pointSizeF() -> nQreal - * :rawMode() -> lBool - * :style() -> nQFont_Style - * :styleHint() -> nQFont_StyleHint - * :weight() -> nInt - * - * $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/TQFontInfo.prg - * C++ wrappers : contrib/hbqt/qtgui/QFontInfo.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt deleted file mode 100644 index ad6cd7e3d2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetrics.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFontMetrics() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfontmetrics.html - * $ONELINER$ - * Creates a new QFontMetrics object. - * $INHERITS$ - * - * $SYNTAX$ - * QFontMetrics( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFontMetrics - * $METHODS$ - * :ascent() -> nInt - * :averageCharWidth() -> nInt - * :boundingRect( oQChar ) -> oQRect - * :boundingRect( cText ) -> oQRect - * :boundingRect( nX, nY, nWidth, nHeight, nFlags, cText, nTabStops, @nTabArray ) -> oQRect - * :boundingRect( oQRect, nFlags, cText, nTabStops, @nTabArray ) -> oQRect - * :descent() -> nInt - * :elidedText( cText, nMode, nWidth, nFlags ) -> cQString - * :height() -> nInt - * :inFont( oQChar ) -> lBool - * :leading() -> nInt - * :leftBearing( oQChar ) -> nInt - * :lineSpacing() -> nInt - * :lineWidth() -> nInt - * :maxWidth() -> nInt - * :minLeftBearing() -> nInt - * :minRightBearing() -> nInt - * :overlinePos() -> nInt - * :rightBearing( oQChar ) -> nInt - * :size( nFlags, cText, nTabStops, @nTabArray ) -> oQSize - * :strikeOutPos() -> nInt - * :tightBoundingRect( cText ) -> oQRect - * :underlinePos() -> nInt - * :width( cText, nLen ) -> nInt - * :width( oQChar ) -> nInt - * :xHeight() -> nInt - * - * $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/TQFontMetrics.prg - * C++ wrappers : contrib/hbqt/qtgui/QFontMetrics.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt deleted file mode 100644 index 3312f76064..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qfontmetricsf.txt +++ /dev/null @@ -1,73 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFontMetricsF() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qfontmetricsf.html - * $ONELINER$ - * Creates a new QFontMetricsF object. - * $INHERITS$ - * - * $SYNTAX$ - * QFontMetricsF( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFontMetricsF - * $METHODS$ - * :ascent() -> nQreal - * :averageCharWidth() -> nQreal - * :boundingRect( cText ) -> oQRectF - * :boundingRect( oQChar ) -> oQRectF - * :boundingRect( oQRectF, nFlags, cText, nTabStops, @nTabArray ) -> oQRectF - * :descent() -> nQreal - * :elidedText( cText, nMode, nWidth, nFlags ) -> cQString - * :height() -> nQreal - * :inFont( oQChar ) -> lBool - * :leading() -> nQreal - * :leftBearing( oQChar ) -> nQreal - * :lineSpacing() -> nQreal - * :lineWidth() -> nQreal - * :maxWidth() -> nQreal - * :minLeftBearing() -> nQreal - * :minRightBearing() -> nQreal - * :overlinePos() -> nQreal - * :rightBearing( oQChar ) -> nQreal - * :size( nFlags, cText, nTabStops, @nTabArray ) -> oQSizeF - * :strikeOutPos() -> nQreal - * :tightBoundingRect( cText ) -> oQRectF - * :underlinePos() -> nQreal - * :width( cText ) -> nQreal - * :width( oQChar ) -> nQreal - * :xHeight() -> nQreal - * - * $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/TQFontMetricsF.prg - * C++ wrappers : contrib/hbqt/qtgui/QFontMetricsF.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt deleted file mode 100644 index 07a8b00e5e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qformlayout.txt +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFormLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qformlayout.html - * $ONELINER$ - * Creates a new QFormLayout object. - * $INHERITS$ - * QLayout - * $SYNTAX$ - * QFormLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFormLayout - * $METHODS$ - * :addRow( oQWidget, oQWidget ) -> NIL - * :addRow( oQWidget ) -> NIL - * :addRow( cLabelText, oQWidget ) -> NIL - * :fieldGrowthPolicy() -> nFieldGrowthPolicy - * :formAlignment() -> nQt_Alignment - * :getItemPosition( nIndex, @nRowPtr, @nRolePtr ) -> NIL - * :getLayoutPosition( oQLayout, @nRowPtr, @nRolePtr ) -> NIL - * :getWidgetPosition( oQWidget, @nRowPtr, @nRolePtr ) -> NIL - * :horizontalSpacing() -> nInt - * :insertRow( nRow, oQWidget, oQWidget ) -> NIL - * :insertRow( nRow, oQWidget, oQLayout ) -> NIL - * :insertRow( nRow, oQWidget ) -> NIL - * :insertRow( nRow, cLabelText, oQWidget ) -> NIL - * :insertRow( nRow, cLabelText, oQLayout ) -> NIL - * :insertRow( nRow, oQLayout ) -> NIL - * :itemAt( nRow, nRole ) -> oQLayoutItem - * :labelAlignment() -> nQt_Alignment - * :labelForField( oQWidget ) -> oQWidget - * :labelForField( oQLayout ) -> oQWidget - * :rowCount() -> nInt - * :rowWrapPolicy() -> nRowWrapPolicy - * :setFieldGrowthPolicy( nPolicy ) -> NIL - * :setFormAlignment( nAlignment ) -> NIL - * :setHorizontalSpacing( nSpacing ) -> NIL - * :setItem( nRow, nRole, oQLayoutItem ) -> NIL - * :setLabelAlignment( nAlignment ) -> NIL - * :setLayout( nRow, nRole, oQLayout ) -> NIL - * :setRowWrapPolicy( nPolicy ) -> NIL - * :setSpacing( nSpacing ) -> NIL - * :setVerticalSpacing( nSpacing ) -> NIL - * :setWidget( nRow, nRole, oQWidget ) -> NIL - * :spacing() -> nInt - * :verticalSpacing() -> nInt - * - * $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/TQFormLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QFormLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt deleted file mode 100644 index 34325e07c2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qframe.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFrame() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qframe.html - * $ONELINER$ - * Creates a new QFrame object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QFrame( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFrame - * $METHODS$ - * :frameRect() -> oQRect - * :frameShadow() -> nShadow - * :frameShape() -> nShape - * :frameStyle() -> nInt - * :frameWidth() -> nInt - * :lineWidth() -> nInt - * :midLineWidth() -> nInt - * :setFrameRect( oQRect ) -> NIL - * :setFrameShadow( nShadow ) -> NIL - * :setFrameShape( nShape ) -> NIL - * :setFrameStyle( nStyle ) -> NIL - * :setLineWidth( nInt ) -> NIL - * :setMidLineWidth( nInt ) -> 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/TQFrame.prg - * C++ wrappers : contrib/hbqt/qtgui/QFrame.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt deleted file mode 100644 index 409e7d57cd..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgradient.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGradient() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgradient.html - * $ONELINER$ - * Creates a new QGradient object. - * $INHERITS$ - * - * $SYNTAX$ - * QGradient( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGradient - * $METHODS$ - * :coordinateMode() -> nCoordinateMode - * :setColorAt( nPosition, oQColor ) -> NIL - * :setCoordinateMode( nMode ) -> NIL - * :setSpread( nMethod ) -> NIL - * :spread() -> nSpread - * :type() -> nType - * - * $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/TQGradient.prg - * C++ wrappers : contrib/hbqt/qtgui/QGradient.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt deleted file mode 100644 index 63d28a5efc..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsellipseitem.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsEllipseItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsellipseitem.html - * $ONELINER$ - * Creates a new QGraphicsEllipseItem object. - * $INHERITS$ - * QAbstractGraphicsShapeItem - * $SYNTAX$ - * QGraphicsEllipseItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsEllipseItem - * $METHODS$ - * :rect() -> oQRectF - * :setRect( oQRectF ) -> NIL - * :setRect( nX, nY, nWidth, nHeight ) -> NIL - * :setSpanAngle( nAngle ) -> NIL - * :setStartAngle( nAngle ) -> NIL - * :spanAngle() -> nInt - * :startAngle() -> nInt - * - * $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/TQGraphicsEllipseItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsEllipseItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt deleted file mode 100644 index d1ba6ad786..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsgridlayout.txt +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsGridLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsgridlayout.html - * $ONELINER$ - * Creates a new QGraphicsGridLayout object. - * $INHERITS$ - * QGraphicsLayout - * $SYNTAX$ - * QGraphicsGridLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsGridLayout - * $METHODS$ - * :addItem( oQGraphicsLayoutItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - * :addItem( oQGraphicsLayoutItem, nRow, nColumn, nAlignment ) -> NIL - * :alignment( oQGraphicsLayoutItem ) -> nQt_Alignment - * :columnAlignment( nColumn ) -> nQt_Alignment - * :columnCount() -> nInt - * :columnMaximumWidth( nColumn ) -> nQreal - * :columnMinimumWidth( nColumn ) -> nQreal - * :columnPreferredWidth( nColumn ) -> nQreal - * :columnSpacing( nColumn ) -> nQreal - * :columnStretchFactor( nColumn ) -> nInt - * :count() -> nInt - * :horizontalSpacing() -> nQreal - * :itemAt( nRow, nColumn ) -> oQGraphicsLayoutItem - * :itemAt( nIndex ) -> oQGraphicsLayoutItem - * :removeAt( nIndex ) -> NIL - * :rowAlignment( nRow ) -> nQt_Alignment - * :rowCount() -> nInt - * :rowMaximumHeight( nRow ) -> nQreal - * :rowMinimumHeight( nRow ) -> nQreal - * :rowPreferredHeight( nRow ) -> nQreal - * :rowSpacing( nRow ) -> nQreal - * :rowStretchFactor( nRow ) -> nInt - * :setAlignment( oQGraphicsLayoutItem, nAlignment ) -> NIL - * :setColumnAlignment( nColumn, nAlignment ) -> NIL - * :setColumnFixedWidth( nColumn, nWidth ) -> NIL - * :setColumnMaximumWidth( nColumn, nWidth ) -> NIL - * :setColumnMinimumWidth( nColumn, nWidth ) -> NIL - * :setColumnPreferredWidth( nColumn, nWidth ) -> NIL - * :setColumnSpacing( nColumn, nSpacing ) -> NIL - * :setColumnStretchFactor( nColumn, nStretch ) -> NIL - * :setGeometry( oQRectF ) -> NIL - * :setHorizontalSpacing( nSpacing ) -> NIL - * :setRowAlignment( nRow, nAlignment ) -> NIL - * :setRowFixedHeight( nRow, nHeight ) -> NIL - * :setRowMaximumHeight( nRow, nHeight ) -> NIL - * :setRowMinimumHeight( nRow, nHeight ) -> NIL - * :setRowPreferredHeight( nRow, nHeight ) -> NIL - * :setRowSpacing( nRow, nSpacing ) -> NIL - * :setRowStretchFactor( nRow, nStretch ) -> NIL - * :setSpacing( nSpacing ) -> NIL - * :setVerticalSpacing( nSpacing ) -> NIL - * :verticalSpacing() -> nQreal - * - * $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/TQGraphicsGridLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsGridLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt deleted file mode 100644 index e3ff9b047d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitem.txt +++ /dev/null @@ -1,198 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsitem.html - * $ONELINER$ - * Creates a new QGraphicsItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QGraphicsItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsItem - * $METHODS$ - * :acceptDrops() -> lBool - * :acceptHoverEvents() -> lBool - * :acceptedMouseButtons() -> nQt_MouseButtons - * :advance( nPhase ) -> NIL - * :boundingRect() -> oQRectF - * :boundingRegion( oQTransform ) -> oQRegion - * :boundingRegionGranularity() -> nQreal - * :cacheMode() -> nCacheMode - * :childItems() -> oQList_QGraphicsItem - * :childrenBoundingRect() -> oQRectF - * :clearFocus() -> NIL - * :clipPath() -> oQPainterPath - * :collidesWithItem( oQGraphicsItem, nMode ) -> lBool - * :collidesWithPath( oQPainterPath, nMode ) -> lBool - * :collidingItems( nMode ) -> oQList_QGraphicsItem - * :commonAncestorItem( oQGraphicsItem ) -> oQGraphicsItem - * :contains( oQPointF ) -> lBool - * :cursor() -> oQCursor - * :data( nKey ) -> oQVariant - * :deviceTransform( oQTransform ) -> oQTransform - * :effectiveOpacity() -> nQreal - * :ensureVisible( oQRectF, nXmargin, nYmargin ) -> NIL - * :ensureVisible( nX, nY, nW, nH, nXmargin, nYmargin ) -> NIL - * :flags() -> nGraphicsItemFlags - * :grabKeyboard() -> NIL - * :grabMouse() -> NIL - * :group() -> oQGraphicsItemGroup - * :handlesChildEvents() -> lBool - * :hasCursor() -> lBool - * :hasFocus() -> lBool - * :hide() -> NIL - * :installSceneEventFilter( oQGraphicsItem ) -> NIL - * :isAncestorOf( oQGraphicsItem ) -> lBool - * :isClipped() -> lBool - * :isEnabled() -> lBool - * :isObscured() -> lBool - * :isObscured( nX, nY, nW, nH ) -> lBool - * :isObscured( oQRectF ) -> lBool - * :isObscuredBy( oQGraphicsItem ) -> lBool - * :isSelected() -> lBool - * :isUnderMouse() -> lBool - * :isVisible() -> lBool - * :isVisibleTo( oQGraphicsItem ) -> lBool - * :isWidget() -> lBool - * :isWindow() -> lBool - * :itemTransform( oQGraphicsItem, @lOk ) -> oQTransform - * :mapFromItem( oQGraphicsItem, oQPointF ) -> oQPointF - * :mapFromItem( oQGraphicsItem, oQRectF ) -> oQPolygonF - * :mapFromItem( oQGraphicsItem, oQPolygonF ) -> oQPolygonF - * :mapFromItem( oQGraphicsItem, oQPainterPath ) -> oQPainterPath - * :mapFromItem( oQGraphicsItem, nX, nY, nW, nH ) -> oQPolygonF - * :mapFromItem( oQGraphicsItem, nX, nY ) -> oQPointF - * :mapFromParent( oQPointF ) -> oQPointF - * :mapFromParent( oQRectF ) -> oQPolygonF - * :mapFromParent( oQPolygonF ) -> oQPolygonF - * :mapFromParent( oQPainterPath ) -> oQPainterPath - * :mapFromParent( nX, nY, nW, nH ) -> oQPolygonF - * :mapFromParent( nX, nY ) -> oQPointF - * :mapFromScene( oQPointF ) -> oQPointF - * :mapFromScene( oQRectF ) -> oQPolygonF - * :mapFromScene( oQPolygonF ) -> oQPolygonF - * :mapFromScene( oQPainterPath ) -> oQPainterPath - * :mapFromScene( nX, nY, nW, nH ) -> oQPolygonF - * :mapFromScene( nX, nY ) -> oQPointF - * :mapRectFromItem( oQGraphicsItem, oQRectF ) -> oQRectF - * :mapRectFromItem( oQGraphicsItem, nX, nY, nW, nH ) -> oQRectF - * :mapRectFromParent( oQRectF ) -> oQRectF - * :mapRectFromParent( nX, nY, nW, nH ) -> oQRectF - * :mapRectFromScene( oQRectF ) -> oQRectF - * :mapRectFromScene( nX, nY, nW, nH ) -> oQRectF - * :mapRectToItem( oQGraphicsItem, oQRectF ) -> oQRectF - * :mapRectToItem( oQGraphicsItem, nX, nY, nW, nH ) -> oQRectF - * :mapRectToParent( oQRectF ) -> oQRectF - * :mapRectToParent( nX, nY, nW, nH ) -> oQRectF - * :mapRectToScene( oQRectF ) -> oQRectF - * :mapRectToScene( nX, nY, nW, nH ) -> oQRectF - * :mapToItem( oQGraphicsItem, oQPointF ) -> oQPointF - * :mapToItem( oQGraphicsItem, oQRectF ) -> oQPolygonF - * :mapToItem( oQGraphicsItem, oQPolygonF ) -> oQPolygonF - * :mapToItem( oQGraphicsItem, oQPainterPath ) -> oQPainterPath - * :mapToItem( oQGraphicsItem, nX, nY, nW, nH ) -> oQPolygonF - * :mapToItem( oQGraphicsItem, nX, nY ) -> oQPointF - * :mapToParent( oQPointF ) -> oQPointF - * :mapToParent( oQRectF ) -> oQPolygonF - * :mapToParent( oQPolygonF ) -> oQPolygonF - * :mapToParent( oQPainterPath ) -> oQPainterPath - * :mapToParent( nX, nY, nW, nH ) -> oQPolygonF - * :mapToParent( nX, nY ) -> oQPointF - * :mapToScene( oQPointF ) -> oQPointF - * :mapToScene( oQRectF ) -> oQPolygonF - * :mapToScene( oQPolygonF ) -> oQPolygonF - * :mapToScene( oQPainterPath ) -> oQPainterPath - * :mapToScene( nX, nY, nW, nH ) -> oQPolygonF - * :mapToScene( nX, nY ) -> oQPointF - * :moveBy( nDx, nDy ) -> NIL - * :opacity() -> nQreal - * :opaqueArea() -> oQPainterPath - * :paint( oQPainter, oQStyleOptionGraphicsItem, oQWidget ) -> NIL - * :parentItem() -> oQGraphicsItem - * :parentWidget() -> oQGraphicsWidget - * :pos() -> oQPointF - * :removeSceneEventFilter( oQGraphicsItem ) -> NIL - * :resetTransform() -> NIL - * :rotate( nAngle ) -> NIL - * :scale( nSx, nSy ) -> NIL - * :scene() -> oQGraphicsScene - * :sceneBoundingRect() -> oQRectF - * :scenePos() -> oQPointF - * :sceneTransform() -> oQTransform - * :scroll( nDx, nDy, oQRectF ) -> NIL - * :setAcceptDrops( lOn ) -> NIL - * :setAcceptHoverEvents( lEnabled ) -> NIL - * :setAcceptedMouseButtons( nButtons ) -> NIL - * :setBoundingRegionGranularity( nGranularity ) -> NIL - * :setCacheMode( nMode, oQSize ) -> NIL - * :setCursor( oQCursor ) -> NIL - * :setData( nKey, oQVariant ) -> NIL - * :setEnabled( lEnabled ) -> NIL - * :setFlag( nFlag, lEnabled ) -> NIL - * :setFlags( nFlags ) -> NIL - * :setFocus( nFocusReason ) -> NIL - * :setGroup( oQGraphicsItemGroup ) -> NIL - * :setHandlesChildEvents( lEnabled ) -> NIL - * :setOpacity( nOpacity ) -> NIL - * :setParentItem( oQGraphicsItem ) -> NIL - * :setPos( oQPointF ) -> NIL - * :setPos( nX, nY ) -> NIL - * :setSelected( lSelected ) -> NIL - * :setToolTip( cToolTip ) -> NIL - * :setTransform( oQTransform, lCombine ) -> NIL - * :setVisible( lVisible ) -> NIL - * :setZValue( nZ ) -> NIL - * :shape() -> oQPainterPath - * :shear( nSh, nSv ) -> NIL - * :show() -> NIL - * :toolTip() -> cQString - * :topLevelItem() -> oQGraphicsItem - * :topLevelWidget() -> oQGraphicsWidget - * :transform() -> oQTransform - * :translate( nDx, nDy ) -> NIL - * :type() -> nInt - * :ungrabKeyboard() -> NIL - * :ungrabMouse() -> NIL - * :unsetCursor() -> NIL - * :update( oQRectF ) -> NIL - * :update( nX, nY, nWidth, nHeight ) -> NIL - * :window() -> oQGraphicsWidget - * :x() -> nQreal - * :y() -> nQreal - * :zValue() -> nQreal - * - * $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/TQGraphicsItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt deleted file mode 100644 index 5ce3285552..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemanimation.txt +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsItemAnimation() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsitemanimation.html - * $ONELINER$ - * Creates a new QGraphicsItemAnimation object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QGraphicsItemAnimation( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsItemAnimation - * $METHODS$ - * :clear() -> NIL - * :horizontalScaleAt( nStep ) -> nQreal - * :horizontalShearAt( nStep ) -> nQreal - * :item() -> oQGraphicsItem - * :matrixAt( nStep ) -> oQMatrix - * :posAt( nStep ) -> oQPointF - * :rotationAt( nStep ) -> nQreal - * :setItem( oQGraphicsItem ) -> NIL - * :setPosAt( nStep, oQPointF ) -> NIL - * :setRotationAt( nStep, nAngle ) -> NIL - * :setScaleAt( nStep, nSx, nSy ) -> NIL - * :setShearAt( nStep, nSh, nSv ) -> NIL - * :setTimeLine( oQTimeLine ) -> NIL - * :setTranslationAt( nStep, nDx, nDy ) -> NIL - * :timeLine() -> oQTimeLine - * :verticalScaleAt( nStep ) -> nQreal - * :verticalShearAt( nStep ) -> nQreal - * :xTranslationAt( nStep ) -> nQreal - * :yTranslationAt( nStep ) -> nQreal - * :setStep( nStep ) -> 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/TQGraphicsItemAnimation.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsItemAnimation.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt deleted file mode 100644 index f1e7ad3122..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsitemgroup.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsItemGroup() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsitemgroup.html - * $ONELINER$ - * Creates a new QGraphicsItemGroup object. - * $INHERITS$ - * QGraphicsItem - * $SYNTAX$ - * QGraphicsItemGroup( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsItemGroup - * $METHODS$ - * :addToGroup( oQGraphicsItem ) -> NIL - * :removeFromGroup( oQGraphicsItem ) -> 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/TQGraphicsItemGroup.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsItemGroup.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt deleted file mode 100644 index b4a353e01b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayout.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicslayout.html - * $ONELINER$ - * Creates a new QGraphicsLayout object. - * $INHERITS$ - * QGraphicsLayoutItem - * $SYNTAX$ - * QGraphicsLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsLayout - * $METHODS$ - * :activate() -> NIL - * :count() -> nInt - * :invalidate() -> NIL - * :isActivated() -> lBool - * :itemAt( nI ) -> oQGraphicsLayoutItem - * :removeAt( nIndex ) -> NIL - * :setContentsMargins( nLeft, nTop, nRight, nBottom ) -> NIL - * :widgetEvent( oQEvent ) -> 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/TQGraphicsLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt deleted file mode 100644 index 4630277f1d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslayoutitem.txt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsLayoutItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicslayoutitem.html - * $ONELINER$ - * Creates a new QGraphicsLayoutItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QGraphicsLayoutItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsLayoutItem - * $METHODS$ - * :contentsRect() -> oQRectF - * :effectiveSizeHint( nWhich, oQSizeF ) -> oQSizeF - * :geometry() -> oQRectF - * :getContentsMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - * :graphicsItem() -> oQGraphicsItem - * :isLayout() -> lBool - * :maximumHeight() -> nQreal - * :maximumSize() -> oQSizeF - * :maximumWidth() -> nQreal - * :minimumHeight() -> nQreal - * :minimumSize() -> oQSizeF - * :minimumWidth() -> nQreal - * :ownedByLayout() -> lBool - * :parentLayoutItem() -> oQGraphicsLayoutItem - * :preferredHeight() -> nQreal - * :preferredSize() -> oQSizeF - * :preferredWidth() -> nQreal - * :setGeometry( oQRectF ) -> NIL - * :setMaximumHeight( nHeight ) -> NIL - * :setMaximumSize( oQSizeF ) -> NIL - * :setMaximumSize( nW, nH ) -> NIL - * :setMaximumWidth( nWidth ) -> NIL - * :setMinimumHeight( nHeight ) -> NIL - * :setMinimumSize( oQSizeF ) -> NIL - * :setMinimumSize( nW, nH ) -> NIL - * :setMinimumWidth( nWidth ) -> NIL - * :setParentLayoutItem( oQGraphicsLayoutItem ) -> NIL - * :setPreferredHeight( nHeight ) -> NIL - * :setPreferredSize( oQSizeF ) -> NIL - * :setPreferredSize( nW, nH ) -> NIL - * :setPreferredWidth( nWidth ) -> NIL - * :setSizePolicy( oQSizePolicy ) -> NIL - * :setSizePolicy( nHPolicy, nVPolicy, nControlType ) -> NIL - * :sizePolicy() -> oQSizePolicy - * :updateGeometry() -> 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/TQGraphicsLayoutItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLayoutItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt deleted file mode 100644 index 1e451cdc4b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslinearlayout.txt +++ /dev/null @@ -1,64 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsLinearLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicslinearlayout.html - * $ONELINER$ - * Creates a new QGraphicsLinearLayout object. - * $INHERITS$ - * QGraphicsLayout - * $SYNTAX$ - * QGraphicsLinearLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsLinearLayout - * $METHODS$ - * :addItem( oQGraphicsLayoutItem ) -> NIL - * :addStretch( nStretch ) -> NIL - * :alignment( oQGraphicsLayoutItem ) -> nQt_Alignment - * :insertItem( nIndex, oQGraphicsLayoutItem ) -> NIL - * :insertStretch( nIndex, nStretch ) -> NIL - * :itemSpacing( nIndex ) -> nQreal - * :orientation() -> nQt_Orientation - * :removeAt( nIndex ) -> NIL - * :removeItem( oQGraphicsLayoutItem ) -> NIL - * :setAlignment( oQGraphicsLayoutItem, nAlignment ) -> NIL - * :setItemSpacing( nIndex, nSpacing ) -> NIL - * :setOrientation( nOrientation ) -> NIL - * :setSpacing( nSpacing ) -> NIL - * :setStretchFactor( oQGraphicsLayoutItem, nStretch ) -> NIL - * :spacing() -> nQreal - * :stretchFactor( oQGraphicsLayoutItem ) -> nInt - * - * $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/TQGraphicsLinearLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLinearLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt deleted file mode 100644 index c201edaa7c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicslineitem.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsLineItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicslineitem.html - * $ONELINER$ - * Creates a new QGraphicsLineItem object. - * $INHERITS$ - * QGraphicsItem - * $SYNTAX$ - * QGraphicsLineItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsLineItem - * $METHODS$ - * :line() -> oQLineF - * :pen() -> oQPen - * :setLine( oQLineF ) -> NIL - * :setLine( nX1, nY1, nX2, nY2 ) -> NIL - * :setPen( oQPen ) -> 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/TQGraphicsLineItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsLineItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt deleted file mode 100644 index cdaa6b988f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspathitem.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsPathItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicspathitem.html - * $ONELINER$ - * Creates a new QGraphicsPathItem object. - * $INHERITS$ - * QAbstractGraphicsShapeItem - * $SYNTAX$ - * QGraphicsPathItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsPathItem - * $METHODS$ - * :path() -> oQPainterPath - * :setPath( oQPainterPath ) -> 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/TQGraphicsPathItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsPathItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt deleted file mode 100644 index b480b4bb59..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspixmapitem.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsPixmapItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicspixmapitem.html - * $ONELINER$ - * Creates a new QGraphicsPixmapItem object. - * $INHERITS$ - * QGraphicsItem - * $SYNTAX$ - * QGraphicsPixmapItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsPixmapItem - * $METHODS$ - * :offset() -> oQPointF - * :pixmap() -> oQPixmap - * :setOffset( oQPointF ) -> NIL - * :setOffset( nX, nY ) -> NIL - * :setPixmap( oQPixmap ) -> NIL - * :setShapeMode( nMode ) -> NIL - * :setTransformationMode( nMode ) -> NIL - * :shapeMode() -> nShapeMode - * :transformationMode() -> nQt_TransformationMode - * - * $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/TQGraphicsPixmapItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsPixmapItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt deleted file mode 100644 index 52edb49ca3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicspolygonitem.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsPolygonItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicspolygonitem.html - * $ONELINER$ - * Creates a new QGraphicsPolygonItem object. - * $INHERITS$ - * QAbstractGraphicsShapeItem - * $SYNTAX$ - * QGraphicsPolygonItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsPolygonItem - * $METHODS$ - * :fillRule() -> nQt_FillRule - * :polygon() -> oQPolygonF - * :setFillRule( nRule ) -> NIL - * :setPolygon( oQPolygonF ) -> 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/TQGraphicsPolygonItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsPolygonItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt deleted file mode 100644 index 58a7ae02a1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsproxywidget.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsProxyWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsproxywidget.html - * $ONELINER$ - * Creates a new QGraphicsProxyWidget object. - * $INHERITS$ - * QGraphicsWidget - * $SYNTAX$ - * QGraphicsProxyWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsProxyWidget - * $METHODS$ - * :createProxyForChildWidget( oQWidget ) -> oQGraphicsProxyWidget - * :setWidget( oQWidget ) -> NIL - * :subWidgetRect( oQWidget ) -> oQRectF - * :widget() -> oQWidget - * - * $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/TQGraphicsProxyWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsProxyWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt deleted file mode 100644 index 4ccce0ee20..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsrectitem.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsRectItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsrectitem.html - * $ONELINER$ - * Creates a new QGraphicsRectItem object. - * $INHERITS$ - * QAbstractGraphicsShapeItem - * $SYNTAX$ - * QGraphicsRectItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsRectItem - * $METHODS$ - * :rect() -> oQRectF - * :setRect( oQRectF ) -> NIL - * :setRect( nX, nY, nWidth, nHeight ) -> 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/TQGraphicsRectItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsRectItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt deleted file mode 100644 index e190687671..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscene.txt +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsScene() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscene.html - * $ONELINER$ - * Creates a new QGraphicsScene object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QGraphicsScene( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsScene - * $METHODS$ - * :activeWindow() -> oQGraphicsWidget - * :addEllipse( oQRectF, oQPen, oQBrush ) -> oQGraphicsEllipseItem - * :addEllipse( nX, nY, nW, nH, oQPen, oQBrush ) -> oQGraphicsEllipseItem - * :addItem( oQGraphicsItem ) -> NIL - * :addLine( oQLineF, oQPen ) -> oQGraphicsLineItem - * :addLine( nX1, nY1, nX2, nY2, oQPen ) -> oQGraphicsLineItem - * :addPath( oQPainterPath, oQPen, oQBrush ) -> oQGraphicsPathItem - * :addPixmap( oQPixmap ) -> oQGraphicsPixmapItem - * :addPolygon( oQPolygonF, oQPen, oQBrush ) -> oQGraphicsPolygonItem - * :addRect( oQRectF, oQPen, oQBrush ) -> oQGraphicsRectItem - * :addRect( nX, nY, nW, nH, oQPen, oQBrush ) -> oQGraphicsRectItem - * :addSimpleText( cText, oQFont ) -> oQGraphicsSimpleTextItem - * :addText( cText, oQFont ) -> oQGraphicsTextItem - * :addWidget( oQWidget, nWFlags ) -> oQGraphicsProxyWidget - * :backgroundBrush() -> oQBrush - * :bspTreeDepth() -> nInt - * :clearFocus() -> NIL - * :collidingItems( oQGraphicsItem, nMode ) -> oQList_QGraphicsItem - * :destroyItemGroup( oQGraphicsItemGroup ) -> NIL - * :focusItem() -> oQGraphicsItem - * :font() -> oQFont - * :foregroundBrush() -> oQBrush - * :hasFocus() -> lBool - * :height() -> nQreal - * :invalidate( nX, nY, nW, nH, nLayers ) -> NIL - * :isSortCacheEnabled() -> lBool - * :itemAt( oQPointF ) -> oQGraphicsItem - * :itemAt( nX, nY ) -> oQGraphicsItem - * :itemIndexMethod() -> nItemIndexMethod - * :items() -> oQList_QGraphicsItem - * :items( oQPointF ) -> oQList_QGraphicsItem - * :items( nX, nY, nW, nH, nMode ) -> oQList_QGraphicsItem - * :items( oQRectF, nMode ) -> oQList_QGraphicsItem - * :items( oQPolygonF, nMode ) -> oQList_QGraphicsItem - * :items( oQPainterPath, nMode ) -> oQList_QGraphicsItem - * :itemsBoundingRect() -> oQRectF - * :mouseGrabberItem() -> oQGraphicsItem - * :palette() -> oQPalette - * :removeItem( oQGraphicsItem ) -> NIL - * :render( oQPainter, oQRectF, oQRectF, nAspectRatioMode ) -> NIL - * :sceneRect() -> oQRectF - * :selectedItems() -> oQList_QGraphicsItem - * :selectionArea() -> oQPainterPath - * :setActiveWindow( oQGraphicsWidget ) -> NIL - * :setBackgroundBrush( oQBrush ) -> NIL - * :setBspTreeDepth( nDepth ) -> NIL - * :setFocus( nFocusReason ) -> NIL - * :setFocusItem( oQGraphicsItem, nFocusReason ) -> NIL - * :setFont( oQFont ) -> NIL - * :setForegroundBrush( oQBrush ) -> NIL - * :setItemIndexMethod( nMethod ) -> NIL - * :setPalette( oQPalette ) -> NIL - * :setSceneRect( oQRectF ) -> NIL - * :setSceneRect( nX, nY, nW, nH ) -> NIL - * :setSelectionArea( oQPainterPath ) -> NIL - * :setSelectionArea( oQPainterPath, nMode ) -> NIL - * :setSortCacheEnabled( lEnabled ) -> NIL - * :setStickyFocus( lEnabled ) -> NIL - * :setStyle( oQStyle ) -> NIL - * :stickyFocus() -> lBool - * :style() -> oQStyle - * :update( nX, nY, nW, nH ) -> NIL - * :views() -> oQList_QGraphicsView - * :width() -> nQreal - * :advance() -> NIL - * :clear() -> NIL - * :clearSelection() -> NIL - * :invalidate( oQRectF, nLayers ) -> NIL - * :update( oQRectF ) -> 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/TQGraphicsScene.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsScene.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt deleted file mode 100644 index 65caff238e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneContextMenuEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenecontextmenuevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneContextMenuEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneContextMenuEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneContextMenuEvent - * $METHODS$ - * :modifiers() -> nQt_KeyboardModifiers - * :pos() -> oQPointF - * :reason() -> nReason - * :scenePos() -> oQPointF - * :screenPos() -> oQPoint - * - * $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/TQGraphicsSceneContextMenuEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneContextMenuEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt deleted file mode 100644 index 090e32d1a6..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneDragDropEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenedragdropevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneDragDropEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneDragDropEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneDragDropEvent - * $METHODS$ - * :acceptProposedAction() -> NIL - * :buttons() -> nQt_MouseButtons - * :dropAction() -> nQt_DropAction - * :mimeData() -> oQMimeData - * :modifiers() -> nQt_KeyboardModifiers - * :pos() -> oQPointF - * :possibleActions() -> nQt_DropActions - * :proposedAction() -> nQt_DropAction - * :scenePos() -> oQPointF - * :screenPos() -> oQPoint - * :setDropAction( nAction ) -> NIL - * :source() -> oQWidget - * - * $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/TQGraphicsSceneDragDropEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneDragDropEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt deleted file mode 100644 index cdfbd9e1e5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicssceneevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QGraphicsSceneEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneEvent - * $METHODS$ - * :widget() -> oQWidget - * - * $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/TQGraphicsSceneEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt deleted file mode 100644 index 2007f4dcc3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneHelpEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenehelpevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneHelpEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneHelpEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneHelpEvent - * $METHODS$ - * :scenePos() -> oQPointF - * :screenPos() -> oQPoint - * - * $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/TQGraphicsSceneHelpEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneHelpEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt deleted file mode 100644 index 8002e5c0d7..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneHoverEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenehoverevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneHoverEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneHoverEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneHoverEvent - * $METHODS$ - * :lastPos() -> oQPointF - * :lastScenePos() -> oQPointF - * :lastScreenPos() -> oQPoint - * :modifiers() -> nQt_KeyboardModifiers - * :pos() -> oQPointF - * :scenePos() -> oQPointF - * :screenPos() -> oQPoint - * - * $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/TQGraphicsSceneHoverEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneHoverEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt deleted file mode 100644 index 84f5fdd2c3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneMouseEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenemouseevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneMouseEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneMouseEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneMouseEvent - * $METHODS$ - * :button() -> nQt_MouseButton - * :buttonDownPos( nButton ) -> oQPointF - * :buttonDownScenePos( nButton ) -> oQPointF - * :buttonDownScreenPos( nButton ) -> oQPoint - * :buttons() -> nQt_MouseButtons - * :lastPos() -> oQPointF - * :lastScenePos() -> oQPointF - * :lastScreenPos() -> oQPoint - * :modifiers() -> nQt_KeyboardModifiers - * :pos() -> oQPointF - * :scenePos() -> oQPointF - * :screenPos() -> oQPoint - * - * $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/TQGraphicsSceneMouseEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneMouseEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt deleted file mode 100644 index ef4bf2ef70..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneMoveEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenemoveevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneMoveEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneMoveEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneMoveEvent - * $METHODS$ - * :newPos() -> oQPointF - * :oldPos() -> oQPointF - * - * $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/TQGraphicsSceneMoveEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneMoveEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt deleted file mode 100644 index 03b1a7a2f1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneResizeEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicssceneresizeevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneResizeEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneResizeEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneResizeEvent - * $METHODS$ - * :newSize() -> oQSizeF - * :oldSize() -> oQSizeF - * - * $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/TQGraphicsSceneResizeEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneResizeEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt deleted file mode 100644 index 23549d8b2e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSceneWheelEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsscenewheelevent.html - * $ONELINER$ - * Creates a new QGraphicsSceneWheelEvent object. - * $INHERITS$ - * QGraphicsSceneEvent - * $SYNTAX$ - * QGraphicsSceneWheelEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSceneWheelEvent - * $METHODS$ - * :buttons() -> nQt_MouseButtons - * :delta() -> nInt - * :modifiers() -> nQt_KeyboardModifiers - * :orientation() -> nQt_Orientation - * :pos() -> oQPointF - * :scenePos() -> oQPointF - * :screenPos() -> oQPoint - * - * $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/TQGraphicsSceneWheelEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneWheelEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt deleted file mode 100644 index c782f0234b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssimpletextitem.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsSimpleTextItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicssimpletextitem.html - * $ONELINER$ - * Creates a new QGraphicsSimpleTextItem object. - * $INHERITS$ - * QAbstractGraphicsShapeItem - * $SYNTAX$ - * QGraphicsSimpleTextItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsSimpleTextItem - * $METHODS$ - * :font() -> oQFont - * :setFont( oQFont ) -> NIL - * :setText( cText ) -> NIL - * :text() -> cQString - * - * $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/TQGraphicsSimpleTextItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSimpleTextItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt deleted file mode 100644 index 016c8e7322..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicstextitem.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsTextItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicstextitem.html - * $ONELINER$ - * Creates a new QGraphicsTextItem object. - * $INHERITS$ - * QObject, QGraphicsItem - * $SYNTAX$ - * QGraphicsTextItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsTextItem - * $METHODS$ - * :adjustSize() -> NIL - * :defaultTextColor() -> oQColor - * :document() -> oQTextDocument - * :font() -> oQFont - * :openExternalLinks() -> lBool - * :setDefaultTextColor( oQColor ) -> NIL - * :setDocument( oQTextDocument ) -> NIL - * :setFont( oQFont ) -> NIL - * :setHtml( cText ) -> NIL - * :setOpenExternalLinks( lOpen ) -> NIL - * :setPlainText( cText ) -> NIL - * :setTabChangesFocus( lB ) -> NIL - * :setTextCursor( oQTextCursor ) -> NIL - * :setTextInteractionFlags( nFlags ) -> NIL - * :setTextWidth( nWidth ) -> NIL - * :tabChangesFocus() -> lBool - * :textCursor() -> oQTextCursor - * :textInteractionFlags() -> nQt_TextInteractionFlags - * :textWidth() -> nQreal - * :toHtml() -> cQString - * :toPlainText() -> cQString - * - * $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/TQGraphicsTextItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsTextItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt deleted file mode 100644 index 8ac80c652e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsview.txt +++ /dev/null @@ -1,124 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicsview.html - * $ONELINER$ - * Creates a new QGraphicsView object. - * $INHERITS$ - * QAbstractScrollArea - * $SYNTAX$ - * QGraphicsView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsView - * $METHODS$ - * :alignment() -> nQt_Alignment - * :backgroundBrush() -> oQBrush - * :cacheMode() -> nCacheMode - * :centerOn( oQPointF ) -> NIL - * :centerOn( nX, nY ) -> NIL - * :centerOn( oQGraphicsItem ) -> NIL - * :dragMode() -> nDragMode - * :ensureVisible( oQRectF, nXmargin, nYmargin ) -> NIL - * :ensureVisible( nX, nY, nW, nH, nXmargin, nYmargin ) -> NIL - * :ensureVisible( oQGraphicsItem, nXmargin, nYmargin ) -> NIL - * :fitInView( oQRectF, nAspectRatioMode ) -> NIL - * :fitInView( nX, nY, nW, nH, nAspectRatioMode ) -> NIL - * :fitInView( oQGraphicsItem, nAspectRatioMode ) -> NIL - * :foregroundBrush() -> oQBrush - * :isInteractive() -> lBool - * :itemAt( oQPoint ) -> oQGraphicsItem - * :itemAt( nX, nY ) -> oQGraphicsItem - * :items() -> oQList_QGraphicsItem - * :items( oQPoint ) -> oQList_QGraphicsItem - * :items( nX, nY ) -> oQList_QGraphicsItem - * :items( nX, nY, nW, nH, nMode ) -> oQList_QGraphicsItem - * :items( oQRect, nMode ) -> oQList_QGraphicsItem - * :items( oQPolygon, nMode ) -> oQList_QGraphicsItem - * :items( oQPainterPath, nMode ) -> oQList_QGraphicsItem - * :mapFromScene( oQPointF ) -> oQPoint - * :mapFromScene( oQRectF ) -> oQPolygon - * :mapFromScene( oQPolygonF ) -> oQPolygon - * :mapFromScene( oQPainterPath ) -> oQPainterPath - * :mapFromScene( nX, nY ) -> oQPoint - * :mapFromScene( nX, nY, nW, nH ) -> oQPolygon - * :mapToScene( oQPoint ) -> oQPointF - * :mapToScene( oQRect ) -> oQPolygonF - * :mapToScene( oQPolygon ) -> oQPolygonF - * :mapToScene( oQPainterPath ) -> oQPainterPath - * :mapToScene( nX, nY ) -> oQPointF - * :mapToScene( nX, nY, nW, nH ) -> oQPolygonF - * :matrix() -> oQMatrix - * :optimizationFlags() -> nOptimizationFlags - * :render( oQPainter, oQRectF, oQRect, nAspectRatioMode ) -> NIL - * :renderHints() -> nQPainter_RenderHints - * :resetCachedContent() -> NIL - * :resetMatrix() -> NIL - * :resetTransform() -> NIL - * :resizeAnchor() -> nViewportAnchor - * :rotate( nAngle ) -> NIL - * :rubberBandSelectionMode() -> nQt_ItemSelectionMode - * :scale( nSx, nSy ) -> NIL - * :scene() -> oQGraphicsScene - * :sceneRect() -> oQRectF - * :setAlignment( nAlignment ) -> NIL - * :setBackgroundBrush( oQBrush ) -> NIL - * :setCacheMode( nMode ) -> NIL - * :setDragMode( nMode ) -> NIL - * :setForegroundBrush( oQBrush ) -> NIL - * :setInteractive( lAllowed ) -> NIL - * :setMatrix( oQMatrix, lCombine ) -> NIL - * :setOptimizationFlag( nFlag, lEnabled ) -> NIL - * :setOptimizationFlags( nFlags ) -> NIL - * :setRenderHint( nHint, lEnabled ) -> NIL - * :setRenderHints( nHints ) -> NIL - * :setResizeAnchor( nAnchor ) -> NIL - * :setRubberBandSelectionMode( nMode ) -> NIL - * :setScene( oQGraphicsScene ) -> NIL - * :setSceneRect( oQRectF ) -> NIL - * :setSceneRect( nX, nY, nW, nH ) -> NIL - * :setTransform( oQTransform, lCombine ) -> NIL - * :setTransformationAnchor( nAnchor ) -> NIL - * :setViewportUpdateMode( nMode ) -> NIL - * :shear( nSh, nSv ) -> NIL - * :transform() -> oQTransform - * :transformationAnchor() -> nViewportAnchor - * :translate( nDx, nDy ) -> NIL - * :viewportTransform() -> oQTransform - * :viewportUpdateMode() -> nViewportUpdateMode - * :invalidateScene( oQRectF, nLayers ) -> NIL - * :updateSceneRect( oQRectF ) -> 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/TQGraphicsView.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsView.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt deleted file mode 100644 index 90060c69bf..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicswidget.txt +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGraphicsWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgraphicswidget.html - * $ONELINER$ - * Creates a new QGraphicsWidget object. - * $INHERITS$ - * QObject, QGraphicsItem, QGraphicsLayoutItem - * $SYNTAX$ - * QGraphicsWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGraphicsWidget - * $METHODS$ - * :actions() -> oQList_QAction - * :addAction( oQAction ) -> NIL - * :adjustSize() -> NIL - * :focusPolicy() -> nQt_FocusPolicy - * :focusWidget() -> oQGraphicsWidget - * :font() -> oQFont - * :getContentsMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - * :getWindowFrameMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - * :grabShortcut( oQKeySequence, nContext ) -> nInt - * :insertAction( oQAction, oQAction ) -> NIL - * :isActiveWindow() -> lBool - * :layout() -> oQGraphicsLayout - * :layoutDirection() -> nQt_LayoutDirection - * :palette() -> oQPalette - * :rect() -> oQRectF - * :releaseShortcut( nId ) -> NIL - * :removeAction( oQAction ) -> NIL - * :resize( oQSizeF ) -> NIL - * :resize( nW, nH ) -> NIL - * :setAttribute( nAttribute, lOn ) -> NIL - * :setContentsMargins( nLeft, nTop, nRight, nBottom ) -> NIL - * :setFocusPolicy( nPolicy ) -> NIL - * :setFont( oQFont ) -> NIL - * :setGeometry( oQRectF ) -> NIL - * :setGeometry( nX, nY, nW, nH ) -> NIL - * :setLayout( oQGraphicsLayout ) -> NIL - * :setLayoutDirection( nDirection ) -> NIL - * :setPalette( oQPalette ) -> NIL - * :setShortcutAutoRepeat( nId, lEnabled ) -> NIL - * :setShortcutEnabled( nId, lEnabled ) -> NIL - * :setStyle( oQStyle ) -> NIL - * :setWindowFlags( nWFlags ) -> NIL - * :setWindowFrameMargins( nLeft, nTop, nRight, nBottom ) -> NIL - * :setWindowTitle( cTitle ) -> NIL - * :size() -> oQSizeF - * :style() -> oQStyle - * :testAttribute( nAttribute ) -> lBool - * :unsetLayoutDirection() -> NIL - * :unsetWindowFrameMargins() -> NIL - * :windowFlags() -> nQt_WindowFlags - * :windowFrameGeometry() -> oQRectF - * :windowFrameRect() -> oQRectF - * :windowTitle() -> cQString - * :windowType() -> nQt_WindowType - * :setTabOrder( oQGraphicsWidget, oQGraphicsWidget ) -> NIL - * :close() -> lBool - * - * $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/TQGraphicsWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QGraphicsWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt deleted file mode 100644 index 5e9be1696e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgridlayout.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGridLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgridlayout.html - * $ONELINER$ - * Creates a new QGridLayout object. - * $INHERITS$ - * QLayout - * $SYNTAX$ - * QGridLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGridLayout - * $METHODS$ - * :addItem( oQLayoutItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - * :addLayout( oQLayout, nRow, nColumn, nAlignment ) -> NIL - * :addLayout( oQLayout, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - * :addWidget( oQWidget, nRow, nColumn, nAlignment ) -> NIL - * :addWidget( oQWidget, nFromRow, nFromColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - * :cellRect( nRow, nColumn ) -> oQRect - * :columnCount() -> nInt - * :columnMinimumWidth( nColumn ) -> nInt - * :columnStretch( nColumn ) -> nInt - * :getItemPosition( nIndex, @nRow, @nColumn, @nRowSpan, @nColumnSpan ) -> NIL - * :horizontalSpacing() -> nInt - * :itemAtPosition( nRow, nColumn ) -> oQLayoutItem - * :originCorner() -> nQt_Corner - * :rowCount() -> nInt - * :rowMinimumHeight( nRow ) -> nInt - * :rowStretch( nRow ) -> nInt - * :setColumnMinimumWidth( nColumn, nMinSize ) -> NIL - * :setColumnStretch( nColumn, nStretch ) -> NIL - * :setHorizontalSpacing( nSpacing ) -> NIL - * :setOriginCorner( nCorner ) -> NIL - * :setRowMinimumHeight( nRow, nMinSize ) -> NIL - * :setRowStretch( nRow, nStretch ) -> NIL - * :setSpacing( nSpacing ) -> NIL - * :setVerticalSpacing( nSpacing ) -> NIL - * :spacing() -> nInt - * :verticalSpacing() -> nInt - * - * $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/TQGridLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QGridLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt deleted file mode 100644 index ded2a8c0d6..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qgroupbox.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QGroupBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qgroupbox.html - * $ONELINER$ - * Creates a new QGroupBox object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QGroupBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QGroupBox - * $METHODS$ - * :alignment() -> nQt_Alignment - * :isCheckable() -> lBool - * :isChecked() -> lBool - * :isFlat() -> lBool - * :setAlignment( nAlignment ) -> NIL - * :setCheckable( lCheckable ) -> NIL - * :setFlat( lFlat ) -> NIL - * :setTitle( cTitle ) -> NIL - * :title() -> cQString - * :setChecked( lChecked ) -> 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/TQGroupBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QGroupBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt deleted file mode 100644 index 399ef079bc..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHBoxLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhboxlayout.html - * $ONELINER$ - * Creates a new QHBoxLayout object. - * $INHERITS$ - * QBoxLayout - * $SYNTAX$ - * QHBoxLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHBoxLayout - * $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/TQHBoxLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QHBoxLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt deleted file mode 100644 index 6fee32d58d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qheaderview.txt +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHeaderView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qheaderview.html - * $ONELINER$ - * Creates a new QHeaderView object. - * $INHERITS$ - * QAbstractItemView - * $SYNTAX$ - * QHeaderView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHeaderView - * $METHODS$ - * :cascadingSectionResizes() -> lBool - * :count() -> nInt - * :defaultAlignment() -> nQt_Alignment - * :defaultSectionSize() -> nInt - * :hiddenSectionCount() -> nInt - * :hideSection( nLogicalIndex ) -> NIL - * :highlightSections() -> lBool - * :isClickable() -> lBool - * :isMovable() -> lBool - * :isSectionHidden( nLogicalIndex ) -> lBool - * :isSortIndicatorShown() -> lBool - * :length() -> nInt - * :logicalIndex( nVisualIndex ) -> nInt - * :logicalIndexAt( nPosition ) -> nInt - * :logicalIndexAt( nX, nY ) -> nInt - * :logicalIndexAt( oQPoint ) -> nInt - * :minimumSectionSize() -> nInt - * :moveSection( nFrom, nTo ) -> NIL - * :offset() -> nInt - * :orientation() -> nQt_Orientation - * :resizeMode( nLogicalIndex ) -> nResizeMode - * :resizeSection( nLogicalIndex, nSize ) -> NIL - * :resizeSections( nMode ) -> NIL - * :restoreState( oQByteArray ) -> lBool - * :saveState() -> oQByteArray - * :sectionPosition( nLogicalIndex ) -> nInt - * :sectionSize( nLogicalIndex ) -> nInt - * :sectionSizeHint( nLogicalIndex ) -> nInt - * :sectionViewportPosition( nLogicalIndex ) -> nInt - * :sectionsHidden() -> lBool - * :sectionsMoved() -> lBool - * :setCascadingSectionResizes( lEnable ) -> NIL - * :setClickable( lClickable ) -> NIL - * :setDefaultAlignment( nAlignment ) -> NIL - * :setDefaultSectionSize( nSize ) -> NIL - * :setHighlightSections( lHighlight ) -> NIL - * :setMinimumSectionSize( nSize ) -> NIL - * :setMovable( lMovable ) -> NIL - * :setResizeMode( nMode ) -> NIL - * :setResizeMode( nLogicalIndex, nMode ) -> NIL - * :setSectionHidden( nLogicalIndex, lHide ) -> NIL - * :setSortIndicator( nLogicalIndex, nOrder ) -> NIL - * :setSortIndicatorShown( lShow ) -> NIL - * :setStretchLastSection( lStretch ) -> NIL - * :showSection( nLogicalIndex ) -> NIL - * :sizeHint() -> oQSize - * :sortIndicatorOrder() -> nQt_SortOrder - * :sortIndicatorSection() -> nInt - * :stretchLastSection() -> lBool - * :stretchSectionCount() -> nInt - * :swapSections( nFirst, nSecond ) -> NIL - * :visualIndex( nLogicalIndex ) -> nInt - * :visualIndexAt( nPosition ) -> nInt - * :headerDataChanged( nOrientation, nLogicalFirst, nLogicalLast ) -> NIL - * :setOffset( nOffset ) -> NIL - * :setOffsetToLastSection() -> NIL - * :setOffsetToSectionPosition( nVisualIndex ) -> 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/TQHeaderView.prg - * C++ wrappers : contrib/hbqt/qtgui/QHeaderView.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt deleted file mode 100644 index 201961133b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qhelpevent.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHelpEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhelpevent.html - * $ONELINER$ - * Creates a new QHelpEvent object. - * $INHERITS$ - * - * $SYNTAX$ - * QHelpEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHelpEvent - * $METHODS$ - * :globalPos() -> oQPoint - * :globalX() -> nInt - * :globalY() -> nInt - * :pos() -> oQPoint - * :x() -> nInt - * :y() -> nInt - * - * $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/TQHelpEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QHelpEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qhideevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qhideevent.txt deleted file mode 100644 index 46a3db965a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qhideevent.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHideEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhideevent.html - * $ONELINER$ - * Creates a new QHideEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QHideEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHideEvent - * $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/TQHideEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QHideEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt deleted file mode 100644 index ddd628a849..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qicon.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QIcon() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qicon.html - * $ONELINER$ - * Creates a new QIcon object. - * $INHERITS$ - * - * $SYNTAX$ - * QIcon( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QIcon - * $METHODS$ - * :actualSize( oQSize, nMode, nState ) -> oQSize - * :addFile( cFileName, oQSize, nMode, nState ) -> NIL - * :addPixmap( oQPixmap, nMode, nState ) -> NIL - * :availableSizes( nMode, nState ) -> oQList_QSize> - * :cacheKey() -> nQint64 - * :isNull() -> lBool - * :paint( oQPainter, oQRect, nAlignment, nMode, nState ) -> NIL - * :paint( oQPainter, nX, nY, nW, nH, nAlignment, nMode, nState ) -> NIL - * :pixmap( oQSize, nMode, nState ) -> oQPixmap - * :pixmap( nW, nH, nMode, nState ) -> oQPixmap - * - * $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/TQIcon.prg - * C++ wrappers : contrib/hbqt/qtgui/QIcon.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt deleted file mode 100644 index 1337d46ee5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qimage.txt +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QImage() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qimage.html - * $ONELINER$ - * Creates a new QImage object. - * $INHERITS$ - * - * $SYNTAX$ - * QImage( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QImage - * $METHODS$ - * :allGray() -> lBool - * :alphaChannel() -> oQImage - * :bits() -> cUchar - * :bytesPerLine() -> nInt - * :cacheKey() -> nQint64 - * :color( nI ) -> nQRgb - * :convertToFormat( nFormat, nFlags ) -> oQImage - * :copy( oQRect ) -> oQImage - * :copy( nX, nY, nWidth, nHeight ) -> oQImage - * :createAlphaMask( nFlags ) -> oQImage - * :createHeuristicMask( lClipTight ) -> oQImage - * :createMaskFromColor( nColor, nMode ) -> oQImage - * :depth() -> nInt - * :dotsPerMeterX() -> nInt - * :dotsPerMeterY() -> nInt - * :fill( nPixelValue ) -> NIL - * :format() -> nFormat - * :hasAlphaChannel() -> lBool - * :height() -> nInt - * :invertPixels( nMode ) -> NIL - * :isGrayscale() -> lBool - * :isNull() -> lBool - * :load( cFileName, cFormat ) -> lBool - * :load( oQIODevice, cFormat ) -> lBool - * :loadFromData( oQByteArray, cFormat ) -> lBool - * :mirrored( lHorizontal, lVertical ) -> oQImage - * :numBytes() -> nInt - * :numColors() -> nInt - * :offset() -> oQPoint - * :pixel( oQPoint ) -> nQRgb - * :pixel( nX, nY ) -> nQRgb - * :pixelIndex( oQPoint ) -> nInt - * :pixelIndex( nX, nY ) -> nInt - * :rect() -> oQRect - * :rgbSwapped() -> oQImage - * :save( cFileName, cFormat, nQuality ) -> lBool - * :save( oQIODevice, cFormat, nQuality ) -> lBool - * :scaled( oQSize, nAspectRatioMode, nTransformMode ) -> oQImage - * :scaled( nWidth, nHeight, nAspectRatioMode, nTransformMode ) -> oQImage - * :scaledToHeight( nHeight, nMode ) -> oQImage - * :scaledToWidth( nWidth, nMode ) -> oQImage - * :scanLine( nI ) -> cUchar - * :setColor( nIndex, nColorValue ) -> NIL - * :setDotsPerMeterX( nX ) -> NIL - * :setDotsPerMeterY( nY ) -> NIL - * :setNumColors( nNumColors ) -> NIL - * :setOffset( oQPoint ) -> NIL - * :setPixel( oQPoint, nIndex_or_rgb ) -> NIL - * :setPixel( nX, nY, nIndex_or_rgb ) -> NIL - * :setText( cKey, cText ) -> NIL - * :size() -> oQSize - * :text( cKey ) -> cQString - * :textKeys() -> oQStringList - * :transformed( oQMatrix, nMode ) -> oQImage - * :transformed( oQTransform, nMode ) -> oQImage - * :valid( oQPoint ) -> lBool - * :valid( nX, nY ) -> lBool - * :width() -> nInt - * - * $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/TQImage.prg - * C++ wrappers : contrib/hbqt/qtgui/QImage.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt deleted file mode 100644 index dd2f07527f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagereader.txt +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QImageReader() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qimagereader.html - * $ONELINER$ - * Creates a new QImageReader object. - * $INHERITS$ - * - * $SYNTAX$ - * QImageReader( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QImageReader - * $METHODS$ - * :autoDetectImageFormat() -> lBool - * :backgroundColor() -> oQColor - * :canRead() -> lBool - * :clipRect() -> oQRect - * :currentImageNumber() -> nInt - * :currentImageRect() -> oQRect - * :device() -> oQIODevice - * :error() -> nImageReaderError - * :errorString() -> cQString - * :fileName() -> cQString - * :format() -> oQByteArray - * :imageCount() -> nInt - * :imageFormat() -> nQImage_Format - * :jumpToImage( nImageNumber ) -> lBool - * :jumpToNextImage() -> lBool - * :loopCount() -> nInt - * :nextImageDelay() -> nInt - * :quality() -> nInt - * :read() -> oQImage - * :read( oQImage ) -> lBool - * :scaledClipRect() -> oQRect - * :scaledSize() -> oQSize - * :setAutoDetectImageFormat( lEnabled ) -> NIL - * :setBackgroundColor( oQColor ) -> NIL - * :setClipRect( oQRect ) -> NIL - * :setDevice( oQIODevice ) -> NIL - * :setFileName( cFileName ) -> NIL - * :setFormat( oQByteArray ) -> NIL - * :setQuality( nQuality ) -> NIL - * :setScaledClipRect( oQRect ) -> NIL - * :setScaledSize( oQSize ) -> NIL - * :size() -> oQSize - * :supportsAnimation() -> lBool - * :supportsOption( nOption ) -> lBool - * :text( cKey ) -> cQString - * :textKeys() -> oQStringList - * :imageFormat( cFileName ) -> oQByteArray - * :imageFormat( oQIODevice ) -> oQByteArray - * :supportedImageFormats() -> oQList_QByteArray> - * - * $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/TQImageReader.prg - * C++ wrappers : contrib/hbqt/qtgui/QImageReader.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt deleted file mode 100644 index d3258dda30..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qimagewriter.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QImageWriter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qimagewriter.html - * $ONELINER$ - * Creates a new QImageWriter object. - * $INHERITS$ - * - * $SYNTAX$ - * QImageWriter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QImageWriter - * $METHODS$ - * :canWrite() -> lBool - * :compression() -> nInt - * :device() -> oQIODevice - * :error() -> nImageWriterError - * :errorString() -> cQString - * :fileName() -> cQString - * :format() -> oQByteArray - * :gamma() -> nFloat - * :quality() -> nInt - * :setCompression( nCompression ) -> NIL - * :setDevice( oQIODevice ) -> NIL - * :setFileName( cFileName ) -> NIL - * :setFormat( oQByteArray ) -> NIL - * :setGamma( nGamma ) -> NIL - * :setQuality( nQuality ) -> NIL - * :setText( cKey, cText ) -> NIL - * :supportsOption( nOption ) -> lBool - * :write( oQImage ) -> lBool - * :supportedImageFormats() -> oQList_QByteArray> - * - * $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/TQImageWriter.prg - * C++ wrappers : contrib/hbqt/qtgui/QImageWriter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt deleted file mode 100644 index 6d6e2775aa..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputdialog.txt +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QInputDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qinputdialog.html - * $ONELINER$ - * Creates a new QInputDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QInputDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QInputDialog - * $METHODS$ - * :cancelButtonText() -> cQString - * :comboBoxItems() -> oQStringList - * :done( nResult ) -> NIL - * :doubleDecimals() -> nInt - * :doubleMaximum() -> nDouble - * :doubleMinimum() -> nDouble - * :doubleValue() -> nDouble - * :inputMode() -> nInputMode - * :intMaximum() -> nInt - * :intMinimum() -> nInt - * :intStep() -> nInt - * :intValue() -> nInt - * :isComboBoxEditable() -> lBool - * :labelText() -> cQString - * :okButtonText() -> cQString - * :open( oQObject, cMember ) -> NIL - * :options() -> nInputDialogOptions - * :setCancelButtonText( cText ) -> NIL - * :setComboBoxEditable( lEditable ) -> NIL - * :setComboBoxItems( oQStringList ) -> NIL - * :setDoubleDecimals( nDecimals ) -> NIL - * :setDoubleMaximum( nMax ) -> NIL - * :setDoubleMinimum( nMin ) -> NIL - * :setDoubleRange( nMin, nMax ) -> NIL - * :setDoubleValue( nValue ) -> NIL - * :setInputMode( nMode ) -> NIL - * :setIntMaximum( nMax ) -> NIL - * :setIntMinimum( nMin ) -> NIL - * :setIntRange( nMin, nMax ) -> NIL - * :setIntStep( nStep ) -> NIL - * :setIntValue( nValue ) -> NIL - * :setLabelText( cText ) -> NIL - * :setOkButtonText( cText ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :setTextEchoMode( nMode ) -> NIL - * :setTextValue( cText ) -> NIL - * :testOption( nOption ) -> lBool - * :textEchoMode() -> nQLineEdit_EchoMode - * :textValue() -> cQString - * :getDouble( oQWidget, cTitle, cLabel, nValue, nMin, nMax, nDecimals, @lOk, nFlags ) -> nDouble - * :getInt( oQWidget, cTitle, cLabel, nValue, nMin, nMax, nStep, @lOk, nFlags ) -> nInt - * :getItem( oQWidget, cTitle, cLabel, oQStringList, nCurrent, lEditable, @lOk, nFlags ) -> cQString - * :getText( oQWidget, cTitle, cLabel, nMode, cText, @lOk, nFlags ) -> cQString - * - * $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/TQInputDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QInputDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt deleted file mode 100644 index 14e2a17e84..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputevent.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QInputEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qinputevent.html - * $ONELINER$ - * Creates a new QInputEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QInputEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QInputEvent - * $METHODS$ - * :modifiers() -> nQt_KeyboardModifiers - * - * $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/TQInputEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QInputEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt deleted file mode 100644 index daa1ac7b68..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qinputmethodevent.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QInputMethodEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qinputmethodevent.html - * $ONELINER$ - * Creates a new QInputMethodEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QInputMethodEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QInputMethodEvent - * $METHODS$ - * :commitString() -> cQString - * :preeditString() -> cQString - * :replacementLength() -> nInt - * :replacementStart() -> nInt - * :setCommitString( cCommitString, nReplaceFrom, nReplaceLength ) -> 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/TQInputMethodEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QInputMethodEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt deleted file mode 100644 index 43ee2dc9e3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QIntValidator() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qintvalidator.html - * $ONELINER$ - * Creates a new QIntValidator object. - * $INHERITS$ - * QValidator - * $SYNTAX$ - * QIntValidator( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QIntValidator - * $METHODS$ - * :bottom() -> nInt - * :setBottom( nInt ) -> NIL - * :setRange( nBottom, nTop ) -> NIL - * :setTop( nInt ) -> NIL - * :top() -> nInt - * - * $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/TQIntValidator.prg - * C++ wrappers : contrib/hbqt/qtgui/QIntValidator.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt deleted file mode 100644 index fb380c02b7..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemdelegate.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QItemDelegate() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qitemdelegate.html - * $ONELINER$ - * Creates a new QItemDelegate object. - * $INHERITS$ - * QAbstractItemDelegate - * $SYNTAX$ - * QItemDelegate( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QItemDelegate - * $METHODS$ - * :hasClipping() -> lBool - * :itemEditorFactory() -> oQItemEditorFactory - * :setClipping( lClip ) -> NIL - * :setItemEditorFactory( oQItemEditorFactory ) -> NIL - * :createEditor( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> oQWidget - * :paint( oQPainter, oQStyleOptionViewItem, oQModelIndex ) -> NIL - * :setEditorData( oQWidget, oQModelIndex ) -> NIL - * :setModelData( oQWidget, oQAbstractItemModel, oQModelIndex ) -> NIL - * :sizeHint( oQStyleOptionViewItem, oQModelIndex ) -> oQSize - * :updateEditorGeometry( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> 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/TQItemDelegate.prg - * C++ wrappers : contrib/hbqt/qtgui/QItemDelegate.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt deleted file mode 100644 index d691a8f300..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorcreatorbase.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QItemEditorCreatorBase() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qitemeditorcreatorbase.html - * $ONELINER$ - * Creates a new QItemEditorCreatorBase object. - * $INHERITS$ - * - * $SYNTAX$ - * QItemEditorCreatorBase( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QItemEditorCreatorBase - * $METHODS$ - * :createWidget( oQWidget ) -> oQWidget - * :valuePropertyName() -> oQByteArray - * - * $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/TQItemEditorCreatorBase.prg - * C++ wrappers : contrib/hbqt/qtgui/QItemEditorCreatorBase.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt deleted file mode 100644 index db97a2abf5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemeditorfactory.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QItemEditorFactory() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qitemeditorfactory.html - * $ONELINER$ - * Creates a new QItemEditorFactory object. - * $INHERITS$ - * - * $SYNTAX$ - * QItemEditorFactory( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QItemEditorFactory - * $METHODS$ - * :createEditor( nType, oQWidget ) -> oQWidget - * :registerEditor( nType, oQItemEditorCreatorBase ) -> NIL - * :valuePropertyName( nType ) -> oQByteArray - * :setDefaultFactory( oQItemEditorFactory ) -> 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/TQItemEditorFactory.prg - * C++ wrappers : contrib/hbqt/qtgui/QItemEditorFactory.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt deleted file mode 100644 index a720c50494..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselection.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QItemSelection() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qitemselection.html - * $ONELINER$ - * Creates a new QItemSelection object. - * $INHERITS$ - * QList - * $SYNTAX$ - * QItemSelection( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QItemSelection - * $METHODS$ - * :contains( oQModelIndex ) -> lBool - * :merge( oQItemSelection, nCommand ) -> NIL - * :select( oQModelIndex, oQModelIndex ) -> 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/TQItemSelection.prg - * C++ wrappers : contrib/hbqt/qtgui/QItemSelection.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt deleted file mode 100644 index 006ceb5c97..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qitemselectionmodel.txt +++ /dev/null @@ -1,63 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QItemSelectionModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qitemselectionmodel.html - * $ONELINER$ - * Creates a new QItemSelectionModel object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QItemSelectionModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QItemSelectionModel - * $METHODS$ - * :columnIntersectsSelection( nColumn, oQModelIndex ) -> lBool - * :currentIndex() -> oQModelIndex - * :hasSelection() -> lBool - * :isColumnSelected( nColumn, oQModelIndex ) -> lBool - * :isRowSelected( nRow, oQModelIndex ) -> lBool - * :isSelected( oQModelIndex ) -> lBool - * :model() -> oQAbstractItemModel - * :rowIntersectsSelection( nRow, oQModelIndex ) -> lBool - * :selection() -> oQItemSelection - * :clear() -> NIL - * :clearSelection() -> NIL - * :reset() -> NIL - * :select( oQModelIndex, nCommand ) -> NIL - * :select( oQItemSelection, nCommand ) -> NIL - * :setCurrentIndex( oQModelIndex, nCommand ) -> 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/TQItemSelectionModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QItemSelectionModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt deleted file mode 100644 index 1b4cac834d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeyevent.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QKeyEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qkeyevent.html - * $ONELINER$ - * Creates a new QKeyEvent object. - * $INHERITS$ - * QInputEvent - * $SYNTAX$ - * QKeyEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QKeyEvent - * $METHODS$ - * :count() -> nInt - * :isAutoRepeat() -> lBool - * :key() -> nInt - * :matches( nKey ) -> lBool - * :modifiers() -> nQt_KeyboardModifiers - * :nativeModifiers() -> nQuint32 - * :nativeScanCode() -> nQuint32 - * :nativeVirtualKey() -> nQuint32 - * :text() -> cQString - * - * $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/TQKeyEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QKeyEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt deleted file mode 100644 index 2fa107bb0c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qkeysequence.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QKeySequence() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qkeysequence.html - * $ONELINER$ - * Creates a new QKeySequence object. - * $INHERITS$ - * - * $SYNTAX$ - * QKeySequence( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QKeySequence - * $METHODS$ - * :count() -> nUint - * :isEmpty() -> lBool - * :matches( oQKeySequence ) -> nSequenceMatch - * :toString( nFormat ) -> cQString - * :fromString( cStr, nFormat ) -> oQKeySequence - * :keyBindings( nKey ) -> oQList_QKeySequence> - * :mnemonic( cText ) -> oQKeySequence - * - * $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/TQKeySequence.prg - * C++ wrappers : contrib/hbqt/qtgui/QKeySequence.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt deleted file mode 100644 index 8bc1e86e06..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlabel.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLabel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlabel.html - * $ONELINER$ - * Creates a new QLabel object. - * $INHERITS$ - * QFrame - * $SYNTAX$ - * QLabel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLabel - * $METHODS$ - * :alignment() -> nQt_Alignment - * :buddy() -> oQWidget - * :hasScaledContents() -> lBool - * :indent() -> nInt - * :margin() -> nInt - * :movie() -> oQMovie - * :openExternalLinks() -> lBool - * :picture() -> oQPicture - * :pixmap() -> oQPixmap - * :setAlignment( nQt::Alignment ) -> NIL - * :setBuddy( oQWidget ) -> NIL - * :setIndent( nInt ) -> NIL - * :setMargin( nInt ) -> NIL - * :setOpenExternalLinks( lOpen ) -> NIL - * :setScaledContents( lBool ) -> NIL - * :setTextFormat( nQt::TextFormat ) -> NIL - * :setTextInteractionFlags( nFlags ) -> NIL - * :setWordWrap( lOn ) -> NIL - * :text() -> cQString - * :textFormat() -> nQt_TextFormat - * :textInteractionFlags() -> nQt_TextInteractionFlags - * :wordWrap() -> lBool - * :clear() -> NIL - * :setMovie( oQMovie ) -> NIL - * :setNum( nNum ) -> NIL - * :setNum( nNum ) -> NIL - * :setPicture( oQPicture ) -> NIL - * :setPixmap( oQPixmap ) -> NIL - * :setText( cQString ) -> 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/TQLabel.prg - * C++ wrappers : contrib/hbqt/qtgui/QLabel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt deleted file mode 100644 index 69927fb4ab..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayout.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlayout.html - * $ONELINER$ - * Creates a new QLayout object. - * $INHERITS$ - * QObject, QLayoutItem - * $SYNTAX$ - * QLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLayout - * $METHODS$ - * :activate() -> lBool - * :addItem( oQLayoutItem ) -> NIL - * :addWidget( oQWidget ) -> NIL - * :contentsRect() -> oQRect - * :count() -> nInt - * :expandingDirections() -> nQt_Orientations - * :getContentsMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - * :indexOf( oQWidget ) -> nInt - * :isEnabled() -> lBool - * :itemAt( nIndex ) -> oQLayoutItem - * :maximumSize() -> oQSize - * :menuBar() -> oQWidget - * :minimumSize() -> oQSize - * :parentWidget() -> oQWidget - * :removeItem( oQLayoutItem ) -> NIL - * :removeWidget( oQWidget ) -> NIL - * :setAlignment( oQWidget, nAlignment ) -> lBool - * :setAlignment( nAlignment ) -> NIL - * :setAlignment( oQLayout, nAlignment ) -> lBool - * :setContentsMargins( nLeft, nTop, nRight, nBottom ) -> NIL - * :setEnabled( lEnable ) -> NIL - * :setMenuBar( oQWidget ) -> NIL - * :setSizeConstraint( nSizeConstraint ) -> NIL - * :setSpacing( nInt ) -> NIL - * :sizeConstraint() -> nSizeConstraint - * :spacing() -> nInt - * :takeAt( nIndex ) -> oQLayoutItem - * :update() -> NIL - * :closestAcceptableSize( oQWidget, oQSize ) -> oQSize - * - * $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/TQLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt deleted file mode 100644 index 2cbc692685..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlayoutitem.txt +++ /dev/null @@ -1,65 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLayoutItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlayoutitem.html - * $ONELINER$ - * Creates a new QLayoutItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QLayoutItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLayoutItem - * $METHODS$ - * :alignment() -> nQt_Alignment - * :controlTypes() -> nQSizePolicy_ControlTypes - * :expandingDirections() -> nQt_Orientations - * :geometry() -> oQRect - * :hasHeightForWidth() -> lBool - * :heightForWidth( nW ) -> nInt - * :invalidate() -> NIL - * :isEmpty() -> lBool - * :layout() -> oQLayout - * :maximumSize() -> oQSize - * :minimumHeightForWidth( nW ) -> nInt - * :minimumSize() -> oQSize - * :setAlignment( nAlignment ) -> NIL - * :setGeometry( oQRect ) -> NIL - * :sizeHint() -> oQSize - * :spacerItem() -> oQSpacerItem - * :widget() -> oQWidget - * - * $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/TQLayoutItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QLayoutItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt deleted file mode 100644 index 5e160c18ab..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlcdnumber.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLCDNumber() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlcdnumber.html - * $ONELINER$ - * Creates a new QLCDNumber object. - * $INHERITS$ - * QFrame - * $SYNTAX$ - * QLCDNumber( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLCDNumber - * $METHODS$ - * :checkOverflow( nNum ) -> lBool - * :checkOverflow( nNum ) -> lBool - * :intValue() -> nInt - * :mode() -> nMode - * :numDigits() -> nInt - * :segmentStyle() -> nSegmentStyle - * :setMode( nMode ) -> NIL - * :setNumDigits( nNDigits ) -> NIL - * :setSegmentStyle( nSegmentStyle ) -> NIL - * :smallDecimalPoint() -> lBool - * :value() -> nDouble - * :display( cS ) -> NIL - * :display( nNum ) -> NIL - * :display( nNum ) -> NIL - * :setBinMode() -> NIL - * :setDecMode() -> NIL - * :setHexMode() -> NIL - * :setOctMode() -> NIL - * :setSmallDecimalPoint( lBool ) -> 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/TQLCDNumber.prg - * C++ wrappers : contrib/hbqt/qtgui/QLCDNumber.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt deleted file mode 100644 index 7ff50dd1e2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineargradient.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLinearGradient() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlineargradient.html - * $ONELINER$ - * Creates a new QLinearGradient object. - * $INHERITS$ - * QGradient - * $SYNTAX$ - * QLinearGradient( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLinearGradient - * $METHODS$ - * :finalStop() -> oQPointF - * :setFinalStop( oQPointF ) -> NIL - * :setFinalStop( nX, nY ) -> NIL - * :setStart( oQPointF ) -> NIL - * :setStart( nX, nY ) -> NIL - * :start() -> oQPointF - * - * $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/TQLinearGradient.prg - * C++ wrappers : contrib/hbqt/qtgui/QLinearGradient.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt deleted file mode 100644 index cda9ae5fbb..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlineedit.txt +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QLineEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlineedit.html - * $ONELINER$ - * Creates a new QLineEdit object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QLineEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QLineEdit - * $METHODS$ - * :alignment() -> nQt_Alignment - * :backspace() -> NIL - * :completer() -> oQCompleter - * :createStandardContextMenu() -> oQMenu - * :cursorBackward( lMark, nSteps ) -> NIL - * :cursorForward( lMark, nSteps ) -> NIL - * :cursorPosition() -> nInt - * :cursorPositionAt( oQPoint ) -> nInt - * :cursorWordBackward( lMark ) -> NIL - * :cursorWordForward( lMark ) -> NIL - * :del() -> NIL - * :deselect() -> NIL - * :displayText() -> cQString - * :dragEnabled() -> lBool - * :echoMode() -> nEchoMode - * :end( lMark ) -> NIL - * :getTextMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - * :hasAcceptableInput() -> lBool - * :hasFrame() -> lBool - * :hasSelectedText() -> lBool - * :home( lMark ) -> NIL - * :inputMask() -> cQString - * :insert( cNewText ) -> NIL - * :isModified() -> lBool - * :isReadOnly() -> lBool - * :isRedoAvailable() -> lBool - * :isUndoAvailable() -> lBool - * :maxLength() -> nInt - * :minimumSizeHint() -> oQSize - * :selectedText() -> cQString - * :selectionStart() -> nInt - * :setAlignment( nFlag ) -> NIL - * :setCompleter( oQCompleter ) -> NIL - * :setCursorPosition( nInt ) -> NIL - * :setDragEnabled( lB ) -> NIL - * :setEchoMode( nEchoMode ) -> NIL - * :setFrame( lBool ) -> NIL - * :setInputMask( cInputMask ) -> NIL - * :setMaxLength( nInt ) -> NIL - * :setModified( lBool ) -> NIL - * :setReadOnly( lBool ) -> NIL - * :setSelection( nStart, nLength ) -> NIL - * :setTextMargins( nLeft, nTop, nRight, nBottom ) -> NIL - * :setValidator( oQValidator ) -> NIL - * :sizeHint() -> oQSize - * :text() -> cQString - * :validator() -> oQValidator - * :clear() -> NIL - * :copy() -> NIL - * :cut() -> NIL - * :paste() -> NIL - * :redo() -> NIL - * :selectAll() -> NIL - * :setText( cQString ) -> NIL - * :undo() -> 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/TQLineEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/QLineEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt deleted file mode 100644 index fc93b1b38d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistview.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QListView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlistview.html - * $ONELINER$ - * Creates a new QListView object. - * $INHERITS$ - * QAbstractItemView - * $SYNTAX$ - * QListView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QListView - * $METHODS$ - * :batchSize() -> nInt - * :clearPropertyFlags() -> NIL - * :flow() -> nFlow - * :gridSize() -> oQSize - * :isRowHidden( nRow ) -> lBool - * :isSelectionRectVisible() -> lBool - * :isWrapping() -> lBool - * :layoutMode() -> nLayoutMode - * :modelColumn() -> nInt - * :movement() -> nMovement - * :resizeMode() -> nResizeMode - * :setBatchSize( nBatchSize ) -> NIL - * :setFlow( nFlow ) -> NIL - * :setGridSize( oQSize ) -> NIL - * :setLayoutMode( nMode ) -> NIL - * :setModelColumn( nColumn ) -> NIL - * :setMovement( nMovement ) -> NIL - * :setResizeMode( nMode ) -> NIL - * :setRowHidden( nRow, lHide ) -> NIL - * :setSelectionRectVisible( lShow ) -> NIL - * :setSpacing( nSpace ) -> NIL - * :setUniformItemSizes( lEnable ) -> NIL - * :setViewMode( nMode ) -> NIL - * :setWordWrap( lOn ) -> NIL - * :setWrapping( lEnable ) -> NIL - * :spacing() -> nInt - * :uniformItemSizes() -> lBool - * :viewMode() -> nViewMode - * :wordWrap() -> lBool - * - * $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/TQListView.prg - * C++ wrappers : contrib/hbqt/qtgui/QListView.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt deleted file mode 100644 index 42bc898c1f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidget.txt +++ /dev/null @@ -1,80 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QListWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlistwidget.html - * $ONELINER$ - * Creates a new QListWidget object. - * $INHERITS$ - * QListView - * $SYNTAX$ - * QListWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QListWidget - * $METHODS$ - * :addItem( cLabel ) -> NIL - * :addItem( oQListWidgetItem ) -> NIL - * :addItems( oQStringList ) -> NIL - * :closePersistentEditor( oQListWidgetItem ) -> NIL - * :count() -> nInt - * :currentItem() -> oQListWidgetItem - * :currentRow() -> nInt - * :editItem( oQListWidgetItem ) -> NIL - * :findItems( cText, nFlags ) -> oQList_QListWidgetItem - * :insertItem( nRow, oQListWidgetItem ) -> NIL - * :insertItem( nRow, cLabel ) -> NIL - * :insertItems( nRow, oQStringList ) -> NIL - * :isSortingEnabled() -> lBool - * :item( nRow ) -> oQListWidgetItem - * :itemAt( oQPoint ) -> oQListWidgetItem - * :itemAt( nX, nY ) -> oQListWidgetItem - * :itemWidget( oQListWidgetItem ) -> oQWidget - * :openPersistentEditor( oQListWidgetItem ) -> NIL - * :removeItemWidget( oQListWidgetItem ) -> NIL - * :row( oQListWidgetItem ) -> nInt - * :selectedItems() -> oQList_QListWidgetItem - * :setCurrentItem( oQListWidgetItem ) -> NIL - * :setCurrentItem( oQListWidgetItem, nCommand ) -> NIL - * :setCurrentRow( nRow ) -> NIL - * :setCurrentRow( nRow, nCommand ) -> NIL - * :setItemWidget( oQListWidgetItem, oQWidget ) -> NIL - * :setSortingEnabled( lEnable ) -> NIL - * :sortItems( nOrder ) -> NIL - * :takeItem( nRow ) -> oQListWidgetItem - * :visualItemRect( oQListWidgetItem ) -> oQRect - * :clear() -> NIL - * :scrollToItem( oQListWidgetItem, nHint ) -> 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/TQListWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QListWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt deleted file mode 100644 index ee598a8eb5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qlistwidgetitem.txt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QListWidgetItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qlistwidgetitem.html - * $ONELINER$ - * Creates a new QListWidgetItem object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QListWidgetItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QListWidgetItem - * $METHODS$ - * :background() -> oQBrush - * :checkState() -> nQt_CheckState - * :clone() -> oQListWidgetItem - * :data( nRole ) -> oQVariant - * :flags() -> nQt_ItemFlags - * :font() -> oQFont - * :foreground() -> oQBrush - * :icon() -> oQIcon - * :isHidden() -> lBool - * :isSelected() -> lBool - * :listWidget() -> oQListWidget - * :read( oQDataStream ) -> NIL - * :setBackground( oQBrush ) -> NIL - * :setCheckState( nState ) -> NIL - * :setData( nRole, oQVariant ) -> NIL - * :setFlags( nFlags ) -> NIL - * :setFont( oQFont ) -> NIL - * :setForeground( oQBrush ) -> NIL - * :setHidden( lHide ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setSelected( lSelect ) -> NIL - * :setSizeHint( oQSize ) -> NIL - * :setStatusTip( cStatusTip ) -> NIL - * :setText( cText ) -> NIL - * :setTextAlignment( nAlignment ) -> NIL - * :setToolTip( cToolTip ) -> NIL - * :setWhatsThis( cWhatsThis ) -> NIL - * :sizeHint() -> oQSize - * :statusTip() -> cQString - * :text() -> cQString - * :textAlignment() -> nInt - * :toolTip() -> cQString - * :type() -> nInt - * :whatsThis() -> cQString - * :write( oQDataStream ) -> 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/TQListWidgetItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QListWidgetItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt deleted file mode 100644 index 4779271921..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMainWindow() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmainwindow.html - * $ONELINER$ - * Creates a new QMainWindow object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QMainWindow( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMainWindow - * $METHODS$ - * :addDockWidget( nArea, oQDockWidget ) -> NIL - * :addDockWidget( nArea, oQDockWidget, nOrientation ) -> NIL - * :addToolBar( nArea, oQToolBar ) -> NIL - * :addToolBar( oQToolBar ) -> NIL - * :addToolBar( cTitle ) -> oQToolBar - * :addToolBarBreak( nArea ) -> NIL - * :centralWidget() -> oQWidget - * :corner( nCorner ) -> nQt_DockWidgetArea - * :createPopupMenu() -> oQMenu - * :dockOptions() -> nDockOptions - * :dockWidgetArea( oQDockWidget ) -> nQt_DockWidgetArea - * :documentMode() -> lBool - * :iconSize() -> oQSize - * :insertToolBar( oQToolBar, oQToolBar ) -> NIL - * :insertToolBarBreak( oQToolBar ) -> NIL - * :isAnimated() -> lBool - * :isDockNestingEnabled() -> lBool - * :menuBar() -> oQMenuBar - * :menuWidget() -> oQWidget - * :removeDockWidget( oQDockWidget ) -> NIL - * :removeToolBar( oQToolBar ) -> NIL - * :removeToolBarBreak( oQToolBar ) -> NIL - * :restoreDockWidget( oQDockWidget ) -> lBool - * :restoreState( oQByteArray, nVersion ) -> lBool - * :saveState( nVersion ) -> oQByteArray - * :setCentralWidget( oQWidget ) -> NIL - * :setCorner( nCorner, nArea ) -> NIL - * :setDockOptions( nOptions ) -> NIL - * :setDocumentMode( lEnabled ) -> NIL - * :setIconSize( oQSize ) -> NIL - * :setMenuBar( oQMenuBar ) -> NIL - * :setMenuWidget( oQWidget ) -> NIL - * :setStatusBar( oQStatusBar ) -> NIL - * :setTabPosition( nAreas, nTabPosition ) -> NIL - * :setTabShape( nTabShape ) -> NIL - * :setToolButtonStyle( nToolButtonStyle ) -> NIL - * :setUnifiedTitleAndToolBarOnMac( lSet ) -> NIL - * :splitDockWidget( oQDockWidget, oQDockWidget, nOrientation ) -> NIL - * :statusBar() -> oQStatusBar - * :tabPosition( nArea ) -> nQTabWidget_TabPosition - * :tabShape() -> nQTabWidget_TabShape - * :tabifiedDockWidgets( oQDockWidget ) -> oQList_QDockWidget - * :tabifyDockWidget( oQDockWidget, oQDockWidget ) -> NIL - * :toolBarArea( oQToolBar ) -> nQt_ToolBarArea - * :toolBarBreak( oQToolBar ) -> lBool - * :toolButtonStyle() -> nQt_ToolButtonStyle - * :unifiedTitleAndToolBarOnMac() -> lBool - * :setAnimated( lEnabled ) -> NIL - * :setDockNestingEnabled( lEnabled ) -> 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/TQMainWindow.prg - * C++ wrappers : contrib/hbqt/qtgui/QMainWindow.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt deleted file mode 100644 index 3cde2d8f38..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmatrix.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMatrix() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmatrix.html - * $ONELINER$ - * Creates a new QMatrix object. - * $INHERITS$ - * - * $SYNTAX$ - * QMatrix( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMatrix - * $METHODS$ - * :m11() -> nQreal - * :m12() -> nQreal - * :m21() -> nQreal - * :m22() -> nQreal - * :det() -> nQreal - * :dx() -> nQreal - * :dy() -> nQreal - * :inverted( @lInvertible ) -> oQMatrix - * :isIdentity() -> lBool - * :isInvertible() -> lBool - * :map( nX, nY, @nTx, @nTy ) -> NIL - * :map( nX, nY, @nTx, @nTy ) -> NIL - * :map( oQPointF ) -> oQPointF - * :map( oQPoint ) -> oQPoint - * :map( oQLineF ) -> oQLineF - * :map( oQLine ) -> oQLine - * :map( oQPolygonF ) -> oQPolygonF - * :map( oQPolygon ) -> oQPolygon - * :map( oQRegion ) -> oQRegion - * :map( oQPainterPath ) -> oQPainterPath - * :mapRect( oQRectF ) -> oQRectF - * :mapRect( oQRect ) -> oQRect - * :mapToPolygon( oQRect ) -> oQPolygon - * :reset() -> NIL - * :rotate( nDegrees ) -> oQMatrix - * :scale( nSx, nSy ) -> oQMatrix - * :setMatrix( nM11, nM12, nM21, nM22, nDx, nDy ) -> NIL - * :shear( nSh, nSv ) -> oQMatrix - * :translate( nDx, nDy ) -> oQMatrix - * - * $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/TQMatrix.prg - * C++ wrappers : contrib/hbqt/qtgui/QMatrix.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt deleted file mode 100644 index 2ba7ae3c9a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdiarea.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMdiArea() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmdiarea.html - * $ONELINER$ - * Creates a new QMdiArea object. - * $INHERITS$ - * QAbstractScrollArea - * $SYNTAX$ - * QMdiArea( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMdiArea - * $METHODS$ - * :activationOrder() -> nWindowOrder - * :activeSubWindow() -> oQMdiSubWindow - * :addSubWindow( oQWidget, nWindowFlags ) -> oQMdiSubWindow - * :background() -> oQBrush - * :currentSubWindow() -> oQMdiSubWindow - * :documentMode() -> lBool - * :removeSubWindow( oQWidget ) -> NIL - * :setActivationOrder( nOrder ) -> NIL - * :setBackground( oQBrush ) -> NIL - * :setDocumentMode( lEnabled ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setTabPosition( nPosition ) -> NIL - * :setTabShape( nShape ) -> NIL - * :setViewMode( nMode ) -> NIL - * :subWindowList( nOrder ) -> oQList_QMdiSubWindow - * :tabPosition() -> nQTabWidget_TabPosition - * :tabShape() -> nQTabWidget_TabShape - * :testOption( nOption ) -> lBool - * :viewMode() -> nViewMode - * :activateNextSubWindow() -> NIL - * :activatePreviousSubWindow() -> NIL - * :cascadeSubWindows() -> NIL - * :closeActiveSubWindow() -> NIL - * :closeAllSubWindows() -> NIL - * :setActiveSubWindow( oQMdiSubWindow ) -> NIL - * :tileSubWindows() -> 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/TQMdiArea.prg - * C++ wrappers : contrib/hbqt/qtgui/QMdiArea.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt deleted file mode 100644 index 58a29ecf33..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmdisubwindow.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMdiSubWindow() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmdisubwindow.html - * $ONELINER$ - * Creates a new QMdiSubWindow object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QMdiSubWindow( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMdiSubWindow - * $METHODS$ - * :isShaded() -> lBool - * :keyboardPageStep() -> nInt - * :keyboardSingleStep() -> nInt - * :mdiArea() -> oQMdiArea - * :setKeyboardPageStep( nStep ) -> NIL - * :setKeyboardSingleStep( nStep ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setSystemMenu( oQMenu ) -> NIL - * :setWidget( oQWidget ) -> NIL - * :systemMenu() -> oQMenu - * :testOption( nOption ) -> lBool - * :widget() -> oQWidget - * :showShaded() -> NIL - * :showSystemMenu() -> 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/TQMdiSubWindow.prg - * C++ wrappers : contrib/hbqt/qtgui/QMdiSubWindow.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt deleted file mode 100644 index ab4a3aec84..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenu.txt +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMenu() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmenu.html - * $ONELINER$ - * Creates a new QMenu object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QMenu( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMenu - * $METHODS$ - * :actionAt( oQPoint ) -> oQAction - * :actionGeometry( oQAction ) -> oQRect - * :activeAction() -> oQAction - * :addAction( cText ) -> oQAction - * :addAction( coQIcon, cText ) -> oQAction - * :addAction( cText, oQObject, cMember, oQKeySequence ) -> oQAction - * :addAction( coQIcon, cText, oQObject, cMember, oQKeySequence ) -> oQAction - * :addAction( oQAction ) -> NIL - * :addMenu( oQMenu ) -> oQAction - * :addMenu( cTitle ) -> oQMenu - * :addMenu( coQIcon, cTitle ) -> oQMenu - * :addSeparator() -> oQAction - * :clear() -> NIL - * :defaultAction() -> oQAction - * :exec() -> oQAction - * :exec( oQPoint, oQAction ) -> oQAction - * :hideTearOffMenu() -> NIL - * :icon() -> oQIcon - * :insertMenu( oQAction, oQMenu ) -> oQAction - * :insertSeparator( oQAction ) -> oQAction - * :isEmpty() -> lBool - * :isTearOffEnabled() -> lBool - * :isTearOffMenuVisible() -> lBool - * :menuAction() -> oQAction - * :popup( oQPoint, oQAction ) -> NIL - * :separatorsCollapsible() -> lBool - * :setActiveAction( oQAction ) -> NIL - * :setDefaultAction( oQAction ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setSeparatorsCollapsible( lCollapse ) -> NIL - * :setTearOffEnabled( lBool ) -> NIL - * :setTitle( cTitle ) -> NIL - * :title() -> cQString - * - * $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/TQMenu.prg - * C++ wrappers : contrib/hbqt/qtgui/QMenu.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt deleted file mode 100644 index 8fd38c6869..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmenubar.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMenuBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmenubar.html - * $ONELINER$ - * Creates a new QMenuBar object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QMenuBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMenuBar - * $METHODS$ - * :activeAction() -> oQAction - * :addAction( cText ) -> oQAction - * :addAction( cText, oQObject, cMember ) -> oQAction - * :addAction( oQAction ) -> NIL - * :addMenu( oQMenu ) -> oQAction - * :addMenu( cTitle ) -> oQMenu - * :addMenu( coQIcon, cTitle ) -> oQMenu - * :addSeparator() -> oQAction - * :clear() -> NIL - * :insertMenu( oQAction, oQMenu ) -> oQAction - * :insertSeparator( oQAction ) -> oQAction - * :isDefaultUp() -> lBool - * :setActiveAction( oQAction ) -> NIL - * :setDefaultUp( lBool ) -> 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/TQMenuBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QMenuBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt deleted file mode 100644 index cc630048ec..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmessagebox.txt +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMessageBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmessagebox.html - * $ONELINER$ - * Creates a new QMessageBox object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QMessageBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMessageBox - * $METHODS$ - * :addButton( oQAbstractButton, nRole ) -> NIL - * :addButton( cText, nRole ) -> oQPushButton - * :addButton( nButton ) -> oQPushButton - * :button( nWhich ) -> oQAbstractButton - * :buttonRole( oQAbstractButton ) -> nButtonRole - * :buttons() -> oQList_QAbstractButton - * :clickedButton() -> oQAbstractButton - * :defaultButton() -> oQPushButton - * :detailedText() -> cQString - * :escapeButton() -> oQAbstractButton - * :icon() -> nIcon - * :iconPixmap() -> oQPixmap - * :informativeText() -> cQString - * :open( oQObject, cMember ) -> NIL - * :removeButton( oQAbstractButton ) -> NIL - * :setDefaultButton( oQPushButton ) -> NIL - * :setDefaultButton( nButton ) -> NIL - * :setDetailedText( cText ) -> NIL - * :setEscapeButton( oQAbstractButton ) -> NIL - * :setEscapeButton( nButton ) -> NIL - * :setIcon( nIcon ) -> NIL - * :setIconPixmap( oQPixmap ) -> NIL - * :setInformativeText( cText ) -> NIL - * :setStandardButtons( nButtons ) -> NIL - * :setText( cText ) -> NIL - * :setTextFormat( nFormat ) -> NIL - * :setWindowModality( nWindowModality ) -> NIL - * :setWindowTitle( cTitle ) -> NIL - * :standardButton( oQAbstractButton ) -> nStandardButton - * :standardButtons() -> nStandardButtons - * :text() -> cQString - * :textFormat() -> nQt_TextFormat - * :about( oQWidget, cTitle, cText ) -> NIL - * :aboutQt( oQWidget, cTitle ) -> NIL - * :critical( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - * :information( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - * :question( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - * :warning( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - * :exec() -> nInt - * - * $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/TQMessageBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QMessageBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt deleted file mode 100644 index 0ec8728645..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmouseevent.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMouseEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmouseevent.html - * $ONELINER$ - * Creates a new QMouseEvent object. - * $INHERITS$ - * QInputEvent - * $SYNTAX$ - * QMouseEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMouseEvent - * $METHODS$ - * :button() -> nQt_MouseButton - * :buttons() -> nQt_MouseButtons - * :globalPos() -> oQPoint - * :globalX() -> nInt - * :globalY() -> nInt - * :pos() -> oQPoint - * :posF() -> oQPointF - * :x() -> nInt - * :y() -> nInt - * - * $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/TQMouseEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QMouseEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt deleted file mode 100644 index 7d07cd5a1d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmoveevent.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMoveEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmoveevent.html - * $ONELINER$ - * Creates a new QMoveEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QMoveEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMoveEvent - * $METHODS$ - * :oldPos() -> oQPoint - * :pos() -> oQPoint - * - * $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/TQMoveEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QMoveEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt deleted file mode 100644 index 9821642060..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qmovie.txt +++ /dev/null @@ -1,76 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QMovie() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qmovie.html - * $ONELINER$ - * Creates a new QMovie object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QMovie( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QMovie - * $METHODS$ - * :backgroundColor() -> oQColor - * :cacheMode() -> nCacheMode - * :currentFrameNumber() -> nInt - * :currentImage() -> oQImage - * :currentPixmap() -> oQPixmap - * :device() -> oQIODevice - * :fileName() -> cQString - * :format() -> oQByteArray - * :frameCount() -> nInt - * :frameRect() -> oQRect - * :isValid() -> lBool - * :jumpToFrame( nFrameNumber ) -> lBool - * :loopCount() -> nInt - * :nextFrameDelay() -> nInt - * :scaledSize() -> oQSize - * :setBackgroundColor( oQColor ) -> NIL - * :setCacheMode( nMode ) -> NIL - * :setDevice( oQIODevice ) -> NIL - * :setFileName( cFileName ) -> NIL - * :setFormat( oQByteArray ) -> NIL - * :setScaledSize( oQSize ) -> NIL - * :speed() -> nInt - * :state() -> nMovieState - * :jumpToNextFrame() -> lBool - * :setPaused( lPaused ) -> NIL - * :setSpeed( nPercentSpeed ) -> NIL - * :start() -> NIL - * :stop() -> 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/TQMovie.prg - * C++ wrappers : contrib/hbqt/qtgui/QMovie.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt deleted file mode 100644 index 88dea311c1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpagesetupdialog.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPageSetupDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpagesetupdialog.html - * $ONELINER$ - * Creates a new QPageSetupDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QPageSetupDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPageSetupDialog - * $METHODS$ - * :exec() -> nInt - * :open( oQObject, cMember ) -> NIL - * :options() -> nPageSetupDialogOptions - * :printer() -> oQPrinter - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :setVisible( lVisible ) -> NIL - * :testOption( nOption ) -> lBool - * - * $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/TQPageSetupDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QPageSetupDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt deleted file mode 100644 index faa48fd044..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintdevice.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPaintDevice() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpaintdevice.html - * $ONELINER$ - * Creates a new QPaintDevice object. - * $INHERITS$ - * - * $SYNTAX$ - * QPaintDevice( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPaintDevice - * $METHODS$ - * :depth() -> nInt - * :height() -> nInt - * :heightMM() -> nInt - * :logicalDpiX() -> nInt - * :logicalDpiY() -> nInt - * :numColors() -> nInt - * :paintEngine() -> oQPaintEngine - * :paintingActive() -> lBool - * :physicalDpiX() -> nInt - * :physicalDpiY() -> nInt - * :width() -> nInt - * :widthMM() -> nInt - * - * $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/TQPaintDevice.prg - * C++ wrappers : contrib/hbqt/qtgui/QPaintDevice.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt deleted file mode 100644 index 92d1425c87..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintengine.txt +++ /dev/null @@ -1,71 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPaintEngine() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpaintengine.html - * $ONELINER$ - * Creates a new QPaintEngine object. - * $INHERITS$ - * - * $SYNTAX$ - * QPaintEngine( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPaintEngine - * $METHODS$ - * :begin( oQPaintDevice ) -> lBool - * :drawEllipse( oQRectF ) -> NIL - * :drawEllipse( oQRect ) -> NIL - * :drawImage( oQRectF, oQImage, oQRectF, nFlags ) -> NIL - * :drawLines( oQLineF, nLineCount ) -> NIL - * :drawLines( oQLine, nLineCount ) -> NIL - * :drawPath( oQPainterPath ) -> NIL - * :drawPixmap( oQRectF, oQPixmap, oQRectF ) -> NIL - * :drawPoints( oQPointF, nPointCount ) -> NIL - * :drawPoints( oQPoint, nPointCount ) -> NIL - * :drawPolygon( oQPointF, nPointCount, nMode ) -> NIL - * :drawPolygon( oQPoint, nPointCount, nMode ) -> NIL - * :drawRects( oQRectF, nRectCount ) -> NIL - * :drawRects( oQRect, nRectCount ) -> NIL - * :drawTextItem( oQPointF, oQTextItem ) -> NIL - * :drawTiledPixmap( oQRectF, oQPixmap, oQPointF ) -> NIL - * :end() -> lBool - * :hasFeature( nFeature ) -> lBool - * :isActive() -> lBool - * :paintDevice() -> oQPaintDevice - * :painter() -> oQPainter - * :setActive( lState ) -> NIL - * :type() -> nType - * - * $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/TQPaintEngine.prg - * C++ wrappers : contrib/hbqt/qtgui/QPaintEngine.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt deleted file mode 100644 index aefa795733..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainter.txt +++ /dev/null @@ -1,227 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPainter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpainter.html - * $ONELINER$ - * Creates a new QPainter object. - * $INHERITS$ - * - * $SYNTAX$ - * QPainter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPainter - * $METHODS$ - * :background() -> oQBrush - * :backgroundMode() -> nQt_BGMode - * :begin( oQPaintDevice ) -> lBool - * :boundingRect( oQRectF, nFlags, cText ) -> oQRectF - * :boundingRect( oQRect, nFlags, cText ) -> oQRect - * :boundingRect( nX, nY, nW, nH, nFlags, cText ) -> oQRect - * :boundingRect( oQRectF, cText, oQTextOption ) -> oQRectF - * :brush() -> oQBrush - * :brushOrigin() -> oQPoint - * :clipPath() -> oQPainterPath - * :clipRegion() -> oQRegion - * :combinedMatrix() -> oQMatrix - * :combinedTransform() -> oQTransform - * :compositionMode() -> nCompositionMode - * :device() -> oQPaintDevice - * :deviceMatrix() -> oQMatrix - * :deviceTransform() -> oQTransform - * :drawArc( oQRectF, nStartAngle, nSpanAngle ) -> NIL - * :drawArc( oQRect, nStartAngle, nSpanAngle ) -> NIL - * :drawArc( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL - * :drawChord( oQRectF, nStartAngle, nSpanAngle ) -> NIL - * :drawChord( oQRect, nStartAngle, nSpanAngle ) -> NIL - * :drawChord( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL - * :drawConvexPolygon( oQPointF, nPointCount ) -> NIL - * :drawConvexPolygon( oQPoint, nPointCount ) -> NIL - * :drawConvexPolygon( oQPolygonF ) -> NIL - * :drawConvexPolygon( oQPolygon ) -> NIL - * :drawEllipse( oQRectF ) -> NIL - * :drawEllipse( oQRect ) -> NIL - * :drawEllipse( nX, nY, nWidth, nHeight ) -> NIL - * :drawEllipse( oQPointF, nRx, nRy ) -> NIL - * :drawEllipse( oQPoint, nRx, nRy ) -> NIL - * :drawImage( oQRectF, oQImage, oQRectF, nFlags ) -> NIL - * :drawImage( oQRect, oQImage, oQRect, nFlags ) -> NIL - * :drawImage( oQPointF, oQImage ) -> NIL - * :drawImage( oQPoint, oQImage ) -> NIL - * :drawImage( oQPointF, oQImage, oQRectF, nFlags ) -> NIL - * :drawImage( oQPoint, oQImage, oQRect, nFlags ) -> NIL - * :drawImage( oQRectF, oQImage ) -> NIL - * :drawImage( oQRect, oQImage ) -> NIL - * :drawImage( nX, nY, oQImage, nSx, nSy, nSw, nSh, nFlags ) -> NIL - * :drawLine( oQLineF ) -> NIL - * :drawLine( oQLine ) -> NIL - * :drawLine( oQPoint, oQPoint ) -> NIL - * :drawLine( oQPointF, oQPointF ) -> NIL - * :drawLine( nX1, nY1, nX2, nY2 ) -> NIL - * :drawLines( oQLineF, nLineCount ) -> NIL - * :drawLines( oQLine, nLineCount ) -> NIL - * :drawLines( oQPointF, nLineCount ) -> NIL - * :drawLines( oQPoint, nLineCount ) -> NIL - * :drawPath( oQPainterPath ) -> NIL - * :drawPicture( oQPointF, oQPicture ) -> NIL - * :drawPicture( oQPoint, oQPicture ) -> NIL - * :drawPicture( nX, nY, oQPicture ) -> NIL - * :drawPie( oQRectF, nStartAngle, nSpanAngle ) -> NIL - * :drawPie( oQRect, nStartAngle, nSpanAngle ) -> NIL - * :drawPie( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL - * :drawPixmap( oQRectF, oQPixmap, oQRectF ) -> NIL - * :drawPixmap( oQRect, oQPixmap, oQRect ) -> NIL - * :drawPixmap( oQPointF, oQPixmap, oQRectF ) -> NIL - * :drawPixmap( oQPoint, oQPixmap, oQRect ) -> NIL - * :drawPixmap( oQPointF, oQPixmap ) -> NIL - * :drawPixmap( oQPoint, oQPixmap ) -> NIL - * :drawPixmap( nX, nY, oQPixmap ) -> NIL - * :drawPixmap( oQRect, oQPixmap ) -> NIL - * :drawPixmap( nX, nY, nWidth, nHeight, oQPixmap ) -> NIL - * :drawPixmap( nX, nY, nW, nH, oQPixmap, nSx, nSy, nSw, nSh ) -> NIL - * :drawPixmap( nX, nY, oQPixmap, nSx, nSy, nSw, nSh ) -> NIL - * :drawPoint( oQPointF ) -> NIL - * :drawPoint( oQPoint ) -> NIL - * :drawPoint( nX, nY ) -> NIL - * :drawPoints( oQPointF, nPointCount ) -> NIL - * :drawPoints( oQPoint, nPointCount ) -> NIL - * :drawPoints( oQPolygonF ) -> NIL - * :drawPoints( oQPolygon ) -> NIL - * :drawPolygon( oQPointF, nPointCount, nFillRule ) -> NIL - * :drawPolygon( oQPoint, nPointCount, nFillRule ) -> NIL - * :drawPolygon( oQPolygonF, nFillRule ) -> NIL - * :drawPolygon( oQPolygon, nFillRule ) -> NIL - * :drawPolyline( oQPointF, nPointCount ) -> NIL - * :drawPolyline( oQPoint, nPointCount ) -> NIL - * :drawPolyline( oQPolygonF ) -> NIL - * :drawPolyline( oQPolygon ) -> NIL - * :drawRect( oQRectF ) -> NIL - * :drawRect( oQRect ) -> NIL - * :drawRect( nX, nY, nWidth, nHeight ) -> NIL - * :drawRects( oQRectF, nRectCount ) -> NIL - * :drawRects( oQRect, nRectCount ) -> NIL - * :drawRoundedRect( oQRectF, nXRadius, nYRadius, nMode ) -> NIL - * :drawRoundedRect( oQRect, nXRadius, nYRadius, nMode ) -> NIL - * :drawRoundedRect( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) -> NIL - * :drawText( oQPointF, cText ) -> NIL - * :drawText( oQPoint, cText ) -> NIL - * :drawText( oQRectF, nFlags, cText, oQRectF ) -> NIL - * :drawText( oQRect, nFlags, cText, oQRect ) -> NIL - * :drawText( nX, nY, cText ) -> NIL - * :drawText( nX, nY, nWidth, nHeight, nFlags, cText, oQRect ) -> NIL - * :drawText( oQRectF, cText, oQTextOption ) -> NIL - * :drawTiledPixmap( oQRectF, oQPixmap, oQPointF ) -> NIL - * :drawTiledPixmap( oQRect, oQPixmap, oQPoint ) -> NIL - * :drawTiledPixmap( nX, nY, nWidth, nHeight, oQPixmap, nSx, nSy ) -> NIL - * :end() -> lBool - * :eraseRect( oQRectF ) -> NIL - * :eraseRect( oQRect ) -> NIL - * :eraseRect( nX, nY, nWidth, nHeight ) -> NIL - * :fillPath( oQPainterPath, oQBrush ) -> NIL - * :fillRect( oQRectF, oQBrush ) -> NIL - * :fillRect( oQRect, oQBrush ) -> NIL - * :fillRect( oQRect, oQColor ) -> NIL - * :fillRect( oQRectF, oQColor ) -> NIL - * :fillRect( nX, nY, nWidth, nHeight, oQBrush ) -> NIL - * :fillRect( nX, nY, nWidth, nHeight, oQColor ) -> NIL - * :fillRect( nX, nY, nWidth, nHeight, nColor ) -> NIL - * :fillRect( oQRect, nColor ) -> NIL - * :fillRect( oQRectF, nColor ) -> NIL - * :font() -> oQFont - * :fontInfo() -> oQFontInfo - * :fontMetrics() -> oQFontMetrics - * :hasClipping() -> lBool - * :initFrom( oQWidget ) -> NIL - * :isActive() -> lBool - * :layoutDirection() -> nQt_LayoutDirection - * :opacity() -> nQreal - * :paintEngine() -> oQPaintEngine - * :pen() -> oQPen - * :renderHints() -> nRenderHints - * :resetMatrix() -> NIL - * :resetTransform() -> NIL - * :restore() -> NIL - * :rotate( nAngle ) -> NIL - * :save() -> NIL - * :scale( nSx, nSy ) -> NIL - * :setBackground( oQBrush ) -> NIL - * :setBackgroundMode( nMode ) -> NIL - * :setBrush( oQBrush ) -> NIL - * :setBrush( nStyle ) -> NIL - * :setBrushOrigin( oQPointF ) -> NIL - * :setBrushOrigin( oQPoint ) -> NIL - * :setBrushOrigin( nX, nY ) -> NIL - * :setClipPath( oQPainterPath, nOperation ) -> NIL - * :setClipRect( oQRectF, nOperation ) -> NIL - * :setClipRect( nX, nY, nWidth, nHeight, nOperation ) -> NIL - * :setClipRect( oQRect, nOperation ) -> NIL - * :setClipRegion( oQRegion, nOperation ) -> NIL - * :setClipping( lEnable ) -> NIL - * :setCompositionMode( nMode ) -> NIL - * :setFont( oQFont ) -> NIL - * :setLayoutDirection( nDirection ) -> NIL - * :setOpacity( nOpacity ) -> NIL - * :setPen( oQPen ) -> NIL - * :setPen( oQColor ) -> NIL - * :setPen( nStyle ) -> NIL - * :setRenderHint( nHint, lOn ) -> NIL - * :setRenderHints( nHints, lOn ) -> NIL - * :setTransform( oQTransform, lCombine ) -> NIL - * :setViewTransformEnabled( lEnable ) -> NIL - * :setViewport( oQRect ) -> NIL - * :setViewport( nX, nY, nWidth, nHeight ) -> NIL - * :setWindow( oQRect ) -> NIL - * :setWindow( nX, nY, nWidth, nHeight ) -> NIL - * :setWorldMatrix( oQMatrix, lCombine ) -> NIL - * :setWorldMatrixEnabled( lEnable ) -> NIL - * :setWorldTransform( oQTransform, lCombine ) -> NIL - * :shear( nSh, nSv ) -> NIL - * :strokePath( oQPainterPath, oQPen ) -> NIL - * :testRenderHint( nHint ) -> lBool - * :transform() -> oQTransform - * :translate( oQPointF ) -> NIL - * :translate( oQPoint ) -> NIL - * :translate( nDx, nDy ) -> NIL - * :viewTransformEnabled() -> lBool - * :viewport() -> oQRect - * :window() -> oQRect - * :worldMatrix() -> oQMatrix - * :worldMatrixEnabled() -> lBool - * :worldTransform() -> oQTransform - * :redirected( oQPaintDevice, oQPoint ) -> oQPaintDevice - * :restoreRedirected( oQPaintDevice ) -> NIL - * :setRedirected( oQPaintDevice, oQPaintDevice, oQPoint ) -> 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/TQPainter.prg - * C++ wrappers : contrib/hbqt/qtgui/QPainter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt deleted file mode 100644 index 0e21edfb69..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPainterPath() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpainterpath.html - * $ONELINER$ - * Creates a new QPainterPath object. - * $INHERITS$ - * - * $SYNTAX$ - * QPainterPath( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPainterPath - * $METHODS$ - * :addEllipse( oQRectF ) -> NIL - * :addEllipse( nX, nY, nWidth, nHeight ) -> NIL - * :addEllipse( oQPointF, nRx, nRy ) -> NIL - * :addPath( oQPainterPath ) -> NIL - * :addPolygon( oQPolygonF ) -> NIL - * :addRect( oQRectF ) -> NIL - * :addRect( nX, nY, nWidth, nHeight ) -> NIL - * :addRegion( oQRegion ) -> NIL - * :addRoundedRect( oQRectF, nXRadius, nYRadius, nMode ) -> NIL - * :addRoundedRect( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) -> NIL - * :addText( oQPointF, oQFont, cText ) -> NIL - * :addText( nX, nY, oQFont, cText ) -> NIL - * :angleAtPercent( nT ) -> nQreal - * :arcMoveTo( oQRectF, nAngle ) -> NIL - * :arcMoveTo( nX, nY, nWidth, nHeight, nAngle ) -> NIL - * :arcTo( oQRectF, nStartAngle, nSweepLength ) -> NIL - * :arcTo( nX, nY, nWidth, nHeight, nStartAngle, nSweepLength ) -> NIL - * :boundingRect() -> oQRectF - * :closeSubpath() -> NIL - * :connectPath( oQPainterPath ) -> NIL - * :contains( oQPointF ) -> lBool - * :contains( oQRectF ) -> lBool - * :contains( oQPainterPath ) -> lBool - * :controlPointRect() -> oQRectF - * :cubicTo( oQPointF, oQPointF, oQPointF ) -> NIL - * :cubicTo( nC1X, nC1Y, nC2X, nC2Y, nEndPointX, nEndPointY ) -> NIL - * :currentPosition() -> oQPointF - * :elementCount() -> nInt - * :fillRule() -> nQt_FillRule - * :intersected( oQPainterPath ) -> oQPainterPath - * :intersects( oQRectF ) -> lBool - * :intersects( oQPainterPath ) -> lBool - * :isEmpty() -> lBool - * :length() -> nQreal - * :lineTo( oQPointF ) -> NIL - * :lineTo( nX, nY ) -> NIL - * :moveTo( oQPointF ) -> NIL - * :moveTo( nX, nY ) -> NIL - * :percentAtLength( nLen ) -> nQreal - * :pointAtPercent( nT ) -> oQPointF - * :quadTo( oQPointF, oQPointF ) -> NIL - * :quadTo( nCx, nCy, nEndPointX, nEndPointY ) -> NIL - * :setElementPositionAt( nIndex, nX, nY ) -> NIL - * :setFillRule( nFillRule ) -> NIL - * :simplified() -> oQPainterPath - * :slopeAtPercent( nT ) -> nQreal - * :subtracted( oQPainterPath ) -> oQPainterPath - * :toFillPolygon( oQTransform ) -> oQPolygonF - * :toFillPolygon( oQMatrix ) -> oQPolygonF - * :toFillPolygons( oQTransform ) -> oQList_QPolygonF> - * :toFillPolygons( oQMatrix ) -> oQList_QPolygonF> - * :toReversed() -> oQPainterPath - * :toSubpathPolygons( oQTransform ) -> oQList_QPolygonF> - * :toSubpathPolygons( oQMatrix ) -> oQList_QPolygonF> - * :united( oQPainterPath ) -> oQPainterPath - * - * $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/TQPainterPath.prg - * C++ wrappers : contrib/hbqt/qtgui/QPainterPath.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt deleted file mode 100644 index bfb7b231c1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpaintevent.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPaintEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpaintevent.html - * $ONELINER$ - * Creates a new QPaintEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QPaintEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPaintEvent - * $METHODS$ - * :rect() -> oQRect - * :region() -> oQRegion - * - * $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/TQPaintEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QPaintEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt deleted file mode 100644 index 91aedbfc97..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpalette.txt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPalette() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpalette.html - * $ONELINER$ - * Creates a new QPalette object. - * $INHERITS$ - * - * $SYNTAX$ - * QPalette( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPalette - * $METHODS$ - * :alternateBase() -> oQBrush - * :base() -> oQBrush - * :brightText() -> oQBrush - * :brush( nGroup, nRole ) -> oQBrush - * :brush( nRole ) -> oQBrush - * :button() -> oQBrush - * :buttonText() -> oQBrush - * :cacheKey() -> nQint64 - * :color( nGroup, nRole ) -> oQColor - * :color( nRole ) -> oQColor - * :currentColorGroup() -> nColorGroup - * :dark() -> oQBrush - * :highlight() -> oQBrush - * :highlightedText() -> oQBrush - * :isBrushSet( nCg, nCr ) -> lBool - * :isCopyOf( oQPalette ) -> lBool - * :isEqual( nCg1, nCg2 ) -> lBool - * :light() -> oQBrush - * :link() -> oQBrush - * :linkVisited() -> oQBrush - * :mid() -> oQBrush - * :midlight() -> oQBrush - * :resolve( oQPalette ) -> oQPalette - * :setBrush( nRole, oQBrush ) -> NIL - * :setBrush( nGroup, nRole, oQBrush ) -> NIL - * :setColor( nRole, oQColor ) -> NIL - * :setColor( nGroup, nRole, oQColor ) -> NIL - * :setColorGroup( nCg, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush ) -> NIL - * :setCurrentColorGroup( nCg ) -> NIL - * :shadow() -> oQBrush - * :text() -> oQBrush - * :toolTipBase() -> oQBrush - * :toolTipText() -> oQBrush - * :window() -> oQBrush - * :windowText() -> oQBrush - * - * $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/TQPalette.prg - * C++ wrappers : contrib/hbqt/qtgui/QPalette.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt deleted file mode 100644 index 9b3f302cae..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpen.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPen() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpen.html - * $ONELINER$ - * Creates a new QPen object. - * $INHERITS$ - * - * $SYNTAX$ - * QPen( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPen - * $METHODS$ - * :brush() -> oQBrush - * :capStyle() -> nQt_PenCapStyle - * :color() -> oQColor - * :dashOffset() -> nQreal - * :isCosmetic() -> lBool - * :isSolid() -> lBool - * :joinStyle() -> nQt_PenJoinStyle - * :miterLimit() -> nQreal - * :setBrush( oQBrush ) -> NIL - * :setCapStyle( nStyle ) -> NIL - * :setColor( oQColor ) -> NIL - * :setCosmetic( lCosmetic ) -> NIL - * :setDashOffset( nOffset ) -> NIL - * :setJoinStyle( nStyle ) -> NIL - * :setMiterLimit( nLimit ) -> NIL - * :setStyle( nStyle ) -> NIL - * :setWidth( nWidth ) -> NIL - * :setWidthF( nWidth ) -> NIL - * :style() -> nQt_PenStyle - * :width() -> nInt - * :widthF() -> nQreal - * - * $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/TQPen.prg - * C++ wrappers : contrib/hbqt/qtgui/QPen.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt deleted file mode 100644 index 746702a758..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpicture.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPicture() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpicture.html - * $ONELINER$ - * Creates a new QPicture object. - * $INHERITS$ - * QPaintDevice - * $SYNTAX$ - * QPicture( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPicture - * $METHODS$ - * :boundingRect() -> oQRect - * :data() -> cChar - * :isNull() -> lBool - * :load( cFileName, cFormat ) -> lBool - * :load( oQIODevice, cFormat ) -> lBool - * :play( oQPainter ) -> lBool - * :save( cFileName, cFormat ) -> lBool - * :save( oQIODevice, cFormat ) -> lBool - * :setBoundingRect( oQRect ) -> NIL - * :setData( cData, nSize ) -> NIL - * :size() -> nUint - * - * $DESCRIPTION$ - * - * $EXAMPLES$ - * oPicture := QPicture():new() - * oPicture := QPicture():new( nFormatVersion ) - * oPicture := QPicture():new( pQPicture ) - * - * $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/TQPicture.prg - * C++ wrappers : contrib/hbqt/qtgui/QPicture.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt deleted file mode 100644 index fb3e529c07..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpixmap.txt +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPixmap() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpixmap.html - * $ONELINER$ - * Creates a new QPixmap object. - * $INHERITS$ - * QPaintDevice - * $SYNTAX$ - * QPixmap( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPixmap - * $METHODS$ - * :alphaChannel() -> oQPixmap - * :cacheKey() -> nQint64 - * :copy( oQRect ) -> oQPixmap - * :copy( nX, nY, nWidth, nHeight ) -> oQPixmap - * :createHeuristicMask( lClipTight ) -> oQBitmap - * :createMaskFromColor( oQColor, nMode ) -> oQBitmap - * :createMaskFromColor( oQColor ) -> oQBitmap - * :depth() -> nInt - * :detach() -> NIL - * :fill( oQColor ) -> NIL - * :fill( oQWidget, oQPoint ) -> NIL - * :fill( oQWidget, nX, nY ) -> NIL - * :hasAlpha() -> lBool - * :hasAlphaChannel() -> lBool - * :height() -> nInt - * :isNull() -> lBool - * :isQBitmap() -> lBool - * :load( cFileName, cFormat, nFlags ) -> lBool - * :loadFromData( oQByteArray, cFormat, nFlags ) -> lBool - * :mask() -> oQBitmap - * :rect() -> oQRect - * :save( cFileName, cFormat, nQuality ) -> lBool - * :save( oQIODevice, cFormat, nQuality ) -> lBool - * :scaled( nWidth, nHeight, nAspectRatioMode, nTransformMode ) -> oQPixmap - * :scaled( oQSize, nAspectRatioMode, nTransformMode ) -> oQPixmap - * :scaledToHeight( nHeight, nMode ) -> oQPixmap - * :scaledToWidth( nWidth, nMode ) -> oQPixmap - * :setAlphaChannel( oQPixmap ) -> NIL - * :setMask( oQBitmap ) -> NIL - * :size() -> oQSize - * :toImage() -> oQImage - * :transformed( oQTransform, nMode ) -> oQPixmap - * :transformed( oQMatrix, nMode ) -> oQPixmap - * :width() -> nInt - * :defaultDepth() -> nInt - * :fromImage( oQImage, nFlags ) -> oQPixmap - * :grabWidget( oQWidget, oQRect ) -> oQPixmap - * :grabWidget( oQWidget, nX, nY, nWidth, nHeight ) -> oQPixmap - * :trueMatrix( oQTransform, nWidth, nHeight ) -> oQTransform - * :trueMatrix( oQMatrix, nW, nH ) -> oQMatrix - * - * $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/TQPixmap.prg - * C++ wrappers : contrib/hbqt/qtgui/QPixmap.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt deleted file mode 100644 index 684f549df2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextdocumentlayout.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPlainTextDocumentLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qplaintextdocumentlayout.html - * $ONELINER$ - * Creates a new QPlainTextDocumentLayout object. - * $INHERITS$ - * QAbstractTextDocumentLayout - * $SYNTAX$ - * QPlainTextDocumentLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPlainTextDocumentLayout - * $METHODS$ - * :cursorWidth() -> nInt - * :ensureBlockLayout( oQTextBlock ) -> NIL - * :requestUpdate() -> NIL - * :setCursorWidth( nWidth ) -> 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/TQPlainTextDocumentLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QPlainTextDocumentLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt deleted file mode 100644 index f1dc7283bc..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qplaintextedit.txt +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPlainTextEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qplaintextedit.html - * $ONELINER$ - * Creates a new QPlainTextEdit object. - * $INHERITS$ - * QAbstractScrollArea - * $SYNTAX$ - * QPlainTextEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPlainTextEdit - * $METHODS$ - * :backgroundVisible() -> lBool - * :blockCount() -> nInt - * :canPaste() -> lBool - * :centerOnScroll() -> lBool - * :createStandardContextMenu() -> oQMenu - * :currentCharFormat() -> oQTextCharFormat - * :cursorForPosition( oQPoint ) -> oQTextCursor - * :cursorRect( oQTextCursor ) -> oQRect - * :cursorRect() -> oQRect - * :cursorWidth() -> nInt - * :document() -> oQTextDocument - * :documentTitle() -> cQString - * :ensureCursorVisible() -> NIL - * :find( cExp, nOptions ) -> lBool - * :isReadOnly() -> lBool - * :isUndoRedoEnabled() -> lBool - * :lineWrapMode() -> nLineWrapMode - * :loadResource( nType, oQUrl ) -> oQVariant - * :maximumBlockCount() -> nInt - * :mergeCurrentCharFormat( oQTextCharFormat ) -> NIL - * :moveCursor( nOperation, nMode ) -> NIL - * :overwriteMode() -> lBool - * :print( oQPrinter ) -> NIL - * :setBackgroundVisible( lVisible ) -> NIL - * :setCenterOnScroll( lEnabled ) -> NIL - * :setCurrentCharFormat( oQTextCharFormat ) -> NIL - * :setCursorWidth( nWidth ) -> NIL - * :setDocument( oQTextDocument ) -> NIL - * :setDocumentTitle( cTitle ) -> NIL - * :setLineWrapMode( nMode ) -> NIL - * :setMaximumBlockCount( nMaximum ) -> NIL - * :setOverwriteMode( lOverwrite ) -> NIL - * :setReadOnly( lRo ) -> NIL - * :setTabChangesFocus( lB ) -> NIL - * :setTabStopWidth( nWidth ) -> NIL - * :setTextCursor( oQTextCursor ) -> NIL - * :setTextInteractionFlags( nFlags ) -> NIL - * :setUndoRedoEnabled( lEnable ) -> NIL - * :setWordWrapMode( nPolicy ) -> NIL - * :tabChangesFocus() -> lBool - * :tabStopWidth() -> nInt - * :textCursor() -> oQTextCursor - * :textInteractionFlags() -> nQt_TextInteractionFlags - * :toPlainText() -> cQString - * :wordWrapMode() -> nQTextOption_WrapMode - * :appendHtml( cHtml ) -> NIL - * :appendPlainText( cText ) -> NIL - * :centerCursor() -> NIL - * :clear() -> NIL - * :copy() -> NIL - * :cut() -> NIL - * :insertPlainText( cText ) -> NIL - * :paste() -> NIL - * :redo() -> NIL - * :selectAll() -> NIL - * :setPlainText( cText ) -> NIL - * :undo() -> 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/TQPlainTextEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/QPlainTextEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt deleted file mode 100644 index e652625c2b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygon.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPolygon() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpolygon.html - * $ONELINER$ - * Creates a new QPolygon object. - * $INHERITS$ - * - * $SYNTAX$ - * QPolygon( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPolygon - * $METHODS$ - * :boundingRect() -> oQRect - * :containsPoint( oQPoint, nFillRule ) -> lBool - * :intersected( oQPolygon ) -> oQPolygon - * :point( nIndex, @nX, @nY ) -> NIL - * :point( nIndex ) -> oQPoint - * :putPoints( nIndex, nNPoints, oQPolygon, nFromIndex ) -> NIL - * :setPoint( nIndex, nX, nY ) -> NIL - * :setPoint( nIndex, oQPoint ) -> NIL - * :setPoints( nNPoints, @nPoints ) -> NIL - * :subtracted( oQPolygon ) -> oQPolygon - * :translate( nDx, nDy ) -> NIL - * :translate( oQPoint ) -> NIL - * :united( oQPolygon ) -> oQPolygon - * - * $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/TQPolygon.prg - * C++ wrappers : contrib/hbqt/qtgui/QPolygon.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt deleted file mode 100644 index 3e160693d2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpolygonf.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPolygonF() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpolygonf.html - * $ONELINER$ - * Creates a new QPolygonF object. - * $INHERITS$ - * - * $SYNTAX$ - * QPolygonF( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPolygonF - * $METHODS$ - * :boundingRect() -> oQRectF - * :containsPoint( oQPointF, nFillRule ) -> lBool - * :intersected( oQPolygonF ) -> oQPolygonF - * :isClosed() -> lBool - * :subtracted( oQPolygonF ) -> oQPolygonF - * :toPolygon() -> oQPolygon - * :translate( oQPointF ) -> NIL - * :translate( nDx, nDy ) -> NIL - * :united( oQPolygonF ) -> oQPolygonF - * - * $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/TQPolygonF.prg - * C++ wrappers : contrib/hbqt/qtgui/QPolygonF.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt deleted file mode 100644 index 1b027c046e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintdialog.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPrintDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprintdialog.html - * $ONELINER$ - * Creates a new QPrintDialog object. - * $INHERITS$ - * QAbstractPrintDialog - * $SYNTAX$ - * QPrintDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPrintDialog - * $METHODS$ - * :done( nResult ) -> NIL - * :open( oQObject, cMember ) -> NIL - * :options() -> nPrintDialogOptions - * :printer() -> oQPrinter - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :setVisible( lVisible ) -> NIL - * :testOption( nOption ) -> lBool - * - * $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/TQPrintDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QPrintDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt deleted file mode 100644 index 1555bb04ad..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintengine.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPrintEngine() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprintengine.html - * $ONELINER$ - * Creates a new QPrintEngine object. - * $INHERITS$ - * - * $SYNTAX$ - * QPrintEngine( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPrintEngine - * $METHODS$ - * :abort() -> lBool - * :metric( nId ) -> nInt - * :newPage() -> lBool - * :printerState() -> nQPrinter_PrinterState - * :property( nKey ) -> oQVariant - * :setProperty( nKey, oQVariant ) -> 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/TQPrintEngine.prg - * C++ wrappers : contrib/hbqt/qtgui/QPrintEngine.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt deleted file mode 100644 index fbd989a564..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinter.txt +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPrinter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprinter.html - * $ONELINER$ - * Creates a new QPrinter object. - * $INHERITS$ - * QPaintDevice - * $SYNTAX$ - * QPrinter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPrinter - * $METHODS$ - * :abort() -> lBool - * :collateCopies() -> lBool - * :colorMode() -> nColorMode - * :creator() -> cQString - * :docName() -> cQString - * :doubleSidedPrinting() -> lBool - * :duplex() -> nDuplexMode - * :fontEmbeddingEnabled() -> lBool - * :fromPage() -> nInt - * :fullPage() -> lBool - * :getPageMargins( @nLeft, @nTop, @nRight, @nBottom, nUnit ) -> NIL - * :isValid() -> lBool - * :newPage() -> lBool - * :numCopies() -> nInt - * :orientation() -> nOrientation - * :outputFileName() -> cQString - * :outputFormat() -> nOutputFormat - * :pageOrder() -> nPageOrder - * :pageRect() -> oQRect - * :pageRect( nUnit ) -> oQRectF - * :paintEngine() -> oQPaintEngine - * :paperRect() -> oQRect - * :paperRect( nUnit ) -> oQRectF - * :paperSize() -> nPaperSize - * :paperSize( nUnit ) -> oQSizeF - * :paperSource() -> nPaperSource - * :printEngine() -> oQPrintEngine - * :printProgram() -> cQString - * :printRange() -> nPrintRange - * :printerName() -> cQString - * :printerState() -> nPrinterState - * :resolution() -> nInt - * :setCollateCopies( lCollate ) -> NIL - * :setColorMode( nNewColorMode ) -> NIL - * :setCreator( cCreator ) -> NIL - * :setDocName( cName ) -> NIL - * :setDoubleSidedPrinting( lDoubleSided ) -> NIL - * :setDuplex( nDuplex ) -> NIL - * :setFontEmbeddingEnabled( lEnable ) -> NIL - * :setFromTo( nFrom, nTo ) -> NIL - * :setFullPage( lFp ) -> NIL - * :setNumCopies( nNumCopies ) -> NIL - * :setOrientation( nOrientation ) -> NIL - * :setOutputFileName( cFileName ) -> NIL - * :setOutputFormat( nFormat ) -> NIL - * :setPageMargins( nLeft, nTop, nRight, nBottom, nUnit ) -> NIL - * :setPageOrder( nPageOrder ) -> NIL - * :setPaperSize( nNewPaperSize ) -> NIL - * :setPaperSize( oQSizeF, nUnit ) -> NIL - * :setPaperSource( nSource ) -> NIL - * :setPrintProgram( cPrintProg ) -> NIL - * :setPrintRange( nRange ) -> NIL - * :setPrinterName( cName ) -> NIL - * :setResolution( nDpi ) -> NIL - * :supportedResolutions() -> oQList_int> - * :toPage() -> nInt - * - * $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/TQPrinter.prg - * C++ wrappers : contrib/hbqt/qtgui/QPrinter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt deleted file mode 100644 index 2826a1de82..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPrinterInfo() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprinterinfo.html - * $ONELINER$ - * Creates a new QPrinterInfo object. - * $INHERITS$ - * - * $SYNTAX$ - * QPrinterInfo( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPrinterInfo - * $METHODS$ - * :isDefault() -> lBool - * :isNull() -> lBool - * :printerName() -> cQString - * :availablePrinters() -> oQList_QPrinterInfo> - * :defaultPrinter() -> oQPrinterInfo - * - * $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/TQPrinterInfo.prg - * C++ wrappers : contrib/hbqt/qtgui/QPrinterInfo.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt deleted file mode 100644 index 568d408a9b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprintpreviewdialog.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPrintPreviewDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprintpreviewdialog.html - * $ONELINER$ - * Creates a new QPrintPreviewDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QPrintPreviewDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPrintPreviewDialog - * $METHODS$ - * :open( oQObject, cMember ) -> NIL - * :printer() -> oQPrinter - * - * $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/TQPrintPreviewDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QPrintPreviewDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt deleted file mode 100644 index f5d32575b4..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressbar.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QProgressBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprogressbar.html - * $ONELINER$ - * Creates a new QProgressBar object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QProgressBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QProgressBar - * $METHODS$ - * :alignment() -> nQt_Alignment - * :format() -> cQString - * :invertedAppearance() -> lBool - * :isTextVisible() -> lBool - * :maximum() -> nInt - * :minimum() -> nInt - * :orientation() -> nQt_Orientation - * :setAlignment( nAlignment ) -> NIL - * :setFormat( cFormat ) -> NIL - * :setInvertedAppearance( lInvert ) -> NIL - * :setTextDirection( nTextDirection ) -> NIL - * :setTextVisible( lVisible ) -> NIL - * :text() -> cQString - * :textDirection() -> nQProgressBar_Direction - * :value() -> nInt - * :reset() -> NIL - * :setMaximum( nMaximum ) -> NIL - * :setMinimum( nMinimum ) -> NIL - * :setOrientation( nQt::Orientation ) -> NIL - * :setRange( nMinimum, nMaximum ) -> NIL - * :setValue( nValue ) -> 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/TQProgressBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QProgressBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt deleted file mode 100644 index c809b60739..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qprogressdialog.txt +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QProgressDialog() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qprogressdialog.html - * $ONELINER$ - * Creates a new QProgressDialog object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QProgressDialog( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QProgressDialog - * $METHODS$ - * :autoClose() -> lBool - * :autoReset() -> lBool - * :labelText() -> cQString - * :maximum() -> nInt - * :minimum() -> nInt - * :minimumDuration() -> nInt - * :open( oQObject, cMember ) -> NIL - * :setAutoClose( lClose ) -> NIL - * :setAutoReset( lReset ) -> NIL - * :setBar( oQProgressBar ) -> NIL - * :setCancelButton( oQPushButton ) -> NIL - * :setLabel( oQLabel ) -> NIL - * :sizeHint() -> oQSize - * :value() -> nInt - * :wasCanceled() -> lBool - * :cancel() -> NIL - * :reset() -> NIL - * :setCancelButtonText( cCancelButtonText ) -> NIL - * :setLabelText( cText ) -> NIL - * :setMaximum( nMaximum ) -> NIL - * :setMinimum( nMinimum ) -> NIL - * :setMinimumDuration( nMs ) -> NIL - * :setRange( nMinimum, nMaximum ) -> NIL - * :setValue( nProgress ) -> 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/TQProgressDialog.prg - * C++ wrappers : contrib/hbqt/qtgui/QProgressDialog.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt deleted file mode 100644 index 11f6b0e908..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qpushbutton.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QPushButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qpushbutton.html - * $ONELINER$ - * Creates a new QPushButton object. - * $INHERITS$ - * QAbstractButton - * $SYNTAX$ - * QPushButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QPushButton - * $METHODS$ - * :autoDefault() -> lBool - * :isDefault() -> lBool - * :isFlat() -> lBool - * :menu() -> oQMenu - * :setAutoDefault( lBool ) -> NIL - * :setDefault( lBool ) -> NIL - * :setFlat( lBool ) -> NIL - * :setMenu( oQMenu ) -> NIL - * :showMenu() -> 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/TQPushButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QPushButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt deleted file mode 100644 index f69b3a89b0..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qradialgradient.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRadialGradient() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qradialgradient.html - * $ONELINER$ - * Creates a new QRadialGradient object. - * $INHERITS$ - * QGradient - * $SYNTAX$ - * QRadialGradient( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRadialGradient - * $METHODS$ - * :center() -> oQPointF - * :focalPoint() -> oQPointF - * :radius() -> nQreal - * :setCenter( oQPointF ) -> NIL - * :setCenter( nX, nY ) -> NIL - * :setFocalPoint( oQPointF ) -> NIL - * :setFocalPoint( nX, nY ) -> NIL - * :setRadius( nRadius ) -> 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/TQRadialGradient.prg - * C++ wrappers : contrib/hbqt/qtgui/QRadialGradient.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt deleted file mode 100644 index 96f856907d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRadioButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qradiobutton.html - * $ONELINER$ - * Creates a new QRadioButton object. - * $INHERITS$ - * QAbstractButton - * $SYNTAX$ - * QRadioButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRadioButton - * $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/TQRadioButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QRadioButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt deleted file mode 100644 index 98ae5a9374..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRegExpValidator() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qregexpvalidator.html - * $ONELINER$ - * Creates a new QRegExpValidator object. - * $INHERITS$ - * QValidator - * $SYNTAX$ - * QRegExpValidator( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRegExpValidator - * $METHODS$ - * :regExp() -> oQRegExp - * :setRegExp( oQRegExp ) -> 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/TQRegExpValidator.prg - * C++ wrappers : contrib/hbqt/qtgui/QRegExpValidator.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt deleted file mode 100644 index 1f709138db..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qregion.txt +++ /dev/null @@ -1,66 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QRegion() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qregion.html - * $ONELINER$ - * Creates a new QRegion object. - * $INHERITS$ - * - * $SYNTAX$ - * QRegion( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QRegion - * $METHODS$ - * :boundingRect() -> oQRect - * :contains( oQPoint ) -> lBool - * :contains( oQRect ) -> lBool - * :intersected( oQRegion ) -> oQRegion - * :intersected( oQRect ) -> oQRegion - * :intersects( oQRegion ) -> lBool - * :intersects( oQRect ) -> lBool - * :isEmpty() -> lBool - * :numRects() -> nInt - * :setRects( oQRect, nNumber ) -> NIL - * :subtracted( oQRegion ) -> oQRegion - * :translate( nDx, nDy ) -> NIL - * :translate( oQPoint ) -> NIL - * :translated( nDx, nDy ) -> oQRegion - * :translated( oQPoint ) -> oQRegion - * :united( oQRegion ) -> oQRegion - * :united( oQRect ) -> oQRegion - * :xored( oQRegion ) -> oQRegion - * - * $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/TQRegion.prg - * C++ wrappers : contrib/hbqt/qtgui/QRegion.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt deleted file mode 100644 index 353536f508..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qresizeevent.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QResizeEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qresizeevent.html - * $ONELINER$ - * Creates a new QResizeEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QResizeEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QResizeEvent - * $METHODS$ - * :oldSize() -> oQSize - * :size() -> oQSize - * - * $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/TQResizeEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QResizeEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt deleted file mode 100644 index 50634f4119..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollarea.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QScrollArea() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscrollarea.html - * $ONELINER$ - * Creates a new QScrollArea object. - * $INHERITS$ - * QAbstractScrollArea - * $SYNTAX$ - * QScrollArea( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QScrollArea - * $METHODS$ - * :alignment() -> nQt_Alignment - * :ensureVisible( nX, nY, nXmargin, nYmargin ) -> NIL - * :ensureWidgetVisible( oQWidget, nXmargin, nYmargin ) -> NIL - * :setAlignment( nQt::Alignment ) -> NIL - * :setWidget( oQWidget ) -> NIL - * :setWidgetResizable( lResizable ) -> NIL - * :takeWidget() -> oQWidget - * :widget() -> oQWidget - * :widgetResizable() -> lBool - * - * $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/TQScrollArea.prg - * C++ wrappers : contrib/hbqt/qtgui/QScrollArea.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt deleted file mode 100644 index f2828a3523..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QScrollBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qscrollbar.html - * $ONELINER$ - * Creates a new QScrollBar object. - * $INHERITS$ - * QAbstractSlider - * $SYNTAX$ - * QScrollBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QScrollBar - * $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/TQScrollBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QScrollBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt deleted file mode 100644 index 4666bf097f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsessionmanager.txt +++ /dev/null @@ -1,64 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSessionManager() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsessionmanager.html - * $ONELINER$ - * Creates a new QSessionManager object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QSessionManager( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSessionManager - * $METHODS$ - * :allowsErrorInteraction() -> lBool - * :allowsInteraction() -> lBool - * :cancel() -> NIL - * :discardCommand() -> oQStringList - * :isPhase2() -> lBool - * :release() -> NIL - * :requestPhase2() -> NIL - * :restartCommand() -> oQStringList - * :restartHint() -> nRestartHint - * :sessionId() -> cQString - * :sessionKey() -> cQString - * :setDiscardCommand( oQStringList ) -> NIL - * :setManagerProperty( cName, oQStringList ) -> NIL - * :setManagerProperty( cName, cValue ) -> NIL - * :setRestartCommand( oQStringList ) -> NIL - * :setRestartHint( nHint ) -> 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/TQSessionManager.prg - * C++ wrappers : contrib/hbqt/qtgui/QSessionManager.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qshowevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qshowevent.txt deleted file mode 100644 index ba502167e6..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qshowevent.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QShowEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qshowevent.html - * $ONELINER$ - * Creates a new QShowEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QShowEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QShowEvent - * $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/TQShowEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QShowEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt deleted file mode 100644 index 55e14f158b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSizeGrip() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsizegrip.html - * $ONELINER$ - * Creates a new QSizeGrip object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QSizeGrip( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSizeGrip - * $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/TQSizeGrip.prg - * C++ wrappers : contrib/hbqt/qtgui/QSizeGrip.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt deleted file mode 100644 index 57dacf61a8..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsizepolicy.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSizePolicy() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsizepolicy.html - * $ONELINER$ - * Creates a new QSizePolicy object. - * $INHERITS$ - * - * $SYNTAX$ - * QSizePolicy( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSizePolicy - * $METHODS$ - * :controlType() -> nControlType - * :expandingDirections() -> nQt_Orientations - * :hasHeightForWidth() -> lBool - * :horizontalPolicy() -> nPolicy - * :horizontalStretch() -> nInt - * :setControlType( nType ) -> NIL - * :setHeightForWidth( lDependent ) -> NIL - * :setHorizontalPolicy( nPolicy ) -> NIL - * :setHorizontalStretch( nStretchFactor ) -> NIL - * :setVerticalPolicy( nPolicy ) -> NIL - * :setVerticalStretch( nStretchFactor ) -> NIL - * :transpose() -> NIL - * :verticalPolicy() -> nPolicy - * :verticalStretch() -> nInt - * - * $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/TQSizePolicy.prg - * C++ wrappers : contrib/hbqt/qtgui/QSizePolicy.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt deleted file mode 100644 index 5671188310..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qslider.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSlider() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qslider.html - * $ONELINER$ - * Creates a new QSlider object. - * $INHERITS$ - * QAbstractSlider - * $SYNTAX$ - * QSlider( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSlider - * $METHODS$ - * :setTickInterval( nTi ) -> NIL - * :setTickPosition( nPosition ) -> NIL - * :tickInterval() -> nInt - * :tickPosition() -> nTickPosition - * - * $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/TQSlider.prg - * C++ wrappers : contrib/hbqt/qtgui/QSlider.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt deleted file mode 100644 index cfb2bea76d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSortFilterProxyModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsortfilterproxymodel.html - * $ONELINER$ - * Creates a new QSortFilterProxyModel object. - * $INHERITS$ - * QAbstractProxyModel - * $SYNTAX$ - * QSortFilterProxyModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSortFilterProxyModel - * $METHODS$ - * :dynamicSortFilter() -> lBool - * :filterCaseSensitivity() -> nQt_CaseSensitivity - * :filterKeyColumn() -> nInt - * :filterRegExp() -> oQRegExp - * :filterRole() -> nInt - * :isSortLocaleAware() -> lBool - * :mapFromSource( oQModelIndex ) -> oQModelIndex - * :mapToSource( oQModelIndex ) -> oQModelIndex - * :setDynamicSortFilter( lEnable ) -> NIL - * :setFilterCaseSensitivity( nCs ) -> NIL - * :setFilterKeyColumn( nColumn ) -> NIL - * :setFilterRegExp( oQRegExp ) -> NIL - * :setFilterRole( nRole ) -> NIL - * :setSortCaseSensitivity( nCs ) -> NIL - * :setSortLocaleAware( lOn ) -> NIL - * :setSortRole( nRole ) -> NIL - * :sortCaseSensitivity() -> nQt_CaseSensitivity - * :sortColumn() -> nInt - * :sortOrder() -> nQt_SortOrder - * :sortRole() -> nInt - * :invalidate() -> NIL - * :setFilterFixedString( cPattern ) -> NIL - * :setFilterRegExp( cPattern ) -> NIL - * :setFilterWildcard( cPattern ) -> 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/TQSortFilterProxyModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QSortFilterProxyModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt deleted file mode 100644 index c57271679c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsound.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSound() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsound.html - * $ONELINER$ - * Creates a new QSound object. - * $INHERITS$ - * - * $SYNTAX$ - * QSound( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSound - * $METHODS$ - * :fileName() -> cQString - * :isFinished() -> lBool - * :loops() -> nInt - * :loopsRemaining() -> nInt - * :setLoops( nNumber ) -> NIL - * :isAvailable() -> lBool - * :play( cFilename ) -> 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/TQSound.prg - * C++ wrappers : contrib/hbqt/qtgui/QSound.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt deleted file mode 100644 index 4dc564e6d4..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qspaceritem.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSpacerItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qspaceritem.html - * $ONELINER$ - * Creates a new QSpacerItem object. - * $INHERITS$ - * QLayoutItem - * $SYNTAX$ - * QSpacerItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSpacerItem - * $METHODS$ - * :changeSize( nW, nH, nHPolicy, nVPolicy ) -> NIL - * :isEmpty() -> lBool - * :spacerItem() -> oQSpacerItem - * - * $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/TQSpacerItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QSpacerItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt deleted file mode 100644 index 0298876cf8..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qspinbox.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSpinBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qspinbox.html - * $ONELINER$ - * Creates a new QSpinBox object. - * $INHERITS$ - * QAbstractSpinBox - * $SYNTAX$ - * QSpinBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSpinBox - * $METHODS$ - * :cleanText() -> cQString - * :maximum() -> nInt - * :minimum() -> nInt - * :prefix() -> cQString - * :setMaximum( nMax ) -> NIL - * :setMinimum( nMin ) -> NIL - * :setPrefix( cPrefix ) -> NIL - * :setRange( nMinimum, nMaximum ) -> NIL - * :setSingleStep( nVal ) -> NIL - * :setSuffix( cSuffix ) -> NIL - * :singleStep() -> nInt - * :suffix() -> cQString - * :value() -> nInt - * :setValue( nVal ) -> 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/TQSpinBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QSpinBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt deleted file mode 100644 index a32ac00a8d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplashscreen.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSplashScreen() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsplashscreen.html - * $ONELINER$ - * Creates a new QSplashScreen object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QSplashScreen( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSplashScreen - * $METHODS$ - * :finish( oQWidget ) -> NIL - * :pixmap() -> oQPixmap - * :repaint() -> NIL - * :setPixmap( oQPixmap ) -> NIL - * :clearMessage() -> NIL - * :showMessage( cMessage, nAlignment, oQColor ) -> 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/TQSplashScreen.prg - * C++ wrappers : contrib/hbqt/qtgui/QSplashScreen.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt deleted file mode 100644 index 12a63e02dc..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsplitter.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSplitter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsplitter.html - * $ONELINER$ - * Creates a new QSplitter object. - * $INHERITS$ - * QFrame - * $SYNTAX$ - * QSplitter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSplitter - * $METHODS$ - * :addWidget( oQWidget ) -> NIL - * :childrenCollapsible() -> lBool - * :count() -> nInt - * :getRange( nIndex, @nMin, @nMax ) -> NIL - * :handleWidth() -> nInt - * :indexOf( oQWidget ) -> nInt - * :insertWidget( nIndex, oQWidget ) -> NIL - * :isCollapsible( nIndex ) -> lBool - * :opaqueResize() -> lBool - * :orientation() -> nQt_Orientation - * :refresh() -> NIL - * :restoreState( oQByteArray ) -> lBool - * :saveState() -> oQByteArray - * :setChildrenCollapsible( lBool ) -> NIL - * :setCollapsible( nIndex, lCollapse ) -> NIL - * :setHandleWidth( nInt ) -> NIL - * :setOpaqueResize( lOpaque ) -> NIL - * :setOrientation( nQt::Orientation ) -> NIL - * :setStretchFactor( nIndex, nStretch ) -> NIL - * :sizes() -> oQList_int> - * :widget( nIndex ) -> oQWidget - * - * $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/TQSplitter.prg - * C++ wrappers : contrib/hbqt/qtgui/QSplitter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt deleted file mode 100644 index 50b1e437a5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstackedwidget.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStackedWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstackedwidget.html - * $ONELINER$ - * Creates a new QStackedWidget object. - * $INHERITS$ - * QFrame - * $SYNTAX$ - * QStackedWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStackedWidget - * $METHODS$ - * :addWidget( oQWidget ) -> nInt - * :count() -> nInt - * :currentIndex() -> nInt - * :currentWidget() -> oQWidget - * :indexOf( oQWidget ) -> nInt - * :insertWidget( nIndex, oQWidget ) -> nInt - * :removeWidget( oQWidget ) -> NIL - * :widget( nIndex ) -> oQWidget - * :setCurrentIndex( nIndex ) -> NIL - * :setCurrentWidget( oQWidget ) -> 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/TQStackedWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QStackedWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt deleted file mode 100644 index 99ef432d13..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditem.txt +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStandardItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstandarditem.html - * $ONELINER$ - * Creates a new QStandardItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QStandardItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStandardItem - * $METHODS$ - * :accessibleDescription() -> cQString - * :accessibleText() -> cQString - * :appendRow( oQStandardItem ) -> NIL - * :background() -> oQBrush - * :checkState() -> nQt_CheckState - * :child( nRow, nColumn ) -> oQStandardItem - * :clone() -> oQStandardItem - * :column() -> nInt - * :columnCount() -> nInt - * :data( nRole ) -> oQVariant - * :flags() -> nQt_ItemFlags - * :font() -> oQFont - * :foreground() -> oQBrush - * :hasChildren() -> lBool - * :icon() -> oQIcon - * :index() -> oQModelIndex - * :insertColumns( nColumn, nCount ) -> NIL - * :insertRow( nRow, oQStandardItem ) -> NIL - * :insertRows( nRow, nCount ) -> NIL - * :isCheckable() -> lBool - * :isDragEnabled() -> lBool - * :isDropEnabled() -> lBool - * :isEditable() -> lBool - * :isEnabled() -> lBool - * :isSelectable() -> lBool - * :isTristate() -> lBool - * :model() -> oQStandardItemModel - * :parent() -> oQStandardItem - * :read( oQDataStream ) -> NIL - * :removeColumn( nColumn ) -> NIL - * :removeColumns( nColumn, nCount ) -> NIL - * :removeRow( nRow ) -> NIL - * :removeRows( nRow, nCount ) -> NIL - * :row() -> nInt - * :rowCount() -> nInt - * :setAccessibleDescription( cAccessibleDescription ) -> NIL - * :setAccessibleText( cAccessibleText ) -> NIL - * :setBackground( oQBrush ) -> NIL - * :setCheckState( nState ) -> NIL - * :setCheckable( lCheckable ) -> NIL - * :setChild( nRow, nColumn, oQStandardItem ) -> NIL - * :setChild( nRow, oQStandardItem ) -> NIL - * :setColumnCount( nColumns ) -> NIL - * :setData( oQVariant, nRole ) -> NIL - * :setDragEnabled( lDragEnabled ) -> NIL - * :setDropEnabled( lDropEnabled ) -> NIL - * :setEditable( lEditable ) -> NIL - * :setEnabled( lEnabled ) -> NIL - * :setFlags( nFlags ) -> NIL - * :setFont( oQFont ) -> NIL - * :setForeground( oQBrush ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setRowCount( nRows ) -> NIL - * :setSelectable( lSelectable ) -> NIL - * :setSizeHint( oQSize ) -> NIL - * :setStatusTip( cStatusTip ) -> NIL - * :setText( cText ) -> NIL - * :setTextAlignment( nAlignment ) -> NIL - * :setToolTip( cToolTip ) -> NIL - * :setTristate( lTristate ) -> NIL - * :setWhatsThis( cWhatsThis ) -> NIL - * :sizeHint() -> oQSize - * :sortChildren( nColumn, nOrder ) -> NIL - * :statusTip() -> cQString - * :takeChild( nRow, nColumn ) -> oQStandardItem - * :takeColumn( nColumn ) -> oQList_QStandardItem - * :takeRow( nRow ) -> oQList_QStandardItem - * :text() -> cQString - * :textAlignment() -> nQt_Alignment - * :toolTip() -> cQString - * :type() -> nInt - * :whatsThis() -> cQString - * :write( oQDataStream ) -> 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/TQStandardItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QStandardItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt deleted file mode 100644 index 97e4f94740..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstandarditemmodel.txt +++ /dev/null @@ -1,76 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStandardItemModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstandarditemmodel.html - * $ONELINER$ - * Creates a new QStandardItemModel object. - * $INHERITS$ - * QAbstractItemModeL - * $SYNTAX$ - * QStandardItemModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStandardItemModel - * $METHODS$ - * :appendRow( oQStandardItem ) -> NIL - * :clear() -> NIL - * :findItems( cText, nFlags, nColumn ) -> oQList_QStandardItem - * :horizontalHeaderItem( nColumn ) -> oQStandardItem - * :indexFromItem( oQStandardItem ) -> oQModelIndex - * :insertColumn( nColumn, oQModelIndex ) -> lBool - * :insertRow( nRow, oQModelIndex ) -> lBool - * :insertRow( nRow, oQStandardItem ) -> NIL - * :invisibleRootItem() -> oQStandardItem - * :item( nRow, nColumn ) -> oQStandardItem - * :itemFromIndex( oQModelIndex ) -> oQStandardItem - * :setColumnCount( nColumns ) -> NIL - * :setHorizontalHeaderItem( nColumn, oQStandardItem ) -> NIL - * :setHorizontalHeaderLabels( oQStringList ) -> NIL - * :setItem( nRow, nColumn, oQStandardItem ) -> NIL - * :setItem( nRow, oQStandardItem ) -> NIL - * :setItemPrototype( oQStandardItem ) -> NIL - * :setRowCount( nRows ) -> NIL - * :setSortRole( nRole ) -> NIL - * :setVerticalHeaderItem( nRow, oQStandardItem ) -> NIL - * :setVerticalHeaderLabels( oQStringList ) -> NIL - * :sortRole() -> nInt - * :takeColumn( nColumn ) -> oQList_QStandardItem - * :takeHorizontalHeaderItem( nColumn ) -> oQStandardItem - * :takeItem( nRow, nColumn ) -> oQStandardItem - * :takeRow( nRow ) -> oQList_QStandardItem - * :takeVerticalHeaderItem( nRow ) -> oQStandardItem - * :verticalHeaderItem( nRow ) -> oQStandardItem - * - * $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/TQStandardItemModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QStandardItemModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt deleted file mode 100644 index 12f5ee9a21..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstatusbar.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStatusBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstatusbar.html - * $ONELINER$ - * Creates a new QStatusBar object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QStatusBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStatusBar - * $METHODS$ - * :addPermanentWidget( oQWidget, nStretch ) -> NIL - * :addWidget( oQWidget, nStretch ) -> NIL - * :currentMessage() -> cQString - * :insertPermanentWidget( nIndex, oQWidget, nStretch ) -> nInt - * :insertWidget( nIndex, oQWidget, nStretch ) -> nInt - * :isSizeGripEnabled() -> lBool - * :removeWidget( oQWidget ) -> NIL - * :setSizeGripEnabled( lBool ) -> NIL - * :clearMessage() -> NIL - * :showMessage( cMessage, nTimeout ) -> 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/TQStatusBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QStatusBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt deleted file mode 100644 index bd692cebf3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstringlistmodel.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStringListModel() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstringlistmodel.html - * $ONELINER$ - * Creates a new QStringListModel object. - * $INHERITS$ - * QAbstractListModel - * $SYNTAX$ - * QStringListModel( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStringListModel - * $METHODS$ - * :data( oQModelIndex, nRole ) -> oQVariant - * :flags( oQModelIndex ) -> nQt_ItemFlags - * :insertRows( nRow, nCount, oQModelIndex ) -> lBool - * :removeRows( nRow, nCount, oQModelIndex ) -> lBool - * :rowCount( oQModelIndex ) -> nInt - * :setData( oQModelIndex, oQVariant, nRole ) -> lBool - * :setStringList( oQStringList ) -> NIL - * :stringList() -> oQStringList - * - * $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/TQStringListModel.prg - * C++ wrappers : contrib/hbqt/qtgui/QStringListModel.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt deleted file mode 100644 index 6a61c438aa..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyle.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyle() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyle.html - * $ONELINER$ - * Creates a new QStyle object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QStyle( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyle - * $METHODS$ - * :combinedLayoutSpacing( nControls1, nControls2, nOrientation, oQStyleOption, oQWidget ) -> nInt - * :drawComplexControl( nControl, oQStyleOptionComplex, oQPainter, oQWidget ) -> NIL - * :drawControl( nElement, oQStyleOption, oQPainter, oQWidget ) -> NIL - * :drawItemPixmap( oQPainter, oQRect, nAlignment, oQPixmap ) -> NIL - * :drawItemText( oQPainter, oQRect, nAlignment, oQPalette, lEnabled, cText, nTextRole ) -> NIL - * :drawPrimitive( nElement, oQStyleOption, oQPainter, oQWidget ) -> NIL - * :generatedIconPixmap( nIconMode, oQPixmap, oQStyleOption ) -> oQPixmap - * :hitTestComplexControl( nControl, oQStyleOptionComplex, oQPoint, oQWidget ) -> nSubControl - * :itemPixmapRect( oQRect, nAlignment, oQPixmap ) -> oQRect - * :itemTextRect( oQFontMetrics, oQRect, nAlignment, lEnabled, cText ) -> oQRect - * :layoutSpacing( nControl1, nControl2, nOrientation, oQStyleOption, oQWidget ) -> nInt - * :pixelMetric( nMetric, oQStyleOption, oQWidget ) -> nInt - * :polish( oQWidget ) -> NIL - * :polish( oQApplication ) -> NIL - * :polish( oQPalette ) -> NIL - * :sizeFromContents( nType, oQStyleOption, oQSize, oQWidget ) -> oQSize - * :standardIcon( nStandardIcon, oQStyleOption, oQWidget ) -> oQIcon - * :standardPalette() -> oQPalette - * :styleHint( nHint, oQStyleOption, oQWidget, oQStyleHintReturn ) -> nInt - * :subControlRect( nControl, oQStyleOptionComplex, nSubControl, oQWidget ) -> oQRect - * :subElementRect( nElement, oQStyleOption, oQWidget ) -> oQRect - * :unpolish( oQWidget ) -> NIL - * :unpolish( oQApplication ) -> NIL - * :alignedRect( nDirection, nAlignment, oQSize, oQRect ) -> oQRect - * :sliderPositionFromValue( nMin, nMax, nLogicalValue, nSpan, lUpsideDown ) -> nInt - * :sliderValueFromPosition( nMin, nMax, nPosition, nSpan, lUpsideDown ) -> nInt - * :visualAlignment( nDirection, nAlignment ) -> nQt_Alignment - * :visualPos( nDirection, oQRect, oQPoint ) -> oQPoint - * :visualRect( nDirection, oQRect, oQRect ) -> oQRect - * - * $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/TQStyle.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyle.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt deleted file mode 100644 index 1237e3b66c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleditemdelegate.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyledItemDelegate() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleditemdelegate.html - * $ONELINER$ - * Creates a new QStyledItemDelegate object. - * $INHERITS$ - * - * $SYNTAX$ - * QStyledItemDelegate( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyledItemDelegate - * $METHODS$ - * :createEditor( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> oQWidget - * :displayText( oQVariant, oQLocale ) -> cQString - * :paint( oQPainter, oQStyleOptionViewItem, oQModelIndex ) -> NIL - * :setEditorData( oQWidget, oQModelIndex ) -> NIL - * :setModelData( oQWidget, oQAbstractItemModel, oQModelIndex ) -> NIL - * :sizeHint( oQStyleOptionViewItem, oQModelIndex ) -> oQSize - * :updateEditorGeometry( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> 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/TQStyledItemDelegate.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyledItemDelegate.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt deleted file mode 100644 index 6994455f0e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylefactory.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleFactory() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstylefactory.html - * $ONELINER$ - * Creates a new QStyleFactory object. - * $INHERITS$ - * - * $SYNTAX$ - * QStyleFactory( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleFactory - * $METHODS$ - * :create( cKey ) -> oQStyle - * :keys() -> oQStringList - * - * $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/TQStyleFactory.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleFactory.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt deleted file mode 100644 index 86e0c67b43..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleHintReturn() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstylehintreturn.html - * $ONELINER$ - * Creates a new QStyleHintReturn object. - * $INHERITS$ - * - * $SYNTAX$ - * QStyleHintReturn( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleHintReturn - * $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/TQStyleHintReturn.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleHintReturn.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt deleted file mode 100644 index e9f581329e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleHintReturnMask() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstylehintreturnmask.html - * $ONELINER$ - * Creates a new QStyleHintReturnMask object. - * $INHERITS$ - * QStyleHintReturn - * $SYNTAX$ - * QStyleHintReturnMask( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleHintReturnMask - * $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/TQStyleHintReturnMask.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleHintReturnMask.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt deleted file mode 100644 index 51decd4c9f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleHintReturnVariant() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstylehintreturnvariant.html - * $ONELINER$ - * Creates a new QStyleHintReturnVariant object. - * $INHERITS$ - * QStyleHintReturn - * $SYNTAX$ - * QStyleHintReturnVariant( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleHintReturnVariant - * $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/TQStyleHintReturnVariant.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt deleted file mode 100644 index 5f1e8943bc..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoption.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOption() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoption.html - * $ONELINER$ - * Creates a new QStyleOption object. - * $INHERITS$ - * - * $SYNTAX$ - * QStyleOption( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOption - * $METHODS$ - * :initFrom( oQWidget ) -> NIL - * :direction() -> nQt_LayoutDirection - * :fontMetrics() -> oQFontMetrics - * :palette() -> oQPalette - * :rect() -> oQRect - * :state() -> nQStyle_State - * :type() -> nInt - * :version() -> nInt - * - * $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/TQStyleOption.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOption.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt deleted file mode 100644 index ff4a880a96..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionbutton.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionbutton.html - * $ONELINER$ - * Creates a new QStyleOptionButton object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionButton - * $METHODS$ - * :features() -> nButtonFeatures - * :icon() -> oQIcon - * :iconSize() -> oQSize - * :text() -> cQString - * - * $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/TQStyleOptionButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt deleted file mode 100644 index c537d7f3dd..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncombobox.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionComboBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptioncombobox.html - * $ONELINER$ - * Creates a new QStyleOptionComboBox object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionComboBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionComboBox - * $METHODS$ - * :currentIcon() -> oQIcon - * :currentText() -> cQString - * :editable() -> lBool - * :frame() -> lBool - * :iconSize() -> oQSize - * :popupRect() -> oQRect - * - * $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/TQStyleOptionComboBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionComboBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt deleted file mode 100644 index 634b690ba9..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptioncomplex.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionComplex() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptioncomplex.html - * $ONELINER$ - * Creates a new QStyleOptionComplex object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionComplex( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionComplex - * $METHODS$ - * :activeSubControls() -> nQStyle_SubControls - * :subControls() -> nQStyle_SubControls - * - * $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/TQStyleOptionComplex.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionComplex.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt deleted file mode 100644 index b8d21d4bd0..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiondockwidget.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionDockWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiondockwidget.html - * $ONELINER$ - * Creates a new QStyleOptionDockWidget object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionDockWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionDockWidget - * $METHODS$ - * :closable() -> lBool - * :floatable() -> lBool - * :movable() -> lBool - * :title() -> cQString - * - * $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/TQStyleOptionDockWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt deleted file mode 100644 index 0923aeae7a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionfocusrect.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionFocusRect() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionfocusrect.html - * $ONELINER$ - * Creates a new QStyleOptionFocusRect object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionFocusRect( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionFocusRect - * $METHODS$ - * :backgroundColor() -> oQColor - * - * $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/TQStyleOptionFocusRect.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt deleted file mode 100644 index 79a9043996..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionframe.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionFrame() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionframe.html - * $ONELINER$ - * Creates a new QStyleOptionFrame object. - * $INHERITS$ - * qStyleOption - * $SYNTAX$ - * QStyleOptionFrame( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionFrame - * $METHODS$ - * :lineWidth() -> nInt - * :midLineWidth() -> nInt - * - * $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/TQStyleOptionFrame.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionFrame.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt deleted file mode 100644 index 01d20167eb..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongraphicsitem.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionGraphicsItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiongraphicsitem.html - * $ONELINER$ - * Creates a new QStyleOptionGraphicsItem object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionGraphicsItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionGraphicsItem - * $METHODS$ - * :exposedRect() -> oQRectF - * :levelOfDetail() -> nQreal - * :matrix() -> oQMatrix - * - * $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/TQStyleOptionGraphicsItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionGraphicsItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt deleted file mode 100644 index 1c03c96aba..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiongroupbox.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionGroupBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiongroupbox.html - * $ONELINER$ - * Creates a new QStyleOptionGroupBox object. - * $INHERITS$ - * QStyleOptionComplex - * $SYNTAX$ - * QStyleOptionGroupBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionGroupBox - * $METHODS$ - * :features() -> nQStyleOptionFrameV2_FrameFeatures - * :lineWidth() -> nInt - * :midLineWidth() -> nInt - * :text() -> cQString - * :textAlignment() -> nQt_Alignment - * :textColor() -> oQColor - * - * $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/TQStyleOptionGroupBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt deleted file mode 100644 index 3b80c5c182..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionheader.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionHeader() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionheader.html - * $ONELINER$ - * Creates a new QStyleOptionHeader object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionHeader( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionHeader - * $METHODS$ - * :icon() -> oQIcon - * :iconAlignment() -> nQt_Alignment - * :orientation() -> nQt_Orientation - * :position() -> nSectionPosition - * :section() -> nInt - * :selectedPosition() -> nSelectedPosition - * :sortIndicator() -> nSortIndicator - * :text() -> cQString - * :textAlignment() -> nQt_Alignment - * - * $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/TQStyleOptionHeader.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionHeader.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt deleted file mode 100644 index 9f9201ee08..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionmenuitem.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionMenuItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionmenuitem.html - * $ONELINER$ - * Creates a new QStyleOptionMenuItem object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionMenuItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionMenuItem - * $METHODS$ - * :checkType() -> nCheckType - * :checked() -> lBool - * :font() -> oQFont - * :icon() -> oQIcon - * :maxIconWidth() -> nInt - * :menuHasCheckableItems() -> lBool - * :menuItemType() -> nMenuItemType - * :menuRect() -> oQRect - * :tabWidth() -> nInt - * :text() -> cQString - * - * $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/TQStyleOptionMenuItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt deleted file mode 100644 index cc889869e8..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionprogressbar.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionProgressBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionprogressbar.html - * $ONELINER$ - * Creates a new QStyleOptionProgressBar object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionProgressBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionProgressBar - * $METHODS$ - * :maximum() -> nInt - * :minimum() -> nInt - * :progress() -> nInt - * :text() -> cQString - * :textAlignment() -> nQt_Alignment - * :textVisible() -> lBool - * - * $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/TQStyleOptionProgressBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt deleted file mode 100644 index 907fa385ec..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionsizegrip.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionSizeGrip() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionsizegrip.html - * $ONELINER$ - * Creates a new QStyleOptionSizeGrip object. - * $INHERITS$ - * QStyleOptionComplex - * $SYNTAX$ - * QStyleOptionSizeGrip( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionSizeGrip - * $METHODS$ - * :corner() -> nQt_Corner - * - * $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/TQStyleOptionSizeGrip.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt deleted file mode 100644 index afc00d0ff3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionslider.txt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionSlider() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionslider.html - * $ONELINER$ - * Creates a new QStyleOptionSlider object. - * $INHERITS$ - * QStyleOptionComplex - * $SYNTAX$ - * QStyleOptionSlider( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionSlider - * $METHODS$ - * :dialWrapping() -> lBool - * :maximum() -> nInt - * :minimum() -> nInt - * :notchTarget() -> nQreal - * :orientation() -> nQt_Orientation - * :pageStep() -> nInt - * :singleStep() -> nInt - * :sliderPosition() -> nInt - * :sliderValue() -> nInt - * :tickInterval() -> nInt - * :tickPosition() -> nQSlider_TickPosition - * :upsideDown() -> lBool - * - * $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/TQStyleOptionSlider.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionSlider.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt deleted file mode 100644 index 952acc470c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionspinbox.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionSpinBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionspinbox.html - * $ONELINER$ - * Creates a new QStyleOptionSpinBox object. - * $INHERITS$ - * QStyleOptionComplex - * $SYNTAX$ - * QStyleOptionSpinBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionSpinBox - * $METHODS$ - * :buttonSymbols() -> nQAbstractSpinBox_ButtonSymbols - * :frame() -> lBool - * :stepEnabled() -> nQAbstractSpinBox_StepEnabled - * - * $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/TQStyleOptionSpinBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt deleted file mode 100644 index 68fc70e705..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontab.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionTab() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontab.html - * $ONELINER$ - * Creates a new QStyleOptionTab object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionTab( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionTab - * $METHODS$ - * :cornerWidgets() -> nCornerWidgets - * :icon() -> oQIcon - * :position() -> nTabPosition - * :row() -> nInt - * :selectedPosition() -> nSelectedPosition - * :shape() -> nQTabBar_Shape - * :text() -> cQString - * - * $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/TQStyleOptionTab.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTab.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt deleted file mode 100644 index 73f1d2545d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabbarbase.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionTabBarBase() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontabbarbase.html - * $ONELINER$ - * Creates a new QStyleOptionTabBarBase object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionTabBarBase( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionTabBarBase - * $METHODS$ - * :selectedTabRect() -> oQRect - * :shape() -> nQTabBar_Shape - * :tabBarRect() -> oQRect - * - * $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/TQStyleOptionTabBarBase.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt deleted file mode 100644 index dc07211fae..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontabwidgetframe.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionTabWidgetFrame() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontabwidgetframe.html - * $ONELINER$ - * Creates a new QStyleOptionTabWidgetFrame object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionTabWidgetFrame( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionTabWidgetFrame - * $METHODS$ - * :leftCornerWidgetSize() -> oQSize - * :lineWidth() -> nInt - * :midLineWidth() -> nInt - * :rightCornerWidgetSize() -> oQSize - * :shape() -> nQTabBar_Shape - * :tabBarSize() -> oQSize - * - * $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/TQStyleOptionTabWidgetFrame.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt deleted file mode 100644 index bec91148b5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontitlebar.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionTitleBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontitlebar.html - * $ONELINER$ - * Creates a new QStyleOptionTitleBar object. - * $INHERITS$ - * QStyleOptionComplex - * $SYNTAX$ - * QStyleOptionTitleBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionTitleBar - * $METHODS$ - * :icon() -> oQIcon - * :text() -> cQString - * :titleBarFlags() -> nQt_WindowFlags - * :titleBarState() -> nInt - * - * $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/TQStyleOptionTitleBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt deleted file mode 100644 index 7adbb47fd3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbar.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionToolBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontoolbar.html - * $ONELINER$ - * Creates a new QStyleOptionToolBar object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionToolBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionToolBar - * $METHODS$ - * :features() -> nToolBarFeatures - * :lineWidth() -> nInt - * :midLineWidth() -> nInt - * :positionOfLine() -> nToolBarPosition - * :positionWithinLine() -> nToolBarPosition - * :toolBarArea() -> nQt_ToolBarArea - * - * $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/TQStyleOptionToolBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionToolBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt deleted file mode 100644 index 429135fe54..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbox.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionToolBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontoolbox.html - * $ONELINER$ - * Creates a new QStyleOptionToolBox object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionToolBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionToolBox - * $METHODS$ - * :icon() -> oQIcon - * :text() -> cQString - * - * $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/TQStyleOptionToolBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionToolBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt deleted file mode 100644 index 902a167fda..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptiontoolbutton.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionToolButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptiontoolbutton.html - * $ONELINER$ - * Creates a new QStyleOptionToolButton object. - * $INHERITS$ - * QStyleOptionComplex - * $SYNTAX$ - * QStyleOptionToolButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionToolButton - * $METHODS$ - * :arrowType() -> nQt_ArrowType - * :features() -> nToolButtonFeatures - * :font() -> oQFont - * :icon() -> oQIcon - * :iconSize() -> oQSize - * :pos() -> oQPoint - * :text() -> cQString - * :toolButtonStyle() -> nQt_ToolButtonStyle - * - * $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/TQStyleOptionToolButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionToolButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt deleted file mode 100644 index be122d55bd..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstyleoptionviewitem.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStyleOptionViewItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstyleoptionviewitem.html - * $ONELINER$ - * Creates a new QStyleOptionViewItem object. - * $INHERITS$ - * QStyleOption - * $SYNTAX$ - * QStyleOptionViewItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStyleOptionViewItem - * $METHODS$ - * :decorationAlignment() -> nQt_Alignment - * :decorationPosition() -> nPosition - * :decorationSize() -> oQSize - * :displayAlignment() -> nQt_Alignment - * :font() -> oQFont - * :showDecorationSelected() -> lBool - * :textElideMode() -> nQt_TextElideMode - * - * $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/TQStyleOptionViewItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QStyleOptionViewItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt deleted file mode 100644 index 6ed599d715..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qstylepainter.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QStylePainter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qstylepainter.html - * $ONELINER$ - * Creates a new QStylePainter object. - * $INHERITS$ - * QPainter - * $SYNTAX$ - * QStylePainter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QStylePainter - * $METHODS$ - * :begin( oQWidget ) -> lBool - * :begin( oQPaintDevice, oQWidget ) -> lBool - * :drawComplexControl( nCc, oQStyleOptionComplex ) -> NIL - * :drawControl( nCe, oQStyleOption ) -> NIL - * :drawItemPixmap( oQRect, nFlags, oQPixmap ) -> NIL - * :drawItemText( oQRect, nFlags, oQPalette, lEnabled, cText, nTextRole ) -> NIL - * :drawPrimitive( nPe, oQStyleOption ) -> NIL - * :style() -> oQStyle - * - * $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/TQStylePainter.prg - * C++ wrappers : contrib/hbqt/qtgui/QStylePainter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt deleted file mode 100644 index 6c1851eb76..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsyntaxhighlighter.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSyntaxHighlighter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsyntaxhighlighter.html - * $ONELINER$ - * Creates a new QSyntaxHighlighter object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QSyntaxHighlighter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSyntaxHighlighter - * $METHODS$ - * :document() -> oQTextDocument - * :setDocument( oQTextDocument ) -> NIL - * :rehighlight() -> 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/TQSyntaxHighlighter.prg - * C++ wrappers : contrib/hbqt/qtgui/QSyntaxHighlighter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt deleted file mode 100644 index 06eb1804a2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qsystemtrayicon.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QSystemTrayIcon() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qsystemtrayicon.html - * $ONELINER$ - * Creates a new QSystemTrayIcon object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QSystemTrayIcon( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QSystemTrayIcon - * $METHODS$ - * :contextMenu() -> oQMenu - * :geometry() -> oQRect - * :icon() -> oQIcon - * :isVisible() -> lBool - * :setContextMenu( oQMenu ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setToolTip( cTip ) -> NIL - * :showMessage( cTitle, cMessage, nIcon, nMillisecondsTimeoutHint ) -> NIL - * :toolTip() -> cQString - * :isSystemTrayAvailable() -> lBool - * :supportsMessages() -> lBool - * :hide() -> NIL - * :setVisible( lVisible ) -> NIL - * :show() -> 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/TQSystemTrayIcon.prg - * C++ wrappers : contrib/hbqt/qtgui/QSystemTrayIcon.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt deleted file mode 100644 index 1ed05f6127..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabbar.txt +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTabBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtabbar.html - * $ONELINER$ - * Creates a new QTabBar object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QTabBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTabBar - * $METHODS$ - * :addTab( cText ) -> nInt - * :count() -> nInt - * :currentIndex() -> nInt - * :documentMode() -> lBool - * :drawBase() -> lBool - * :elideMode() -> nQt_TextElideMode - * :expanding() -> lBool - * :iconSize() -> oQSize - * :insertTab( nIndex, cText ) -> nInt - * :isMovable() -> lBool - * :isTabEnabled( nIndex ) -> lBool - * :moveTab( nFrom, nTo ) -> NIL - * :removeTab( nIndex ) -> NIL - * :selectionBehaviorOnRemove() -> nSelectionBehavior - * :setDocumentMode( lSet ) -> NIL - * :setDrawBase( lDrawTheBase ) -> NIL - * :setElideMode( nQt::TextElideMode ) -> NIL - * :setExpanding( lEnabled ) -> NIL - * :setIconSize( oQSize ) -> NIL - * :setMovable( lMovable ) -> NIL - * :setSelectionBehaviorOnRemove( nBehavior ) -> NIL - * :setShape( nShape ) -> NIL - * :setTabButton( nIndex, nPosition, oQWidget ) -> NIL - * :setTabData( nIndex, oQVariant ) -> NIL - * :setTabEnabled( nIndex, lEnabled ) -> NIL - * :setTabText( nIndex, cText ) -> NIL - * :setTabTextColor( nIndex, oQColor ) -> NIL - * :setTabToolTip( nIndex, cTip ) -> NIL - * :setTabWhatsThis( nIndex, cText ) -> NIL - * :setTabsClosable( lClosable ) -> NIL - * :setUsesScrollButtons( lUseButtons ) -> NIL - * :shape() -> nShape - * :tabAt( oQPoint ) -> nInt - * :tabButton( nIndex, nPosition ) -> oQWidget - * :tabData( nIndex ) -> oQVariant - * :tabIcon( nIndex ) -> oQIcon - * :tabRect( nIndex ) -> oQRect - * :tabText( nIndex ) -> cQString - * :tabTextColor( nIndex ) -> oQColor - * :tabToolTip( nIndex ) -> cQString - * :tabWhatsThis( nIndex ) -> cQString - * :tabsClosable() -> lBool - * :usesScrollButtons() -> lBool - * :setCurrentIndex( nIndex ) -> 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/TQTabBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QTabBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt deleted file mode 100644 index 6f2cd3747d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtableview.txt +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTableView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtableview.html - * $ONELINER$ - * Creates a new QTableView object. - * $INHERITS$ - * QAbstractItemView - * $SYNTAX$ - * QTableView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTableView - * $METHODS$ - * :clearSpans() -> NIL - * :columnAt( nX ) -> nInt - * :columnSpan( nRow, nColumn ) -> nInt - * :columnViewportPosition( nColumn ) -> nInt - * :columnWidth( nColumn ) -> nInt - * :gridStyle() -> nQt_PenStyle - * :horizontalHeader() -> oQHeaderView - * :indexAt( oQPoint ) -> oQModelIndex - * :isColumnHidden( nColumn ) -> lBool - * :isCornerButtonEnabled() -> lBool - * :isRowHidden( nRow ) -> lBool - * :isSortingEnabled() -> lBool - * :rowAt( nY ) -> nInt - * :rowHeight( nRow ) -> nInt - * :rowSpan( nRow, nColumn ) -> nInt - * :rowViewportPosition( nRow ) -> nInt - * :setColumnHidden( nColumn, lHide ) -> NIL - * :setColumnWidth( nColumn, nWidth ) -> NIL - * :setCornerButtonEnabled( lEnable ) -> NIL - * :setGridStyle( nStyle ) -> NIL - * :setHorizontalHeader( oQHeaderView ) -> NIL - * :setRowHeight( nRow, nHeight ) -> NIL - * :setRowHidden( nRow, lHide ) -> NIL - * :setSortingEnabled( lEnable ) -> NIL - * :setSpan( nRow, nColumn, nRowSpanCount, nColumnSpanCount ) -> NIL - * :setVerticalHeader( oQHeaderView ) -> NIL - * :setWordWrap( lOn ) -> NIL - * :showGrid() -> lBool - * :sortByColumn( nColumn, nOrder ) -> NIL - * :verticalHeader() -> oQHeaderView - * :wordWrap() -> lBool - * :hideColumn( nColumn ) -> NIL - * :hideRow( nRow ) -> NIL - * :resizeColumnToContents( nColumn ) -> NIL - * :resizeColumnsToContents() -> NIL - * :resizeRowToContents( nRow ) -> NIL - * :resizeRowsToContents() -> NIL - * :selectColumn( nColumn ) -> NIL - * :selectRow( nRow ) -> NIL - * :setShowGrid( lShow ) -> NIL - * :showColumn( nColumn ) -> NIL - * :showRow( nRow ) -> 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/TQTableView.prg - * C++ wrappers : contrib/hbqt/qtgui/QTableView.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt deleted file mode 100644 index b15ae365e0..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidget.txt +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTableWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtablewidget.html - * $ONELINER$ - * Creates a new QTableWidget object. - * $INHERITS$ - * QTableView - * $SYNTAX$ - * QTableWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTableWidget - * $METHODS$ - * :cellWidget( nRow, nColumn ) -> oQWidget - * :closePersistentEditor( oQTableWidgetItem ) -> NIL - * :column( oQTableWidgetItem ) -> nInt - * :columnCount() -> nInt - * :currentColumn() -> nInt - * :currentItem() -> oQTableWidgetItem - * :currentRow() -> nInt - * :editItem( oQTableWidgetItem ) -> NIL - * :findItems( cText, nFlags ) -> oQList_QTableWidgetItem - * :horizontalHeaderItem( nColumn ) -> oQTableWidgetItem - * :item( nRow, nColumn ) -> oQTableWidgetItem - * :itemAt( oQPoint ) -> oQTableWidgetItem - * :itemAt( nAx, nAy ) -> oQTableWidgetItem - * :itemPrototype() -> oQTableWidgetItem - * :openPersistentEditor( oQTableWidgetItem ) -> NIL - * :removeCellWidget( nRow, nColumn ) -> NIL - * :row( oQTableWidgetItem ) -> nInt - * :rowCount() -> nInt - * :selectedItems() -> oQList_QTableWidgetItem - * :selectedRanges() -> oQList_QTableWidgetSelectionRange> - * :setCellWidget( nRow, nColumn, oQWidget ) -> NIL - * :setColumnCount( nColumns ) -> NIL - * :setCurrentCell( nRow, nColumn ) -> NIL - * :setCurrentCell( nRow, nColumn, nCommand ) -> NIL - * :setCurrentItem( oQTableWidgetItem ) -> NIL - * :setCurrentItem( oQTableWidgetItem, nCommand ) -> NIL - * :setHorizontalHeaderItem( nColumn, oQTableWidgetItem ) -> NIL - * :setHorizontalHeaderLabels( oQStringList ) -> NIL - * :setItem( nRow, nColumn, oQTableWidgetItem ) -> NIL - * :setItemPrototype( oQTableWidgetItem ) -> NIL - * :setRangeSelected( oQTableWidgetSelectionRange, lSelect ) -> NIL - * :setRowCount( nRows ) -> NIL - * :setVerticalHeaderItem( nRow, oQTableWidgetItem ) -> NIL - * :setVerticalHeaderLabels( oQStringList ) -> NIL - * :sortItems( nColumn, nOrder ) -> NIL - * :takeHorizontalHeaderItem( nColumn ) -> oQTableWidgetItem - * :takeItem( nRow, nColumn ) -> oQTableWidgetItem - * :takeVerticalHeaderItem( nRow ) -> oQTableWidgetItem - * :verticalHeaderItem( nRow ) -> oQTableWidgetItem - * :visualColumn( nLogicalColumn ) -> nInt - * :visualItemRect( oQTableWidgetItem ) -> oQRect - * :visualRow( nLogicalRow ) -> nInt - * :clear() -> NIL - * :clearContents() -> NIL - * :insertColumn( nColumn ) -> NIL - * :insertRow( nRow ) -> NIL - * :removeColumn( nColumn ) -> NIL - * :removeRow( nRow ) -> NIL - * :scrollToItem( oQTableWidgetItem, nHint ) -> 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/TQTableWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QTableWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt deleted file mode 100644 index c176398c3f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetitem.txt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTableWidgetItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtablewidgetitem.html - * $ONELINER$ - * Creates a new QTableWidgetItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QTableWidgetItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTableWidgetItem - * $METHODS$ - * :background() -> oQBrush - * :checkState() -> nQt_CheckState - * :clone() -> oQTableWidgetItem - * :column() -> nInt - * :data( nRole ) -> oQVariant - * :flags() -> nQt_ItemFlags - * :font() -> oQFont - * :foreground() -> oQBrush - * :icon() -> oQIcon - * :isSelected() -> lBool - * :read( oQDataStream ) -> NIL - * :row() -> nInt - * :setBackground( oQBrush ) -> NIL - * :setCheckState( nState ) -> NIL - * :setData( nRole, oQVariant ) -> NIL - * :setFlags( nFlags ) -> NIL - * :setFont( oQFont ) -> NIL - * :setForeground( oQBrush ) -> NIL - * :setIcon( coQIcon ) -> NIL - * :setSelected( lSelect ) -> NIL - * :setSizeHint( oQSize ) -> NIL - * :setStatusTip( cStatusTip ) -> NIL - * :setText( cText ) -> NIL - * :setTextAlignment( nAlignment ) -> NIL - * :setToolTip( cToolTip ) -> NIL - * :setWhatsThis( cWhatsThis ) -> NIL - * :sizeHint() -> oQSize - * :statusTip() -> cQString - * :tableWidget() -> oQTableWidget - * :text() -> cQString - * :textAlignment() -> nInt - * :toolTip() -> cQString - * :type() -> nInt - * :whatsThis() -> cQString - * :write( oQDataStream ) -> 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/TQTableWidgetItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QTableWidgetItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt deleted file mode 100644 index 4d5a9604d9..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtablewidgetselectionrange.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTableWidgetSelectionRange() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtablewidgetselectionrange.html - * $ONELINER$ - * Creates a new QTableWidgetSelectionRange object. - * $INHERITS$ - * - * $SYNTAX$ - * QTableWidgetSelectionRange( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTableWidgetSelectionRange - * $METHODS$ - * :bottomRow() -> nInt - * :columnCount() -> nInt - * :leftColumn() -> nInt - * :rightColumn() -> nInt - * :rowCount() -> nInt - * :topRow() -> nInt - * - * $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/TQTableWidgetSelectionRange.prg - * C++ wrappers : contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt deleted file mode 100644 index 800dabc1e7..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtabwidget.txt +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTabWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtabwidget.html - * $ONELINER$ - * Creates a new QTabWidget object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QTabWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTabWidget - * $METHODS$ - * :addTab( oQWidget, cLabel ) -> nInt - * :addTab( oQWidget, coQIcon, cLabel ) -> nInt - * :clear() -> NIL - * :cornerWidget( nCorner ) -> oQWidget - * :count() -> nInt - * :currentIndex() -> nInt - * :currentWidget() -> oQWidget - * :documentMode() -> lBool - * :elideMode() -> nQt_TextElideMode - * :iconSize() -> oQSize - * :indexOf( oQWidget ) -> nInt - * :insertTab( nIndex, oQWidget, cLabel ) -> nInt - * :insertTab( nIndex, oQWidget, coQIcon, cLabel ) -> nInt - * :isMovable() -> lBool - * :isTabEnabled( nIndex ) -> lBool - * :removeTab( nIndex ) -> NIL - * :setCornerWidget( oQWidget, nCorner ) -> NIL - * :setDocumentMode( lSet ) -> NIL - * :setElideMode( nQt::TextElideMode ) -> NIL - * :setIconSize( oQSize ) -> NIL - * :setMovable( lMovable ) -> NIL - * :setTabEnabled( nIndex, lEnable ) -> NIL - * :setTabIcon( nIndex, coQIcon ) -> NIL - * :setTabPosition( nTabPosition ) -> NIL - * :setTabShape( nS ) -> NIL - * :setTabText( nIndex, cLabel ) -> NIL - * :setTabToolTip( nIndex, cTip ) -> NIL - * :setTabWhatsThis( nIndex, cText ) -> NIL - * :setTabsClosable( lCloseable ) -> NIL - * :setUsesScrollButtons( lUseButtons ) -> NIL - * :tabIcon( nIndex ) -> oQIcon - * :tabPosition() -> nTabPosition - * :tabShape() -> nTabShape - * :tabText( nIndex ) -> cQString - * :tabToolTip( nIndex ) -> cQString - * :tabWhatsThis( nIndex ) -> cQString - * :tabsClosable() -> lBool - * :usesScrollButtons() -> lBool - * :widget( nIndex ) -> oQWidget - * :setCurrentIndex( nIndex ) -> NIL - * :setCurrentWidget( oQWidget ) -> 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/TQTabWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QTabWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt deleted file mode 100644 index 3435890c40..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblock.txt +++ /dev/null @@ -1,75 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextBlock() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextblock.html - * $ONELINER$ - * Creates a new QTextBlock object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextBlock( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextBlock - * $METHODS$ - * :blockFormat() -> oQTextBlockFormat - * :blockFormatIndex() -> nInt - * :blockNumber() -> nInt - * :charFormat() -> oQTextCharFormat - * :charFormatIndex() -> nInt - * :clearLayout() -> NIL - * :contains( nPosition ) -> lBool - * :document() -> oQTextDocument - * :firstLineNumber() -> nInt - * :isValid() -> lBool - * :isVisible() -> lBool - * :layout() -> oQTextLayout - * :length() -> nInt - * :lineCount() -> nInt - * :next() -> oQTextBlock - * :position() -> nInt - * :previous() -> oQTextBlock - * :revision() -> nInt - * :setLineCount( nCount ) -> NIL - * :setRevision( nRev ) -> NIL - * :setUserData( oHBQTextBlockUserData ) -> NIL - * :setUserState( nState ) -> NIL - * :setVisible( lVisible ) -> NIL - * :text() -> cQString - * :textList() -> oQTextList - * :userData() -> oHBQTextBlockUserData - * :userState() -> nInt - * - * $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/TQTextBlock.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextBlock.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt deleted file mode 100644 index 275bcdb25d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockformat.txt +++ /dev/null @@ -1,67 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextBlockFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextblockformat.html - * $ONELINER$ - * Creates a new QTextBlockFormat object. - * $INHERITS$ - * QTextFormat - * $SYNTAX$ - * QTextBlockFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextBlockFormat - * $METHODS$ - * :alignment() -> nQt_Alignment - * :bottomMargin() -> nQreal - * :indent() -> nInt - * :isValid() -> lBool - * :leftMargin() -> nQreal - * :nonBreakableLines() -> lBool - * :pageBreakPolicy() -> nPageBreakFlags - * :rightMargin() -> nQreal - * :setAlignment( nAlignment ) -> NIL - * :setBottomMargin( nMargin ) -> NIL - * :setIndent( nIndentation ) -> NIL - * :setLeftMargin( nMargin ) -> NIL - * :setNonBreakableLines( lB ) -> NIL - * :setPageBreakPolicy( nPolicy ) -> NIL - * :setRightMargin( nMargin ) -> NIL - * :setTextIndent( nIndent ) -> NIL - * :setTopMargin( nMargin ) -> NIL - * :textIndent() -> nQreal - * :topMargin() -> nQreal - * - * $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/TQTextBlockFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextBlockFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt deleted file mode 100644 index 01f88299a1..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextBlockGroup() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextblockgroup.html - * $ONELINER$ - * Creates a new QTextBlockGroup object. - * $INHERITS$ - * QTextObject - * $SYNTAX$ - * QTextBlockGroup( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextBlockGroup - * $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/TQTextBlockGroup.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextBlockGroup.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt deleted file mode 100644 index 28d81789a4..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextbrowser.txt +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextBrowser() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextbrowser.html - * $ONELINER$ - * Creates a new QTextBrowser object. - * $INHERITS$ - * QTextEdit - * $SYNTAX$ - * QTextBrowser( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextBrowser - * $METHODS$ - * :backwardHistoryCount() -> nInt - * :clearHistory() -> NIL - * :forwardHistoryCount() -> nInt - * :historyTitle( nI ) -> cQString - * :historyUrl( nI ) -> oQUrl - * :isBackwardAvailable() -> lBool - * :isForwardAvailable() -> lBool - * :loadResource( nType, oQUrl ) -> oQVariant - * :openExternalLinks() -> lBool - * :openLinks() -> lBool - * :searchPaths() -> oQStringList - * :setOpenExternalLinks( lOpen ) -> NIL - * :setOpenLinks( lOpen ) -> NIL - * :setSearchPaths( oQStringList ) -> NIL - * :source() -> oQUrl - * :backward() -> NIL - * :forward() -> NIL - * :home() -> NIL - * :reload() -> NIL - * :setSource( oQUrl ) -> 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/TQTextBrowser.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextBrowser.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt deleted file mode 100644 index 7a055e9a98..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcharformat.txt +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextCharFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextcharformat.html - * $ONELINER$ - * Creates a new QTextCharFormat object. - * $INHERITS$ - * QTextFormat - * $SYNTAX$ - * QTextCharFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextCharFormat - * $METHODS$ - * :anchorHref() -> cQString - * :anchorNames() -> oQStringList - * :font() -> oQFont - * :fontCapitalization() -> nQFont_Capitalization - * :fontFamily() -> cQString - * :fontFixedPitch() -> lBool - * :fontItalic() -> lBool - * :fontKerning() -> lBool - * :fontLetterSpacing() -> nQreal - * :fontOverline() -> lBool - * :fontPointSize() -> nQreal - * :fontStrikeOut() -> lBool - * :fontStyleHint() -> nQFont_StyleHint - * :fontStyleStrategy() -> nQFont_StyleStrategy - * :fontUnderline() -> lBool - * :fontWeight() -> nInt - * :fontWordSpacing() -> nQreal - * :isAnchor() -> lBool - * :isValid() -> lBool - * :setAnchor( lAnchor ) -> NIL - * :setAnchorHref( cValue ) -> NIL - * :setAnchorNames( oQStringList ) -> NIL - * :setFont( oQFont ) -> NIL - * :setFontCapitalization( nCapitalization ) -> NIL - * :setFontFamily( cFamily ) -> NIL - * :setFontFixedPitch( lFixedPitch ) -> NIL - * :setFontItalic( lItalic ) -> NIL - * :setFontKerning( lEnable ) -> NIL - * :setFontLetterSpacing( nSpacing ) -> NIL - * :setFontOverline( lOverline ) -> NIL - * :setFontPointSize( nSize ) -> NIL - * :setFontStrikeOut( lStrikeOut ) -> NIL - * :setFontStyleHint( nHint, nStrategy ) -> NIL - * :setFontStyleStrategy( nStrategy ) -> NIL - * :setFontUnderline( lUnderline ) -> NIL - * :setFontWeight( nWeight ) -> NIL - * :setFontWordSpacing( nSpacing ) -> NIL - * :setTextOutline( oQPen ) -> NIL - * :setToolTip( cText ) -> NIL - * :setUnderlineColor( oQColor ) -> NIL - * :setUnderlineStyle( nStyle ) -> NIL - * :setVerticalAlignment( nAlignment ) -> NIL - * :textOutline() -> oQPen - * :toolTip() -> cQString - * :underlineColor() -> oQColor - * :underlineStyle() -> nUnderlineStyle - * :verticalAlignment() -> nVerticalAlignment - * - * $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/TQTextCharFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextCharFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt deleted file mode 100644 index c1fa21f7a5..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextcursor.txt +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextCursor() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextcursor.html - * $ONELINER$ - * Creates a new QTextCursor object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextCursor( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextCursor - * $METHODS$ - * :anchor() -> nInt - * :atBlockEnd() -> lBool - * :atBlockStart() -> lBool - * :atEnd() -> lBool - * :atStart() -> lBool - * :beginEditBlock() -> NIL - * :block() -> oQTextBlock - * :blockCharFormat() -> oQTextCharFormat - * :blockFormat() -> oQTextBlockFormat - * :blockNumber() -> nInt - * :charFormat() -> oQTextCharFormat - * :clearSelection() -> NIL - * :columnNumber() -> nInt - * :createList( oQTextListFormat ) -> oQTextList - * :createList( nStyle ) -> oQTextList - * :currentFrame() -> oQTextFrame - * :currentList() -> oQTextList - * :deleteChar() -> NIL - * :deletePreviousChar() -> NIL - * :document() -> oQTextDocument - * :endEditBlock() -> NIL - * :hasComplexSelection() -> lBool - * :hasSelection() -> lBool - * :insertBlock() -> NIL - * :insertBlock( oQTextBlockFormat ) -> NIL - * :insertBlock( oQTextBlockFormat, oQTextCharFormat ) -> NIL - * :insertFragment( oQTextDocumentFragment ) -> NIL - * :insertFrame( oQTextFrameFormat ) -> oQTextFrame - * :insertHtml( cHtml ) -> NIL - * :insertImage( cName ) -> NIL - * :insertImage( oQTextImageFormat ) -> NIL - * :insertImage( oQTextImageFormat, nAlignment ) -> NIL - * :insertImage( oQImage, cName ) -> NIL - * :insertList( oQTextListFormat ) -> oQTextList - * :insertList( nStyle ) -> oQTextList - * :insertText( cText ) -> NIL - * :insertText( cText, oQTextCharFormat ) -> NIL - * :isCopyOf( oQTextCursor ) -> lBool - * :isNull() -> lBool - * :joinPreviousEditBlock() -> NIL - * :mergeBlockCharFormat( oQTextCharFormat ) -> NIL - * :mergeBlockFormat( oQTextBlockFormat ) -> NIL - * :mergeCharFormat( oQTextCharFormat ) -> NIL - * :movePosition( nOperation, nMode, nN ) -> lBool - * :position() -> nInt - * :removeSelectedText() -> NIL - * :select( nSelection ) -> NIL - * :selectedTableCells( @nFirstRow, @nNumRows, @nFirstColumn, @nNumColumns ) -> NIL - * :selectedText() -> cQString - * :selection() -> oQTextDocumentFragment - * :selectionEnd() -> nInt - * :selectionStart() -> nInt - * :setBlockCharFormat( oQTextCharFormat ) -> NIL - * :setBlockFormat( oQTextBlockFormat ) -> NIL - * :setCharFormat( oQTextCharFormat ) -> NIL - * :setPosition( nPos, nM ) -> NIL - * :setVisualNavigation( lB ) -> NIL - * :visualNavigation() -> lBool - * - * $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/TQTextCursor.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextCursor.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt deleted file mode 100644 index 16cb0d5ec9..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocument.txt +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextDocument() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextdocument.html - * $ONELINER$ - * Creates a new QTextDocument object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QTextDocument( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextDocument - * $METHODS$ - * :addResource( nType, oQUrl, oQVariant ) -> NIL - * :adjustSize() -> NIL - * :begin() -> oQTextBlock - * :blockCount() -> nInt - * :characterAt( nPos ) -> oQChar - * :characterCount() -> nInt - * :clear() -> NIL - * :clone( oQObject ) -> oQTextDocument - * :defaultFont() -> oQFont - * :defaultStyleSheet() -> cQString - * :defaultTextOption() -> oQTextOption - * :documentLayout() -> oQAbstractTextDocumentLayout - * :documentMargin() -> nQreal - * :drawContents( oQPainter, oQRectF ) -> NIL - * :end() -> oQTextBlock - * :find( cSubString, oQTextCursor, nOptions ) -> oQTextCursor - * :find( oQRegExp, oQTextCursor, nOptions ) -> oQTextCursor - * :find( cSubString, nPosition, nOptions ) -> oQTextCursor - * :find( oQRegExp, nPosition, nOptions ) -> oQTextCursor - * :findBlock( nPos ) -> oQTextBlock - * :findBlockByLineNumber( nLineNumber ) -> oQTextBlock - * :findBlockByNumber( nBlockNumber ) -> oQTextBlock - * :firstBlock() -> oQTextBlock - * :idealWidth() -> nQreal - * :indentWidth() -> nQreal - * :isEmpty() -> lBool - * :isModified() -> lBool - * :isRedoAvailable() -> lBool - * :isUndoAvailable() -> lBool - * :isUndoRedoEnabled() -> lBool - * :lastBlock() -> oQTextBlock - * :lineCount() -> nInt - * :markContentsDirty( nPosition, nLength ) -> NIL - * :maximumBlockCount() -> nInt - * :metaInformation( nInfo ) -> cQString - * :object( nObjectIndex ) -> oQTextObject - * :objectForFormat( oQTextFormat ) -> oQTextObject - * :pageCount() -> nInt - * :pageSize() -> oQSizeF - * :print( oQPrinter ) -> NIL - * :redo( oQTextCursor ) -> NIL - * :resource( nType, oQUrl ) -> oQVariant - * :revision() -> nInt - * :rootFrame() -> oQTextFrame - * :setDefaultFont( oQFont ) -> NIL - * :setDefaultStyleSheet( cSheet ) -> NIL - * :setDefaultTextOption( oQTextOption ) -> NIL - * :setDocumentLayout( oQAbstractTextDocumentLayout ) -> NIL - * :setDocumentMargin( nMargin ) -> NIL - * :setHtml( cHtml ) -> NIL - * :setIndentWidth( nWidth ) -> NIL - * :setMaximumBlockCount( nMaximum ) -> NIL - * :setMetaInformation( nInfo, cString ) -> NIL - * :setPageSize( oQSizeF ) -> NIL - * :setPlainText( cText ) -> NIL - * :setTextWidth( nWidth ) -> NIL - * :setUndoRedoEnabled( lEnable ) -> NIL - * :setUseDesignMetrics( lB ) -> NIL - * :size() -> oQSizeF - * :textWidth() -> nQreal - * :toHtml( oQByteArray ) -> cQString - * :toPlainText() -> cQString - * :undo( oQTextCursor ) -> NIL - * :useDesignMetrics() -> lBool - * :redo() -> NIL - * :setModified( lM ) -> NIL - * :undo() -> 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/TQTextDocument.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextDocument.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt deleted file mode 100644 index f000880a12..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentfragment.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextDocumentFragment() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextdocumentfragment.html - * $ONELINER$ - * Creates a new QTextDocumentFragment object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextDocumentFragment( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextDocumentFragment - * $METHODS$ - * :isEmpty() -> lBool - * :toHtml( oQByteArray ) -> cQString - * :toHtml() -> cQString - * :toPlainText() -> cQString - * :fromHtml( cText ) -> oQTextDocumentFragment - * :fromHtml( cText, oQTextDocument ) -> oQTextDocumentFragment - * :fromPlainText( cPlainText ) -> oQTextDocumentFragment - * - * $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/TQTextDocumentFragment.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextDocumentFragment.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt deleted file mode 100644 index b10fe76258..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextdocumentwriter.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextDocumentWriter() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextdocumentwriter.html - * $ONELINER$ - * Creates a new QTextDocumentWriter object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextDocumentWriter( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextDocumentWriter - * $METHODS$ - * :codec() -> oQTextCodec - * :device() -> oQIODevice - * :fileName() -> cQString - * :format() -> oQByteArray - * :setCodec( oQTextCodec ) -> NIL - * :setDevice( oQIODevice ) -> NIL - * :setFileName( cFileName ) -> NIL - * :setFormat( oQByteArray ) -> NIL - * :write( oQTextDocument ) -> lBool - * :write( oQTextDocumentFragment ) -> lBool - * - * $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/TQTextDocumentWriter.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextDocumentWriter.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt deleted file mode 100644 index b9005e2c3b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextedit.txt +++ /dev/null @@ -1,129 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextedit.html - * $ONELINER$ - * Creates a new QTextEdit object. - * $INHERITS$ - * QAbstractScrollArea - * $SYNTAX$ - * QTextEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextEdit - * $METHODS$ - * :acceptRichText() -> lBool - * :alignment() -> nQt_Alignment - * :anchorAt( oQPoint ) -> cQString - * :autoFormatting() -> nAutoFormatting - * :canPaste() -> lBool - * :createStandardContextMenu() -> oQMenu - * :createStandardContextMenu( oQPoint ) -> oQMenu - * :currentCharFormat() -> oQTextCharFormat - * :currentFont() -> oQFont - * :cursorForPosition( oQPoint ) -> oQTextCursor - * :cursorRect( oQTextCursor ) -> oQRect - * :cursorRect() -> oQRect - * :cursorWidth() -> nInt - * :document() -> oQTextDocument - * :documentTitle() -> cQString - * :ensureCursorVisible() -> NIL - * :find( cExp, nOptions ) -> lBool - * :fontFamily() -> cQString - * :fontItalic() -> lBool - * :fontPointSize() -> nQreal - * :fontUnderline() -> lBool - * :fontWeight() -> nInt - * :isReadOnly() -> lBool - * :isUndoRedoEnabled() -> lBool - * :lineWrapColumnOrWidth() -> nInt - * :lineWrapMode() -> nLineWrapMode - * :loadResource( nType, oQUrl ) -> oQVariant - * :mergeCurrentCharFormat( oQTextCharFormat ) -> NIL - * :moveCursor( nOperation, nMode ) -> NIL - * :overwriteMode() -> lBool - * :print( oQPrinter ) -> NIL - * :setAcceptRichText( lAccept ) -> NIL - * :setAutoFormatting( nFeatures ) -> NIL - * :setCurrentCharFormat( oQTextCharFormat ) -> NIL - * :setCursorWidth( nWidth ) -> NIL - * :setDocument( oQTextDocument ) -> NIL - * :setDocumentTitle( cTitle ) -> NIL - * :setLineWrapColumnOrWidth( nW ) -> NIL - * :setLineWrapMode( nMode ) -> NIL - * :setOverwriteMode( lOverwrite ) -> NIL - * :setReadOnly( lRo ) -> NIL - * :setTabChangesFocus( lB ) -> NIL - * :setTabStopWidth( nWidth ) -> NIL - * :setTextCursor( oQTextCursor ) -> NIL - * :setTextInteractionFlags( nFlags ) -> NIL - * :setUndoRedoEnabled( lEnable ) -> NIL - * :setWordWrapMode( nPolicy ) -> NIL - * :tabChangesFocus() -> lBool - * :tabStopWidth() -> nInt - * :textBackgroundColor() -> oQColor - * :textColor() -> oQColor - * :textCursor() -> oQTextCursor - * :textInteractionFlags() -> nQt_TextInteractionFlags - * :toHtml() -> cQString - * :toPlainText() -> cQString - * :wordWrapMode() -> nQTextOption_WrapMode - * :append( cText ) -> NIL - * :clear() -> NIL - * :copy() -> NIL - * :cut() -> NIL - * :insertHtml( cText ) -> NIL - * :insertPlainText( cText ) -> NIL - * :paste() -> NIL - * :redo() -> NIL - * :scrollToAnchor( cName ) -> NIL - * :selectAll() -> NIL - * :setAlignment( nA ) -> NIL - * :setCurrentFont( oQFont ) -> NIL - * :setFontFamily( cFontFamily ) -> NIL - * :setFontItalic( lItalic ) -> NIL - * :setFontPointSize( nS ) -> NIL - * :setFontUnderline( lUnderline ) -> NIL - * :setFontWeight( nWeight ) -> NIL - * :setHtml( cText ) -> NIL - * :setPlainText( cText ) -> NIL - * :setText( cText ) -> NIL - * :setTextBackgroundColor( oQColor ) -> NIL - * :setTextColor( oQColor ) -> NIL - * :undo() -> NIL - * :zoomIn( nRange ) -> NIL - * :zoomOut( nRange ) -> 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/TQTextEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt deleted file mode 100644 index 00ea9cc77c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextformat.txt +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextformat.html - * $ONELINER$ - * Creates a new QTextFormat object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextFormat - * $METHODS$ - * :background() -> oQBrush - * :boolProperty( nPropertyId ) -> lBool - * :brushProperty( nPropertyId ) -> oQBrush - * :clearBackground() -> NIL - * :clearForeground() -> NIL - * :clearProperty( nPropertyId ) -> NIL - * :colorProperty( nPropertyId ) -> oQColor - * :doubleProperty( nPropertyId ) -> nQreal - * :foreground() -> oQBrush - * :hasProperty( nPropertyId ) -> lBool - * :intProperty( nPropertyId ) -> nInt - * :isBlockFormat() -> lBool - * :isCharFormat() -> lBool - * :isFrameFormat() -> lBool - * :isImageFormat() -> lBool - * :isListFormat() -> lBool - * :isTableCellFormat() -> lBool - * :isTableFormat() -> lBool - * :isValid() -> lBool - * :layoutDirection() -> nQt_LayoutDirection - * :lengthProperty( nPropertyId ) -> oQTextLength - * :merge( oQTextFormat ) -> NIL - * :objectIndex() -> nInt - * :objectType() -> nInt - * :penProperty( nPropertyId ) -> oQPen - * :property( nPropertyId ) -> oQVariant - * :propertyCount() -> nInt - * :setBackground( oQBrush ) -> NIL - * :setForeground( oQBrush ) -> NIL - * :setLayoutDirection( nDirection ) -> NIL - * :setObjectIndex( nIndex ) -> NIL - * :setObjectType( nType ) -> NIL - * :setProperty( nPropertyId, oQVariant ) -> NIL - * :stringProperty( nPropertyId ) -> cQString - * :toBlockFormat() -> oQTextBlockFormat - * :toCharFormat() -> oQTextCharFormat - * :toFrameFormat() -> oQTextFrameFormat - * :toImageFormat() -> oQTextImageFormat - * :toListFormat() -> oQTextListFormat - * :toTableFormat() -> oQTextTableFormat - * :type() -> nInt - * - * $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/TQTextFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt deleted file mode 100644 index bdd19544cc..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextfragment.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextFragment() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextfragment.html - * $ONELINER$ - * Creates a new QTextFragment object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextFragment( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextFragment - * $METHODS$ - * :charFormat() -> oQTextCharFormat - * :charFormatIndex() -> nInt - * :contains( nPosition ) -> lBool - * :isValid() -> lBool - * :length() -> nInt - * :position() -> nInt - * :text() -> cQString - * - * $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/TQTextFragment.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextFragment.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt deleted file mode 100644 index c4182440a9..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframe.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextFrame() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextframe.html - * $ONELINER$ - * Creates a new QTextFrame object. - * $INHERITS$ - * QTextObject - * $SYNTAX$ - * QTextFrame( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextFrame - * $METHODS$ - * :childFrames() -> oQList_QTextFrame - * :firstCursorPosition() -> oQTextCursor - * :firstPosition() -> nInt - * :frameFormat() -> oQTextFrameFormat - * :lastCursorPosition() -> oQTextCursor - * :lastPosition() -> nInt - * :parentFrame() -> oQTextFrame - * :setFrameFormat( oQTextFrameFormat ) -> 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/TQTextFrame.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextFrame.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt deleted file mode 100644 index 1871ad1a29..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextframeformat.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextFrameFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextframeformat.html - * $ONELINER$ - * Creates a new QTextFrameFormat object. - * $INHERITS$ - * QTextFormat - * $SYNTAX$ - * QTextFrameFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextFrameFormat - * $METHODS$ - * :border() -> nQreal - * :borderBrush() -> oQBrush - * :borderStyle() -> nBorderStyle - * :bottomMargin() -> nQreal - * :height() -> oQTextLength - * :isValid() -> lBool - * :leftMargin() -> nQreal - * :margin() -> nQreal - * :padding() -> nQreal - * :pageBreakPolicy() -> nPageBreakFlags - * :position() -> nPosition - * :rightMargin() -> nQreal - * :setBorder( nWidth ) -> NIL - * :setBorderBrush( oQBrush ) -> NIL - * :setBorderStyle( nStyle ) -> NIL - * :setBottomMargin( nMargin ) -> NIL - * :setHeight( oQTextLength ) -> NIL - * :setHeight( nHeight ) -> NIL - * :setLeftMargin( nMargin ) -> NIL - * :setMargin( nMargin ) -> NIL - * :setPadding( nWidth ) -> NIL - * :setPageBreakPolicy( nPolicy ) -> NIL - * :setPosition( nPolicy ) -> NIL - * :setRightMargin( nMargin ) -> NIL - * :setTopMargin( nMargin ) -> NIL - * :setWidth( oQTextLength ) -> NIL - * :setWidth( nWidth ) -> NIL - * :topMargin() -> nQreal - * :width() -> oQTextLength - * - * $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/TQTextFrameFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextFrameFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt deleted file mode 100644 index 91cdef29fd..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextimageformat.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextImageFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextimageformat.html - * $ONELINER$ - * Creates a new QTextImageFormat object. - * $INHERITS$ - * QTextCharFormat - * $SYNTAX$ - * QTextImageFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextImageFormat - * $METHODS$ - * :height() -> nQreal - * :isValid() -> lBool - * :name() -> cQString - * :setHeight( nHeight ) -> NIL - * :setName( cName ) -> NIL - * :setWidth( nWidth ) -> NIL - * :width() -> nQreal - * - * $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/TQTextImageFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextImageFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt deleted file mode 100644 index 0f54c5ff1c..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextinlineobject.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextInlineObject() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextinlineobject.html - * $ONELINER$ - * Creates a new QTextInlineObject object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextInlineObject( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextInlineObject - * $METHODS$ - * :ascent() -> nQreal - * :descent() -> nQreal - * :format() -> oQTextFormat - * :formatIndex() -> nInt - * :height() -> nQreal - * :isValid() -> lBool - * :rect() -> oQRectF - * :setAscent( nA ) -> NIL - * :setDescent( nD ) -> NIL - * :setWidth( nW ) -> NIL - * :textDirection() -> nQt_LayoutDirection - * :textPosition() -> nInt - * :width() -> nQreal - * - * $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/TQTextInlineObject.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextInlineObject.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt deleted file mode 100644 index adcbada81b..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextitem.txt +++ /dev/null @@ -1,54 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextitem.html - * $ONELINER$ - * Creates a new QTextItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextItem - * $METHODS$ - * :ascent() -> nQreal - * :descent() -> nQreal - * :font() -> oQFont - * :renderFlags() -> nRenderFlags - * :text() -> cQString - * :width() -> nQreal - * - * $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/TQTextItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt deleted file mode 100644 index 49a9c7d3fd..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlayout.txt +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextlayout.html - * $ONELINER$ - * Creates a new QTextLayout object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextLayout - * $METHODS$ - * :beginLayout() -> NIL - * :boundingRect() -> oQRectF - * :cacheEnabled() -> lBool - * :clearAdditionalFormats() -> NIL - * :clearLayout() -> NIL - * :createLine() -> oQTextLine - * :drawCursor( oQPainter, oQPointF, nCursorPosition, nWidth ) -> NIL - * :drawCursor( oQPainter, oQPointF, nCursorPosition ) -> NIL - * :endLayout() -> NIL - * :font() -> oQFont - * :isValidCursorPosition( nPos ) -> lBool - * :lineAt( nI ) -> oQTextLine - * :lineCount() -> nInt - * :lineForTextPosition( nPos ) -> oQTextLine - * :maximumWidth() -> nQreal - * :minimumWidth() -> nQreal - * :nextCursorPosition( nOldPos, nMode ) -> nInt - * :position() -> oQPointF - * :preeditAreaPosition() -> nInt - * :preeditAreaText() -> cQString - * :previousCursorPosition( nOldPos, nMode ) -> nInt - * :setCacheEnabled( lEnable ) -> NIL - * :setFont( oQFont ) -> NIL - * :setPosition( oQPointF ) -> NIL - * :setPreeditArea( nPosition, cText ) -> NIL - * :setText( cString ) -> NIL - * :setTextOption( oQTextOption ) -> NIL - * :text() -> cQString - * :textOption() -> oQTextOption - * - * $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/TQTextLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt deleted file mode 100644 index a0d0496847..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlength.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextLength() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextlength.html - * $ONELINER$ - * Creates a new QTextLength object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextLength( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextLength - * $METHODS$ - * :rawValue() -> nQreal - * :type() -> nType - * :value( nMaximumLength ) -> nQreal - * - * $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/TQTextLength.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextLength.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt deleted file mode 100644 index b5064ef510..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextline.txt +++ /dev/null @@ -1,69 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextLine() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextline.html - * $ONELINER$ - * Creates a new QTextLine object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextLine( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextLine - * $METHODS$ - * :ascent() -> nQreal - * :cursorToX( @nCursorPos, nEdge ) -> nQreal - * :cursorToX( nCursorPos, nEdge ) -> nQreal - * :descent() -> nQreal - * :height() -> nQreal - * :isValid() -> lBool - * :lineNumber() -> nInt - * :naturalTextRect() -> oQRectF - * :naturalTextWidth() -> nQreal - * :position() -> oQPointF - * :rect() -> oQRectF - * :setLineWidth( nWidth ) -> NIL - * :setNumColumns( nNumColumns ) -> NIL - * :setNumColumns( nNumColumns, nAlignmentWidth ) -> NIL - * :setPosition( oQPointF ) -> NIL - * :textLength() -> nInt - * :textStart() -> nInt - * :width() -> nQreal - * :x() -> nQreal - * :xToCursor( nX, nCpos ) -> nInt - * :y() -> nQreal - * - * $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/TQTextLine.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextLine.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt deleted file mode 100644 index 0b7f05a44f..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlist.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextList() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextlist.html - * $ONELINER$ - * Creates a new QTextList object. - * $INHERITS$ - * QTextBlockGroup - * $SYNTAX$ - * QTextList( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextList - * $METHODS$ - * :add( oQTextBlock ) -> NIL - * :count() -> nInt - * :format() -> oQTextListFormat - * :item( nI ) -> oQTextBlock - * :itemNumber( oQTextBlock ) -> nInt - * :itemText( oQTextBlock ) -> cQString - * :remove( oQTextBlock ) -> NIL - * :removeItem( nI ) -> NIL - * :setFormat( oQTextListFormat ) -> 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/TQTextList.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextList.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt deleted file mode 100644 index e0ac81fabb..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextlistformat.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextListFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextlistformat.html - * $ONELINER$ - * Creates a new QTextListFormat object. - * $INHERITS$ - * QTextFormat - * $SYNTAX$ - * QTextListFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextListFormat - * $METHODS$ - * :indent() -> nInt - * :isValid() -> lBool - * :setIndent( nIndentation ) -> NIL - * :setStyle( nStyle ) -> NIL - * :style() -> nStyle - * - * $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/TQTextListFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextListFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt deleted file mode 100644 index e5f7591015..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextobject.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextObject() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextobject.html - * $ONELINER$ - * Creates a new QTextObject object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QTextObject( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextObject - * $METHODS$ - * :document() -> oQTextDocument - * :format() -> oQTextFormat - * :formatIndex() -> nInt - * :objectIndex() -> nInt - * - * $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/TQTextObject.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextObject.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt deleted file mode 100644 index 4337d45a86..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtextoption.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextOption() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtextoption.html - * $ONELINER$ - * Creates a new QTextOption object. - * $INHERITS$ - * - * $SYNTAX$ - * QTextOption( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextOption - * $METHODS$ - * :alignment() -> nQt_Alignment - * :flags() -> nFlags - * :setAlignment( nAlignment ) -> NIL - * :setFlags( nFlags ) -> NIL - * :setTabStop( nTabStop ) -> NIL - * :setTextDirection( nDirection ) -> NIL - * :setUseDesignMetrics( lEnable ) -> NIL - * :setWrapMode( nMode ) -> NIL - * :tabArray() -> oQList_qreal> - * :tabStop() -> nQreal - * :textDirection() -> nQt_LayoutDirection - * :useDesignMetrics() -> lBool - * :wrapMode() -> nWrapMode - * - * $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/TQTextOption.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextOption.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt deleted file mode 100644 index 2a5eb241a3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtexttableformat.txt +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTextTableFormat() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtexttableformat.html - * $ONELINER$ - * Creates a new QTextTableFormat object. - * $INHERITS$ - * QTextFrameFormat - * $SYNTAX$ - * QTextTableFormat( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTextTableFormat - * $METHODS$ - * :alignment() -> nQt_Alignment - * :cellPadding() -> nQreal - * :cellSpacing() -> nQreal - * :clearColumnWidthConstraints() -> NIL - * :columns() -> nInt - * :headerRowCount() -> nInt - * :isValid() -> lBool - * :setAlignment( nAlignment ) -> NIL - * :setCellPadding( nPadding ) -> NIL - * :setCellSpacing( nSpacing ) -> NIL - * :setHeaderRowCount( nCount ) -> 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/TQTextTableFormat.prg - * C++ wrappers : contrib/hbqt/qtgui/QTextTableFormat.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt deleted file mode 100644 index b39890cb6a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTimeEdit() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtimeedit.html - * $ONELINER$ - * Creates a new QTimeEdit object. - * $INHERITS$ - * QDateTimeEdit - * $SYNTAX$ - * QTimeEdit( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTimeEdit - * $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/TQTimeEdit.prg - * C++ wrappers : contrib/hbqt/qtgui/QTimeEdit.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt deleted file mode 100644 index b7b4d80c3a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbar.txt +++ /dev/null @@ -1,76 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QToolBar() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtoolbar.html - * $ONELINER$ - * Creates a new QToolBar object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QToolBar( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QToolBar - * $METHODS$ - * :actionAt( oQPoint ) -> oQAction - * :actionAt( nX, nY ) -> oQAction - * :addAction( oQAction ) -> NIL - * :addAction( cText ) -> oQAction - * :addAction( coQIcon, cText ) -> oQAction - * :addAction( cText, oQObject, cMember ) -> oQAction - * :addAction( coQIcon, cText, oQObject, cMember ) -> oQAction - * :addSeparator() -> oQAction - * :addWidget( oQWidget ) -> oQAction - * :allowedAreas() -> nQt_ToolBarAreas - * :clear() -> NIL - * :iconSize() -> oQSize - * :insertSeparator( oQAction ) -> oQAction - * :insertWidget( oQAction, oQWidget ) -> oQAction - * :isAreaAllowed( nArea ) -> lBool - * :isFloatable() -> lBool - * :isFloating() -> lBool - * :isMovable() -> lBool - * :orientation() -> nQt_Orientation - * :setAllowedAreas( nAreas ) -> NIL - * :setFloatable( lFloatable ) -> NIL - * :setMovable( lMovable ) -> NIL - * :setOrientation( nOrientation ) -> NIL - * :toggleViewAction() -> oQAction - * :toolButtonStyle() -> nQt_ToolButtonStyle - * :widgetForAction( oQAction ) -> oQWidget - * :setIconSize( oQSize ) -> NIL - * :setToolButtonStyle( nToolButtonStyle ) -> 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/TQToolBar.prg - * C++ wrappers : contrib/hbqt/qtgui/QToolBar.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt deleted file mode 100644 index eb3e0e6907..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbox.txt +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QToolBox() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtoolbox.html - * $ONELINER$ - * Creates a new QToolBox object. - * $INHERITS$ - * QFrame - * $SYNTAX$ - * QToolBox( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QToolBox - * $METHODS$ - * :addItem( oQWidget, coQIcon, cText ) -> nInt - * :addItem( oQWidget, cText ) -> nInt - * :count() -> nInt - * :currentIndex() -> nInt - * :currentWidget() -> oQWidget - * :indexOf( oQWidget ) -> nInt - * :insertItem( nIndex, oQWidget, coQIcon, cText ) -> nInt - * :insertItem( nIndex, oQWidget, cText ) -> nInt - * :isItemEnabled( nIndex ) -> lBool - * :itemIcon( nIndex ) -> oQIcon - * :itemText( nIndex ) -> cQString - * :itemToolTip( nIndex ) -> cQString - * :removeItem( nIndex ) -> NIL - * :setItemEnabled( nIndex, lEnabled ) -> NIL - * :setItemIcon( nIndex, coQIcon ) -> NIL - * :setItemText( nIndex, cText ) -> NIL - * :setItemToolTip( nIndex, cToolTip ) -> NIL - * :widget( nIndex ) -> oQWidget - * :setCurrentIndex( nIndex ) -> NIL - * :setCurrentWidget( oQWidget ) -> 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/TQToolBox.prg - * C++ wrappers : contrib/hbqt/qtgui/QToolBox.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt deleted file mode 100644 index 91fb8b8223..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtoolbutton.txt +++ /dev/null @@ -1,61 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QToolButton() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtoolbutton.html - * $ONELINER$ - * Creates a new QToolButton object. - * $INHERITS$ - * QAbstractButton - * $SYNTAX$ - * QToolButton( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QToolButton - * $METHODS$ - * :arrowType() -> nQt_ArrowType - * :autoRaise() -> lBool - * :defaultAction() -> oQAction - * :menu() -> oQMenu - * :popupMode() -> nToolButtonPopupMode - * :setArrowType( nType ) -> NIL - * :setAutoRaise( lEnable ) -> NIL - * :setMenu( oQMenu ) -> NIL - * :setPopupMode( nMode ) -> NIL - * :toolButtonStyle() -> nQt_ToolButtonStyle - * :setDefaultAction( oQAction ) -> NIL - * :setToolButtonStyle( nStyle ) -> NIL - * :showMenu() -> 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/TQToolButton.prg - * C++ wrappers : contrib/hbqt/qtgui/QToolButton.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt deleted file mode 100644 index 832bd0021e..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtransform.txt +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTransform() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtransform.html - * $ONELINER$ - * Creates a new QTransform object. - * $INHERITS$ - * - * $SYNTAX$ - * QTransform( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTransform - * $METHODS$ - * :m11() -> nQreal - * :m12() -> nQreal - * :m13() -> nQreal - * :m21() -> nQreal - * :m22() -> nQreal - * :m23() -> nQreal - * :m31() -> nQreal - * :m32() -> nQreal - * :m33() -> nQreal - * :adjoint() -> oQTransform - * :det() -> nQreal - * :determinant() -> nQreal - * :dx() -> nQreal - * :dy() -> nQreal - * :inverted( @lInvertible ) -> oQTransform - * :isAffine() -> lBool - * :isIdentity() -> lBool - * :isInvertible() -> lBool - * :isRotating() -> lBool - * :isScaling() -> lBool - * :isTranslating() -> lBool - * :map( nX, nY, @nTx, @nTy ) -> NIL - * :map( oQPointF ) -> oQPointF - * :map( oQPoint ) -> oQPoint - * :map( oQLine ) -> oQLine - * :map( oQLineF ) -> oQLineF - * :map( oQPolygonF ) -> oQPolygonF - * :map( oQPolygon ) -> oQPolygon - * :map( oQRegion ) -> oQRegion - * :map( oQPainterPath ) -> oQPainterPath - * :map( nX, nY, @nTx, @nTy ) -> NIL - * :mapRect( oQRectF ) -> oQRectF - * :mapRect( oQRect ) -> oQRect - * :mapToPolygon( oQRect ) -> oQPolygon - * :reset() -> NIL - * :rotate( nAngle, nAxis ) -> oQTransform - * :rotateRadians( nAngle, nAxis ) -> oQTransform - * :scale( nSx, nSy ) -> oQTransform - * :setMatrix( nM11, nM12, nM13, nM21, nM22, nM23, nM31, nM32, nM33 ) -> NIL - * :shear( nSh, nSv ) -> oQTransform - * :toAffine() -> oQMatrix - * :translate( nDx, nDy ) -> oQTransform - * :transposed() -> oQTransform - * :type() -> nTransformationType - * :fromScale( nSx, nSy ) -> oQTransform - * :fromTranslate( nDx, nDy ) -> oQTransform - * :quadToQuad( oQPolygonF, oQPolygonF, oQTransform ) -> lBool - * :quadToSquare( oQPolygonF, oQTransform ) -> lBool - * :squareToQuad( oQPolygonF, oQTransform ) -> lBool - * - * $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/TQTransform.prg - * C++ wrappers : contrib/hbqt/qtgui/QTransform.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt deleted file mode 100644 index 72ee61a95d..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreeview.txt +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTreeView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtreeview.html - * $ONELINER$ - * Creates a new QTreeView object. - * $INHERITS$ - * QAbstractItemView - * $SYNTAX$ - * QTreeView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTreeView - * $METHODS$ - * :allColumnsShowFocus() -> lBool - * :autoExpandDelay() -> nInt - * :columnAt( nX ) -> nInt - * :columnViewportPosition( nColumn ) -> nInt - * :columnWidth( nColumn ) -> nInt - * :expandsOnDoubleClick() -> lBool - * :header() -> oQHeaderView - * :indentation() -> nInt - * :indexAbove( oQModelIndex ) -> oQModelIndex - * :indexBelow( oQModelIndex ) -> oQModelIndex - * :isAnimated() -> lBool - * :isColumnHidden( nColumn ) -> lBool - * :isExpanded( oQModelIndex ) -> lBool - * :isFirstColumnSpanned( nRow, oQModelIndex ) -> lBool - * :isHeaderHidden() -> lBool - * :isRowHidden( nRow, oQModelIndex ) -> lBool - * :isSortingEnabled() -> lBool - * :itemsExpandable() -> lBool - * :rootIsDecorated() -> lBool - * :scrollTo( oQModelIndex, nHint ) -> NIL - * :setAllColumnsShowFocus( lEnable ) -> NIL - * :setAnimated( lEnable ) -> NIL - * :setAutoExpandDelay( nDelay ) -> NIL - * :setColumnHidden( nColumn, lHide ) -> NIL - * :setColumnWidth( nColumn, nWidth ) -> NIL - * :setExpanded( oQModelIndex, lExpanded ) -> NIL - * :setExpandsOnDoubleClick( lEnable ) -> NIL - * :setFirstColumnSpanned( nRow, oQModelIndex, lSpan ) -> NIL - * :setHeader( oQHeaderView ) -> NIL - * :setHeaderHidden( lHide ) -> NIL - * :setIndentation( nI ) -> NIL - * :setItemsExpandable( lEnable ) -> NIL - * :setRootIsDecorated( lShow ) -> NIL - * :setRowHidden( nRow, oQModelIndex, lHide ) -> NIL - * :setSortingEnabled( lEnable ) -> NIL - * :setUniformRowHeights( lUniform ) -> NIL - * :setWordWrap( lOn ) -> NIL - * :sortByColumn( nColumn, nOrder ) -> NIL - * :uniformRowHeights() -> lBool - * :visualRect( oQModelIndex ) -> oQRect - * :wordWrap() -> lBool - * :collapse( oQModelIndex ) -> NIL - * :collapseAll() -> NIL - * :expand( oQModelIndex ) -> NIL - * :expandAll() -> NIL - * :expandToDepth( nDepth ) -> NIL - * :hideColumn( nColumn ) -> NIL - * :resizeColumnToContents( nColumn ) -> NIL - * :showColumn( nColumn ) -> 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/TQTreeView.prg - * C++ wrappers : contrib/hbqt/qtgui/QTreeView.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt deleted file mode 100644 index ac0a4ab9cf..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidget.txt +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTreeWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtreewidget.html - * $ONELINER$ - * Creates a new QTreeWidget object. - * $INHERITS$ - * QTreeView - * $SYNTAX$ - * QTreeWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTreeWidget - * $METHODS$ - * :addTopLevelItem( oQTreeWidgetItem ) -> NIL - * :closePersistentEditor( oQTreeWidgetItem, nColumn ) -> NIL - * :columnCount() -> nInt - * :currentColumn() -> nInt - * :currentItem() -> oQTreeWidgetItem - * :editItem( oQTreeWidgetItem, nColumn ) -> NIL - * :findItems( cText, nFlags, nColumn ) -> oQList_QTreeWidgetItem - * :headerItem() -> oQTreeWidgetItem - * :indexOfTopLevelItem( oQTreeWidgetItem ) -> nInt - * :insertTopLevelItem( nIndex, oQTreeWidgetItem ) -> NIL - * :invisibleRootItem() -> oQTreeWidgetItem - * :isFirstItemColumnSpanned( oQTreeWidgetItem ) -> lBool - * :itemAbove( oQTreeWidgetItem ) -> oQTreeWidgetItem - * :itemAt( oQPoint ) -> oQTreeWidgetItem - * :itemAt( nX, nY ) -> oQTreeWidgetItem - * :itemBelow( oQTreeWidgetItem ) -> oQTreeWidgetItem - * :itemWidget( oQTreeWidgetItem, nColumn ) -> oQWidget - * :openPersistentEditor( oQTreeWidgetItem, nColumn ) -> NIL - * :removeItemWidget( oQTreeWidgetItem, nColumn ) -> NIL - * :selectedItems() -> oQList_QTreeWidgetItem - * :setColumnCount( nColumns ) -> NIL - * :setCurrentItem( oQTreeWidgetItem ) -> NIL - * :setCurrentItem( oQTreeWidgetItem, nColumn ) -> NIL - * :setCurrentItem( oQTreeWidgetItem, nColumn, nCommand ) -> NIL - * :setFirstItemColumnSpanned( oQTreeWidgetItem, lSpan ) -> NIL - * :setHeaderItem( oQTreeWidgetItem ) -> NIL - * :setHeaderLabel( cLabel ) -> NIL - * :setHeaderLabels( oQStringList ) -> NIL - * :setItemWidget( oQTreeWidgetItem, nColumn, oQWidget ) -> NIL - * :sortColumn() -> nInt - * :sortItems( nColumn, nOrder ) -> NIL - * :takeTopLevelItem( nIndex ) -> oQTreeWidgetItem - * :topLevelItem( nIndex ) -> oQTreeWidgetItem - * :topLevelItemCount() -> nInt - * :visualItemRect( oQTreeWidgetItem ) -> oQRect - * :clear() -> NIL - * :collapseItem( oQTreeWidgetItem ) -> NIL - * :expandItem( oQTreeWidgetItem ) -> NIL - * :scrollToItem( oQTreeWidgetItem, nHint ) -> 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/TQTreeWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QTreeWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt deleted file mode 100644 index 01eb3f2da6..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qtreewidgetitem.txt +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QTreeWidgetItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qtreewidgetitem.html - * $ONELINER$ - * Creates a new QTreeWidgetItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QTreeWidgetItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QTreeWidgetItem - * $METHODS$ - * :addChild( oQTreeWidgetItem ) -> NIL - * :background( nColumn ) -> oQBrush - * :checkState( nColumn ) -> nQt_CheckState - * :child( nIndex ) -> oQTreeWidgetItem - * :childCount() -> nInt - * :childIndicatorPolicy() -> nQTreeWidgetItem_ChildIndicatorPolicy - * :clone() -> oQTreeWidgetItem - * :columnCount() -> nInt - * :data( nColumn, nRole ) -> oQVariant - * :flags() -> nQt_ItemFlags - * :font( nColumn ) -> oQFont - * :foreground( nColumn ) -> oQBrush - * :icon( nColumn ) -> oQIcon - * :indexOfChild( oQTreeWidgetItem ) -> nInt - * :insertChild( nIndex, oQTreeWidgetItem ) -> NIL - * :isDisabled() -> lBool - * :isExpanded() -> lBool - * :isFirstColumnSpanned() -> lBool - * :isHidden() -> lBool - * :isSelected() -> lBool - * :parent() -> oQTreeWidgetItem - * :read( oQDataStream ) -> NIL - * :removeChild( oQTreeWidgetItem ) -> NIL - * :setBackground( nColumn, oQBrush ) -> NIL - * :setCheckState( nColumn, nState ) -> NIL - * :setChildIndicatorPolicy( nPolicy ) -> NIL - * :setData( nColumn, nRole, oQVariant ) -> NIL - * :setDisabled( lDisabled ) -> NIL - * :setExpanded( lExpand ) -> NIL - * :setFirstColumnSpanned( lSpan ) -> NIL - * :setFlags( nFlags ) -> NIL - * :setFont( nColumn, oQFont ) -> NIL - * :setForeground( nColumn, oQBrush ) -> NIL - * :setHidden( lHide ) -> NIL - * :setIcon( nColumn, coQIcon ) -> NIL - * :setSelected( lSelect ) -> NIL - * :setSizeHint( nColumn, oQSize ) -> NIL - * :setStatusTip( nColumn, cStatusTip ) -> NIL - * :setText( nColumn, cText ) -> NIL - * :setTextAlignment( nColumn, nAlignment ) -> NIL - * :setToolTip( nColumn, cToolTip ) -> NIL - * :setWhatsThis( nColumn, cWhatsThis ) -> NIL - * :sizeHint( nColumn ) -> oQSize - * :sortChildren( nColumn, nOrder ) -> NIL - * :statusTip( nColumn ) -> cQString - * :takeChild( nIndex ) -> oQTreeWidgetItem - * :takeChildren() -> oQList_QTreeWidgetItem - * :text( nColumn ) -> cQString - * :textAlignment( nColumn ) -> nInt - * :toolTip( nColumn ) -> cQString - * :treeWidget() -> oQTreeWidget - * :type() -> nInt - * :whatsThis( nColumn ) -> cQString - * - * $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/TQTreeWidgetItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QTreeWidgetItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt deleted file mode 100644 index e751fada54..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qvalidator.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QValidator() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qvalidator.html - * $ONELINER$ - * Creates a new QValidator object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QValidator( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QValidator - * $METHODS$ - * :locale() -> oQLocale - * :setLocale( oQLocale ) -> 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/TQValidator.prg - * C++ wrappers : contrib/hbqt/qtgui/QValidator.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt deleted file mode 100644 index b01e1175a2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QVBoxLayout() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qvboxlayout.html - * $ONELINER$ - * Creates a new QVBoxLayout object. - * $INHERITS$ - * QBoxLayout - * $SYNTAX$ - * QVBoxLayout( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QVBoxLayout - * $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/TQVBoxLayout.prg - * C++ wrappers : contrib/hbqt/qtgui/QVBoxLayout.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt deleted file mode 100644 index 23acfb9cdf..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwheelevent.txt +++ /dev/null @@ -1,57 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWheelEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwheelevent.html - * $ONELINER$ - * Creates a new QWheelEvent object. - * $INHERITS$ - * QInputEvent - * $SYNTAX$ - * QWheelEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWheelEvent - * $METHODS$ - * :buttons() -> nQt_MouseButtons - * :delta() -> nInt - * :globalPos() -> oQPoint - * :globalX() -> nInt - * :globalY() -> nInt - * :orientation() -> nQt_Orientation - * :pos() -> oQPoint - * :x() -> nInt - * :y() -> nInt - * - * $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/TQWheelEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QWheelEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt deleted file mode 100644 index 2cfe108017..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidget.txt +++ /dev/null @@ -1,254 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWidget() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwidget.html - * $ONELINER$ - * Creates a new QWidget object. - * $INHERITS$ - * QObject, QPaintDevice - * $SYNTAX$ - * QWidget( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWidget - * $METHODS$ - * :acceptDrops() -> lBool - * :actions() -> oQList_QAction - * :activateWindow() -> NIL - * :addAction( oQAction ) -> NIL - * :adjustSize() -> NIL - * :autoFillBackground() -> lBool - * :backgroundRole() -> nQPalette_ColorRole - * :baseSize() -> oQSize - * :childAt( nX, nY ) -> oQWidget - * :childAt( oQPoint ) -> oQWidget - * :childrenRect() -> oQRect - * :childrenRegion() -> oQRegion - * :clearFocus() -> NIL - * :clearMask() -> NIL - * :contentsRect() -> oQRect - * :contextMenuPolicy() -> nQt_ContextMenuPolicy - * :cursor() -> oQCursor - * :ensurePolished() -> NIL - * :focusPolicy() -> nQt_FocusPolicy - * :focusProxy() -> oQWidget - * :focusWidget() -> oQWidget - * :font() -> oQFont - * :fontInfo() -> oQFontInfo - * :fontMetrics() -> oQFontMetrics - * :foregroundRole() -> nQPalette_ColorRole - * :frameGeometry() -> oQRect - * :frameSize() -> oQSize - * :geometry() -> oQRect - * :getContentsMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - * :grabKeyboard() -> NIL - * :grabMouse() -> NIL - * :grabMouse( oQCursor ) -> NIL - * :grabShortcut( oQKeySequence, nContext ) -> nInt - * :hasFocus() -> lBool - * :hasMouseTracking() -> lBool - * :height() -> nInt - * :heightForWidth( nW ) -> nInt - * :inputMethodQuery( nQuery ) -> oQVariant - * :insertAction( oQAction, oQAction ) -> NIL - * :isActiveWindow() -> lBool - * :isAncestorOf( oQWidget ) -> lBool - * :isEnabled() -> lBool - * :isEnabledTo( oQWidget ) -> lBool - * :isFullScreen() -> lBool - * :isHidden() -> lBool - * :isMaximized() -> lBool - * :isMinimized() -> lBool - * :isModal() -> lBool - * :isVisible() -> lBool - * :isVisibleTo( oQWidget ) -> lBool - * :isWindow() -> lBool - * :isWindowModified() -> lBool - * :layout() -> oQLayout - * :layoutDirection() -> nQt_LayoutDirection - * :locale() -> oQLocale - * :mapFrom( oQWidget, oQPoint ) -> oQPoint - * :mapFromGlobal( oQPoint ) -> oQPoint - * :mapFromParent( oQPoint ) -> oQPoint - * :mapTo( oQWidget, oQPoint ) -> oQPoint - * :mapToGlobal( oQPoint ) -> oQPoint - * :mapToParent( oQPoint ) -> oQPoint - * :mask() -> oQRegion - * :maximumHeight() -> nInt - * :maximumSize() -> oQSize - * :maximumWidth() -> nInt - * :minimumHeight() -> nInt - * :minimumSize() -> oQSize - * :minimumSizeHint() -> oQSize - * :minimumWidth() -> nInt - * :move( nX, nY ) -> NIL - * :move( oQPoint ) -> NIL - * :nativeParentWidget() -> oQWidget - * :nextInFocusChain() -> oQWidget - * :normalGeometry() -> oQRect - * :overrideWindowFlags( nFlags ) -> NIL - * :paintEngine() -> oQPaintEngine - * :palette() -> oQPalette - * :parentWidget() -> oQWidget - * :pos() -> oQPoint - * :rect() -> oQRect - * :releaseKeyboard() -> NIL - * :releaseMouse() -> NIL - * :releaseShortcut( nId ) -> NIL - * :removeAction( oQAction ) -> NIL - * :repaint( nX, nY, nW, nH ) -> NIL - * :repaint( oQRect ) -> NIL - * :repaint( oQRegion ) -> NIL - * :resize( nW, nH ) -> NIL - * :resize( oQSize ) -> NIL - * :restoreGeometry( oQByteArray ) -> lBool - * :saveGeometry() -> oQByteArray - * :scroll( nDx, nDy ) -> NIL - * :scroll( nDx, nDy, oQRect ) -> NIL - * :setAcceptDrops( lOn ) -> NIL - * :setAttribute( nAttribute, lOn ) -> NIL - * :setAutoFillBackground( lEnabled ) -> NIL - * :setBackgroundRole( nRole ) -> NIL - * :setBaseSize( oQSize ) -> NIL - * :setBaseSize( nBasew, nBaseh ) -> NIL - * :setContentsMargins( nLeft, nTop, nRight, nBottom ) -> NIL - * :setContextMenuPolicy( nPolicy ) -> NIL - * :setCursor( oQCursor ) -> NIL - * :setFixedHeight( nH ) -> NIL - * :setFixedSize( oQSize ) -> NIL - * :setFixedSize( nW, nH ) -> NIL - * :setFixedWidth( nW ) -> NIL - * :setFocus( nReason ) -> NIL - * :setFocusPolicy( nPolicy ) -> NIL - * :setFocusProxy( oQWidget ) -> NIL - * :setFont( oQFont ) -> NIL - * :setForegroundRole( nRole ) -> NIL - * :setGeometry( oQRect ) -> NIL - * :setGeometry( nX, nY, nW, nH ) -> NIL - * :setLayout( oQLayout ) -> NIL - * :setLayoutDirection( nDirection ) -> NIL - * :setLocale( oQLocale ) -> NIL - * :setMask( oQBitmap ) -> NIL - * :setMask( oQRegion ) -> NIL - * :setMaximumHeight( nMaxh ) -> NIL - * :setMaximumSize( oQSize ) -> NIL - * :setMaximumSize( nMaxw, nMaxh ) -> NIL - * :setMaximumWidth( nMaxw ) -> NIL - * :setMinimumHeight( nMinh ) -> NIL - * :setMinimumSize( oQSize ) -> NIL - * :setMinimumSize( nMinw, nMinh ) -> NIL - * :setMinimumWidth( nMinw ) -> NIL - * :setMouseTracking( lEnable ) -> NIL - * :setPalette( oQPalette ) -> NIL - * :setParent( oQWidget ) -> NIL - * :setParent( oQWidget, nF ) -> NIL - * :setShortcutAutoRepeat( nId, lEnable ) -> NIL - * :setShortcutEnabled( nId, lEnable ) -> NIL - * :setSizeIncrement( oQSize ) -> NIL - * :setSizeIncrement( nW, nH ) -> NIL - * :setSizePolicy( oQSizePolicy ) -> NIL - * :setSizePolicy( nHorizontal, nVertical ) -> NIL - * :setStatusTip( cQString ) -> NIL - * :setStyle( oQStyle ) -> NIL - * :setToolTip( cQString ) -> NIL - * :setUpdatesEnabled( lEnable ) -> NIL - * :setWhatsThis( cQString ) -> NIL - * :setWindowFilePath( cFilePath ) -> NIL - * :setWindowFlags( nType ) -> NIL - * :setWindowIcon( coQIcon ) -> NIL - * :setWindowIconText( cQString ) -> NIL - * :setWindowModality( nWindowModality ) -> NIL - * :setWindowOpacity( nLevel ) -> NIL - * :setWindowRole( cRole ) -> NIL - * :setWindowState( nWindowState ) -> NIL - * :size() -> oQSize - * :sizeHint() -> oQSize - * :sizeIncrement() -> oQSize - * :sizePolicy() -> oQSizePolicy - * :stackUnder( oQWidget ) -> NIL - * :statusTip() -> cQString - * :style() -> oQStyle - * :styleSheet() -> cQString - * :testAttribute( nAttribute ) -> lBool - * :toolTip() -> cQString - * :underMouse() -> lBool - * :unsetCursor() -> NIL - * :unsetLayoutDirection() -> NIL - * :unsetLocale() -> NIL - * :update( nX, nY, nW, nH ) -> NIL - * :update( oQRect ) -> NIL - * :update( oQRegion ) -> NIL - * :updateGeometry() -> NIL - * :updatesEnabled() -> lBool - * :visibleRegion() -> oQRegion - * :whatsThis() -> cQString - * :width() -> nInt - * :window() -> oQWidget - * :windowFilePath() -> cQString - * :windowFlags() -> nQt_WindowFlags - * :windowIcon() -> oQIcon - * :windowIconText() -> cQString - * :windowModality() -> nQt_WindowModality - * :windowOpacity() -> nQreal - * :windowRole() -> cQString - * :windowState() -> nQt_WindowStates - * :windowTitle() -> cQString - * :windowType() -> nQt_WindowType - * :x() -> nInt - * :y() -> nInt - * :keyboardGrabber() -> oQWidget - * :mouseGrabber() -> oQWidget - * :setTabOrder( oQWidget, oQWidget ) -> NIL - * :close() -> lBool - * :hide() -> NIL - * :lower() -> NIL - * :raise() -> NIL - * :repaint() -> NIL - * :setDisabled( lDisable ) -> NIL - * :setEnabled( lEnable ) -> NIL - * :setFocus() -> NIL - * :setHidden( lHidden ) -> NIL - * :setStyleSheet( cStyleSheet ) -> NIL - * :setVisible( lVisible ) -> NIL - * :setWindowModified( lModified ) -> NIL - * :setWindowTitle( cTitle ) -> NIL - * :show() -> NIL - * :showFullScreen() -> NIL - * :showMaximized() -> NIL - * :showMinimized() -> NIL - * :showNormal() -> NIL - * :update() -> 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/TQWidget.prg - * C++ wrappers : contrib/hbqt/qtgui/QWidget.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt deleted file mode 100644 index ba20988fe3..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetaction.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWidgetAction() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwidgetaction.html - * $ONELINER$ - * Creates a new QWidgetAction object. - * $INHERITS$ - * QAction - * $SYNTAX$ - * QWidgetAction( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWidgetAction - * $METHODS$ - * :defaultWidget() -> oQWidget - * :releaseWidget( oQWidget ) -> NIL - * :requestWidget( oQWidget ) -> oQWidget - * :setDefaultWidget( oQWidget ) -> 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/TQWidgetAction.prg - * C++ wrappers : contrib/hbqt/qtgui/QWidgetAction.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt deleted file mode 100644 index 167441faf2..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwidgetitem.txt +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWidgetItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwidgetitem.html - * $ONELINER$ - * Creates a new QWidgetItem object. - * $INHERITS$ - * QLayoutItem - * $SYNTAX$ - * QWidgetItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWidgetItem - * $METHODS$ - * :isEmpty() -> lBool - * :widget() -> oQWidget - * - * $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/TQWidgetItem.prg - * C++ wrappers : contrib/hbqt/qtgui/QWidgetItem.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt deleted file mode 100644 index a6fe075aeb..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt +++ /dev/null @@ -1,46 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWindowsStyle() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwindowsstyle.html - * $ONELINER$ - * Creates a new QWindowsStyle object. - * $INHERITS$ - * QCommonStyle - * $SYNTAX$ - * QWindowsStyle( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWindowsStyle - * $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/TQWindowsStyle.prg - * C++ wrappers : contrib/hbqt/qtgui/QWindowsStyle.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt deleted file mode 100644 index e16934e28a..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwindowstatechangeevent.txt +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWindowStateChangeEvent() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwindowstatechangeevent.html - * $ONELINER$ - * Creates a new QWindowStateChangeEvent object. - * $INHERITS$ - * QEvent - * $SYNTAX$ - * QWindowStateChangeEvent( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWindowStateChangeEvent - * $METHODS$ - * :oldState() -> nQt_WindowStates - * - * $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/TQWindowStateChangeEvent.prg - * C++ wrappers : contrib/hbqt/qtgui/QWindowStateChangeEvent.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt deleted file mode 100644 index cf5de271be..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizard.txt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWizard() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwizard.html - * $ONELINER$ - * Creates a new QWizard object. - * $INHERITS$ - * QDialog - * $SYNTAX$ - * QWizard( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWizard - * $METHODS$ - * :addPage( oQWizardPage ) -> nInt - * :button( nWhich ) -> oQAbstractButton - * :buttonText( nWhich ) -> cQString - * :currentId() -> nInt - * :currentPage() -> oQWizardPage - * :field( cName ) -> oQVariant - * :hasVisitedPage( nId ) -> lBool - * :nextId() -> nInt - * :options() -> nWizardOptions - * :page( nId ) -> oQWizardPage - * :pageIds() -> oQList_int> - * :pixmap( nWhich ) -> oQPixmap - * :removePage( nId ) -> NIL - * :setButton( nWhich, oQAbstractButton ) -> NIL - * :setButtonText( nWhich, cText ) -> NIL - * :setDefaultProperty( cClassName, cProperty, cChangedSignal ) -> NIL - * :setField( cName, oQVariant ) -> NIL - * :setOption( nOption, lOn ) -> NIL - * :setOptions( nOptions ) -> NIL - * :setPage( nId, oQWizardPage ) -> NIL - * :setPixmap( nWhich, oQPixmap ) -> NIL - * :setStartId( nId ) -> NIL - * :setSubTitleFormat( nFormat ) -> NIL - * :setTitleFormat( nFormat ) -> NIL - * :setWizardStyle( nStyle ) -> NIL - * :startId() -> nInt - * :subTitleFormat() -> nQt_TextFormat - * :testOption( nOption ) -> lBool - * :titleFormat() -> nQt_TextFormat - * :validateCurrentPage() -> lBool - * :visitedPages() -> oQList_int> - * :wizardStyle() -> nWizardStyle - * :back() -> NIL - * :next() -> NIL - * :restart() -> 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/TQWizard.prg - * C++ wrappers : contrib/hbqt/qtgui/QWizard.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt deleted file mode 100644 index b18d194519..0000000000 --- a/harbour/contrib/hbqt/qtgui/doc/en/class_qwizardpage.txt +++ /dev/null @@ -1,65 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWizardPage() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwizardpage.html - * $ONELINER$ - * Creates a new QWizardPage object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QWizardPage( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWizardPage - * $METHODS$ - * :buttonText( nWhich ) -> cQString - * :cleanupPage() -> NIL - * :initializePage() -> NIL - * :isCommitPage() -> lBool - * :isComplete() -> lBool - * :isFinalPage() -> lBool - * :nextId() -> nInt - * :pixmap( nWhich ) -> oQPixmap - * :setButtonText( nWhich, cText ) -> NIL - * :setCommitPage( lCommitPage ) -> NIL - * :setFinalPage( lFinalPage ) -> NIL - * :setPixmap( nWhich, oQPixmap ) -> NIL - * :setSubTitle( cSubTitle ) -> NIL - * :setTitle( cTitle ) -> NIL - * :subTitle() -> cQString - * :title() -> cQString - * :validatePage() -> lBool - * - * $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/TQWizardPage.prg - * C++ wrappers : contrib/hbqt/qtgui/QWizardPage.cpp - * Library : hbqtgui - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp b/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp deleted file mode 100644 index 00599b6931..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqabstractitemmodel.h" - - -/* - * HBQAbstractItemModel ( ( PHB_ITEM ) hb_param( 1, HB_IT_BLOCK ) ) - * ~HBQAbstractItemModel () - */ - -typedef struct -{ - QPointer< HBQAbstractItemModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQAbstractItemModel; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQAbstractItemModel ) -{ - HBQT_GC_T_HBQAbstractItemModel * p = ( HBQT_GC_T_HBQAbstractItemModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQAbstractItemModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQAbstractItemModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQAbstractItemModel * p = ( HBQT_GC_T_HBQAbstractItemModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQAbstractItemModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQAbstractItemModel >( ( HBQAbstractItemModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQAbstractItemModel; - p->type = HBQT_TYPE_HBQAbstractItemModel; - - return p; -} - -HB_FUNC( QT_HBQABSTRACTITEMMODEL ) -{ - HBQAbstractItemModel * pObj = NULL; - - pObj = new HBQAbstractItemModel( ( PHB_ITEM ) hb_param( 1, HB_IT_BLOCK ) ) ; - - hb_retptrGC( hbqt_gcAllocate_HBQAbstractItemModel( ( void * ) pObj, true ) ); -} - -/* void reset() */ -HB_FUNC( QT_HBQABSTRACTITEMMODEL_RESET ) -{ - HBQAbstractItemModel * p = hbqt_par_HBQAbstractItemModel( 1 ); - if( p ) - ( p )->reset(); -} - -/* QModelIndex index( int row, int column, const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_HBQABSTRACTITEMMODEL_INDEX ) -{ - HBQAbstractItemModel * p = hbqt_par_HBQAbstractItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp b/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp deleted file mode 100644 index 722e0ec696..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp +++ /dev/null @@ -1,651 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 68/68 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqgraphicsitem.h" - -/* - * HBQGraphicsItem () - * HBQGraphicsItem ( QGraphicsItem * parent ) - * HBQGraphicsItem ( int type, QGraphicsItem * parent ) - * ~HBQGraphicsItem () - */ - -typedef struct -{ - HBQGraphicsItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQGraphicsItem; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQGraphicsItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( HBQGraphicsItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQGraphicsItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( HBQGraphicsItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQGraphicsItem; - p->type = HBQT_TYPE_HBQGraphicsItem; - - return p; -} - -HB_FUNC( QT_HBQGRAPHICSITEM ) -{ - HBQGraphicsItem * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new HBQGraphicsItem( hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new HBQGraphicsItem( hb_parni( 1 ), hbqt_par_QGraphicsItem( 2 ) ) ; - } - else { - pObj = new HBQGraphicsItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_HBQGraphicsItem( ( void * ) pObj, true ) ); -} - -/* void hbSetBlock( PHB_ITEM block ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_HBSETBLOCK ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->hbSetBlock( hb_param( 2, HB_IT_ANY ) ); -} - -/* QRectF boundingRect() const */ -HB_FUNC( QT_HBQGRAPHICSITEM_BOUNDINGRECT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect() ), true ) ); -} - -/* virtual void paint( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_PAINT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), hbqt_par_QStyleOptionGraphicsItem( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* int determineResizeMode( const QPointF & pos ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_DETERMINERESIZEMODE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->determineResizeMode( *hbqt_par_QPointF( 2 ) ) ); -} - -/* QRectF adjustRect( QRectF & rect ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_ADJUSTRECT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->adjustRect( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* virtual void prepare( QPainter * painter ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_PREPARE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->prepare( hbqt_par_QPainter( 2 ) ); -} - -/* QPen pen() */ -HB_FUNC( QT_HBQGRAPHICSITEM_PEN ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) ); -} - -/* void setPen( const QPen & pen ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETPEN ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setPen( *hbqt_par_QPen( 2 ) ); -} - -/* QBrush brush() */ -HB_FUNC( QT_HBQGRAPHICSITEM_BRUSH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush() ), true ) ); -} - -/* void setBrush( const QBrush & brush ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETBRUSH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* QBrush backgroundBrush() */ -HB_FUNC( QT_HBQGRAPHICSITEM_BACKGROUNDBRUSH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->backgroundBrush() ), true ) ); -} - -/* void setBackgroundBrush( const QBrush & brush ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETBACKGROUNDBRUSH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setBackgroundBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* QFont font() */ -HB_FUNC( QT_HBQGRAPHICSITEM_FONT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* void setFont( const QFont & font ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETFONT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* int lineStyle() */ -HB_FUNC( QT_HBQGRAPHICSITEM_LINESTYLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->lineStyle() ); -} - -/* void setLineStyle( int lineStyle ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETLINESTYLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setLineStyle( hb_parni( 2 ) ); -} - -/* int startAngle() */ -HB_FUNC( QT_HBQGRAPHICSITEM_STARTANGLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->startAngle() ); -} - -/* void setStartAngle( int startAngle ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETSTARTANGLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setStartAngle( hb_parni( 2 ) ); -} - -/* int spanAngle() */ -HB_FUNC( QT_HBQGRAPHICSITEM_SPANANGLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->spanAngle() ); -} - -/* void setSpanAngle( int spanAngle ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETSPANANGLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setSpanAngle( hb_parni( 2 ) ); -} - -/* qreal width() const */ -HB_FUNC( QT_HBQGRAPHICSITEM_WIDTH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - -/* void setWidth( qreal width ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETWIDTH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setWidth( hb_parnd( 2 ) ); -} - -/* qreal height() const */ -HB_FUNC( QT_HBQGRAPHICSITEM_HEIGHT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* void setHeight( qreal height ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETHEIGHT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setHeight( hb_parnd( 2 ) ); -} - -/* int opacity() */ -HB_FUNC( QT_HBQGRAPHICSITEM_OPACITY ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->opacity() ); -} - -/* void setOpacity( const int opacity ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETOPACITY ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setOpacity( hb_parni( 2 ) ); -} - -/* QRectF geometry() */ -HB_FUNC( QT_HBQGRAPHICSITEM_GEOMETRY ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->geometry() ), true ) ); -} - -/* void setGeometry( const QRectF & rect ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETGEOMETRY ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); -} - -/* QString objectType() */ -HB_FUNC( QT_HBQGRAPHICSITEM_OBJECTTYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->objectType().toUtf8().data() ); -} - -/* void setObjectType( const QString & type ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETOBJECTTYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - { - void * pText; - ( p )->setObjectType( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString objectName() */ -HB_FUNC( QT_HBQGRAPHICSITEM_OBJECTNAME ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->objectName().toUtf8().data() ); -} - -/* void setObjectName( const QString & name ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETOBJECTNAME ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - { - void * pText; - ( p )->setObjectName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString text() */ -HB_FUNC( QT_HBQGRAPHICSITEM_TEXT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* void setText( const QString & type ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETTEXT ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* int paintType() */ -HB_FUNC( QT_HBQGRAPHICSITEM_PAINTTYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->paintType() ); -} - -/* void setPaintType( int paintType ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETPAINTTYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setPaintType( hb_parni( 2 ) ); -} - -/* int frameType() */ -HB_FUNC( QT_HBQGRAPHICSITEM_FRAMETYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->frameType() ); -} - -/* void setFrameType( int frameType ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETFRAMETYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setFrameType( hb_parni( 2 ) ); -} - -/* int drawTextType() */ -HB_FUNC( QT_HBQGRAPHICSITEM_DRAWTEXTTYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->drawTextType() ); -} - -/* void setDrawTextType( int drawTextType ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETDRAWTEXTTYPE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setDrawTextType( hb_parni( 2 ) ); -} - -/* QPixmap pixmap() */ -HB_FUNC( QT_HBQGRAPHICSITEM_PIXMAP ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); -} - -/* void setPixmap( const QPixmap & pixmap ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETPIXMAP ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* QColor textColor() */ -HB_FUNC( QT_HBQGRAPHICSITEM_TEXTCOLOR ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->textColor() ), true ) ); -} - -/* void setTextColor( const QColor & color ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETTEXTCOLOR ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setTextColor( *hbqt_par_QColor( 2 ) ); -} - -/* int borderWidth() */ -HB_FUNC( QT_HBQGRAPHICSITEM_BORDERWIDTH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->borderWidth() ); -} - -/* void setBorderWidth( int bWidth ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETBORDERWIDTH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setBorderWidth( hb_parni( 2 ) ); -} - -/* QColor borderColor() */ -HB_FUNC( QT_HBQGRAPHICSITEM_BORDERCOLOR ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->borderColor() ), true ) ); -} - -/* void setBorderColor( const QColor & color ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETBORDERCOLOR ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setBorderColor( *hbqt_par_QColor( 2 ) ); -} - -/* int sizePolicy() */ -HB_FUNC( QT_HBQGRAPHICSITEM_SIZEPOLICY ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->sizePolicy() ); -} - -/* void setSizePolicy( int sizePolicy ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETSIZEPOLICY ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setSizePolicy( hb_parni( 2 ) ); -} - -/* int textFlags() */ -HB_FUNC( QT_HBQGRAPHICSITEM_TEXTFLAGS ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->textFlags() ); -} - -/* void setTextFlags( int textFlags ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETTEXTFLAGS ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setTextFlags( hb_parni( 2 ) ); -} - -/* int resizeFlags() */ -HB_FUNC( QT_HBQGRAPHICSITEM_RESIZEFLAGS ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->resizeFlags() ); -} - -/* void setResizeFlags( int resizeFlags ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETRESIZEFLAGS ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setResizeFlags( hb_parni( 2 ) ); -} - -/* int resizeHandle() */ -HB_FUNC( QT_HBQGRAPHICSITEM_RESIZEHANDLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->resizeHandle() ); -} - -/* void setResizeHandle( int resizeHandle ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETRESIZEHANDLE ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setResizeHandle( hb_parni( 2 ) ); -} - -/* int barsIdentation() */ -HB_FUNC( QT_HBQGRAPHICSITEM_BARSIDENTATION ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->barsIdentation() ); -} - -/* void setBarsIdentation( int barsIdentation ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETBARSIDENTATION ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setBarsIdentation( hb_parni( 2 ) ); -} - -/* bool drawBorder() */ -HB_FUNC( QT_HBQGRAPHICSITEM_DRAWBORDER ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->drawBorder() ); -} - -/* void setDrawBorder( bool drawBorder ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETDRAWBORDER ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setDrawBorder( hb_parl( 2 ) ); -} - -/* bool showGrid() */ -HB_FUNC( QT_HBQGRAPHICSITEM_SHOWGRID ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->showGrid() ); -} - -/* void setShowGrid( bool showGrid ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETSHOWGRID ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setShowGrid( hb_parl( 2 ) ); -} - -/* bool showLabels() */ -HB_FUNC( QT_HBQGRAPHICSITEM_SHOWLABELS ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->showLabels() ); -} - -/* void setShowLabels( bool showLabels ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETSHOWLABELS ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setShowLabels( hb_parl( 2 ) ); -} - -/* qreal toColorFactor() */ -HB_FUNC( QT_HBQGRAPHICSITEM_TOCOLORFACTOR ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->toColorFactor() ); -} - -/* void setToColorFactor( qreal toColorFactor ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETTOCOLORFACTOR ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setToColorFactor( hb_parnd( 2 ) ); -} - -/* void setBarValues( const QStringList & list ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETBARVALUES ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setBarValues( *hbqt_par_QStringList( 2 ) ); -} - -/* void setLegendColorRectWidth( int legendColorRectWidth ) */ -HB_FUNC( QT_HBQGRAPHICSITEM_SETLEGENDCOLORRECTWIDTH ) -{ - HBQGraphicsItem * p = hbqt_par_HBQGraphicsItem( 1 ); - if( p ) - ( p )->setLegendColorRectWidth( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp b/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp deleted file mode 100644 index a70f624d1c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp +++ /dev/null @@ -1,252 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Magnet { Left, Right, Top, Bottom, Vertical, Horizontal } - */ - -/* - * Constructed[ 19/19 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqgraphicsscene.h" - -/* - * HBQGraphicsScene () - * HBQGraphicsScene ( QObject * parent ) - * ~HBQGraphicsScene () - */ - -typedef struct -{ - QPointer< HBQGraphicsScene > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQGraphicsScene; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQGraphicsScene ) -{ - HBQT_GC_T_HBQGraphicsScene * p = ( HBQT_GC_T_HBQGraphicsScene * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQGraphicsScene * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQGraphicsScene( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQGraphicsScene * p = ( HBQT_GC_T_HBQGraphicsScene * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQGraphicsScene ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQGraphicsScene >( ( HBQGraphicsScene * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQGraphicsScene; - p->type = HBQT_TYPE_HBQGraphicsScene; - - return p; -} - -HB_FUNC( QT_HBQGRAPHICSSCENE ) -{ - HBQGraphicsScene * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new HBQGraphicsScene( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new HBQGraphicsScene() ; - } - - hb_retptrGC( hbqt_gcAllocate_HBQGraphicsScene( ( void * ) pObj, true ) ); -} - -/* void hbSetBlock( PHB_ITEM block ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_HBSETBLOCK ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->hbSetBlock( hb_param( 2, HB_IT_ANY ) ); -} - -/* virtual int pageSize() */ -HB_FUNC( QT_HBQGRAPHICSSCENE_PAGESIZE ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - hb_retni( ( p )->pageSize() ); -} - -/* virtual void setPageSize( int pageSize ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETPAGESIZE ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setPageSize( hb_parni( 2 ) ); -} - -/* QRectF paperRect() */ -HB_FUNC( QT_HBQGRAPHICSSCENE_PAPERRECT ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->paperRect() ), true ) ); -} - -/* void setPaperRect( const QRectF & paperRect ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETPAPERRECT ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setPaperRect( *hbqt_par_QRectF( 2 ) ); -} - -/* virtual int orientation() */ -HB_FUNC( QT_HBQGRAPHICSSCENE_ORIENTATION ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - hb_retni( ( p )->orientation() ); -} - -/* virtual void setOrientation( int orientation ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETORIENTATION ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setOrientation( hb_parni( 2 ) ); -} - -/* virtual QRectF geometry() */ -HB_FUNC( QT_HBQGRAPHICSSCENE_GEOMETRY ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->geometry() ), true ) ); -} - -/* virtual void setGeometry( const QRectF & rect ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETGEOMETRY ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); -} - -/* int magnetArea() */ -HB_FUNC( QT_HBQGRAPHICSSCENE_MAGNETAREA ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - hb_retni( ( p )->magnetArea() ); -} - -/* void setMagnetArea( int magnetArea ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETMAGNETAREA ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setMagnetArea( hb_parni( 2 ) ); -} - -/* virtual bool showGrid() */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SHOWGRID ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - hb_retl( ( p )->showGrid() ); -} - -/* virtual void setShowGrid( bool showGrid ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETSHOWGRID ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setShowGrid( hb_parl( 2 ) ); -} - -/* virtual void setLeftMagnet( bool magneted ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETLEFTMAGNET ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setLeftMagnet( hb_parl( 2 ) ); -} - -/* virtual void setRightMagnet( bool magneted ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETRIGHTMAGNET ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setRightMagnet( hb_parl( 2 ) ); -} - -/* virtual void setTopMagnet( bool magneted ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETTOPMAGNET ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setTopMagnet( hb_parl( 2 ) ); -} - -/* virtual void setBottomMagnet( bool magneted ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETBOTTOMMAGNET ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setBottomMagnet( hb_parl( 2 ) ); -} - -/* virtual void setHorizontalMagnet( bool magneted ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETHORIZONTALMAGNET ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setHorizontalMagnet( hb_parl( 2 ) ); -} - -/* virtual void setVerticalMagnet( bool magneted ) */ -HB_FUNC( QT_HBQGRAPHICSSCENE_SETVERTICALMAGNET ) -{ - HBQGraphicsScene * p = hbqt_par_HBQGraphicsScene( 1 ); - if( p ) - ( p )->setVerticalMagnet( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp b/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp deleted file mode 100644 index 0174f5e401..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQPlainTextEdit.cpp +++ /dev/null @@ -1,565 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 56/56 [ 100.00% ] ] - * - */ - -#include - -#include - -#include "hbqt_hbqplaintextedit.h" - -/* - * HBQPlainTextEdit ( QWidget * parent = 0 ) - * HBQPlainTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~HBQPlainTextEdit () - */ - -typedef struct -{ - QPointer< HBQPlainTextEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQPlainTextEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQPlainTextEdit ) -{ - HBQT_GC_T_HBQPlainTextEdit * p = ( HBQT_GC_T_HBQPlainTextEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQPlainTextEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQPlainTextEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQPlainTextEdit * p = ( HBQT_GC_T_HBQPlainTextEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQPlainTextEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQPlainTextEdit >( ( HBQPlainTextEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQPlainTextEdit; - p->type = HBQT_TYPE_HBQPlainTextEdit; - - return p; -} - -HB_FUNC( QT_HBQPLAINTEXTEDIT ) -{ - HBQPlainTextEdit * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new HBQPlainTextEdit() ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new HBQPlainTextEdit( hbqt_par_QWidget( 1 ) ) ; - } - else - { - pObj = new HBQPlainTextEdit() ; - } - - hb_retptrGC( hbqt_gcAllocate_HBQPlainTextEdit( ( void * ) pObj, true ) ); -} - -/* int hbGetIndex( const QTextCursor & crQTextCursor) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGETINDEX ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->hbGetIndex( *hbqt_par_QTextCursor( 2 ) ) ); -} - -/* int hbGetLine( const QTextCursor & crQTextCursor) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGETLINE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->hbGetLine( *hbqt_par_QTextCursor( 2 ) ) ); -} - -/* int hbLineNumberAreaWidth() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBLINENUMBERAREAWIDTH ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->hbLineNumberAreaWidth() ); -} - -/* int hbGetSpaces() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGETSPACES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->hbGetSpaces() ); -} - -/* void hbSetSpaces(int newSpaces) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETSPACES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetSpaces( hb_parni( 2 ) ); -} - -/* void hbBookmarks(int block) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBBOOKMARKS ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbBookmarks( hb_parni( 2 ) ); -} - -/* void hbNextBookmark(int block) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBNEXTBOOKMARK ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbNextBookmark( hb_parni( 2 ) ); -} - -/* void hbPrevBookmark(int block) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBPREVBOOKMARK ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbPrevBookmark( hb_parni( 2 ) ); -} - -/* void hbGotoBookmark(int block) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGOTOBOOKMARK ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbGotoBookmark( hb_parni( 2 ) ); -} - -/* void hbNumberBlockVisible(bool b) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBNUMBERBLOCKVISIBLE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbNumberBlockVisible( hb_parl( 2 ) ); -} - -/* bool hbNumberBlockVisible() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBNUMBERBLOCKVISIBLE_1 ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->hbNumberBlockVisible() ); -} - -/* void hbHighlightCurrentLine(bool b) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBHIGHLIGHTCURRENTLINE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbHighlightCurrentLine( hb_parl( 2 ) ); -} - -/* bool hbHighlightCurrentLine() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBHIGHLIGHTCURRENTLINE_1 ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->hbHighlightCurrentLine() ); -} - -/* void hbSetEventBlock( PHB_ITEM block ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETEVENTBLOCK ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetEventBlock( hb_param( 2, HB_IT_ANY ) ); -} - -/* void hbUpdateLineNumberAreaWidth( int newBlockCount ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBUPDATELINENUMBERAREAWIDTH ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbUpdateLineNumberAreaWidth( hb_parni( 2 ) ); -} - -/* void hbCaseUpper() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBCASEUPPER ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbCaseUpper(); -} - -/* void hbCaseLower() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBCASELOWER ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbCaseLower(); -} - -/* void hbEscapeQuotes() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBESCAPEQUOTES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbEscapeQuotes(); -} - -/* void hbEscapeDQuotes() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBESCAPEDQUOTES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbEscapeDQuotes(); -} - -/* void hbUnescapeQuotes() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBUNESCAPEQUOTES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbUnescapeQuotes(); -} - -/* void hbUnescapeDQuotes() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBUNESCAPEDQUOTES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbUnescapeDQuotes(); -} - -/* void hbConvertQuotes() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBCONVERTQUOTES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbConvertQuotes(); -} - -/* void hbConvertDQuotes() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBCONVERTDQUOTES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbConvertDQuotes(); -} - -/* void hbBlockComment() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBBLOCKCOMMENT ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbBlockComment(); -} - -/* void hbStreamComment() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSTREAMCOMMENT ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbStreamComment(); -} - -/* void hbDuplicateLine() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBDUPLICATELINE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbDuplicateLine(); -} - -/* void hbReplaceSelection( const QString & txt ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBREPLACESELECTION ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->hbReplaceSelection( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void hbBlockIndent( int steps ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBBLOCKINDENT ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbBlockIndent( hb_parni( 2 ) ); -} - -/* void hbDeleteLine() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBDELETELINE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbDeleteLine(); -} - -/* void hbMoveLine( int iDirection ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBMOVELINE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbMoveLine( hb_parni( 2 ) ); -} - -/* QString hbGetSelectedText() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGETSELECTEDTEXT ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->hbGetSelectedText().toUtf8().data() ); -} - -/* QString hbTextUnderCursor( bool bCodeComplete ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBTEXTUNDERCURSOR ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->hbTextUnderCursor( hb_parl( 2 ) ).toUtf8().data() ); -} - -/* void hbShowPrototype( const QString & tip, int rows, int cols ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSHOWPROTOTYPE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->hbShowPrototype( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), hb_parni( 4 ) ); - hb_strfree( pText ); - } -} - -/* void hbSetCompleter( QCompleter * completer ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETCOMPLETER ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetCompleter( hbqt_par_QCompleter( 2 ) ); -} - -/* void hbSetFldsCompleter( QCompleter * completer ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETFLDSCOMPLETER ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetFldsCompleter( hbqt_par_QCompleter( 2 ) ); -} - -/* void hbSetCurrentLineColor( const QColor & color ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETCURRENTLINECOLOR ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetCurrentLineColor( *hbqt_par_QColor( 2 ) ); -} - -/* void hbSetLineAreaBkColor( const QColor & color ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETLINEAREABKCOLOR ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetLineAreaBkColor( *hbqt_par_QColor( 2 ) ); -} - -/* void hbRefresh() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBREFRESH ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbRefresh(); -} - -/* void hbCut( int key ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBCUT ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbCut( hb_parni( 2 ) ); -} - -/* void hbCopy() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBCOPY ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbCopy(); -} - -/* void hbPaste() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBPASTE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbPaste(); -} - -/* void hbSetSelectionMode( int mode, bool on ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETSELECTIONMODE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetSelectionMode( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void hbGetSelectionInfo() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGETSELECTIONINFO ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbGetSelectionInfo(); -} - -/* void hbSetSelectionInfo( PHB_ITEM selectionInfo ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETSELECTIONINFO ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetSelectionInfo( hb_param( 2, HB_IT_ANY ) ); -} - -/* void hbSetSelectionColor( const QColor & color ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETSELECTIONCOLOR ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetSelectionColor( *hbqt_par_QColor( 2 ) ); -} - -/* void hbSetMatchBraces( bool all ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETMATCHBRACES ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetMatchBraces( hb_parl( 2 ) ); -} - -/* void hbGetViewportInfo() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBGETVIEWPORTINFO ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbGetViewportInfo(); -} - -/* void hbApplyKey( int key, Qt::KeyboardModifiers modifiers = 0, const QString & txt ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBAPPLYKEY ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->hbApplyKey( hb_parni( 2 ), ( Qt::KeyboardModifiers ) hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void hbHighlightArea( int top, int left, int bottom, int right, int mode ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBHIGHLIGHTAREA ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbHighlightArea( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ) ); -} - -/* void hbTogglePersistentSelection() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBTOGGLEPERSISTENTSELECTION ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbTogglePersistentSelection(); -} - -/* void hbHorzRulerVisible( bool visible ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBHORZRULERVISIBLE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbHorzRulerVisible( hb_parl( 2 ) ); -} - -/* void hbSetProtoStyle( const QString & css ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETPROTOSTYLE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->hbSetProtoStyle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void hbSelectAll() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSELECTALL ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSelectAll(); -} - -/* void hbSetFieldsListActive( bool active ) */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBSETFIELDSLISTACTIVE ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbSetFieldsListActive( hb_parl( 2 ) ); -} - -/* void hbToggleCodeCompetion() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBTOGGLECODECOMPETION ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbToggleCodeCompetion(); -} - -/* void hbToggleCompetionTips() */ -HB_FUNC( QT_HBQPLAINTEXTEDIT_HBTOGGLECOMPETIONTIPS ) -{ - HBQPlainTextEdit * p = hbqt_par_HBQPlainTextEdit( 1 ); - if( p ) - ( p )->hbToggleCompetionTips(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp b/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp deleted file mode 100644 index c4088aa887..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQSyntaxHighlighter.cpp +++ /dev/null @@ -1,148 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqsyntaxhighlighter.h" - -/* - * HBQSyntaxHighlighter ( QTextDocument * textDocument ) - * - */ - -typedef struct -{ - QPointer< HBQSyntaxHighlighter > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQSyntaxHighlighter; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQSyntaxHighlighter ) -{ - HBQT_GC_T_HBQSyntaxHighlighter * p = ( HBQT_GC_T_HBQSyntaxHighlighter * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQSyntaxHighlighter * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQSyntaxHighlighter( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQSyntaxHighlighter * p = ( HBQT_GC_T_HBQSyntaxHighlighter * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQSyntaxHighlighter ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQSyntaxHighlighter >( ( HBQSyntaxHighlighter * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQSyntaxHighlighter; - p->type = HBQT_TYPE_HBQSyntaxHighlighter; - - return p; -} - -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER ) -{ - HBQSyntaxHighlighter * pObj = NULL; - - pObj = new HBQSyntaxHighlighter( hbqt_par_QTextDocument( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_HBQSyntaxHighlighter( ( void * ) pObj, true ) ); -} - -/* void hbSetMultiLineCommentFormat( const QTextCharFormat & format ) */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER_HBSETMULTILINECOMMENTFORMAT ) -{ - HBQSyntaxHighlighter * p = hbqt_par_HBQSyntaxHighlighter( 1 ); - if( p ) - ( p )->hbSetMultiLineCommentFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void hbSetSingleLineCommentFormat( const QTextCharFormat & format ) */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER_HBSETSINGLELINECOMMENTFORMAT ) -{ - HBQSyntaxHighlighter * p = hbqt_par_HBQSyntaxHighlighter( 1 ); - if( p ) - ( p )->hbSetSingleLineCommentFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void hbSetRule( QString name, QString pattern, QTextCharFormat & format ) */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER_HBSETRULE ) -{ - HBQSyntaxHighlighter * p = hbqt_par_HBQSyntaxHighlighter( 1 ); - if( p ) - { - void * pText; - ( p )->hbSetRule( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), *hbqt_par_QTextCharFormat( 4 ) ); - hb_strfree( pText ); - } -} - -/* void hbSetFormat( QString name, const QTextCharFormat & format ) */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER_HBSETFORMAT ) -{ - HBQSyntaxHighlighter * p = hbqt_par_HBQSyntaxHighlighter( 1 ); - if( p ) - { - void * pText; - ( p )->hbSetFormat( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QTextCharFormat( 3 ) ); - hb_strfree( pText ); - } -} - -/* void hbSetFormatColumnSelection( int start, int count, const QColor & color ) */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER_HBSETFORMATCOLUMNSELECTION ) -{ - HBQSyntaxHighlighter * p = hbqt_par_HBQSyntaxHighlighter( 1 ); - if( p ) - ( p )->hbSetFormatColumnSelection( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QColor( 4 ) ); -} - -/* void hbSetRuleWithRegExp( QString name, const QRegExp & reg, const QTextCharFormat & format ) */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER_HBSETRULEWITHREGEXP ) -{ - HBQSyntaxHighlighter * p = hbqt_par_HBQSyntaxHighlighter( 1 ); - if( p ) - { - void * pText; - ( p )->hbSetRuleWithRegExp( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QRegExp( 3 ), *hbqt_par_QTextCharFormat( 4 ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp b/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp deleted file mode 100644 index 62e3709c8f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQTableView.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqtableview.h" - - -/* - * HBQTableView ( QWidget * parent = 0 ) - * ~HBQTableView () - * - */ - -typedef struct -{ - QPointer< HBQTableView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQTableView; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQTableView ) -{ - HBQT_GC_T_HBQTableView * p = ( HBQT_GC_T_HBQTableView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - HBQTableView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQTableView( void * pObj, bool bNew ) -{ - HBQT_GC_T_HBQTableView * p = ( HBQT_GC_T_HBQTableView * ) hb_gcAllocate( sizeof( HBQT_GC_T_HBQTableView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< HBQTableView >( ( HBQTableView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQTableView; - p->type = HBQT_TYPE_HBQTableView; - - return p; -} - -HB_FUNC( QT_HBQTABLEVIEW ) -{ - HBQTableView * pObj = NULL; - - pObj = new HBQTableView( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_HBQTableView( ( void * ) pObj, true ) ); -} - -/* void hbSetBlock( PHB_ITEM block ) */ -HB_FUNC( QT_HBQTABLEVIEW_HBSETBLOCK ) -{ - HBQTableView * p = hbqt_par_HBQTableView( 1 ); - if( p ) - ( p )->hbSetBlock( hb_param( 2, HB_IT_ANY ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp b/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp deleted file mode 100644 index 9972713db5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/HBQTextBlockUserData.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqsyntaxhighlighter.h" - -/* - * HBQTextBlockUserData () - * ~HBQTextBlockUserData () - */ - -typedef struct -{ - HBQTextBlockUserData * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_HBQTextBlockUserData; - -HBQT_GC_FUNC( hbqt_gcRelease_HBQTextBlockUserData ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( HBQTextBlockUserData * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_HBQTextBlockUserData( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( HBQTextBlockUserData * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_HBQTextBlockUserData; - p->type = HBQT_TYPE_HBQTextBlockUserData; - - return p; -} - -HB_FUNC( QT_HBQTEXTBLOCKUSERDATA ) -{ - HBQTextBlockUserData * pObj = NULL; - - pObj = new HBQTextBlockUserData() ; - - hb_retptrGC( hbqt_gcAllocate_HBQTextBlockUserData( ( void * ) pObj, true ) ); -} - -/* int hbSetState( int state ) */ -HB_FUNC( QT_HBQTEXTBLOCKUSERDATA_HBSETSTATE ) -{ - HBQTextBlockUserData * p = hbqt_par_HBQTextBlockUserData( 1 ); - if( p ) - hb_retni( ( p )->hbSetState( hb_parni( 2 ) ) ); -} - -/* int hbState() */ -HB_FUNC( QT_HBQTEXTBLOCKUSERDATA_HBSTATE ) -{ - HBQTextBlockUserData * p = hbqt_par_HBQTextBlockUserData( 1 ); - if( p ) - hb_retni( ( p )->hbState() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp deleted file mode 100644 index 405783355b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractButton.cpp +++ /dev/null @@ -1,287 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QAbstractButton ( QWidget * parent = 0 ) - * ~QAbstractButton () - */ - -typedef struct -{ - QPointer< QAbstractButton > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractButton ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractButton( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractButton * p = ( HBQT_GC_T_QAbstractButton * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractButton ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractButton >( ( QAbstractButton * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractButton; - p->type = HBQT_TYPE_QAbstractButton; - - return p; -} - -HB_FUNC( QT_QABSTRACTBUTTON ) -{ - -} - -/* bool autoExclusive () const */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOEXCLUSIVE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retl( ( p )->autoExclusive() ); -} - -/* bool autoRepeat () const */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEAT ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retl( ( p )->autoRepeat() ); -} - -/* int autoRepeatDelay () const */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEATDELAY ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retni( ( p )->autoRepeatDelay() ); -} - -/* int autoRepeatInterval () const */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEATINTERVAL ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retni( ( p )->autoRepeatInterval() ); -} - -/* QButtonGroup * group () const */ -HB_FUNC( QT_QABSTRACTBUTTON_GROUP ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QButtonGroup( ( p )->group(), false ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QABSTRACTBUTTON_ICON ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QABSTRACTBUTTON_ICONSIZE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* bool isCheckable () const */ -HB_FUNC( QT_QABSTRACTBUTTON_ISCHECKABLE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retl( ( p )->isCheckable() ); -} - -/* bool isChecked () const */ -HB_FUNC( QT_QABSTRACTBUTTON_ISCHECKED ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retl( ( p )->isChecked() ); -} - -/* bool isDown () const */ -HB_FUNC( QT_QABSTRACTBUTTON_ISDOWN ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retl( ( p )->isDown() ); -} - -/* void setAutoExclusive ( bool ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOEXCLUSIVE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setAutoExclusive( hb_parl( 2 ) ); -} - -/* void setAutoRepeat ( bool ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEAT ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setAutoRepeat( hb_parl( 2 ) ); -} - -/* void setAutoRepeatDelay ( int ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEATDELAY ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setAutoRepeatDelay( hb_parni( 2 ) ); -} - -/* void setAutoRepeatInterval ( int ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEATINTERVAL ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setAutoRepeatInterval( hb_parni( 2 ) ); -} - -/* void setCheckable ( bool ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETCHECKABLE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setCheckable( hb_parl( 2 ) ); -} - -/* void setDown ( bool ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETDOWN ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setDown( hb_parl( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETICON ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setShortcut ( const QKeySequence & key ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETSHORTCUT ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setShortcut( *hbqt_par_QKeySequence( 2 ) ); -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETTEXT ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QKeySequence shortcut () const */ -HB_FUNC( QT_QABSTRACTBUTTON_SHORTCUT ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QKeySequence( new QKeySequence( ( p )->shortcut() ), true ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QABSTRACTBUTTON_TEXT ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* void animateClick ( int msec = 100 ) */ -HB_FUNC( QT_QABSTRACTBUTTON_ANIMATECLICK ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->animateClick( hb_parnidef( 2, 100 ) ); -} - -/* void click () */ -HB_FUNC( QT_QABSTRACTBUTTON_CLICK ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->click(); -} - -/* void setChecked ( bool ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETCHECKED ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setChecked( hb_parl( 2 ) ); -} - -/* void setIconSize ( const QSize & size ) */ -HB_FUNC( QT_QABSTRACTBUTTON_SETICONSIZE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void toggle () */ -HB_FUNC( QT_QABSTRACTBUTTON_TOGGLE ) -{ - QAbstractButton * p = hbqt_par_QAbstractButton( 1 ); - if( p ) - ( p )->toggle(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp deleted file mode 100644 index 886c337734..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractGraphicsShapeItem.cpp +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QAbstractGraphicsShapeItem ( QGraphicsItem * parent = 0 ) - * ~QAbstractGraphicsShapeItem () - */ - -typedef struct -{ - QAbstractGraphicsShapeItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractGraphicsShapeItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractGraphicsShapeItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractGraphicsShapeItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QAbstractGraphicsShapeItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractGraphicsShapeItem; - p->type = HBQT_TYPE_QAbstractGraphicsShapeItem; - - return p; -} - -HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM ) -{ - // __HB_RETPTRGC__( new QAbstractGraphicsShapeItem() ); -} - -/* QBrush brush () const */ -HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_BRUSH ) -{ - QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush() ), true ) ); -} - -/* QPen pen () const */ -HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_PEN ) -{ - QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) ); -} - -/* void setBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_SETBRUSH ) -{ - QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 ); - if( p ) - ( p )->setBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setPen ( const QPen & pen ) */ -HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_SETPEN ) -{ - QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 ); - if( p ) - ( p )->setPen( *hbqt_par_QPen( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp deleted file mode 100644 index b77c030322..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractItemDelegate.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum EndEditHint { NoHint, EditNextItem, EditPreviousItem, SubmitModelCache, RevertModelCache } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // bool helpEvent ( QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index ) - */ - -#include - -#include - - -/* QAbstractItemDelegate ( QObject * parent = 0 ) - * virtual ~QAbstractItemDelegate () - */ - -typedef struct -{ - QPointer< QAbstractItemDelegate > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractItemDelegate; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemDelegate ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractItemDelegate( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractItemDelegate * p = ( HBQT_GC_T_QAbstractItemDelegate * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractItemDelegate ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractItemDelegate >( ( QAbstractItemDelegate * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractItemDelegate; - p->type = HBQT_TYPE_QAbstractItemDelegate; - - return p; -} - -HB_FUNC( QT_QABSTRACTITEMDELEGATE ) -{ - // __HB_RETPTRGC__( new QAbstractItemDelegate( 0 ) ); -} - -/* virtual QWidget * createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_CREATEEDITOR ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->createEditor( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ), false ) ); -} - -/* virtual bool editorEvent ( QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_EDITOREVENT ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - hb_retl( ( p )->editorEvent( hbqt_par_QEvent( 2 ), hbqt_par_QAbstractItemModel( 3 ), *hbqt_par_QStyleOptionViewItem( 4 ), *hbqt_par_QModelIndex( 5 ) ) ); -} - -/* virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_PAINT ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* virtual void setEditorData ( QWidget * editor, const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_SETEDITORDATA ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - ( p )->setEditorData( hbqt_par_QWidget( 2 ), *hbqt_par_QModelIndex( 3 ) ); -} - -/* virtual void setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_SETMODELDATA ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - ( p )->setModelData( hbqt_par_QWidget( 2 ), hbqt_par_QAbstractItemModel( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* virtual QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_SIZEHINT ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint( *hbqt_par_QStyleOptionViewItem( 2 ), *hbqt_par_QModelIndex( 3 ) ) ), true ) ); -} - -/* virtual void updateEditorGeometry ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE_UPDATEEDITORGEOMETRY ) -{ - QAbstractItemDelegate * p = hbqt_par_QAbstractItemDelegate( 1 ); - if( p ) - ( p )->updateEditorGeometry( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp deleted file mode 100644 index 902ea92bd0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractItemView.cpp +++ /dev/null @@ -1,593 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags EditTriggers - * enum DragDropMode { NoDragDrop, DragOnly, DropOnly, DragDrop, InternalMove } - * enum EditTrigger { NoEditTriggers, CurrentChanged, DoubleClicked, SelectedClicked, ..., AllEditTriggers } - * enum ScrollHint { EnsureVisible, PositionAtTop, PositionAtBottom, PositionAtCenter } - * enum ScrollMode { ScrollPerItem, ScrollPerPixel } - * enum SelectionBehavior { SelectItems, SelectRows, SelectColumns } - * enum SelectionMode { SingleSelection, ContiguousSelection, ExtendedSelection, MultiSelection, NoSelection } - */ - -/* - * Constructed[ 63/63 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QAbstractItemView ( QWidget * parent = 0 ) - * ~QAbstractItemView () - */ - -typedef struct -{ - QPointer< QAbstractItemView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractItemView; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemView ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractItemView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractItemView * p = ( HBQT_GC_T_QAbstractItemView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractItemView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractItemView >( ( QAbstractItemView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractItemView; - p->type = HBQT_TYPE_QAbstractItemView; - - return p; -} - -HB_FUNC( QT_QABSTRACTITEMVIEW ) -{ - -} - -/* bool alternatingRowColors () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ALTERNATINGROWCOLORS ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retl( ( p )->alternatingRowColors() ); -} - -/* int autoScrollMargin () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_AUTOSCROLLMARGIN ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( p )->autoScrollMargin() ); -} - -/* void closePersistentEditor ( const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_CLOSEPERSISTENTEDITOR ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->closePersistentEditor( *hbqt_par_QModelIndex( 2 ) ); -} - -/* QModelIndex currentIndex () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_CURRENTINDEX ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->currentIndex() ), true ) ); -} - -/* DragDropMode dragDropMode () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( QAbstractItemView::DragDropMode ) ( p )->dragDropMode() ); -} - -/* bool dragDropOverwriteMode () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPOVERWRITEMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retl( ( p )->dragDropOverwriteMode() ); -} - -/* bool dragEnabled () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGENABLED ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retl( ( p )->dragEnabled() ); -} - -/* EditTriggers editTriggers () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_EDITTRIGGERS ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( QAbstractItemView::EditTriggers ) ( p )->editTriggers() ); -} - -/* bool hasAutoScroll () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_HASAUTOSCROLL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retl( ( p )->hasAutoScroll() ); -} - -/* ScrollMode horizontalScrollMode () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_HORIZONTALSCROLLMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( QAbstractItemView::ScrollMode ) ( p )->horizontalScrollMode() ); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ICONSIZE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* virtual QModelIndex indexAt ( const QPoint & point ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMVIEW_INDEXAT ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->indexAt( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QWidget * indexWidget ( const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_INDEXWIDGET ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->indexWidget( *hbqt_par_QModelIndex( 2 ) ), false ) ); -} - -/* QAbstractItemDelegate * itemDelegate () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemDelegate( ( p )->itemDelegate(), false ) ); -} - -/* QAbstractItemDelegate * itemDelegate ( const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATE_1 ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemDelegate( ( p )->itemDelegate( *hbqt_par_QModelIndex( 2 ) ), false ) ); -} - -/* QAbstractItemDelegate * itemDelegateForColumn ( int column ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORCOLUMN ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemDelegate( ( p )->itemDelegateForColumn( hb_parni( 2 ) ), false ) ); -} - -/* QAbstractItemDelegate * itemDelegateForRow ( int row ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORROW ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemDelegate( ( p )->itemDelegateForRow( hb_parni( 2 ) ), false ) ); -} - -/* virtual void keyboardSearch ( const QString & search ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_KEYBOARDSEARCH ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - { - void * pText; - ( p )->keyboardSearch( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QAbstractItemModel * model () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_MODEL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( p )->model(), false ) ); -} - -/* void openPersistentEditor ( const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_OPENPERSISTENTEDITOR ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->openPersistentEditor( *hbqt_par_QModelIndex( 2 ) ); -} - -/* QModelIndex rootIndex () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ROOTINDEX ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->rootIndex() ), true ) ); -} - -/* virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) = 0 */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTO ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->scrollTo( *hbqt_par_QModelIndex( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QAbstractItemView::EnsureVisible ) ); -} - -/* QAbstractItemView::SelectionBehavior selectionBehavior () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONBEHAVIOR ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( QAbstractItemView::SelectionBehavior ) ( p )->selectionBehavior() ); -} - -/* QAbstractItemView::SelectionMode selectionMode () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( QAbstractItemView::SelectionMode ) ( p )->selectionMode() ); -} - -/* QItemSelectionModel * selectionModel () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODEL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QItemSelectionModel( ( p )->selectionModel(), false ) ); -} - -/* void setAlternatingRowColors ( bool enable ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETALTERNATINGROWCOLORS ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setAlternatingRowColors( hb_parl( 2 ) ); -} - -/* void setAutoScroll ( bool enable ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setAutoScroll( hb_parl( 2 ) ); -} - -/* void setAutoScrollMargin ( int margin ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLLMARGIN ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setAutoScrollMargin( hb_parni( 2 ) ); -} - -/* void setDragDropMode ( DragDropMode behavior ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setDragDropMode( ( QAbstractItemView::DragDropMode ) hb_parni( 2 ) ); -} - -/* void setDragDropOverwriteMode ( bool overwrite ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPOVERWRITEMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setDragDropOverwriteMode( hb_parl( 2 ) ); -} - -/* void setDragEnabled ( bool enable ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGENABLED ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setDragEnabled( hb_parl( 2 ) ); -} - -/* void setDropIndicatorShown ( bool enable ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDROPINDICATORSHOWN ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setDropIndicatorShown( hb_parl( 2 ) ); -} - -/* void setEditTriggers ( EditTriggers triggers ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETEDITTRIGGERS ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setEditTriggers( ( QAbstractItemView::EditTriggers ) hb_parni( 2 ) ); -} - -/* void setHorizontalScrollMode ( ScrollMode mode ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETHORIZONTALSCROLLMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setHorizontalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) ); -} - -/* void setIconSize ( const QSize & size ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETICONSIZE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setIndexWidget ( const QModelIndex & index, QWidget * widget ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETINDEXWIDGET ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setIndexWidget( *hbqt_par_QModelIndex( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* void setItemDelegate ( QAbstractItemDelegate * delegate ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) ); -} - -/* void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORCOLUMN ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setItemDelegateForColumn( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) ); -} - -/* void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORROW ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setItemDelegateForRow( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) ); -} - -/* virtual void setModel ( QAbstractItemModel * model ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETMODEL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setModel( hbqt_par_QAbstractItemModel( 2 ) ); -} - -/* void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONBEHAVIOR ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setSelectionBehavior( ( QAbstractItemView::SelectionBehavior ) hb_parni( 2 ) ); -} - -/* void setSelectionMode ( QAbstractItemView::SelectionMode mode ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setSelectionMode( ( QAbstractItemView::SelectionMode ) hb_parni( 2 ) ); -} - -/* virtual void setSelectionModel ( QItemSelectionModel * selectionModel ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODEL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setSelectionModel( hbqt_par_QItemSelectionModel( 2 ) ); -} - -/* void setTabKeyNavigation ( bool enable ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETTABKEYNAVIGATION ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setTabKeyNavigation( hb_parl( 2 ) ); -} - -/* void setTextElideMode ( Qt::TextElideMode mode ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETTEXTELIDEMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setTextElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) ); -} - -/* void setVerticalScrollMode ( ScrollMode mode ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETVERTICALSCROLLMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setVerticalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) ); -} - -/* bool showDropIndicator () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SHOWDROPINDICATOR ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retl( ( p )->showDropIndicator() ); -} - -/* virtual int sizeHintForColumn ( int column ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORCOLUMN ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( p )->sizeHintForColumn( hb_parni( 2 ) ) ); -} - -/* QSize sizeHintForIndex ( const QModelIndex & index ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORINDEX ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHintForIndex( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* virtual int sizeHintForRow ( int row ) const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORROW ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( p )->sizeHintForRow( hb_parni( 2 ) ) ); -} - -/* bool tabKeyNavigation () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_TABKEYNAVIGATION ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retl( ( p )->tabKeyNavigation() ); -} - -/* Qt::TextElideMode textElideMode () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_TEXTELIDEMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( Qt::TextElideMode ) ( p )->textElideMode() ); -} - -/* ScrollMode verticalScrollMode () const */ -HB_FUNC( QT_QABSTRACTITEMVIEW_VERTICALSCROLLMODE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retni( ( QAbstractItemView::ScrollMode ) ( p )->verticalScrollMode() ); -} - -/* virtual QRect visualRect ( const QModelIndex & index ) const = 0 */ -HB_FUNC( QT_QABSTRACTITEMVIEW_VISUALRECT ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->visualRect( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* void clearSelection () */ -HB_FUNC( QT_QABSTRACTITEMVIEW_CLEARSELECTION ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->clearSelection(); -} - -/* void edit ( const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_EDIT ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->edit( *hbqt_par_QModelIndex( 2 ) ); -} - -/* virtual void reset () */ -HB_FUNC( QT_QABSTRACTITEMVIEW_RESET ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->reset(); -} - -/* void scrollToBottom () */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOBOTTOM ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->scrollToBottom(); -} - -/* void scrollToTop () */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOTOP ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->scrollToTop(); -} - -/* virtual void selectAll () */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTALL ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->selectAll(); -} - -/* void setCurrentIndex ( const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETCURRENTINDEX ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setCurrentIndex( *hbqt_par_QModelIndex( 2 ) ); -} - -/* virtual void setRootIndex ( const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETROOTINDEX ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->setRootIndex( *hbqt_par_QModelIndex( 2 ) ); -} - -/* void update ( const QModelIndex & index ) */ -HB_FUNC( QT_QABSTRACTITEMVIEW_UPDATE ) -{ - QAbstractItemView * p = hbqt_par_QAbstractItemView( 1 ); - if( p ) - ( p )->update( *hbqt_par_QModelIndex( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp deleted file mode 100644 index 00c445929a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractPrintDialog.cpp +++ /dev/null @@ -1,163 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum PrintDialogOption { None, PrintToFile, PrintSelection, PrintPageRange, ..., PrintShowPageSize } - * enum PrintRange { AllPages, Selection, PageRange } - * flags PrintDialogOptions - */ - -/* - * Constructed[ 10/11 [ 90.91% ] ] - * - * *** Unconvered Prototypes *** - * - * void setOptionTabs ( const QList & tabs ) - */ - -#include - -#include - - -/* - * QAbstractPrintDialog ( QPrinter * printer, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QAbstractPrintDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractPrintDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractPrintDialog ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractPrintDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractPrintDialog * p = ( HBQT_GC_T_QAbstractPrintDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractPrintDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractPrintDialog >( ( QAbstractPrintDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractPrintDialog; - p->type = HBQT_TYPE_QAbstractPrintDialog; - - return p; -} - -HB_FUNC( QT_QABSTRACTPRINTDIALOG ) -{ - -} - -/* virtual int exec () = 0 */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_EXEC ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retni( ( p )->exec() ); -} - -/* int fromPage () const */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_FROMPAGE ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retni( ( p )->fromPage() ); -} - -/* int maxPage () const */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_MAXPAGE ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retni( ( p )->maxPage() ); -} - -/* int minPage () const */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_MINPAGE ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retni( ( p )->minPage() ); -} - -/* PrintRange printRange () const */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTRANGE ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retni( ( QAbstractPrintDialog::PrintRange ) ( p )->printRange() ); -} - -/* QPrinter * printer () const */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTER ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPrinter( ( p )->printer(), false ) ); -} - -/* void setFromTo ( int from, int to ) */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETFROMTO ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - ( p )->setFromTo( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setMinMax ( int min, int max ) */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETMINMAX ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - ( p )->setMinMax( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setPrintRange ( PrintRange range ) */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETPRINTRANGE ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - ( p )->setPrintRange( ( QAbstractPrintDialog::PrintRange ) hb_parni( 2 ) ); -} - -/* int toPage () const */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_TOPAGE ) -{ - QAbstractPrintDialog * p = hbqt_par_QAbstractPrintDialog( 1 ); - if( p ) - hb_retni( ( p )->toPage() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp deleted file mode 100644 index a9acb882e9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractProxyModel.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include -#include - -/* QAbstractProxyModel ( QObject * parent = 0 ) - * ~QAbstractProxyModel () - */ - -typedef struct -{ - QPointer< QAbstractProxyModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractProxyModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractProxyModel ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractProxyModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractProxyModel * p = ( HBQT_GC_T_QAbstractProxyModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractProxyModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractProxyModel >( ( QAbstractProxyModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractProxyModel; - p->type = HBQT_TYPE_QAbstractProxyModel; - - return p; -} - -HB_FUNC( QT_QABSTRACTPROXYMODEL ) -{ - // __HB_RETPTRGC__( new QAbstractProxyModel() ); -} - -/* virtual QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const = 0 */ -HB_FUNC( QT_QABSTRACTPROXYMODEL_MAPFROMSOURCE ) -{ - QAbstractProxyModel * p = hbqt_par_QAbstractProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mapFromSource( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* virtual QItemSelection mapSelectionFromSource ( const QItemSelection & sourceSelection ) const */ -HB_FUNC( QT_QABSTRACTPROXYMODEL_MAPSELECTIONFROMSOURCE ) -{ - QAbstractProxyModel * p = hbqt_par_QAbstractProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QItemSelection( new QItemSelection( ( p )->mapSelectionFromSource( *hbqt_par_QItemSelection( 2 ) ) ), true ) ); -} - -/* virtual QItemSelection mapSelectionToSource ( const QItemSelection & proxySelection ) const */ -HB_FUNC( QT_QABSTRACTPROXYMODEL_MAPSELECTIONTOSOURCE ) -{ - QAbstractProxyModel * p = hbqt_par_QAbstractProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QItemSelection( new QItemSelection( ( p )->mapSelectionToSource( *hbqt_par_QItemSelection( 2 ) ) ), true ) ); -} - -/* virtual QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const = 0 */ -HB_FUNC( QT_QABSTRACTPROXYMODEL_MAPTOSOURCE ) -{ - QAbstractProxyModel * p = hbqt_par_QAbstractProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mapToSource( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* virtual void setSourceModel ( QAbstractItemModel * sourceModel ) */ -HB_FUNC( QT_QABSTRACTPROXYMODEL_SETSOURCEMODEL ) -{ - QAbstractProxyModel * p = hbqt_par_QAbstractProxyModel( 1 ); - if( p ) - ( p )->setSourceModel( hbqt_par_QAbstractItemModel( 2 ) ); -} - -/* QAbstractItemModel * sourceModel () const */ -HB_FUNC( QT_QABSTRACTPROXYMODEL_SOURCEMODEL ) -{ - QAbstractProxyModel * p = hbqt_par_QAbstractProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( p )->sourceModel(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp deleted file mode 100644 index e82b282db1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractScrollArea.cpp +++ /dev/null @@ -1,191 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QWidgetList scrollBarWidgets ( Qt::Alignment alignment ) - */ - -#include - -#include - - -/* - * QAbstractScrollArea ( QWidget * parent = 0 ) - * ~QAbstractScrollArea () - */ - -typedef struct -{ - QPointer< QAbstractScrollArea > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractScrollArea; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractScrollArea ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractScrollArea( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractScrollArea * p = ( HBQT_GC_T_QAbstractScrollArea * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractScrollArea ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractScrollArea >( ( QAbstractScrollArea * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractScrollArea; - p->type = HBQT_TYPE_QAbstractScrollArea; - - return p; -} - -HB_FUNC( QT_QABSTRACTSCROLLAREA ) -{ - -} - -/* void addScrollBarWidget ( QWidget * widget, Qt::Alignment alignment ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_ADDSCROLLBARWIDGET ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->addScrollBarWidget( hbqt_par_QWidget( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); -} - -/* QWidget * cornerWidget () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_CORNERWIDGET ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->cornerWidget(), false ) ); -} - -/* QScrollBar * horizontalScrollBar () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_HORIZONTALSCROLLBAR ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QScrollBar( ( p )->horizontalScrollBar(), false ) ); -} - -/* Qt::ScrollBarPolicy horizontalScrollBarPolicy () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_HORIZONTALSCROLLBARPOLICY ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retni( ( Qt::ScrollBarPolicy ) ( p )->horizontalScrollBarPolicy() ); -} - -/* QSize maximumViewportSize () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_MAXIMUMVIEWPORTSIZE ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->maximumViewportSize() ), true ) ); -} - -/* void setCornerWidget ( QWidget * widget ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETCORNERWIDGET ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->setCornerWidget( hbqt_par_QWidget( 2 ) ); -} - -/* void setHorizontalScrollBar ( QScrollBar * scrollBar ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETHORIZONTALSCROLLBAR ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->setHorizontalScrollBar( hbqt_par_QScrollBar( 2 ) ); -} - -/* void setHorizontalScrollBarPolicy ( Qt::ScrollBarPolicy ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETHORIZONTALSCROLLBARPOLICY ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->setHorizontalScrollBarPolicy( ( Qt::ScrollBarPolicy ) hb_parni( 2 ) ); -} - -/* void setVerticalScrollBar ( QScrollBar * scrollBar ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVERTICALSCROLLBAR ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->setVerticalScrollBar( hbqt_par_QScrollBar( 2 ) ); -} - -/* void setVerticalScrollBarPolicy ( Qt::ScrollBarPolicy ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVERTICALSCROLLBARPOLICY ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->setVerticalScrollBarPolicy( ( Qt::ScrollBarPolicy ) hb_parni( 2 ) ); -} - -/* void setViewport ( QWidget * widget ) */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVIEWPORT ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - ( p )->setViewport( hbqt_par_QWidget( 2 ) ); -} - -/* QScrollBar * verticalScrollBar () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_VERTICALSCROLLBAR ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QScrollBar( ( p )->verticalScrollBar(), false ) ); -} - -/* Qt::ScrollBarPolicy verticalScrollBarPolicy () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_VERTICALSCROLLBARPOLICY ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retni( ( Qt::ScrollBarPolicy ) ( p )->verticalScrollBarPolicy() ); -} - -/* QWidget * viewport () const */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_VIEWPORT ) -{ - QAbstractScrollArea * p = hbqt_par_QAbstractScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->viewport(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp deleted file mode 100644 index 1ab8914597..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractSlider.cpp +++ /dev/null @@ -1,271 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum SliderAction { SliderNoAction, SliderSingleStepAdd, SliderSingleStepSub, SliderPageStepAdd, ..., SliderMove } - */ - -/* - * Constructed[ 24/24 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QAbstractSlider ( QWidget * parent = 0 ) - * ~QAbstractSlider () - */ - -typedef struct -{ - QPointer< QAbstractSlider > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractSlider; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractSlider ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractSlider( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractSlider * p = ( HBQT_GC_T_QAbstractSlider * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractSlider ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractSlider >( ( QAbstractSlider * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractSlider; - p->type = HBQT_TYPE_QAbstractSlider; - - return p; -} - -HB_FUNC( QT_QABSTRACTSLIDER ) -{ - -} - -/* bool hasTracking () const */ -HB_FUNC( QT_QABSTRACTSLIDER_HASTRACKING ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retl( ( p )->hasTracking() ); -} - -/* bool invertedAppearance () const */ -HB_FUNC( QT_QABSTRACTSLIDER_INVERTEDAPPEARANCE ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retl( ( p )->invertedAppearance() ); -} - -/* bool invertedControls () const */ -HB_FUNC( QT_QABSTRACTSLIDER_INVERTEDCONTROLS ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retl( ( p )->invertedControls() ); -} - -/* bool isSliderDown () const */ -HB_FUNC( QT_QABSTRACTSLIDER_ISSLIDERDOWN ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retl( ( p )->isSliderDown() ); -} - -/* int maximum () const */ -HB_FUNC( QT_QABSTRACTSLIDER_MAXIMUM ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( p )->maximum() ); -} - -/* int minimum () const */ -HB_FUNC( QT_QABSTRACTSLIDER_MINIMUM ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( p )->minimum() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QABSTRACTSLIDER_ORIENTATION ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* int pageStep () const */ -HB_FUNC( QT_QABSTRACTSLIDER_PAGESTEP ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( p )->pageStep() ); -} - -/* void setInvertedAppearance ( bool ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETINVERTEDAPPEARANCE ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setInvertedAppearance( hb_parl( 2 ) ); -} - -/* void setInvertedControls ( bool ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETINVERTEDCONTROLS ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setInvertedControls( hb_parl( 2 ) ); -} - -/* void setMaximum ( int ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETMAXIMUM ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setMaximum( hb_parni( 2 ) ); -} - -/* void setMinimum ( int ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETMINIMUM ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setMinimum( hb_parni( 2 ) ); -} - -/* void setPageStep ( int ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETPAGESTEP ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setPageStep( hb_parni( 2 ) ); -} - -/* void setRange ( int min, int max ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETRANGE ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setSingleStep ( int ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETSINGLESTEP ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setSingleStep( hb_parni( 2 ) ); -} - -/* void setSliderDown ( bool ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETSLIDERDOWN ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setSliderDown( hb_parl( 2 ) ); -} - -/* void setSliderPosition ( int ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETSLIDERPOSITION ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setSliderPosition( hb_parni( 2 ) ); -} - -/* void setTracking ( bool enable ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETTRACKING ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setTracking( hb_parl( 2 ) ); -} - -/* int singleStep () const */ -HB_FUNC( QT_QABSTRACTSLIDER_SINGLESTEP ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( p )->singleStep() ); -} - -/* int sliderPosition () const */ -HB_FUNC( QT_QABSTRACTSLIDER_SLIDERPOSITION ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( p )->sliderPosition() ); -} - -/* void triggerAction ( SliderAction action ) */ -HB_FUNC( QT_QABSTRACTSLIDER_TRIGGERACTION ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->triggerAction( ( QAbstractSlider::SliderAction ) hb_parni( 2 ) ); -} - -/* int value () const */ -HB_FUNC( QT_QABSTRACTSLIDER_VALUE ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - hb_retni( ( p )->value() ); -} - -/* void setOrientation ( Qt::Orientation ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETORIENTATION ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* void setValue ( int ) */ -HB_FUNC( QT_QABSTRACTSLIDER_SETVALUE ) -{ - QAbstractSlider * p = hbqt_par_QAbstractSlider( 1 ); - if( p ) - ( p )->setValue( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp deleted file mode 100644 index 795e249888..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractSpinBox.cpp +++ /dev/null @@ -1,299 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ButtonSymbols { UpDownArrows, PlusMinus, NoButtons } - * enum CorrectionMode { CorrectToPreviousValue, CorrectToNearestValue } - * flags StepEnabled - * enum StepEnabledFlag { StepNone, StepUpEnabled, StepDownEnabled } - */ - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // virtual void fixup ( QString & input ) const - * // virtual QValidator::State validate ( QString & input, int & pos ) const - */ - -#include - -#include - - -/* - * QAbstractSpinBox ( QWidget * parent = 0 ) - * ~QAbstractSpinBox () - */ - -typedef struct -{ - QPointer< QAbstractSpinBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractSpinBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractSpinBox ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractSpinBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractSpinBox * p = ( HBQT_GC_T_QAbstractSpinBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractSpinBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractSpinBox >( ( QAbstractSpinBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractSpinBox; - p->type = HBQT_TYPE_QAbstractSpinBox; - - return p; -} - -HB_FUNC( QT_QABSTRACTSPINBOX ) -{ - -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_ALIGNMENT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* ButtonSymbols buttonSymbols () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_BUTTONSYMBOLS ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retni( ( QAbstractSpinBox::ButtonSymbols ) ( p )->buttonSymbols() ); -} - -/* CorrectionMode correctionMode () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_CORRECTIONMODE ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retni( ( QAbstractSpinBox::CorrectionMode ) ( p )->correctionMode() ); -} - -/* bool hasAcceptableInput () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_HASACCEPTABLEINPUT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retl( ( p )->hasAcceptableInput() ); -} - -/* bool hasFrame () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_HASFRAME ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retl( ( p )->hasFrame() ); -} - -/* void interpretText () */ -HB_FUNC( QT_QABSTRACTSPINBOX_INTERPRETTEXT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->interpretText(); -} - -/* bool isAccelerated () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_ISACCELERATED ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retl( ( p )->isAccelerated() ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_ISREADONLY ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* bool keyboardTracking () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_KEYBOARDTRACKING ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retl( ( p )->keyboardTracking() ); -} - -/* void setAccelerated ( bool on ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETACCELERATED ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setAccelerated( hb_parl( 2 ) ); -} - -/* void setAlignment ( Qt::Alignment flag ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETALIGNMENT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setButtonSymbols ( ButtonSymbols bs ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETBUTTONSYMBOLS ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setButtonSymbols( ( QAbstractSpinBox::ButtonSymbols ) hb_parni( 2 ) ); -} - -/* void setCorrectionMode ( CorrectionMode cm ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETCORRECTIONMODE ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setCorrectionMode( ( QAbstractSpinBox::CorrectionMode ) hb_parni( 2 ) ); -} - -/* void setFrame ( bool ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETFRAME ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setFrame( hb_parl( 2 ) ); -} - -/* void setKeyboardTracking ( bool kt ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETKEYBOARDTRACKING ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setKeyboardTracking( hb_parl( 2 ) ); -} - -/* void setReadOnly ( bool r ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETREADONLY ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setSpecialValueText ( const QString & txt ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETSPECIALVALUETEXT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - { - void * pText; - ( p )->setSpecialValueText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWrapping ( bool w ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETWRAPPING ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->setWrapping( hb_parl( 2 ) ); -} - -/* QString specialValueText () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_SPECIALVALUETEXT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->specialValueText().toUtf8().data() ); -} - -/* virtual void stepBy ( int steps ) */ -HB_FUNC( QT_QABSTRACTSPINBOX_STEPBY ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->stepBy( hb_parni( 2 ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_TEXT ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* bool wrapping () const */ -HB_FUNC( QT_QABSTRACTSPINBOX_WRAPPING ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - hb_retl( ( p )->wrapping() ); -} - -/* virtual void clear () */ -HB_FUNC( QT_QABSTRACTSPINBOX_CLEAR ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->clear(); -} - -/* void selectAll () */ -HB_FUNC( QT_QABSTRACTSPINBOX_SELECTALL ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->selectAll(); -} - -/* void stepDown () */ -HB_FUNC( QT_QABSTRACTSPINBOX_STEPDOWN ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->stepDown(); -} - -/* void stepUp () */ -HB_FUNC( QT_QABSTRACTSPINBOX_STEPUP ) -{ - QAbstractSpinBox * p = hbqt_par_QAbstractSpinBox( 1 ); - if( p ) - ( p )->stepUp(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp deleted file mode 100644 index 8fe0852ce6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAbstractTextDocumentLayout.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //virtual void draw ( QPainter * painter, const PaintContext & context ) = 0 - * //QTextObjectInterface * handlerForObject ( int objectType ) const - */ - -#include - -#include - - -/* QAbstractTextDocumentLayout ( QTextDocument * document ) - * - */ - -typedef struct -{ - QPointer< QAbstractTextDocumentLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAbstractTextDocumentLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QAbstractTextDocumentLayout ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QAbstractTextDocumentLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAbstractTextDocumentLayout * p = ( HBQT_GC_T_QAbstractTextDocumentLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAbstractTextDocumentLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAbstractTextDocumentLayout >( ( QAbstractTextDocumentLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAbstractTextDocumentLayout; - p->type = HBQT_TYPE_QAbstractTextDocumentLayout; - - return p; -} - -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT ) -{ - // __HB_RETPTRGC__( new QAbstractTextDocumentLayout( hbqt_par_QTextDocument( 1 ) ) ); -} - -/* QString anchorAt ( const QPointF & position ) const */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_ANCHORAT ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retstr_utf8( ( p )->anchorAt( *hbqt_par_QPointF( 2 ) ).toUtf8().data() ); -} - -/* virtual QRectF blockBoundingRect ( const QTextBlock & block ) const = 0 */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_BLOCKBOUNDINGRECT ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->blockBoundingRect( *hbqt_par_QTextBlock( 2 ) ) ), true ) ); -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_DOCUMENT ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* virtual QSizeF documentSize () const = 0 */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_DOCUMENTSIZE ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->documentSize() ), true ) ); -} - -/* virtual QRectF frameBoundingRect ( QTextFrame * frame ) const = 0 */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_FRAMEBOUNDINGRECT ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->frameBoundingRect( hbqt_par_QTextFrame( 2 ) ) ), true ) ); -} - -/* virtual int hitTest ( const QPointF & point, Qt::HitTestAccuracy accuracy ) const = 0 */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_HITTEST ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retni( ( p )->hitTest( *hbqt_par_QPointF( 2 ), ( Qt::HitTestAccuracy ) hb_parni( 3 ) ) ); -} - -/* virtual int pageCount () const = 0 */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_PAGECOUNT ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retni( ( p )->pageCount() ); -} - -/* QPaintDevice * paintDevice () const */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_PAINTDEVICE ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintDevice( ( p )->paintDevice(), false ) ); -} - -/* void registerHandler ( int objectType, QObject * component ) */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_REGISTERHANDLER ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - ( p )->registerHandler( hb_parni( 2 ), hbqt_par_QObject( 3 ) ); -} - -/* void setPaintDevice ( QPaintDevice * device ) */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT_SETPAINTDEVICE ) -{ - QAbstractTextDocumentLayout * p = hbqt_par_QAbstractTextDocumentLayout( 1 ); - if( p ) - ( p )->setPaintDevice( hbqt_par_QPaintDevice( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QAction.cpp b/harbour/contrib/hbqt/qtgui/g/QAction.cpp deleted file mode 100644 index 01f178989d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QAction.cpp +++ /dev/null @@ -1,527 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ActionEvent { Trigger, Hover } - * enum MenuRole { NoRole, TextHeuristicRole, ApplicationSpecificRole, AboutQtRole, ..., QuitRole } - */ - -/* - * Constructed[ 50/51 [ 98.04% ] ] - * - * *** Unconvered Prototypes *** - * - * void setShortcuts ( const QList & shortcuts ) - * - * *** Commented out protostypes *** - * - * //QList associatedGraphicsWidgets () const - */ - -#include - -#include - - -/* - * QAction ( QObject * parent ) - * QAction ( const QString & text, QObject * parent ) - * QAction ( const QIcon & icon, const QString & text, QObject * parent ) - * ~QAction () - */ - -typedef struct -{ - QPointer< QAction > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QAction; - -HBQT_GC_FUNC( hbqt_gcRelease_QAction ) -{ - HBQT_GC_T_QAction * p = ( HBQT_GC_T_QAction * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QAction * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QAction( void * pObj, bool bNew ) -{ - HBQT_GC_T_QAction * p = ( HBQT_GC_T_QAction * ) hb_gcAllocate( sizeof( HBQT_GC_T_QAction ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QAction >( ( QAction * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QAction; - p->type = HBQT_TYPE_QAction; - - return p; -} - -HB_FUNC( QT_QACTION ) -{ - QAction * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - pObj = new QAction( hbqt_par_QObject( 1 ) ) ; - else if( HB_ISPOINTER( 2 ) ) - pObj = new QAction( hbqt_par_QString( 1 ), hbqt_par_QObject( 2 ) ) ; - else if( HB_ISPOINTER( 3 ) ) - pObj = new QAction( *hbqt_par_QIcon( 1 ), hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QAction( ( void * ) pObj, true ) ); -} - -/* QActionGroup * actionGroup () const */ -HB_FUNC( QT_QACTION_ACTIONGROUP ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QActionGroup( ( p )->actionGroup(), false ) ); -} - -/* void activate ( ActionEvent event ) */ -HB_FUNC( QT_QACTION_ACTIVATE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->activate( ( QAction::ActionEvent ) hb_parni( 2 ) ); -} - -/* QList associatedWidgets () const */ -HB_FUNC( QT_QACTION_ASSOCIATEDWIDGETS ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->associatedWidgets() ), true ) ); -} - -/* bool autoRepeat () const */ -HB_FUNC( QT_QACTION_AUTOREPEAT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->autoRepeat() ); -} - -/* QVariant data () const */ -HB_FUNC( QT_QACTION_DATA ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data() ), true ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QACTION_FONT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QACTION_ICON ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* QString iconText () const */ -HB_FUNC( QT_QACTION_ICONTEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retstr_utf8( ( p )->iconText().toUtf8().data() ); -} - -/* bool isCheckable () const */ -HB_FUNC( QT_QACTION_ISCHECKABLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->isCheckable() ); -} - -/* bool isChecked () const */ -HB_FUNC( QT_QACTION_ISCHECKED ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->isChecked() ); -} - -/* bool isEnabled () const */ -HB_FUNC( QT_QACTION_ISENABLED ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->isEnabled() ); -} - -/* bool isIconVisibleInMenu () const */ -HB_FUNC( QT_QACTION_ISICONVISIBLEINMENU ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->isIconVisibleInMenu() ); -} - -/* bool isSeparator () const */ -HB_FUNC( QT_QACTION_ISSEPARATOR ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->isSeparator() ); -} - -/* bool isVisible () const */ -HB_FUNC( QT_QACTION_ISVISIBLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->isVisible() ); -} - -/* QMenu * menu () const */ -HB_FUNC( QT_QACTION_MENU ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->menu(), false ) ); -} - -/* MenuRole menuRole () const */ -HB_FUNC( QT_QACTION_MENUROLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retni( ( QAction::MenuRole ) ( p )->menuRole() ); -} - -/* QWidget * parentWidget () const */ -HB_FUNC( QT_QACTION_PARENTWIDGET ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->parentWidget(), false ) ); -} - -/* void setActionGroup ( QActionGroup * group ) */ -HB_FUNC( QT_QACTION_SETACTIONGROUP ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setActionGroup( hbqt_par_QActionGroup( 2 ) ); -} - -/* void setAutoRepeat ( bool ) */ -HB_FUNC( QT_QACTION_SETAUTOREPEAT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setAutoRepeat( hb_parl( 2 ) ); -} - -/* void setCheckable ( bool ) */ -HB_FUNC( QT_QACTION_SETCHECKABLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setCheckable( hb_parl( 2 ) ); -} - -/* void setData ( const QVariant & userData ) */ -HB_FUNC( QT_QACTION_SETDATA ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setData( *hbqt_par_QVariant( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QACTION_SETFONT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QACTION_SETICON ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setIconText ( const QString & text ) */ -HB_FUNC( QT_QACTION_SETICONTEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - { - void * pText; - ( p )->setIconText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setIconVisibleInMenu ( bool visible ) */ -HB_FUNC( QT_QACTION_SETICONVISIBLEINMENU ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setIconVisibleInMenu( hb_parl( 2 ) ); -} - -/* void setMenu ( QMenu * menu ) */ -HB_FUNC( QT_QACTION_SETMENU ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setMenu( hbqt_par_QMenu( 2 ) ); -} - -/* void setMenuRole ( MenuRole menuRole ) */ -HB_FUNC( QT_QACTION_SETMENUROLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setMenuRole( ( QAction::MenuRole ) hb_parni( 2 ) ); -} - -/* void setSeparator ( bool b ) */ -HB_FUNC( QT_QACTION_SETSEPARATOR ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setSeparator( hb_parl( 2 ) ); -} - -/* void setShortcut ( const QKeySequence & shortcut ) */ -HB_FUNC( QT_QACTION_SETSHORTCUT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setShortcut( *hbqt_par_QKeySequence( 2 ) ); -} - -/* void setShortcutContext ( Qt::ShortcutContext context ) */ -HB_FUNC( QT_QACTION_SETSHORTCUTCONTEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setShortcutContext( ( Qt::ShortcutContext ) hb_parni( 2 ) ); -} - -/* void setShortcuts ( QKeySequence::StandardKey key ) */ -HB_FUNC( QT_QACTION_SETSHORTCUTS ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setShortcuts( ( QKeySequence::StandardKey ) hb_parni( 2 ) ); -} - -/* void setStatusTip ( const QString & statusTip ) */ -HB_FUNC( QT_QACTION_SETSTATUSTIP ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QACTION_SETTEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setToolTip ( const QString & tip ) */ -HB_FUNC( QT_QACTION_SETTOOLTIP ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWhatsThis ( const QString & what ) */ -HB_FUNC( QT_QACTION_SETWHATSTHIS ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - { - void * pText; - ( p )->setWhatsThis( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QKeySequence shortcut () const */ -HB_FUNC( QT_QACTION_SHORTCUT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QKeySequence( new QKeySequence( ( p )->shortcut() ), true ) ); -} - -/* Qt::ShortcutContext shortcutContext () const */ -HB_FUNC( QT_QACTION_SHORTCUTCONTEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retni( ( Qt::ShortcutContext ) ( p )->shortcutContext() ); -} - -/* QList shortcuts () const */ -HB_FUNC( QT_QACTION_SHORTCUTS ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->shortcuts() ), true ) ); -} - -/* bool showStatusText ( QWidget * widget = 0 ) */ -HB_FUNC( QT_QACTION_SHOWSTATUSTEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retl( ( p )->showStatusText( hbqt_par_QWidget( 2 ) ) ); -} - -/* QString statusTip () const */ -HB_FUNC( QT_QACTION_STATUSTIP ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retstr_utf8( ( p )->statusTip().toUtf8().data() ); -} - -/* QString text () const */ -HB_FUNC( QT_QACTION_TEXT ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QACTION_TOOLTIP ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* QString whatsThis () const */ -HB_FUNC( QT_QACTION_WHATSTHIS ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - hb_retstr_utf8( ( p )->whatsThis().toUtf8().data() ); -} - -/* void hover () */ -HB_FUNC( QT_QACTION_HOVER ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->hover(); -} - -/* void setChecked ( bool ) */ -HB_FUNC( QT_QACTION_SETCHECKED ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setChecked( hb_parl( 2 ) ); -} - -/* void setDisabled ( bool b ) */ -HB_FUNC( QT_QACTION_SETDISABLED ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setDisabled( hb_parl( 2 ) ); -} - -/* void setEnabled ( bool ) */ -HB_FUNC( QT_QACTION_SETENABLED ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setEnabled( hb_parl( 2 ) ); -} - -/* void setVisible ( bool ) */ -HB_FUNC( QT_QACTION_SETVISIBLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* void toggle () */ -HB_FUNC( QT_QACTION_TOGGLE ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->toggle(); -} - -/* void trigger () */ -HB_FUNC( QT_QACTION_TRIGGER ) -{ - QAction * p = hbqt_par_QAction( 1 ); - if( p ) - ( p )->trigger(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp deleted file mode 100644 index 4f9f526e02..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QActionGroup.cpp +++ /dev/null @@ -1,202 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QActionGroup ( QObject * parent ) - * ~QActionGroup () - */ - -typedef struct -{ - QPointer< QActionGroup > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QActionGroup; - -HBQT_GC_FUNC( hbqt_gcRelease_QActionGroup ) -{ - HBQT_GC_T_QActionGroup * p = ( HBQT_GC_T_QActionGroup * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QActionGroup * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QActionGroup( void * pObj, bool bNew ) -{ - HBQT_GC_T_QActionGroup * p = ( HBQT_GC_T_QActionGroup * ) hb_gcAllocate( sizeof( HBQT_GC_T_QActionGroup ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QActionGroup >( ( QActionGroup * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QActionGroup; - p->type = HBQT_TYPE_QActionGroup; - - return p; -} - -HB_FUNC( QT_QACTIONGROUP ) -{ - QActionGroup * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QActionGroup( hbqt_par_QObject( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QActionGroup( ( void * ) pObj, true ) ); -} - -/* QList actions () const */ -HB_FUNC( QT_QACTIONGROUP_ACTIONS ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->actions() ), true ) ); -} - -/* QAction * addAction ( QAction * action ) */ -HB_FUNC( QT_QACTIONGROUP_ADDACTION ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hbqt_par_QAction( 2 ) ), false ) ); -} - -/* QAction * addAction ( const QString & text ) */ -HB_FUNC( QT_QACTIONGROUP_ADDACTION_1 ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QIcon & icon, const QString & text ) */ -HB_FUNC( QT_QACTIONGROUP_ADDACTION_2 ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * checkedAction () const */ -HB_FUNC( QT_QACTIONGROUP_CHECKEDACTION ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->checkedAction(), false ) ); -} - -/* bool isEnabled () const */ -HB_FUNC( QT_QACTIONGROUP_ISENABLED ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - hb_retl( ( p )->isEnabled() ); -} - -/* bool isExclusive () const */ -HB_FUNC( QT_QACTIONGROUP_ISEXCLUSIVE ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - hb_retl( ( p )->isExclusive() ); -} - -/* bool isVisible () const */ -HB_FUNC( QT_QACTIONGROUP_ISVISIBLE ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - hb_retl( ( p )->isVisible() ); -} - -/* void removeAction ( QAction * action ) */ -HB_FUNC( QT_QACTIONGROUP_REMOVEACTION ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - ( p )->removeAction( hbqt_par_QAction( 2 ) ); -} - -/* void setDisabled ( bool b ) */ -HB_FUNC( QT_QACTIONGROUP_SETDISABLED ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - ( p )->setDisabled( hb_parl( 2 ) ); -} - -/* void setEnabled ( bool ) */ -HB_FUNC( QT_QACTIONGROUP_SETENABLED ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - ( p )->setEnabled( hb_parl( 2 ) ); -} - -/* void setExclusive ( bool ) */ -HB_FUNC( QT_QACTIONGROUP_SETEXCLUSIVE ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - ( p )->setExclusive( hb_parl( 2 ) ); -} - -/* void setVisible ( bool ) */ -HB_FUNC( QT_QACTIONGROUP_SETVISIBLE ) -{ - QActionGroup * p = hbqt_par_QActionGroup( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QApplication.cpp b/harbour/contrib/hbqt/qtgui/g/QApplication.cpp deleted file mode 100644 index f8d30ec32a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QApplication.cpp +++ /dev/null @@ -1,731 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ColorSpec { NormalColor, CustomColor, ManyColor } - * enum Type { Tty, GuiClient, GuiServer } - */ - -/* - * Constructed[ 74/74 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QInputContext * inputContext () const - * // virtual bool macEventFilter ( EventHandlerCallRef, EventRef ) - * // virtual bool qwsEventFilter ( QWSEvent * ) - * // int qwsProcessEvent ( QWSEvent * ) - * // void qwsSetCustomColors ( QRgb * colortable, int start, int numColors ) - * // void setInputContext ( QInputContext * inputContext ) - * // QWidgetList allWidgets () - * //bool keypadNavigationEnabled () - * //QDecoration & qwsDecoration () - * //void qwsSetDecoration ( QDecoration * ) - * //QDecoration * qwsSetDecoration ( const QString & decoration ) - * //void setKeypadNavigationEnabled ( bool enable ) - * // QWidgetList topLevelWidgets () - * //int autoMaximizeThreshold () const - * //bool autoSipEnabled () const - * //void setAutoMaximizeThreshold ( const int threshold ) - * //void setAutoSipEnabled ( const bool enabled ) - */ - -#include - -#include "hbapi.h" - -#include -#include -#include -#include -#include -#include -#include - -HB_EXTERN_BEGIN -extern HB_EXPORT QApplication * __hbqtgui_app( void ); -HB_EXTERN_END - -/* - * QApplication ( int & argc, char ** argv ) - * QApplication ( int & argc, char ** argv, bool GUIenabled ) - * QApplication ( int & argc, char ** argv, Type type ) - * QApplication ( Display * display, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 ) - * QApplication ( Display * display, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 ) - * virtual ~QApplication () -*/ - - -HB_FUNC( QT_QAPPLICATION_EXECUTE ) -{ - hb_retni( __hbqtgui_app()->exec() ); -} - -HB_FUNC( QT_QAPPLICATION_QUIT ) -{ - __hbqtgui_app()->quit(); -} - -typedef struct -{ - QPointer< QApplication > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QApplication; - -HBQT_GC_FUNC( hbqt_gcRelease_QApplication ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QApplication( void * pObj, bool bNew ) -{ - HBQT_GC_T_QApplication * p = ( HBQT_GC_T_QApplication * ) hb_gcAllocate( sizeof( HBQT_GC_T_QApplication ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QApplication >( ( QApplication * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QApplication; - p->type = HBQT_TYPE_QApplication; - - return p; -} - -HB_FUNC( QT_QAPPLICATION ) -{ - //__HB_RETPTRGC__( ( QApplication * ) __hbqtgui_app() ); - hb_retptr( __hbqtgui_app() ); -} - -/* virtual void commitData ( QSessionManager & manager ) */ -HB_FUNC( QT_QAPPLICATION_COMMITDATA ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->commitData( *hbqt_par_QSessionManager( 2 ) ); -} - -/* bool isSessionRestored () const */ -HB_FUNC( QT_QAPPLICATION_ISSESSIONRESTORED ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retl( ( p )->isSessionRestored() ); -} - -/* virtual void saveState ( QSessionManager & manager ) */ -HB_FUNC( QT_QAPPLICATION_SAVESTATE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->saveState( *hbqt_par_QSessionManager( 2 ) ); -} - -/* QString sessionId () const */ -HB_FUNC( QT_QAPPLICATION_SESSIONID ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->sessionId().toUtf8().data() ); -} - -/* QString sessionKey () const */ -HB_FUNC( QT_QAPPLICATION_SESSIONKEY ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->sessionKey().toUtf8().data() ); -} - -/* QString styleSheet () const */ -HB_FUNC( QT_QAPPLICATION_STYLESHEET ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retstr_utf8( ( p )->styleSheet().toUtf8().data() ); -} - -/* QWidget * activeModalWidget () */ -HB_FUNC( QT_QAPPLICATION_ACTIVEMODALWIDGET ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->activeModalWidget(), false ) ); -} - -/* QWidget * activePopupWidget () */ -HB_FUNC( QT_QAPPLICATION_ACTIVEPOPUPWIDGET ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->activePopupWidget(), false ) ); -} - -/* QWidget * activeWindow () */ -HB_FUNC( QT_QAPPLICATION_ACTIVEWINDOW ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->activeWindow(), false ) ); -} - -/* void alert ( QWidget * widget, int msec = 0 ) */ -HB_FUNC( QT_QAPPLICATION_ALERT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->alert( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ); -} - -/* void beep () */ -HB_FUNC( QT_QAPPLICATION_BEEP ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->beep(); -} - -/* void changeOverrideCursor ( const QCursor & cursor ) */ -HB_FUNC( QT_QAPPLICATION_CHANGEOVERRIDECURSOR ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->changeOverrideCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* QClipboard * clipboard () */ -HB_FUNC( QT_QAPPLICATION_CLIPBOARD ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QClipboard( ( p )->clipboard(), false ) ); -} - -/* int colorSpec () */ -HB_FUNC( QT_QAPPLICATION_COLORSPEC ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->colorSpec() ); -} - -/* int cursorFlashTime () */ -HB_FUNC( QT_QAPPLICATION_CURSORFLASHTIME ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->cursorFlashTime() ); -} - -/* QDesktopWidget * desktop () */ -HB_FUNC( QT_QAPPLICATION_DESKTOP ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDesktopWidget( ( p )->desktop(), false ) ); -} - -/* bool desktopSettingsAware () */ -HB_FUNC( QT_QAPPLICATION_DESKTOPSETTINGSAWARE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retl( ( p )->desktopSettingsAware() ); -} - -/* int doubleClickInterval () */ -HB_FUNC( QT_QAPPLICATION_DOUBLECLICKINTERVAL ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->doubleClickInterval() ); -} - -/* int exec () */ -HB_FUNC( QT_QAPPLICATION_EXEC ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->exec() ); -} - -/* QWidget * focusWidget () */ -HB_FUNC( QT_QAPPLICATION_FOCUSWIDGET ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->focusWidget(), false ) ); -} - -/* QFont font () */ -HB_FUNC( QT_QAPPLICATION_FONT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QFont font ( const QWidget * widget ) */ -HB_FUNC( QT_QAPPLICATION_FONT_1 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font( hbqt_par_QWidget( 2 ) ) ), true ) ); -} - -/* QFont font ( const char * className ) */ -HB_FUNC( QT_QAPPLICATION_FONT_2 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - -/* QFontMetrics fontMetrics () */ -HB_FUNC( QT_QAPPLICATION_FONTMETRICS ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFontMetrics( new QFontMetrics( ( p )->fontMetrics() ), true ) ); -} - -/* QSize globalStrut () */ -HB_FUNC( QT_QAPPLICATION_GLOBALSTRUT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->globalStrut() ), true ) ); -} - -/* bool isEffectEnabled ( Qt::UIEffect effect ) */ -HB_FUNC( QT_QAPPLICATION_ISEFFECTENABLED ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retl( ( p )->isEffectEnabled( ( Qt::UIEffect ) hb_parni( 2 ) ) ); -} - -/* bool isLeftToRight () */ -HB_FUNC( QT_QAPPLICATION_ISLEFTTORIGHT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retl( ( p )->isLeftToRight() ); -} - -/* bool isRightToLeft () */ -HB_FUNC( QT_QAPPLICATION_ISRIGHTTOLEFT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retl( ( p )->isRightToLeft() ); -} - -/* Qt::LayoutDirection keyboardInputDirection () */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDINPUTDIRECTION ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->keyboardInputDirection() ); -} - -/* int keyboardInputInterval () */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDINPUTINTERVAL ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->keyboardInputInterval() ); -} - -/* QLocale keyboardInputLocale () */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDINPUTLOCALE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->keyboardInputLocale() ), true ) ); -} - -/* Qt::KeyboardModifiers keyboardModifiers () */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDMODIFIERS ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->keyboardModifiers() ); -} - -/* Qt::LayoutDirection layoutDirection () */ -HB_FUNC( QT_QAPPLICATION_LAYOUTDIRECTION ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() ); -} - -/* Qt::MouseButtons mouseButtons () */ -HB_FUNC( QT_QAPPLICATION_MOUSEBUTTONS ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->mouseButtons() ); -} - -/* QCursor * overrideCursor () */ -HB_FUNC( QT_QAPPLICATION_OVERRIDECURSOR ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCursor( ( p )->overrideCursor(), false ) ); -} - -/* QPalette palette () */ -HB_FUNC( QT_QAPPLICATION_PALETTE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); -} - -/* QPalette palette ( const QWidget * widget ) */ -HB_FUNC( QT_QAPPLICATION_PALETTE_1 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette( hbqt_par_QWidget( 2 ) ) ), true ) ); -} - -/* QPalette palette ( const char * className ) */ -HB_FUNC( QT_QAPPLICATION_PALETTE_2 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette( ( const char * ) hb_parc( 2 ) ) ), true ) ); -} - -/* bool quitOnLastWindowClosed () */ -HB_FUNC( QT_QAPPLICATION_QUITONLASTWINDOWCLOSED ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retl( ( p )->quitOnLastWindowClosed() ); -} - -/* void restoreOverrideCursor () */ -HB_FUNC( QT_QAPPLICATION_RESTOREOVERRIDECURSOR ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->restoreOverrideCursor(); -} - -/* void setActiveWindow ( QWidget * active ) */ -HB_FUNC( QT_QAPPLICATION_SETACTIVEWINDOW ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setActiveWindow( hbqt_par_QWidget( 2 ) ); -} - -/* void setColorSpec ( int spec ) */ -HB_FUNC( QT_QAPPLICATION_SETCOLORSPEC ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setColorSpec( hb_parni( 2 ) ); -} - -/* void setCursorFlashTime ( int ) */ -HB_FUNC( QT_QAPPLICATION_SETCURSORFLASHTIME ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setCursorFlashTime( hb_parni( 2 ) ); -} - -/* void setDesktopSettingsAware ( bool on ) */ -HB_FUNC( QT_QAPPLICATION_SETDESKTOPSETTINGSAWARE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setDesktopSettingsAware( hb_parl( 2 ) ); -} - -/* void setDoubleClickInterval ( int ) */ -HB_FUNC( QT_QAPPLICATION_SETDOUBLECLICKINTERVAL ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setDoubleClickInterval( hb_parni( 2 ) ); -} - -/* void setEffectEnabled ( Qt::UIEffect effect, bool enable = true ) */ -HB_FUNC( QT_QAPPLICATION_SETEFFECTENABLED ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setEffectEnabled( ( Qt::UIEffect ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setFont ( const QFont & font, const char * className = 0 ) */ -HB_FUNC( QT_QAPPLICATION_SETFONT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* void setGlobalStrut ( const QSize & ) */ -HB_FUNC( QT_QAPPLICATION_SETGLOBALSTRUT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setGlobalStrut( *hbqt_par_QSize( 2 ) ); -} - -/* void setGraphicsSystem ( const QString & system ) */ -HB_FUNC( QT_QAPPLICATION_SETGRAPHICSSYSTEM ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - { - void * pText; - ( p )->setGraphicsSystem( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setKeyboardInputInterval ( int ) */ -HB_FUNC( QT_QAPPLICATION_SETKEYBOARDINPUTINTERVAL ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setKeyboardInputInterval( hb_parni( 2 ) ); -} - -/* void setLayoutDirection ( Qt::LayoutDirection direction ) */ -HB_FUNC( QT_QAPPLICATION_SETLAYOUTDIRECTION ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* void setOverrideCursor ( const QCursor & cursor ) */ -HB_FUNC( QT_QAPPLICATION_SETOVERRIDECURSOR ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setOverrideCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* void setPalette ( const QPalette & palette, const char * className = 0 ) */ -HB_FUNC( QT_QAPPLICATION_SETPALETTE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setPalette( *hbqt_par_QPalette( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* void setQuitOnLastWindowClosed ( bool quit ) */ -HB_FUNC( QT_QAPPLICATION_SETQUITONLASTWINDOWCLOSED ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setQuitOnLastWindowClosed( hb_parl( 2 ) ); -} - -/* void setStartDragDistance ( int l ) */ -HB_FUNC( QT_QAPPLICATION_SETSTARTDRAGDISTANCE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setStartDragDistance( hb_parni( 2 ) ); -} - -/* void setStartDragTime ( int ms ) */ -HB_FUNC( QT_QAPPLICATION_SETSTARTDRAGTIME ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setStartDragTime( hb_parni( 2 ) ); -} - -/* void setStyle ( QStyle * style ) */ -HB_FUNC( QT_QAPPLICATION_SETSTYLE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setStyle( hbqt_par_QStyle( 2 ) ); -} - -/* QStyle * setStyle ( const QString & style ) */ -HB_FUNC( QT_QAPPLICATION_SETSTYLE_1 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->setStyle( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* void setWheelScrollLines ( int ) */ -HB_FUNC( QT_QAPPLICATION_SETWHEELSCROLLLINES ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setWheelScrollLines( hb_parni( 2 ) ); -} - -/* void setWindowIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QAPPLICATION_SETWINDOWICON ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->setWindowIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* int startDragDistance () */ -HB_FUNC( QT_QAPPLICATION_STARTDRAGDISTANCE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->startDragDistance() ); -} - -/* int startDragTime () */ -HB_FUNC( QT_QAPPLICATION_STARTDRAGTIME ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->startDragTime() ); -} - -/* QStyle * style () */ -HB_FUNC( QT_QAPPLICATION_STYLE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) ); -} - -/* void syncX () */ -HB_FUNC( QT_QAPPLICATION_SYNCX ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->syncX(); -} - -/* QWidget * topLevelAt ( const QPoint & point ) */ -HB_FUNC( QT_QAPPLICATION_TOPLEVELAT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->topLevelAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QWidget * topLevelAt ( int x, int y ) */ -HB_FUNC( QT_QAPPLICATION_TOPLEVELAT_1 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->topLevelAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* Type type () */ -HB_FUNC( QT_QAPPLICATION_TYPE ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( QApplication::Type ) ( p )->type() ); -} - -/* int wheelScrollLines () */ -HB_FUNC( QT_QAPPLICATION_WHEELSCROLLLINES ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retni( ( p )->wheelScrollLines() ); -} - -/* QWidget * widgetAt ( const QPoint & point ) */ -HB_FUNC( QT_QAPPLICATION_WIDGETAT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widgetAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QWidget * widgetAt ( int x, int y ) */ -HB_FUNC( QT_QAPPLICATION_WIDGETAT_1 ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widgetAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QIcon windowIcon () */ -HB_FUNC( QT_QAPPLICATION_WINDOWICON ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->windowIcon() ), true ) ); -} - -/* void aboutQt () */ -HB_FUNC( QT_QAPPLICATION_ABOUTQT ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->aboutQt(); -} - -/* void closeAllWindows () */ -HB_FUNC( QT_QAPPLICATION_CLOSEALLWINDOWS ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - ( p )->closeAllWindows(); -} - -/* void setStyleSheet ( const QString & sheet ) */ -HB_FUNC( QT_QAPPLICATION_SETSTYLESHEET ) -{ - QApplication * p = hbqt_par_QApplication( 1 ); - if( p ) - { - void * pText; - ( p )->setStyleSheet( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp b/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp deleted file mode 100644 index 8c3b36837d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QBitmap.cpp +++ /dev/null @@ -1,189 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QBitmap fromData ( const QSize & size, const uchar * bits, QImage::Format monoFormat = QImage::Format_MonoLSB ) - */ - -#include - -#include - - -/* - * QBitmap () - * QBitmap ( const QPixmap & pixmap ) - * QBitmap ( int width, int height ) - * QBitmap ( const QSize & size ) - * QBitmap ( const QString & fileName, const char * format = 0 ) - * ~QBitmap () - */ - -typedef struct -{ - QBitmap * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QBitmap; - -HBQT_GC_FUNC( hbqt_gcRelease_QBitmap ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QBitmap * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QBitmap( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QBitmap * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QBitmap; - p->type = HBQT_TYPE_QBitmap; - - return p; -} - -HB_FUNC( QT_QBITMAP ) -{ - QBitmap * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QBitmap( *hbqt_par_QBitmap( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QBitmap( hbqt_par_QString( 1 ), ( const char * ) 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - pObj = new QBitmap( hbqt_par_QString( 1 ), hb_parc( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QBitmap( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( ( QString ) "QPixmap" == hbqt_par_QString( 1 ) ) - { - pObj = new QBitmap( *hbqt_par_QPixmap( 2 ) ) ; - } - else if( ( QString ) "QSize" == hbqt_par_QString( 1 ) ) - { - pObj = new QBitmap( *hbqt_par_QSize( 2 ) ) ; - } - else - { - pObj = new QBitmap() ; - } - } - else - { - pObj = new QBitmap() ; - } - - hb_retptrGC( hbqt_gcAllocate_QBitmap( ( void * ) pObj, true ) ); -} - -/* QBitmap () */ -HB_FUNC( QT_QBITMAP_QBITMAP ) -{ - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap(), true ) ); -} - -/* QBitmap ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QBITMAP_QBITMAP_1 ) -{ - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( *hbqt_par_QPixmap( 2 ) ), true ) ); -} - -/* QBitmap ( int width, int height ) */ -HB_FUNC( QT_QBITMAP_QBITMAP_2 ) -{ - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( hb_parni( 2 ), hb_parni( 3 ) ), true ) ); -} - -/* QBitmap ( const QSize & size ) */ -HB_FUNC( QT_QBITMAP_QBITMAP_3 ) -{ - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( *hbqt_par_QSize( 2 ) ), true ) ); -} - -/* QBitmap ( const QString & fileName, const char * format = 0 ) */ -HB_FUNC( QT_QBITMAP_QBITMAP_4 ) -{ - void * pText; - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ) ), true ) ); - hb_strfree( pText ); -} - -/* void clear () */ -HB_FUNC( QT_QBITMAP_CLEAR ) -{ - QBitmap * p = hbqt_par_QBitmap( 1 ); - if( p ) - ( p )->clear(); -} - -/* QBitmap transformed ( const QTransform & matrix ) const */ -HB_FUNC( QT_QBITMAP_TRANSFORMED ) -{ - QBitmap * p = hbqt_par_QBitmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->transformed( *hbqt_par_QTransform( 2 ) ) ), true ) ); -} - -/* QBitmap transformed ( const QMatrix & matrix ) const */ -HB_FUNC( QT_QBITMAP_TRANSFORMED_1 ) -{ - QBitmap * p = hbqt_par_QBitmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->transformed( *hbqt_par_QMatrix( 2 ) ) ), true ) ); -} - -/* QBitmap fromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) */ -HB_FUNC( QT_QBITMAP_FROMIMAGE ) -{ - QBitmap * p = hbqt_par_QBitmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->fromImage( *hbqt_par_QImage( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ImageConversionFlags ) hb_parni( 3 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp deleted file mode 100644 index cda682ba0a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QBoxLayout.cpp +++ /dev/null @@ -1,261 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Direction { LeftToRight, RightToLeft, TopToBottom, BottomToTop } - */ - -/* - * Constructed[ 20/20 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QBoxLayout ( Direction dir, QWidget * parent = 0 ) - * ~QBoxLayout () - */ - -typedef struct -{ - QPointer< QBoxLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QBoxLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QBoxLayout ) -{ - HBQT_GC_T_QBoxLayout * p = ( HBQT_GC_T_QBoxLayout * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QBoxLayout * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QBoxLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QBoxLayout * p = ( HBQT_GC_T_QBoxLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QBoxLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QBoxLayout >( ( QBoxLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QBoxLayout; - p->type = HBQT_TYPE_QBoxLayout; - - return p; -} - -HB_FUNC( QT_QBOXLAYOUT ) -{ - QBoxLayout * pObj = NULL; - - pObj = new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QBoxLayout( ( void * ) pObj, true ) ); -} - -/* void addLayout ( QLayout * layout, int stretch = 0 ) [*D=1*] */ -HB_FUNC( QT_QBOXLAYOUT_ADDLAYOUT ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ) ); - } -} - -/* void addSpacerItem ( QSpacerItem * spacerItem ) [*D=1*] */ -HB_FUNC( QT_QBOXLAYOUT_ADDSPACERITEM ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addSpacerItem( hbqt_par_QSpacerItem( 2 ) ); - } -} - -/* void addSpacing ( int size ) */ -HB_FUNC( QT_QBOXLAYOUT_ADDSPACING ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->addSpacing( hb_parni( 2 ) ); -} - -/* void addStretch ( int stretch = 0 ) */ -HB_FUNC( QT_QBOXLAYOUT_ADDSTRETCH ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->addStretch( hb_parni( 2 ) ); -} - -/* void addStrut ( int size ) */ -HB_FUNC( QT_QBOXLAYOUT_ADDSTRUT ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->addStrut( hb_parni( 2 ) ); -} - -/* void addWidget ( QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) [*D=1*] */ -HB_FUNC( QT_QBOXLAYOUT_ADDWIDGET ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), ( Qt::Alignment ) hb_parni( 4 ) ); - } -} - -/* Direction direction () const */ -HB_FUNC( QT_QBOXLAYOUT_DIRECTION ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - hb_retni( ( QBoxLayout::Direction ) ( p )->direction() ); -} - -/* void insertLayout ( int index, QLayout * layout, int stretch = 0 ) */ -HB_FUNC( QT_QBOXLAYOUT_INSERTLAYOUT ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->insertLayout( hb_parni( 2 ), hbqt_par_QLayout( 3 ), hb_parni( 4 ) ); -} - -/* void insertSpacerItem ( int index, QSpacerItem * spacerItem ) */ -HB_FUNC( QT_QBOXLAYOUT_INSERTSPACERITEM ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->insertSpacerItem( hb_parni( 2 ), hbqt_par_QSpacerItem( 3 ) ); -} - -/* void insertSpacing ( int index, int size ) */ -HB_FUNC( QT_QBOXLAYOUT_INSERTSPACING ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->insertSpacing( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void insertStretch ( int index, int stretch = 0 ) */ -HB_FUNC( QT_QBOXLAYOUT_INSERTSTRETCH ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->insertStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void insertWidget ( int index, QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) */ -HB_FUNC( QT_QBOXLAYOUT_INSERTWIDGET ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); -} - -/* virtual void invalidate () */ -HB_FUNC( QT_QBOXLAYOUT_INVALIDATE ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->invalidate(); -} - -/* void setDirection ( Direction direction ) */ -HB_FUNC( QT_QBOXLAYOUT_SETDIRECTION ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->setDirection( ( QBoxLayout::Direction ) hb_parni( 2 ) ); -} - -/* void setSpacing ( int spacing ) */ -HB_FUNC( QT_QBOXLAYOUT_SETSPACING ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->setSpacing( hb_parni( 2 ) ); -} - -/* void setStretch ( int index, int stretch ) */ -HB_FUNC( QT_QBOXLAYOUT_SETSTRETCH ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - ( p )->setStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* bool setStretchFactor ( QWidget * widget, int stretch ) */ -HB_FUNC( QT_QBOXLAYOUT_SETSTRETCHFACTOR ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - hb_retl( ( p )->setStretchFactor( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ) ); -} - -/* bool setStretchFactor ( QLayout * layout, int stretch ) */ -HB_FUNC( QT_QBOXLAYOUT_SETSTRETCHFACTOR_1 ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - hb_retl( ( p )->setStretchFactor( hbqt_par_QLayout( 2 ), hb_parni( 3 ) ) ); -} - -/* int spacing () const */ -HB_FUNC( QT_QBOXLAYOUT_SPACING ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - hb_retni( ( p )->spacing() ); -} - -/* int stretch ( int index ) const */ -HB_FUNC( QT_QBOXLAYOUT_STRETCH ) -{ - QBoxLayout * p = hbqt_par_QBoxLayout( 1 ); - if( p ) - hb_retni( ( p )->stretch( hb_parni( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QBrush.cpp b/harbour/contrib/hbqt/qtgui/g/QBrush.cpp deleted file mode 100644 index 54353e4610..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QBrush.cpp +++ /dev/null @@ -1,291 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 15/15 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QBrush () - * QBrush ( Qt::BrushStyle style ) - * QBrush ( const QColor & color, Qt::BrushStyle style = Qt::SolidPattern ) - * QBrush ( Qt::GlobalColor color, Qt::BrushStyle style = Qt::SolidPattern ) - * QBrush ( const QColor & color, const QPixmap & pixmap ) - * QBrush ( Qt::GlobalColor color, const QPixmap & pixmap ) - * QBrush ( const QPixmap & pixmap ) - * QBrush ( const QImage & image ) - * QBrush ( const QBrush & other ) - * QBrush ( const QGradient & gradient ) - * ~QBrush () - */ - -typedef struct -{ - QBrush * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QBrush; - -HBQT_GC_FUNC( hbqt_gcRelease_QBrush ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QBrush * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QBrush( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QBrush * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QBrush; - p->type = HBQT_TYPE_QBrush; - - return p; -} - -HB_FUNC( QT_QBRUSH ) -{ - QBrush * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( q ) - { - if( q->type == HBQT_TYPE_QBrush ) - { - pObj = new QBrush( *hbqt_par_QBrush( 1 ) ) ; - } - else if( q->type == HBQT_TYPE_QPixmap ) - { - pObj = new QBrush( *hbqt_par_QPixmap( 1 ) ) ; - } - else if( q->type == HBQT_TYPE_QImage ) - { - pObj = new QBrush( *hbqt_par_QImage( 1 ) ) ; - } - else if( q->type == HBQT_TYPE_QGradient ) - { - pObj = new QBrush( *hbqt_par_QGradient( 1 ) ) ; - } - else if( q->type == HBQT_TYPE_QColor ) - { - pObj = new QBrush( *hbqt_par_QColor( 1 ), Qt::SolidPattern ) ; - } - } - else - { - pObj = new QBrush( *hbqt_par_QBrush( 1 ) ) ; - } - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), Qt::SolidPattern ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), ( Qt::BrushStyle ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QBrush( *hbqt_par_QColor( 1 ), ( Qt::BrushStyle ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QBrush( *hbqt_par_QColor( 1 ), *hbqt_par_QPixmap( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), *hbqt_par_QPixmap( 2 ) ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QPixmap" ) - { - pObj = new QBrush( *hbqt_par_QPixmap( 2 ) ) ; - } - else if( objName == ( QString ) "QImage" ) - { - pObj = new QBrush( *hbqt_par_QImage( 2 ) ) ; - } - else if( objName == ( QString ) "QGradient" ) - { - pObj = new QBrush( *hbqt_par_QGradient( 2 ) ) ; - } - else if( objName == ( QString ) "QColor" ) - { - pObj = new QBrush( *hbqt_par_QColor( 2 ), HB_ISNUM( 3 ) ? ( Qt::BrushStyle ) hb_parni( 3 ) : Qt::SolidPattern ) ; - } - else - { - pObj = new QBrush() ; - } - } - else - { - pObj = new QBrush() ; - } - - hb_retptrGC( hbqt_gcAllocate_QBrush( ( void * ) pObj, true ) ); -} - -/* const QColor & color () const */ -HB_FUNC( QT_QBRUSH_COLOR ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color() ), true ) ); -} - -/* const QGradient * gradient () const */ -HB_FUNC( QT_QBRUSH_GRADIENT ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGradient( new QGradient( *( ( p )->gradient() ) ), true ) ); -} - -/* bool isOpaque () const */ -HB_FUNC( QT_QBRUSH_ISOPAQUE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retl( ( p )->isOpaque() ); -} - -/* const QMatrix & matrix () const */ -HB_FUNC( QT_QBRUSH_MATRIX ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->matrix() ), true ) ); -} - -/* void setColor ( const QColor & color ) */ -HB_FUNC( QT_QBRUSH_SETCOLOR ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setColor ( Qt::GlobalColor color ) */ -HB_FUNC( QT_QBRUSH_SETCOLOR_1 ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setColor( ( Qt::GlobalColor ) hb_parni( 2 ) ); -} - -/* void setMatrix ( const QMatrix & matrix ) */ -HB_FUNC( QT_QBRUSH_SETMATRIX ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setMatrix( *hbqt_par_QMatrix( 2 ) ); -} - -/* void setStyle ( Qt::BrushStyle style ) */ -HB_FUNC( QT_QBRUSH_SETSTYLE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setStyle( ( Qt::BrushStyle ) hb_parni( 2 ) ); -} - -/* void setTexture ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QBRUSH_SETTEXTURE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setTexture( *hbqt_par_QPixmap( 2 ) ); -} - -/* void setTextureImage ( const QImage & image ) */ -HB_FUNC( QT_QBRUSH_SETTEXTUREIMAGE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setTextureImage( *hbqt_par_QImage( 2 ) ); -} - -/* void setTransform ( const QTransform & matrix ) */ -HB_FUNC( QT_QBRUSH_SETTRANSFORM ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - ( p )->setTransform( *hbqt_par_QTransform( 2 ) ); -} - -/* Qt::BrushStyle style () const */ -HB_FUNC( QT_QBRUSH_STYLE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retni( ( Qt::BrushStyle ) ( p )->style() ); -} - -/* QPixmap texture () const */ -HB_FUNC( QT_QBRUSH_TEXTURE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->texture() ), true ) ); -} - -/* QImage textureImage () const */ -HB_FUNC( QT_QBRUSH_TEXTUREIMAGE ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->textureImage() ), true ) ); -} - -/* QTransform transform () const */ -HB_FUNC( QT_QBRUSH_TRANSFORM ) -{ - QBrush * p = hbqt_par_QBrush( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->transform() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp deleted file mode 100644 index ab9f2dbbe2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QButtonGroup.cpp +++ /dev/null @@ -1,183 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 11/11 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QButtonGroup ( QObject * parent = 0 ) - * ~QButtonGroup () - */ - -typedef struct -{ - QPointer< QButtonGroup > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QButtonGroup; - -HBQT_GC_FUNC( hbqt_gcRelease_QButtonGroup ) -{ - HBQT_GC_T_QButtonGroup * p = ( HBQT_GC_T_QButtonGroup * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QButtonGroup * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QButtonGroup( void * pObj, bool bNew ) -{ - HBQT_GC_T_QButtonGroup * p = ( HBQT_GC_T_QButtonGroup * ) hb_gcAllocate( sizeof( HBQT_GC_T_QButtonGroup ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QButtonGroup >( ( QButtonGroup * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QButtonGroup; - p->type = HBQT_TYPE_QButtonGroup; - - return p; -} - -HB_FUNC( QT_QBUTTONGROUP ) -{ - QButtonGroup * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QButtonGroup( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QButtonGroup() ; - } - - hb_retptrGC( hbqt_gcAllocate_QButtonGroup( ( void * ) pObj, true ) ); -} - -/* void addButton ( QAbstractButton * button ) */ -HB_FUNC( QT_QBUTTONGROUP_ADDBUTTON ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - ( p )->addButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* void addButton ( QAbstractButton * button, int id ) */ -HB_FUNC( QT_QBUTTONGROUP_ADDBUTTON_1 ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - ( p )->addButton( hbqt_par_QAbstractButton( 2 ), hb_parni( 3 ) ); -} - -/* QAbstractButton * button ( int id ) const */ -HB_FUNC( QT_QBUTTONGROUP_BUTTON ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractButton( ( p )->button( hb_parni( 2 ) ), false ) ); -} - -/* QList buttons () const */ -HB_FUNC( QT_QBUTTONGROUP_BUTTONS ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->buttons() ), true ) ); -} - -/* QAbstractButton * checkedButton () const */ -HB_FUNC( QT_QBUTTONGROUP_CHECKEDBUTTON ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractButton( ( p )->checkedButton(), false ) ); -} - -/* int checkedId () const */ -HB_FUNC( QT_QBUTTONGROUP_CHECKEDID ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - hb_retni( ( p )->checkedId() ); -} - -/* bool exclusive () const */ -HB_FUNC( QT_QBUTTONGROUP_EXCLUSIVE ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - hb_retl( ( p )->exclusive() ); -} - -/* int id ( QAbstractButton * button ) const */ -HB_FUNC( QT_QBUTTONGROUP_ID ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - hb_retni( ( p )->id( hbqt_par_QAbstractButton( 2 ) ) ); -} - -/* void removeButton ( QAbstractButton * button ) */ -HB_FUNC( QT_QBUTTONGROUP_REMOVEBUTTON ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - ( p )->removeButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* void setExclusive ( bool ) */ -HB_FUNC( QT_QBUTTONGROUP_SETEXCLUSIVE ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - ( p )->setExclusive( hb_parl( 2 ) ); -} - -/* void setId ( QAbstractButton * button, int id ) */ -HB_FUNC( QT_QBUTTONGROUP_SETID ) -{ - QButtonGroup * p = hbqt_par_QButtonGroup( 1 ); - if( p ) - ( p )->setId( hbqt_par_QAbstractButton( 2 ), hb_parni( 3 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp deleted file mode 100644 index e6e4bfee15..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QCalendarWidget.cpp +++ /dev/null @@ -1,401 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum HorizontalHeaderFormat { SingleLetterDayNames, ShortDayNames, LongDayNames, NoHorizontalHeader } - * enum SelectionMode { NoSelection, SingleSelection } - * enum VerticalHeaderFormat { ISOWeekNumbers, NoVerticalHeader } - */ - -/* - * Constructed[ 38/39 [ 97.44% ] ] - * - * *** Unconvered Prototypes *** - * - * QMap dateTextFormat () const - */ - -#include - -#include -#include - -/* - * QCalendarWidget ( QWidget * parent = 0 ) - * ~QCalendarWidget () - */ - -typedef struct -{ - QPointer< QCalendarWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCalendarWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QCalendarWidget ) -{ - HBQT_GC_T_QCalendarWidget * p = ( HBQT_GC_T_QCalendarWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QCalendarWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QCalendarWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QCalendarWidget * p = ( HBQT_GC_T_QCalendarWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QCalendarWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QCalendarWidget >( ( QCalendarWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QCalendarWidget; - p->type = HBQT_TYPE_QCalendarWidget; - - return p; -} - -HB_FUNC( QT_QCALENDARWIDGET ) -{ - QCalendarWidget * pObj = NULL; - - pObj = new QCalendarWidget( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QCalendarWidget( ( void * ) pObj, true ) ); -} - -/* int dateEditAcceptDelay () const */ -HB_FUNC( QT_QCALENDARWIDGET_DATEEDITACCEPTDELAY ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( p )->dateEditAcceptDelay() ); -} - -/* QTextCharFormat dateTextFormat ( const QDate & date ) const */ -HB_FUNC( QT_QCALENDARWIDGET_DATETEXTFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->dateTextFormat( *hbqt_par_QDate( 2 ) ) ), true ) ); -} - -/* Qt::DayOfWeek firstDayOfWeek () const */ -HB_FUNC( QT_QCALENDARWIDGET_FIRSTDAYOFWEEK ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( Qt::DayOfWeek ) ( p )->firstDayOfWeek() ); -} - -/* QTextCharFormat headerTextFormat () const */ -HB_FUNC( QT_QCALENDARWIDGET_HEADERTEXTFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->headerTextFormat() ), true ) ); -} - -/* HorizontalHeaderFormat horizontalHeaderFormat () const */ -HB_FUNC( QT_QCALENDARWIDGET_HORIZONTALHEADERFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( QCalendarWidget::HorizontalHeaderFormat ) ( p )->horizontalHeaderFormat() ); -} - -/* bool isDateEditEnabled () const */ -HB_FUNC( QT_QCALENDARWIDGET_ISDATEEDITENABLED ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retl( ( p )->isDateEditEnabled() ); -} - -/* bool isGridVisible () const */ -HB_FUNC( QT_QCALENDARWIDGET_ISGRIDVISIBLE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retl( ( p )->isGridVisible() ); -} - -/* bool isNavigationBarVisible () const */ -HB_FUNC( QT_QCALENDARWIDGET_ISNAVIGATIONBARVISIBLE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retl( ( p )->isNavigationBarVisible() ); -} - -/* QDate maximumDate () const */ -HB_FUNC( QT_QCALENDARWIDGET_MAXIMUMDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->maximumDate() ), true ) ); -} - -/* QDate minimumDate () const */ -HB_FUNC( QT_QCALENDARWIDGET_MINIMUMDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->minimumDate() ), true ) ); -} - -/* int monthShown () const */ -HB_FUNC( QT_QCALENDARWIDGET_MONTHSHOWN ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( p )->monthShown() ); -} - -/* QDate selectedDate () const */ -HB_FUNC( QT_QCALENDARWIDGET_SELECTEDDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->selectedDate() ), true ) ); -} - -/* SelectionMode selectionMode () const */ -HB_FUNC( QT_QCALENDARWIDGET_SELECTIONMODE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( QCalendarWidget::SelectionMode ) ( p )->selectionMode() ); -} - -/* void setDateEditAcceptDelay ( int delay ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITACCEPTDELAY ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setDateEditAcceptDelay( hb_parni( 2 ) ); -} - -/* void setDateEditEnabled ( bool enable ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITENABLED ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setDateEditEnabled( hb_parl( 2 ) ); -} - -/* void setDateTextFormat ( const QDate & date, const QTextCharFormat & format ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATETEXTFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setDateTextFormat( *hbqt_par_QDate( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* void setFirstDayOfWeek ( Qt::DayOfWeek dayOfWeek ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETFIRSTDAYOFWEEK ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setFirstDayOfWeek( ( Qt::DayOfWeek ) hb_parni( 2 ) ); -} - -/* void setHeaderTextFormat ( const QTextCharFormat & format ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETHEADERTEXTFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setHeaderTextFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void setHorizontalHeaderFormat ( HorizontalHeaderFormat format ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETHORIZONTALHEADERFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setHorizontalHeaderFormat( ( QCalendarWidget::HorizontalHeaderFormat ) hb_parni( 2 ) ); -} - -/* void setMaximumDate ( const QDate & date ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETMAXIMUMDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setMaximumDate( *hbqt_par_QDate( 2 ) ); -} - -/* void setMinimumDate ( const QDate & date ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETMINIMUMDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setMinimumDate( *hbqt_par_QDate( 2 ) ); -} - -/* void setSelectionMode ( SelectionMode mode ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETSELECTIONMODE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setSelectionMode( ( QCalendarWidget::SelectionMode ) hb_parni( 2 ) ); -} - -/* void setVerticalHeaderFormat ( VerticalHeaderFormat format ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETVERTICALHEADERFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setVerticalHeaderFormat( ( QCalendarWidget::VerticalHeaderFormat ) hb_parni( 2 ) ); -} - -/* void setWeekdayTextFormat ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETWEEKDAYTEXTFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setWeekdayTextFormat( ( Qt::DayOfWeek ) hb_parni( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* VerticalHeaderFormat verticalHeaderFormat () const */ -HB_FUNC( QT_QCALENDARWIDGET_VERTICALHEADERFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( QCalendarWidget::VerticalHeaderFormat ) ( p )->verticalHeaderFormat() ); -} - -/* QTextCharFormat weekdayTextFormat ( Qt::DayOfWeek dayOfWeek ) const */ -HB_FUNC( QT_QCALENDARWIDGET_WEEKDAYTEXTFORMAT ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->weekdayTextFormat( ( Qt::DayOfWeek ) hb_parni( 2 ) ) ), true ) ); -} - -/* int yearShown () const */ -HB_FUNC( QT_QCALENDARWIDGET_YEARSHOWN ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - hb_retni( ( p )->yearShown() ); -} - -/* void setCurrentPage ( int year, int month ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETCURRENTPAGE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setCurrentPage( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setDateRange ( const QDate & min, const QDate & max ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATERANGE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setDateRange( *hbqt_par_QDate( 2 ), *hbqt_par_QDate( 3 ) ); -} - -/* void setGridVisible ( bool show ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETGRIDVISIBLE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setGridVisible( hb_parl( 2 ) ); -} - -/* void setNavigationBarVisible ( bool visible ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETNAVIGATIONBARVISIBLE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setNavigationBarVisible( hb_parl( 2 ) ); -} - -/* void setSelectedDate ( const QDate & date ) */ -HB_FUNC( QT_QCALENDARWIDGET_SETSELECTEDDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->setSelectedDate( *hbqt_par_QDate( 2 ) ); -} - -/* void showNextMonth () */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTMONTH ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->showNextMonth(); -} - -/* void showNextYear () */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTYEAR ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->showNextYear(); -} - -/* void showPreviousMonth () */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSMONTH ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->showPreviousMonth(); -} - -/* void showPreviousYear () */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSYEAR ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->showPreviousYear(); -} - -/* void showSelectedDate () */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWSELECTEDDATE ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->showSelectedDate(); -} - -/* void showToday () */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWTODAY ) -{ - QCalendarWidget * p = hbqt_par_QCalendarWidget( 1 ); - if( p ) - ( p )->showToday(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp b/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp deleted file mode 100644 index 2dd0422241..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QCheckBox.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QCheckBox ( QWidget * parent = 0 ) - * QCheckBox ( const QString & text, QWidget * parent = 0 ) - * ~QCheckBox () - */ - -typedef struct -{ - QPointer< QCheckBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCheckBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QCheckBox ) -{ - HBQT_GC_T_QCheckBox * p = ( HBQT_GC_T_QCheckBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QCheckBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QCheckBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QCheckBox * p = ( HBQT_GC_T_QCheckBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QCheckBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QCheckBox >( ( QCheckBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QCheckBox; - p->type = HBQT_TYPE_QCheckBox; - - return p; -} - -HB_FUNC( QT_QCHECKBOX ) -{ - QCheckBox * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QCheckBox( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = new QCheckBox( hbqt_par_QWidget( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QCheckBox( ( void * ) pObj, true ) ); -} - -/* Qt::CheckState checkState () const */ -HB_FUNC( QT_QCHECKBOX_CHECKSTATE ) -{ - QCheckBox * p = hbqt_par_QCheckBox( 1 ); - if( p ) - hb_retni( ( Qt::CheckState ) ( p )->checkState() ); -} - -/* bool isTristate () const */ -HB_FUNC( QT_QCHECKBOX_ISTRISTATE ) -{ - QCheckBox * p = hbqt_par_QCheckBox( 1 ); - if( p ) - hb_retl( ( p )->isTristate() ); -} - -/* void setCheckState ( Qt::CheckState state ) */ -HB_FUNC( QT_QCHECKBOX_SETCHECKSTATE ) -{ - QCheckBox * p = hbqt_par_QCheckBox( 1 ); - if( p ) - ( p )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* void setTristate ( bool y = true ) */ -HB_FUNC( QT_QCHECKBOX_SETTRISTATE ) -{ - QCheckBox * p = hbqt_par_QCheckBox( 1 ); - if( p ) - ( p )->setTristate( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp b/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp deleted file mode 100644 index de1e7db5a7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QClipboard.cpp +++ /dev/null @@ -1,198 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Mode { Clipboard, Selection, FindBuffer } - */ - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //const QMimeData * mimeData ( Mode mode = Clipboard ) const - * // QString text ( QString & subtype, Mode mode = Clipboard ) const - */ - -#include - -#include -#include -#include -#include - -/* - * QApplication::clipboard() - * - */ - -typedef struct -{ - QPointer< QClipboard > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QClipboard; - -HBQT_GC_FUNC( hbqt_gcRelease_QClipboard ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QClipboard( void * pObj, bool bNew ) -{ - HBQT_GC_T_QClipboard * p = ( HBQT_GC_T_QClipboard * ) hb_gcAllocate( sizeof( HBQT_GC_T_QClipboard ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QClipboard >( ( QClipboard * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QClipboard; - p->type = HBQT_TYPE_QClipboard; - - return p; -} - -HB_FUNC( QT_QCLIPBOARD ) -{ - QClipboard * pObj = NULL; - - pObj = QApplication::clipboard() ; - - hb_retptrGC( hbqt_gcAllocate_QClipboard( ( void * ) pObj, false ) ); -} - -/* void clear ( Mode mode = Clipboard ) */ -HB_FUNC( QT_QCLIPBOARD_CLEAR ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - ( p )->clear( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* QImage image ( Mode mode = Clipboard ) const */ -HB_FUNC( QT_QCLIPBOARD_IMAGE ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->image( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ) ), true ) ); -} - -/* bool ownsClipboard () const */ -HB_FUNC( QT_QCLIPBOARD_OWNSCLIPBOARD ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retl( ( p )->ownsClipboard() ); -} - -/* bool ownsFindBuffer () const */ -HB_FUNC( QT_QCLIPBOARD_OWNSFINDBUFFER ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retl( ( p )->ownsFindBuffer() ); -} - -/* bool ownsSelection () const */ -HB_FUNC( QT_QCLIPBOARD_OWNSSELECTION ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retl( ( p )->ownsSelection() ); -} - -/* QPixmap pixmap ( Mode mode = Clipboard ) const */ -HB_FUNC( QT_QCLIPBOARD_PIXMAP ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ) ), true ) ); -} - -/* void setImage ( const QImage & image, Mode mode = Clipboard ) */ -HB_FUNC( QT_QCLIPBOARD_SETIMAGE ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - ( p )->setImage( *hbqt_par_QImage( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* void setMimeData ( QMimeData * src, Mode mode = Clipboard ) */ -HB_FUNC( QT_QCLIPBOARD_SETMIMEDATA ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - ( p )->setMimeData( hbqt_par_QMimeData( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* void setPixmap ( const QPixmap & pixmap, Mode mode = Clipboard ) */ -HB_FUNC( QT_QCLIPBOARD_SETPIXMAP ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - ( p )->setPixmap( *hbqt_par_QPixmap( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* void setText ( const QString & text, Mode mode = Clipboard ) */ -HB_FUNC( QT_QCLIPBOARD_SETTEXT ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); - hb_strfree( pText ); - } -} - -/* bool supportsFindBuffer () const */ -HB_FUNC( QT_QCLIPBOARD_SUPPORTSFINDBUFFER ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retl( ( p )->supportsFindBuffer() ); -} - -/* bool supportsSelection () const */ -HB_FUNC( QT_QCLIPBOARD_SUPPORTSSELECTION ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retl( ( p )->supportsSelection() ); -} - -/* QString text ( Mode mode = Clipboard ) const */ -HB_FUNC( QT_QCLIPBOARD_TEXT ) -{ - QClipboard * p = hbqt_par_QClipboard( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QColor.cpp b/harbour/contrib/hbqt/qtgui/g/QColor.cpp deleted file mode 100644 index e85865ec74..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QColor.cpp +++ /dev/null @@ -1,758 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Spec { Rgb, Hsv, Cmyk, Invalid } - */ - -/* - * Constructed[ 71/71 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QColor ( const char * name ) - * //bool allowX11ColorNames () - * //void setAllowX11ColorNames ( bool enabled ) - */ - -#include - -#include - -/* -QColor () -QColor ( int r, int g, int b, int a = 255 ) -QColor ( QRgb color ) -QColor ( Qt::GlobalColor color ) -QColor ( const QString & name ) -QColor ( const char * name ) -QColor ( const QColor & color ) -~QColor () - */ - -typedef struct -{ - QColor * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QColor; - -HBQT_GC_FUNC( hbqt_gcRelease_QColor ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QColor * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QColor( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QColor * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QColor; - p->type = HBQT_TYPE_QColor; - - return p; -} - -HB_FUNC( QT_QCOLOR ) -{ - QColor * pObj = NULL; - - if( hb_pcount() >= 1 ) - { - if( hb_pcount() == 1 && HB_ISNUM( 1 ) && hb_parni( 1 ) < 25 ) - { - pObj = new QColor( ( Qt::GlobalColor ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QColor( ( QRgb ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QColor( hbqt_par_QString( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QColor( *hbqt_par_QColor( 1 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = new QColor( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), ( int ) 255 ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QColor( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ; - } - else - { - pObj = new QColor() ; - } - } - else - { - pObj = new QColor() ; - } - - hb_retptrGC( hbqt_gcAllocate_QColor( ( void * ) pObj, true ) ); -} - -/* QColor () */ -HB_FUNC( QT_QCOLOR_QCOLOR ) -{ - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor(), true ) ); -} - -/* QColor ( int r, int g, int b, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_QCOLOR_1 ) -{ - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, 255 ) ), true ) ); -} - -/* QColor ( QRgb color ) */ -HB_FUNC( QT_QCOLOR_QCOLOR_2 ) -{ - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( hb_parnl( 2 ) ), true ) ); -} - -/* QColor ( Qt::GlobalColor color ) */ -HB_FUNC( QT_QCOLOR_QCOLOR_3 ) -{ - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( Qt::GlobalColor ) hb_parni( 2 ) ), true ) ); -} - -/* QColor ( const QString & name ) */ -HB_FUNC( QT_QCOLOR_QCOLOR_4 ) -{ - void * pText; - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( hb_parstr_utf8( 2, &pText, NULL ) ), true ) ); - hb_strfree( pText ); -} - -/* QColor ( const QColor & color ) */ -HB_FUNC( QT_QCOLOR_QCOLOR_5 ) -{ - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( *hbqt_par_QColor( 2 ) ), true ) ); -} - -/* int alpha () const */ -HB_FUNC( QT_QCOLOR_ALPHA ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->alpha() ); -} - -/* qreal alphaF () const */ -HB_FUNC( QT_QCOLOR_ALPHAF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->alphaF() ); -} - -/* int black () const */ -HB_FUNC( QT_QCOLOR_BLACK ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->black() ); -} - -/* qreal blackF () const */ -HB_FUNC( QT_QCOLOR_BLACKF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->blackF() ); -} - -/* int blue () const */ -HB_FUNC( QT_QCOLOR_BLUE ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->blue() ); -} - -/* qreal blueF () const */ -HB_FUNC( QT_QCOLOR_BLUEF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->blueF() ); -} - -/* QColor convertTo ( Spec colorSpec ) const */ -HB_FUNC( QT_QCOLOR_CONVERTTO ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->convertTo( ( QColor::Spec ) hb_parni( 2 ) ) ), true ) ); -} - -/* int cyan () const */ -HB_FUNC( QT_QCOLOR_CYAN ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->cyan() ); -} - -/* qreal cyanF () const */ -HB_FUNC( QT_QCOLOR_CYANF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->cyanF() ); -} - -/* QColor darker ( int factor = 200 ) const */ -HB_FUNC( QT_QCOLOR_DARKER ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->darker( hb_parnidef( 2, 200 ) ) ), true ) ); -} - -/* void getCmyk ( int * c, int * m, int * y, int * k, int * a = 0 ) */ -HB_FUNC( QT_QCOLOR_GETCMYK ) -{ - QColor * p = hbqt_par_QColor( 1 ); - int iC = 0; - int iM = 0; - int iY = 0; - int iK = 0; - int iA = 0; - - if( p ) - ( p )->getCmyk( &iC, &iM, &iY, &iK, &iA ); - - hb_storni( iC, 2 ); - hb_storni( iM, 3 ); - hb_storni( iY, 4 ); - hb_storni( iK, 5 ); - hb_storni( iA, 6 ); -} - -/* void getCmykF ( qreal * c, qreal * m, qreal * y, qreal * k, qreal * a = 0 ) */ -HB_FUNC( QT_QCOLOR_GETCMYKF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - qreal qrC = 0; - qreal qrM = 0; - qreal qrY = 0; - qreal qrK = 0; - qreal qrA = 0; - - if( p ) - ( p )->getCmykF( &qrC, &qrM, &qrY, &qrK, &qrA ); - - hb_stornd( qrC, 2 ); - hb_stornd( qrM, 3 ); - hb_stornd( qrY, 4 ); - hb_stornd( qrK, 5 ); - hb_stornd( qrA, 6 ); -} - -/* void getHsv ( int * h, int * s, int * v, int * a = 0 ) const */ -HB_FUNC( QT_QCOLOR_GETHSV ) -{ - QColor * p = hbqt_par_QColor( 1 ); - int iH = 0; - int iS = 0; - int iV = 0; - int iA = 0; - - if( p ) - ( p )->getHsv( &iH, &iS, &iV, &iA ); - - hb_storni( iH, 2 ); - hb_storni( iS, 3 ); - hb_storni( iV, 4 ); - hb_storni( iA, 5 ); -} - -/* void getHsvF ( qreal * h, qreal * s, qreal * v, qreal * a = 0 ) const */ -HB_FUNC( QT_QCOLOR_GETHSVF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - qreal qrH = 0; - qreal qrS = 0; - qreal qrV = 0; - qreal qrA = 0; - - if( p ) - ( p )->getHsvF( &qrH, &qrS, &qrV, &qrA ); - - hb_stornd( qrH, 2 ); - hb_stornd( qrS, 3 ); - hb_stornd( qrV, 4 ); - hb_stornd( qrA, 5 ); -} - -/* void getRgb ( int * r, int * g, int * b, int * a = 0 ) const */ -HB_FUNC( QT_QCOLOR_GETRGB ) -{ - QColor * p = hbqt_par_QColor( 1 ); - int iR = 0; - int iG = 0; - int iB = 0; - int iA = 0; - - if( p ) - ( p )->getRgb( &iR, &iG, &iB, &iA ); - - hb_storni( iR, 2 ); - hb_storni( iG, 3 ); - hb_storni( iB, 4 ); - hb_storni( iA, 5 ); -} - -/* void getRgbF ( qreal * r, qreal * g, qreal * b, qreal * a = 0 ) const */ -HB_FUNC( QT_QCOLOR_GETRGBF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - qreal qrR = 0; - qreal qrG = 0; - qreal qrB = 0; - qreal qrA = 0; - - if( p ) - ( p )->getRgbF( &qrR, &qrG, &qrB, &qrA ); - - hb_stornd( qrR, 2 ); - hb_stornd( qrG, 3 ); - hb_stornd( qrB, 4 ); - hb_stornd( qrA, 5 ); -} - -/* int green () const */ -HB_FUNC( QT_QCOLOR_GREEN ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->green() ); -} - -/* qreal greenF () const */ -HB_FUNC( QT_QCOLOR_GREENF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->greenF() ); -} - -/* int hue () const */ -HB_FUNC( QT_QCOLOR_HUE ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->hue() ); -} - -/* qreal hueF () const */ -HB_FUNC( QT_QCOLOR_HUEF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->hueF() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QCOLOR_ISVALID ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QColor lighter ( int factor = 150 ) const */ -HB_FUNC( QT_QCOLOR_LIGHTER ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->lighter( hb_parnidef( 2, 150 ) ) ), true ) ); -} - -/* int magenta () const */ -HB_FUNC( QT_QCOLOR_MAGENTA ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->magenta() ); -} - -/* qreal magentaF () const */ -HB_FUNC( QT_QCOLOR_MAGENTAF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->magentaF() ); -} - -/* QString name () const */ -HB_FUNC( QT_QCOLOR_NAME ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retstr_utf8( ( p )->name().toUtf8().data() ); -} - -/* int red () const */ -HB_FUNC( QT_QCOLOR_RED ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->red() ); -} - -/* qreal redF () const */ -HB_FUNC( QT_QCOLOR_REDF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->redF() ); -} - -/* QRgb rgb () const */ -HB_FUNC( QT_QCOLOR_RGB ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnl( ( p )->rgb() ); -} - -/* QRgb rgba () const */ -HB_FUNC( QT_QCOLOR_RGBA ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnl( ( p )->rgba() ); -} - -/* int saturation () const */ -HB_FUNC( QT_QCOLOR_SATURATION ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->saturation() ); -} - -/* qreal saturationF () const */ -HB_FUNC( QT_QCOLOR_SATURATIONF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->saturationF() ); -} - -/* void setAlpha ( int alpha ) */ -HB_FUNC( QT_QCOLOR_SETALPHA ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setAlpha( hb_parni( 2 ) ); -} - -/* void setAlphaF ( qreal alpha ) */ -HB_FUNC( QT_QCOLOR_SETALPHAF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setAlphaF( hb_parnd( 2 ) ); -} - -/* void setBlue ( int blue ) */ -HB_FUNC( QT_QCOLOR_SETBLUE ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setBlue( hb_parni( 2 ) ); -} - -/* void setBlueF ( qreal blue ) */ -HB_FUNC( QT_QCOLOR_SETBLUEF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setBlueF( hb_parnd( 2 ) ); -} - -/* void setCmyk ( int c, int m, int y, int k, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_SETCMYK ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setCmyk( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parnidef( 6, 255 ) ); -} - -/* void setCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) */ -HB_FUNC( QT_QCOLOR_SETCMYKF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setCmykF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ); -} - -/* void setGreen ( int green ) */ -HB_FUNC( QT_QCOLOR_SETGREEN ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setGreen( hb_parni( 2 ) ); -} - -/* void setGreenF ( qreal green ) */ -HB_FUNC( QT_QCOLOR_SETGREENF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setGreenF( hb_parnd( 2 ) ); -} - -/* void setHsv ( int h, int s, int v, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_SETHSV ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setHsv( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, 255 ) ); -} - -/* void setHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 ) */ -HB_FUNC( QT_QCOLOR_SETHSVF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setHsvF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setNamedColor ( const QString & name ) */ -HB_FUNC( QT_QCOLOR_SETNAMEDCOLOR ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - { - void * pText; - ( p )->setNamedColor( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setRed ( int red ) */ -HB_FUNC( QT_QCOLOR_SETRED ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setRed( hb_parni( 2 ) ); -} - -/* void setRedF ( qreal red ) */ -HB_FUNC( QT_QCOLOR_SETREDF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setRedF( hb_parnd( 2 ) ); -} - -/* void setRgb ( QRgb rgb ) */ -HB_FUNC( QT_QCOLOR_SETRGB ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setRgb( hb_parnl( 2 ) ); -} - -/* void setRgb ( int r, int g, int b, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_SETRGB_1 ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setRgb( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, 255 ) ); -} - -/* void setRgba ( QRgb rgba ) */ -HB_FUNC( QT_QCOLOR_SETRGBA ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setRgba( hb_parnl( 2 ) ); -} - -/* void setRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 ) */ -HB_FUNC( QT_QCOLOR_SETRGBF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - ( p )->setRgbF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* Spec spec () const */ -HB_FUNC( QT_QCOLOR_SPEC ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( QColor::Spec ) ( p )->spec() ); -} - -/* QColor toCmyk () const */ -HB_FUNC( QT_QCOLOR_TOCMYK ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->toCmyk() ), true ) ); -} - -/* QColor toHsv () const */ -HB_FUNC( QT_QCOLOR_TOHSV ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->toHsv() ), true ) ); -} - -/* QColor toRgb () const */ -HB_FUNC( QT_QCOLOR_TORGB ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->toRgb() ), true ) ); -} - -/* int value () const */ -HB_FUNC( QT_QCOLOR_VALUE ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->value() ); -} - -/* qreal valueF () const */ -HB_FUNC( QT_QCOLOR_VALUEF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->valueF() ); -} - -/* int yellow () const */ -HB_FUNC( QT_QCOLOR_YELLOW ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retni( ( p )->yellow() ); -} - -/* qreal yellowF () const */ -HB_FUNC( QT_QCOLOR_YELLOWF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retnd( ( p )->yellowF() ); -} - -/* QStringList colorNames () */ -HB_FUNC( QT_QCOLOR_COLORNAMES ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->colorNames() ), true ) ); -} - -/* QColor fromCmyk ( int c, int m, int y, int k, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_FROMCMYK ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromCmyk( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parnidef( 6, 255 ) ) ), true ) ); -} - -/* QColor fromCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) */ -HB_FUNC( QT_QCOLOR_FROMCMYKF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromCmykF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ) ), true ) ); -} - -/* QColor fromHsv ( int h, int s, int v, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_FROMHSV ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromHsv( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, 255 ) ) ), true ) ); -} - -/* QColor fromHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 ) */ -HB_FUNC( QT_QCOLOR_FROMHSVF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromHsvF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QColor fromRgb ( QRgb rgb ) */ -HB_FUNC( QT_QCOLOR_FROMRGB ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromRgb( hb_parnl( 2 ) ) ), true ) ); -} - -/* QColor fromRgb ( int r, int g, int b, int a = 255 ) */ -HB_FUNC( QT_QCOLOR_FROMRGB_1 ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromRgb( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, 255 ) ) ), true ) ); -} - -/* QColor fromRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 ) */ -HB_FUNC( QT_QCOLOR_FROMRGBF ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromRgbF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QColor fromRgba ( QRgb rgba ) */ -HB_FUNC( QT_QCOLOR_FROMRGBA ) -{ - QColor * p = hbqt_par_QColor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->fromRgba( hb_parnl( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp deleted file mode 100644 index b8aa8f43da..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QColorDialog.cpp +++ /dev/null @@ -1,228 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ColorDialogOption { ShowAlphaChannel, NoButtons, DontUseNativeDialog } - * flags ColorDialogOptions - */ - -/* - * Constructed[ 15/15 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //void open ( QObject * receiver, const char * member ) - */ - -#include - -#include - -/* - * QColorDialog ( QWidget * parent = 0 ) - * QColorDialog ( const QColor & initial, QWidget * parent = 0 ) - * ~QColorDialog () - */ - -typedef struct -{ - QPointer< QColorDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QColorDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QColorDialog ) -{ - HBQT_GC_T_QColorDialog * p = ( HBQT_GC_T_QColorDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QColorDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QColorDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QColorDialog * p = ( HBQT_GC_T_QColorDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QColorDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QColorDialog >( ( QColorDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QColorDialog; - p->type = HBQT_TYPE_QColorDialog; - - return p; -} - -HB_FUNC( QT_QCOLORDIALOG ) -{ - QColorDialog * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - { - pObj = new QColorDialog( hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = new QColorDialog( hbqt_par_QWidget( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QColorDialog( ( void * ) pObj, true ) ); -} - -/* QColor currentColor () const */ -HB_FUNC( QT_QCOLORDIALOG_CURRENTCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->currentColor() ), true ) ); -} - -/* void open () */ -HB_FUNC( QT_QCOLORDIALOG_OPEN ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->open(); -} - -/* ColorDialogOptions options () const */ -HB_FUNC( QT_QCOLORDIALOG_OPTIONS ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retni( ( QColorDialog::ColorDialogOptions ) ( p )->options() ); -} - -/* QColor selectedColor () const */ -HB_FUNC( QT_QCOLORDIALOG_SELECTEDCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->selectedColor() ), true ) ); -} - -/* void setCurrentColor ( const QColor & color ) */ -HB_FUNC( QT_QCOLORDIALOG_SETCURRENTCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->setCurrentColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setOption ( ColorDialogOption option, bool on = true ) */ -HB_FUNC( QT_QCOLORDIALOG_SETOPTION ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->setOption( ( QColorDialog::ColorDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( ColorDialogOptions options ) */ -HB_FUNC( QT_QCOLORDIALOG_SETOPTIONS ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->setOptions( ( QColorDialog::ColorDialogOptions ) hb_parni( 2 ) ); -} - -/* virtual void setVisible ( bool visible ) */ -HB_FUNC( QT_QCOLORDIALOG_SETVISIBLE ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* bool testOption ( ColorDialogOption option ) const */ -HB_FUNC( QT_QCOLORDIALOG_TESTOPTION ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QColorDialog::ColorDialogOption ) hb_parni( 2 ) ) ); -} - -/* QRgb customColor ( int index ) */ -HB_FUNC( QT_QCOLORDIALOG_CUSTOMCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retnl( ( p )->customColor( hb_parni( 2 ) ) ); -} - -/* int customCount () */ -HB_FUNC( QT_QCOLORDIALOG_CUSTOMCOUNT ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retni( ( p )->customCount() ); -} - -/* QColor getColor ( const QColor & initial, QWidget * parent, const QString & title, ColorDialogOptions options = 0 ) */ -HB_FUNC( QT_QCOLORDIALOG_GETCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->getColor( *hbqt_par_QColor( 2 ), hbqt_par_QWidget( 3 ), hb_parstr_utf8( 4, &pText, NULL ), ( QColorDialog::ColorDialogOptions ) hb_parni( 5 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QColor getColor ( const QColor & initial = Qt::white, QWidget * parent = 0 ) */ -HB_FUNC( QT_QCOLORDIALOG_GETCOLOR_1 ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->getColor( *hbqt_par_QColor( 2 ), hbqt_par_QWidget( 3 ) ) ), true ) ); -} - -/* void setCustomColor ( int index, QRgb color ) */ -HB_FUNC( QT_QCOLORDIALOG_SETCUSTOMCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->setCustomColor( hb_parni( 2 ), hb_parnl( 3 ) ); -} - -/* void setStandardColor ( int index, QRgb color ) */ -HB_FUNC( QT_QCOLORDIALOG_SETSTANDARDCOLOR ) -{ - QColorDialog * p = hbqt_par_QColorDialog( 1 ); - if( p ) - ( p )->setStandardColor( hb_parni( 2 ), hb_parnl( 3 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp b/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp deleted file mode 100644 index 58fb561bc1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QComboBox.cpp +++ /dev/null @@ -1,602 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum InsertPolicy { NoInsert, InsertAtTop, InsertAtCurrent, InsertAtBottom, ..., InsertAlphabetically } - * enum SizeAdjustPolicy { AdjustToContents, AdjustToContentsOnFirstShow, AdjustToMinimumContentsLength, AdjustToMinimumContentsLengthWithIcon } - */ - -/* - * Constructed[ 60/60 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QComboBox ( QWidget * parent = 0 ) - * ~QComboBox () - */ - -typedef struct -{ - QPointer< QComboBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QComboBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QComboBox ) -{ - HBQT_GC_T_QComboBox * p = ( HBQT_GC_T_QComboBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QComboBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QComboBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QComboBox * p = ( HBQT_GC_T_QComboBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QComboBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QComboBox >( ( QComboBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QComboBox; - p->type = HBQT_TYPE_QComboBox; - - return p; -} - -HB_FUNC( QT_QCOMBOBOX ) -{ - QComboBox * pObj = NULL; - - pObj = new QComboBox( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QComboBox( ( void * ) pObj, true ) ); -} - -/* QComboBox ( QWidget * parent = 0 ) */ -HB_FUNC( QT_QCOMBOBOX_QCOMBOBOX ) -{ - hb_retptrGC( hbqt_gcAllocate_QComboBox( new QComboBox( hbqt_par_QWidget( 2 ) ), true ) ); -} - -/* void addItem ( const QString & text, const QVariant & userData = QVariant() ) */ -HB_FUNC( QT_QCOMBOBOX_ADDITEM ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - ( p )->addItem( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QVariant( 3 ) : QVariant() ) ); - hb_strfree( pText ); - } -} - -/* void addItem ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) */ -HB_FUNC( QT_QCOMBOBOX_ADDITEM_1 ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - ( p )->addItem( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QVariant( 4 ) : QVariant() ) ); - hb_strfree( pText ); - } -} - -/* void addItems ( const QStringList & texts ) */ -HB_FUNC( QT_QCOMBOBOX_ADDITEMS ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->addItems( *hbqt_par_QStringList( 2 ) ); -} - -/* QCompleter * completer () const */ -HB_FUNC( QT_QCOMBOBOX_COMPLETER ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCompleter( ( p )->completer(), false ) ); -} - -/* int count () const */ -HB_FUNC( QT_QCOMBOBOX_COUNT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* int currentIndex () const */ -HB_FUNC( QT_QCOMBOBOX_CURRENTINDEX ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->currentIndex() ); -} - -/* QString currentText () const */ -HB_FUNC( QT_QCOMBOBOX_CURRENTTEXT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->currentText().toUtf8().data() ); -} - -/* bool duplicatesEnabled () const */ -HB_FUNC( QT_QCOMBOBOX_DUPLICATESENABLED ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retl( ( p )->duplicatesEnabled() ); -} - -/* int findData ( const QVariant & data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) const */ -HB_FUNC( QT_QCOMBOBOX_FINDDATA ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->findData( *hbqt_par_QVariant( 2 ), hb_parnidef( 3, Qt::UserRole ), ( HB_ISNUM( 4 ) ? ( Qt::MatchFlags ) hb_parni( 4 ) : ( Qt::MatchFlags ) Qt::MatchExactly | Qt::MatchCaseSensitive ) ) ); -} - -/* int findText ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) const */ -HB_FUNC( QT_QCOMBOBOX_FINDTEXT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->findText( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::MatchFlags ) hb_parni( 3 ) : ( Qt::MatchFlags ) Qt::MatchExactly | Qt::MatchCaseSensitive ) ) ); - hb_strfree( pText ); - } -} - -/* bool hasFrame () const */ -HB_FUNC( QT_QCOMBOBOX_HASFRAME ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retl( ( p )->hasFrame() ); -} - -/* virtual void hidePopup () */ -HB_FUNC( QT_QCOMBOBOX_HIDEPOPUP ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->hidePopup(); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QCOMBOBOX_ICONSIZE ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* void insertItem ( int index, const QString & text, const QVariant & userData = QVariant() ) */ -HB_FUNC( QT_QCOMBOBOX_INSERTITEM ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - ( p )->insertItem( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QVariant( 4 ) : QVariant() ) ); - hb_strfree( pText ); - } -} - -/* void insertItem ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) */ -HB_FUNC( QT_QCOMBOBOX_INSERTITEM_1 ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - ( p )->insertItem( hb_parni( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISOBJECT( 5 ) ? *hbqt_par_QVariant( 5 ) : QVariant() ) ); - hb_strfree( pText ); - } -} - -/* void insertItems ( int index, const QStringList & list ) */ -HB_FUNC( QT_QCOMBOBOX_INSERTITEMS ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->insertItems( hb_parni( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* InsertPolicy insertPolicy () const */ -HB_FUNC( QT_QCOMBOBOX_INSERTPOLICY ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( QComboBox::InsertPolicy ) ( p )->insertPolicy() ); -} - -/* void insertSeparator ( int index ) */ -HB_FUNC( QT_QCOMBOBOX_INSERTSEPARATOR ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->insertSeparator( hb_parni( 2 ) ); -} - -/* bool isEditable () const */ -HB_FUNC( QT_QCOMBOBOX_ISEDITABLE ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retl( ( p )->isEditable() ); -} - -/* QVariant itemData ( int index, int role = Qt::UserRole ) const */ -HB_FUNC( QT_QCOMBOBOX_ITEMDATA ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->itemData( hb_parni( 2 ), hb_parnidef( 3, Qt::UserRole ) ) ), true ) ); -} - -/* QAbstractItemDelegate * itemDelegate () const */ -HB_FUNC( QT_QCOMBOBOX_ITEMDELEGATE ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemDelegate( ( p )->itemDelegate(), false ) ); -} - -/* QIcon itemIcon ( int index ) const */ -HB_FUNC( QT_QCOMBOBOX_ITEMICON ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->itemIcon( hb_parni( 2 ) ) ), true ) ); -} - -/* QString itemText ( int index ) const */ -HB_FUNC( QT_QCOMBOBOX_ITEMTEXT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->itemText( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QLineEdit * lineEdit () const */ -HB_FUNC( QT_QCOMBOBOX_LINEEDIT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineEdit( ( p )->lineEdit(), false ) ); -} - -/* int maxCount () const */ -HB_FUNC( QT_QCOMBOBOX_MAXCOUNT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->maxCount() ); -} - -/* int maxVisibleItems () const */ -HB_FUNC( QT_QCOMBOBOX_MAXVISIBLEITEMS ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->maxVisibleItems() ); -} - -/* int minimumContentsLength () const */ -HB_FUNC( QT_QCOMBOBOX_MINIMUMCONTENTSLENGTH ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->minimumContentsLength() ); -} - -/* QAbstractItemModel * model () const */ -HB_FUNC( QT_QCOMBOBOX_MODEL ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( p )->model(), false ) ); -} - -/* int modelColumn () const */ -HB_FUNC( QT_QCOMBOBOX_MODELCOLUMN ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( p )->modelColumn() ); -} - -/* void removeItem ( int index ) */ -HB_FUNC( QT_QCOMBOBOX_REMOVEITEM ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->removeItem( hb_parni( 2 ) ); -} - -/* QModelIndex rootModelIndex () const */ -HB_FUNC( QT_QCOMBOBOX_ROOTMODELINDEX ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->rootModelIndex() ), true ) ); -} - -/* void setCompleter ( QCompleter * completer ) */ -HB_FUNC( QT_QCOMBOBOX_SETCOMPLETER ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setCompleter( hbqt_par_QCompleter( 2 ) ); -} - -/* void setDuplicatesEnabled ( bool enable ) */ -HB_FUNC( QT_QCOMBOBOX_SETDUPLICATESENABLED ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setDuplicatesEnabled( hb_parl( 2 ) ); -} - -/* void setEditable ( bool editable ) */ -HB_FUNC( QT_QCOMBOBOX_SETEDITABLE ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setEditable( hb_parl( 2 ) ); -} - -/* void setFrame ( bool ) */ -HB_FUNC( QT_QCOMBOBOX_SETFRAME ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setFrame( hb_parl( 2 ) ); -} - -/* void setIconSize ( const QSize & size ) */ -HB_FUNC( QT_QCOMBOBOX_SETICONSIZE ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setInsertPolicy ( InsertPolicy policy ) */ -HB_FUNC( QT_QCOMBOBOX_SETINSERTPOLICY ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setInsertPolicy( ( QComboBox::InsertPolicy ) hb_parni( 2 ) ); -} - -/* void setItemData ( int index, const QVariant & value, int role = Qt::UserRole ) */ -HB_FUNC( QT_QCOMBOBOX_SETITEMDATA ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setItemData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ), hb_parnidef( 4, Qt::UserRole ) ); -} - -/* void setItemDelegate ( QAbstractItemDelegate * delegate ) */ -HB_FUNC( QT_QCOMBOBOX_SETITEMDELEGATE ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) ); -} - -/* void setItemIcon ( int index, const QIcon & icon ) */ -HB_FUNC( QT_QCOMBOBOX_SETITEMICON ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setItemIcon( hb_parni( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )) ); -} - -/* void setItemText ( int index, const QString & text ) */ -HB_FUNC( QT_QCOMBOBOX_SETITEMTEXT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - ( p )->setItemText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setLineEdit ( QLineEdit * edit ) */ -HB_FUNC( QT_QCOMBOBOX_SETLINEEDIT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setLineEdit( hbqt_par_QLineEdit( 2 ) ); -} - -/* void setMaxCount ( int max ) */ -HB_FUNC( QT_QCOMBOBOX_SETMAXCOUNT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setMaxCount( hb_parni( 2 ) ); -} - -/* void setMaxVisibleItems ( int maxItems ) */ -HB_FUNC( QT_QCOMBOBOX_SETMAXVISIBLEITEMS ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setMaxVisibleItems( hb_parni( 2 ) ); -} - -/* void setMinimumContentsLength ( int characters ) */ -HB_FUNC( QT_QCOMBOBOX_SETMINIMUMCONTENTSLENGTH ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setMinimumContentsLength( hb_parni( 2 ) ); -} - -/* void setModel ( QAbstractItemModel * model ) */ -HB_FUNC( QT_QCOMBOBOX_SETMODEL ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setModel( hbqt_par_QAbstractItemModel( 2 ) ); -} - -/* void setModelColumn ( int visibleColumn ) */ -HB_FUNC( QT_QCOMBOBOX_SETMODELCOLUMN ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setModelColumn( hb_parni( 2 ) ); -} - -/* void setRootModelIndex ( const QModelIndex & index ) */ -HB_FUNC( QT_QCOMBOBOX_SETROOTMODELINDEX ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setRootModelIndex( *hbqt_par_QModelIndex( 2 ) ); -} - -/* void setSizeAdjustPolicy ( SizeAdjustPolicy policy ) */ -HB_FUNC( QT_QCOMBOBOX_SETSIZEADJUSTPOLICY ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setSizeAdjustPolicy( ( QComboBox::SizeAdjustPolicy ) hb_parni( 2 ) ); -} - -/* void setValidator ( const QValidator * validator ) */ -HB_FUNC( QT_QCOMBOBOX_SETVALIDATOR ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setValidator( hbqt_par_QValidator( 2 ) ); -} - -/* void setView ( QAbstractItemView * itemView ) [*D=1*] */ -HB_FUNC( QT_QCOMBOBOX_SETVIEW ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setView( hbqt_par_QAbstractItemView( 2 ) ); - } -} - -/* virtual void showPopup () */ -HB_FUNC( QT_QCOMBOBOX_SHOWPOPUP ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->showPopup(); -} - -/* SizeAdjustPolicy sizeAdjustPolicy () const */ -HB_FUNC( QT_QCOMBOBOX_SIZEADJUSTPOLICY ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retni( ( QComboBox::SizeAdjustPolicy ) ( p )->sizeAdjustPolicy() ); -} - -/* virtual const QValidator * validator () const */ -HB_FUNC( QT_QCOMBOBOX_VALIDATOR ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QValidator( ( void * ) ( p )->validator(), false ) ); -} - -/* QAbstractItemView * view () const */ -HB_FUNC( QT_QCOMBOBOX_VIEW ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemView( ( p )->view(), false ) ); -} - -/* void clear () */ -HB_FUNC( QT_QCOMBOBOX_CLEAR ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->clear(); -} - -/* void clearEditText () */ -HB_FUNC( QT_QCOMBOBOX_CLEAREDITTEXT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->clearEditText(); -} - -/* void setCurrentIndex ( int index ) */ -HB_FUNC( QT_QCOMBOBOX_SETCURRENTINDEX ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - ( p )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* void setEditText ( const QString & text ) */ -HB_FUNC( QT_QCOMBOBOX_SETEDITTEXT ) -{ - QComboBox * p = hbqt_par_QComboBox( 1 ); - if( p ) - { - void * pText; - ( p )->setEditText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp b/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp deleted file mode 100644 index 2e8dd2d99a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QCommandLinkButton.cpp +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QCommandLinkButton ( QWidget * parent = 0 ) - * QCommandLinkButton ( const QString & text, QWidget * parent = 0 ) - * QCommandLinkButton ( const QString & text, const QString & description, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QCommandLinkButton > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCommandLinkButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QCommandLinkButton ) -{ - HBQT_GC_T_QCommandLinkButton * p = ( HBQT_GC_T_QCommandLinkButton * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QCommandLinkButton * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QCommandLinkButton( void * pObj, bool bNew ) -{ - HBQT_GC_T_QCommandLinkButton * p = ( HBQT_GC_T_QCommandLinkButton * ) hb_gcAllocate( sizeof( HBQT_GC_T_QCommandLinkButton ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QCommandLinkButton >( ( QCommandLinkButton * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QCommandLinkButton; - p->type = HBQT_TYPE_QCommandLinkButton; - - return p; -} - -HB_FUNC( QT_QCOMMANDLINKBUTTON ) -{ - QCommandLinkButton * pObj = NULL; - - pObj = new QCommandLinkButton( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QCommandLinkButton( ( void * ) pObj, true ) ); -} - -/* QString description () const */ -HB_FUNC( QT_QCOMMANDLINKBUTTON_DESCRIPTION ) -{ - QCommandLinkButton * p = hbqt_par_QCommandLinkButton( 1 ); - if( p ) - hb_retstr_utf8( ( p )->description().toUtf8().data() ); -} - -/* void setDescription ( const QString & description ) */ -HB_FUNC( QT_QCOMMANDLINKBUTTON_SETDESCRIPTION ) -{ - QCommandLinkButton * p = hbqt_par_QCommandLinkButton( 1 ); - if( p ) - { - void * pText; - ( p )->setDescription( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp b/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp deleted file mode 100644 index d2bf40ac6d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QCommonStyle.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QCommonStyle () - */ - -typedef struct -{ - QPointer< QCommonStyle > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCommonStyle; - -HBQT_GC_FUNC( hbqt_gcRelease_QCommonStyle ) -{ - HBQT_GC_T_QCommonStyle * p = ( HBQT_GC_T_QCommonStyle * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QCommonStyle * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QCommonStyle( void * pObj, bool bNew ) -{ - HBQT_GC_T_QCommonStyle * p = ( HBQT_GC_T_QCommonStyle * ) hb_gcAllocate( sizeof( HBQT_GC_T_QCommonStyle ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QCommonStyle >( ( QCommonStyle * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QCommonStyle; - p->type = HBQT_TYPE_QCommonStyle; - - return p; -} - -HB_FUNC( QT_QCOMMONSTYLE ) -{ - QCommonStyle * pObj = NULL; - - pObj = new QCommonStyle() ; - - hb_retptrGC( hbqt_gcAllocate_QCommonStyle( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp b/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp deleted file mode 100644 index ddc550e612..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QCompleter.cpp +++ /dev/null @@ -1,334 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CompletionMode { PopupCompletion, InlineCompletion, UnfilteredPopupCompletion } - * enum ModelSorting { UnsortedModel, CaseSensitivelySortedModel, CaseInsensitivelySortedModel } - */ - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include -#include - -/* QCompleter ( QObject * parent = 0 ) - * QCompleter ( QAbstractItemModel * model, QObject * parent = 0 ) - * QCompleter ( const QStringList & list, QObject * parent = 0 ) - * ~QCompleter () - */ - -typedef struct -{ - QPointer< QCompleter > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCompleter; - -HBQT_GC_FUNC( hbqt_gcRelease_QCompleter ) -{ - HBQT_GC_T_QCompleter * p = ( HBQT_GC_T_QCompleter * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QCompleter * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QCompleter( void * pObj, bool bNew ) -{ - HBQT_GC_T_QCompleter * p = ( HBQT_GC_T_QCompleter * ) hb_gcAllocate( sizeof( HBQT_GC_T_QCompleter ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QCompleter >( ( QCompleter * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QCompleter; - p->type = HBQT_TYPE_QCompleter; - - return p; -} - -HB_FUNC( QT_QCOMPLETER ) -{ - QCompleter * pObj = NULL; - - pObj = new QCompleter() ; - - hb_retptrGC( hbqt_gcAllocate_QCompleter( ( void * ) pObj, true ) ); -} - -/* Qt::CaseSensitivity caseSensitivity () const */ -HB_FUNC( QT_QCOMPLETER_CASESENSITIVITY ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( Qt::CaseSensitivity ) ( p )->caseSensitivity() ); -} - -/* int completionColumn () const */ -HB_FUNC( QT_QCOMPLETER_COMPLETIONCOLUMN ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( p )->completionColumn() ); -} - -/* int completionCount () const */ -HB_FUNC( QT_QCOMPLETER_COMPLETIONCOUNT ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( p )->completionCount() ); -} - -/* CompletionMode completionMode () const */ -HB_FUNC( QT_QCOMPLETER_COMPLETIONMODE ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( QCompleter::CompletionMode ) ( p )->completionMode() ); -} - -/* QAbstractItemModel * completionModel () const */ -HB_FUNC( QT_QCOMPLETER_COMPLETIONMODEL ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( p )->completionModel(), false ) ); -} - -/* QString completionPrefix () const */ -HB_FUNC( QT_QCOMPLETER_COMPLETIONPREFIX ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->completionPrefix().toUtf8().data() ); -} - -/* int completionRole () const */ -HB_FUNC( QT_QCOMPLETER_COMPLETIONROLE ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( p )->completionRole() ); -} - -/* QString currentCompletion () const */ -HB_FUNC( QT_QCOMPLETER_CURRENTCOMPLETION ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->currentCompletion().toUtf8().data() ); -} - -/* QModelIndex currentIndex () const */ -HB_FUNC( QT_QCOMPLETER_CURRENTINDEX ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->currentIndex() ), true ) ); -} - -/* int currentRow () const */ -HB_FUNC( QT_QCOMPLETER_CURRENTROW ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( p )->currentRow() ); -} - -/* QAbstractItemModel * model () const */ -HB_FUNC( QT_QCOMPLETER_MODEL ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( p )->model(), false ) ); -} - -/* ModelSorting modelSorting () const */ -HB_FUNC( QT_QCOMPLETER_MODELSORTING ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retni( ( QCompleter::ModelSorting ) ( p )->modelSorting() ); -} - -/* virtual QString pathFromIndex ( const QModelIndex & index ) const */ -HB_FUNC( QT_QCOMPLETER_PATHFROMINDEX ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->pathFromIndex( *hbqt_par_QModelIndex( 2 ) ).toUtf8().data() ); -} - -/* QAbstractItemView * popup () const */ -HB_FUNC( QT_QCOMPLETER_POPUP ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemView( ( p )->popup(), false ) ); -} - -/* void setCaseSensitivity ( Qt::CaseSensitivity caseSensitivity ) */ -HB_FUNC( QT_QCOMPLETER_SETCASESENSITIVITY ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setCaseSensitivity( ( Qt::CaseSensitivity ) hb_parni( 2 ) ); -} - -/* void setCompletionColumn ( int column ) */ -HB_FUNC( QT_QCOMPLETER_SETCOMPLETIONCOLUMN ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setCompletionColumn( hb_parni( 2 ) ); -} - -/* void setCompletionMode ( CompletionMode mode ) */ -HB_FUNC( QT_QCOMPLETER_SETCOMPLETIONMODE ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setCompletionMode( ( QCompleter::CompletionMode ) hb_parni( 2 ) ); -} - -/* void setCompletionRole ( int role ) */ -HB_FUNC( QT_QCOMPLETER_SETCOMPLETIONROLE ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setCompletionRole( hb_parni( 2 ) ); -} - -/* bool setCurrentRow ( int row ) */ -HB_FUNC( QT_QCOMPLETER_SETCURRENTROW ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retl( ( p )->setCurrentRow( hb_parni( 2 ) ) ); -} - -/* void setModel ( QAbstractItemModel * model ) */ -HB_FUNC( QT_QCOMPLETER_SETMODEL ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setModel( hbqt_par_QAbstractItemModel( 2 ) ); -} - -/* void setModelSorting ( ModelSorting sorting ) */ -HB_FUNC( QT_QCOMPLETER_SETMODELSORTING ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setModelSorting( ( QCompleter::ModelSorting ) hb_parni( 2 ) ); -} - -/* void setPopup ( QAbstractItemView * popup ) */ -HB_FUNC( QT_QCOMPLETER_SETPOPUP ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setPopup( hbqt_par_QAbstractItemView( 2 ) ); -} - -/* void setWidget ( QWidget * widget ) */ -HB_FUNC( QT_QCOMPLETER_SETWIDGET ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* virtual QStringList splitPath ( const QString & path ) const */ -HB_FUNC( QT_QCOMPLETER_SPLITPATH ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->splitPath( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QCOMPLETER_WIDGET ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - -/* bool wrapAround () const */ -HB_FUNC( QT_QCOMPLETER_WRAPAROUND ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - hb_retl( ( p )->wrapAround() ); -} - -/* void complete ( const QRect & rect = QRect() ) */ -HB_FUNC( QT_QCOMPLETER_COMPLETE ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->complete( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRect( 2 ) : QRect() ) ); -} - -/* void setCompletionPrefix ( const QString & prefix ) */ -HB_FUNC( QT_QCOMPLETER_SETCOMPLETIONPREFIX ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - { - void * pText; - ( p )->setCompletionPrefix( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWrapAround ( bool wrap ) */ -HB_FUNC( QT_QCOMPLETER_SETWRAPAROUND ) -{ - QCompleter * p = hbqt_par_QCompleter( 1 ); - if( p ) - ( p )->setWrapAround( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp deleted file mode 100644 index 2df3223b4c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QConicalGradient.cpp +++ /dev/null @@ -1,130 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QConicalGradient () - * QConicalGradient ( const QPointF & center, qreal angle ) - * QConicalGradient ( qreal cx, qreal cy, qreal angle ) - */ - -typedef struct -{ - QConicalGradient * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QConicalGradient; - -HBQT_GC_FUNC( hbqt_gcRelease_QConicalGradient ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QConicalGradient * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QConicalGradient( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QConicalGradient * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QConicalGradient; - p->type = HBQT_TYPE_QConicalGradient; - - return p; -} - -HB_FUNC( QT_QCONICALGRADIENT ) -{ - QConicalGradient * pObj = NULL; - - pObj = new QConicalGradient() ; - - hb_retptrGC( hbqt_gcAllocate_QConicalGradient( ( void * ) pObj, true ) ); -} - -/* qreal angle () const */ -HB_FUNC( QT_QCONICALGRADIENT_ANGLE ) -{ - QConicalGradient * p = hbqt_par_QConicalGradient( 1 ); - if( p ) - hb_retnd( ( p )->angle() ); -} - -/* QPointF center () const */ -HB_FUNC( QT_QCONICALGRADIENT_CENTER ) -{ - QConicalGradient * p = hbqt_par_QConicalGradient( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->center() ), true ) ); -} - -/* void setAngle ( qreal angle ) */ -HB_FUNC( QT_QCONICALGRADIENT_SETANGLE ) -{ - QConicalGradient * p = hbqt_par_QConicalGradient( 1 ); - if( p ) - ( p )->setAngle( hb_parnd( 2 ) ); -} - -/* void setCenter ( const QPointF & center ) */ -HB_FUNC( QT_QCONICALGRADIENT_SETCENTER ) -{ - QConicalGradient * p = hbqt_par_QConicalGradient( 1 ); - if( p ) - ( p )->setCenter( *hbqt_par_QPointF( 2 ) ); -} - -/* void setCenter ( qreal x, qreal y ) */ -HB_FUNC( QT_QCONICALGRADIENT_SETCENTER_1 ) -{ - QConicalGradient * p = hbqt_par_QConicalGradient( 1 ); - if( p ) - ( p )->setCenter( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp deleted file mode 100644 index fa9be5ab44..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QContextMenuEvent.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Reason { Mouse, Keyboard, Other } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QContextMenuEvent ( Reason reason, const QPoint & pos, const QPoint & globalPos, Qt::KeyboardModifiers modifiers ) - * QContextMenuEvent ( Reason reason, const QPoint & pos, const QPoint & globalPos ) - * QContextMenuEvent ( Reason reason, const QPoint & pos ) - */ - -typedef struct -{ - QContextMenuEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QContextMenuEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QContextMenuEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QContextMenuEvent * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QContextMenuEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QContextMenuEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QContextMenuEvent; - p->type = HBQT_TYPE_QContextMenuEvent; - - return p; -} - -HB_FUNC( QT_QCONTEXTMENUEVENT ) -{ - QContextMenuEvent * pObj = NULL; - - pObj = new QContextMenuEvent( ( QContextMenuEvent::Reason ) hb_parni( 1 ), *hbqt_par_QPoint( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QContextMenuEvent( ( void * ) pObj, true ) ); -} - -/* const QPoint & globalPos () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_GLOBALPOS ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->globalPos() ), true ) ); -} - -/* int globalX () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_GLOBALX ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retni( ( p )->globalX() ); -} - -/* int globalY () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_GLOBALY ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retni( ( p )->globalY() ); -} - -/* const QPoint & pos () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_POS ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* Reason reason () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_REASON ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retni( ( QContextMenuEvent::Reason ) ( p )->reason() ); -} - -/* int x () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_X ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QCONTEXTMENUEVENT_Y ) -{ - QContextMenuEvent * p = hbqt_par_QContextMenuEvent( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QCursor.cpp b/harbour/contrib/hbqt/qtgui/g/QCursor.cpp deleted file mode 100644 index 6af53db4d5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QCursor.cpp +++ /dev/null @@ -1,194 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // HCURSOR_or_HANDLE handle () const - */ - -#include - -#include -#include -#include - -/* - * QCursor () - * QCursor ( Qt::CursorShape shape ) - * QCursor ( const QBitmap & bitmap, const QBitmap & mask, int hotX = -1, int hotY = -1 ) - * QCursor ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 ) - * QCursor ( const QCursor & c ) - * QCursor ( HCURSOR cursor ) - * QCursor ( Qt::HANDLE handle ) - * ~QCursor () - */ - -typedef struct -{ - QCursor * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QCursor; - -HBQT_GC_FUNC( hbqt_gcRelease_QCursor ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QCursor * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QCursor( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QCursor * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QCursor; - p->type = HBQT_TYPE_QCursor; - - return p; -} - -HB_FUNC( QT_QCURSOR ) -{ - QCursor * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QCursor( ( Qt::CursorShape ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QCursor( *hbqt_par_QCursor( 1 ) ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QPixmap" ) - { - pObj = new QCursor( *hbqt_par_QPixmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ; - } - else - { - pObj = new QCursor() ; - } - } - else if( hb_pcount() >= 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QCursor( *hbqt_par_QBitmap( 1 ), *hbqt_par_QBitmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ; - } - else - { - pObj = new QCursor() ; - } - - hb_retptrGC( hbqt_gcAllocate_QCursor( ( void * ) pObj, true ) ); -} - -/* const QBitmap * bitmap () const */ -HB_FUNC( QT_QCURSOR_BITMAP ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( *( ( p )->bitmap() ) ), true ) ); -} - -/* QPoint hotSpot () const */ -HB_FUNC( QT_QCURSOR_HOTSPOT ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->hotSpot() ), true ) ); -} - -/* const QBitmap * mask () const */ -HB_FUNC( QT_QCURSOR_MASK ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( *( ( p )->mask() ) ), true ) ); -} - -/* QPixmap pixmap () const */ -HB_FUNC( QT_QCURSOR_PIXMAP ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); -} - -/* void setShape ( Qt::CursorShape shape ) */ -HB_FUNC( QT_QCURSOR_SETSHAPE ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - ( p )->setShape( ( Qt::CursorShape ) hb_parni( 2 ) ); -} - -/* Qt::CursorShape shape () const */ -HB_FUNC( QT_QCURSOR_SHAPE ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - hb_retni( ( Qt::CursorShape ) ( p )->shape() ); -} - -/* QPoint pos () */ -HB_FUNC( QT_QCURSOR_POS ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* void setPos ( int x, int y ) */ -HB_FUNC( QT_QCURSOR_SETPOS ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - ( p )->setPos( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setPos ( const QPoint & p ) */ -HB_FUNC( QT_QCURSOR_SETPOS_1 ) -{ - QCursor * p = hbqt_par_QCursor( 1 ); - if( p ) - ( p )->setPos( *hbqt_par_QPoint( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp deleted file mode 100644 index d402223fae..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDateEdit.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QDateEdit ( QWidget * parent = 0 ) - * QDateEdit ( const QDate & date, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QDateEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDateEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_QDateEdit ) -{ - HBQT_GC_T_QDateEdit * p = ( HBQT_GC_T_QDateEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDateEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDateEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDateEdit * p = ( HBQT_GC_T_QDateEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDateEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDateEdit >( ( QDateEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDateEdit; - p->type = HBQT_TYPE_QDateEdit; - - return p; -} - -HB_FUNC( QT_QDATEEDIT ) -{ - QDateEdit * pObj = NULL; - - pObj = new QDateEdit( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDateEdit( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp deleted file mode 100644 index 4fd82d6c0e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDateTimeEdit.cpp +++ /dev/null @@ -1,451 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Section { NoSection, AmPmSection, MSecSection, SecondSection, ..., YearSection } - * flags Sections - */ - -/* - * Constructed[ 44/44 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDateTimeEdit ( QWidget * parent = 0 ) - * QDateTimeEdit ( const QDateTime & datetime, QWidget * parent = 0 ) - * QDateTimeEdit ( const QDate & date, QWidget * parent = 0 ) - * QDateTimeEdit ( const QTime & time, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QDateTimeEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDateTimeEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_QDateTimeEdit ) -{ - HBQT_GC_T_QDateTimeEdit * p = ( HBQT_GC_T_QDateTimeEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDateTimeEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDateTimeEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDateTimeEdit * p = ( HBQT_GC_T_QDateTimeEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDateTimeEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDateTimeEdit >( ( QDateTimeEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDateTimeEdit; - p->type = HBQT_TYPE_QDateTimeEdit; - - return p; -} - -HB_FUNC( QT_QDATETIMEEDIT ) -{ - QDateTimeEdit * pObj = NULL; - - pObj = new QDateTimeEdit( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDateTimeEdit( ( void * ) pObj, true ) ); -} - -/* bool calendarPopup () const */ -HB_FUNC( QT_QDATETIMEEDIT_CALENDARPOPUP ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retl( ( p )->calendarPopup() ); -} - -/* QCalendarWidget * calendarWidget () const */ -HB_FUNC( QT_QDATETIMEEDIT_CALENDARWIDGET ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCalendarWidget( ( p )->calendarWidget(), false ) ); -} - -/* void clearMaximumDate () */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->clearMaximumDate(); -} - -/* void clearMaximumDateTime () */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->clearMaximumDateTime(); -} - -/* void clearMaximumTime () */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->clearMaximumTime(); -} - -/* void clearMinimumDate () */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->clearMinimumDate(); -} - -/* void clearMinimumDateTime () */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->clearMinimumDateTime(); -} - -/* void clearMinimumTime () */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->clearMinimumTime(); -} - -/* Section currentSection () const */ -HB_FUNC( QT_QDATETIMEEDIT_CURRENTSECTION ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retni( ( QDateTimeEdit::Section ) ( p )->currentSection() ); -} - -/* int currentSectionIndex () const */ -HB_FUNC( QT_QDATETIMEEDIT_CURRENTSECTIONINDEX ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retni( ( p )->currentSectionIndex() ); -} - -/* QDate date () const */ -HB_FUNC( QT_QDATETIMEEDIT_DATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->date() ), true ) ); -} - -/* QDateTime dateTime () const */ -HB_FUNC( QT_QDATETIMEEDIT_DATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->dateTime() ), true ) ); -} - -/* QString displayFormat () const */ -HB_FUNC( QT_QDATETIMEEDIT_DISPLAYFORMAT ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->displayFormat().toUtf8().data() ); -} - -/* Sections displayedSections () const */ -HB_FUNC( QT_QDATETIMEEDIT_DISPLAYEDSECTIONS ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retni( ( QDateTimeEdit::Sections ) ( p )->displayedSections() ); -} - -/* QDate maximumDate () const */ -HB_FUNC( QT_QDATETIMEEDIT_MAXIMUMDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->maximumDate() ), true ) ); -} - -/* QDateTime maximumDateTime () const */ -HB_FUNC( QT_QDATETIMEEDIT_MAXIMUMDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->maximumDateTime() ), true ) ); -} - -/* QTime maximumTime () const */ -HB_FUNC( QT_QDATETIMEEDIT_MAXIMUMTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->maximumTime() ), true ) ); -} - -/* QDate minimumDate () const */ -HB_FUNC( QT_QDATETIMEEDIT_MINIMUMDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDate( new QDate( ( p )->minimumDate() ), true ) ); -} - -/* QDateTime minimumDateTime () const */ -HB_FUNC( QT_QDATETIMEEDIT_MINIMUMDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->minimumDateTime() ), true ) ); -} - -/* QTime minimumTime () const */ -HB_FUNC( QT_QDATETIMEEDIT_MINIMUMTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->minimumTime() ), true ) ); -} - -/* Section sectionAt ( int index ) const */ -HB_FUNC( QT_QDATETIMEEDIT_SECTIONAT ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retni( ( QDateTimeEdit::Section ) ( p )->sectionAt( hb_parni( 2 ) ) ); -} - -/* int sectionCount () const */ -HB_FUNC( QT_QDATETIMEEDIT_SECTIONCOUNT ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retni( ( p )->sectionCount() ); -} - -/* QString sectionText ( Section section ) const */ -HB_FUNC( QT_QDATETIMEEDIT_SECTIONTEXT ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->sectionText( ( QDateTimeEdit::Section ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* void setCalendarPopup ( bool enable ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETCALENDARPOPUP ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setCalendarPopup( hb_parl( 2 ) ); -} - -/* void setCalendarWidget ( QCalendarWidget * calendarWidget ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETCALENDARWIDGET ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setCalendarWidget( hbqt_par_QCalendarWidget( 2 ) ); -} - -/* void setCurrentSection ( Section section ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETCURRENTSECTION ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setCurrentSection( ( QDateTimeEdit::Section ) hb_parni( 2 ) ); -} - -/* void setCurrentSectionIndex ( int index ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETCURRENTSECTIONINDEX ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setCurrentSectionIndex( hb_parni( 2 ) ); -} - -/* void setDateRange ( const QDate & min, const QDate & max ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATERANGE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setDateRange( *hbqt_par_QDate( 2 ), *hbqt_par_QDate( 3 ) ); -} - -/* void setDateTimeRange ( const QDateTime & min, const QDateTime & max ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATETIMERANGE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setDateTimeRange( *hbqt_par_QDateTime( 2 ), *hbqt_par_QDateTime( 3 ) ); -} - -/* void setDisplayFormat ( const QString & format ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETDISPLAYFORMAT ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setDisplayFormat( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setMaximumDate ( const QDate & max ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETMAXIMUMDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setMaximumDate( *hbqt_par_QDate( 2 ) ); -} - -/* void setMaximumDateTime ( const QDateTime & dt ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETMAXIMUMDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setMaximumDateTime( *hbqt_par_QDateTime( 2 ) ); -} - -/* void setMaximumTime ( const QTime & max ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETMAXIMUMTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setMaximumTime( *hbqt_par_QTime( 2 ) ); -} - -/* void setMinimumDate ( const QDate & min ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETMINIMUMDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setMinimumDate( *hbqt_par_QDate( 2 ) ); -} - -/* void setMinimumDateTime ( const QDateTime & dt ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETMINIMUMDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setMinimumDateTime( *hbqt_par_QDateTime( 2 ) ); -} - -/* void setMinimumTime ( const QTime & min ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETMINIMUMTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setMinimumTime( *hbqt_par_QTime( 2 ) ); -} - -/* void setSelectedSection ( Section section ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETSELECTEDSECTION ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setSelectedSection( ( QDateTimeEdit::Section ) hb_parni( 2 ) ); -} - -/* void setTimeRange ( const QTime & min, const QTime & max ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETTIMERANGE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setTimeRange( *hbqt_par_QTime( 2 ), *hbqt_par_QTime( 3 ) ); -} - -/* void setTimeSpec ( Qt::TimeSpec spec ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETTIMESPEC ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) ); -} - -/* QTime time () const */ -HB_FUNC( QT_QDATETIMEEDIT_TIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTime( new QTime( ( p )->time() ), true ) ); -} - -/* Qt::TimeSpec timeSpec () const */ -HB_FUNC( QT_QDATETIMEEDIT_TIMESPEC ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - hb_retni( ( Qt::TimeSpec ) ( p )->timeSpec() ); -} - -/* void setDate ( const QDate & date ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATE ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setDate( *hbqt_par_QDate( 2 ) ); -} - -/* void setDateTime ( const QDateTime & dateTime ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATETIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setDateTime( *hbqt_par_QDateTime( 2 ) ); -} - -/* void setTime ( const QTime & time ) */ -HB_FUNC( QT_QDATETIMEEDIT_SETTIME ) -{ - QDateTimeEdit * p = hbqt_par_QDateTimeEdit( 1 ); - if( p ) - ( p )->setTime( *hbqt_par_QTime( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp b/harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp deleted file mode 100644 index a17f9c03a6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDesktopServices.cpp +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#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 ) -{ - 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; - - return p; -} - -HB_FUNC( QT_QDESKTOPSERVICES ) -{ - //__HB_RETPTRGC__( 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 deleted file mode 100644 index f43a34399e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDesktopWidget.cpp +++ /dev/null @@ -1,184 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDesktopWidget () - * ~QDesktopWidget () - */ - -typedef struct -{ - QPointer< QDesktopWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDesktopWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QDesktopWidget ) -{ - HBQT_GC_T_QDesktopWidget * p = ( HBQT_GC_T_QDesktopWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDesktopWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDesktopWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDesktopWidget * p = ( HBQT_GC_T_QDesktopWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDesktopWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDesktopWidget >( ( QDesktopWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDesktopWidget; - p->type = HBQT_TYPE_QDesktopWidget; - - return p; -} - -HB_FUNC( QT_QDESKTOPWIDGET ) -{ - QDesktopWidget * pObj = NULL; - - pObj = new QDesktopWidget() ; - - hb_retptrGC( hbqt_gcAllocate_QDesktopWidget( ( void * ) pObj, true ) ); -} - -/* const QRect availableGeometry ( int screen = -1 ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_AVAILABLEGEOMETRY ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->availableGeometry( hb_parnidef( 2, -1 ) ) ), true ) ); -} - -/* const QRect availableGeometry ( const QWidget * widget ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_AVAILABLEGEOMETRY_1 ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->availableGeometry( hbqt_par_QWidget( 2 ) ) ), true ) ); -} - -/* const QRect availableGeometry ( const QPoint & p ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_AVAILABLEGEOMETRY_2 ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->availableGeometry( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* bool isVirtualDesktop () const */ -HB_FUNC( QT_QDESKTOPWIDGET_ISVIRTUALDESKTOP ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retl( ( p )->isVirtualDesktop() ); -} - -/* int numScreens () const */ -HB_FUNC( QT_QDESKTOPWIDGET_NUMSCREENS ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retni( ( p )->numScreens() ); -} - -/* int primaryScreen () const */ -HB_FUNC( QT_QDESKTOPWIDGET_PRIMARYSCREEN ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retni( ( p )->primaryScreen() ); -} - -/* QWidget * screen ( int screen = -1 ) */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREEN ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->screen( hb_parnidef( 2, -1 ) ), false ) ); -} - -/* const QRect screenGeometry ( int screen = -1 ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENGEOMETRY ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->screenGeometry( hb_parnidef( 2, -1 ) ) ), true ) ); -} - -/* const QRect screenGeometry ( const QWidget * widget ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENGEOMETRY_1 ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->screenGeometry( hbqt_par_QWidget( 2 ) ) ), true ) ); -} - -/* const QRect screenGeometry ( const QPoint & p ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENGEOMETRY_2 ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->screenGeometry( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* int screenNumber ( const QWidget * widget = 0 ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENNUMBER ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retni( ( p )->screenNumber( hbqt_par_QWidget( 2 ) ) ); -} - -/* int screenNumber ( const QPoint & point ) const */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENNUMBER_1 ) -{ - QDesktopWidget * p = hbqt_par_QDesktopWidget( 1 ); - if( p ) - hb_retni( ( p )->screenNumber( *hbqt_par_QPoint( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDial.cpp b/harbour/contrib/hbqt/qtgui/g/QDial.cpp deleted file mode 100644 index a53b68b3e1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDial.cpp +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDial ( QWidget * parent = 0 ) - * ~QDial () - */ - -typedef struct -{ - QPointer< QDial > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDial; - -HBQT_GC_FUNC( hbqt_gcRelease_QDial ) -{ - HBQT_GC_T_QDial * p = ( HBQT_GC_T_QDial * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDial * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDial( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDial * p = ( HBQT_GC_T_QDial * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDial ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDial >( ( QDial * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDial; - p->type = HBQT_TYPE_QDial; - - return p; -} - -HB_FUNC( QT_QDIAL ) -{ - QDial * pObj = NULL; - - pObj = new QDial( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDial( ( void * ) pObj, true ) ); -} - -/* int notchSize () const */ -HB_FUNC( QT_QDIAL_NOTCHSIZE ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - hb_retni( ( p )->notchSize() ); -} - -/* qreal notchTarget () const */ -HB_FUNC( QT_QDIAL_NOTCHTARGET ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - hb_retnd( ( p )->notchTarget() ); -} - -/* bool notchesVisible () const */ -HB_FUNC( QT_QDIAL_NOTCHESVISIBLE ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - hb_retl( ( p )->notchesVisible() ); -} - -/* void setNotchTarget ( double target ) */ -HB_FUNC( QT_QDIAL_SETNOTCHTARGET ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - ( p )->setNotchTarget( hb_parnd( 2 ) ); -} - -/* bool wrapping () const */ -HB_FUNC( QT_QDIAL_WRAPPING ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - hb_retl( ( p )->wrapping() ); -} - -/* void setNotchesVisible ( bool visible ) */ -HB_FUNC( QT_QDIAL_SETNOTCHESVISIBLE ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - ( p )->setNotchesVisible( hb_parl( 2 ) ); -} - -/* void setWrapping ( bool on ) */ -HB_FUNC( QT_QDIAL_SETWRAPPING ) -{ - QDial * p = hbqt_par_QDial( 1 ); - if( p ) - ( p )->setWrapping( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QDialog.cpp deleted file mode 100644 index bcb9b5ca82..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDialog.cpp +++ /dev/null @@ -1,172 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum DialogCode { Accepted, Rejected } - */ - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QDialog () - */ - -typedef struct -{ - QPointer< QDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QDialog ) -{ - HBQT_GC_T_QDialog * p = ( HBQT_GC_T_QDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDialog * p = ( HBQT_GC_T_QDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDialog >( ( QDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDialog; - p->type = HBQT_TYPE_QDialog; - - return p; -} - -HB_FUNC( QT_QDIALOG ) -{ - QDialog * pObj = NULL; - - pObj = new QDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDialog( ( void * ) pObj, true ) ); -} - -/* bool isSizeGripEnabled () const */ -HB_FUNC( QT_QDIALOG_ISSIZEGRIPENABLED ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - hb_retl( ( p )->isSizeGripEnabled() ); -} - -/* int result () const */ -HB_FUNC( QT_QDIALOG_RESULT ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - hb_retni( ( p )->result() ); -} - -/* void setModal ( bool modal ) */ -HB_FUNC( QT_QDIALOG_SETMODAL ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->setModal( hb_parl( 2 ) ); -} - -/* void setResult ( int i ) */ -HB_FUNC( QT_QDIALOG_SETRESULT ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->setResult( hb_parni( 2 ) ); -} - -/* void setSizeGripEnabled ( bool ) */ -HB_FUNC( QT_QDIALOG_SETSIZEGRIPENABLED ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->setSizeGripEnabled( hb_parl( 2 ) ); -} - -/* virtual void accept () */ -HB_FUNC( QT_QDIALOG_ACCEPT ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->accept(); -} - -/* virtual void done ( int r ) */ -HB_FUNC( QT_QDIALOG_DONE ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->done( hb_parni( 2 ) ); -} - -/* int exec () */ -HB_FUNC( QT_QDIALOG_EXEC ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - hb_retni( ( p )->exec() ); -} - -/* void open () */ -HB_FUNC( QT_QDIALOG_OPEN ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->open(); -} - -/* virtual void reject () */ -HB_FUNC( QT_QDIALOG_REJECT ) -{ - QDialog * p = hbqt_par_QDialog( 1 ); - if( p ) - ( p )->reject(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp b/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp deleted file mode 100644 index bdd9e18712..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDirModel.cpp +++ /dev/null @@ -1,401 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Roles { FileIconRole, FilePathRole, FileNameRole } - */ - -/* - * Constructed[ 37/37 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const - */ - -#include - -#include - - -/* - * QDirModel ( const QStringList & nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject * parent = 0 ) - * QDirModel ( QObject * parent = 0 ) - * ~QDirModel () - */ - -typedef struct -{ - QPointer< QDirModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDirModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QDirModel ) -{ - HBQT_GC_T_QDirModel * p = ( HBQT_GC_T_QDirModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDirModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDirModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDirModel * p = ( HBQT_GC_T_QDirModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDirModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDirModel >( ( QDirModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDirModel; - p->type = HBQT_TYPE_QDirModel; - - return p; -} - -HB_FUNC( QT_QDIRMODEL ) -{ - QDirModel * pObj = NULL; - - pObj = new QDirModel( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDirModel( ( void * ) pObj, true ) ); -} - -/* virtual int columnCount ( const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QDIRMODEL_COLUMNCOUNT ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retni( ( p )->columnCount( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const */ -HB_FUNC( QT_QDIRMODEL_DATA ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( *hbqt_par_QModelIndex( 2 ), hb_parnidef( 3, Qt::DisplayRole ) ) ), true ) ); -} - -/* virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) */ -HB_FUNC( QT_QDIRMODEL_DROPMIMEDATA ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->dropMimeData( hbqt_par_QMimeData( 2 ), ( Qt::DropAction ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QModelIndex( 6 ) ) ); -} - -/* QIcon fileIcon ( const QModelIndex & index ) const */ -HB_FUNC( QT_QDIRMODEL_FILEICON ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->fileIcon( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* QFileInfo fileInfo ( const QModelIndex & index ) const */ -HB_FUNC( QT_QDIRMODEL_FILEINFO ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFileInfo( new QFileInfo( ( p )->fileInfo( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* QString fileName ( const QModelIndex & index ) const */ -HB_FUNC( QT_QDIRMODEL_FILENAME ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName( *hbqt_par_QModelIndex( 2 ) ).toUtf8().data() ); -} - -/* QString filePath ( const QModelIndex & index ) const */ -HB_FUNC( QT_QDIRMODEL_FILEPATH ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->filePath( *hbqt_par_QModelIndex( 2 ) ).toUtf8().data() ); -} - -/* QDir::Filters filter () const */ -HB_FUNC( QT_QDIRMODEL_FILTER ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retni( ( QDir::Filters ) ( p )->filter() ); -} - -/* virtual Qt::ItemFlags flags ( const QModelIndex & index ) const */ -HB_FUNC( QT_QDIRMODEL_FLAGS ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QDIRMODEL_HASCHILDREN ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->hasChildren( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* virtual QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const */ -HB_FUNC( QT_QDIRMODEL_HEADERDATA ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->headerData( hb_parni( 2 ), ( Qt::Orientation ) hb_parni( 3 ), hb_parnidef( 4, Qt::DisplayRole ) ) ), true ) ); -} - -/* QFileIconProvider * iconProvider () const */ -HB_FUNC( QT_QDIRMODEL_ICONPROVIDER ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFileIconProvider( ( p )->iconProvider(), false ) ); -} - -/* virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QDIRMODEL_INDEX ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ), true ) ); -} - -/* QModelIndex index ( const QString & path, int column = 0 ) const */ -HB_FUNC( QT_QDIRMODEL_INDEX_1 ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* bool isDir ( const QModelIndex & index ) const */ -HB_FUNC( QT_QDIRMODEL_ISDIR ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->isDir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QDIRMODEL_ISREADONLY ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* bool lazyChildCount () const */ -HB_FUNC( QT_QDIRMODEL_LAZYCHILDCOUNT ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->lazyChildCount() ); -} - -/* virtual QStringList mimeTypes () const */ -HB_FUNC( QT_QDIRMODEL_MIMETYPES ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->mimeTypes() ), true ) ); -} - -/* QModelIndex mkdir ( const QModelIndex & parent, const QString & name ) */ -HB_FUNC( QT_QDIRMODEL_MKDIR ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mkdir( *hbqt_par_QModelIndex( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QStringList nameFilters () const */ -HB_FUNC( QT_QDIRMODEL_NAMEFILTERS ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->nameFilters() ), true ) ); -} - -/* virtual QModelIndex parent ( const QModelIndex & child ) const */ -HB_FUNC( QT_QDIRMODEL_PARENT ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->parent( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* bool remove ( const QModelIndex & index ) */ -HB_FUNC( QT_QDIRMODEL_REMOVE ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->remove( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* bool resolveSymlinks () const */ -HB_FUNC( QT_QDIRMODEL_RESOLVESYMLINKS ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->resolveSymlinks() ); -} - -/* bool rmdir ( const QModelIndex & index ) */ -HB_FUNC( QT_QDIRMODEL_RMDIR ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->rmdir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QDIRMODEL_ROWCOUNT ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retni( ( p )->rowCount( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) */ -HB_FUNC( QT_QDIRMODEL_SETDATA ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retl( ( p )->setData( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QVariant( 3 ), hb_parnidef( 4, Qt::EditRole ) ) ); -} - -/* void setFilter ( QDir::Filters filters ) */ -HB_FUNC( QT_QDIRMODEL_SETFILTER ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* void setIconProvider ( QFileIconProvider * provider ) */ -HB_FUNC( QT_QDIRMODEL_SETICONPROVIDER ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setIconProvider( hbqt_par_QFileIconProvider( 2 ) ); -} - -/* void setLazyChildCount ( bool enable ) */ -HB_FUNC( QT_QDIRMODEL_SETLAZYCHILDCOUNT ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setLazyChildCount( hb_parl( 2 ) ); -} - -/* void setNameFilters ( const QStringList & filters ) */ -HB_FUNC( QT_QDIRMODEL_SETNAMEFILTERS ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* void setReadOnly ( bool enable ) */ -HB_FUNC( QT_QDIRMODEL_SETREADONLY ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setResolveSymlinks ( bool enable ) */ -HB_FUNC( QT_QDIRMODEL_SETRESOLVESYMLINKS ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setResolveSymlinks( hb_parl( 2 ) ); -} - -/* void setSorting ( QDir::SortFlags sort ) */ -HB_FUNC( QT_QDIRMODEL_SETSORTING ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->setSorting( ( QDir::SortFlags ) hb_parni( 2 ) ); -} - -/* virtual void sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) */ -HB_FUNC( QT_QDIRMODEL_SORT ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->sort( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* QDir::SortFlags sorting () const */ -HB_FUNC( QT_QDIRMODEL_SORTING ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retni( ( QDir::SortFlags ) ( p )->sorting() ); -} - -/* virtual Qt::DropActions supportedDropActions () const */ -HB_FUNC( QT_QDIRMODEL_SUPPORTEDDROPACTIONS ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - hb_retni( ( Qt::DropActions ) ( p )->supportedDropActions() ); -} - -/* void refresh ( const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QDIRMODEL_REFRESH ) -{ - QDirModel * p = hbqt_par_QDirModel( 1 ); - if( p ) - ( p )->refresh( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp deleted file mode 100644 index 10ae745f88..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDockWidget.cpp +++ /dev/null @@ -1,190 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum DockWidgetFeature { DockWidgetClosable, DockWidgetMovable, DockWidgetFloatable, DockWidgetVerticalTitleBar, AllDockWidgetFeatures, NoDockWidgetFeatures } - * flags DockWidgetFeatures - */ - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDockWidget ( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * QDockWidget ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QDockWidget () - */ - -typedef struct -{ - QPointer< QDockWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDockWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QDockWidget ) -{ - HBQT_GC_T_QDockWidget * p = ( HBQT_GC_T_QDockWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDockWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDockWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDockWidget * p = ( HBQT_GC_T_QDockWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDockWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDockWidget >( ( QDockWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDockWidget; - p->type = HBQT_TYPE_QDockWidget; - - return p; -} - -HB_FUNC( QT_QDOCKWIDGET ) -{ - QDockWidget * pObj = NULL; - - pObj = new QDockWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDockWidget( ( void * ) pObj, true ) ); -} - -/* Qt::DockWidgetAreas allowedAreas () const */ -HB_FUNC( QT_QDOCKWIDGET_ALLOWEDAREAS ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retni( ( Qt::DockWidgetAreas ) ( p )->allowedAreas() ); -} - -/* DockWidgetFeatures features () const */ -HB_FUNC( QT_QDOCKWIDGET_FEATURES ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retni( ( QDockWidget::DockWidgetFeatures ) ( p )->features() ); -} - -/* bool isAreaAllowed ( Qt::DockWidgetArea area ) const */ -HB_FUNC( QT_QDOCKWIDGET_ISAREAALLOWED ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retl( ( p )->isAreaAllowed( ( Qt::DockWidgetArea ) hb_parni( 2 ) ) ); -} - -/* bool isFloating () const */ -HB_FUNC( QT_QDOCKWIDGET_ISFLOATING ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retl( ( p )->isFloating() ); -} - -/* void setAllowedAreas ( Qt::DockWidgetAreas areas ) */ -HB_FUNC( QT_QDOCKWIDGET_SETALLOWEDAREAS ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - ( p )->setAllowedAreas( ( Qt::DockWidgetAreas ) hb_parni( 2 ) ); -} - -/* void setFeatures ( DockWidgetFeatures features ) */ -HB_FUNC( QT_QDOCKWIDGET_SETFEATURES ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - ( p )->setFeatures( ( QDockWidget::DockWidgetFeatures ) hb_parni( 2 ) ); -} - -/* void setFloating ( bool floating ) */ -HB_FUNC( QT_QDOCKWIDGET_SETFLOATING ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - ( p )->setFloating( hb_parl( 2 ) ); -} - -/* void setTitleBarWidget ( QWidget * widget ) */ -HB_FUNC( QT_QDOCKWIDGET_SETTITLEBARWIDGET ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - ( p )->setTitleBarWidget( hbqt_par_QWidget( 2 ) ); -} - -/* void setWidget ( QWidget * widget ) */ -HB_FUNC( QT_QDOCKWIDGET_SETWIDGET ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - ( p )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* QWidget * titleBarWidget () const */ -HB_FUNC( QT_QDOCKWIDGET_TITLEBARWIDGET ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->titleBarWidget(), false ) ); -} - -/* QAction * toggleViewAction () const */ -HB_FUNC( QT_QDOCKWIDGET_TOGGLEVIEWACTION ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->toggleViewAction(), false ) ); -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QDOCKWIDGET_WIDGET ) -{ - QDockWidget * p = hbqt_par_QDockWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp deleted file mode 100644 index 5f28ebcc07..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDoubleSpinBox.cpp +++ /dev/null @@ -1,244 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 18/18 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDoubleSpinBox ( QWidget * parent = 0 ) - * ~QDoubleSpinBox () - */ - -typedef struct -{ - QPointer< QDoubleSpinBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDoubleSpinBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QDoubleSpinBox ) -{ - HBQT_GC_T_QDoubleSpinBox * p = ( HBQT_GC_T_QDoubleSpinBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDoubleSpinBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDoubleSpinBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDoubleSpinBox * p = ( HBQT_GC_T_QDoubleSpinBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDoubleSpinBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDoubleSpinBox >( ( QDoubleSpinBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDoubleSpinBox; - p->type = HBQT_TYPE_QDoubleSpinBox; - - return p; -} - -HB_FUNC( QT_QDOUBLESPINBOX ) -{ - QDoubleSpinBox * pObj = NULL; - - pObj = new QDoubleSpinBox( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDoubleSpinBox( ( void * ) pObj, true ) ); -} - -/* QString cleanText () const */ -HB_FUNC( QT_QDOUBLESPINBOX_CLEANTEXT ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->cleanText().toUtf8().data() ); -} - -/* int decimals () const */ -HB_FUNC( QT_QDOUBLESPINBOX_DECIMALS ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retni( ( p )->decimals() ); -} - -/* double maximum () const */ -HB_FUNC( QT_QDOUBLESPINBOX_MAXIMUM ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retnd( ( p )->maximum() ); -} - -/* double minimum () const */ -HB_FUNC( QT_QDOUBLESPINBOX_MINIMUM ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retnd( ( p )->minimum() ); -} - -/* QString prefix () const */ -HB_FUNC( QT_QDOUBLESPINBOX_PREFIX ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->prefix().toUtf8().data() ); -} - -/* void setDecimals ( int prec ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETDECIMALS ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - ( p )->setDecimals( hb_parni( 2 ) ); -} - -/* void setMaximum ( double max ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETMAXIMUM ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - ( p )->setMaximum( hb_parnd( 2 ) ); -} - -/* void setMinimum ( double min ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETMINIMUM ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - ( p )->setMinimum( hb_parnd( 2 ) ); -} - -/* void setPrefix ( const QString & prefix ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETPREFIX ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - { - void * pText; - ( p )->setPrefix( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setRange ( double minimum, double maximum ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETRANGE ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - ( p )->setRange( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setSingleStep ( double val ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETSINGLESTEP ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - ( p )->setSingleStep( hb_parnd( 2 ) ); -} - -/* void setSuffix ( const QString & suffix ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETSUFFIX ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - { - void * pText; - ( p )->setSuffix( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* double singleStep () const */ -HB_FUNC( QT_QDOUBLESPINBOX_SINGLESTEP ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retnd( ( p )->singleStep() ); -} - -/* QString suffix () const */ -HB_FUNC( QT_QDOUBLESPINBOX_SUFFIX ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->suffix().toUtf8().data() ); -} - -/* virtual QString textFromValue ( double value ) const */ -HB_FUNC( QT_QDOUBLESPINBOX_TEXTFROMVALUE ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->textFromValue( hb_parnd( 2 ) ).toUtf8().data() ); -} - -/* double value () const */ -HB_FUNC( QT_QDOUBLESPINBOX_VALUE ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - hb_retnd( ( p )->value() ); -} - -/* virtual double valueFromText ( const QString & text ) const */ -HB_FUNC( QT_QDOUBLESPINBOX_VALUEFROMTEXT ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - { - void * pText; - hb_retnd( ( p )->valueFromText( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void setValue ( double val ) */ -HB_FUNC( QT_QDOUBLESPINBOX_SETVALUE ) -{ - QDoubleSpinBox * p = hbqt_par_QDoubleSpinBox( 1 ); - if( p ) - ( p )->setValue( hb_parnd( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp deleted file mode 100644 index 10c885306a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp +++ /dev/null @@ -1,176 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum State { Invalid, Intermediate, Acceptable } - * enum Notation { StandardNotation, ScientificNotation } - */ - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //virtual QValidator::State validate ( const QString & input, const int & pos ) const - */ - -#include - -#include - - -/* QDoubleValidator ( QObject * parent ) - * QDoubleValidator ( double bottom, double top, int decimals, QObject * parent ) - * ~QDoubleValidator () - */ - -typedef struct -{ - QPointer< QDoubleValidator > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDoubleValidator; - -HBQT_GC_FUNC( hbqt_gcRelease_QDoubleValidator ) -{ - HBQT_GC_T_QDoubleValidator * p = ( HBQT_GC_T_QDoubleValidator * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDoubleValidator * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDoubleValidator( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDoubleValidator * p = ( HBQT_GC_T_QDoubleValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDoubleValidator ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDoubleValidator >( ( QDoubleValidator * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDoubleValidator; - p->type = HBQT_TYPE_QDoubleValidator; - - return p; -} - -HB_FUNC( QT_QDOUBLEVALIDATOR ) -{ - QDoubleValidator * pObj = NULL; - - if( hb_pcount() >= 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = new QDoubleValidator( hb_parnd( 1 ), hb_parnd( 2 ), hb_parni( 3 ), HB_ISPOINTER( 4 ) ? hbqt_par_QObject( 4 ) : 0 ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QDoubleValidator( hbqt_par_QObject( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QDoubleValidator( ( void * ) pObj, true ) ); -} - -/* double bottom () const */ -HB_FUNC( QT_QDOUBLEVALIDATOR_BOTTOM ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - hb_retnd( ( p )->bottom() ); -} - -/* int decimals () const */ -HB_FUNC( QT_QDOUBLEVALIDATOR_DECIMALS ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - hb_retni( ( p )->decimals() ); -} - -/* Notation notation () const */ -HB_FUNC( QT_QDOUBLEVALIDATOR_NOTATION ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - hb_retni( ( QDoubleValidator::Notation ) ( p )->notation() ); -} - -/* void setBottom ( double ) */ -HB_FUNC( QT_QDOUBLEVALIDATOR_SETBOTTOM ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - ( p )->setBottom( hb_parnd( 2 ) ); -} - -/* void setDecimals ( int ) */ -HB_FUNC( QT_QDOUBLEVALIDATOR_SETDECIMALS ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - ( p )->setDecimals( hb_parni( 2 ) ); -} - -/* void setNotation ( Notation ) */ -HB_FUNC( QT_QDOUBLEVALIDATOR_SETNOTATION ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - ( p )->setNotation( ( QDoubleValidator::Notation ) hb_parni( 2 ) ); -} - -/* virtual void setRange ( double minimum, double maximum, int decimals = 0 ) */ -HB_FUNC( QT_QDOUBLEVALIDATOR_SETRANGE ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - ( p )->setRange( hb_parnd( 2 ), hb_parnd( 3 ), hb_parni( 4 ) ); -} - -/* void setTop ( double ) */ -HB_FUNC( QT_QDOUBLEVALIDATOR_SETTOP ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - ( p )->setTop( hb_parnd( 2 ) ); -} - -/* double top () const */ -HB_FUNC( QT_QDOUBLEVALIDATOR_TOP ) -{ - QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); - if( p ) - hb_retnd( ( p )->top() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDrag.cpp b/harbour/contrib/hbqt/qtgui/g/QDrag.cpp deleted file mode 100644 index a527b98b4f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDrag.cpp +++ /dev/null @@ -1,181 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 11/11 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QDrag ( QWidget * dragSource ) - * ~QDrag () - */ - -typedef struct -{ - QPointer< QDrag > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDrag; - -HBQT_GC_FUNC( hbqt_gcRelease_QDrag ) -{ - HBQT_GC_T_QDrag * p = ( HBQT_GC_T_QDrag * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QDrag * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QDrag( void * pObj, bool bNew ) -{ - HBQT_GC_T_QDrag * p = ( HBQT_GC_T_QDrag * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDrag ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QDrag >( ( QDrag * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QDrag; - p->type = HBQT_TYPE_QDrag; - - return p; -} - -HB_FUNC( QT_QDRAG ) -{ - QDrag * pObj = NULL; - - pObj = new QDrag( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QDrag( ( void * ) pObj, true ) ); -} - -/* Qt::DropAction exec ( Qt::DropActions supportedActions = Qt::MoveAction ) */ -HB_FUNC( QT_QDRAG_EXEC ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retni( ( Qt::DropAction ) ( p )->exec( ( HB_ISNUM( 2 ) ? ( Qt::DropActions ) hb_parni( 2 ) : ( Qt::DropActions ) Qt::MoveAction ) ) ); -} - -/* Qt::DropAction exec ( Qt::DropActions supportedActions, Qt::DropAction defaultDropAction ) */ -HB_FUNC( QT_QDRAG_EXEC_1 ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retni( ( Qt::DropAction ) ( p )->exec( ( Qt::DropActions ) hb_parni( 2 ), ( Qt::DropAction ) hb_parni( 3 ) ) ); -} - -/* QPoint hotSpot () const */ -HB_FUNC( QT_QDRAG_HOTSPOT ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->hotSpot() ), true ) ); -} - -/* QMimeData * mimeData () const */ -HB_FUNC( QT_QDRAG_MIMEDATA ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMimeData( ( p )->mimeData(), false ) ); -} - -/* QPixmap pixmap () const */ -HB_FUNC( QT_QDRAG_PIXMAP ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); -} - -/* void setDragCursor ( const QPixmap & cursor, Qt::DropAction action ) */ -HB_FUNC( QT_QDRAG_SETDRAGCURSOR ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - ( p )->setDragCursor( *hbqt_par_QPixmap( 2 ), ( Qt::DropAction ) hb_parni( 3 ) ); -} - -/* void setHotSpot ( const QPoint & hotspot ) */ -HB_FUNC( QT_QDRAG_SETHOTSPOT ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - ( p )->setHotSpot( *hbqt_par_QPoint( 2 ) ); -} - -/* void setMimeData ( QMimeData * data ) [*D=1*] */ -HB_FUNC( QT_QDRAG_SETMIMEDATA ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setMimeData( hbqt_par_QMimeData( 2 ) ); - } -} - -/* void setPixmap ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QDRAG_SETPIXMAP ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - ( p )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* QWidget * source () const */ -HB_FUNC( QT_QDRAG_SOURCE ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->source(), false ) ); -} - -/* QWidget * target () const */ -HB_FUNC( QT_QDRAG_TARGET ) -{ - QDrag * p = hbqt_par_QDrag( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->target(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp deleted file mode 100644 index 77ca0b17d3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDragEnterEvent.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QDragEnterEvent ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - */ - -typedef struct -{ - QDragEnterEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDragEnterEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QDragEnterEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDragEnterEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDragEnterEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDragEnterEvent; - p->type = HBQT_TYPE_QDragEnterEvent; - - return p; -} - -HB_FUNC( QT_QDRAGENTEREVENT ) -{ - -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp deleted file mode 100644 index 4974c3f29c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDragLeaveEvent.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QDragLeaveEvent () - */ - -typedef struct -{ - QDragLeaveEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDragLeaveEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QDragLeaveEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDragLeaveEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDragLeaveEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDragLeaveEvent; - p->type = HBQT_TYPE_QDragLeaveEvent; - - return p; -} - -HB_FUNC( QT_QDRAGLEAVEEVENT ) -{ - // __HB_RETPTRGC__( new QDragLeaveEvent() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp deleted file mode 100644 index 6c5797f9b3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDragMoveEvent.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDragMoveEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = DragMove ) - * ~QDragMoveEvent () - */ - -typedef struct -{ - QDragMoveEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDragMoveEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QDragMoveEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDragMoveEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDragMoveEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDragMoveEvent; - p->type = HBQT_TYPE_QDragMoveEvent; - - return p; -} - -HB_FUNC( QT_QDRAGMOVEEVENT ) -{ - // __HB_RETPTRGC__( new QDragMoveEvent() ); -} - -/* void accept ( const QRect & rectangle ) */ -HB_FUNC( QT_QDRAGMOVEEVENT_ACCEPT ) -{ - QDragMoveEvent * p = hbqt_par_QDragMoveEvent( 1 ); - if( p ) - ( p )->accept( *hbqt_par_QRect( 2 ) ); -} - -/* void accept () */ -HB_FUNC( QT_QDRAGMOVEEVENT_ACCEPT_1 ) -{ - QDragMoveEvent * p = hbqt_par_QDragMoveEvent( 1 ); - if( p ) - ( p )->accept(); -} - -/* QRect answerRect () const */ -HB_FUNC( QT_QDRAGMOVEEVENT_ANSWERRECT ) -{ - QDragMoveEvent * p = hbqt_par_QDragMoveEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->answerRect() ), true ) ); -} - -/* void ignore ( const QRect & rectangle ) */ -HB_FUNC( QT_QDRAGMOVEEVENT_IGNORE ) -{ - QDragMoveEvent * p = hbqt_par_QDragMoveEvent( 1 ); - if( p ) - ( p )->ignore( *hbqt_par_QRect( 2 ) ); -} - -/* void ignore () */ -HB_FUNC( QT_QDRAGMOVEEVENT_IGNORE_1 ) -{ - QDragMoveEvent * p = hbqt_par_QDragMoveEvent( 1 ); - if( p ) - ( p )->ignore(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp deleted file mode 100644 index d942b1f954..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QDropEvent.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QDropEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop ) - */ - -typedef struct -{ - QDropEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QDropEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QDropEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QDropEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QDropEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QDropEvent; - p->type = HBQT_TYPE_QDropEvent; - - return p; -} - -HB_FUNC( QT_QDROPEVENT ) -{ - // __HB_RETPTRGC__( new QDropEvent() ); -} - -/* void acceptProposedAction () */ -HB_FUNC( QT_QDROPEVENT_ACCEPTPROPOSEDACTION ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - ( p )->acceptProposedAction(); -} - -/* Qt::DropAction dropAction () const */ -HB_FUNC( QT_QDROPEVENT_DROPACTION ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::DropAction ) ( p )->dropAction() ); -} - -/* Qt::KeyboardModifiers keyboardModifiers () const */ -HB_FUNC( QT_QDROPEVENT_KEYBOARDMODIFIERS ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->keyboardModifiers() ); -} - -/* const QMimeData * mimeData () const */ -HB_FUNC( QT_QDROPEVENT_MIMEDATA ) -{ - hb_retptrGC( hbqt_gcAllocate_QMimeData( ( void* ) hbqt_par_QDropEvent( 1 )->mimeData(), false ) ); -} - -/* Qt::MouseButtons mouseButtons () const */ -HB_FUNC( QT_QDROPEVENT_MOUSEBUTTONS ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->mouseButtons() ); -} - -/* const QPoint & pos () const */ -HB_FUNC( QT_QDROPEVENT_POS ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* Qt::DropActions possibleActions () const */ -HB_FUNC( QT_QDROPEVENT_POSSIBLEACTIONS ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::DropActions ) ( p )->possibleActions() ); -} - -/* Qt::DropAction proposedAction () const */ -HB_FUNC( QT_QDROPEVENT_PROPOSEDACTION ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::DropAction ) ( p )->proposedAction() ); -} - -/* void setDropAction ( Qt::DropAction action ) */ -HB_FUNC( QT_QDROPEVENT_SETDROPACTION ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - ( p )->setDropAction( ( Qt::DropAction ) hb_parni( 2 ) ); -} - -/* QWidget * source () const */ -HB_FUNC( QT_QDROPEVENT_SOURCE ) -{ - QDropEvent * p = hbqt_par_QDropEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->source(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp b/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp deleted file mode 100644 index a97db26156..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QErrorMessage.cpp +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QErrorMessage ( QWidget * parent = 0 ) - * ~QErrorMessage () - */ - -typedef struct -{ - QPointer< QErrorMessage > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QErrorMessage; - -HBQT_GC_FUNC( hbqt_gcRelease_QErrorMessage ) -{ - HBQT_GC_T_QErrorMessage * p = ( HBQT_GC_T_QErrorMessage * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QErrorMessage * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QErrorMessage( void * pObj, bool bNew ) -{ - HBQT_GC_T_QErrorMessage * p = ( HBQT_GC_T_QErrorMessage * ) hb_gcAllocate( sizeof( HBQT_GC_T_QErrorMessage ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QErrorMessage >( ( QErrorMessage * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QErrorMessage; - p->type = HBQT_TYPE_QErrorMessage; - - return p; -} - -HB_FUNC( QT_QERRORMESSAGE ) -{ - QErrorMessage * pObj = NULL; - - pObj = new QErrorMessage( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QErrorMessage( ( void * ) pObj, true ) ); -} - -/* void showMessage ( const QString & message ) */ -HB_FUNC( QT_QERRORMESSAGE_SHOWMESSAGE ) -{ - QErrorMessage * p = hbqt_par_QErrorMessage( 1 ); - if( p ) - { - void * pText; - ( p )->showMessage( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void showMessage ( const QString & message, const QString & type ) */ -HB_FUNC( QT_QERRORMESSAGE_SHOWMESSAGE_1 ) -{ - QErrorMessage * p = hbqt_par_QErrorMessage( 1 ); - if( p ) - { - void * pText; - ( p )->showMessage( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp deleted file mode 100644 index 6508b150d7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFileDialog.cpp +++ /dev/null @@ -1,515 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum AcceptMode { AcceptOpen, AcceptSave } - * enum DialogLabel { LookIn, FileName, FileType, Accept, Reject } - * enum FileMode { AnyFile, ExistingFile, Directory, ExistingFiles, DirectoryOnly } - * enum Option { ShowDirsOnly, DontResolveSymlinks, DontConfirmOverwrite, DontUseNativeDialog, ..., DontUseSheet } - * flags Options - * enum ViewMode { Detail, List } - */ - -/* - * Constructed[ 46/47 [ 97.87% ] ] - * - * *** Unconvered Prototypes *** - * - * void setSidebarUrls ( const QList & urls ) - * - * *** Commented out protostypes *** - * - * // void open ( QObject * receiver, const char * member ) - * //QString getOpenFileName ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 ) - * //QStringList getOpenFileNames ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 ) - * //QString getSaveFileName ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 ) - */ - -#include - -#include -#include - -/* - * QFileDialog ( QWidget * parent, Qt::WindowFlags flags ) - * QFileDialog ( QWidget * parent = 0, const QString & caption = QString(), const QString & directory = QString(), const QString & filter = QString() ) - * ~QFileDialog () - */ - -typedef struct -{ - QPointer< QFileDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFileDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QFileDialog ) -{ - HBQT_GC_T_QFileDialog * p = ( HBQT_GC_T_QFileDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFileDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFileDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFileDialog * p = ( HBQT_GC_T_QFileDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFileDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFileDialog >( ( QFileDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFileDialog; - p->type = HBQT_TYPE_QFileDialog; - - return p; -} - -HB_FUNC( QT_QFILEDIALOG ) -{ - QFileDialog * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFileDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QFileDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - } - else - { - pObj = new QFileDialog() ; - } - - hb_retptrGC( hbqt_gcAllocate_QFileDialog( ( void * ) pObj, true ) ); -} - -/* AcceptMode acceptMode () const */ -HB_FUNC( QT_QFILEDIALOG_ACCEPTMODE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retni( ( QFileDialog::AcceptMode ) ( p )->acceptMode() ); -} - -/* bool confirmOverwrite () const */ -HB_FUNC( QT_QFILEDIALOG_CONFIRMOVERWRITE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retl( ( p )->confirmOverwrite() ); -} - -/* QString defaultSuffix () const */ -HB_FUNC( QT_QFILEDIALOG_DEFAULTSUFFIX ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->defaultSuffix().toUtf8().data() ); -} - -/* QDir directory () const */ -HB_FUNC( QT_QFILEDIALOG_DIRECTORY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->directory() ), true ) ); -} - -/* FileMode fileMode () const */ -HB_FUNC( QT_QFILEDIALOG_FILEMODE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retni( ( QFileDialog::FileMode ) ( p )->fileMode() ); -} - -/* QDir::Filters filter () const */ -HB_FUNC( QT_QFILEDIALOG_FILTER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retni( ( QDir::Filters ) ( p )->filter() ); -} - -/* QStringList history () const */ -HB_FUNC( QT_QFILEDIALOG_HISTORY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->history() ), true ) ); -} - -/* QFileIconProvider * iconProvider () const */ -HB_FUNC( QT_QFILEDIALOG_ICONPROVIDER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFileIconProvider( ( p )->iconProvider(), false ) ); -} - -/* bool isNameFilterDetailsVisible () const */ -HB_FUNC( QT_QFILEDIALOG_ISNAMEFILTERDETAILSVISIBLE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retl( ( p )->isNameFilterDetailsVisible() ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QFILEDIALOG_ISREADONLY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* QAbstractItemDelegate * itemDelegate () const */ -HB_FUNC( QT_QFILEDIALOG_ITEMDELEGATE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemDelegate( ( p )->itemDelegate(), false ) ); -} - -/* QString labelText ( DialogLabel label ) const */ -HB_FUNC( QT_QFILEDIALOG_LABELTEXT ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->labelText( ( QFileDialog::DialogLabel ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QStringList nameFilters () const */ -HB_FUNC( QT_QFILEDIALOG_NAMEFILTERS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->nameFilters() ), true ) ); -} - -/* Options options () const */ -HB_FUNC( QT_QFILEDIALOG_OPTIONS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retni( ( QFileDialog::Options ) ( p )->options() ); -} - -/* QAbstractProxyModel * proxyModel () const */ -HB_FUNC( QT_QFILEDIALOG_PROXYMODEL ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractProxyModel( ( p )->proxyModel(), false ) ); -} - -/* bool resolveSymlinks () const */ -HB_FUNC( QT_QFILEDIALOG_RESOLVESYMLINKS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retl( ( p )->resolveSymlinks() ); -} - -/* bool restoreState ( const QByteArray & state ) */ -HB_FUNC( QT_QFILEDIALOG_RESTORESTATE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retl( ( p )->restoreState( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* QByteArray saveState () const */ -HB_FUNC( QT_QFILEDIALOG_SAVESTATE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->saveState() ), true ) ); -} - -/* void selectFile ( const QString & filename ) */ -HB_FUNC( QT_QFILEDIALOG_SELECTFILE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - ( p )->selectFile( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void selectNameFilter ( const QString & filter ) */ -HB_FUNC( QT_QFILEDIALOG_SELECTNAMEFILTER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - ( p )->selectNameFilter( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QStringList selectedFiles () const */ -HB_FUNC( QT_QFILEDIALOG_SELECTEDFILES ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->selectedFiles() ), true ) ); -} - -/* QString selectedNameFilter () const */ -HB_FUNC( QT_QFILEDIALOG_SELECTEDNAMEFILTER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->selectedNameFilter().toUtf8().data() ); -} - -/* void setAcceptMode ( AcceptMode mode ) */ -HB_FUNC( QT_QFILEDIALOG_SETACCEPTMODE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setAcceptMode( ( QFileDialog::AcceptMode ) hb_parni( 2 ) ); -} - -/* void setConfirmOverwrite ( bool enabled ) */ -HB_FUNC( QT_QFILEDIALOG_SETCONFIRMOVERWRITE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setConfirmOverwrite( hb_parl( 2 ) ); -} - -/* void setDefaultSuffix ( const QString & suffix ) */ -HB_FUNC( QT_QFILEDIALOG_SETDEFAULTSUFFIX ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setDefaultSuffix( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setDirectory ( const QString & directory ) */ -HB_FUNC( QT_QFILEDIALOG_SETDIRECTORY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setDirectory( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setDirectory ( const QDir & directory ) */ -HB_FUNC( QT_QFILEDIALOG_SETDIRECTORY_1 ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setDirectory( *hbqt_par_QDir( 2 ) ); -} - -/* void setFileMode ( FileMode mode ) */ -HB_FUNC( QT_QFILEDIALOG_SETFILEMODE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setFileMode( ( QFileDialog::FileMode ) hb_parni( 2 ) ); -} - -/* void setFilter ( QDir::Filters filters ) */ -HB_FUNC( QT_QFILEDIALOG_SETFILTER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* void setHistory ( const QStringList & paths ) */ -HB_FUNC( QT_QFILEDIALOG_SETHISTORY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setHistory( *hbqt_par_QStringList( 2 ) ); -} - -/* void setIconProvider ( QFileIconProvider * provider ) */ -HB_FUNC( QT_QFILEDIALOG_SETICONPROVIDER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setIconProvider( hbqt_par_QFileIconProvider( 2 ) ); -} - -/* void setItemDelegate ( QAbstractItemDelegate * delegate ) */ -HB_FUNC( QT_QFILEDIALOG_SETITEMDELEGATE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) ); -} - -/* void setLabelText ( DialogLabel label, const QString & text ) */ -HB_FUNC( QT_QFILEDIALOG_SETLABELTEXT ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setLabelText( ( QFileDialog::DialogLabel ) hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setNameFilter ( const QString & filter ) */ -HB_FUNC( QT_QFILEDIALOG_SETNAMEFILTER ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setNameFilter( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setNameFilterDetailsVisible ( bool enabled ) */ -HB_FUNC( QT_QFILEDIALOG_SETNAMEFILTERDETAILSVISIBLE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setNameFilterDetailsVisible( hb_parl( 2 ) ); -} - -/* void setNameFilters ( const QStringList & filters ) */ -HB_FUNC( QT_QFILEDIALOG_SETNAMEFILTERS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* void setOption ( Option option, bool on = true ) */ -HB_FUNC( QT_QFILEDIALOG_SETOPTION ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setOption( ( QFileDialog::Option ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( Options options ) */ -HB_FUNC( QT_QFILEDIALOG_SETOPTIONS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setOptions( ( QFileDialog::Options ) hb_parni( 2 ) ); -} - -/* void setProxyModel ( QAbstractProxyModel * proxyModel ) */ -HB_FUNC( QT_QFILEDIALOG_SETPROXYMODEL ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setProxyModel( hbqt_par_QAbstractProxyModel( 2 ) ); -} - -/* void setReadOnly ( bool enabled ) */ -HB_FUNC( QT_QFILEDIALOG_SETREADONLY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setResolveSymlinks ( bool enabled ) */ -HB_FUNC( QT_QFILEDIALOG_SETRESOLVESYMLINKS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setResolveSymlinks( hb_parl( 2 ) ); -} - -/* void setViewMode ( ViewMode mode ) */ -HB_FUNC( QT_QFILEDIALOG_SETVIEWMODE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - ( p )->setViewMode( ( QFileDialog::ViewMode ) hb_parni( 2 ) ); -} - -/* QList sidebarUrls () const */ -HB_FUNC( QT_QFILEDIALOG_SIDEBARURLS ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->sidebarUrls() ), true ) ); -} - -/* bool testOption ( Option option ) const */ -HB_FUNC( QT_QFILEDIALOG_TESTOPTION ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QFileDialog::Option ) hb_parni( 2 ) ) ); -} - -/* ViewMode viewMode () const */ -HB_FUNC( QT_QFILEDIALOG_VIEWMODE ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - hb_retni( ( QFileDialog::ViewMode ) ( p )->viewMode() ); -} - -/* QString getExistingDirectory ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), Options options = ShowDirsOnly ) */ -HB_FUNC( QT_QFILEDIALOG_GETEXISTINGDIRECTORY ) -{ - QFileDialog * p = hbqt_par_QFileDialog( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->getExistingDirectory( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISNUM( 5 ) ? ( QFileDialog::Options ) hb_parni( 5 ) : ( QFileDialog::Options ) QFileDialog::ShowDirsOnly ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp b/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp deleted file mode 100644 index 04bec85462..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFileIconProvider.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum IconType { Computer, Desktop, Trashcan, Network, ..., File } - */ - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QFileIconProvider () - * virtual ~QFileIconProvider () - */ - -typedef struct -{ - QFileIconProvider * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFileIconProvider; - -HBQT_GC_FUNC( hbqt_gcRelease_QFileIconProvider ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFileIconProvider * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFileIconProvider( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFileIconProvider * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFileIconProvider; - p->type = HBQT_TYPE_QFileIconProvider; - - return p; -} - -HB_FUNC( QT_QFILEICONPROVIDER ) -{ - QFileIconProvider * pObj = NULL; - - pObj = new QFileIconProvider() ; - - hb_retptrGC( hbqt_gcAllocate_QFileIconProvider( ( void * ) pObj, true ) ); -} - -/* virtual QIcon icon ( IconType type ) const */ -HB_FUNC( QT_QFILEICONPROVIDER_ICON ) -{ - QFileIconProvider * p = hbqt_par_QFileIconProvider( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon( ( QFileIconProvider::IconType ) hb_parni( 2 ) ) ), true ) ); -} - -/* virtual QIcon icon ( const QFileInfo & info ) const */ -HB_FUNC( QT_QFILEICONPROVIDER_ICON_1 ) -{ - QFileIconProvider * p = hbqt_par_QFileIconProvider( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon( *hbqt_par_QFileInfo( 2 ) ) ), true ) ); -} - -/* virtual QString type ( const QFileInfo & info ) const */ -HB_FUNC( QT_QFILEICONPROVIDER_TYPE ) -{ - QFileIconProvider * p = hbqt_par_QFileIconProvider( 1 ); - if( p ) - hb_retstr_utf8( ( p )->type( *hbqt_par_QFileInfo( 2 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp b/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp deleted file mode 100644 index e59a248d9e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFileSystemModel.cpp +++ /dev/null @@ -1,342 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Roles { FileIconRole, FilePathRole, FileNameRole, FilePermissions } - */ - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QFileIconProvider * iconProvider () const - * // virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const - * // void setIconProvider ( QFileIconProvider * provider ) - */ - -#include - -#include -#include - -/* - * QFileSystemModel ( QObject * parent = 0 ) - * ~QFileSystemModel () - */ - -typedef struct -{ - QPointer< QFileSystemModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFileSystemModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QFileSystemModel ) -{ - HBQT_GC_T_QFileSystemModel * p = ( HBQT_GC_T_QFileSystemModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFileSystemModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFileSystemModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFileSystemModel * p = ( HBQT_GC_T_QFileSystemModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFileSystemModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFileSystemModel >( ( QFileSystemModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFileSystemModel; - p->type = HBQT_TYPE_QFileSystemModel; - - return p; -} - -HB_FUNC( QT_QFILESYSTEMMODEL ) -{ - QFileSystemModel * pObj = NULL; - - pObj = new QFileSystemModel() ; - - hb_retptrGC( hbqt_gcAllocate_QFileSystemModel( ( void * ) pObj, true ) ); -} - -/* virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_DROPMIMEDATA ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->dropMimeData( hbqt_par_QMimeData( 2 ), ( Qt::DropAction ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QModelIndex( 6 ) ) ); -} - -/* QIcon fileIcon ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILEICON ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->fileIcon( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* QFileInfo fileInfo ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILEINFO ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFileInfo( new QFileInfo( ( p )->fileInfo( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* QString fileName ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILENAME ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName( *hbqt_par_QModelIndex( 2 ) ).toUtf8().data() ); -} - -/* QString filePath ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILEPATH ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->filePath( *hbqt_par_QModelIndex( 2 ) ).toUtf8().data() ); -} - -/* QDir::Filters filter () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILTER ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retni( ( QDir::Filters ) ( p )->filter() ); -} - -/* QModelIndex index ( const QString & path, int column = 0 ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_INDEX ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* bool isDir ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_ISDIR ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->isDir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_ISREADONLY ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* QDateTime lastModified ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_LASTMODIFIED ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->lastModified( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* virtual QStringList mimeTypes () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_MIMETYPES ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->mimeTypes() ), true ) ); -} - -/* QModelIndex mkdir ( const QModelIndex & parent, const QString & name ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_MKDIR ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mkdir( *hbqt_par_QModelIndex( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QVariant myComputer ( int role = Qt::DisplayRole ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_MYCOMPUTER ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->myComputer( hb_parnidef( 2, Qt::DisplayRole ) ) ), true ) ); -} - -/* bool nameFilterDisables () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_NAMEFILTERDISABLES ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->nameFilterDisables() ); -} - -/* QStringList nameFilters () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_NAMEFILTERS ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->nameFilters() ), true ) ); -} - -/* QFile::Permissions permissions ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_PERMISSIONS ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retni( ( QFile::Permissions ) ( p )->permissions( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* bool remove ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_REMOVE ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->remove( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* bool resolveSymlinks () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_RESOLVESYMLINKS ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->resolveSymlinks() ); -} - -/* bool rmdir ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_RMDIR ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retl( ( p )->rmdir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* QDir rootDirectory () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_ROOTDIRECTORY ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->rootDirectory() ), true ) ); -} - -/* QString rootPath () const */ -HB_FUNC( QT_QFILESYSTEMMODEL_ROOTPATH ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->rootPath().toUtf8().data() ); -} - -/* void setFilter ( QDir::Filters filters ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETFILTER ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - ( p )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* void setNameFilterDisables ( bool enable ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETNAMEFILTERDISABLES ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - ( p )->setNameFilterDisables( hb_parl( 2 ) ); -} - -/* void setNameFilters ( const QStringList & filters ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETNAMEFILTERS ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - ( p )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* void setReadOnly ( bool enable ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETREADONLY ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setResolveSymlinks ( bool enable ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETRESOLVESYMLINKS ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - ( p )->setResolveSymlinks( hb_parl( 2 ) ); -} - -/* QModelIndex setRootPath ( const QString & newPath ) */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETROOTPATH ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->setRootPath( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* qint64 size ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_SIZE ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retnint( ( p )->size( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* QString type ( const QModelIndex & index ) const */ -HB_FUNC( QT_QFILESYSTEMMODEL_TYPE ) -{ - QFileSystemModel * p = hbqt_par_QFileSystemModel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->type( *hbqt_par_QModelIndex( 2 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp deleted file mode 100644 index 7eaefe96d9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFocusEvent.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFocusEvent ( Type type, Qt::FocusReason reason = Qt::OtherFocusReason ) - */ - -typedef struct -{ - QFocusEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFocusEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QFocusEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QFocusEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFocusEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFocusEvent; - p->type = HBQT_TYPE_QFocusEvent; - - return p; -} - -HB_FUNC( QT_QFOCUSEVENT ) -{ - // __HB_RETPTRGC__( new QFocusEvent() ); -} - -/* bool gotFocus () const */ -HB_FUNC( QT_QFOCUSEVENT_GOTFOCUS ) -{ - QFocusEvent * p = hbqt_par_QFocusEvent( 1 ); - if( p ) - hb_retl( ( p )->gotFocus() ); -} - -/* bool lostFocus () const */ -HB_FUNC( QT_QFOCUSEVENT_LOSTFOCUS ) -{ - QFocusEvent * p = hbqt_par_QFocusEvent( 1 ); - if( p ) - hb_retl( ( p )->lostFocus() ); -} - -/* Qt::FocusReason reason () const */ -HB_FUNC( QT_QFOCUSEVENT_REASON ) -{ - QFocusEvent * p = hbqt_par_QFocusEvent( 1 ); - if( p ) - hb_retni( ( Qt::FocusReason ) ( p )->reason() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp deleted file mode 100644 index a2bf7f5b12..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFocusFrame.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFocusFrame ( QWidget * parent = 0 ) - * ~QFocusFrame () - */ - -typedef struct -{ - QPointer< QFocusFrame > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFocusFrame; - -HBQT_GC_FUNC( hbqt_gcRelease_QFocusFrame ) -{ - HBQT_GC_T_QFocusFrame * p = ( HBQT_GC_T_QFocusFrame * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFocusFrame * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFocusFrame( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFocusFrame * p = ( HBQT_GC_T_QFocusFrame * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFocusFrame ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFocusFrame >( ( QFocusFrame * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFocusFrame; - p->type = HBQT_TYPE_QFocusFrame; - - return p; -} - -HB_FUNC( QT_QFOCUSFRAME ) -{ - QFocusFrame * pObj = NULL; - - pObj = new QFocusFrame( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QFocusFrame( ( void * ) pObj, true ) ); -} - -/* void setWidget ( QWidget * widget ) */ -HB_FUNC( QT_QFOCUSFRAME_SETWIDGET ) -{ - QFocusFrame * p = hbqt_par_QFocusFrame( 1 ); - if( p ) - ( p )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QFOCUSFRAME_WIDGET ) -{ - QFocusFrame * p = hbqt_par_QFocusFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFont.cpp b/harbour/contrib/hbqt/qtgui/g/QFont.cpp deleted file mode 100644 index 9bdd78b575..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFont.cpp +++ /dev/null @@ -1,627 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Capitalization { MixedCase, AllUppercase, AllLowercase, SmallCaps, Capitalize } - * enum SpacingType { PercentageSpacing, AbsoluteSpacing } - * enum Stretch { UltraCondensed, ExtraCondensed, Condensed, SemiCondensed, ..., UltraExpanded } - * enum Style { StyleNormal, StyleItalic, StyleOblique } - * enum StyleHint { AnyStyle, SansSerif, Helvetica, Serif, ..., System } - * enum StyleStrategy { PreferDefault, PreferBitmap, PreferDevice, PreferOutline, ..., PreferQuality } - * enum Weight { Light, Normal, DemiBold, Bold, Black } - */ - -/* - * Constructed[ 58/58 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // FT_Face freetypeFace () const - * // HFONT handle () const - * // bool isCopyOf ( const QFont & f ) const - * // quint32 macFontID () const - * // QFont resolve ( const QFont & other ) const - */ - -#include - -#include -#include - -/* - * QFont () - * QFont ( const QString & family, int pointSize = -1, int weight = -1, bool italic = false ) - * QFont ( const QFont & font, QPaintDevice * pd ) - * QFont ( const QFont & font ) - * ~QFont () - */ - -typedef struct -{ - QFont * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFont; - -HBQT_GC_FUNC( hbqt_gcRelease_QFont ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFont * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFont( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFont * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFont; - p->type = HBQT_TYPE_QFont; - - return p; -} - -HB_FUNC( QT_QFONT ) -{ - QFont * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QFont( hbqt_par_QString( 1 ), -1, -1, false ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), -1, false ) ; - } - else if( hb_pcount() == 3 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), hb_parni( 3 ), false ) ; - } - else if( hb_pcount() == 4 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISLOG( 4 ) ) - { - pObj = new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parl( 4 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFont( *hbqt_par_QFont( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFont( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ; - } - else - { - pObj = new QFont() ; - } - - hb_retptrGC( hbqt_gcAllocate_QFont( ( void * ) pObj, true ) ); -} - -/* bool bold () const */ -HB_FUNC( QT_QFONT_BOLD ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->bold() ); -} - -/* Capitalization capitalization () const */ -HB_FUNC( QT_QFONT_CAPITALIZATION ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( QFont::Capitalization ) ( p )->capitalization() ); -} - -/* QString defaultFamily () const */ -HB_FUNC( QT_QFONT_DEFAULTFAMILY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->defaultFamily().toUtf8().data() ); -} - -/* bool exactMatch () const */ -HB_FUNC( QT_QFONT_EXACTMATCH ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->exactMatch() ); -} - -/* QString family () const */ -HB_FUNC( QT_QFONT_FAMILY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->family().toUtf8().data() ); -} - -/* bool fixedPitch () const */ -HB_FUNC( QT_QFONT_FIXEDPITCH ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->fixedPitch() ); -} - -/* bool fromString ( const QString & descrip ) */ -HB_FUNC( QT_QFONT_FROMSTRING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->fromString( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool italic () const */ -HB_FUNC( QT_QFONT_ITALIC ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->italic() ); -} - -/* bool kerning () const */ -HB_FUNC( QT_QFONT_KERNING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->kerning() ); -} - -/* QString key () const */ -HB_FUNC( QT_QFONT_KEY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->key().toUtf8().data() ); -} - -/* QString lastResortFamily () const */ -HB_FUNC( QT_QFONT_LASTRESORTFAMILY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->lastResortFamily().toUtf8().data() ); -} - -/* QString lastResortFont () const */ -HB_FUNC( QT_QFONT_LASTRESORTFONT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->lastResortFont().toUtf8().data() ); -} - -/* qreal letterSpacing () const */ -HB_FUNC( QT_QFONT_LETTERSPACING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retnd( ( p )->letterSpacing() ); -} - -/* SpacingType letterSpacingType () const */ -HB_FUNC( QT_QFONT_LETTERSPACINGTYPE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( QFont::SpacingType ) ( p )->letterSpacingType() ); -} - -/* bool overline () const */ -HB_FUNC( QT_QFONT_OVERLINE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->overline() ); -} - -/* int pixelSize () const */ -HB_FUNC( QT_QFONT_PIXELSIZE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( p )->pixelSize() ); -} - -/* int pointSize () const */ -HB_FUNC( QT_QFONT_POINTSIZE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( p )->pointSize() ); -} - -/* qreal pointSizeF () const */ -HB_FUNC( QT_QFONT_POINTSIZEF ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retnd( ( p )->pointSizeF() ); -} - -/* bool rawMode () const */ -HB_FUNC( QT_QFONT_RAWMODE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->rawMode() ); -} - -/* QString rawName () const */ -HB_FUNC( QT_QFONT_RAWNAME ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->rawName().toUtf8().data() ); -} - -/* void setBold ( bool enable ) */ -HB_FUNC( QT_QFONT_SETBOLD ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setBold( hb_parl( 2 ) ); -} - -/* void setCapitalization ( Capitalization caps ) */ -HB_FUNC( QT_QFONT_SETCAPITALIZATION ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setCapitalization( ( QFont::Capitalization ) hb_parni( 2 ) ); -} - -/* void setFamily ( const QString & family ) */ -HB_FUNC( QT_QFONT_SETFAMILY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - ( p )->setFamily( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFixedPitch ( bool enable ) */ -HB_FUNC( QT_QFONT_SETFIXEDPITCH ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setFixedPitch( hb_parl( 2 ) ); -} - -/* void setItalic ( bool enable ) */ -HB_FUNC( QT_QFONT_SETITALIC ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setItalic( hb_parl( 2 ) ); -} - -/* void setKerning ( bool enable ) */ -HB_FUNC( QT_QFONT_SETKERNING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setKerning( hb_parl( 2 ) ); -} - -/* void setLetterSpacing ( SpacingType type, qreal spacing ) */ -HB_FUNC( QT_QFONT_SETLETTERSPACING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setLetterSpacing( ( QFont::SpacingType ) hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setOverline ( bool enable ) */ -HB_FUNC( QT_QFONT_SETOVERLINE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setOverline( hb_parl( 2 ) ); -} - -/* void setPixelSize ( int pixelSize ) */ -HB_FUNC( QT_QFONT_SETPIXELSIZE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setPixelSize( hb_parni( 2 ) ); -} - -/* void setPointSize ( int pointSize ) */ -HB_FUNC( QT_QFONT_SETPOINTSIZE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setPointSize( hb_parni( 2 ) ); -} - -/* void setPointSizeF ( qreal pointSize ) */ -HB_FUNC( QT_QFONT_SETPOINTSIZEF ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setPointSizeF( hb_parnd( 2 ) ); -} - -/* void setRawMode ( bool enable ) */ -HB_FUNC( QT_QFONT_SETRAWMODE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setRawMode( hb_parl( 2 ) ); -} - -/* void setRawName ( const QString & name ) */ -HB_FUNC( QT_QFONT_SETRAWNAME ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - ( p )->setRawName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setStretch ( int factor ) */ -HB_FUNC( QT_QFONT_SETSTRETCH ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setStretch( hb_parni( 2 ) ); -} - -/* void setStrikeOut ( bool enable ) */ -HB_FUNC( QT_QFONT_SETSTRIKEOUT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setStrikeOut( hb_parl( 2 ) ); -} - -/* void setStyle ( Style style ) */ -HB_FUNC( QT_QFONT_SETSTYLE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setStyle( ( QFont::Style ) hb_parni( 2 ) ); -} - -/* void setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault ) */ -HB_FUNC( QT_QFONT_SETSTYLEHINT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setStyleHint( ( QFont::StyleHint ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QFont::StyleStrategy ) hb_parni( 3 ) : ( QFont::StyleStrategy ) QFont::PreferDefault ) ); -} - -/* void setStyleStrategy ( StyleStrategy s ) */ -HB_FUNC( QT_QFONT_SETSTYLESTRATEGY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setStyleStrategy( ( QFont::StyleStrategy ) hb_parni( 2 ) ); -} - -/* void setUnderline ( bool enable ) */ -HB_FUNC( QT_QFONT_SETUNDERLINE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setUnderline( hb_parl( 2 ) ); -} - -/* void setWeight ( int weight ) */ -HB_FUNC( QT_QFONT_SETWEIGHT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setWeight( hb_parni( 2 ) ); -} - -/* void setWordSpacing ( qreal spacing ) */ -HB_FUNC( QT_QFONT_SETWORDSPACING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->setWordSpacing( hb_parnd( 2 ) ); -} - -/* int stretch () const */ -HB_FUNC( QT_QFONT_STRETCH ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( p )->stretch() ); -} - -/* bool strikeOut () const */ -HB_FUNC( QT_QFONT_STRIKEOUT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->strikeOut() ); -} - -/* Style style () const */ -HB_FUNC( QT_QFONT_STYLE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( QFont::Style ) ( p )->style() ); -} - -/* StyleHint styleHint () const */ -HB_FUNC( QT_QFONT_STYLEHINT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( QFont::StyleHint ) ( p )->styleHint() ); -} - -/* StyleStrategy styleStrategy () const */ -HB_FUNC( QT_QFONT_STYLESTRATEGY ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( QFont::StyleStrategy ) ( p )->styleStrategy() ); -} - -/* QString toString () const */ -HB_FUNC( QT_QFONT_TOSTRING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString().toUtf8().data() ); -} - -/* bool underline () const */ -HB_FUNC( QT_QFONT_UNDERLINE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retl( ( p )->underline() ); -} - -/* int weight () const */ -HB_FUNC( QT_QFONT_WEIGHT ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retni( ( p )->weight() ); -} - -/* qreal wordSpacing () const */ -HB_FUNC( QT_QFONT_WORDSPACING ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retnd( ( p )->wordSpacing() ); -} - -/* void cleanup () */ -HB_FUNC( QT_QFONT_CLEANUP ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->cleanup(); -} - -/* void initialize () */ -HB_FUNC( QT_QFONT_INITIALIZE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - ( p )->initialize(); -} - -/* void insertSubstitution ( const QString & familyName, const QString & substituteName ) */ -HB_FUNC( QT_QFONT_INSERTSUBSTITUTION ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - ( p )->insertSubstitution( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void insertSubstitutions ( const QString & familyName, const QStringList & substituteNames ) */ -HB_FUNC( QT_QFONT_INSERTSUBSTITUTIONS ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - ( p )->insertSubstitutions( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ) ); - hb_strfree( pText ); - } -} - -/* void removeSubstitution ( const QString & familyName ) */ -HB_FUNC( QT_QFONT_REMOVESUBSTITUTION ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - ( p )->removeSubstitution( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString substitute ( const QString & familyName ) */ -HB_FUNC( QT_QFONT_SUBSTITUTE ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->substitute( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QStringList substitutes ( const QString & familyName ) */ -HB_FUNC( QT_QFONT_SUBSTITUTES ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->substitutes( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QStringList substitutions () */ -HB_FUNC( QT_QFONT_SUBSTITUTIONS ) -{ - QFont * p = hbqt_par_QFont( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->substitutions() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp b/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp deleted file mode 100644 index e5f334345f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFontComboBox.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FontFilter { AllFonts, ScalableFonts, NonScalableFonts, MonospacedFonts, ProportionalFonts } - * flags FontFilters - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFontComboBox ( QWidget * parent = 0 ) - * ~QFontComboBox () - */ - -typedef struct -{ - QPointer< QFontComboBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFontComboBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QFontComboBox ) -{ - HBQT_GC_T_QFontComboBox * p = ( HBQT_GC_T_QFontComboBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFontComboBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFontComboBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFontComboBox * p = ( HBQT_GC_T_QFontComboBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFontComboBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFontComboBox >( ( QFontComboBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFontComboBox; - p->type = HBQT_TYPE_QFontComboBox; - - return p; -} - -HB_FUNC( QT_QFONTCOMBOBOX ) -{ - QFontComboBox * pObj = NULL; - - pObj = new QFontComboBox( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QFontComboBox( ( void * ) pObj, true ) ); -} - -/* QFont currentFont () const */ -HB_FUNC( QT_QFONTCOMBOBOX_CURRENTFONT ) -{ - QFontComboBox * p = hbqt_par_QFontComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->currentFont() ), true ) ); -} - -/* FontFilters fontFilters () const */ -HB_FUNC( QT_QFONTCOMBOBOX_FONTFILTERS ) -{ - QFontComboBox * p = hbqt_par_QFontComboBox( 1 ); - if( p ) - hb_retni( ( QFontComboBox::FontFilters ) ( p )->fontFilters() ); -} - -/* void setFontFilters ( FontFilters filters ) */ -HB_FUNC( QT_QFONTCOMBOBOX_SETFONTFILTERS ) -{ - QFontComboBox * p = hbqt_par_QFontComboBox( 1 ); - if( p ) - ( p )->setFontFilters( ( QFontComboBox::FontFilters ) hb_parni( 2 ) ); -} - -/* void setWritingSystem ( QFontDatabase::WritingSystem script ) */ -HB_FUNC( QT_QFONTCOMBOBOX_SETWRITINGSYSTEM ) -{ - QFontComboBox * p = hbqt_par_QFontComboBox( 1 ); - if( p ) - ( p )->setWritingSystem( ( QFontDatabase::WritingSystem ) hb_parni( 2 ) ); -} - -/* QFontDatabase::WritingSystem writingSystem () const */ -HB_FUNC( QT_QFONTCOMBOBOX_WRITINGSYSTEM ) -{ - QFontComboBox * p = hbqt_par_QFontComboBox( 1 ); - if( p ) - hb_retni( ( QFontDatabase::WritingSystem ) ( p )->writingSystem() ); -} - -/* void setCurrentFont ( const QFont & font ) */ -HB_FUNC( QT_QFONTCOMBOBOX_SETCURRENTFONT ) -{ - QFontComboBox * p = hbqt_par_QFontComboBox( 1 ); - if( p ) - ( p )->setCurrentFont( *hbqt_par_QFont( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp b/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp deleted file mode 100644 index 0282c43bd3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFontDatabase.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum WritingSystem { Any, Latin, Greek, Cyrillic, ..., Runic } - */ - -/* - * Constructed[ 23/23 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QList writingSystems () const - * //QList writingSystems ( const QString & family ) const - */ - -#include - -#include -#include - - -/* - * QFontDatabase () - */ - -typedef struct -{ - QFontDatabase * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFontDatabase; - -HBQT_GC_FUNC( hbqt_gcRelease_QFontDatabase ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFontDatabase * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFontDatabase( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFontDatabase * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFontDatabase; - p->type = HBQT_TYPE_QFontDatabase; - - return p; -} - -HB_FUNC( QT_QFONTDATABASE ) -{ - QFontDatabase * pObj = NULL; - - pObj = new QFontDatabase() ; - - hb_retptrGC( hbqt_gcAllocate_QFontDatabase( ( void * ) pObj, true ) ); -} - -/* bool bold ( const QString & family, const QString & style ) const */ -HB_FUNC( QT_QFONTDATABASE_BOLD ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->bold( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QStringList families ( WritingSystem writingSystem = Any ) const */ -HB_FUNC( QT_QFONTDATABASE_FAMILIES ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->families( ( HB_ISNUM( 2 ) ? ( QFontDatabase::WritingSystem ) hb_parni( 2 ) : ( QFontDatabase::WritingSystem ) QFontDatabase::Any ) ) ), true ) ); -} - -/* QFont font ( const QString & family, const QString & style, int pointSize ) const */ -HB_FUNC( QT_QFONTDATABASE_FONT ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parni( 4 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* bool isBitmapScalable ( const QString & family, const QString & style = QString() ) const */ -HB_FUNC( QT_QFONTDATABASE_ISBITMAPSCALABLE ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isBitmapScalable( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isFixedPitch ( const QString & family, const QString & style = QString() ) const */ -HB_FUNC( QT_QFONTDATABASE_ISFIXEDPITCH ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isFixedPitch( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isScalable ( const QString & family, const QString & style = QString() ) const */ -HB_FUNC( QT_QFONTDATABASE_ISSCALABLE ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isScalable( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isSmoothlyScalable ( const QString & family, const QString & style = QString() ) const */ -HB_FUNC( QT_QFONTDATABASE_ISSMOOTHLYSCALABLE ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->isSmoothlyScalable( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool italic ( const QString & family, const QString & style ) const */ -HB_FUNC( QT_QFONTDATABASE_ITALIC ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->italic( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QList pointSizes ( const QString & family, const QString & style = QString() ) */ -HB_FUNC( QT_QFONTDATABASE_POINTSIZES ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->pointSizes( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QList smoothSizes ( const QString & family, const QString & style ) */ -HB_FUNC( QT_QFONTDATABASE_SMOOTHSIZES ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->smoothSizes( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QString styleString ( const QFont & font ) */ -HB_FUNC( QT_QFONTDATABASE_STYLESTRING ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retstr_utf8( ( p )->styleString( *hbqt_par_QFont( 2 ) ).toUtf8().data() ); -} - -/* QString styleString ( const QFontInfo & fontInfo ) */ -HB_FUNC( QT_QFONTDATABASE_STYLESTRING_1 ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retstr_utf8( ( p )->styleString( *hbqt_par_QFontInfo( 2 ) ).toUtf8().data() ); -} - -/* QStringList styles ( const QString & family ) const */ -HB_FUNC( QT_QFONTDATABASE_STYLES ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->styles( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* int weight ( const QString & family, const QString & style ) const */ -HB_FUNC( QT_QFONTDATABASE_WEIGHT ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->weight( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int addApplicationFont ( const QString & fileName ) */ -HB_FUNC( QT_QFONTDATABASE_ADDAPPLICATIONFONT ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->addApplicationFont( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int addApplicationFontFromData ( const QByteArray & fontData ) */ -HB_FUNC( QT_QFONTDATABASE_ADDAPPLICATIONFONTFROMDATA ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retni( ( p )->addApplicationFontFromData( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* QStringList applicationFontFamilies ( int id ) */ -HB_FUNC( QT_QFONTDATABASE_APPLICATIONFONTFAMILIES ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->applicationFontFamilies( hb_parni( 2 ) ) ), true ) ); -} - -/* bool removeAllApplicationFonts () */ -HB_FUNC( QT_QFONTDATABASE_REMOVEALLAPPLICATIONFONTS ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retl( ( p )->removeAllApplicationFonts() ); -} - -/* bool removeApplicationFont ( int id ) */ -HB_FUNC( QT_QFONTDATABASE_REMOVEAPPLICATIONFONT ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retl( ( p )->removeApplicationFont( hb_parni( 2 ) ) ); -} - -/* QList standardSizes () */ -HB_FUNC( QT_QFONTDATABASE_STANDARDSIZES ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->standardSizes() ), true ) ); -} - -/* bool supportsThreadedFontRendering () */ -HB_FUNC( QT_QFONTDATABASE_SUPPORTSTHREADEDFONTRENDERING ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retl( ( p )->supportsThreadedFontRendering() ); -} - -/* QString writingSystemName ( WritingSystem writingSystem ) */ -HB_FUNC( QT_QFONTDATABASE_WRITINGSYSTEMNAME ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retstr_utf8( ( p )->writingSystemName( ( QFontDatabase::WritingSystem ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString writingSystemSample ( WritingSystem writingSystem ) */ -HB_FUNC( QT_QFONTDATABASE_WRITINGSYSTEMSAMPLE ) -{ - QFontDatabase * p = hbqt_par_QFontDatabase( 1 ); - if( p ) - hb_retstr_utf8( ( p )->writingSystemSample( ( QFontDatabase::WritingSystem ) hb_parni( 2 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp deleted file mode 100644 index 9fa02c8afe..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFontDialog.cpp +++ /dev/null @@ -1,233 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FontDialogOption { NoButtons, DontUseNativeDialog } - * flags FontDialogOptions - */ - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // void open ( QObject * receiver, const char * member ) - * // QFont getFont ( bool * ok, QWidget * parent, const char * name ) - */ - -#include - -#include - - -/* - * QFontDialog ( QWidget * parent = 0 ) - * QFontDialog ( const QFont & initial, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QFontDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFontDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QFontDialog ) -{ - HBQT_GC_T_QFontDialog * p = ( HBQT_GC_T_QFontDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFontDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFontDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFontDialog * p = ( HBQT_GC_T_QFontDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFontDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFontDialog >( ( QFontDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFontDialog; - p->type = HBQT_TYPE_QFontDialog; - - return p; -} - -HB_FUNC( QT_QFONTDIALOG ) -{ - QFontDialog * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontDialog( hbqt_par_QWidget( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontDialog( *hbqt_par_QFont( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = new QFontDialog( 0 ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QFontDialog( ( void * ) pObj, true ) ); -} - -/* QFont currentFont () const */ -HB_FUNC( QT_QFONTDIALOG_CURRENTFONT ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->currentFont() ), true ) ); -} - -/* FontDialogOptions options () const */ -HB_FUNC( QT_QFONTDIALOG_OPTIONS ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - hb_retni( ( QFontDialog::FontDialogOptions ) ( p )->options() ); -} - -/* QFont selectedFont () const */ -HB_FUNC( QT_QFONTDIALOG_SELECTEDFONT ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->selectedFont() ), true ) ); -} - -/* void setCurrentFont ( const QFont & font ) */ -HB_FUNC( QT_QFONTDIALOG_SETCURRENTFONT ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - ( p )->setCurrentFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setOption ( FontDialogOption option, bool on = true ) */ -HB_FUNC( QT_QFONTDIALOG_SETOPTION ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - ( p )->setOption( ( QFontDialog::FontDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( FontDialogOptions options ) */ -HB_FUNC( QT_QFONTDIALOG_SETOPTIONS ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - ( p )->setOptions( ( QFontDialog::FontDialogOptions ) hb_parni( 2 ) ); -} - -/* bool testOption ( FontDialogOption option ) const */ -HB_FUNC( QT_QFONTDIALOG_TESTOPTION ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QFontDialog::FontDialogOption ) hb_parni( 2 ) ) ); -} - -/* QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title, FontDialogOptions options ) */ -HB_FUNC( QT_QFONTDIALOG_GETFONT ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ), hb_parstr_utf8( 5, &pText, NULL ), ( QFontDialog::FontDialogOptions ) hb_parni( 6 ) ) ), true ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 2 ); -} - -/* QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const char * name ) */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_1 ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - bool iOk = 0; - - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ), ( const char * ) hb_parc( 5 ) ) ), true ) ); - - hb_stornl( iOk, 2 ); -} - -/* QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title ) */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_2 ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ), hb_parstr_utf8( 5, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 2 ); -} - -/* QFont getFont ( bool * ok, const QFont & initial, QWidget * parent = 0 ) */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_3 ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - bool iOk = 0; - - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ) ) ), true ) ); - - hb_stornl( iOk, 2 ); -} - -/* QFont getFont ( bool * ok, QWidget * parent = 0 ) */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_4 ) -{ - QFontDialog * p = hbqt_par_QFontDialog( 1 ); - bool iOk = 0; - - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->getFont( &iOk, hbqt_par_QWidget( 3 ) ) ), true ) ); - - hb_stornl( iOk, 2 ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp b/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp deleted file mode 100644 index 2179cdf3ad..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFontInfo.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFontInfo ( const QFont & font ) - * QFontInfo ( const QFontInfo & fi ) - * ~QFontInfo () - */ - -typedef struct -{ - QFontInfo * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFontInfo; - -HBQT_GC_FUNC( hbqt_gcRelease_QFontInfo ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFontInfo * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFontInfo( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFontInfo * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFontInfo; - p->type = HBQT_TYPE_QFontInfo; - - return p; -} - -HB_FUNC( QT_QFONTINFO ) -{ - QFontInfo * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontInfo( *hbqt_par_QFontInfo( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontInfo( *hbqt_par_QFont( 2 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QFontInfo( ( void * ) pObj, true ) ); -} - -/* bool bold () const */ -HB_FUNC( QT_QFONTINFO_BOLD ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retl( ( p )->bold() ); -} - -/* bool exactMatch () const */ -HB_FUNC( QT_QFONTINFO_EXACTMATCH ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retl( ( p )->exactMatch() ); -} - -/* QString family () const */ -HB_FUNC( QT_QFONTINFO_FAMILY ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->family().toUtf8().data() ); -} - -/* bool fixedPitch () const */ -HB_FUNC( QT_QFONTINFO_FIXEDPITCH ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retl( ( p )->fixedPitch() ); -} - -/* bool italic () const */ -HB_FUNC( QT_QFONTINFO_ITALIC ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retl( ( p )->italic() ); -} - -/* int pixelSize () const */ -HB_FUNC( QT_QFONTINFO_PIXELSIZE ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retni( ( p )->pixelSize() ); -} - -/* int pointSize () const */ -HB_FUNC( QT_QFONTINFO_POINTSIZE ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retni( ( p )->pointSize() ); -} - -/* qreal pointSizeF () const */ -HB_FUNC( QT_QFONTINFO_POINTSIZEF ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retnd( ( p )->pointSizeF() ); -} - -/* bool rawMode () const */ -HB_FUNC( QT_QFONTINFO_RAWMODE ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retl( ( p )->rawMode() ); -} - -/* QFont::Style style () const */ -HB_FUNC( QT_QFONTINFO_STYLE ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retni( ( QFont::Style ) ( p )->style() ); -} - -/* QFont::StyleHint styleHint () const */ -HB_FUNC( QT_QFONTINFO_STYLEHINT ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retni( ( QFont::StyleHint ) ( p )->styleHint() ); -} - -/* int weight () const */ -HB_FUNC( QT_QFONTINFO_WEIGHT ) -{ - QFontInfo * p = hbqt_par_QFontInfo( 1 ); - if( p ) - hb_retni( ( p )->weight() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp b/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp deleted file mode 100644 index 3aca0303d1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFontMetrics.cpp +++ /dev/null @@ -1,347 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFontMetrics ( const QFont & font ) - * QFontMetrics ( const QFont & font, QPaintDevice * paintdevice ) - * QFontMetrics ( const QFontMetrics & fm ) - * ~QFontMetrics () - */ - -typedef struct -{ - QFontMetrics * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFontMetrics; - -HBQT_GC_FUNC( hbqt_gcRelease_QFontMetrics ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFontMetrics * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFontMetrics( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFontMetrics * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFontMetrics; - p->type = HBQT_TYPE_QFontMetrics; - - return p; -} - -HB_FUNC( QT_QFONTMETRICS ) -{ - QFontMetrics * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontMetrics( *hbqt_par_QFontMetrics( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( hbqt_par_QString( 1 ) == ( QString ) "QFont" ) - { - pObj = new QFontMetrics( *hbqt_par_QFont( 2 ) ) ; - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontMetrics( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QFontMetrics( ( void * ) pObj, true ) ); -} - -/* int ascent () const */ -HB_FUNC( QT_QFONTMETRICS_ASCENT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->ascent() ); -} - -/* int averageCharWidth () const */ -HB_FUNC( QT_QFONTMETRICS_AVERAGECHARWIDTH ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->averageCharWidth() ); -} - -/* QRect boundingRect ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect( *hbqt_par_QChar( 2 ) ) ), true ) ); -} - -/* QRect boundingRect ( const QString & text ) const */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT_1 ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QRect boundingRect ( int x, int y, int width, int height, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT_2 ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - int iTabArray = 0; - - 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 ), hb_parni( 8 ), &iTabArray ) ), true ) ); - hb_strfree( pText ); - } - - hb_storni( iTabArray, 9 ); -} - -/* QRect boundingRect ( const QRect & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT_3 ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - int iTabArray = 0; - - 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 ), hb_parni( 5 ), &iTabArray ) ), true ) ); - hb_strfree( pText ); - } - - hb_storni( iTabArray, 6 ); -} - -/* int descent () const */ -HB_FUNC( QT_QFONTMETRICS_DESCENT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->descent() ); -} - -/* QString elidedText ( const QString & text, Qt::TextElideMode mode, int width, int flags = 0 ) const */ -HB_FUNC( QT_QFONTMETRICS_ELIDEDTEXT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->elidedText( hb_parstr_utf8( 2, &pText, NULL ), ( Qt::TextElideMode ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* int height () const */ -HB_FUNC( QT_QFONTMETRICS_HEIGHT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* bool inFont ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICS_INFONT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retl( ( p )->inFont( *hbqt_par_QChar( 2 ) ) ); -} - -/* int leading () const */ -HB_FUNC( QT_QFONTMETRICS_LEADING ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->leading() ); -} - -/* int leftBearing ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICS_LEFTBEARING ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->leftBearing( *hbqt_par_QChar( 2 ) ) ); -} - -/* int lineSpacing () const */ -HB_FUNC( QT_QFONTMETRICS_LINESPACING ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->lineSpacing() ); -} - -/* int lineWidth () const */ -HB_FUNC( QT_QFONTMETRICS_LINEWIDTH ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->lineWidth() ); -} - -/* int maxWidth () const */ -HB_FUNC( QT_QFONTMETRICS_MAXWIDTH ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->maxWidth() ); -} - -/* int minLeftBearing () const */ -HB_FUNC( QT_QFONTMETRICS_MINLEFTBEARING ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->minLeftBearing() ); -} - -/* int minRightBearing () const */ -HB_FUNC( QT_QFONTMETRICS_MINRIGHTBEARING ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->minRightBearing() ); -} - -/* int overlinePos () const */ -HB_FUNC( QT_QFONTMETRICS_OVERLINEPOS ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->overlinePos() ); -} - -/* int rightBearing ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICS_RIGHTBEARING ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->rightBearing( *hbqt_par_QChar( 2 ) ) ); -} - -/* QSize size ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const */ -HB_FUNC( QT_QFONTMETRICS_SIZE ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - int iTabArray = 0; - - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parni( 4 ), &iTabArray ) ), true ) ); - hb_strfree( pText ); - } - - hb_storni( iTabArray, 5 ); -} - -/* int strikeOutPos () const */ -HB_FUNC( QT_QFONTMETRICS_STRIKEOUTPOS ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->strikeOutPos() ); -} - -/* QRect tightBoundingRect ( const QString & text ) const */ -HB_FUNC( QT_QFONTMETRICS_TIGHTBOUNDINGRECT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->tightBoundingRect( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* int underlinePos () const */ -HB_FUNC( QT_QFONTMETRICS_UNDERLINEPOS ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->underlinePos() ); -} - -/* int width ( const QString & text, int len = -1 ) const */ -HB_FUNC( QT_QFONTMETRICS_WIDTH ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->width( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, -1 ) ) ); - hb_strfree( pText ); - } -} - -/* int width ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICS_WIDTH_1 ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->width( *hbqt_par_QChar( 2 ) ) ); -} - -/* int xHeight () const */ -HB_FUNC( QT_QFONTMETRICS_XHEIGHT ) -{ - QFontMetrics * p = hbqt_par_QFontMetrics( 1 ); - if( p ) - hb_retni( ( p )->xHeight() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp b/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp deleted file mode 100644 index 29ffa6c2fc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFontMetricsF.cpp +++ /dev/null @@ -1,336 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 25/25 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFontMetricsF ( const QFont & font ) - * QFontMetricsF ( const QFont & font, QPaintDevice * paintdevice ) - * QFontMetricsF ( const QFontMetrics & fontMetrics ) - * QFontMetricsF ( const QFontMetricsF & fm ) - * ~QFontMetricsF () - */ - -typedef struct -{ - QFontMetricsF * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFontMetricsF; - -HBQT_GC_FUNC( hbqt_gcRelease_QFontMetricsF ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QFontMetricsF * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFontMetricsF( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QFontMetricsF * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QFontMetricsF; - p->type = HBQT_TYPE_QFontMetricsF; - - return p; -} - -HB_FUNC( QT_QFONTMETRICSF ) -{ - QFontMetricsF * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontMetricsF( *hbqt_par_QFontMetricsF( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( hbqt_par_QString( 1 ) == ( QString ) "QFont" ) - { - pObj = new QFontMetricsF( *hbqt_par_QFont( 2 ) ) ; - } - else if( hbqt_par_QString( 1 ) == ( QString ) "QFontMetrics" ) - { - pObj = new QFontMetricsF( *hbqt_par_QFontMetrics( 2 ) ) ; - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontMetricsF( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QFontMetricsF( ( void * ) pObj, true ) ); -} - -/* qreal ascent () const */ -HB_FUNC( QT_QFONTMETRICSF_ASCENT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->ascent() ); -} - -/* qreal averageCharWidth () const */ -HB_FUNC( QT_QFONTMETRICSF_AVERAGECHARWIDTH ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->averageCharWidth() ); -} - -/* QRectF boundingRect ( const QString & text ) const */ -HB_FUNC( QT_QFONTMETRICSF_BOUNDINGRECT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QRectF boundingRect ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICSF_BOUNDINGRECT_1 ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect( *hbqt_par_QChar( 2 ) ) ), true ) ); -} - -/* QRectF boundingRect ( const QRectF & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const */ -HB_FUNC( QT_QFONTMETRICSF_BOUNDINGRECT_2 ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - int iTabArray = 0; - - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ), hb_parni( 5 ), &iTabArray ) ), true ) ); - hb_strfree( pText ); - } - - hb_storni( iTabArray, 6 ); -} - -/* qreal descent () const */ -HB_FUNC( QT_QFONTMETRICSF_DESCENT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->descent() ); -} - -/* QString elidedText ( const QString & text, Qt::TextElideMode mode, qreal width, int flags = 0 ) const */ -HB_FUNC( QT_QFONTMETRICSF_ELIDEDTEXT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->elidedText( hb_parstr_utf8( 2, &pText, NULL ), ( Qt::TextElideMode ) hb_parni( 3 ), hb_parnd( 4 ), hb_parni( 5 ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* qreal height () const */ -HB_FUNC( QT_QFONTMETRICSF_HEIGHT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* bool inFont ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICSF_INFONT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retl( ( p )->inFont( *hbqt_par_QChar( 2 ) ) ); -} - -/* qreal leading () const */ -HB_FUNC( QT_QFONTMETRICSF_LEADING ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->leading() ); -} - -/* qreal leftBearing ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICSF_LEFTBEARING ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->leftBearing( *hbqt_par_QChar( 2 ) ) ); -} - -/* qreal lineSpacing () const */ -HB_FUNC( QT_QFONTMETRICSF_LINESPACING ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->lineSpacing() ); -} - -/* qreal lineWidth () const */ -HB_FUNC( QT_QFONTMETRICSF_LINEWIDTH ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->lineWidth() ); -} - -/* qreal maxWidth () const */ -HB_FUNC( QT_QFONTMETRICSF_MAXWIDTH ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->maxWidth() ); -} - -/* qreal minLeftBearing () const */ -HB_FUNC( QT_QFONTMETRICSF_MINLEFTBEARING ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->minLeftBearing() ); -} - -/* qreal minRightBearing () const */ -HB_FUNC( QT_QFONTMETRICSF_MINRIGHTBEARING ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->minRightBearing() ); -} - -/* qreal overlinePos () const */ -HB_FUNC( QT_QFONTMETRICSF_OVERLINEPOS ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->overlinePos() ); -} - -/* qreal rightBearing ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICSF_RIGHTBEARING ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->rightBearing( *hbqt_par_QChar( 2 ) ) ); -} - -/* QSizeF size ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const */ -HB_FUNC( QT_QFONTMETRICSF_SIZE ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - int iTabArray = 0; - - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->size( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parni( 4 ), &iTabArray ) ), true ) ); - hb_strfree( pText ); - } - - hb_storni( iTabArray, 5 ); -} - -/* qreal strikeOutPos () const */ -HB_FUNC( QT_QFONTMETRICSF_STRIKEOUTPOS ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->strikeOutPos() ); -} - -/* QRectF tightBoundingRect ( const QString & text ) const */ -HB_FUNC( QT_QFONTMETRICSF_TIGHTBOUNDINGRECT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->tightBoundingRect( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* qreal underlinePos () const */ -HB_FUNC( QT_QFONTMETRICSF_UNDERLINEPOS ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->underlinePos() ); -} - -/* qreal width ( const QString & text ) const */ -HB_FUNC( QT_QFONTMETRICSF_WIDTH ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - { - void * pText; - hb_retnd( ( p )->width( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* qreal width ( QChar ch ) const */ -HB_FUNC( QT_QFONTMETRICSF_WIDTH_1 ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->width( *hbqt_par_QChar( 2 ) ) ); -} - -/* qreal xHeight () const */ -HB_FUNC( QT_QFONTMETRICSF_XHEIGHT ) -{ - QFontMetricsF * p = hbqt_par_QFontMetricsF( 1 ); - if( p ) - hb_retnd( ( p )->xHeight() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp deleted file mode 100644 index d6c5f68133..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFormLayout.cpp +++ /dev/null @@ -1,394 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FieldGrowthPolicy { FieldsStayAtSizeHint, ExpandingFieldsGrow, AllNonFixedFieldsGrow } - * enum ItemRole { LabelRole, FieldRole, SpanningRole } - * enum RowWrapPolicy { DontWrapRows, WrapLongRows, WrapAllRows } - */ - -/* - * Constructed[ 33/33 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //void addRow ( QWidget * label, QLayout * field ) - * //void addRow ( const QString & labelText, QLayout * field ) - * //void addRow ( QLayout * layout ) - */ - -#include - -#include - - -/* - * QFormLayout ( QWidget * parent = 0 ) - * ~QFormLayout () - */ - -typedef struct -{ - QPointer< QFormLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFormLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QFormLayout ) -{ - HBQT_GC_T_QFormLayout * p = ( HBQT_GC_T_QFormLayout * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFormLayout * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFormLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFormLayout * p = ( HBQT_GC_T_QFormLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFormLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFormLayout >( ( QFormLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFormLayout; - p->type = HBQT_TYPE_QFormLayout; - - return p; -} - -HB_FUNC( QT_QFORMLAYOUT ) -{ - QFormLayout * pObj = NULL; - - pObj = new QFormLayout( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QFormLayout( ( void * ) pObj, true ) ); -} - -/* void addRow ( QWidget * label, QWidget * field ) */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->addRow( hbqt_par_QWidget( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* void addRow ( QWidget * widget ) */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_1 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->addRow( hbqt_par_QWidget( 2 ) ); -} - -/* void addRow ( const QString & labelText, QWidget * field ) */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_2 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - { - void * pText; - ( p )->addRow( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QWidget( 3 ) ); - hb_strfree( pText ); - } -} - -/* FieldGrowthPolicy fieldGrowthPolicy () const */ -HB_FUNC( QT_QFORMLAYOUT_FIELDGROWTHPOLICY ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( QFormLayout::FieldGrowthPolicy ) ( p )->fieldGrowthPolicy() ); -} - -/* Qt::Alignment formAlignment () const */ -HB_FUNC( QT_QFORMLAYOUT_FORMALIGNMENT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->formAlignment() ); -} - -/* void getItemPosition ( int index, int * rowPtr, ItemRole * rolePtr ) const */ -HB_FUNC( QT_QFORMLAYOUT_GETITEMPOSITION ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - int iRowPtr = 0; - QFormLayout::ItemRole iRolePtr = ( QFormLayout::ItemRole ) 0; - - if( p ) - ( p )->getItemPosition( hb_parni( 2 ), &iRowPtr, &iRolePtr ); - - hb_storni( iRowPtr, 3 ); - hb_storni( iRolePtr, 4 ); -} - -/* void getLayoutPosition ( QLayout * layout, int * rowPtr, ItemRole * rolePtr ) const */ -HB_FUNC( QT_QFORMLAYOUT_GETLAYOUTPOSITION ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - int iRowPtr = 0; - QFormLayout::ItemRole iRolePtr = ( QFormLayout::ItemRole ) 0; - - if( p ) - ( p )->getLayoutPosition( hbqt_par_QLayout( 2 ), &iRowPtr, &iRolePtr ); - - hb_storni( iRowPtr, 3 ); - hb_storni( iRolePtr, 4 ); -} - -/* void getWidgetPosition ( QWidget * widget, int * rowPtr, ItemRole * rolePtr ) const */ -HB_FUNC( QT_QFORMLAYOUT_GETWIDGETPOSITION ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - int iRowPtr = 0; - QFormLayout::ItemRole iRolePtr = ( QFormLayout::ItemRole ) 0; - - if( p ) - ( p )->getWidgetPosition( hbqt_par_QWidget( 2 ), &iRowPtr, &iRolePtr ); - - hb_storni( iRowPtr, 3 ); - hb_storni( iRolePtr, 4 ); -} - -/* int horizontalSpacing () const */ -HB_FUNC( QT_QFORMLAYOUT_HORIZONTALSPACING ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( p )->horizontalSpacing() ); -} - -/* void insertRow ( int row, QWidget * label, QWidget * field ) */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* void insertRow ( int row, QWidget * label, QLayout * field ) */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_1 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QLayout( 4 ) ); -} - -/* void insertRow ( int row, QWidget * widget ) */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_2 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* void insertRow ( int row, const QString & labelText, QWidget * field ) */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_3 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - { - void * pText; - ( p )->insertRow( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hbqt_par_QWidget( 4 ) ); - hb_strfree( pText ); - } -} - -/* void insertRow ( int row, const QString & labelText, QLayout * field ) */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_4 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - { - void * pText; - ( p )->insertRow( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hbqt_par_QLayout( 4 ) ); - hb_strfree( pText ); - } -} - -/* void insertRow ( int row, QLayout * layout ) */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_5 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ), hbqt_par_QLayout( 3 ) ); -} - -/* QLayoutItem * itemAt ( int row, ItemRole role ) const */ -HB_FUNC( QT_QFORMLAYOUT_ITEMAT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLayoutItem( ( p )->itemAt( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ) ), false ) ); -} - -/* Qt::Alignment labelAlignment () const */ -HB_FUNC( QT_QFORMLAYOUT_LABELALIGNMENT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->labelAlignment() ); -} - -/* QWidget * labelForField ( QWidget * field ) const */ -HB_FUNC( QT_QFORMLAYOUT_LABELFORFIELD ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->labelForField( hbqt_par_QWidget( 2 ) ), false ) ); -} - -/* QWidget * labelForField ( QLayout * field ) const */ -HB_FUNC( QT_QFORMLAYOUT_LABELFORFIELD_1 ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->labelForField( hbqt_par_QLayout( 2 ) ), false ) ); -} - -/* int rowCount () const */ -HB_FUNC( QT_QFORMLAYOUT_ROWCOUNT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( p )->rowCount() ); -} - -/* RowWrapPolicy rowWrapPolicy () const */ -HB_FUNC( QT_QFORMLAYOUT_ROWWRAPPOLICY ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( QFormLayout::RowWrapPolicy ) ( p )->rowWrapPolicy() ); -} - -/* void setFieldGrowthPolicy ( FieldGrowthPolicy policy ) */ -HB_FUNC( QT_QFORMLAYOUT_SETFIELDGROWTHPOLICY ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setFieldGrowthPolicy( ( QFormLayout::FieldGrowthPolicy ) hb_parni( 2 ) ); -} - -/* void setFormAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QFORMLAYOUT_SETFORMALIGNMENT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setFormAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setHorizontalSpacing ( int spacing ) */ -HB_FUNC( QT_QFORMLAYOUT_SETHORIZONTALSPACING ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setHorizontalSpacing( hb_parni( 2 ) ); -} - -/* void setItem ( int row, ItemRole role, QLayoutItem * item ) */ -HB_FUNC( QT_QFORMLAYOUT_SETITEM ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setItem( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ), hbqt_par_QLayoutItem( 4 ) ); -} - -/* void setLabelAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QFORMLAYOUT_SETLABELALIGNMENT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setLabelAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setLayout ( int row, ItemRole role, QLayout * layout ) */ -HB_FUNC( QT_QFORMLAYOUT_SETLAYOUT ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setLayout( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ), hbqt_par_QLayout( 4 ) ); -} - -/* void setRowWrapPolicy ( RowWrapPolicy policy ) */ -HB_FUNC( QT_QFORMLAYOUT_SETROWWRAPPOLICY ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setRowWrapPolicy( ( QFormLayout::RowWrapPolicy ) hb_parni( 2 ) ); -} - -/* void setSpacing ( int spacing ) */ -HB_FUNC( QT_QFORMLAYOUT_SETSPACING ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setSpacing( hb_parni( 2 ) ); -} - -/* void setVerticalSpacing ( int spacing ) */ -HB_FUNC( QT_QFORMLAYOUT_SETVERTICALSPACING ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setVerticalSpacing( hb_parni( 2 ) ); -} - -/* void setWidget ( int row, ItemRole role, QWidget * widget ) */ -HB_FUNC( QT_QFORMLAYOUT_SETWIDGET ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - ( p )->setWidget( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* int spacing () const */ -HB_FUNC( QT_QFORMLAYOUT_SPACING ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( p )->spacing() ); -} - -/* int verticalSpacing () const */ -HB_FUNC( QT_QFORMLAYOUT_VERTICALSPACING ) -{ - QFormLayout * p = hbqt_par_QFormLayout( 1 ); - if( p ) - hb_retni( ( p )->verticalSpacing() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QFrame.cpp deleted file mode 100644 index e6ac11cea9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QFrame.cpp +++ /dev/null @@ -1,198 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Shadow { Plain, Raised, Sunken } - * enum Shape { NoFrame, Box, Panel, StyledPanel, ..., WinPanel } - * enum StyleMask { Shadow_Mask, Shape_Mask } - */ - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QFrame ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QFrame () - */ - -typedef struct -{ - QPointer< QFrame > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFrame; - -HBQT_GC_FUNC( hbqt_gcRelease_QFrame ) -{ - HBQT_GC_T_QFrame * p = ( HBQT_GC_T_QFrame * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFrame * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFrame( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFrame * p = ( HBQT_GC_T_QFrame * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFrame ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFrame >( ( QFrame * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFrame; - p->type = HBQT_TYPE_QFrame; - - return p; -} - -HB_FUNC( QT_QFRAME ) -{ - QFrame * pObj = NULL; - - pObj = new QFrame( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QFrame( ( void * ) pObj, true ) ); -} - -/* QRect frameRect () const */ -HB_FUNC( QT_QFRAME_FRAMERECT ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->frameRect() ), true ) ); -} - -/* Shadow frameShadow () const */ -HB_FUNC( QT_QFRAME_FRAMESHADOW ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retni( ( QFrame::Shadow ) ( p )->frameShadow() ); -} - -/* Shape frameShape () const */ -HB_FUNC( QT_QFRAME_FRAMESHAPE ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retni( ( QFrame::Shape ) ( p )->frameShape() ); -} - -/* int frameStyle () const */ -HB_FUNC( QT_QFRAME_FRAMESTYLE ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retni( ( p )->frameStyle() ); -} - -/* int frameWidth () const */ -HB_FUNC( QT_QFRAME_FRAMEWIDTH ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retni( ( p )->frameWidth() ); -} - -/* int lineWidth () const */ -HB_FUNC( QT_QFRAME_LINEWIDTH ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retni( ( p )->lineWidth() ); -} - -/* int midLineWidth () const */ -HB_FUNC( QT_QFRAME_MIDLINEWIDTH ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - hb_retni( ( p )->midLineWidth() ); -} - -/* void setFrameRect ( const QRect & ) */ -HB_FUNC( QT_QFRAME_SETFRAMERECT ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - ( p )->setFrameRect( *hbqt_par_QRect( 2 ) ); -} - -/* void setFrameShadow ( Shadow ) */ -HB_FUNC( QT_QFRAME_SETFRAMESHADOW ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - ( p )->setFrameShadow( ( QFrame::Shadow ) hb_parni( 2 ) ); -} - -/* void setFrameShape ( Shape ) */ -HB_FUNC( QT_QFRAME_SETFRAMESHAPE ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - ( p )->setFrameShape( ( QFrame::Shape ) hb_parni( 2 ) ); -} - -/* void setFrameStyle ( int style ) */ -HB_FUNC( QT_QFRAME_SETFRAMESTYLE ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - ( p )->setFrameStyle( hb_parni( 2 ) ); -} - -/* void setLineWidth ( int ) */ -HB_FUNC( QT_QFRAME_SETLINEWIDTH ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - ( p )->setLineWidth( hb_parni( 2 ) ); -} - -/* void setMidLineWidth ( int ) */ -HB_FUNC( QT_QFRAME_SETMIDLINEWIDTH ) -{ - QFrame * p = hbqt_par_QFrame( 1 ); - if( p ) - ( p )->setMidLineWidth( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QGradient.cpp deleted file mode 100644 index f7d3a13a62..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGradient.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // void setStops ( const QGradientStops & stopPoints ) - * // QGradientStops stops () const - */ - -#include - -#include - - -/* - * QGradient () - */ - -typedef struct -{ - QGradient * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGradient; - -HBQT_GC_FUNC( hbqt_gcRelease_QGradient ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGradient( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGradient * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGradient; - p->type = HBQT_TYPE_QGradient; - - return p; -} - -HB_FUNC( QT_QGRADIENT ) -{ - -} - -/* CoordinateMode coordinateMode () const */ -HB_FUNC( QT_QGRADIENT_COORDINATEMODE ) -{ - QGradient * p = hbqt_par_QGradient( 1 ); - if( p ) - hb_retni( ( QGradient::CoordinateMode ) ( p )->coordinateMode() ); -} - -/* void setColorAt ( qreal position, const QColor & color ) */ -HB_FUNC( QT_QGRADIENT_SETCOLORAT ) -{ - QGradient * p = hbqt_par_QGradient( 1 ); - if( p ) - ( p )->setColorAt( hb_parnd( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* void setCoordinateMode ( CoordinateMode mode ) */ -HB_FUNC( QT_QGRADIENT_SETCOORDINATEMODE ) -{ - QGradient * p = hbqt_par_QGradient( 1 ); - if( p ) - ( p )->setCoordinateMode( ( QGradient::CoordinateMode ) hb_parni( 2 ) ); -} - -/* void setSpread ( Spread method ) */ -HB_FUNC( QT_QGRADIENT_SETSPREAD ) -{ - QGradient * p = hbqt_par_QGradient( 1 ); - if( p ) - ( p )->setSpread( ( QGradient::Spread ) hb_parni( 2 ) ); -} - -/* Spread spread () const */ -HB_FUNC( QT_QGRADIENT_SPREAD ) -{ - QGradient * p = hbqt_par_QGradient( 1 ); - if( p ) - hb_retni( ( QGradient::Spread ) ( p )->spread() ); -} - -/* Type type () const */ -HB_FUNC( QT_QGRADIENT_TYPE ) -{ - QGradient * p = hbqt_par_QGradient( 1 ); - if( p ) - hb_retni( ( QGradient::Type ) ( p )->type() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp deleted file mode 100644 index dcd892aa7f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsEllipseItem ( QGraphicsItem * parent = 0 ) - * QGraphicsEllipseItem ( const QRectF & rect, QGraphicsItem * parent = 0 ) - * QGraphicsEllipseItem ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 ) - * ~QGraphicsEllipseItem () - */ - -typedef struct -{ - QGraphicsEllipseItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsEllipseItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsEllipseItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsEllipseItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsEllipseItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsEllipseItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsEllipseItem; - p->type = HBQT_TYPE_QGraphicsEllipseItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSELLIPSEITEM ) -{ - QGraphicsEllipseItem * pObj = NULL; - - if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QGraphicsEllipseItem( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QGraphicsItem( 5 ) : 0 ) ) ; - } - else if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QRectF ) - { - pObj = new QGraphicsEllipseItem( *hbqt_par_QRectF( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsEllipseItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsEllipseItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsEllipseItem( ( void * ) pObj, true ) ); -} - -/* QRectF rect () const */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_RECT ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); -} - -/* void setRect ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETRECT ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - ( p )->setRect( *hbqt_par_QRectF( 2 ) ); -} - -/* void setRect ( qreal x, qreal y, qreal width, qreal height ) */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETRECT_1 ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - ( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setSpanAngle ( int angle ) */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETSPANANGLE ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - ( p )->setSpanAngle( hb_parni( 2 ) ); -} - -/* void setStartAngle ( int angle ) */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETSTARTANGLE ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - ( p )->setStartAngle( hb_parni( 2 ) ); -} - -/* int spanAngle () const */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SPANANGLE ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - hb_retni( ( p )->spanAngle() ); -} - -/* int startAngle () const */ -HB_FUNC( QT_QGRAPHICSELLIPSEITEM_STARTANGLE ) -{ - QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 ); - if( p ) - hb_retni( ( p )->startAngle() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp deleted file mode 100644 index 24f2c11dbf..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsGridLayout.cpp +++ /dev/null @@ -1,426 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 42/42 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsGridLayout ( QGraphicsLayoutItem * parent = 0 ) - * virtual ~QGraphicsGridLayout () - */ - -typedef struct -{ - QGraphicsGridLayout * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsGridLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsGridLayout ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsGridLayout * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsGridLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsGridLayout * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsGridLayout; - p->type = HBQT_TYPE_QGraphicsGridLayout; - - return p; -} - -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT ) -{ - QGraphicsGridLayout * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsGridLayout( hbqt_par_QGraphicsLayoutItem( 1 ) ) ; - } - else - { - pObj = new QGraphicsGridLayout() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsGridLayout( ( void * ) pObj, true ) ); -} - -/* void addItem ( QGraphicsLayoutItem * item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ADDITEM ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) ); -} - -/* void addItem ( QGraphicsLayoutItem * item, int row, int column, Qt::Alignment alignment = 0 ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ADDITEM_1 ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); -} - -/* Qt::Alignment alignment ( QGraphicsLayoutItem * item ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ALIGNMENT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment( hbqt_par_QGraphicsLayoutItem( 2 ) ) ); -} - -/* Qt::Alignment columnAlignment ( int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNALIGNMENT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->columnAlignment( hb_parni( 2 ) ) ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNCOUNT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* qreal columnMaximumWidth ( int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNMAXIMUMWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->columnMaximumWidth( hb_parni( 2 ) ) ); -} - -/* qreal columnMinimumWidth ( int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNMINIMUMWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->columnMinimumWidth( hb_parni( 2 ) ) ); -} - -/* qreal columnPreferredWidth ( int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNPREFERREDWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->columnPreferredWidth( hb_parni( 2 ) ) ); -} - -/* qreal columnSpacing ( int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->columnSpacing( hb_parni( 2 ) ) ); -} - -/* int columnStretchFactor ( int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNSTRETCHFACTOR ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( p )->columnStretchFactor( hb_parni( 2 ) ) ); -} - -/* virtual int count () const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COUNT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* qreal horizontalSpacing () const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_HORIZONTALSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->horizontalSpacing() ); -} - -/* QGraphicsLayoutItem * itemAt ( int row, int column ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ITEMAT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* virtual QGraphicsLayoutItem * itemAt ( int index ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ITEMAT_1 ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) ); -} - -/* virtual void removeAt ( int index ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_REMOVEAT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->removeAt( hb_parni( 2 ) ); -} - -/* Qt::Alignment rowAlignment ( int row ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWALIGNMENT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->rowAlignment( hb_parni( 2 ) ) ); -} - -/* int rowCount () const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWCOUNT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( p )->rowCount() ); -} - -/* qreal rowMaximumHeight ( int row ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWMAXIMUMHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->rowMaximumHeight( hb_parni( 2 ) ) ); -} - -/* qreal rowMinimumHeight ( int row ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWMINIMUMHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->rowMinimumHeight( hb_parni( 2 ) ) ); -} - -/* qreal rowPreferredHeight ( int row ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWPREFERREDHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->rowPreferredHeight( hb_parni( 2 ) ) ); -} - -/* qreal rowSpacing ( int row ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->rowSpacing( hb_parni( 2 ) ) ); -} - -/* int rowStretchFactor ( int row ) const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWSTRETCHFACTOR ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retni( ( p )->rowStretchFactor( hb_parni( 2 ) ) ); -} - -/* void setAlignment ( QGraphicsLayoutItem * item, Qt::Alignment alignment ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETALIGNMENT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setAlignment( hbqt_par_QGraphicsLayoutItem( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); -} - -/* void setColumnAlignment ( int column, Qt::Alignment alignment ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNALIGNMENT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnAlignment( hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); -} - -/* void setColumnFixedWidth ( int column, qreal width ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNFIXEDWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnFixedWidth( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setColumnMaximumWidth ( int column, qreal width ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNMAXIMUMWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnMaximumWidth( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setColumnMinimumWidth ( int column, qreal width ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNMINIMUMWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnMinimumWidth( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setColumnPreferredWidth ( int column, qreal width ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNPREFERREDWIDTH ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnPreferredWidth( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setColumnSpacing ( int column, qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnSpacing( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setColumnStretchFactor ( int column, int stretch ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNSTRETCHFACTOR ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setColumnStretchFactor( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* virtual void setGeometry ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETGEOMETRY ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); -} - -/* void setHorizontalSpacing ( qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETHORIZONTALSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setHorizontalSpacing( hb_parnd( 2 ) ); -} - -/* void setRowAlignment ( int row, Qt::Alignment alignment ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWALIGNMENT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowAlignment( hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); -} - -/* void setRowFixedHeight ( int row, qreal height ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWFIXEDHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowFixedHeight( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setRowMaximumHeight ( int row, qreal height ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWMAXIMUMHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowMaximumHeight( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setRowMinimumHeight ( int row, qreal height ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWMINIMUMHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowMinimumHeight( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setRowPreferredHeight ( int row, qreal height ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWPREFERREDHEIGHT ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowPreferredHeight( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setRowSpacing ( int row, qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowSpacing( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setRowStretchFactor ( int row, int stretch ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWSTRETCHFACTOR ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setRowStretchFactor( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setSpacing ( qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setSpacing( hb_parnd( 2 ) ); -} - -/* void setVerticalSpacing ( qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETVERTICALSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - ( p )->setVerticalSpacing( hb_parnd( 2 ) ); -} - -/* qreal verticalSpacing () const */ -HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_VERTICALSPACING ) -{ - QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 ); - if( p ) - hb_retnd( ( p )->verticalSpacing() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp deleted file mode 100644 index b69ff74898..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsItem.cpp +++ /dev/null @@ -1,1291 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache } - * enum GraphicsItemChange { ItemEnabledChange, ItemEnabledHasChanged, ItemMatrixChange, ItemPositionChange, ..., ItemOpacityHasChanged } - * enum GraphicsItemFlag { ItemIsMovable, ItemIsSelectable, ItemIsFocusable, ItemClipsToShape, ..., ItemStacksBehindParent } - * flags GraphicsItemFlags - */ - -/* - * Constructed[ 150/150 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QGraphicsItem ( QGraphicsItem * parent = 0 ) - * virtual ~QGraphicsItem () - */ - -typedef struct -{ - QGraphicsItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsItem; - p->type = HBQT_TYPE_QGraphicsItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSITEM ) -{ - -} - -/* bool acceptDrops () const */ -HB_FUNC( QT_QGRAPHICSITEM_ACCEPTDROPS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->acceptDrops() ); -} - -/* bool acceptHoverEvents () const */ -HB_FUNC( QT_QGRAPHICSITEM_ACCEPTHOVEREVENTS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->acceptHoverEvents() ); -} - -/* Qt::MouseButtons acceptedMouseButtons () const */ -HB_FUNC( QT_QGRAPHICSITEM_ACCEPTEDMOUSEBUTTONS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->acceptedMouseButtons() ); -} - -/* virtual void advance ( int phase ) */ -HB_FUNC( QT_QGRAPHICSITEM_ADVANCE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->advance( hb_parni( 2 ) ); -} - -/* virtual QRectF boundingRect () const = 0 */ -HB_FUNC( QT_QGRAPHICSITEM_BOUNDINGRECT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect() ), true ) ); -} - -/* QRegion boundingRegion ( const QTransform & itemToDeviceTransform ) const */ -HB_FUNC( QT_QGRAPHICSITEM_BOUNDINGREGION ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->boundingRegion( *hbqt_par_QTransform( 2 ) ) ), true ) ); -} - -/* qreal boundingRegionGranularity () const */ -HB_FUNC( QT_QGRAPHICSITEM_BOUNDINGREGIONGRANULARITY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->boundingRegionGranularity() ); -} - -/* CacheMode cacheMode () const */ -HB_FUNC( QT_QGRAPHICSITEM_CACHEMODE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retni( ( QGraphicsItem::CacheMode ) ( p )->cacheMode() ); -} - -/* QList childItems () const */ -HB_FUNC( QT_QGRAPHICSITEM_CHILDITEMS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->childItems() ), true ) ); -} - -/* QRectF childrenBoundingRect () const */ -HB_FUNC( QT_QGRAPHICSITEM_CHILDRENBOUNDINGRECT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->childrenBoundingRect() ), true ) ); -} - -/* void clearFocus () */ -HB_FUNC( QT_QGRAPHICSITEM_CLEARFOCUS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->clearFocus(); -} - -/* QPainterPath clipPath () const */ -HB_FUNC( QT_QGRAPHICSITEM_CLIPPATH ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->clipPath() ), true ) ); -} - -/* virtual bool collidesWithItem ( const QGraphicsItem * other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSITEM_COLLIDESWITHITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->collidesWithItem( hbqt_par_QGraphicsItem( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ); -} - -/* virtual bool collidesWithPath ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSITEM_COLLIDESWITHPATH ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->collidesWithPath( *hbqt_par_QPainterPath( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ); -} - -/* QList collidingItems ( Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSITEM_COLLIDINGITEMS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->collidingItems( ( HB_ISNUM( 2 ) ? ( Qt::ItemSelectionMode ) hb_parni( 2 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QGraphicsItem * commonAncestorItem ( const QGraphicsItem * other ) const */ -HB_FUNC( QT_QGRAPHICSITEM_COMMONANCESTORITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->commonAncestorItem( hbqt_par_QGraphicsItem( 2 ) ), false ) ); -} - -/* virtual bool contains ( const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_CONTAINS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QPointF( 2 ) ) ); -} - -/* QCursor cursor () const */ -HB_FUNC( QT_QGRAPHICSITEM_CURSOR ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCursor( new QCursor( ( p )->cursor() ), true ) ); -} - -/* QVariant data ( int key ) const */ -HB_FUNC( QT_QGRAPHICSITEM_DATA ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( hb_parni( 2 ) ) ), true ) ); -} - -/* QTransform deviceTransform ( const QTransform & viewportTransform ) const */ -HB_FUNC( QT_QGRAPHICSITEM_DEVICETRANSFORM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->deviceTransform( *hbqt_par_QTransform( 2 ) ) ), true ) ); -} - -/* qreal effectiveOpacity () const */ -HB_FUNC( QT_QGRAPHICSITEM_EFFECTIVEOPACITY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->effectiveOpacity() ); -} - -/* void ensureVisible ( const QRectF & rect = QRectF(), int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QGRAPHICSITEM_ENSUREVISIBLE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->ensureVisible( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRectF( 2 ) : QRectF() ), hb_parnidef( 3, 50 ), hb_parnidef( 4, 50 ) ); -} - -/* void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QGRAPHICSITEM_ENSUREVISIBLE_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->ensureVisible( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnidef( 6, 50 ), hb_parnidef( 7, 50 ) ); -} - -/* GraphicsItemFlags flags () const */ -HB_FUNC( QT_QGRAPHICSITEM_FLAGS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retni( ( QGraphicsItem::GraphicsItemFlags ) ( p )->flags() ); -} - -/* void grabKeyboard () */ -HB_FUNC( QT_QGRAPHICSITEM_GRABKEYBOARD ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->grabKeyboard(); -} - -/* void grabMouse () */ -HB_FUNC( QT_QGRAPHICSITEM_GRABMOUSE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->grabMouse(); -} - -/* QGraphicsItemGroup * group () const */ -HB_FUNC( QT_QGRAPHICSITEM_GROUP ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItemGroup( ( p )->group(), false ) ); -} - -/* bool handlesChildEvents () const */ -HB_FUNC( QT_QGRAPHICSITEM_HANDLESCHILDEVENTS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->handlesChildEvents() ); -} - -/* bool hasCursor () const */ -HB_FUNC( QT_QGRAPHICSITEM_HASCURSOR ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->hasCursor() ); -} - -/* bool hasFocus () const */ -HB_FUNC( QT_QGRAPHICSITEM_HASFOCUS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->hasFocus() ); -} - -/* void hide () */ -HB_FUNC( QT_QGRAPHICSITEM_HIDE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->hide(); -} - -/* void installSceneEventFilter ( QGraphicsItem * filterItem ) */ -HB_FUNC( QT_QGRAPHICSITEM_INSTALLSCENEEVENTFILTER ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->installSceneEventFilter( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* bool isAncestorOf ( const QGraphicsItem * child ) const */ -HB_FUNC( QT_QGRAPHICSITEM_ISANCESTOROF ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isAncestorOf( hbqt_par_QGraphicsItem( 2 ) ) ); -} - -/* bool isClipped () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISCLIPPED ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isClipped() ); -} - -/* bool isEnabled () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISENABLED ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isEnabled() ); -} - -/* bool isObscured () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISOBSCURED ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isObscured() ); -} - -/* bool isObscured ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_ISOBSCURED_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isObscured( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ); -} - -/* bool isObscured ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_ISOBSCURED_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isObscured( *hbqt_par_QRectF( 2 ) ) ); -} - -/* virtual bool isObscuredBy ( const QGraphicsItem * item ) const */ -HB_FUNC( QT_QGRAPHICSITEM_ISOBSCUREDBY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isObscuredBy( hbqt_par_QGraphicsItem( 2 ) ) ); -} - -/* bool isSelected () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISSELECTED ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isSelected() ); -} - -/* bool isUnderMouse () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISUNDERMOUSE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isUnderMouse() ); -} - -/* bool isVisible () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISVISIBLE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isVisible() ); -} - -/* bool isVisibleTo ( const QGraphicsItem * parent ) const */ -HB_FUNC( QT_QGRAPHICSITEM_ISVISIBLETO ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isVisibleTo( hbqt_par_QGraphicsItem( 2 ) ) ); -} - -/* bool isWidget () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISWIDGET ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isWidget() ); -} - -/* bool isWindow () const */ -HB_FUNC( QT_QGRAPHICSITEM_ISWINDOW ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retl( ( p )->isWindow() ); -} - -/* QTransform itemTransform ( const QGraphicsItem * other, bool * ok = 0 ) const */ -HB_FUNC( QT_QGRAPHICSITEM_ITEMTRANSFORM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - bool iOk = 0; - - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->itemTransform( hbqt_par_QGraphicsItem( 2 ), &iOk ) ), true ) ); - - hb_stornl( iOk, 3 ); -} - -/* QPointF mapFromItem ( const QGraphicsItem * item, const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapFromItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QPointF( 3 ) ) ), true ) ); -} - -/* QPolygonF mapFromItem ( const QGraphicsItem * item, const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMITEM_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QRectF( 3 ) ) ), true ) ); -} - -/* QPolygonF mapFromItem ( const QGraphicsItem * item, const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMITEM_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QPolygonF( 3 ) ) ), true ) ); -} - -/* QPainterPath mapFromItem ( const QGraphicsItem * item, const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMITEM_3 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapFromItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QPainterPath( 3 ) ) ), true ) ); -} - -/* QPolygonF mapFromItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMITEM_4 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromItem( hbqt_par_QGraphicsItem( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ) ), true ) ); -} - -/* QPointF mapFromItem ( const QGraphicsItem * item, qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMITEM_5 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapFromItem( hbqt_par_QGraphicsItem( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ), true ) ); -} - -/* QPointF mapFromParent ( const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMPARENT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapFromParent( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapFromParent ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMPARENT_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromParent( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapFromParent ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMPARENT_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromParent( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPainterPath mapFromParent ( const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMPARENT_3 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapFromParent( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPolygonF mapFromParent ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMPARENT_4 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromParent( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QPointF mapFromParent ( qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMPARENT_5 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapFromParent( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QPointF mapFromScene ( const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMSCENE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapFromScene( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapFromScene ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMSCENE_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromScene( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapFromScene ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMSCENE_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromScene( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPainterPath mapFromScene ( const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMSCENE_3 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapFromScene( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPolygonF mapFromScene ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMSCENE_4 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapFromScene( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QPointF mapFromScene ( qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPFROMSCENE_5 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapFromScene( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QRectF mapRectFromItem ( const QGraphicsItem * item, const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTFROMITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectFromItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QRectF( 3 ) ) ), true ) ); -} - -/* QRectF mapRectFromItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTFROMITEM_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectFromItem( hbqt_par_QGraphicsItem( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ) ), true ) ); -} - -/* QRectF mapRectFromParent ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTFROMPARENT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectFromParent( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QRectF mapRectFromParent ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTFROMPARENT_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectFromParent( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QRectF mapRectFromScene ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTFROMSCENE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectFromScene( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QRectF mapRectFromScene ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTFROMSCENE_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectFromScene( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QRectF mapRectToItem ( const QGraphicsItem * item, const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTTOITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectToItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QRectF( 3 ) ) ), true ) ); -} - -/* QRectF mapRectToItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTTOITEM_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectToItem( hbqt_par_QGraphicsItem( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ) ), true ) ); -} - -/* QRectF mapRectToParent ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTTOPARENT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectToParent( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QRectF mapRectToParent ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTTOPARENT_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectToParent( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QRectF mapRectToScene ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTTOSCENE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectToScene( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QRectF mapRectToScene ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPRECTTOSCENE_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRectToScene( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QPointF mapToItem ( const QGraphicsItem * item, const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QPointF( 3 ) ) ), true ) ); -} - -/* QPolygonF mapToItem ( const QGraphicsItem * item, const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOITEM_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QRectF( 3 ) ) ), true ) ); -} - -/* QPolygonF mapToItem ( const QGraphicsItem * item, const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOITEM_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QPolygonF( 3 ) ) ), true ) ); -} - -/* QPainterPath mapToItem ( const QGraphicsItem * item, const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOITEM_3 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapToItem( hbqt_par_QGraphicsItem( 2 ), *hbqt_par_QPainterPath( 3 ) ) ), true ) ); -} - -/* QPolygonF mapToItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOITEM_4 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToItem( hbqt_par_QGraphicsItem( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ) ), true ) ); -} - -/* QPointF mapToItem ( const QGraphicsItem * item, qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOITEM_5 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToItem( hbqt_par_QGraphicsItem( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ), true ) ); -} - -/* QPointF mapToParent ( const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOPARENT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToParent( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToParent ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOPARENT_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToParent( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToParent ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOPARENT_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToParent( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPainterPath mapToParent ( const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOPARENT_3 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapToParent( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToParent ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOPARENT_4 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToParent( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QPointF mapToParent ( qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOPARENT_5 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToParent( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QPointF mapToScene ( const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOSCENE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToScene( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToScene ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOSCENE_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToScene( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToScene ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOSCENE_2 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToScene( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPainterPath mapToScene ( const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOSCENE_3 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapToScene( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToScene ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOSCENE_4 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToScene( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QPointF mapToScene ( qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSITEM_MAPTOSCENE_5 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToScene( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* void moveBy ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QGRAPHICSITEM_MOVEBY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->moveBy( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* qreal opacity () const */ -HB_FUNC( QT_QGRAPHICSITEM_OPACITY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->opacity() ); -} - -/* virtual QPainterPath opaqueArea () const */ -HB_FUNC( QT_QGRAPHICSITEM_OPAQUEAREA ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->opaqueArea() ), true ) ); -} - -/* virtual void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 ) = 0 */ -HB_FUNC( QT_QGRAPHICSITEM_PAINT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), hbqt_par_QStyleOptionGraphicsItem( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* QGraphicsItem * parentItem () const */ -HB_FUNC( QT_QGRAPHICSITEM_PARENTITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->parentItem(), false ) ); -} - -/* QGraphicsWidget * parentWidget () const */ -HB_FUNC( QT_QGRAPHICSITEM_PARENTWIDGET ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->parentWidget(), false ) ); -} - -/* QPointF pos () const */ -HB_FUNC( QT_QGRAPHICSITEM_POS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); -} - -/* void removeSceneEventFilter ( QGraphicsItem * filterItem ) */ -HB_FUNC( QT_QGRAPHICSITEM_REMOVESCENEEVENTFILTER ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->removeSceneEventFilter( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* void resetTransform () */ -HB_FUNC( QT_QGRAPHICSITEM_RESETTRANSFORM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->resetTransform(); -} - -/* void rotate ( qreal angle ) */ -HB_FUNC( QT_QGRAPHICSITEM_ROTATE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->rotate( hb_parnd( 2 ) ); -} - -/* void scale ( qreal sx, qreal sy ) */ -HB_FUNC( QT_QGRAPHICSITEM_SCALE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->scale( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QGraphicsScene * scene () const */ -HB_FUNC( QT_QGRAPHICSITEM_SCENE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsScene( ( p )->scene(), false ) ); -} - -/* QRectF sceneBoundingRect () const */ -HB_FUNC( QT_QGRAPHICSITEM_SCENEBOUNDINGRECT ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->sceneBoundingRect() ), true ) ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSITEM_SCENEPOS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QTransform sceneTransform () const */ -HB_FUNC( QT_QGRAPHICSITEM_SCENETRANSFORM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->sceneTransform() ), true ) ); -} - -/* void scroll ( qreal dx, qreal dy, const QRectF & rect = QRectF() ) */ -HB_FUNC( QT_QGRAPHICSITEM_SCROLL ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->scroll( hb_parnd( 2 ), hb_parnd( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QRectF( 4 ) : QRectF() ) ); -} - -/* void setAcceptDrops ( bool on ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETACCEPTDROPS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setAcceptDrops( hb_parl( 2 ) ); -} - -/* void setAcceptHoverEvents ( bool enabled ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETACCEPTHOVEREVENTS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setAcceptHoverEvents( hb_parl( 2 ) ); -} - -/* void setAcceptedMouseButtons ( Qt::MouseButtons buttons ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETACCEPTEDMOUSEBUTTONS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setAcceptedMouseButtons( ( Qt::MouseButtons ) hb_parni( 2 ) ); -} - -/* void setBoundingRegionGranularity ( qreal granularity ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETBOUNDINGREGIONGRANULARITY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setBoundingRegionGranularity( hb_parnd( 2 ) ); -} - -/* void setCacheMode ( CacheMode mode, const QSize & logicalCacheSize = QSize() ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETCACHEMODE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setCacheMode( ( QGraphicsItem::CacheMode ) hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QSize( 3 ) : QSize() ) ); -} - -/* void setCursor ( const QCursor & cursor ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETCURSOR ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* void setData ( int key, const QVariant & value ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETDATA ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* void setEnabled ( bool enabled ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETENABLED ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setEnabled( hb_parl( 2 ) ); -} - -/* void setFlag ( GraphicsItemFlag flag, bool enabled = true ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETFLAG ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setFlag( ( QGraphicsItem::GraphicsItemFlag ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setFlags ( GraphicsItemFlags flags ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETFLAGS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setFlags( ( QGraphicsItem::GraphicsItemFlags ) hb_parni( 2 ) ); -} - -/* void setFocus ( Qt::FocusReason focusReason = Qt::OtherFocusReason ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETFOCUS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setFocus( ( HB_ISNUM( 2 ) ? ( Qt::FocusReason ) hb_parni( 2 ) : ( Qt::FocusReason ) Qt::OtherFocusReason ) ); -} - -/* void setGroup ( QGraphicsItemGroup * group ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETGROUP ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setGroup( hbqt_par_QGraphicsItemGroup( 2 ) ); -} - -/* void setHandlesChildEvents ( bool enabled ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETHANDLESCHILDEVENTS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setHandlesChildEvents( hb_parl( 2 ) ); -} - -/* void setOpacity ( qreal opacity ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETOPACITY ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setOpacity( hb_parnd( 2 ) ); -} - -/* void setParentItem ( QGraphicsItem * parent ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETPARENTITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setParentItem( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* void setPos ( const QPointF & pos ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETPOS ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setPos( *hbqt_par_QPointF( 2 ) ); -} - -/* void setPos ( qreal x, qreal y ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETPOS_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setPos( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setSelected ( bool selected ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETSELECTED ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setSelected( hb_parl( 2 ) ); -} - -/* void setToolTip ( const QString & toolTip ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETTOOLTIP ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTransform ( const QTransform & matrix, bool combine = false ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETTRANSFORM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setTransform( *hbqt_par_QTransform( 2 ), hb_parl( 3 ) ); -} - -/* void setVisible ( bool visible ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETVISIBLE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* void setZValue ( qreal z ) */ -HB_FUNC( QT_QGRAPHICSITEM_SETZVALUE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->setZValue( hb_parnd( 2 ) ); -} - -/* virtual QPainterPath shape () const */ -HB_FUNC( QT_QGRAPHICSITEM_SHAPE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->shape() ), true ) ); -} - -/* void shear ( qreal sh, qreal sv ) */ -HB_FUNC( QT_QGRAPHICSITEM_SHEAR ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->shear( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void show () */ -HB_FUNC( QT_QGRAPHICSITEM_SHOW ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->show(); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QGRAPHICSITEM_TOOLTIP ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* QGraphicsItem * topLevelItem () const */ -HB_FUNC( QT_QGRAPHICSITEM_TOPLEVELITEM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->topLevelItem(), false ) ); -} - -/* QGraphicsWidget * topLevelWidget () const */ -HB_FUNC( QT_QGRAPHICSITEM_TOPLEVELWIDGET ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->topLevelWidget(), false ) ); -} - -/* QTransform transform () const */ -HB_FUNC( QT_QGRAPHICSITEM_TRANSFORM ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->transform() ), true ) ); -} - -/* void translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QGRAPHICSITEM_TRANSLATE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* virtual int type () const */ -HB_FUNC( QT_QGRAPHICSITEM_TYPE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retni( ( p )->type() ); -} - -/* void ungrabKeyboard () */ -HB_FUNC( QT_QGRAPHICSITEM_UNGRABKEYBOARD ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->ungrabKeyboard(); -} - -/* void ungrabMouse () */ -HB_FUNC( QT_QGRAPHICSITEM_UNGRABMOUSE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->ungrabMouse(); -} - -/* void unsetCursor () */ -HB_FUNC( QT_QGRAPHICSITEM_UNSETCURSOR ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->unsetCursor(); -} - -/* void update ( const QRectF & rect = QRectF() ) */ -HB_FUNC( QT_QGRAPHICSITEM_UPDATE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->update( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRectF( 2 ) : QRectF() ) ); -} - -/* void update ( qreal x, qreal y, qreal width, qreal height ) */ -HB_FUNC( QT_QGRAPHICSITEM_UPDATE_1 ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - ( p )->update( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* QGraphicsWidget * window () const */ -HB_FUNC( QT_QGRAPHICSITEM_WINDOW ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->window(), false ) ); -} - -/* qreal x () const */ -HB_FUNC( QT_QGRAPHICSITEM_X ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->x() ); -} - -/* qreal y () const */ -HB_FUNC( QT_QGRAPHICSITEM_Y ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->y() ); -} - -/* qreal zValue () const */ -HB_FUNC( QT_QGRAPHICSITEM_ZVALUE ) -{ - QGraphicsItem * p = hbqt_par_QGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->zValue() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp deleted file mode 100644 index c28d2ff418..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemAnimation.cpp +++ /dev/null @@ -1,264 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 20/25 [ 80.00% ] ] - * - * *** Unconvered Prototypes *** - * - * QList > posList () const - * QList > rotationList () const - * QList > scaleList () const - * QList > shearList () const - * QList > translationList () const - */ - -#include - -#include -#include -#include - - -/* - * QGraphicsItemAnimation ( QObject * parent = 0 ) - * virtual ~QGraphicsItemAnimation () - */ - -typedef struct -{ - QPointer< QGraphicsItemAnimation > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsItemAnimation; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemAnimation ) -{ - HBQT_GC_T_QGraphicsItemAnimation * p = ( HBQT_GC_T_QGraphicsItemAnimation * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGraphicsItemAnimation * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsItemAnimation( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGraphicsItemAnimation * p = ( HBQT_GC_T_QGraphicsItemAnimation * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsItemAnimation ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGraphicsItemAnimation >( ( QGraphicsItemAnimation * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsItemAnimation; - p->type = HBQT_TYPE_QGraphicsItemAnimation; - - return p; -} - -HB_FUNC( QT_QGRAPHICSITEMANIMATION ) -{ - QGraphicsItemAnimation * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsItemAnimation( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QGraphicsItemAnimation() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsItemAnimation( ( void * ) pObj, true ) ); -} - -/* void clear () */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_CLEAR ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->clear(); -} - -/* qreal horizontalScaleAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_HORIZONTALSCALEAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->horizontalScaleAt( hb_parnd( 2 ) ) ); -} - -/* qreal horizontalShearAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_HORIZONTALSHEARAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->horizontalShearAt( hb_parnd( 2 ) ) ); -} - -/* QGraphicsItem * item () const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_ITEM ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->item(), false ) ); -} - -/* QMatrix matrixAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_MATRIXAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->matrixAt( hb_parnd( 2 ) ) ), true ) ); -} - -/* QPointF posAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_POSAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->posAt( hb_parnd( 2 ) ) ), true ) ); -} - -/* qreal rotationAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_ROTATIONAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->rotationAt( hb_parnd( 2 ) ) ); -} - -/* void setItem ( QGraphicsItem * item ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETITEM ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setItem( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* void setPosAt ( qreal step, const QPointF & point ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETPOSAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setPosAt( hb_parnd( 2 ), *hbqt_par_QPointF( 3 ) ); -} - -/* void setRotationAt ( qreal step, qreal angle ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETROTATIONAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setRotationAt( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setScaleAt ( qreal step, qreal sx, qreal sy ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETSCALEAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setScaleAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* void setShearAt ( qreal step, qreal sh, qreal sv ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETSHEARAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setShearAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* void setTimeLine ( QTimeLine * timeLine ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETTIMELINE ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setTimeLine( hbqt_par_QTimeLine( 2 ) ); -} - -/* void setTranslationAt ( qreal step, qreal dx, qreal dy ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETTRANSLATIONAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setTranslationAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* QTimeLine * timeLine () const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_TIMELINE ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTimeLine( ( p )->timeLine(), false ) ); -} - -/* qreal verticalScaleAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_VERTICALSCALEAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->verticalScaleAt( hb_parnd( 2 ) ) ); -} - -/* qreal verticalShearAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_VERTICALSHEARAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->verticalShearAt( hb_parnd( 2 ) ) ); -} - -/* qreal xTranslationAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_XTRANSLATIONAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->xTranslationAt( hb_parnd( 2 ) ) ); -} - -/* qreal yTranslationAt ( qreal step ) const */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_YTRANSLATIONAT ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - hb_retnd( ( p )->yTranslationAt( hb_parnd( 2 ) ) ); -} - -/* void setStep ( qreal step ) */ -HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETSTEP ) -{ - QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 ); - if( p ) - ( p )->setStep( hb_parnd( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp deleted file mode 100644 index 0b522f641b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsItemGroup.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsItemGroup ( QGraphicsItem * parent = 0 ) - * ~QGraphicsItemGroup () - */ - -typedef struct -{ - QGraphicsItemGroup * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsItemGroup; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemGroup ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsItemGroup * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsItemGroup( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsItemGroup * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsItemGroup; - p->type = HBQT_TYPE_QGraphicsItemGroup; - - return p; -} - -HB_FUNC( QT_QGRAPHICSITEMGROUP ) -{ - QGraphicsItemGroup * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsItemGroup( hbqt_par_QGraphicsItem( 1 ) ) ; - } - else - { - pObj = new QGraphicsItemGroup() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsItemGroup( ( void * ) pObj, true ) ); -} - -/* void addToGroup ( QGraphicsItem * item ) */ -HB_FUNC( QT_QGRAPHICSITEMGROUP_ADDTOGROUP ) -{ - QGraphicsItemGroup * p = hbqt_par_QGraphicsItemGroup( 1 ); - if( p ) - ( p )->addToGroup( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* void removeFromGroup ( QGraphicsItem * item ) */ -HB_FUNC( QT_QGRAPHICSITEMGROUP_REMOVEFROMGROUP ) -{ - QGraphicsItemGroup * p = hbqt_par_QGraphicsItemGroup( 1 ); - if( p ) - ( p )->removeFromGroup( hbqt_par_QGraphicsItem( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp deleted file mode 100644 index 2c3337059f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayout.cpp +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsLayout ( QGraphicsLayoutItem * parent = 0 ) - * ~QGraphicsLayout () - */ - -typedef struct -{ - QGraphicsLayout * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayout ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsLayout * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsLayout; - p->type = HBQT_TYPE_QGraphicsLayout; - - return p; -} - -HB_FUNC( QT_QGRAPHICSLAYOUT ) -{ - // __HB_RETPTRGC__( new QGraphicsLayout() ); -} - -/* void activate () */ -HB_FUNC( QT_QGRAPHICSLAYOUT_ACTIVATE ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - ( p )->activate(); -} - -/* virtual int count () const = 0 */ -HB_FUNC( QT_QGRAPHICSLAYOUT_COUNT ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* virtual void invalidate () */ -HB_FUNC( QT_QGRAPHICSLAYOUT_INVALIDATE ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - ( p )->invalidate(); -} - -/* bool isActivated () const */ -HB_FUNC( QT_QGRAPHICSLAYOUT_ISACTIVATED ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - hb_retl( ( p )->isActivated() ); -} - -/* virtual QGraphicsLayoutItem * itemAt ( int i ) const = 0 */ -HB_FUNC( QT_QGRAPHICSLAYOUT_ITEMAT ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) ); -} - -/* virtual void removeAt ( int index ) = 0 */ -HB_FUNC( QT_QGRAPHICSLAYOUT_REMOVEAT ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - ( p )->removeAt( hb_parni( 2 ) ); -} - -/* void setContentsMargins ( qreal left, qreal top, qreal right, qreal bottom ) */ -HB_FUNC( QT_QGRAPHICSLAYOUT_SETCONTENTSMARGINS ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - ( p )->setContentsMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* virtual void widgetEvent ( QEvent * e ) */ -HB_FUNC( QT_QGRAPHICSLAYOUT_WIDGETEVENT ) -{ - QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 ); - if( p ) - ( p )->widgetEvent( hbqt_par_QEvent( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp deleted file mode 100644 index c439953ec7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp +++ /dev/null @@ -1,368 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 35/35 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include -#include - - -/* - * QGraphicsLayoutItem ( QGraphicsLayoutItem * parent = 0, bool isLayout = false ) - * virtual ~QGraphicsLayoutItem () - */ - -typedef struct -{ - QGraphicsLayoutItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsLayoutItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayoutItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsLayoutItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsLayoutItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsLayoutItem; - p->type = HBQT_TYPE_QGraphicsLayoutItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSLAYOUTITEM ) -{ - // __HB_RETPTRGC__( new QGraphicsLayoutItem() ); -} - -/* QRectF contentsRect () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_CONTENTSRECT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->contentsRect() ), true ) ); -} - -/* QSizeF effectiveSizeHint ( Qt::SizeHint which, const QSizeF & constraint = QSizeF() ) const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_EFFECTIVESIZEHINT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->effectiveSizeHint( ( Qt::SizeHint ) hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QSizeF( 3 ) : QSizeF() ) ) ), true ) ); -} - -/* QRectF geometry () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_GEOMETRY ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->geometry() ), true ) ); -} - -/* virtual void getContentsMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_GETCONTENTSMARGINS ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - qreal qrLeft = 0; - qreal qrTop = 0; - qreal qrRight = 0; - qreal qrBottom = 0; - - if( p ) - ( p )->getContentsMargins( &qrLeft, &qrTop, &qrRight, &qrBottom ); - - hb_stornd( qrLeft, 2 ); - hb_stornd( qrTop, 3 ); - hb_stornd( qrRight, 4 ); - hb_stornd( qrBottom, 5 ); -} - -/* QGraphicsItem * graphicsItem () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_GRAPHICSITEM ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->graphicsItem(), false ) ); -} - -/* bool isLayout () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_ISLAYOUT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retl( ( p )->isLayout() ); -} - -/* qreal maximumHeight () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MAXIMUMHEIGHT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retnd( ( p )->maximumHeight() ); -} - -/* QSizeF maximumSize () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MAXIMUMSIZE ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->maximumSize() ), true ) ); -} - -/* qreal maximumWidth () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MAXIMUMWIDTH ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retnd( ( p )->maximumWidth() ); -} - -/* qreal minimumHeight () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MINIMUMHEIGHT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retnd( ( p )->minimumHeight() ); -} - -/* QSizeF minimumSize () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MINIMUMSIZE ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->minimumSize() ), true ) ); -} - -/* qreal minimumWidth () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MINIMUMWIDTH ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retnd( ( p )->minimumWidth() ); -} - -/* bool ownedByLayout () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_OWNEDBYLAYOUT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retl( ( p )->ownedByLayout() ); -} - -/* QGraphicsLayoutItem * parentLayoutItem () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PARENTLAYOUTITEM ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->parentLayoutItem(), false ) ); -} - -/* qreal preferredHeight () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PREFERREDHEIGHT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retnd( ( p )->preferredHeight() ); -} - -/* QSizeF preferredSize () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PREFERREDSIZE ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->preferredSize() ), true ) ); -} - -/* qreal preferredWidth () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PREFERREDWIDTH ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retnd( ( p )->preferredWidth() ); -} - -/* virtual void setGeometry ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETGEOMETRY ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); -} - -/* void setMaximumHeight ( qreal height ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMHEIGHT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMaximumHeight( hb_parnd( 2 ) ); -} - -/* void setMaximumSize ( const QSizeF & size ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMSIZE ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMaximumSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* void setMaximumSize ( qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMSIZE_1 ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMaximumSize( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setMaximumWidth ( qreal width ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMWIDTH ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMaximumWidth( hb_parnd( 2 ) ); -} - -/* void setMinimumHeight ( qreal height ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMHEIGHT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMinimumHeight( hb_parnd( 2 ) ); -} - -/* void setMinimumSize ( const QSizeF & size ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMSIZE ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMinimumSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* void setMinimumSize ( qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMSIZE_1 ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMinimumSize( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setMinimumWidth ( qreal width ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMWIDTH ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setMinimumWidth( hb_parnd( 2 ) ); -} - -/* void setParentLayoutItem ( QGraphicsLayoutItem * parent ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPARENTLAYOUTITEM ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setParentLayoutItem( hbqt_par_QGraphicsLayoutItem( 2 ) ); -} - -/* void setPreferredHeight ( qreal height ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDHEIGHT ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setPreferredHeight( hb_parnd( 2 ) ); -} - -/* void setPreferredSize ( const QSizeF & size ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDSIZE ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setPreferredSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* void setPreferredSize ( qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDSIZE_1 ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setPreferredSize( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setPreferredWidth ( qreal width ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDWIDTH ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setPreferredWidth( hb_parnd( 2 ) ); -} - -/* void setSizePolicy ( const QSizePolicy & policy ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETSIZEPOLICY ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setSizePolicy( *hbqt_par_QSizePolicy( 2 ) ); -} - -/* void setSizePolicy ( QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType ) */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETSIZEPOLICY_1 ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->setSizePolicy( ( QSizePolicy::Policy ) hb_parni( 2 ), ( QSizePolicy::Policy ) hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QSizePolicy::ControlType ) hb_parni( 4 ) : ( QSizePolicy::ControlType ) QSizePolicy::DefaultType ) ); -} - -/* QSizePolicy sizePolicy () const */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SIZEPOLICY ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizePolicy( new QSizePolicy( ( p )->sizePolicy() ), true ) ); -} - -/* virtual void updateGeometry () */ -HB_FUNC( QT_QGRAPHICSLAYOUTITEM_UPDATEGEOMETRY ) -{ - QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 ); - if( p ) - ( p )->updateGeometry(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp deleted file mode 100644 index b66ce4c9a8..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QGraphicsLineItem ( QGraphicsItem * parent = 0 ) - * QGraphicsLineItem ( const QLineF & line, QGraphicsItem * parent = 0 ) - * QGraphicsLineItem ( qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent = 0 ) - * ~QGraphicsLineItem () - */ - -typedef struct -{ - QGraphicsLineItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsLineItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLineItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsLineItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsLineItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsLineItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsLineItem; - p->type = HBQT_TYPE_QGraphicsLineItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSLINEITEM ) -{ - QGraphicsLineItem * pObj = NULL; - - if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QGraphicsLineItem( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QGraphicsItem( 5 ) : 0 ) ) ; - } - else if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QLineF ) - { - pObj = new QGraphicsLineItem( *hbqt_par_QLineF( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsLineItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsLineItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsLineItem( ( void * ) pObj, true ) ); -} - -/* QLineF line () const */ -HB_FUNC( QT_QGRAPHICSLINEITEM_LINE ) -{ - QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->line() ), true ) ); -} - -/* QPen pen () const */ -HB_FUNC( QT_QGRAPHICSLINEITEM_PEN ) -{ - QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) ); -} - -/* void setLine ( const QLineF & line ) */ -HB_FUNC( QT_QGRAPHICSLINEITEM_SETLINE ) -{ - QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 ); - if( p ) - ( p )->setLine( *hbqt_par_QLineF( 2 ) ); -} - -/* void setLine ( qreal x1, qreal y1, qreal x2, qreal y2 ) */ -HB_FUNC( QT_QGRAPHICSLINEITEM_SETLINE_1 ) -{ - QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 ); - if( p ) - ( p )->setLine( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setPen ( const QPen & pen ) */ -HB_FUNC( QT_QGRAPHICSLINEITEM_SETPEN ) -{ - QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 ); - if( p ) - ( p )->setPen( *hbqt_par_QPen( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp deleted file mode 100644 index 82dcde80fb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsLinearLayout.cpp +++ /dev/null @@ -1,230 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 16/16 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsLinearLayout ( QGraphicsLayoutItem * parent = 0 ) - * QGraphicsLinearLayout ( Qt::Orientation orientation, QGraphicsLayoutItem * parent = 0 ) - * virtual ~QGraphicsLinearLayout () - */ - -typedef struct -{ - QGraphicsLinearLayout * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsLinearLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLinearLayout ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsLinearLayout * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsLinearLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsLinearLayout * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsLinearLayout; - p->type = HBQT_TYPE_QGraphicsLinearLayout; - - return p; -} - -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT ) -{ - QGraphicsLinearLayout * pObj = NULL; - - if( hb_pcount() >= 1 ) - { - if( HB_ISNUM( 1 ) ) - { - pObj = new QGraphicsLinearLayout( ( Qt::Orientation ) hb_parni( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsLayoutItem( 2 ) : 0 ) ) ; - } - else if( HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsLinearLayout( hbqt_par_QGraphicsLayoutItem( 1 ) ) ; - } - else - { - pObj = new QGraphicsLinearLayout() ; - } - } - else - { - pObj = new QGraphicsLinearLayout() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsLinearLayout( ( void * ) pObj, true ) ); -} - -/* void addItem ( QGraphicsLayoutItem * item ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ADDITEM ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ) ); -} - -/* void addStretch ( int stretch = 1 ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ADDSTRETCH ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->addStretch( hb_parnidef( 2, 1 ) ); -} - -/* Qt::Alignment alignment ( QGraphicsLayoutItem * item ) const */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ALIGNMENT ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment( hbqt_par_QGraphicsLayoutItem( 2 ) ) ); -} - -/* void insertItem ( int index, QGraphicsLayoutItem * item ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_INSERTITEM ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->insertItem( hb_parni( 2 ), hbqt_par_QGraphicsLayoutItem( 3 ) ); -} - -/* void insertStretch ( int index, int stretch = 1 ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_INSERTSTRETCH ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->insertStretch( hb_parni( 2 ), hb_parnidef( 3, 1 ) ); -} - -/* qreal itemSpacing ( int index ) const */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ITEMSPACING ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - hb_retnd( ( p )->itemSpacing( hb_parni( 2 ) ) ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ORIENTATION ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* virtual void removeAt ( int index ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_REMOVEAT ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->removeAt( hb_parni( 2 ) ); -} - -/* void removeItem ( QGraphicsLayoutItem * item ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_REMOVEITEM ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->removeItem( hbqt_par_QGraphicsLayoutItem( 2 ) ); -} - -/* void setAlignment ( QGraphicsLayoutItem * item, Qt::Alignment alignment ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETALIGNMENT ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->setAlignment( hbqt_par_QGraphicsLayoutItem( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); -} - -/* void setItemSpacing ( int index, qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETITEMSPACING ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->setItemSpacing( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setOrientation ( Qt::Orientation orientation ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETORIENTATION ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* void setSpacing ( qreal spacing ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETSPACING ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->setSpacing( hb_parnd( 2 ) ); -} - -/* void setStretchFactor ( QGraphicsLayoutItem * item, int stretch ) */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETSTRETCHFACTOR ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - ( p )->setStretchFactor( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ) ); -} - -/* qreal spacing () const */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SPACING ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - hb_retnd( ( p )->spacing() ); -} - -/* int stretchFactor ( QGraphicsLayoutItem * item ) const */ -HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_STRETCHFACTOR ) -{ - QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 ); - if( p ) - hb_retni( ( p )->stretchFactor( hbqt_par_QGraphicsLayoutItem( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp deleted file mode 100644 index faaf4c40f6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsPathItem ( QGraphicsItem * parent = 0 ) - * QGraphicsPathItem ( const QPainterPath & path, QGraphicsItem * parent = 0 ) - * ~QGraphicsPathItem () - */ - -typedef struct -{ - QGraphicsPathItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsPathItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPathItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsPathItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsPathItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsPathItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsPathItem; - p->type = HBQT_TYPE_QGraphicsPathItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSPATHITEM ) -{ - QGraphicsPathItem * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QPainterPath ) - { - pObj = new QGraphicsPathItem( *hbqt_par_QPainterPath( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsPathItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsPathItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsPathItem( ( void * ) pObj, true ) ); -} - -/* QPainterPath path () const */ -HB_FUNC( QT_QGRAPHICSPATHITEM_PATH ) -{ - QGraphicsPathItem * p = hbqt_par_QGraphicsPathItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->path() ), true ) ); -} - -/* void setPath ( const QPainterPath & path ) */ -HB_FUNC( QT_QGRAPHICSPATHITEM_SETPATH ) -{ - QGraphicsPathItem * p = hbqt_par_QGraphicsPathItem( 1 ); - if( p ) - ( p )->setPath( *hbqt_par_QPainterPath( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp deleted file mode 100644 index b95e70eeee..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp +++ /dev/null @@ -1,175 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ShapeMode { MaskShape, BoundingRectShape, HeuristicMaskShape } - */ - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsPixmapItem ( QGraphicsItem * parent = 0 ) - * QGraphicsPixmapItem ( const QPixmap & pixmap, QGraphicsItem * parent = 0 ) - * ~QGraphicsPixmapItem () - */ - -typedef struct -{ - QGraphicsPixmapItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsPixmapItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPixmapItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsPixmapItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsPixmapItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsPixmapItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsPixmapItem; - p->type = HBQT_TYPE_QGraphicsPixmapItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSPIXMAPITEM ) -{ - QGraphicsPixmapItem * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QPixmap ) - { - pObj = new QGraphicsPixmapItem( *hbqt_par_QPixmap( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsPixmapItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsPixmapItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsPixmapItem( ( void * ) pObj, true ) ); -} - -/* QPointF offset () const */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_OFFSET ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->offset() ), true ) ); -} - -/* QPixmap pixmap () const */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_PIXMAP ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); -} - -/* void setOffset ( const QPointF & offset ) */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETOFFSET ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - ( p )->setOffset( *hbqt_par_QPointF( 2 ) ); -} - -/* void setOffset ( qreal x, qreal y ) */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETOFFSET_1 ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - ( p )->setOffset( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setPixmap ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETPIXMAP ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - ( p )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* void setShapeMode ( ShapeMode mode ) */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETSHAPEMODE ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - ( p )->setShapeMode( ( QGraphicsPixmapItem::ShapeMode ) hb_parni( 2 ) ); -} - -/* void setTransformationMode ( Qt::TransformationMode mode ) */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETTRANSFORMATIONMODE ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - ( p )->setTransformationMode( ( Qt::TransformationMode ) hb_parni( 2 ) ); -} - -/* ShapeMode shapeMode () const */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SHAPEMODE ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - hb_retni( ( QGraphicsPixmapItem::ShapeMode ) ( p )->shapeMode() ); -} - -/* Qt::TransformationMode transformationMode () const */ -HB_FUNC( QT_QGRAPHICSPIXMAPITEM_TRANSFORMATIONMODE ) -{ - QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 ); - if( p ) - hb_retni( ( Qt::TransformationMode ) ( p )->transformationMode() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp deleted file mode 100644 index 11b30ac82f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsPolygonItem ( QGraphicsItem * parent = 0 ) - * QGraphicsPolygonItem ( const QPolygonF & polygon, QGraphicsItem * parent = 0 ) - * ~QGraphicsPolygonItem () - */ - -typedef struct -{ - QGraphicsPolygonItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsPolygonItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPolygonItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsPolygonItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsPolygonItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsPolygonItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsPolygonItem; - p->type = HBQT_TYPE_QGraphicsPolygonItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSPOLYGONITEM ) -{ - QGraphicsPolygonItem * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QPolygonF ) - { - pObj = new QGraphicsPolygonItem( *hbqt_par_QPolygonF( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsPolygonItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsPolygonItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsPolygonItem( ( void * ) pObj, true ) ); -} - -/* Qt::FillRule fillRule () const */ -HB_FUNC( QT_QGRAPHICSPOLYGONITEM_FILLRULE ) -{ - QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 ); - if( p ) - hb_retni( ( Qt::FillRule ) ( p )->fillRule() ); -} - -/* QPolygonF polygon () const */ -HB_FUNC( QT_QGRAPHICSPOLYGONITEM_POLYGON ) -{ - QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->polygon() ), true ) ); -} - -/* void setFillRule ( Qt::FillRule rule ) */ -HB_FUNC( QT_QGRAPHICSPOLYGONITEM_SETFILLRULE ) -{ - QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 ); - if( p ) - ( p )->setFillRule( ( Qt::FillRule ) hb_parni( 2 ) ); -} - -/* void setPolygon ( const QPolygonF & polygon ) */ -HB_FUNC( QT_QGRAPHICSPOLYGONITEM_SETPOLYGON ) -{ - QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 ); - if( p ) - ( p )->setPolygon( *hbqt_par_QPolygonF( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp deleted file mode 100644 index 0a09592d80..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsProxyWidget.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsProxyWidget ( QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0 ) - * ~QGraphicsProxyWidget () - */ - -typedef struct -{ - QPointer< QGraphicsProxyWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsProxyWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsProxyWidget ) -{ - HBQT_GC_T_QGraphicsProxyWidget * p = ( HBQT_GC_T_QGraphicsProxyWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGraphicsProxyWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsProxyWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGraphicsProxyWidget * p = ( HBQT_GC_T_QGraphicsProxyWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsProxyWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGraphicsProxyWidget >( ( QGraphicsProxyWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsProxyWidget; - p->type = HBQT_TYPE_QGraphicsProxyWidget; - - return p; -} - -HB_FUNC( QT_QGRAPHICSPROXYWIDGET ) -{ - QGraphicsProxyWidget * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsProxyWidget( hbqt_par_QGraphicsItem( 1 ), ( Qt::WindowFlags ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsProxyWidget() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsProxyWidget( ( void * ) pObj, true ) ); -} - -/* QGraphicsProxyWidget * createProxyForChildWidget ( QWidget * child ) */ -HB_FUNC( QT_QGRAPHICSPROXYWIDGET_CREATEPROXYFORCHILDWIDGET ) -{ - QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsProxyWidget( ( p )->createProxyForChildWidget( hbqt_par_QWidget( 2 ) ), false ) ); -} - -/* void setWidget ( QWidget * widget ) */ -HB_FUNC( QT_QGRAPHICSPROXYWIDGET_SETWIDGET ) -{ - QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 ); - if( p ) - ( p )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* QRectF subWidgetRect ( const QWidget * widget ) const */ -HB_FUNC( QT_QGRAPHICSPROXYWIDGET_SUBWIDGETRECT ) -{ - QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->subWidgetRect( hbqt_par_QWidget( 2 ) ) ), true ) ); -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QGRAPHICSPROXYWIDGET_WIDGET ) -{ - QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp deleted file mode 100644 index 8bff331c46..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsRectItem ( QGraphicsItem * parent = 0 ) - * QGraphicsRectItem ( const QRectF & rect, QGraphicsItem * parent = 0 ) - * QGraphicsRectItem ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 ) - * ~QGraphicsRectItem () - */ - -typedef struct -{ - QGraphicsRectItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsRectItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsRectItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsRectItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsRectItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsRectItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsRectItem; - p->type = HBQT_TYPE_QGraphicsRectItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSRECTITEM ) -{ - QGraphicsRectItem * pObj = NULL; - - if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QGraphicsRectItem( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QGraphicsItem( 5 ) : 0 ) ) ; - } - else if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QRectF ) - { - pObj = new QGraphicsRectItem( *hbqt_par_QRectF( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsRectItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsRectItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsRectItem( ( void * ) pObj, true ) ); -} - -/* QRectF rect () const */ -HB_FUNC( QT_QGRAPHICSRECTITEM_RECT ) -{ - QGraphicsRectItem * p = hbqt_par_QGraphicsRectItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); -} - -/* void setRect ( const QRectF & rectangle ) */ -HB_FUNC( QT_QGRAPHICSRECTITEM_SETRECT ) -{ - QGraphicsRectItem * p = hbqt_par_QGraphicsRectItem( 1 ); - if( p ) - ( p )->setRect( *hbqt_par_QRectF( 2 ) ); -} - -/* void setRect ( qreal x, qreal y, qreal width, qreal height ) */ -HB_FUNC( QT_QGRAPHICSRECTITEM_SETRECT_1 ) -{ - QGraphicsRectItem * p = hbqt_par_QGraphicsRectItem( 1 ); - if( p ) - ( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp deleted file mode 100644 index 8e05299775..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsScene.cpp +++ /dev/null @@ -1,685 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ItemIndexMethod { BspTreeIndex, NoIndex } - * enum SceneLayer { ItemLayer, BackgroundLayer, ForegroundLayer, AllLayers } - * flags SceneLayers - */ - -/* - * Constructed[ 69/70 [ 98.57% ] ] - * - * *** Unconvered Prototypes *** - * - * QGraphicsItemGroup * createItemGroup ( const QList & items ) - * - * *** Commented out protostypes *** - * - * // virtual QVariant inputMethodQuery ( Qt::InputMethodQuery query ) const - */ - -#include - -#include -#include - -/* - * QGraphicsScene ( QObject * parent = 0 ) - * QGraphicsScene ( const QRectF & sceneRect, QObject * parent = 0 ) - * QGraphicsScene ( qreal x, qreal y, qreal width, qreal height, QObject * parent = 0 ) - * virtual ~QGraphicsScene () - */ - -typedef struct -{ - QPointer< QGraphicsScene > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsScene; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsScene ) -{ - HBQT_GC_T_QGraphicsScene * p = ( HBQT_GC_T_QGraphicsScene * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGraphicsScene * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsScene( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGraphicsScene * p = ( HBQT_GC_T_QGraphicsScene * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsScene ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGraphicsScene >( ( QGraphicsScene * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsScene; - p->type = HBQT_TYPE_QGraphicsScene; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENE ) -{ - QGraphicsScene * pObj = NULL; - - if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QGraphicsScene( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QObject( 5 ) : 0 ) ) ; - } - else if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( p->type == HBQT_TYPE_QRectF ) - { - pObj = new QGraphicsScene( *hbqt_par_QRectF( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QObject( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsScene( hbqt_par_QObject( 1 ) ) ; - } - } - else - { - pObj = new QGraphicsScene() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsScene( ( void * ) pObj, true ) ); -} - -/* QGraphicsWidget * activeWindow () const */ -HB_FUNC( QT_QGRAPHICSSCENE_ACTIVEWINDOW ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->activeWindow(), false ) ); -} - -/* QGraphicsEllipseItem * addEllipse ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDELLIPSE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsEllipseItem( ( p )->addEllipse( *hbqt_par_QRectF( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QPen( 3 ) : QPen() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QBrush( 4 ) : QBrush() ) ), false ) ); -} - -/* QGraphicsEllipseItem * addEllipse ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDELLIPSE_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsEllipseItem( ( p )->addEllipse( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( HB_ISOBJECT( 6 ) ? *hbqt_par_QPen( 6 ) : QPen() ), ( HB_ISOBJECT( 7 ) ? *hbqt_par_QBrush( 7 ) : QBrush() ) ), false ) ); -} - -/* void addItem ( QGraphicsItem * item ) [*D=1*] */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDITEM ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addItem( hbqt_par_QGraphicsItem( 2 ) ); - } -} - -/* QGraphicsLineItem * addLine ( const QLineF & line, const QPen & pen = QPen() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDLINE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLineItem( ( p )->addLine( *hbqt_par_QLineF( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QPen( 3 ) : QPen() ) ), false ) ); -} - -/* QGraphicsLineItem * addLine ( qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDLINE_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLineItem( ( p )->addLine( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( HB_ISOBJECT( 6 ) ? *hbqt_par_QPen( 6 ) : QPen() ) ), false ) ); -} - -/* QGraphicsPathItem * addPath ( const QPainterPath & path, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDPATH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsPathItem( ( p )->addPath( *hbqt_par_QPainterPath( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QPen( 3 ) : QPen() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QBrush( 4 ) : QBrush() ) ), false ) ); -} - -/* QGraphicsPixmapItem * addPixmap ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDPIXMAP ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsPixmapItem( ( p )->addPixmap( *hbqt_par_QPixmap( 2 ) ), false ) ); -} - -/* QGraphicsPolygonItem * addPolygon ( const QPolygonF & polygon, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDPOLYGON ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsPolygonItem( ( p )->addPolygon( *hbqt_par_QPolygonF( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QPen( 3 ) : QPen() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QBrush( 4 ) : QBrush() ) ), false ) ); -} - -/* QGraphicsRectItem * addRect ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDRECT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsRectItem( ( p )->addRect( *hbqt_par_QRectF( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QPen( 3 ) : QPen() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QBrush( 4 ) : QBrush() ) ), false ) ); -} - -/* QGraphicsRectItem * addRect ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDRECT_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsRectItem( ( p )->addRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( HB_ISOBJECT( 6 ) ? *hbqt_par_QPen( 6 ) : QPen() ), ( HB_ISOBJECT( 7 ) ? *hbqt_par_QBrush( 7 ) : QBrush() ) ), false ) ); -} - -/* QGraphicsSimpleTextItem * addSimpleText ( const QString & text, const QFont & font = QFont() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDSIMPLETEXT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QGraphicsSimpleTextItem( ( p )->addSimpleText( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QFont( 3 ) : QFont() ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QGraphicsTextItem * addText ( const QString & text, const QFont & font = QFont() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDTEXT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QGraphicsTextItem( ( p )->addText( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QFont( 3 ) : QFont() ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QGraphicsProxyWidget * addWidget ( QWidget * widget, Qt::WindowFlags wFlags = 0 ) */ -HB_FUNC( QT_QGRAPHICSSCENE_ADDWIDGET ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsProxyWidget( ( p )->addWidget( hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ), false ) ); -} - -/* QBrush backgroundBrush () const */ -HB_FUNC( QT_QGRAPHICSSCENE_BACKGROUNDBRUSH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->backgroundBrush() ), true ) ); -} - -/* int bspTreeDepth () const */ -HB_FUNC( QT_QGRAPHICSSCENE_BSPTREEDEPTH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retni( ( p )->bspTreeDepth() ); -} - -/* void clearFocus () */ -HB_FUNC( QT_QGRAPHICSSCENE_CLEARFOCUS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->clearFocus(); -} - -/* QList collidingItems ( const QGraphicsItem * item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_COLLIDINGITEMS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->collidingItems( hbqt_par_QGraphicsItem( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* void destroyItemGroup ( QGraphicsItemGroup * group ) */ -HB_FUNC( QT_QGRAPHICSSCENE_DESTROYITEMGROUP ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->destroyItemGroup( hbqt_par_QGraphicsItemGroup( 2 ) ); -} - -/* QGraphicsItem * focusItem () const */ -HB_FUNC( QT_QGRAPHICSSCENE_FOCUSITEM ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->focusItem(), false ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QGRAPHICSSCENE_FONT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QBrush foregroundBrush () const */ -HB_FUNC( QT_QGRAPHICSSCENE_FOREGROUNDBRUSH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foregroundBrush() ), true ) ); -} - -/* bool hasFocus () const */ -HB_FUNC( QT_QGRAPHICSSCENE_HASFOCUS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retl( ( p )->hasFocus() ); -} - -/* qreal height () const */ -HB_FUNC( QT_QGRAPHICSSCENE_HEIGHT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* void invalidate ( qreal x, qreal y, qreal w, qreal h, SceneLayers layers = AllLayers ) */ -HB_FUNC( QT_QGRAPHICSSCENE_INVALIDATE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->invalidate( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( HB_ISNUM( 6 ) ? ( QGraphicsScene::SceneLayers ) hb_parni( 6 ) : ( QGraphicsScene::SceneLayers ) QGraphicsScene::AllLayers ) ); -} - -/* bool isSortCacheEnabled () const */ -HB_FUNC( QT_QGRAPHICSSCENE_ISSORTCACHEENABLED ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retl( ( p )->isSortCacheEnabled() ); -} - -/* QGraphicsItem * itemAt ( const QPointF & position ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMAT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->itemAt( *hbqt_par_QPointF( 2 ) ), false ) ); -} - -/* QGraphicsItem * itemAt ( qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMAT_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->itemAt( hb_parnd( 2 ), hb_parnd( 3 ) ), false ) ); -} - -/* ItemIndexMethod itemIndexMethod () const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMINDEXMETHOD ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retni( ( QGraphicsScene::ItemIndexMethod ) ( p )->itemIndexMethod() ); -} - -/* QList items () const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items() ), true ) ); -} - -/* QList items ( const QPointF & pos ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMS_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QList items ( qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMS_2 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::ItemSelectionMode ) hb_parni( 6 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QList items ( const QRectF & rectangle, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMS_3 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QRectF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QList items ( const QPolygonF & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMS_4 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QPolygonF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QList items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMS_5 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QPainterPath( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QRectF itemsBoundingRect () const */ -HB_FUNC( QT_QGRAPHICSSCENE_ITEMSBOUNDINGRECT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->itemsBoundingRect() ), true ) ); -} - -/* QGraphicsItem * mouseGrabberItem () const */ -HB_FUNC( QT_QGRAPHICSSCENE_MOUSEGRABBERITEM ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->mouseGrabberItem(), false ) ); -} - -/* QPalette palette () const */ -HB_FUNC( QT_QGRAPHICSSCENE_PALETTE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); -} - -/* void removeItem ( QGraphicsItem * item ) */ -HB_FUNC( QT_QGRAPHICSSCENE_REMOVEITEM ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->removeItem( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* void render ( QPainter * painter, const QRectF & target = QRectF(), const QRectF & source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio ) */ -HB_FUNC( QT_QGRAPHICSSCENE_RENDER ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->render( hbqt_par_QPainter( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QRectF( 3 ) : QRectF() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QRectF( 4 ) : QRectF() ), ( HB_ISNUM( 5 ) ? ( Qt::AspectRatioMode ) hb_parni( 5 ) : ( Qt::AspectRatioMode ) Qt::KeepAspectRatio ) ); -} - -/* QRectF sceneRect () const */ -HB_FUNC( QT_QGRAPHICSSCENE_SCENERECT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->sceneRect() ), true ) ); -} - -/* QList selectedItems () const */ -HB_FUNC( QT_QGRAPHICSSCENE_SELECTEDITEMS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->selectedItems() ), true ) ); -} - -/* QPainterPath selectionArea () const */ -HB_FUNC( QT_QGRAPHICSSCENE_SELECTIONAREA ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->selectionArea() ), true ) ); -} - -/* void setActiveWindow ( QGraphicsWidget * widget ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETACTIVEWINDOW ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setActiveWindow( hbqt_par_QGraphicsWidget( 2 ) ); -} - -/* void setBackgroundBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETBACKGROUNDBRUSH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setBackgroundBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setBspTreeDepth ( int depth ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETBSPTREEDEPTH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setBspTreeDepth( hb_parni( 2 ) ); -} - -/* void setFocus ( Qt::FocusReason focusReason = Qt::OtherFocusReason ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETFOCUS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setFocus( ( HB_ISNUM( 2 ) ? ( Qt::FocusReason ) hb_parni( 2 ) : ( Qt::FocusReason ) Qt::OtherFocusReason ) ); -} - -/* void setFocusItem ( QGraphicsItem * item, Qt::FocusReason focusReason = Qt::OtherFocusReason ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETFOCUSITEM ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setFocusItem( hbqt_par_QGraphicsItem( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::FocusReason ) hb_parni( 3 ) : ( Qt::FocusReason ) Qt::OtherFocusReason ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETFONT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setForegroundBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETFOREGROUNDBRUSH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setForegroundBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setItemIndexMethod ( ItemIndexMethod method ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETITEMINDEXMETHOD ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setItemIndexMethod( ( QGraphicsScene::ItemIndexMethod ) hb_parni( 2 ) ); -} - -/* void setPalette ( const QPalette & palette ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETPALETTE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* void setSceneRect ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSCENERECT ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setSceneRect( *hbqt_par_QRectF( 2 ) ); -} - -/* void setSceneRect ( qreal x, qreal y, qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSCENERECT_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setSceneRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setSelectionArea ( const QPainterPath & path ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSELECTIONAREA ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setSelectionArea( *hbqt_par_QPainterPath( 2 ) ); -} - -/* void setSelectionArea ( const QPainterPath & path, Qt::ItemSelectionMode mode ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSELECTIONAREA_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setSelectionArea( *hbqt_par_QPainterPath( 2 ), ( Qt::ItemSelectionMode ) hb_parni( 3 ) ); -} - -/* void setSortCacheEnabled ( bool enabled ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSORTCACHEENABLED ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setSortCacheEnabled( hb_parl( 2 ) ); -} - -/* void setStickyFocus ( bool enabled ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSTICKYFOCUS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setStickyFocus( hb_parl( 2 ) ); -} - -/* void setStyle ( QStyle * style ) */ -HB_FUNC( QT_QGRAPHICSSCENE_SETSTYLE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->setStyle( hbqt_par_QStyle( 2 ) ); -} - -/* bool stickyFocus () const */ -HB_FUNC( QT_QGRAPHICSSCENE_STICKYFOCUS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retl( ( p )->stickyFocus() ); -} - -/* QStyle * style () const */ -HB_FUNC( QT_QGRAPHICSSCENE_STYLE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) ); -} - -/* void update ( qreal x, qreal y, qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSSCENE_UPDATE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->update( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* QList views () const */ -HB_FUNC( QT_QGRAPHICSSCENE_VIEWS ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->views() ), true ) ); -} - -/* qreal width () const */ -HB_FUNC( QT_QGRAPHICSSCENE_WIDTH ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - -/* void advance () */ -HB_FUNC( QT_QGRAPHICSSCENE_ADVANCE ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->advance(); -} - -/* void clear () */ -HB_FUNC( QT_QGRAPHICSSCENE_CLEAR ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->clear(); -} - -/* void clearSelection () */ -HB_FUNC( QT_QGRAPHICSSCENE_CLEARSELECTION ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->clearSelection(); -} - -/* void invalidate ( const QRectF & rect = QRectF(), SceneLayers layers = AllLayers ) */ -HB_FUNC( QT_QGRAPHICSSCENE_INVALIDATE_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->invalidate( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRectF( 2 ) : QRectF() ), ( HB_ISNUM( 3 ) ? ( QGraphicsScene::SceneLayers ) hb_parni( 3 ) : ( QGraphicsScene::SceneLayers ) QGraphicsScene::AllLayers ) ); -} - -/* void update ( const QRectF & rect = QRectF() ) */ -HB_FUNC( QT_QGRAPHICSSCENE_UPDATE_1 ) -{ - QGraphicsScene * p = hbqt_par_QGraphicsScene( 1 ); - if( p ) - ( p )->update( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRectF( 2 ) : QRectF() ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp deleted file mode 100644 index 5fd92fe1c5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Reason { Mouse, Keyboard, Other } - */ - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QGraphicsSceneContextMenuEvent () - * ~QGraphicsSceneContextMenuEvent () - */ - -typedef struct -{ - QGraphicsSceneContextMenuEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneContextMenuEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneContextMenuEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneContextMenuEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneContextMenuEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneContextMenuEvent; - p->type = HBQT_TYPE_QGraphicsSceneContextMenuEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneContextMenuEvent() ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_MODIFIERS ) -{ - QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - -/* QPointF pos () const */ -HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_POS ) -{ - QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); -} - -/* Reason reason () const */ -HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_REASON ) -{ - QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); - if( p ) - hb_retni( ( QGraphicsSceneContextMenuEvent::Reason ) ( p )->reason() ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_SCENEPOS ) -{ - QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QPoint screenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_SCREENPOS ) -{ - QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp deleted file mode 100644 index 398cdfb890..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include -#include -#include - - -/* - * QGraphicsSceneDragDropEvent () - * ~QGraphicsSceneDragDropEvent () - */ - -typedef struct -{ - QGraphicsSceneDragDropEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneDragDropEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneDragDropEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneDragDropEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneDragDropEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneDragDropEvent; - p->type = HBQT_TYPE_QGraphicsSceneDragDropEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneDragDropEvent() ); -} - -/* void acceptProposedAction () */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_ACCEPTPROPOSEDACTION ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - ( p )->acceptProposedAction(); -} - -/* Qt::MouseButtons buttons () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_BUTTONS ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); -} - -/* Qt::DropAction dropAction () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_DROPACTION ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::DropAction ) ( p )->dropAction() ); -} - -/* const QMimeData * mimeData () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_MIMEDATA ) -{ - hb_retptrGC( hbqt_gcAllocate_QMimeData( ( void* ) hbqt_par_QGraphicsSceneDragDropEvent( 1 )->mimeData(), false ) ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_MODIFIERS ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - -/* QPointF pos () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_POS ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); -} - -/* Qt::DropActions possibleActions () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_POSSIBLEACTIONS ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::DropActions ) ( p )->possibleActions() ); -} - -/* Qt::DropAction proposedAction () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_PROPOSEDACTION ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retni( ( Qt::DropAction ) ( p )->proposedAction() ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SCENEPOS ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QPoint screenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SCREENPOS ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); -} - -/* void setDropAction ( Qt::DropAction action ) */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SETDROPACTION ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - ( p )->setDropAction( ( Qt::DropAction ) hb_parni( 2 ) ); -} - -/* QWidget * source () const */ -HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SOURCE ) -{ - QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->source(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp deleted file mode 100644 index 053678b154..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGraphicsSceneEvent () - * ~QGraphicsSceneEvent () - */ - -typedef struct -{ - QGraphicsSceneEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneEvent; - p->type = HBQT_TYPE_QGraphicsSceneEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneEvent() ); -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QGRAPHICSSCENEEVENT_WIDGET ) -{ - QGraphicsSceneEvent * p = hbqt_par_QGraphicsSceneEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp deleted file mode 100644 index 79a9582040..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QGraphicsSceneHelpEvent () - * ~QGraphicsSceneHelpEvent () - */ - -typedef struct -{ - QGraphicsSceneHelpEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneHelpEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHelpEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneHelpEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneHelpEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneHelpEvent; - p->type = HBQT_TYPE_QGraphicsSceneHelpEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneHelpEvent() ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT_SCENEPOS ) -{ - QGraphicsSceneHelpEvent * p = hbqt_par_QGraphicsSceneHelpEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QPoint screenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT_SCREENPOS ) -{ - QGraphicsSceneHelpEvent * p = hbqt_par_QGraphicsSceneHelpEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp deleted file mode 100644 index 6eabcc91eb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QGraphicsSceneHoverEvent () - * ~QGraphicsSceneHoverEvent () - */ - -typedef struct -{ - QGraphicsSceneHoverEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneHoverEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHoverEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneHoverEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneHoverEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneHoverEvent; - p->type = HBQT_TYPE_QGraphicsSceneHoverEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneHoverEvent() ); -} - -/* QPointF lastPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_LASTPOS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastPos() ), true ) ); -} - -/* QPointF lastScenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_LASTSCENEPOS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastScenePos() ), true ) ); -} - -/* QPoint lastScreenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_LASTSCREENPOS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->lastScreenPos() ), true ) ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_MODIFIERS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - -/* QPointF pos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_POS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_SCENEPOS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QPoint screenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_SCREENPOS ) -{ - QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp deleted file mode 100644 index 567574174a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QGraphicsSceneMouseEvent () - * ~QGraphicsSceneMouseEvent () - */ - -typedef struct -{ - QGraphicsSceneMouseEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneMouseEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMouseEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneMouseEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneMouseEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneMouseEvent; - p->type = HBQT_TYPE_QGraphicsSceneMouseEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneMouseEvent() ); -} - -/* Qt::MouseButton button () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTON ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButton ) ( p )->button() ); -} - -/* QPointF buttonDownPos ( Qt::MouseButton button ) const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->buttonDownPos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); -} - -/* QPointF buttonDownScenePos ( Qt::MouseButton button ) const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNSCENEPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->buttonDownScenePos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); -} - -/* QPoint buttonDownScreenPos ( Qt::MouseButton button ) const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNSCREENPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->buttonDownScreenPos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); -} - -/* Qt::MouseButtons buttons () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); -} - -/* QPointF lastPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_LASTPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastPos() ), true ) ); -} - -/* QPointF lastScenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_LASTSCENEPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastScenePos() ), true ) ); -} - -/* QPoint lastScreenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_LASTSCREENPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->lastScreenPos() ), true ) ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_MODIFIERS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - -/* QPointF pos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_POS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_SCENEPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QPoint screenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_SCREENPOS ) -{ - QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp deleted file mode 100644 index 1ced175bf5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QGraphicsSceneMoveEvent () - * ~QGraphicsSceneMoveEvent () - */ - -typedef struct -{ - QGraphicsSceneMoveEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneMoveEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMoveEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneMoveEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneMoveEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneMoveEvent; - p->type = HBQT_TYPE_QGraphicsSceneMoveEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneMoveEvent() ); -} - -/* QPointF newPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT_NEWPOS ) -{ - QGraphicsSceneMoveEvent * p = hbqt_par_QGraphicsSceneMoveEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->newPos() ), true ) ); -} - -/* QPointF oldPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT_OLDPOS ) -{ - QGraphicsSceneMoveEvent * p = hbqt_par_QGraphicsSceneMoveEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->oldPos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp deleted file mode 100644 index f3f8976557..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QGraphicsSceneResizeEvent () - * ~QGraphicsSceneResizeEvent () - */ - -typedef struct -{ - QGraphicsSceneResizeEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneResizeEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneResizeEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneResizeEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneResizeEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneResizeEvent; - p->type = HBQT_TYPE_QGraphicsSceneResizeEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneResizeEvent() ); -} - -/* QSizeF newSize () const */ -HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT_NEWSIZE ) -{ - QGraphicsSceneResizeEvent * p = hbqt_par_QGraphicsSceneResizeEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->newSize() ), true ) ); -} - -/* QSizeF oldSize () const */ -HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT_OLDSIZE ) -{ - QGraphicsSceneResizeEvent * p = hbqt_par_QGraphicsSceneResizeEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->oldSize() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp deleted file mode 100644 index 08dbf74ed2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - -/* - * QGraphicsScreenWheelEvent () - * ~QGraphicsSceneWheelEvent () - */ - -typedef struct -{ - QGraphicsSceneWheelEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSceneWheelEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneWheelEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QGraphicsSceneWheelEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSceneWheelEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSceneWheelEvent; - p->type = HBQT_TYPE_QGraphicsSceneWheelEvent; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT ) -{ - //__HB_RETPTRGC__( new QGraphicsSceneWheelEvent() ); -} - -/* Qt::MouseButtons buttons () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_BUTTONS ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); -} - -/* int delta () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_DELTA ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retni( ( p )->delta() ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_MODIFIERS ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_ORIENTATION ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* QPointF pos () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_POS ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); -} - -/* QPointF scenePos () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_SCENEPOS ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); -} - -/* QPoint screenPos () const */ -HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_SCREENPOS ) -{ - QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp deleted file mode 100644 index 132ca5eaf0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QGraphicsSimpleTextItem ( QGraphicsItem * parent = 0 ) - * QGraphicsSimpleTextItem ( const QString & text, QGraphicsItem * parent = 0 ) - * ~QGraphicsSimpleTextItem () - */ - -typedef struct -{ - QGraphicsSimpleTextItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsSimpleTextItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSimpleTextItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QGraphicsSimpleTextItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsSimpleTextItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QGraphicsSimpleTextItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsSimpleTextItem; - p->type = HBQT_TYPE_QGraphicsSimpleTextItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM ) -{ - QGraphicsSimpleTextItem * pObj = NULL; - - if( hb_pcount() >= 1 ) - { - if( HB_ISCHAR( 1 ) ) - { - pObj = new QGraphicsSimpleTextItem( hbqt_par_QString( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 1 ) : 0 ) ) ; - } - else if( HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsSimpleTextItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - else - { - pObj = new QGraphicsSimpleTextItem() ; - } - } - else - { - pObj = new QGraphicsSimpleTextItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsSimpleTextItem( ( void * ) pObj, true ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_FONT ) -{ - QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_SETFONT ) -{ - QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_SETTEXT ) -{ - QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString text () const */ -HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_TEXT ) -{ - QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp deleted file mode 100644 index 3ae0a561b6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp +++ /dev/null @@ -1,286 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 21/21 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include -#include - - -/* - * QGraphicsTextItem ( QGraphicsItem * parent = 0 ) - * QGraphicsTextItem ( const QString & text, QGraphicsItem * parent = 0 ) - * ~QGraphicsTextItem () - */ - -typedef struct -{ - QPointer< QGraphicsTextItem > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsTextItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsTextItem ) -{ - HBQT_GC_T_QGraphicsTextItem * p = ( HBQT_GC_T_QGraphicsTextItem * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGraphicsTextItem * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsTextItem( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGraphicsTextItem * p = ( HBQT_GC_T_QGraphicsTextItem * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsTextItem ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGraphicsTextItem >( ( QGraphicsTextItem * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsTextItem; - p->type = HBQT_TYPE_QGraphicsTextItem; - - return p; -} - -HB_FUNC( QT_QGRAPHICSTEXTITEM ) -{ - QGraphicsTextItem * pObj = NULL; - - if( hb_pcount() >= 1 ) - { - if( HB_ISCHAR( 1 ) ) - { - pObj = new QGraphicsTextItem( hbqt_par_QString( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QGraphicsItem( 1 ) : 0 ) ) ; - } - else if( HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsTextItem( hbqt_par_QGraphicsItem( 1 ) ) ; - } - else - { - pObj = new QGraphicsTextItem() ; - } - } - else - { - pObj = new QGraphicsTextItem() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsTextItem( ( void * ) pObj, true ) ); -} - -/* void adjustSize () */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_ADJUSTSIZE ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->adjustSize(); -} - -/* QColor defaultTextColor () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_DEFAULTTEXTCOLOR ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultTextColor() ), true ) ); -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_DOCUMENT ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_FONT ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* bool openExternalLinks () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_OPENEXTERNALLINKS ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retl( ( p )->openExternalLinks() ); -} - -/* void setDefaultTextColor ( const QColor & col ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETDEFAULTTEXTCOLOR ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setDefaultTextColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setDocument ( QTextDocument * document ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETDOCUMENT ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setDocument( hbqt_par_QTextDocument( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETFONT ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setHtml ( const QString & text ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETHTML ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - { - void * pText; - ( p )->setHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setOpenExternalLinks ( bool open ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETOPENEXTERNALLINKS ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setOpenExternalLinks( hb_parl( 2 ) ); -} - -/* void setPlainText ( const QString & text ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETPLAINTEXT ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - { - void * pText; - ( p )->setPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabChangesFocus ( bool b ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTABCHANGESFOCUS ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setTabChangesFocus( hb_parl( 2 ) ); -} - -/* void setTextCursor ( const QTextCursor & cursor ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTEXTCURSOR ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setTextCursor( *hbqt_par_QTextCursor( 2 ) ); -} - -/* void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTEXTINTERACTIONFLAGS ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); -} - -/* void setTextWidth ( qreal width ) */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTEXTWIDTH ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - ( p )->setTextWidth( hb_parnd( 2 ) ); -} - -/* bool tabChangesFocus () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_TABCHANGESFOCUS ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retl( ( p )->tabChangesFocus() ); -} - -/* QTextCursor textCursor () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_TEXTCURSOR ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->textCursor() ), true ) ); -} - -/* Qt::TextInteractionFlags textInteractionFlags () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_TEXTINTERACTIONFLAGS ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retni( ( Qt::TextInteractionFlags ) ( p )->textInteractionFlags() ); -} - -/* qreal textWidth () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_TEXTWIDTH ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retnd( ( p )->textWidth() ); -} - -/* QString toHtml () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_TOHTML ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toHtml().toUtf8().data() ); -} - -/* QString toPlainText () const */ -HB_FUNC( QT_QGRAPHICSTEXTITEM_TOPLAINTEXT ) -{ - QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toPlainText().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp deleted file mode 100644 index 778d55f415..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsView.cpp +++ /dev/null @@ -1,728 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags CacheMode - * enum CacheModeFlag { CacheNone, CacheBackground } - * enum DragMode { NoDrag, ScrollHandDrag, RubberBandDrag } - * flags OptimizationFlags - * enum OptimizationFlag { DontClipPainter, DontSavePainterState, DontAdjustForAntialiasing } - * enum ViewportAnchor { NoAnchor, AnchorViewCenter, AnchorUnderMouse } - * enum ViewportUpdateMode { FullViewportUpdate, MinimalViewportUpdate, SmartViewportUpdate, BoundingRectViewportUpdate, NoViewportUpdate } - */ - -/* - * Constructed[ 76/77 [ 98.70% ] ] - * - * *** Unconvered Prototypes *** - * - * void updateScene ( const QList & rects ) - */ - -#include - -#include - - -/* - * QGraphicsView ( QWidget * parent = 0 ) - * QGraphicsView ( QGraphicsScene * scene, QWidget * parent = 0 ) - * ~QGraphicsView () - */ - -typedef struct -{ - QPointer< QGraphicsView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsView; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsView ) -{ - HBQT_GC_T_QGraphicsView * p = ( HBQT_GC_T_QGraphicsView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGraphicsView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGraphicsView * p = ( HBQT_GC_T_QGraphicsView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGraphicsView >( ( QGraphicsView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsView; - p->type = HBQT_TYPE_QGraphicsView; - - return p; -} - -HB_FUNC( QT_QGRAPHICSVIEW ) -{ - QGraphicsView * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsView( hbqt_par_QWidget( 1 ) ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( ( QString ) "QGraphicsScene" == hbqt_par_QString( 1 ) ) - { - pObj = new QGraphicsView( hbqt_par_QGraphicsScene( 2 ), ( HB_ISPOINTER( 3 ) ? hbqt_par_QWidget( 3 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsView() ; - } - } - else - { - pObj = new QGraphicsView() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsView( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QGRAPHICSVIEW_ALIGNMENT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* QBrush backgroundBrush () const */ -HB_FUNC( QT_QGRAPHICSVIEW_BACKGROUNDBRUSH ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->backgroundBrush() ), true ) ); -} - -/* CacheMode cacheMode () const */ -HB_FUNC( QT_QGRAPHICSVIEW_CACHEMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QGraphicsView::CacheMode ) ( p )->cacheMode() ); -} - -/* void centerOn ( const QPointF & pos ) */ -HB_FUNC( QT_QGRAPHICSVIEW_CENTERON ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->centerOn( *hbqt_par_QPointF( 2 ) ); -} - -/* void centerOn ( qreal x, qreal y ) */ -HB_FUNC( QT_QGRAPHICSVIEW_CENTERON_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->centerOn( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void centerOn ( const QGraphicsItem * item ) */ -HB_FUNC( QT_QGRAPHICSVIEW_CENTERON_2 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->centerOn( hbqt_par_QGraphicsItem( 2 ) ); -} - -/* DragMode dragMode () const */ -HB_FUNC( QT_QGRAPHICSVIEW_DRAGMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QGraphicsView::DragMode ) ( p )->dragMode() ); -} - -/* void ensureVisible ( const QRectF & rect, int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QGRAPHICSVIEW_ENSUREVISIBLE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->ensureVisible( *hbqt_par_QRectF( 2 ), hb_parnidef( 3, 50 ), hb_parnidef( 4, 50 ) ); -} - -/* void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QGRAPHICSVIEW_ENSUREVISIBLE_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->ensureVisible( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnidef( 6, 50 ), hb_parnidef( 7, 50 ) ); -} - -/* void ensureVisible ( const QGraphicsItem * item, int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QGRAPHICSVIEW_ENSUREVISIBLE_2 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->ensureVisible( hbqt_par_QGraphicsItem( 2 ), hb_parnidef( 3, 50 ), hb_parnidef( 4, 50 ) ); -} - -/* void fitInView ( const QRectF & rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) */ -HB_FUNC( QT_QGRAPHICSVIEW_FITINVIEW ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->fitInView( *hbqt_par_QRectF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::AspectRatioMode ) hb_parni( 3 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ) ); -} - -/* void fitInView ( qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) */ -HB_FUNC( QT_QGRAPHICSVIEW_FITINVIEW_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->fitInView( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::AspectRatioMode ) hb_parni( 6 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ) ); -} - -/* void fitInView ( const QGraphicsItem * item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) */ -HB_FUNC( QT_QGRAPHICSVIEW_FITINVIEW_2 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->fitInView( hbqt_par_QGraphicsItem( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::AspectRatioMode ) hb_parni( 3 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ) ); -} - -/* QBrush foregroundBrush () const */ -HB_FUNC( QT_QGRAPHICSVIEW_FOREGROUNDBRUSH ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foregroundBrush() ), true ) ); -} - -/* bool isInteractive () const */ -HB_FUNC( QT_QGRAPHICSVIEW_ISINTERACTIVE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retl( ( p )->isInteractive() ); -} - -/* QGraphicsItem * itemAt ( const QPoint & pos ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMAT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->itemAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QGraphicsItem * itemAt ( int x, int y ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMAT_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QList items () const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items() ), true ) ); -} - -/* QList items ( const QPoint & pos ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QList items ( int x, int y ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS_2 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* QList items ( int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS_3 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::ItemSelectionMode ) hb_parni( 6 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QList items ( const QRect & rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS_4 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QRect( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QList items ( const QPolygon & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS_5 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QPolygon( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QList items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_ITEMS_6 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items( *hbqt_par_QPainterPath( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ItemSelectionMode ) hb_parni( 3 ) : ( Qt::ItemSelectionMode ) Qt::IntersectsItemShape ) ) ), true ) ); -} - -/* QPoint mapFromScene ( const QPointF & point ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPFROMSCENE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapFromScene( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPolygon mapFromScene ( const QRectF & rect ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPFROMSCENE_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->mapFromScene( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QPolygon mapFromScene ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPFROMSCENE_2 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->mapFromScene( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPainterPath mapFromScene ( const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPFROMSCENE_3 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapFromScene( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPoint mapFromScene ( qreal x, qreal y ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPFROMSCENE_4 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapFromScene( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QPolygon mapFromScene ( qreal x, qreal y, qreal w, qreal h ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPFROMSCENE_5 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->mapFromScene( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ), true ) ); -} - -/* QPointF mapToScene ( const QPoint & point ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPTOSCENE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToScene( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToScene ( const QRect & rect ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPTOSCENE_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToScene( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* QPolygonF mapToScene ( const QPolygon & polygon ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPTOSCENE_2 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToScene( *hbqt_par_QPolygon( 2 ) ) ), true ) ); -} - -/* QPainterPath mapToScene ( const QPainterPath & path ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPTOSCENE_3 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->mapToScene( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPointF mapToScene ( int x, int y ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPTOSCENE_4 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->mapToScene( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* QPolygonF mapToScene ( int x, int y, int w, int h ) const */ -HB_FUNC( QT_QGRAPHICSVIEW_MAPTOSCENE_5 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->mapToScene( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ), true ) ); -} - -/* QMatrix matrix () const */ -HB_FUNC( QT_QGRAPHICSVIEW_MATRIX ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->matrix() ), true ) ); -} - -/* OptimizationFlags optimizationFlags () const */ -HB_FUNC( QT_QGRAPHICSVIEW_OPTIMIZATIONFLAGS ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QGraphicsView::OptimizationFlags ) ( p )->optimizationFlags() ); -} - -/* void render ( QPainter * painter, const QRectF & target = QRectF(), const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio ) */ -HB_FUNC( QT_QGRAPHICSVIEW_RENDER ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->render( hbqt_par_QPainter( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QRectF( 3 ) : QRectF() ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QRect( 4 ) : QRect() ), ( HB_ISNUM( 5 ) ? ( Qt::AspectRatioMode ) hb_parni( 5 ) : ( Qt::AspectRatioMode ) Qt::KeepAspectRatio ) ); -} - -/* QPainter::RenderHints renderHints () const */ -HB_FUNC( QT_QGRAPHICSVIEW_RENDERHINTS ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QPainter::RenderHints ) ( p )->renderHints() ); -} - -/* void resetCachedContent () */ -HB_FUNC( QT_QGRAPHICSVIEW_RESETCACHEDCONTENT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->resetCachedContent(); -} - -/* void resetMatrix () */ -HB_FUNC( QT_QGRAPHICSVIEW_RESETMATRIX ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->resetMatrix(); -} - -/* void resetTransform () */ -HB_FUNC( QT_QGRAPHICSVIEW_RESETTRANSFORM ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->resetTransform(); -} - -/* ViewportAnchor resizeAnchor () const */ -HB_FUNC( QT_QGRAPHICSVIEW_RESIZEANCHOR ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QGraphicsView::ViewportAnchor ) ( p )->resizeAnchor() ); -} - -/* void rotate ( qreal angle ) */ -HB_FUNC( QT_QGRAPHICSVIEW_ROTATE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->rotate( hb_parnd( 2 ) ); -} - -/* Qt::ItemSelectionMode rubberBandSelectionMode () const */ -HB_FUNC( QT_QGRAPHICSVIEW_RUBBERBANDSELECTIONMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( Qt::ItemSelectionMode ) ( p )->rubberBandSelectionMode() ); -} - -/* void scale ( qreal sx, qreal sy ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SCALE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->scale( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QGraphicsScene * scene () const */ -HB_FUNC( QT_QGRAPHICSVIEW_SCENE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsScene( ( p )->scene(), false ) ); -} - -/* QRectF sceneRect () const */ -HB_FUNC( QT_QGRAPHICSVIEW_SCENERECT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->sceneRect() ), true ) ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETALIGNMENT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setBackgroundBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETBACKGROUNDBRUSH ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setBackgroundBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setCacheMode ( CacheMode mode ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETCACHEMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setCacheMode( ( QGraphicsView::CacheMode ) hb_parni( 2 ) ); -} - -/* void setDragMode ( DragMode mode ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETDRAGMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setDragMode( ( QGraphicsView::DragMode ) hb_parni( 2 ) ); -} - -/* void setForegroundBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETFOREGROUNDBRUSH ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setForegroundBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setInteractive ( bool allowed ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETINTERACTIVE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setInteractive( hb_parl( 2 ) ); -} - -/* void setMatrix ( const QMatrix & matrix, bool combine = false ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETMATRIX ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setMatrix( *hbqt_par_QMatrix( 2 ), hb_parl( 3 ) ); -} - -/* void setOptimizationFlag ( OptimizationFlag flag, bool enabled = true ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETOPTIMIZATIONFLAG ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setOptimizationFlag( ( QGraphicsView::OptimizationFlag ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptimizationFlags ( OptimizationFlags flags ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETOPTIMIZATIONFLAGS ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setOptimizationFlags( ( QGraphicsView::OptimizationFlags ) hb_parni( 2 ) ); -} - -/* void setRenderHint ( QPainter::RenderHint hint, bool enabled = true ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETRENDERHINT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setRenderHint( ( QPainter::RenderHint ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setRenderHints ( QPainter::RenderHints hints ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETRENDERHINTS ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setRenderHints( ( QPainter::RenderHints ) hb_parni( 2 ) ); -} - -/* void setResizeAnchor ( ViewportAnchor anchor ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETRESIZEANCHOR ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setResizeAnchor( ( QGraphicsView::ViewportAnchor ) hb_parni( 2 ) ); -} - -/* void setRubberBandSelectionMode ( Qt::ItemSelectionMode mode ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETRUBBERBANDSELECTIONMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setRubberBandSelectionMode( ( Qt::ItemSelectionMode ) hb_parni( 2 ) ); -} - -/* void setScene ( QGraphicsScene * scene ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETSCENE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setScene( hbqt_par_QGraphicsScene( 2 ) ); -} - -/* void setSceneRect ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETSCENERECT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setSceneRect( *hbqt_par_QRectF( 2 ) ); -} - -/* void setSceneRect ( qreal x, qreal y, qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETSCENERECT_1 ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setSceneRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setTransform ( const QTransform & matrix, bool combine = false ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETTRANSFORM ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setTransform( *hbqt_par_QTransform( 2 ), hb_parl( 3 ) ); -} - -/* void setTransformationAnchor ( ViewportAnchor anchor ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETTRANSFORMATIONANCHOR ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setTransformationAnchor( ( QGraphicsView::ViewportAnchor ) hb_parni( 2 ) ); -} - -/* void setViewportUpdateMode ( ViewportUpdateMode mode ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SETVIEWPORTUPDATEMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->setViewportUpdateMode( ( QGraphicsView::ViewportUpdateMode ) hb_parni( 2 ) ); -} - -/* void shear ( qreal sh, qreal sv ) */ -HB_FUNC( QT_QGRAPHICSVIEW_SHEAR ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->shear( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QTransform transform () const */ -HB_FUNC( QT_QGRAPHICSVIEW_TRANSFORM ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->transform() ), true ) ); -} - -/* ViewportAnchor transformationAnchor () const */ -HB_FUNC( QT_QGRAPHICSVIEW_TRANSFORMATIONANCHOR ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QGraphicsView::ViewportAnchor ) ( p )->transformationAnchor() ); -} - -/* void translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QGRAPHICSVIEW_TRANSLATE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QTransform viewportTransform () const */ -HB_FUNC( QT_QGRAPHICSVIEW_VIEWPORTTRANSFORM ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->viewportTransform() ), true ) ); -} - -/* ViewportUpdateMode viewportUpdateMode () const */ -HB_FUNC( QT_QGRAPHICSVIEW_VIEWPORTUPDATEMODE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - hb_retni( ( QGraphicsView::ViewportUpdateMode ) ( p )->viewportUpdateMode() ); -} - -/* void invalidateScene ( const QRectF & rect = QRectF(), QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers ) */ -HB_FUNC( QT_QGRAPHICSVIEW_INVALIDATESCENE ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->invalidateScene( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRectF( 2 ) : QRectF() ), ( HB_ISNUM( 3 ) ? ( QGraphicsScene::SceneLayers ) hb_parni( 3 ) : ( QGraphicsScene::SceneLayers ) QGraphicsScene::AllLayers ) ); -} - -/* void updateSceneRect ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSVIEW_UPDATESCENERECT ) -{ - QGraphicsView * p = hbqt_par_QGraphicsView( 1 ); - if( p ) - ( p )->updateSceneRect( *hbqt_par_QRectF( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp deleted file mode 100644 index 2c23f0fdfb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGraphicsWidget.cpp +++ /dev/null @@ -1,496 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 46/48 [ 95.83% ] ] - * - * *** Unconvered Prototypes *** - * - * void addActions ( QList actions ) - * void insertActions ( QAction * before, QList actions ) - * - * *** Commented out protostypes *** - * - * // const QObjectList & children () const - * // virtual void paintWindowFrame ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 ) - */ - -#include - -#include - - -/* - * QGraphicsWidget ( QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0 ) - * ~QGraphicsWidget () - */ - -typedef struct -{ - QPointer< QGraphicsWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGraphicsWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsWidget ) -{ - HBQT_GC_T_QGraphicsWidget * p = ( HBQT_GC_T_QGraphicsWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGraphicsWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGraphicsWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGraphicsWidget * p = ( HBQT_GC_T_QGraphicsWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGraphicsWidget >( ( QGraphicsWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGraphicsWidget; - p->type = HBQT_TYPE_QGraphicsWidget; - - return p; -} - -HB_FUNC( QT_QGRAPHICSWIDGET ) -{ - QGraphicsWidget * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QGraphicsWidget( hbqt_par_QGraphicsItem( 1 ), ( Qt::WindowFlags ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 0 ) ) ; - } - else - { - pObj = new QGraphicsWidget() ; - } - - hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( void * ) pObj, true ) ); -} - -/* QList actions () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_ACTIONS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->actions() ), true ) ); -} - -/* void addAction ( QAction * action ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_ADDACTION ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* void adjustSize () */ -HB_FUNC( QT_QGRAPHICSWIDGET_ADJUSTSIZE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->adjustSize(); -} - -/* Qt::FocusPolicy focusPolicy () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_FOCUSPOLICY ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retni( ( Qt::FocusPolicy ) ( p )->focusPolicy() ); -} - -/* QGraphicsWidget * focusWidget () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_FOCUSWIDGET ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->focusWidget(), false ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_FONT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* virtual void getContentsMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const */ -HB_FUNC( QT_QGRAPHICSWIDGET_GETCONTENTSMARGINS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - qreal qrLeft = 0; - qreal qrTop = 0; - qreal qrRight = 0; - qreal qrBottom = 0; - - if( p ) - ( p )->getContentsMargins( &qrLeft, &qrTop, &qrRight, &qrBottom ); - - hb_stornd( qrLeft, 2 ); - hb_stornd( qrTop, 3 ); - hb_stornd( qrRight, 4 ); - hb_stornd( qrBottom, 5 ); -} - -/* void getWindowFrameMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const */ -HB_FUNC( QT_QGRAPHICSWIDGET_GETWINDOWFRAMEMARGINS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - qreal qrLeft = 0; - qreal qrTop = 0; - qreal qrRight = 0; - qreal qrBottom = 0; - - if( p ) - ( p )->getWindowFrameMargins( &qrLeft, &qrTop, &qrRight, &qrBottom ); - - hb_stornd( qrLeft, 2 ); - hb_stornd( qrTop, 3 ); - hb_stornd( qrRight, 4 ); - hb_stornd( qrBottom, 5 ); -} - -/* int grabShortcut ( const QKeySequence & sequence, Qt::ShortcutContext context = Qt::WindowShortcut ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_GRABSHORTCUT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retni( ( p )->grabShortcut( *hbqt_par_QKeySequence( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ShortcutContext ) hb_parni( 3 ) : ( Qt::ShortcutContext ) Qt::WindowShortcut ) ) ); -} - -/* void insertAction ( QAction * before, QAction * action ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_INSERTACTION ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->insertAction( hbqt_par_QAction( 2 ), hbqt_par_QAction( 3 ) ); -} - -/* bool isActiveWindow () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_ISACTIVEWINDOW ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retl( ( p )->isActiveWindow() ); -} - -/* QGraphicsLayout * layout () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_LAYOUT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QGraphicsLayout( ( p )->layout(), false ) ); -} - -/* Qt::LayoutDirection layoutDirection () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_LAYOUTDIRECTION ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() ); -} - -/* QPalette palette () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_PALETTE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); -} - -/* QRectF rect () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_RECT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); -} - -/* void releaseShortcut ( int id ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_RELEASESHORTCUT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->releaseShortcut( hb_parni( 2 ) ); -} - -/* void removeAction ( QAction * action ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_REMOVEACTION ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->removeAction( hbqt_par_QAction( 2 ) ); -} - -/* void resize ( const QSizeF & size ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_RESIZE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->resize( *hbqt_par_QSizeF( 2 ) ); -} - -/* void resize ( qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_RESIZE_1 ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->resize( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setAttribute ( Qt::WidgetAttribute attribute, bool on = true ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETATTRIBUTE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setContentsMargins ( qreal left, qreal top, qreal right, qreal bottom ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETCONTENTSMARGINS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setContentsMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setFocusPolicy ( Qt::FocusPolicy policy ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETFOCUSPOLICY ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setFocusPolicy( ( Qt::FocusPolicy ) hb_parni( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETFONT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* virtual void setGeometry ( const QRectF & rect ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETGEOMETRY ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); -} - -/* void setGeometry ( qreal x, qreal y, qreal w, qreal h ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETGEOMETRY_1 ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setGeometry( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setLayout ( QGraphicsLayout * layout ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETLAYOUT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setLayout( hbqt_par_QGraphicsLayout( 2 ) ); -} - -/* void setLayoutDirection ( Qt::LayoutDirection direction ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETLAYOUTDIRECTION ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* void setPalette ( const QPalette & palette ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETPALETTE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* void setShortcutAutoRepeat ( int id, bool enabled = true ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETSHORTCUTAUTOREPEAT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setShortcutAutoRepeat( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setShortcutEnabled ( int id, bool enabled = true ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETSHORTCUTENABLED ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setShortcutEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setStyle ( QStyle * style ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETSTYLE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setStyle( hbqt_par_QStyle( 2 ) ); -} - -/* void setWindowFlags ( Qt::WindowFlags wFlags ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETWINDOWFLAGS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) ); -} - -/* void setWindowFrameMargins ( qreal left, qreal top, qreal right, qreal bottom ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETWINDOWFRAMEMARGINS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setWindowFrameMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setWindowTitle ( const QString & title ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETWINDOWTITLE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setWindowTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QSizeF size () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_SIZE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->size() ), true ) ); -} - -/* QStyle * style () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_STYLE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) ); -} - -/* bool testAttribute ( Qt::WidgetAttribute attribute ) const */ -HB_FUNC( QT_QGRAPHICSWIDGET_TESTATTRIBUTE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retl( ( p )->testAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ) ) ); -} - -/* void unsetLayoutDirection () */ -HB_FUNC( QT_QGRAPHICSWIDGET_UNSETLAYOUTDIRECTION ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->unsetLayoutDirection(); -} - -/* void unsetWindowFrameMargins () */ -HB_FUNC( QT_QGRAPHICSWIDGET_UNSETWINDOWFRAMEMARGINS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->unsetWindowFrameMargins(); -} - -/* Qt::WindowFlags windowFlags () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWFLAGS ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retni( ( Qt::WindowFlags ) ( p )->windowFlags() ); -} - -/* QRectF windowFrameGeometry () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWFRAMEGEOMETRY ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->windowFrameGeometry() ), true ) ); -} - -/* QRectF windowFrameRect () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWFRAMERECT ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->windowFrameRect() ), true ) ); -} - -/* QString windowTitle () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWTITLE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->windowTitle().toUtf8().data() ); -} - -/* Qt::WindowType windowType () const */ -HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWTYPE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retni( ( Qt::WindowType ) ( p )->windowType() ); -} - -/* void setTabOrder ( QGraphicsWidget * first, QGraphicsWidget * second ) */ -HB_FUNC( QT_QGRAPHICSWIDGET_SETTABORDER ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - ( p )->setTabOrder( hbqt_par_QGraphicsWidget( 2 ), hbqt_par_QGraphicsWidget( 3 ) ); -} - -/* bool close () */ -HB_FUNC( QT_QGRAPHICSWIDGET_CLOSE ) -{ - QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 ); - if( p ) - hb_retl( ( p )->close() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp deleted file mode 100644 index ef4cbca55c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGridLayout.cpp +++ /dev/null @@ -1,322 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGridLayout ( QWidget * parent ) - * QGridLayout () - * ~QGridLayout () - */ - -typedef struct -{ - QPointer< QGridLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGridLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QGridLayout ) -{ - HBQT_GC_T_QGridLayout * p = ( HBQT_GC_T_QGridLayout * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGridLayout * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGridLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGridLayout * p = ( HBQT_GC_T_QGridLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGridLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGridLayout >( ( QGridLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGridLayout; - p->type = HBQT_TYPE_QGridLayout; - - return p; -} - -HB_FUNC( QT_QGRIDLAYOUT ) -{ - QGridLayout * pObj = NULL; - - pObj = new QGridLayout( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QGridLayout( ( void * ) pObj, true ) ); -} - -/* void addItem ( QLayoutItem * item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment alignment = 0 ) [*D=1*] */ -HB_FUNC( QT_QGRIDLAYOUT_ADDITEM ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addItem( hbqt_par_QLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, 1 ), hb_parnidef( 6, 1 ), ( Qt::Alignment ) hb_parni( 7 ) ); - } -} - -/* void addLayout ( QLayout * layout, int row, int column, Qt::Alignment alignment = 0 ) [*D=1*] */ -HB_FUNC( QT_QGRIDLAYOUT_ADDLAYOUT ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); - } -} - -/* void addLayout ( QLayout * layout, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) [*D=1*] */ -HB_FUNC( QT_QGRIDLAYOUT_ADDLAYOUT_1 ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) ); - } -} - -/* void addWidget ( QWidget * widget, int row, int column, Qt::Alignment alignment = 0 ) [*D=1*] */ -HB_FUNC( QT_QGRIDLAYOUT_ADDWIDGET ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); - } -} - -/* void addWidget ( QWidget * widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) [*D=1*] */ -HB_FUNC( QT_QGRIDLAYOUT_ADDWIDGET_1 ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) ); - } -} - -/* QRect cellRect ( int row, int column ) const */ -HB_FUNC( QT_QGRIDLAYOUT_CELLRECT ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->cellRect( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QGRIDLAYOUT_COLUMNCOUNT ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* int columnMinimumWidth ( int column ) const */ -HB_FUNC( QT_QGRIDLAYOUT_COLUMNMINIMUMWIDTH ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->columnMinimumWidth( hb_parni( 2 ) ) ); -} - -/* int columnStretch ( int column ) const */ -HB_FUNC( QT_QGRIDLAYOUT_COLUMNSTRETCH ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->columnStretch( hb_parni( 2 ) ) ); -} - -/* void getItemPosition ( int index, int * row, int * column, int * rowSpan, int * columnSpan ) */ -HB_FUNC( QT_QGRIDLAYOUT_GETITEMPOSITION ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - int iRow = 0; - int iColumn = 0; - int iRowSpan = 0; - int iColumnSpan = 0; - - if( p ) - ( p )->getItemPosition( hb_parni( 2 ), &iRow, &iColumn, &iRowSpan, &iColumnSpan ); - - hb_storni( iRow, 3 ); - hb_storni( iColumn, 4 ); - hb_storni( iRowSpan, 5 ); - hb_storni( iColumnSpan, 6 ); -} - -/* int horizontalSpacing () const */ -HB_FUNC( QT_QGRIDLAYOUT_HORIZONTALSPACING ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->horizontalSpacing() ); -} - -/* QLayoutItem * itemAtPosition ( int row, int column ) const */ -HB_FUNC( QT_QGRIDLAYOUT_ITEMATPOSITION ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLayoutItem( ( p )->itemAtPosition( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* Qt::Corner originCorner () const */ -HB_FUNC( QT_QGRIDLAYOUT_ORIGINCORNER ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( Qt::Corner ) ( p )->originCorner() ); -} - -/* int rowCount () const */ -HB_FUNC( QT_QGRIDLAYOUT_ROWCOUNT ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->rowCount() ); -} - -/* int rowMinimumHeight ( int row ) const */ -HB_FUNC( QT_QGRIDLAYOUT_ROWMINIMUMHEIGHT ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->rowMinimumHeight( hb_parni( 2 ) ) ); -} - -/* int rowStretch ( int row ) const */ -HB_FUNC( QT_QGRIDLAYOUT_ROWSTRETCH ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->rowStretch( hb_parni( 2 ) ) ); -} - -/* void setColumnMinimumWidth ( int column, int minSize ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETCOLUMNMINIMUMWIDTH ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setColumnMinimumWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setColumnStretch ( int column, int stretch ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETCOLUMNSTRETCH ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setColumnStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setHorizontalSpacing ( int spacing ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETHORIZONTALSPACING ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setHorizontalSpacing( hb_parni( 2 ) ); -} - -/* void setOriginCorner ( Qt::Corner corner ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETORIGINCORNER ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setOriginCorner( ( Qt::Corner ) hb_parni( 2 ) ); -} - -/* void setRowMinimumHeight ( int row, int minSize ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETROWMINIMUMHEIGHT ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setRowMinimumHeight( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setRowStretch ( int row, int stretch ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETROWSTRETCH ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setRowStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setSpacing ( int spacing ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETSPACING ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setSpacing( hb_parni( 2 ) ); -} - -/* void setVerticalSpacing ( int spacing ) */ -HB_FUNC( QT_QGRIDLAYOUT_SETVERTICALSPACING ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - ( p )->setVerticalSpacing( hb_parni( 2 ) ); -} - -/* int spacing () const */ -HB_FUNC( QT_QGRIDLAYOUT_SPACING ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->spacing() ); -} - -/* int verticalSpacing () const */ -HB_FUNC( QT_QGRIDLAYOUT_VERTICALSPACING ) -{ - QGridLayout * p = hbqt_par_QGridLayout( 1 ); - if( p ) - hb_retni( ( p )->verticalSpacing() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp b/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp deleted file mode 100644 index e073337be7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QGroupBox.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QGroupBox ( QWidget * parent = 0 ) - * QGroupBox ( const QString & title, QWidget * parent = 0 ) - * ~QGroupBox () - */ - -typedef struct -{ - QPointer< QGroupBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QGroupBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QGroupBox ) -{ - HBQT_GC_T_QGroupBox * p = ( HBQT_GC_T_QGroupBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QGroupBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QGroupBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QGroupBox * p = ( HBQT_GC_T_QGroupBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGroupBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QGroupBox >( ( QGroupBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QGroupBox; - p->type = HBQT_TYPE_QGroupBox; - - return p; -} - -HB_FUNC( QT_QGROUPBOX ) -{ - QGroupBox * pObj = NULL; - - pObj = new QGroupBox( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QGroupBox( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QGROUPBOX_ALIGNMENT ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* bool isCheckable () const */ -HB_FUNC( QT_QGROUPBOX_ISCHECKABLE ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - hb_retl( ( p )->isCheckable() ); -} - -/* bool isChecked () const */ -HB_FUNC( QT_QGROUPBOX_ISCHECKED ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - hb_retl( ( p )->isChecked() ); -} - -/* bool isFlat () const */ -HB_FUNC( QT_QGROUPBOX_ISFLAT ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - hb_retl( ( p )->isFlat() ); -} - -/* void setAlignment ( int alignment ) */ -HB_FUNC( QT_QGROUPBOX_SETALIGNMENT ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - ( p )->setAlignment( hb_parni( 2 ) ); -} - -/* void setCheckable ( bool checkable ) */ -HB_FUNC( QT_QGROUPBOX_SETCHECKABLE ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - ( p )->setCheckable( hb_parl( 2 ) ); -} - -/* void setFlat ( bool flat ) */ -HB_FUNC( QT_QGROUPBOX_SETFLAT ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - ( p )->setFlat( hb_parl( 2 ) ); -} - -/* void setTitle ( const QString & title ) */ -HB_FUNC( QT_QGROUPBOX_SETTITLE ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - { - void * pText; - ( p )->setTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString title () const */ -HB_FUNC( QT_QGROUPBOX_TITLE ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - -/* void setChecked ( bool checked ) */ -HB_FUNC( QT_QGROUPBOX_SETCHECKED ) -{ - QGroupBox * p = hbqt_par_QGroupBox( 1 ); - if( p ) - ( p )->setChecked( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp deleted file mode 100644 index 8d422520a4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QHBoxLayout.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QHBoxLayout () - * QHBoxLayout ( QWidget * parent ) - * ~QHBoxLayout () - */ - -typedef struct -{ - QPointer< QHBoxLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHBoxLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QHBoxLayout ) -{ - HBQT_GC_T_QHBoxLayout * p = ( HBQT_GC_T_QHBoxLayout * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QHBoxLayout * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QHBoxLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QHBoxLayout * p = ( HBQT_GC_T_QHBoxLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QHBoxLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QHBoxLayout >( ( QHBoxLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QHBoxLayout; - p->type = HBQT_TYPE_QHBoxLayout; - - return p; -} - -HB_FUNC( QT_QHBOXLAYOUT ) -{ - QHBoxLayout * pObj = NULL; - - pObj = new QHBoxLayout( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QHBoxLayout( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp b/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp deleted file mode 100644 index 20490aa3cd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QHeaderView.cpp +++ /dev/null @@ -1,548 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ResizeMode { Interactive, Fixed, Stretch, ResizeToContents, Custom } - */ - -/* - * Constructed[ 57/57 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QHeaderView ( Qt::Orientation orientation, QWidget * parent = 0 ) - * virtual ~QHeaderView () - */ - -typedef struct -{ - QPointer< QHeaderView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHeaderView; - -HBQT_GC_FUNC( hbqt_gcRelease_QHeaderView ) -{ - HBQT_GC_T_QHeaderView * p = ( HBQT_GC_T_QHeaderView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QHeaderView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QHeaderView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QHeaderView * p = ( HBQT_GC_T_QHeaderView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QHeaderView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QHeaderView >( ( QHeaderView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QHeaderView; - p->type = HBQT_TYPE_QHeaderView; - - return p; -} - -HB_FUNC( QT_QHEADERVIEW ) -{ - QHeaderView * pObj = NULL; - - pObj = new QHeaderView( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QHeaderView( ( void * ) pObj, true ) ); -} - -/* bool cascadingSectionResizes () const */ -HB_FUNC( QT_QHEADERVIEW_CASCADINGSECTIONRESIZES ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->cascadingSectionResizes() ); -} - -/* int count () const */ -HB_FUNC( QT_QHEADERVIEW_COUNT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* Qt::Alignment defaultAlignment () const */ -HB_FUNC( QT_QHEADERVIEW_DEFAULTALIGNMENT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->defaultAlignment() ); -} - -/* int defaultSectionSize () const */ -HB_FUNC( QT_QHEADERVIEW_DEFAULTSECTIONSIZE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->defaultSectionSize() ); -} - -/* int hiddenSectionCount () const */ -HB_FUNC( QT_QHEADERVIEW_HIDDENSECTIONCOUNT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->hiddenSectionCount() ); -} - -/* void hideSection ( int logicalIndex ) */ -HB_FUNC( QT_QHEADERVIEW_HIDESECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->hideSection( hb_parni( 2 ) ); -} - -/* bool highlightSections () const */ -HB_FUNC( QT_QHEADERVIEW_HIGHLIGHTSECTIONS ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->highlightSections() ); -} - -/* bool isClickable () const */ -HB_FUNC( QT_QHEADERVIEW_ISCLICKABLE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->isClickable() ); -} - -/* bool isMovable () const */ -HB_FUNC( QT_QHEADERVIEW_ISMOVABLE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->isMovable() ); -} - -/* bool isSectionHidden ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_ISSECTIONHIDDEN ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->isSectionHidden( hb_parni( 2 ) ) ); -} - -/* bool isSortIndicatorShown () const */ -HB_FUNC( QT_QHEADERVIEW_ISSORTINDICATORSHOWN ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->isSortIndicatorShown() ); -} - -/* int length () const */ -HB_FUNC( QT_QHEADERVIEW_LENGTH ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* int logicalIndex ( int visualIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEX ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->logicalIndex( hb_parni( 2 ) ) ); -} - -/* int logicalIndexAt ( int position ) const */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEXAT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->logicalIndexAt( hb_parni( 2 ) ) ); -} - -/* int logicalIndexAt ( int x, int y ) const */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEXAT_1 ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->logicalIndexAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* int logicalIndexAt ( const QPoint & pos ) const */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEXAT_2 ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->logicalIndexAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* int minimumSectionSize () const */ -HB_FUNC( QT_QHEADERVIEW_MINIMUMSECTIONSIZE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->minimumSectionSize() ); -} - -/* void moveSection ( int from, int to ) */ -HB_FUNC( QT_QHEADERVIEW_MOVESECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->moveSection( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* int offset () const */ -HB_FUNC( QT_QHEADERVIEW_OFFSET ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->offset() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QHEADERVIEW_ORIENTATION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* ResizeMode resizeMode ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_RESIZEMODE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( QHeaderView::ResizeMode ) ( p )->resizeMode( hb_parni( 2 ) ) ); -} - -/* void resizeSection ( int logicalIndex, int size ) */ -HB_FUNC( QT_QHEADERVIEW_RESIZESECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->resizeSection( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void resizeSections ( QHeaderView::ResizeMode mode ) */ -HB_FUNC( QT_QHEADERVIEW_RESIZESECTIONS ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->resizeSections( ( QHeaderView::ResizeMode ) hb_parni( 2 ) ); -} - -/* bool restoreState ( const QByteArray & state ) */ -HB_FUNC( QT_QHEADERVIEW_RESTORESTATE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->restoreState( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* QByteArray saveState () const */ -HB_FUNC( QT_QHEADERVIEW_SAVESTATE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->saveState() ), true ) ); -} - -/* int sectionPosition ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_SECTIONPOSITION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->sectionPosition( hb_parni( 2 ) ) ); -} - -/* int sectionSize ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSIZE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->sectionSize( hb_parni( 2 ) ) ); -} - -/* int sectionSizeHint ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSIZEHINT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->sectionSizeHint( hb_parni( 2 ) ) ); -} - -/* int sectionViewportPosition ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_SECTIONVIEWPORTPOSITION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->sectionViewportPosition( hb_parni( 2 ) ) ); -} - -/* bool sectionsHidden () const */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSHIDDEN ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->sectionsHidden() ); -} - -/* bool sectionsMoved () const */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSMOVED ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->sectionsMoved() ); -} - -/* void setCascadingSectionResizes ( bool enable ) */ -HB_FUNC( QT_QHEADERVIEW_SETCASCADINGSECTIONRESIZES ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setCascadingSectionResizes( hb_parl( 2 ) ); -} - -/* void setClickable ( bool clickable ) */ -HB_FUNC( QT_QHEADERVIEW_SETCLICKABLE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setClickable( hb_parl( 2 ) ); -} - -/* void setDefaultAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QHEADERVIEW_SETDEFAULTALIGNMENT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setDefaultAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setDefaultSectionSize ( int size ) */ -HB_FUNC( QT_QHEADERVIEW_SETDEFAULTSECTIONSIZE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setDefaultSectionSize( hb_parni( 2 ) ); -} - -/* void setHighlightSections ( bool highlight ) */ -HB_FUNC( QT_QHEADERVIEW_SETHIGHLIGHTSECTIONS ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setHighlightSections( hb_parl( 2 ) ); -} - -/* void setMinimumSectionSize ( int size ) */ -HB_FUNC( QT_QHEADERVIEW_SETMINIMUMSECTIONSIZE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setMinimumSectionSize( hb_parni( 2 ) ); -} - -/* void setMovable ( bool movable ) */ -HB_FUNC( QT_QHEADERVIEW_SETMOVABLE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setMovable( hb_parl( 2 ) ); -} - -/* void setResizeMode ( ResizeMode mode ) */ -HB_FUNC( QT_QHEADERVIEW_SETRESIZEMODE ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setResizeMode( ( QHeaderView::ResizeMode ) hb_parni( 2 ) ); -} - -/* void setResizeMode ( int logicalIndex, ResizeMode mode ) */ -HB_FUNC( QT_QHEADERVIEW_SETRESIZEMODE_1 ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setResizeMode( hb_parni( 2 ), ( QHeaderView::ResizeMode ) hb_parni( 3 ) ); -} - -/* void setSectionHidden ( int logicalIndex, bool hide ) */ -HB_FUNC( QT_QHEADERVIEW_SETSECTIONHIDDEN ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setSectionHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setSortIndicator ( int logicalIndex, Qt::SortOrder order ) */ -HB_FUNC( QT_QHEADERVIEW_SETSORTINDICATOR ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setSortIndicator( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* void setSortIndicatorShown ( bool show ) */ -HB_FUNC( QT_QHEADERVIEW_SETSORTINDICATORSHOWN ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setSortIndicatorShown( hb_parl( 2 ) ); -} - -/* void setStretchLastSection ( bool stretch ) */ -HB_FUNC( QT_QHEADERVIEW_SETSTRETCHLASTSECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setStretchLastSection( hb_parl( 2 ) ); -} - -/* void showSection ( int logicalIndex ) */ -HB_FUNC( QT_QHEADERVIEW_SHOWSECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->showSection( hb_parni( 2 ) ); -} - -/* virtual QSize sizeHint () const */ -HB_FUNC( QT_QHEADERVIEW_SIZEHINT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* Qt::SortOrder sortIndicatorOrder () const */ -HB_FUNC( QT_QHEADERVIEW_SORTINDICATORORDER ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( Qt::SortOrder ) ( p )->sortIndicatorOrder() ); -} - -/* int sortIndicatorSection () const */ -HB_FUNC( QT_QHEADERVIEW_SORTINDICATORSECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->sortIndicatorSection() ); -} - -/* bool stretchLastSection () const */ -HB_FUNC( QT_QHEADERVIEW_STRETCHLASTSECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retl( ( p )->stretchLastSection() ); -} - -/* int stretchSectionCount () const */ -HB_FUNC( QT_QHEADERVIEW_STRETCHSECTIONCOUNT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->stretchSectionCount() ); -} - -/* void swapSections ( int first, int second ) */ -HB_FUNC( QT_QHEADERVIEW_SWAPSECTIONS ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->swapSections( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* int visualIndex ( int logicalIndex ) const */ -HB_FUNC( QT_QHEADERVIEW_VISUALINDEX ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->visualIndex( hb_parni( 2 ) ) ); -} - -/* int visualIndexAt ( int position ) const */ -HB_FUNC( QT_QHEADERVIEW_VISUALINDEXAT ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - hb_retni( ( p )->visualIndexAt( hb_parni( 2 ) ) ); -} - -/* void headerDataChanged ( Qt::Orientation orientation, int logicalFirst, int logicalLast ) */ -HB_FUNC( QT_QHEADERVIEW_HEADERDATACHANGED ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->headerDataChanged( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* void setOffset ( int offset ) */ -HB_FUNC( QT_QHEADERVIEW_SETOFFSET ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setOffset( hb_parni( 2 ) ); -} - -/* void setOffsetToLastSection () */ -HB_FUNC( QT_QHEADERVIEW_SETOFFSETTOLASTSECTION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setOffsetToLastSection(); -} - -/* void setOffsetToSectionPosition ( int visualIndex ) */ -HB_FUNC( QT_QHEADERVIEW_SETOFFSETTOSECTIONPOSITION ) -{ - QHeaderView * p = hbqt_par_QHeaderView( 1 ); - if( p ) - ( p )->setOffsetToSectionPosition( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp deleted file mode 100644 index f82d40dae7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QHelpEvent.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QHelpEvent ( Type type, const QPoint & pos, const QPoint & globalPos ) - * - */ - -typedef struct -{ - QHelpEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHelpEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QHelpEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QHelpEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QHelpEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QHelpEvent; - p->type = HBQT_TYPE_QHelpEvent; - - return p; -} - -HB_FUNC( QT_QHELPEVENT ) -{ - // __HB_RETPTRGC__( new QHelpEvent() ); -} - -/* const QPoint & globalPos () const */ -HB_FUNC( QT_QHELPEVENT_GLOBALPOS ) -{ - QHelpEvent * p = hbqt_par_QHelpEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->globalPos() ), true ) ); -} - -/* int globalX () const */ -HB_FUNC( QT_QHELPEVENT_GLOBALX ) -{ - QHelpEvent * p = hbqt_par_QHelpEvent( 1 ); - if( p ) - hb_retni( ( p )->globalX() ); -} - -/* int globalY () const */ -HB_FUNC( QT_QHELPEVENT_GLOBALY ) -{ - QHelpEvent * p = hbqt_par_QHelpEvent( 1 ); - if( p ) - hb_retni( ( p )->globalY() ); -} - -/* const QPoint & pos () const */ -HB_FUNC( QT_QHELPEVENT_POS ) -{ - QHelpEvent * p = hbqt_par_QHelpEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* int x () const */ -HB_FUNC( QT_QHELPEVENT_X ) -{ - QHelpEvent * p = hbqt_par_QHelpEvent( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QHELPEVENT_Y ) -{ - QHelpEvent * p = hbqt_par_QHelpEvent( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp deleted file mode 100644 index 202a6f1376..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QHideEvent.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QHideEvent () - */ - -typedef struct -{ - QHideEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHideEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QHideEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QHideEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QHideEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QHideEvent; - p->type = HBQT_TYPE_QHideEvent; - - return p; -} - -HB_FUNC( QT_QHIDEEVENT ) -{ - // __HB_RETPTRGC__( new QHideEvent() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QIcon.cpp b/harbour/contrib/hbqt/qtgui/g/QIcon.cpp deleted file mode 100644 index 520d2a9529..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QIcon.cpp +++ /dev/null @@ -1,207 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Mode { Normal, Disabled, Active, Selected } - * enum State { Off, On } - */ - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QPixmap pixmap ( int extent, Mode mode = Normal, State state = Off ) const // Not Implemented - */ - -#include - -#include - - -/* - * QIcon () - * QIcon ( const QPixmap & pixmap ) - * QIcon ( const QIcon & other ) - * QIcon ( const QString & fileName ) - * QIcon ( QIconEngine * engine ) - * QIcon ( QIconEngineV2 * engine ) - * ~QIcon () - */ - -typedef struct -{ - QIcon * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QIcon; - -HBQT_GC_FUNC( hbqt_gcRelease_QIcon ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QIcon * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QIcon( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QIcon * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QIcon; - p->type = HBQT_TYPE_QIcon; - - return p; -} - -HB_FUNC( QT_QICON ) -{ - QIcon * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QIcon( hbqt_par_QString( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( q ) - { - if( q->type == HBQT_TYPE_QIcon ) - { - pObj = new QIcon( *hbqt_par_QIcon( 1 ) ) ; - } - else if( q->type == HBQT_TYPE_QPixmap ) - { - pObj = new QIcon( *hbqt_par_QPixmap( 1 ) ) ; - } - } - else - { - pObj = new QIcon( *hbqt_par_QIcon( 1 ) ) ; - } - } - else - { - pObj = new QIcon() ; - } - - hb_retptrGC( hbqt_gcAllocate_QIcon( ( void * ) pObj, true ) ); -} - -/* QSize actualSize ( const QSize & size, Mode mode = Normal, State state = Off ) const */ -HB_FUNC( QT_QICON_ACTUALSIZE ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->actualSize( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ) ), true ) ); -} - -/* void addFile ( const QString & fileName, const QSize & size = QSize(), Mode mode = Normal, State state = Off ) */ -HB_FUNC( QT_QICON_ADDFILE ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - { - void * pText; - ( p )->addFile( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QSize( 3 ) : QSize() ), ( HB_ISNUM( 4 ) ? ( QIcon::Mode ) hb_parni( 4 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 5 ) ? ( QIcon::State ) hb_parni( 5 ) : ( QIcon::State ) QIcon::Off ) ); - hb_strfree( pText ); - } -} - -/* void addPixmap ( const QPixmap & pixmap, Mode mode = Normal, State state = Off ) */ -HB_FUNC( QT_QICON_ADDPIXMAP ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - ( p )->addPixmap( *hbqt_par_QPixmap( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* QList availableSizes ( Mode mode = Normal, State state = Off ) const */ -HB_FUNC( QT_QICON_AVAILABLESIZES ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->availableSizes( ( HB_ISNUM( 2 ) ? ( QIcon::Mode ) hb_parni( 2 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 3 ) ? ( QIcon::State ) hb_parni( 3 ) : ( QIcon::State ) QIcon::Off ) ) ), true ) ); -} - -/* qint64 cacheKey () const */ -HB_FUNC( QT_QICON_CACHEKEY ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - hb_retnint( ( p )->cacheKey() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QICON_ISNULL ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* void paint ( QPainter * painter, const QRect & rect, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const */ -HB_FUNC( QT_QICON_PAINT ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), *hbqt_par_QRect( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::Alignment ) hb_parni( 4 ) : ( Qt::Alignment ) Qt::AlignCenter ), ( HB_ISNUM( 5 ) ? ( QIcon::Mode ) hb_parni( 5 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 6 ) ? ( QIcon::State ) hb_parni( 6 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* void paint ( QPainter * painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const */ -HB_FUNC( QT_QICON_PAINT_1 ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( HB_ISNUM( 7 ) ? ( Qt::Alignment ) hb_parni( 7 ) : ( Qt::Alignment ) Qt::AlignCenter ), ( HB_ISNUM( 8 ) ? ( QIcon::Mode ) hb_parni( 8 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 9 ) ? ( QIcon::State ) hb_parni( 9 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* QPixmap pixmap ( const QSize & size, Mode mode = Normal, State state = Off ) const */ -HB_FUNC( QT_QICON_PIXMAP ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ) ), true ) ); -} - -/* QPixmap pixmap ( int w, int h, Mode mode = Normal, State state = Off ) const */ -HB_FUNC( QT_QICON_PIXMAP_1 ) -{ - QIcon * p = hbqt_par_QIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QIcon::Mode ) hb_parni( 4 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 5 ) ? ( QIcon::State ) hb_parni( 5 ) : ( QIcon::State ) QIcon::Off ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QImage.cpp b/harbour/contrib/hbqt/qtgui/g/QImage.cpp deleted file mode 100644 index 0414becf63..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QImage.cpp +++ /dev/null @@ -1,621 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Format { Format_Invalid, Format_Mono, Format_MonoLSB, Format_Indexed8, ..., Format_ARGB4444_Premultiplied } - * enum InvertMode { InvertRgb, InvertRgba } - */ - -/* - * Constructed[ 58/61 [ 95.08% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector colorTable () const - * QImage convertToFormat ( Format format, const QVector & colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor ) const - * void setColorTable ( const QVector colors ) - * - * *** Commented out protostypes *** - * - * //uchar * bits () - * // bool loadFromData ( const uchar * data, int len, const char * format = 0 ) - * //uchar * scanLine ( int i ) - */ - -#include - -#include -#include - - -/* - * QImage () - * QImage ( const QSize & size, Format format ) - * QImage ( int width, int height, Format format ) - * QImage ( uchar * data, int width, int height, Format format ) - * QImage ( const uchar * data, int width, int height, Format format ) - * QImage ( uchar * data, int width, int height, int bytesPerLine, Format format ) - * QImage ( const uchar * data, int width, int height, int bytesPerLine, Format format ) - * QImage ( const char * const[] xpm ) - * QImage ( const QString & fileName, const char * format = 0 ) - * QImage ( const char * fileName, const char * format = 0 ) - * QImage ( const QImage & image ) - * ~QImage () - */ - -typedef struct -{ - QImage * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QImage; - -HBQT_GC_FUNC( hbqt_gcRelease_QImage ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QImage * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QImage( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QImage * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QImage; - p->type = HBQT_TYPE_QImage; - - return p; -} - -HB_FUNC( QT_QIMAGE ) -{ - QImage * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QImage( hbqt_par_QString( 1 ), ( const char * ) 0 ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QImage( *hbqt_par_QImage( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - pObj = new QImage( hbqt_par_QString( 1 ), ( const char * ) hb_parcx( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QImage( *hbqt_par_QSize( 1 ), ( QImage::Format ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = new QImage( hb_parni( 1 ), hb_parni( 2 ), ( QImage::Format ) hb_parni( 3 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QImage( ( const uchar * ) hb_parc( 1 ), hb_parni( 2 ), hb_parni( 3 ), ( QImage::Format ) hb_parni( 4 ) ) ; - } - else if( hb_pcount() == 5 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) && HB_ISNUM( 5 ) ) - { - pObj = new QImage( ( const uchar * ) hb_parc( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( QImage::Format ) hb_parni( 5 ) ) ; - } - else - { - pObj = new QImage() ; - } - - hb_retptrGC( hbqt_gcAllocate_QImage( ( void * ) pObj, true ) ); -} - -/* bool allGray () const */ -HB_FUNC( QT_QIMAGE_ALLGRAY ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->allGray() ); -} - -/* QImage alphaChannel () const */ -HB_FUNC( QT_QIMAGE_ALPHACHANNEL ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->alphaChannel() ), true ) ); -} - -/* const uchar * bits () const */ -HB_FUNC( QT_QIMAGE_BITS ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retc( ( const char * ) ( p )->bits() ); -} - -/* int bytesPerLine () const */ -HB_FUNC( QT_QIMAGE_BYTESPERLINE ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->bytesPerLine() ); -} - -/* qint64 cacheKey () const */ -HB_FUNC( QT_QIMAGE_CACHEKEY ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retnint( ( p )->cacheKey() ); -} - -/* QRgb color ( int i ) const */ -HB_FUNC( QT_QIMAGE_COLOR ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retnl( ( p )->color( hb_parni( 2 ) ) ); -} - -/* QImage convertToFormat ( Format format, Qt::ImageConversionFlags flags = Qt::AutoColor ) const */ -HB_FUNC( QT_QIMAGE_CONVERTTOFORMAT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->convertToFormat( ( QImage::Format ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ImageConversionFlags ) hb_parni( 3 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ), true ) ); -} - -/* QImage copy ( const QRect & rectangle = QRect() ) const */ -HB_FUNC( QT_QIMAGE_COPY ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->copy( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRect( 2 ) : QRect() ) ) ), true ) ); -} - -/* QImage copy ( int x, int y, int width, int height ) const */ -HB_FUNC( QT_QIMAGE_COPY_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->copy( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ), true ) ); -} - -/* QImage createAlphaMask ( Qt::ImageConversionFlags flags = Qt::AutoColor ) const */ -HB_FUNC( QT_QIMAGE_CREATEALPHAMASK ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->createAlphaMask( ( HB_ISNUM( 2 ) ? ( Qt::ImageConversionFlags ) hb_parni( 2 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ), true ) ); -} - -/* QImage createHeuristicMask ( bool clipTight = true ) const */ -HB_FUNC( QT_QIMAGE_CREATEHEURISTICMASK ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->createHeuristicMask( hb_parl( 2 ) ) ), true ) ); -} - -/* QImage createMaskFromColor ( QRgb color, Qt::MaskMode mode = Qt::MaskInColor ) const */ -HB_FUNC( QT_QIMAGE_CREATEMASKFROMCOLOR ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->createMaskFromColor( hb_parnl( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::MaskMode ) hb_parni( 3 ) : ( Qt::MaskMode ) Qt::MaskInColor ) ) ), true ) ); -} - -/* int depth () const */ -HB_FUNC( QT_QIMAGE_DEPTH ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->depth() ); -} - -/* int dotsPerMeterX () const */ -HB_FUNC( QT_QIMAGE_DOTSPERMETERX ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->dotsPerMeterX() ); -} - -/* int dotsPerMeterY () const */ -HB_FUNC( QT_QIMAGE_DOTSPERMETERY ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->dotsPerMeterY() ); -} - -/* void fill ( uint pixelValue ) */ -HB_FUNC( QT_QIMAGE_FILL ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->fill( hb_parni( 2 ) ); -} - -/* Format format () const */ -HB_FUNC( QT_QIMAGE_FORMAT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( QImage::Format ) ( p )->format() ); -} - -/* bool hasAlphaChannel () const */ -HB_FUNC( QT_QIMAGE_HASALPHACHANNEL ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->hasAlphaChannel() ); -} - -/* int height () const */ -HB_FUNC( QT_QIMAGE_HEIGHT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* void invertPixels ( InvertMode mode = InvertRgb ) */ -HB_FUNC( QT_QIMAGE_INVERTPIXELS ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->invertPixels( ( HB_ISNUM( 2 ) ? ( QImage::InvertMode ) hb_parni( 2 ) : ( QImage::InvertMode ) QImage::InvertRgb ) ); -} - -/* bool isGrayscale () const */ -HB_FUNC( QT_QIMAGE_ISGRAYSCALE ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->isGrayscale() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QIMAGE_ISNULL ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool load ( const QString & fileName, const char * format = 0 ) */ -HB_FUNC( QT_QIMAGE_LOAD ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->load( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool load ( QIODevice * device, const char * format ) */ -HB_FUNC( QT_QIMAGE_LOAD_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->load( hbqt_par_QIODevice( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* bool loadFromData ( const QByteArray & data, const char * format = 0 ) */ -HB_FUNC( QT_QIMAGE_LOADFROMDATA ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->loadFromData( *hbqt_par_QByteArray( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* QImage mirrored ( bool horizontal = false, bool vertical = true ) const */ -HB_FUNC( QT_QIMAGE_MIRRORED ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->mirrored( hb_parl( 2 ), hb_parl( 3 ) ) ), true ) ); -} - -/* int numBytes () const */ -HB_FUNC( QT_QIMAGE_NUMBYTES ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->numBytes() ); -} - -/* int numColors () const */ -HB_FUNC( QT_QIMAGE_NUMCOLORS ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->numColors() ); -} - -/* QPoint offset () const */ -HB_FUNC( QT_QIMAGE_OFFSET ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->offset() ), true ) ); -} - -/* QRgb pixel ( const QPoint & position ) const */ -HB_FUNC( QT_QIMAGE_PIXEL ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retnl( ( p )->pixel( *hbqt_par_QPoint( 2 ) ) ); -} - -/* QRgb pixel ( int x, int y ) const */ -HB_FUNC( QT_QIMAGE_PIXEL_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retnl( ( p )->pixel( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* int pixelIndex ( const QPoint & position ) const */ -HB_FUNC( QT_QIMAGE_PIXELINDEX ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->pixelIndex( *hbqt_par_QPoint( 2 ) ) ); -} - -/* int pixelIndex ( int x, int y ) const */ -HB_FUNC( QT_QIMAGE_PIXELINDEX_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->pixelIndex( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* QRect rect () const */ -HB_FUNC( QT_QIMAGE_RECT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->rect() ), true ) ); -} - -/* QImage rgbSwapped () const */ -HB_FUNC( QT_QIMAGE_RGBSWAPPED ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->rgbSwapped() ), true ) ); -} - -/* bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const */ -HB_FUNC( QT_QIMAGE_SAVE ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->save( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ), hb_parnidef( 4, -1 ) ) ); - hb_strfree( pText ); - } -} - -/* bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const */ -HB_FUNC( QT_QIMAGE_SAVE_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->save( hbqt_par_QIODevice( 2 ), ( const char * ) hb_parc( 3 ), hb_parnidef( 4, -1 ) ) ); -} - -/* QImage scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QIMAGE_SCALED ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->scaled( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::AspectRatioMode ) hb_parni( 3 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 4 ) ? ( Qt::TransformationMode ) hb_parni( 4 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* QImage scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QIMAGE_SCALED_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->scaled( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::AspectRatioMode ) hb_parni( 4 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 5 ) ? ( Qt::TransformationMode ) hb_parni( 5 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* QImage scaledToHeight ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QIMAGE_SCALEDTOHEIGHT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->scaledToHeight( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* QImage scaledToWidth ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QIMAGE_SCALEDTOWIDTH ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->scaledToWidth( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* const uchar * scanLine ( int i ) const */ -HB_FUNC( QT_QIMAGE_SCANLINE ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retc( ( const char * ) ( p )->scanLine( hb_parni( 2 ) ) ); -} - -/* void setColor ( int index, QRgb colorValue ) */ -HB_FUNC( QT_QIMAGE_SETCOLOR ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setColor( hb_parni( 2 ), hb_parnl( 3 ) ); -} - -/* void setDotsPerMeterX ( int x ) */ -HB_FUNC( QT_QIMAGE_SETDOTSPERMETERX ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setDotsPerMeterX( hb_parni( 2 ) ); -} - -/* void setDotsPerMeterY ( int y ) */ -HB_FUNC( QT_QIMAGE_SETDOTSPERMETERY ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setDotsPerMeterY( hb_parni( 2 ) ); -} - -/* void setNumColors ( int numColors ) */ -HB_FUNC( QT_QIMAGE_SETNUMCOLORS ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setNumColors( hb_parni( 2 ) ); -} - -/* void setOffset ( const QPoint & offset ) */ -HB_FUNC( QT_QIMAGE_SETOFFSET ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setOffset( *hbqt_par_QPoint( 2 ) ); -} - -/* void setPixel ( const QPoint & position, uint index_or_rgb ) */ -HB_FUNC( QT_QIMAGE_SETPIXEL ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setPixel( *hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* void setPixel ( int x, int y, uint index_or_rgb ) */ -HB_FUNC( QT_QIMAGE_SETPIXEL_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - ( p )->setPixel( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* void setText ( const QString & key, const QString & text ) */ -HB_FUNC( QT_QIMAGE_SETTEXT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QSize size () const */ -HB_FUNC( QT_QIMAGE_SIZE ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size() ), true ) ); -} - -/* QString text ( const QString & key = QString() ) const */ -HB_FUNC( QT_QIMAGE_TEXT ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->text( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QStringList textKeys () const */ -HB_FUNC( QT_QIMAGE_TEXTKEYS ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->textKeys() ), true ) ); -} - -/* QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QIMAGE_TRANSFORMED ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - 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 ) ); -} - -/* bool valid ( const QPoint & pos ) const */ -HB_FUNC( QT_QIMAGE_VALID ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->valid( *hbqt_par_QPoint( 2 ) ) ); -} - -/* bool valid ( int x, int y ) const */ -HB_FUNC( QT_QIMAGE_VALID_1 ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retl( ( p )->valid( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* int width () const */ -HB_FUNC( QT_QIMAGE_WIDTH ) -{ - QImage * p = hbqt_par_QImage( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp b/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp deleted file mode 100644 index efc7dd1711..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QImageReader.cpp +++ /dev/null @@ -1,414 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ImageReaderError { FileNotFoundError, DeviceError, UnsupportedFormatError, InvalidDataError, UnknownError } - */ - -/* - * Constructed[ 39/39 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QImageReader () - * QImageReader ( QIODevice * device, const QByteArray & format = QByteArray() ) - * QImageReader ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QImageReader () - */ - -typedef struct -{ - QImageReader * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QImageReader; - -HBQT_GC_FUNC( hbqt_gcRelease_QImageReader ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QImageReader * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QImageReader( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QImageReader * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QImageReader; - p->type = HBQT_TYPE_QImageReader; - - return p; -} - -HB_FUNC( QT_QIMAGEREADER ) -{ - QImageReader * pObj = NULL; - - pObj = new QImageReader() ; - - hb_retptrGC( hbqt_gcAllocate_QImageReader( ( void * ) pObj, true ) ); -} - -/* bool autoDetectImageFormat () const */ -HB_FUNC( QT_QIMAGEREADER_AUTODETECTIMAGEFORMAT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->autoDetectImageFormat() ); -} - -/* QColor backgroundColor () const */ -HB_FUNC( QT_QIMAGEREADER_BACKGROUNDCOLOR ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->backgroundColor() ), true ) ); -} - -/* bool canRead () const */ -HB_FUNC( QT_QIMAGEREADER_CANREAD ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->canRead() ); -} - -/* QRect clipRect () const */ -HB_FUNC( QT_QIMAGEREADER_CLIPRECT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->clipRect() ), true ) ); -} - -/* int currentImageNumber () const */ -HB_FUNC( QT_QIMAGEREADER_CURRENTIMAGENUMBER ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( p )->currentImageNumber() ); -} - -/* QRect currentImageRect () const */ -HB_FUNC( QT_QIMAGEREADER_CURRENTIMAGERECT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->currentImageRect() ), true ) ); -} - -/* QIODevice * device () const */ -HB_FUNC( QT_QIMAGEREADER_DEVICE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->device(), false ) ); -} - -/* ImageReaderError error () const */ -HB_FUNC( QT_QIMAGEREADER_ERROR ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( QImageReader::ImageReaderError ) ( p )->error() ); -} - -/* QString errorString () const */ -HB_FUNC( QT_QIMAGEREADER_ERRORSTRING ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QIMAGEREADER_FILENAME ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* QByteArray format () const */ -HB_FUNC( QT_QIMAGEREADER_FORMAT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->format() ), true ) ); -} - -/* int imageCount () const */ -HB_FUNC( QT_QIMAGEREADER_IMAGECOUNT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( p )->imageCount() ); -} - -/* QImage::Format imageFormat () const */ -HB_FUNC( QT_QIMAGEREADER_IMAGEFORMAT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( QImage::Format ) ( p )->imageFormat() ); -} - -/* bool jumpToImage ( int imageNumber ) */ -HB_FUNC( QT_QIMAGEREADER_JUMPTOIMAGE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->jumpToImage( hb_parni( 2 ) ) ); -} - -/* bool jumpToNextImage () */ -HB_FUNC( QT_QIMAGEREADER_JUMPTONEXTIMAGE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->jumpToNextImage() ); -} - -/* int loopCount () const */ -HB_FUNC( QT_QIMAGEREADER_LOOPCOUNT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( p )->loopCount() ); -} - -/* int nextImageDelay () const */ -HB_FUNC( QT_QIMAGEREADER_NEXTIMAGEDELAY ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( p )->nextImageDelay() ); -} - -/* int quality () const */ -HB_FUNC( QT_QIMAGEREADER_QUALITY ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retni( ( p )->quality() ); -} - -/* QImage read () */ -HB_FUNC( QT_QIMAGEREADER_READ ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->read() ), true ) ); -} - -/* bool read ( QImage * image ) */ -HB_FUNC( QT_QIMAGEREADER_READ_1 ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->read( hbqt_par_QImage( 2 ) ) ); -} - -/* QRect scaledClipRect () const */ -HB_FUNC( QT_QIMAGEREADER_SCALEDCLIPRECT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->scaledClipRect() ), true ) ); -} - -/* QSize scaledSize () const */ -HB_FUNC( QT_QIMAGEREADER_SCALEDSIZE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->scaledSize() ), true ) ); -} - -/* void setAutoDetectImageFormat ( bool enabled ) */ -HB_FUNC( QT_QIMAGEREADER_SETAUTODETECTIMAGEFORMAT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setAutoDetectImageFormat( hb_parl( 2 ) ); -} - -/* void setBackgroundColor ( const QColor & color ) */ -HB_FUNC( QT_QIMAGEREADER_SETBACKGROUNDCOLOR ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setClipRect ( const QRect & rect ) */ -HB_FUNC( QT_QIMAGEREADER_SETCLIPRECT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setClipRect( *hbqt_par_QRect( 2 ) ); -} - -/* void setDevice ( QIODevice * device ) */ -HB_FUNC( QT_QIMAGEREADER_SETDEVICE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* void setFileName ( const QString & fileName ) */ -HB_FUNC( QT_QIMAGEREADER_SETFILENAME ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFormat ( const QByteArray & format ) */ -HB_FUNC( QT_QIMAGEREADER_SETFORMAT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setQuality ( int quality ) */ -HB_FUNC( QT_QIMAGEREADER_SETQUALITY ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setQuality( hb_parni( 2 ) ); -} - -/* void setScaledClipRect ( const QRect & rect ) */ -HB_FUNC( QT_QIMAGEREADER_SETSCALEDCLIPRECT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setScaledClipRect( *hbqt_par_QRect( 2 ) ); -} - -/* void setScaledSize ( const QSize & size ) */ -HB_FUNC( QT_QIMAGEREADER_SETSCALEDSIZE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - ( p )->setScaledSize( *hbqt_par_QSize( 2 ) ); -} - -/* QSize size () const */ -HB_FUNC( QT_QIMAGEREADER_SIZE ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size() ), true ) ); -} - -/* bool supportsAnimation () const */ -HB_FUNC( QT_QIMAGEREADER_SUPPORTSANIMATION ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->supportsAnimation() ); -} - -/* bool supportsOption ( QImageIOHandler::ImageOption option ) const */ -HB_FUNC( QT_QIMAGEREADER_SUPPORTSOPTION ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retl( ( p )->supportsOption( ( QImageIOHandler::ImageOption ) hb_parni( 2 ) ) ); -} - -/* QString text ( const QString & key ) const */ -HB_FUNC( QT_QIMAGEREADER_TEXT ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->text( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - -/* QStringList textKeys () const */ -HB_FUNC( QT_QIMAGEREADER_TEXTKEYS ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->textKeys() ), true ) ); -} - -/* QByteArray imageFormat ( const QString & fileName ) */ -HB_FUNC( QT_QIMAGEREADER_IMAGEFORMAT_1 ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->imageFormat( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QByteArray imageFormat ( QIODevice * device ) */ -HB_FUNC( QT_QIMAGEREADER_IMAGEFORMAT_2 ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->imageFormat( hbqt_par_QIODevice( 2 ) ) ), true ) ); -} - -/* QList supportedImageFormats () */ -HB_FUNC( QT_QIMAGEREADER_SUPPORTEDIMAGEFORMATS ) -{ - QImageReader * p = hbqt_par_QImageReader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->supportedImageFormats() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp b/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp deleted file mode 100644 index 1e5c2f42bf..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QImageWriter.cpp +++ /dev/null @@ -1,249 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ImageWriterError { DeviceError, UnsupportedFormatError, UnknownError } - */ - -/* - * Constructed[ 19/19 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QImageWriter () - * QImageWriter ( QIODevice * device, const QByteArray & format ) - * QImageWriter ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QImageWriter () - */ - -typedef struct -{ - QImageWriter * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QImageWriter; - -HBQT_GC_FUNC( hbqt_gcRelease_QImageWriter ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QImageWriter * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QImageWriter( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QImageWriter * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QImageWriter; - p->type = HBQT_TYPE_QImageWriter; - - return p; -} - -HB_FUNC( QT_QIMAGEWRITER ) -{ - QImageWriter * pObj = NULL; - - pObj = new QImageWriter() ; - - hb_retptrGC( hbqt_gcAllocate_QImageWriter( ( void * ) pObj, true ) ); -} - -/* bool canWrite () const */ -HB_FUNC( QT_QIMAGEWRITER_CANWRITE ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retl( ( p )->canWrite() ); -} - -/* int compression () const */ -HB_FUNC( QT_QIMAGEWRITER_COMPRESSION ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retni( ( p )->compression() ); -} - -/* QIODevice * device () const */ -HB_FUNC( QT_QIMAGEWRITER_DEVICE ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->device(), false ) ); -} - -/* ImageWriterError error () const */ -HB_FUNC( QT_QIMAGEWRITER_ERROR ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retni( ( QImageWriter::ImageWriterError ) ( p )->error() ); -} - -/* QString errorString () const */ -HB_FUNC( QT_QIMAGEWRITER_ERRORSTRING ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QIMAGEWRITER_FILENAME ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* QByteArray format () const */ -HB_FUNC( QT_QIMAGEWRITER_FORMAT ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->format() ), true ) ); -} - -/* float gamma () const */ -HB_FUNC( QT_QIMAGEWRITER_GAMMA ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retnd( ( p )->gamma() ); -} - -/* int quality () const */ -HB_FUNC( QT_QIMAGEWRITER_QUALITY ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retni( ( p )->quality() ); -} - -/* void setCompression ( int compression ) */ -HB_FUNC( QT_QIMAGEWRITER_SETCOMPRESSION ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - ( p )->setCompression( hb_parni( 2 ) ); -} - -/* void setDevice ( QIODevice * device ) */ -HB_FUNC( QT_QIMAGEWRITER_SETDEVICE ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - ( p )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* void setFileName ( const QString & fileName ) */ -HB_FUNC( QT_QIMAGEWRITER_SETFILENAME ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFormat ( const QByteArray & format ) */ -HB_FUNC( QT_QIMAGEWRITER_SETFORMAT ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - ( p )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setGamma ( float gamma ) */ -HB_FUNC( QT_QIMAGEWRITER_SETGAMMA ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - ( p )->setGamma( hb_parnd( 2 ) ); -} - -/* void setQuality ( int quality ) */ -HB_FUNC( QT_QIMAGEWRITER_SETQUALITY ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - ( p )->setQuality( hb_parni( 2 ) ); -} - -/* void setText ( const QString & key, const QString & text ) */ -HB_FUNC( QT_QIMAGEWRITER_SETTEXT ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* bool supportsOption ( QImageIOHandler::ImageOption option ) const */ -HB_FUNC( QT_QIMAGEWRITER_SUPPORTSOPTION ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retl( ( p )->supportsOption( ( QImageIOHandler::ImageOption ) hb_parni( 2 ) ) ); -} - -/* bool write ( const QImage & image ) */ -HB_FUNC( QT_QIMAGEWRITER_WRITE ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retl( ( p )->write( *hbqt_par_QImage( 2 ) ) ); -} - -/* QList supportedImageFormats () */ -HB_FUNC( QT_QIMAGEWRITER_SUPPORTEDIMAGEFORMATS ) -{ - QImageWriter * p = hbqt_par_QImageWriter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->supportedImageFormats() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp deleted file mode 100644 index 3476dd6a29..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QInputDialog.cpp +++ /dev/null @@ -1,494 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum InputDialogOption { NoButtons, UseListViewForComboBoxItems } - * enum InputMode { TextInput, IntInput, DoubleInput } - * flags InputDialogOptions - */ - -/* - * Constructed[ 44/44 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QInputDialog ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QInputDialog () - */ - -typedef struct -{ - QPointer< QInputDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QInputDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QInputDialog ) -{ - HBQT_GC_T_QInputDialog * p = ( HBQT_GC_T_QInputDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QInputDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QInputDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QInputDialog * p = ( HBQT_GC_T_QInputDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QInputDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QInputDialog >( ( QInputDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QInputDialog; - p->type = HBQT_TYPE_QInputDialog; - - return p; -} - -HB_FUNC( QT_QINPUTDIALOG ) -{ - QInputDialog * pObj = NULL; - - pObj = new QInputDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QInputDialog( ( void * ) pObj, true ) ); -} - -/* QString cancelButtonText () const */ -HB_FUNC( QT_QINPUTDIALOG_CANCELBUTTONTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->cancelButtonText().toUtf8().data() ); -} - -/* QStringList comboBoxItems () const */ -HB_FUNC( QT_QINPUTDIALOG_COMBOBOXITEMS ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->comboBoxItems() ), true ) ); -} - -/* virtual void done ( int result ) */ -HB_FUNC( QT_QINPUTDIALOG_DONE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->done( hb_parni( 2 ) ); -} - -/* int doubleDecimals () const */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEDECIMALS ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( p )->doubleDecimals() ); -} - -/* double doubleMaximum () const */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEMAXIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retnd( ( p )->doubleMaximum() ); -} - -/* double doubleMinimum () const */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEMINIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retnd( ( p )->doubleMinimum() ); -} - -/* double doubleValue () const */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEVALUE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retnd( ( p )->doubleValue() ); -} - -/* InputMode inputMode () const */ -HB_FUNC( QT_QINPUTDIALOG_INPUTMODE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( QInputDialog::InputMode ) ( p )->inputMode() ); -} - -/* int intMaximum () const */ -HB_FUNC( QT_QINPUTDIALOG_INTMAXIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( p )->intMaximum() ); -} - -/* int intMinimum () const */ -HB_FUNC( QT_QINPUTDIALOG_INTMINIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( p )->intMinimum() ); -} - -/* int intStep () const */ -HB_FUNC( QT_QINPUTDIALOG_INTSTEP ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( p )->intStep() ); -} - -/* int intValue () const */ -HB_FUNC( QT_QINPUTDIALOG_INTVALUE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( p )->intValue() ); -} - -/* bool isComboBoxEditable () const */ -HB_FUNC( QT_QINPUTDIALOG_ISCOMBOBOXEDITABLE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retl( ( p )->isComboBoxEditable() ); -} - -/* QString labelText () const */ -HB_FUNC( QT_QINPUTDIALOG_LABELTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->labelText().toUtf8().data() ); -} - -/* QString okButtonText () const */ -HB_FUNC( QT_QINPUTDIALOG_OKBUTTONTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->okButtonText().toUtf8().data() ); -} - -/* void open ( QObject * receiver, const char * member ) */ -HB_FUNC( QT_QINPUTDIALOG_OPEN ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->open( hbqt_par_QObject( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* InputDialogOptions options () const */ -HB_FUNC( QT_QINPUTDIALOG_OPTIONS ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( QInputDialog::InputDialogOptions ) ( p )->options() ); -} - -/* void setCancelButtonText ( const QString & text ) */ -HB_FUNC( QT_QINPUTDIALOG_SETCANCELBUTTONTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setCancelButtonText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setComboBoxEditable ( bool editable ) */ -HB_FUNC( QT_QINPUTDIALOG_SETCOMBOBOXEDITABLE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setComboBoxEditable( hb_parl( 2 ) ); -} - -/* void setComboBoxItems ( const QStringList & items ) */ -HB_FUNC( QT_QINPUTDIALOG_SETCOMBOBOXITEMS ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setComboBoxItems( *hbqt_par_QStringList( 2 ) ); -} - -/* void setDoubleDecimals ( int decimals ) */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEDECIMALS ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setDoubleDecimals( hb_parni( 2 ) ); -} - -/* void setDoubleMaximum ( double max ) */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEMAXIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setDoubleMaximum( hb_parnd( 2 ) ); -} - -/* void setDoubleMinimum ( double min ) */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEMINIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setDoubleMinimum( hb_parnd( 2 ) ); -} - -/* void setDoubleRange ( double min, double max ) */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLERANGE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setDoubleRange( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setDoubleValue ( double value ) */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEVALUE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setDoubleValue( hb_parnd( 2 ) ); -} - -/* void setInputMode ( InputMode mode ) */ -HB_FUNC( QT_QINPUTDIALOG_SETINPUTMODE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setInputMode( ( QInputDialog::InputMode ) hb_parni( 2 ) ); -} - -/* void setIntMaximum ( int max ) */ -HB_FUNC( QT_QINPUTDIALOG_SETINTMAXIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setIntMaximum( hb_parni( 2 ) ); -} - -/* void setIntMinimum ( int min ) */ -HB_FUNC( QT_QINPUTDIALOG_SETINTMINIMUM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setIntMinimum( hb_parni( 2 ) ); -} - -/* void setIntRange ( int min, int max ) */ -HB_FUNC( QT_QINPUTDIALOG_SETINTRANGE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setIntRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setIntStep ( int step ) */ -HB_FUNC( QT_QINPUTDIALOG_SETINTSTEP ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setIntStep( hb_parni( 2 ) ); -} - -/* void setIntValue ( int value ) */ -HB_FUNC( QT_QINPUTDIALOG_SETINTVALUE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setIntValue( hb_parni( 2 ) ); -} - -/* void setLabelText ( const QString & text ) */ -HB_FUNC( QT_QINPUTDIALOG_SETLABELTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setLabelText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setOkButtonText ( const QString & text ) */ -HB_FUNC( QT_QINPUTDIALOG_SETOKBUTTONTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setOkButtonText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setOption ( InputDialogOption option, bool on = true ) */ -HB_FUNC( QT_QINPUTDIALOG_SETOPTION ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setOption( ( QInputDialog::InputDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( InputDialogOptions options ) */ -HB_FUNC( QT_QINPUTDIALOG_SETOPTIONS ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setOptions( ( QInputDialog::InputDialogOptions ) hb_parni( 2 ) ); -} - -/* void setTextEchoMode ( QLineEdit::EchoMode mode ) */ -HB_FUNC( QT_QINPUTDIALOG_SETTEXTECHOMODE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - ( p )->setTextEchoMode( ( QLineEdit::EchoMode ) hb_parni( 2 ) ); -} - -/* void setTextValue ( const QString & text ) */ -HB_FUNC( QT_QINPUTDIALOG_SETTEXTVALUE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setTextValue( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* bool testOption ( InputDialogOption option ) const */ -HB_FUNC( QT_QINPUTDIALOG_TESTOPTION ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QInputDialog::InputDialogOption ) hb_parni( 2 ) ) ); -} - -/* QLineEdit::EchoMode textEchoMode () const */ -HB_FUNC( QT_QINPUTDIALOG_TEXTECHOMODE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retni( ( QLineEdit::EchoMode ) ( p )->textEchoMode() ); -} - -/* QString textValue () const */ -HB_FUNC( QT_QINPUTDIALOG_TEXTVALUE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->textValue().toUtf8().data() ); -} - -/* double getDouble ( QWidget * parent, const QString & title, const QString & label, double value = 0, double min = -2147483647, double max = 2147483647, int decimals = 1, bool * ok = 0, Qt::WindowFlags flags = 0 ) */ -HB_FUNC( QT_QINPUTDIALOG_GETDOUBLE ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retnd( ( p )->getDouble( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ), hb_parnidef( 8, 1 ), &iOk, ( Qt::WindowFlags ) hb_parni( 10 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 9 ); -} - -/* int getInt ( QWidget * parent, const QString & title, const QString & label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool * ok = 0, Qt::WindowFlags flags = 0 ) */ -HB_FUNC( QT_QINPUTDIALOG_GETINT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retni( ( p )->getInt( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), hb_parni( 5 ), hb_parnidef( 6, -2147483647 ), hb_parnidef( 7, 2147483647 ), hb_parnidef( 8, 1 ), &iOk, ( Qt::WindowFlags ) hb_parni( 10 ) ) ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 9 ); -} - -/* QString getItem ( QWidget * parent, const QString & title, const QString & label, const QStringList & items, int current = 0, bool editable = true, bool * ok = 0, Qt::WindowFlags flags = 0 ) */ -HB_FUNC( QT_QINPUTDIALOG_GETITEM ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->getItem( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), *hbqt_par_QStringList( 5 ), hb_parni( 6 ), hb_parl( 7 ), &iOk, ( Qt::WindowFlags ) hb_parni( 9 ) ).toUtf8().data() ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 8 ); -} - -/* QString getText ( QWidget * parent, const QString & title, const QString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const QString & text = QString(), bool * ok = 0, Qt::WindowFlags flags = 0 ) */ -HB_FUNC( QT_QINPUTDIALOG_GETTEXT ) -{ - QInputDialog * p = hbqt_par_QInputDialog( 1 ); - bool iOk = 0; - - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->getText( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISNUM( 5 ) ? ( QLineEdit::EchoMode ) hb_parni( 5 ) : ( QLineEdit::EchoMode ) QLineEdit::Normal ), hb_parstr_utf8( 6, &pText, NULL ), &iOk, ( Qt::WindowFlags ) hb_parni( 8 ) ).toUtf8().data() ); - hb_strfree( pText ); - } - - hb_stornl( iOk, 7 ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp deleted file mode 100644 index c1b58f1912..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QInputEvent.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include -#include - -/* - * - * - */ - -typedef struct -{ - QInputEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QInputEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QInputEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QInputEvent * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QInputEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QInputEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QInputEvent; - p->type = HBQT_TYPE_QInputEvent; - - return p; -} - -HB_FUNC( QT_QINPUTEVENT ) -{ - QInputEvent * pObj = NULL; - - pObj = new QInputEvent( ( QEvent::Type ) hb_parni( 1 ), ( Qt::KeyboardModifiers ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QInputEvent( ( void * ) pObj, true ) ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QINPUTEVENT_MODIFIERS ) -{ - QInputEvent * p = hbqt_par_QInputEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp deleted file mode 100644 index 96ee1fb7ac..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QInputMethodEvent.cpp +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum AttributeType { TextFormat, Cursor, Language, Ruby } - */ - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // const QList & attributes () const - */ - -#include - -#include - - -/* QInputMethodEvent () - * QInputMethodEvent ( const QString & preeditText, const QList & attributes ) - * QInputMethodEvent ( const QInputMethodEvent & other ) - */ - -typedef struct -{ - QInputMethodEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QInputMethodEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QInputMethodEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QInputMethodEvent * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QInputMethodEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QInputMethodEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QInputMethodEvent; - p->type = HBQT_TYPE_QInputMethodEvent; - - return p; -} - -HB_FUNC( QT_QINPUTMETHODEVENT ) -{ - QInputMethodEvent * pObj = NULL; - - pObj = new QInputMethodEvent() ; - - hb_retptrGC( hbqt_gcAllocate_QInputMethodEvent( ( void * ) pObj, true ) ); -} - -/* const QString & commitString () const */ -HB_FUNC( QT_QINPUTMETHODEVENT_COMMITSTRING ) -{ - QInputMethodEvent * p = hbqt_par_QInputMethodEvent( 1 ); - if( p ) - hb_retstr_utf8( ( p )->commitString().toUtf8().data() ); -} - -/* const QString & preeditString () const */ -HB_FUNC( QT_QINPUTMETHODEVENT_PREEDITSTRING ) -{ - QInputMethodEvent * p = hbqt_par_QInputMethodEvent( 1 ); - if( p ) - hb_retstr_utf8( ( p )->preeditString().toUtf8().data() ); -} - -/* int replacementLength () const */ -HB_FUNC( QT_QINPUTMETHODEVENT_REPLACEMENTLENGTH ) -{ - QInputMethodEvent * p = hbqt_par_QInputMethodEvent( 1 ); - if( p ) - hb_retni( ( p )->replacementLength() ); -} - -/* int replacementStart () const */ -HB_FUNC( QT_QINPUTMETHODEVENT_REPLACEMENTSTART ) -{ - QInputMethodEvent * p = hbqt_par_QInputMethodEvent( 1 ); - if( p ) - hb_retni( ( p )->replacementStart() ); -} - -/* void setCommitString ( const QString & commitString, int replaceFrom = 0, int replaceLength = 0 ) */ -HB_FUNC( QT_QINPUTMETHODEVENT_SETCOMMITSTRING ) -{ - QInputMethodEvent * p = hbqt_par_QInputMethodEvent( 1 ); - if( p ) - { - void * pText; - ( p )->setCommitString( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), hb_parni( 4 ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp deleted file mode 100644 index 881147215f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum State { Invalid, Intermediate, Acceptable } - */ - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //virtual QValidator::State validate ( QString & input, int & pos ) const - */ - -#include - -#include - - -/* QIntValidator ( QObject * parent ) - * QIntValidator ( int minimum, int maximum, QObject * parent ) -* ~QIntValidator () - */ - -typedef struct -{ - QPointer< QIntValidator > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QIntValidator; - -HBQT_GC_FUNC( hbqt_gcRelease_QIntValidator ) -{ - HBQT_GC_T_QIntValidator * p = ( HBQT_GC_T_QIntValidator * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QIntValidator * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QIntValidator( void * pObj, bool bNew ) -{ - HBQT_GC_T_QIntValidator * p = ( HBQT_GC_T_QIntValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QIntValidator ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QIntValidator >( ( QIntValidator * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QIntValidator; - p->type = HBQT_TYPE_QIntValidator; - - return p; -} - -HB_FUNC( QT_QINTVALIDATOR ) -{ - QIntValidator * pObj = NULL; - - if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISPOINTER( 3 ) ) - { - pObj = new QIntValidator( hb_parni( 1 ), hb_parni( 2 ), hbqt_par_QObject( 3 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QIntValidator( hbqt_par_QObject( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QIntValidator( ( void * ) pObj, true ) ); -} - -/* int bottom () const */ -HB_FUNC( QT_QINTVALIDATOR_BOTTOM ) -{ - QIntValidator * p = hbqt_par_QIntValidator( 1 ); - if( p ) - hb_retni( ( p )->bottom() ); -} - -/* void setBottom ( int ) */ -HB_FUNC( QT_QINTVALIDATOR_SETBOTTOM ) -{ - QIntValidator * p = hbqt_par_QIntValidator( 1 ); - if( p ) - ( p )->setBottom( hb_parni( 2 ) ); -} - -/* virtual void setRange ( int bottom, int top ) */ -HB_FUNC( QT_QINTVALIDATOR_SETRANGE ) -{ - QIntValidator * p = hbqt_par_QIntValidator( 1 ); - if( p ) - ( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setTop ( int ) */ -HB_FUNC( QT_QINTVALIDATOR_SETTOP ) -{ - QIntValidator * p = hbqt_par_QIntValidator( 1 ); - if( p ) - ( p )->setTop( hb_parni( 2 ) ); -} - -/* int top () const */ -HB_FUNC( QT_QINTVALIDATOR_TOP ) -{ - QIntValidator * p = hbqt_par_QIntValidator( 1 ); - if( p ) - hb_retni( ( p )->top() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp deleted file mode 100644 index 42cf63191a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QItemDelegate.cpp +++ /dev/null @@ -1,179 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum EndEditHint { NoHint, EditNextItem, EditPreviousItem, SubmitModelCache, RevertModelCache } - */ - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QItemDelegate ( QObject * parent = 0 ) - * ~QItemDelegate () - * - */ - -typedef struct -{ - QPointer< QItemDelegate > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QItemDelegate; - -HBQT_GC_FUNC( hbqt_gcRelease_QItemDelegate ) -{ - HBQT_GC_T_QItemDelegate * p = ( HBQT_GC_T_QItemDelegate * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QItemDelegate * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QItemDelegate( void * pObj, bool bNew ) -{ - HBQT_GC_T_QItemDelegate * p = ( HBQT_GC_T_QItemDelegate * ) hb_gcAllocate( sizeof( HBQT_GC_T_QItemDelegate ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QItemDelegate >( ( QItemDelegate * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QItemDelegate; - p->type = HBQT_TYPE_QItemDelegate; - - return p; -} - -HB_FUNC( QT_QITEMDELEGATE ) -{ - QItemDelegate * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - { - pObj = new QItemDelegate( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QItemDelegate() ; - } - - hb_retptrGC( hbqt_gcAllocate_QItemDelegate( ( void * ) pObj, true ) ); -} - -/* bool hasClipping () const */ -HB_FUNC( QT_QITEMDELEGATE_HASCLIPPING ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - hb_retl( ( p )->hasClipping() ); -} - -/* QItemEditorFactory * itemEditorFactory () const */ -HB_FUNC( QT_QITEMDELEGATE_ITEMEDITORFACTORY ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QItemEditorFactory( ( p )->itemEditorFactory(), false ) ); -} - -/* void setClipping ( bool clip ) */ -HB_FUNC( QT_QITEMDELEGATE_SETCLIPPING ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - ( p )->setClipping( hb_parl( 2 ) ); -} - -/* void setItemEditorFactory ( QItemEditorFactory * factory ) */ -HB_FUNC( QT_QITEMDELEGATE_SETITEMEDITORFACTORY ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - ( p )->setItemEditorFactory( hbqt_par_QItemEditorFactory( 2 ) ); -} - -/* virtual QWidget * createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMDELEGATE_CREATEEDITOR ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->createEditor( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ), false ) ); -} - -/* virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMDELEGATE_PAINT ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* virtual void setEditorData ( QWidget * editor, const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMDELEGATE_SETEDITORDATA ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - ( p )->setEditorData( hbqt_par_QWidget( 2 ), *hbqt_par_QModelIndex( 3 ) ); -} - -/* virtual void setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMDELEGATE_SETMODELDATA ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - ( p )->setModelData( hbqt_par_QWidget( 2 ), hbqt_par_QAbstractItemModel( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* virtual QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMDELEGATE_SIZEHINT ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint( *hbqt_par_QStyleOptionViewItem( 2 ), *hbqt_par_QModelIndex( 3 ) ) ), true ) ); -} - -/* virtual void updateEditorGeometry ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMDELEGATE_UPDATEEDITORGEOMETRY ) -{ - QItemDelegate * p = hbqt_par_QItemDelegate( 1 ); - if( p ) - ( p )->updateEditorGeometry( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp b/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp deleted file mode 100644 index 98ad76b7bb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QItemEditorCreatorBase.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QItemEditorCreatorBase () - * virtual ~QItemEditorCreatorBase () - * - */ - -typedef struct -{ - QItemEditorCreatorBase * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QItemEditorCreatorBase; - -HBQT_GC_FUNC( hbqt_gcRelease_QItemEditorCreatorBase ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QItemEditorCreatorBase( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QItemEditorCreatorBase * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QItemEditorCreatorBase; - p->type = HBQT_TYPE_QItemEditorCreatorBase; - - return p; -} - -HB_FUNC( QT_QITEMEDITORCREATORBASE ) -{ - -} - -/* virtual QWidget * createWidget ( QWidget * parent ) const = 0 */ -HB_FUNC( QT_QITEMEDITORCREATORBASE_CREATEWIDGET ) -{ - QItemEditorCreatorBase * p = hbqt_par_QItemEditorCreatorBase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->createWidget( hbqt_par_QWidget( 2 ) ), false ) ); -} - -/* virtual QByteArray valuePropertyName () const = 0 */ -HB_FUNC( QT_QITEMEDITORCREATORBASE_VALUEPROPERTYNAME ) -{ - QItemEditorCreatorBase * p = hbqt_par_QItemEditorCreatorBase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->valuePropertyName() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp b/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp deleted file mode 100644 index ac12fd8efe..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QItemEditorFactory.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //const QItemEditorFactory * defaultFactory () - */ - -#include - -#include - - -/* - * QItemEditorFactory () - * virtual ~QItemEditorFactory () - * - */ - -typedef struct -{ - QItemEditorFactory * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QItemEditorFactory; - -HBQT_GC_FUNC( hbqt_gcRelease_QItemEditorFactory ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QItemEditorFactory * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QItemEditorFactory( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QItemEditorFactory * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QItemEditorFactory; - p->type = HBQT_TYPE_QItemEditorFactory; - - return p; -} - -HB_FUNC( QT_QITEMEDITORFACTORY ) -{ - QItemEditorFactory * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - { - pObj = new QItemEditorFactory() ; - } - else - { - pObj = new QItemEditorFactory( *hbqt_par_QItemEditorFactory( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QItemEditorFactory( ( void * ) pObj, true ) ); -} - -/* virtual QWidget * createEditor ( QVariant::Type type, QWidget * parent ) const */ -HB_FUNC( QT_QITEMEDITORFACTORY_CREATEEDITOR ) -{ - QItemEditorFactory * p = hbqt_par_QItemEditorFactory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->createEditor( ( QVariant::Type ) hb_parni( 2 ), hbqt_par_QWidget( 3 ) ), false ) ); -} - -/* void registerEditor ( QVariant::Type type, QItemEditorCreatorBase * creator ) */ -HB_FUNC( QT_QITEMEDITORFACTORY_REGISTEREDITOR ) -{ - QItemEditorFactory * p = hbqt_par_QItemEditorFactory( 1 ); - if( p ) - ( p )->registerEditor( ( QVariant::Type ) hb_parni( 2 ), hbqt_par_QItemEditorCreatorBase( 3 ) ); -} - -/* virtual QByteArray valuePropertyName ( QVariant::Type type ) const */ -HB_FUNC( QT_QITEMEDITORFACTORY_VALUEPROPERTYNAME ) -{ - QItemEditorFactory * p = hbqt_par_QItemEditorFactory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->valuePropertyName( ( QVariant::Type ) hb_parni( 2 ) ) ), true ) ); -} - -/* void setDefaultFactory ( QItemEditorFactory * factory ) */ -HB_FUNC( QT_QITEMEDITORFACTORY_SETDEFAULTFACTORY ) -{ - QItemEditorFactory * p = hbqt_par_QItemEditorFactory( 1 ); - if( p ) - ( p )->setDefaultFactory( hbqt_par_QItemEditorFactory( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp b/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp deleted file mode 100644 index f02f2b3833..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QItemSelection.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QModelIndexList indexes () const - * // void split ( const QItemSelectionRange & range, const QItemSelectionRange & other, QItemSelection * result ) - */ - -#include - -#include - - -/* QItemSelection () - * QItemSelection ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - */ - -typedef struct -{ - QItemSelection * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QItemSelection; - -HBQT_GC_FUNC( hbqt_gcRelease_QItemSelection ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QItemSelection * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QItemSelection( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QItemSelection * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QItemSelection; - p->type = HBQT_TYPE_QItemSelection; - - return p; -} - -HB_FUNC( QT_QITEMSELECTION ) -{ - QItemSelection * pObj = NULL; - - pObj = new QItemSelection() ; - - hb_retptrGC( hbqt_gcAllocate_QItemSelection( ( void * ) pObj, true ) ); -} - -/* bool contains ( const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMSELECTION_CONTAINS ) -{ - QItemSelection * p = hbqt_par_QItemSelection( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* void merge ( const QItemSelection & other, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QITEMSELECTION_MERGE ) -{ - QItemSelection * p = hbqt_par_QItemSelection( 1 ); - if( p ) - ( p )->merge( *hbqt_par_QItemSelection( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* void select ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) */ -HB_FUNC( QT_QITEMSELECTION_SELECT ) -{ - QItemSelection * p = hbqt_par_QItemSelection( 1 ); - if( p ) - ( p )->select( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QModelIndex( 3 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp b/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp deleted file mode 100644 index ab5c07bb70..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QItemSelectionModel.cpp +++ /dev/null @@ -1,222 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum SelectionFlag { NoUpdate, Clear, Select, Deselect, ..., ClearAndSelect } - * flags SelectionFlags - */ - -/* - * Constructed[ 15/15 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QModelIndexList selectedColumns ( int row = 0 ) const - * // QModelIndexList selectedIndexes () const - * // QModelIndexList selectedRows ( int column = 0 ) const - */ - -#include - -#include - - -/* QItemSelectionModel ( QAbstractItemModel * model ) - * QItemSelectionModel ( QAbstractItemModel * model, QObject * parent ) - * virtual ~QItemSelectionModel () - */ - -typedef struct -{ - QPointer< QItemSelectionModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QItemSelectionModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QItemSelectionModel ) -{ - HBQT_GC_T_QItemSelectionModel * p = ( HBQT_GC_T_QItemSelectionModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QItemSelectionModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QItemSelectionModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QItemSelectionModel * p = ( HBQT_GC_T_QItemSelectionModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QItemSelectionModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QItemSelectionModel >( ( QItemSelectionModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QItemSelectionModel; - p->type = HBQT_TYPE_QItemSelectionModel; - - return p; -} - -HB_FUNC( QT_QITEMSELECTIONMODEL ) -{ - QItemSelectionModel * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QItemSelectionModel( hbqt_par_QAbstractItemModel( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QItemSelectionModel( ( void * ) pObj, true ) ); -} - -/* bool columnIntersectsSelection ( int column, const QModelIndex & parent ) const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_COLUMNINTERSECTSSELECTION ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retl( ( p )->columnIntersectsSelection( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* QModelIndex currentIndex () const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_CURRENTINDEX ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->currentIndex() ), true ) ); -} - -/* bool hasSelection () const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_HASSELECTION ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retl( ( p )->hasSelection() ); -} - -/* bool isColumnSelected ( int column, const QModelIndex & parent ) const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_ISCOLUMNSELECTED ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retl( ( p )->isColumnSelected( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* bool isRowSelected ( int row, const QModelIndex & parent ) const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_ISROWSELECTED ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retl( ( p )->isRowSelected( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* bool isSelected ( const QModelIndex & index ) const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_ISSELECTED ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retl( ( p )->isSelected( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* const QAbstractItemModel * model () const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_MODEL ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractItemModel( ( void * ) ( p )->model(), false ) ); -} - -/* bool rowIntersectsSelection ( int row, const QModelIndex & parent ) const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_ROWINTERSECTSSELECTION ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retl( ( p )->rowIntersectsSelection( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* const QItemSelection selection () const */ -HB_FUNC( QT_QITEMSELECTIONMODEL_SELECTION ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QItemSelection( new QItemSelection( ( p )->selection() ), true ) ); -} - -/* virtual void clear () */ -HB_FUNC( QT_QITEMSELECTIONMODEL_CLEAR ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - ( p )->clear(); -} - -/* void clearSelection () */ -HB_FUNC( QT_QITEMSELECTIONMODEL_CLEARSELECTION ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - ( p )->clearSelection(); -} - -/* virtual void reset () */ -HB_FUNC( QT_QITEMSELECTIONMODEL_RESET ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - ( p )->reset(); -} - -/* virtual void select ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QITEMSELECTIONMODEL_SELECT ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - ( p )->select( *hbqt_par_QModelIndex( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* virtual void select ( const QItemSelection & selection, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QITEMSELECTIONMODEL_SELECT_1 ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - ( p )->select( *hbqt_par_QItemSelection( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* void setCurrentIndex ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QITEMSELECTIONMODEL_SETCURRENTINDEX ) -{ - QItemSelectionModel * p = hbqt_par_QItemSelectionModel( 1 ); - if( p ) - ( p )->setCurrentIndex( *hbqt_par_QModelIndex( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp deleted file mode 100644 index a8f66a60c2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QKeyEvent.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QKeyEvent ( Type type, int key, Qt::KeyboardModifiers modifiers, const QString & text = QString(), bool autorep = false, ushort count = 1 ) - * ~QKeyEvent () - */ - -typedef struct -{ - QKeyEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QKeyEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QKeyEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QKeyEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QKeyEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QKeyEvent; - p->type = HBQT_TYPE_QKeyEvent; - - return p; -} - -HB_FUNC( QT_QKEYEVENT ) -{ - //__HB_RETPTRGC__( new QKeyEvent( *hbqt_par_QKeyEvent( 1 ) ) ); -} - -/* int count () const */ -HB_FUNC( QT_QKEYEVENT_COUNT ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* bool isAutoRepeat () const */ -HB_FUNC( QT_QKEYEVENT_ISAUTOREPEAT ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retl( ( p )->isAutoRepeat() ); -} - -/* int key () const */ -HB_FUNC( QT_QKEYEVENT_KEY ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retni( ( p )->key() ); -} - -/* bool matches ( QKeySequence::StandardKey key ) const */ -HB_FUNC( QT_QKEYEVENT_MATCHES ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retl( ( p )->matches( ( QKeySequence::StandardKey ) hb_parni( 2 ) ) ); -} - -/* Qt::KeyboardModifiers modifiers () const */ -HB_FUNC( QT_QKEYEVENT_MODIFIERS ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); -} - -/* quint32 nativeModifiers () const */ -HB_FUNC( QT_QKEYEVENT_NATIVEMODIFIERS ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retnl( ( p )->nativeModifiers() ); -} - -/* quint32 nativeScanCode () const */ -HB_FUNC( QT_QKEYEVENT_NATIVESCANCODE ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retnl( ( p )->nativeScanCode() ); -} - -/* quint32 nativeVirtualKey () const */ -HB_FUNC( QT_QKEYEVENT_NATIVEVIRTUALKEY ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retnl( ( p )->nativeVirtualKey() ); -} - -/* QString text () const */ -HB_FUNC( QT_QKEYEVENT_TEXT ) -{ - QKeyEvent * p = hbqt_par_QKeyEvent( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp b/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp deleted file mode 100644 index cebe7a5928..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QKeySequence.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum SequenceFormat { NativeText, PortableText } - * enum SequenceMatch { NoMatch, PartialMatch, ExactMatch } - * enum StandardKey { AddTab, Back, Bold, Close, ..., ZoomOut } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QKeySequence () - * QKeySequence ( const QString & key ) - * QKeySequence ( int k1, int k2 = 0, int k3 = 0, int k4 = 0 ) - * QKeySequence ( const QKeySequence & keysequence ) - * QKeySequence ( StandardKey key ) - * ~QKeySequence () - */ - -typedef struct -{ - QKeySequence * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QKeySequence; - -HBQT_GC_FUNC( hbqt_gcRelease_QKeySequence ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QKeySequence * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QKeySequence( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QKeySequence * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QKeySequence; - p->type = HBQT_TYPE_QKeySequence; - - return p; -} - -HB_FUNC( QT_QKEYSEQUENCE ) -{ - QKeySequence * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - pObj = new QKeySequence( *hbqt_par_QKeySequence( 1 ) ) ; - else if( HB_ISCHAR( 1 ) ) - pObj = new QKeySequence( hbqt_par_QString( 1 ) ) ; - else if( HB_ISNUM( 1 ) ) - pObj = new QKeySequence( hb_parni( 1 ) ) ; - else - pObj = new QKeySequence() ; - - hb_retptrGC( hbqt_gcAllocate_QKeySequence( ( void * ) pObj, true ) ); -} - -/* uint count () const */ -HB_FUNC( QT_QKEYSEQUENCE_COUNT ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QKEYSEQUENCE_ISEMPTY ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* SequenceMatch matches ( const QKeySequence & seq ) const */ -HB_FUNC( QT_QKEYSEQUENCE_MATCHES ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - hb_retni( ( QKeySequence::SequenceMatch ) ( p )->matches( *hbqt_par_QKeySequence( 2 ) ) ); -} - -/* QString toString ( SequenceFormat format = PortableText ) const */ -HB_FUNC( QT_QKEYSEQUENCE_TOSTRING ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString( ( HB_ISNUM( 2 ) ? ( QKeySequence::SequenceFormat ) hb_parni( 2 ) : ( QKeySequence::SequenceFormat ) QKeySequence::PortableText ) ).toUtf8().data() ); -} - -/* QKeySequence fromString ( const QString & str, SequenceFormat format = PortableText ) */ -HB_FUNC( QT_QKEYSEQUENCE_FROMSTRING ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QKeySequence( new QKeySequence( ( p )->fromString( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( QKeySequence::SequenceFormat ) hb_parni( 3 ) : ( QKeySequence::SequenceFormat ) QKeySequence::PortableText ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QList keyBindings ( StandardKey key ) */ -HB_FUNC( QT_QKEYSEQUENCE_KEYBINDINGS ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->keyBindings( ( QKeySequence::StandardKey ) hb_parni( 2 ) ) ), true ) ); -} - -/* QKeySequence mnemonic ( const QString & text ) */ -HB_FUNC( QT_QKEYSEQUENCE_MNEMONIC ) -{ - QKeySequence * p = hbqt_par_QKeySequence( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QKeySequence( new QKeySequence( ( p )->mnemonic( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp b/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp deleted file mode 100644 index 1b13da257b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QLCDNumber.cpp +++ /dev/null @@ -1,250 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Mode { Hex, Dec, Oct, Bin } - * enum SegmentStyle { Outline, Filled, Flat } - */ - -/* - * Constructed[ 19/19 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLCDNumber ( QWidget * parent = 0 ) - * QLCDNumber ( uint numDigits, QWidget * parent = 0 ) - * ~QLCDNumber () - */ - -typedef struct -{ - QPointer< QLCDNumber > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLCDNumber; - -HBQT_GC_FUNC( hbqt_gcRelease_QLCDNumber ) -{ - HBQT_GC_T_QLCDNumber * p = ( HBQT_GC_T_QLCDNumber * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QLCDNumber * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLCDNumber( void * pObj, bool bNew ) -{ - HBQT_GC_T_QLCDNumber * p = ( HBQT_GC_T_QLCDNumber * ) hb_gcAllocate( sizeof( HBQT_GC_T_QLCDNumber ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QLCDNumber >( ( QLCDNumber * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QLCDNumber; - p->type = HBQT_TYPE_QLCDNumber; - - return p; -} - -HB_FUNC( QT_QLCDNUMBER ) -{ - QLCDNumber * pObj = NULL; - - pObj = new QLCDNumber( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QLCDNumber( ( void * ) pObj, true ) ); -} - -/* bool checkOverflow ( double num ) const */ -HB_FUNC( QT_QLCDNUMBER_CHECKOVERFLOW ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retl( ( p )->checkOverflow( hb_parnd( 2 ) ) ); -} - -/* bool checkOverflow ( int num ) const */ -HB_FUNC( QT_QLCDNUMBER_CHECKOVERFLOW_1 ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retl( ( p )->checkOverflow( hb_parni( 2 ) ) ); -} - -/* int intValue () const */ -HB_FUNC( QT_QLCDNUMBER_INTVALUE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retni( ( p )->intValue() ); -} - -/* Mode mode () const */ -HB_FUNC( QT_QLCDNUMBER_MODE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retni( ( QLCDNumber::Mode ) ( p )->mode() ); -} - -/* int numDigits () const */ -HB_FUNC( QT_QLCDNUMBER_NUMDIGITS ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retni( ( p )->numDigits() ); -} - -/* SegmentStyle segmentStyle () const */ -HB_FUNC( QT_QLCDNUMBER_SEGMENTSTYLE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retni( ( QLCDNumber::SegmentStyle ) ( p )->segmentStyle() ); -} - -/* void setMode ( Mode ) */ -HB_FUNC( QT_QLCDNUMBER_SETMODE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setMode( ( QLCDNumber::Mode ) hb_parni( 2 ) ); -} - -/* void setNumDigits ( int nDigits ) */ -HB_FUNC( QT_QLCDNUMBER_SETNUMDIGITS ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setNumDigits( hb_parni( 2 ) ); -} - -/* void setSegmentStyle ( SegmentStyle ) */ -HB_FUNC( QT_QLCDNUMBER_SETSEGMENTSTYLE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setSegmentStyle( ( QLCDNumber::SegmentStyle ) hb_parni( 2 ) ); -} - -/* bool smallDecimalPoint () const */ -HB_FUNC( QT_QLCDNUMBER_SMALLDECIMALPOINT ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retl( ( p )->smallDecimalPoint() ); -} - -/* double value () const */ -HB_FUNC( QT_QLCDNUMBER_VALUE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - hb_retnd( ( p )->value() ); -} - -/* void display ( const QString & s ) */ -HB_FUNC( QT_QLCDNUMBER_DISPLAY ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - { - void * pText; - ( p )->display( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void display ( double num ) */ -HB_FUNC( QT_QLCDNUMBER_DISPLAY_1 ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->display( hb_parnd( 2 ) ); -} - -/* void display ( int num ) */ -HB_FUNC( QT_QLCDNUMBER_DISPLAY_2 ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->display( hb_parni( 2 ) ); -} - -/* void setBinMode () */ -HB_FUNC( QT_QLCDNUMBER_SETBINMODE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setBinMode(); -} - -/* void setDecMode () */ -HB_FUNC( QT_QLCDNUMBER_SETDECMODE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setDecMode(); -} - -/* void setHexMode () */ -HB_FUNC( QT_QLCDNUMBER_SETHEXMODE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setHexMode(); -} - -/* void setOctMode () */ -HB_FUNC( QT_QLCDNUMBER_SETOCTMODE ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setOctMode(); -} - -/* void setSmallDecimalPoint ( bool ) */ -HB_FUNC( QT_QLCDNUMBER_SETSMALLDECIMALPOINT ) -{ - QLCDNumber * p = hbqt_par_QLCDNumber( 1 ); - if( p ) - ( p )->setSmallDecimalPoint( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QLabel.cpp b/harbour/contrib/hbqt/qtgui/g/QLabel.cpp deleted file mode 100644 index ddf4f391e0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QLabel.cpp +++ /dev/null @@ -1,326 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QLabel ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * QLabel ( const QString & text, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QLabel () - */ - -typedef struct -{ - QPointer< QLabel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLabel; - -HBQT_GC_FUNC( hbqt_gcRelease_QLabel ) -{ - HBQT_GC_T_QLabel * p = ( HBQT_GC_T_QLabel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QLabel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLabel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QLabel * p = ( HBQT_GC_T_QLabel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QLabel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QLabel >( ( QLabel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QLabel; - p->type = HBQT_TYPE_QLabel; - - return p; -} - -HB_FUNC( QT_QLABEL ) -{ - QLabel * pObj = NULL; - - pObj = new QLabel( hbqt_par_QWidget( 1 ), HB_ISNUM( 2 ) ? ( Qt::WindowFlags ) hb_parni( 2 ) : ( Qt::WindowFlags ) 0 ) ; - - hb_retptrGC( hbqt_gcAllocate_QLabel( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QLABEL_ALIGNMENT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* QWidget * buddy () const */ -HB_FUNC( QT_QLABEL_BUDDY ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->buddy(), false ) ); -} - -/* bool hasScaledContents () const */ -HB_FUNC( QT_QLABEL_HASSCALEDCONTENTS ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retl( ( p )->hasScaledContents() ); -} - -/* int indent () const */ -HB_FUNC( QT_QLABEL_INDENT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retni( ( p )->indent() ); -} - -/* int margin () const */ -HB_FUNC( QT_QLABEL_MARGIN ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retni( ( p )->margin() ); -} - -/* QMovie * movie () const */ -HB_FUNC( QT_QLABEL_MOVIE ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMovie( ( p )->movie(), false ) ); -} - -/* bool openExternalLinks () const */ -HB_FUNC( QT_QLABEL_OPENEXTERNALLINKS ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retl( ( p )->openExternalLinks() ); -} - -/* const QPicture * picture () const */ -HB_FUNC( QT_QLABEL_PICTURE ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPicture( new QPicture( *( ( p )->picture() ) ), true ) ); -} - -/* const QPixmap * pixmap () const */ -HB_FUNC( QT_QLABEL_PIXMAP ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( *( ( p )->pixmap() ) ), true ) ); -} - -/* void setAlignment ( Qt::Alignment ) */ -HB_FUNC( QT_QLABEL_SETALIGNMENT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setBuddy ( QWidget * buddy ) */ -HB_FUNC( QT_QLABEL_SETBUDDY ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setBuddy( hbqt_par_QWidget( 2 ) ); -} - -/* void setIndent ( int ) */ -HB_FUNC( QT_QLABEL_SETINDENT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setIndent( hb_parni( 2 ) ); -} - -/* void setMargin ( int ) */ -HB_FUNC( QT_QLABEL_SETMARGIN ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setMargin( hb_parni( 2 ) ); -} - -/* void setOpenExternalLinks ( bool open ) */ -HB_FUNC( QT_QLABEL_SETOPENEXTERNALLINKS ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setOpenExternalLinks( hb_parl( 2 ) ); -} - -/* void setScaledContents ( bool ) */ -HB_FUNC( QT_QLABEL_SETSCALEDCONTENTS ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setScaledContents( hb_parl( 2 ) ); -} - -/* void setTextFormat ( Qt::TextFormat ) */ -HB_FUNC( QT_QLABEL_SETTEXTFORMAT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setTextFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) */ -HB_FUNC( QT_QLABEL_SETTEXTINTERACTIONFLAGS ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); -} - -/* void setWordWrap ( bool on ) */ -HB_FUNC( QT_QLABEL_SETWORDWRAP ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setWordWrap( hb_parl( 2 ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QLABEL_TEXT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* Qt::TextFormat textFormat () const */ -HB_FUNC( QT_QLABEL_TEXTFORMAT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retni( ( Qt::TextFormat ) ( p )->textFormat() ); -} - -/* Qt::TextInteractionFlags textInteractionFlags () const */ -HB_FUNC( QT_QLABEL_TEXTINTERACTIONFLAGS ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retni( ( Qt::TextInteractionFlags ) ( p )->textInteractionFlags() ); -} - -/* bool wordWrap () const */ -HB_FUNC( QT_QLABEL_WORDWRAP ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - hb_retl( ( p )->wordWrap() ); -} - -/* void clear () */ -HB_FUNC( QT_QLABEL_CLEAR ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->clear(); -} - -/* void setMovie ( QMovie * movie ) */ -HB_FUNC( QT_QLABEL_SETMOVIE ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setMovie( hbqt_par_QMovie( 2 ) ); -} - -/* void setNum ( int num ) */ -HB_FUNC( QT_QLABEL_SETNUM ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setNum( hb_parni( 2 ) ); -} - -/* void setNum ( double num ) */ -HB_FUNC( QT_QLABEL_SETNUM_1 ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setNum( hb_parnd( 2 ) ); -} - -/* void setPicture ( const QPicture & picture ) */ -HB_FUNC( QT_QLABEL_SETPICTURE ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setPicture( *hbqt_par_QPicture( 2 ) ); -} - -/* void setPixmap ( const QPixmap & ) */ -HB_FUNC( QT_QLABEL_SETPIXMAP ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - ( p )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* void setText ( const QString & ) */ -HB_FUNC( QT_QLABEL_SETTEXT ) -{ - QLabel * p = hbqt_par_QLabel( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QLayout.cpp deleted file mode 100644 index 20e16b20be..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QLayout.cpp +++ /dev/null @@ -1,327 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum SizeConstraint { SetDefaultConstraint, SetFixedSize, SetMinimumSize, SetMaximumSize, SetMinAndMaxSize, SetNoConstraint } - */ - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLayout ( QWidget * parent ) - * QLayout () - */ - -typedef struct -{ - QPointer< QLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QLayout ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QLayout * p = ( HBQT_GC_T_QLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QLayout >( ( QLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QLayout; - p->type = HBQT_TYPE_QLayout; - - return p; -} - -HB_FUNC( QT_QLAYOUT ) -{ - -} - -/* bool activate () */ -HB_FUNC( QT_QLAYOUT_ACTIVATE ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retl( ( p )->activate() ); -} - -/* virtual void addItem ( QLayoutItem * item ) [*D=1*] */ -HB_FUNC( QT_QLAYOUT_ADDITEM ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addItem( hbqt_par_QLayoutItem( 2 ) ); - } -} - -/* void addWidget ( QWidget * w ) [*D=1*] */ -HB_FUNC( QT_QLAYOUT_ADDWIDGET ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addWidget( hbqt_par_QWidget( 2 ) ); - } -} - -/* QRect contentsRect () const */ -HB_FUNC( QT_QLAYOUT_CONTENTSRECT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->contentsRect() ), true ) ); -} - -/* virtual int count () const = 0 */ -HB_FUNC( QT_QLAYOUT_COUNT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* virtual Qt::Orientations expandingDirections () const */ -HB_FUNC( QT_QLAYOUT_EXPANDINGDIRECTIONS ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retni( ( Qt::Orientations ) ( p )->expandingDirections() ); -} - -/* void getContentsMargins ( int * left, int * top, int * right, int * bottom ) const */ -HB_FUNC( QT_QLAYOUT_GETCONTENTSMARGINS ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - int iLeft = 0; - int iTop = 0; - int iRight = 0; - int iBottom = 0; - - if( p ) - ( p )->getContentsMargins( &iLeft, &iTop, &iRight, &iBottom ); - - hb_storni( iLeft, 2 ); - hb_storni( iTop, 3 ); - hb_storni( iRight, 4 ); - hb_storni( iBottom, 5 ); -} - -/* virtual int indexOf ( QWidget * widget ) const */ -HB_FUNC( QT_QLAYOUT_INDEXOF ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retni( ( p )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* bool isEnabled () const */ -HB_FUNC( QT_QLAYOUT_ISENABLED ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retl( ( p )->isEnabled() ); -} - -/* virtual QLayoutItem * itemAt ( int index ) const = 0 */ -HB_FUNC( QT_QLAYOUT_ITEMAT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) ); -} - -/* virtual QSize maximumSize () const */ -HB_FUNC( QT_QLAYOUT_MAXIMUMSIZE ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->maximumSize() ), true ) ); -} - -/* QWidget * menuBar () const */ -HB_FUNC( QT_QLAYOUT_MENUBAR ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->menuBar(), false ) ); -} - -/* virtual QSize minimumSize () const */ -HB_FUNC( QT_QLAYOUT_MINIMUMSIZE ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->minimumSize() ), true ) ); -} - -/* QWidget * parentWidget () const */ -HB_FUNC( QT_QLAYOUT_PARENTWIDGET ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->parentWidget(), false ) ); -} - -/* void removeItem ( QLayoutItem * item ) */ -HB_FUNC( QT_QLAYOUT_REMOVEITEM ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->removeItem( hbqt_par_QLayoutItem( 2 ) ); -} - -/* void removeWidget ( QWidget * widget ) */ -HB_FUNC( QT_QLAYOUT_REMOVEWIDGET ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->removeWidget( hbqt_par_QWidget( 2 ) ); -} - -/* bool setAlignment ( QWidget * w, Qt::Alignment alignment ) */ -HB_FUNC( QT_QLAYOUT_SETALIGNMENT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retl( ( p )->setAlignment( hbqt_par_QWidget( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ) ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QLAYOUT_SETALIGNMENT_1 ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* bool setAlignment ( QLayout * l, Qt::Alignment alignment ) */ -HB_FUNC( QT_QLAYOUT_SETALIGNMENT_2 ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retl( ( p )->setAlignment( hbqt_par_QLayout( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ) ); -} - -/* void setContentsMargins ( int left, int top, int right, int bottom ) */ -HB_FUNC( QT_QLAYOUT_SETCONTENTSMARGINS ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->setContentsMargins( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setEnabled ( bool enable ) */ -HB_FUNC( QT_QLAYOUT_SETENABLED ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->setEnabled( hb_parl( 2 ) ); -} - -/* void setMenuBar ( QWidget * widget ) */ -HB_FUNC( QT_QLAYOUT_SETMENUBAR ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->setMenuBar( hbqt_par_QWidget( 2 ) ); -} - -/* void setSizeConstraint ( SizeConstraint ) */ -HB_FUNC( QT_QLAYOUT_SETSIZECONSTRAINT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->setSizeConstraint( ( QLayout::SizeConstraint ) hb_parni( 2 ) ); -} - -/* void setSpacing ( int ) */ -HB_FUNC( QT_QLAYOUT_SETSPACING ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->setSpacing( hb_parni( 2 ) ); -} - -/* SizeConstraint sizeConstraint () const */ -HB_FUNC( QT_QLAYOUT_SIZECONSTRAINT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retni( ( QLayout::SizeConstraint ) ( p )->sizeConstraint() ); -} - -/* int spacing () const */ -HB_FUNC( QT_QLAYOUT_SPACING ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retni( ( p )->spacing() ); -} - -/* virtual QLayoutItem * takeAt ( int index ) = 0 */ -HB_FUNC( QT_QLAYOUT_TAKEAT ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLayoutItem( ( p )->takeAt( hb_parni( 2 ) ), false ) ); -} - -/* void update () */ -HB_FUNC( QT_QLAYOUT_UPDATE ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - ( p )->update(); -} - -/* QSize closestAcceptableSize ( const QWidget * widget, const QSize & size ) */ -HB_FUNC( QT_QLAYOUT_CLOSESTACCEPTABLESIZE ) -{ - QLayout * p = hbqt_par_QLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->closestAcceptableSize( hbqt_par_QWidget( 2 ), *hbqt_par_QSize( 3 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp b/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp deleted file mode 100644 index df2d2bff7c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QLayoutItem.cpp +++ /dev/null @@ -1,211 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 17/17 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLayoutItem ( Qt::Alignment alignment = 0 ) - * virtual ~QLayoutItem () - */ - -typedef struct -{ - QLayoutItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLayoutItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QLayoutItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QLayoutItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLayoutItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLayoutItem; - p->type = HBQT_TYPE_QLayoutItem; - - return p; -} - -HB_FUNC( QT_QLAYOUTITEM ) -{ - -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QLAYOUTITEM_ALIGNMENT ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* QSizePolicy::ControlTypes controlTypes () const */ -HB_FUNC( QT_QLAYOUTITEM_CONTROLTYPES ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retni( ( QSizePolicy::ControlTypes ) ( p )->controlTypes() ); -} - -/* virtual Qt::Orientations expandingDirections () const = 0 */ -HB_FUNC( QT_QLAYOUTITEM_EXPANDINGDIRECTIONS ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retni( ( Qt::Orientations ) ( p )->expandingDirections() ); -} - -/* virtual QRect geometry () const = 0 */ -HB_FUNC( QT_QLAYOUTITEM_GEOMETRY ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->geometry() ), true ) ); -} - -/* virtual bool hasHeightForWidth () const */ -HB_FUNC( QT_QLAYOUTITEM_HASHEIGHTFORWIDTH ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retl( ( p )->hasHeightForWidth() ); -} - -/* virtual int heightForWidth ( int w ) const */ -HB_FUNC( QT_QLAYOUTITEM_HEIGHTFORWIDTH ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retni( ( p )->heightForWidth( hb_parni( 2 ) ) ); -} - -/* virtual void invalidate () */ -HB_FUNC( QT_QLAYOUTITEM_INVALIDATE ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - ( p )->invalidate(); -} - -/* virtual bool isEmpty () const = 0 */ -HB_FUNC( QT_QLAYOUTITEM_ISEMPTY ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* virtual QLayout * layout () */ -HB_FUNC( QT_QLAYOUTITEM_LAYOUT ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLayout( ( p )->layout(), false ) ); -} - -/* virtual QSize maximumSize () const = 0 */ -HB_FUNC( QT_QLAYOUTITEM_MAXIMUMSIZE ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->maximumSize() ), true ) ); -} - -/* virtual int minimumHeightForWidth ( int w ) const */ -HB_FUNC( QT_QLAYOUTITEM_MINIMUMHEIGHTFORWIDTH ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retni( ( p )->minimumHeightForWidth( hb_parni( 2 ) ) ); -} - -/* virtual QSize minimumSize () const = 0 */ -HB_FUNC( QT_QLAYOUTITEM_MINIMUMSIZE ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->minimumSize() ), true ) ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QLAYOUTITEM_SETALIGNMENT ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* virtual void setGeometry ( const QRect & r ) = 0 */ -HB_FUNC( QT_QLAYOUTITEM_SETGEOMETRY ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRect( 2 ) ); -} - -/* virtual QSize sizeHint () const = 0 */ -HB_FUNC( QT_QLAYOUTITEM_SIZEHINT ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* virtual QSpacerItem * spacerItem () */ -HB_FUNC( QT_QLAYOUTITEM_SPACERITEM ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSpacerItem( ( p )->spacerItem(), false ) ); -} - -/* virtual QWidget * widget () */ -HB_FUNC( QT_QLAYOUTITEM_WIDGET ) -{ - QLayoutItem * p = hbqt_par_QLayoutItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp deleted file mode 100644 index 064ca9e63f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QLineEdit.cpp +++ /dev/null @@ -1,556 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum EchoMode { Normal, NoEcho, Password, PasswordEchoOnEdit } - */ - -/* - * Constructed[ 55/55 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QLineEdit ( QWidget * parent = 0 ) - * QLineEdit ( const QString & contents, QWidget * parent = 0 ) - * ~QLineEdit () - */ - -typedef struct -{ - QPointer< QLineEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLineEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_QLineEdit ) -{ - HBQT_GC_T_QLineEdit * p = ( HBQT_GC_T_QLineEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QLineEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLineEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_QLineEdit * p = ( HBQT_GC_T_QLineEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_QLineEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QLineEdit >( ( QLineEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QLineEdit; - p->type = HBQT_TYPE_QLineEdit; - - return p; -} - -HB_FUNC( QT_QLINEEDIT ) -{ - QLineEdit * pObj = NULL; - - pObj = new QLineEdit( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QLineEdit( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QLINEEDIT_ALIGNMENT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* void backspace () */ -HB_FUNC( QT_QLINEEDIT_BACKSPACE ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->backspace(); -} - -/* QCompleter * completer () const */ -HB_FUNC( QT_QLINEEDIT_COMPLETER ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCompleter( ( p )->completer(), false ) ); -} - -/* QMenu * createStandardContextMenu () */ -HB_FUNC( QT_QLINEEDIT_CREATESTANDARDCONTEXTMENU ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu(), false ) ); -} - -/* void cursorBackward ( bool mark, int steps = 1 ) */ -HB_FUNC( QT_QLINEEDIT_CURSORBACKWARD ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->cursorBackward( hb_parl( 2 ), hb_parnidef( 3, 1 ) ); -} - -/* void cursorForward ( bool mark, int steps = 1 ) */ -HB_FUNC( QT_QLINEEDIT_CURSORFORWARD ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->cursorForward( hb_parl( 2 ), hb_parnidef( 3, 1 ) ); -} - -/* int cursorPosition () const */ -HB_FUNC( QT_QLINEEDIT_CURSORPOSITION ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retni( ( p )->cursorPosition() ); -} - -/* int cursorPositionAt ( const QPoint & pos ) */ -HB_FUNC( QT_QLINEEDIT_CURSORPOSITIONAT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retni( ( p )->cursorPositionAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* void cursorWordBackward ( bool mark ) */ -HB_FUNC( QT_QLINEEDIT_CURSORWORDBACKWARD ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->cursorWordBackward( hb_parl( 2 ) ); -} - -/* void cursorWordForward ( bool mark ) */ -HB_FUNC( QT_QLINEEDIT_CURSORWORDFORWARD ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->cursorWordForward( hb_parl( 2 ) ); -} - -/* void del () */ -HB_FUNC( QT_QLINEEDIT_DEL ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->del(); -} - -/* void deselect () */ -HB_FUNC( QT_QLINEEDIT_DESELECT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->deselect(); -} - -/* QString displayText () const */ -HB_FUNC( QT_QLINEEDIT_DISPLAYTEXT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->displayText().toUtf8().data() ); -} - -/* bool dragEnabled () const */ -HB_FUNC( QT_QLINEEDIT_DRAGENABLED ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->dragEnabled() ); -} - -/* EchoMode echoMode () const */ -HB_FUNC( QT_QLINEEDIT_ECHOMODE ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retni( ( QLineEdit::EchoMode ) ( p )->echoMode() ); -} - -/* void end ( bool mark ) */ -HB_FUNC( QT_QLINEEDIT_END ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->end( hb_parl( 2 ) ); -} - -/* void getTextMargins ( int * left, int * top, int * right, int * bottom ) const */ -HB_FUNC( QT_QLINEEDIT_GETTEXTMARGINS ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - int iLeft = 0; - int iTop = 0; - int iRight = 0; - int iBottom = 0; - - if( p ) - ( p )->getTextMargins( &iLeft, &iTop, &iRight, &iBottom ); - - hb_storni( iLeft, 2 ); - hb_storni( iTop, 3 ); - hb_storni( iRight, 4 ); - hb_storni( iBottom, 5 ); -} - -/* bool hasAcceptableInput () const */ -HB_FUNC( QT_QLINEEDIT_HASACCEPTABLEINPUT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->hasAcceptableInput() ); -} - -/* bool hasFrame () const */ -HB_FUNC( QT_QLINEEDIT_HASFRAME ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->hasFrame() ); -} - -/* bool hasSelectedText () const */ -HB_FUNC( QT_QLINEEDIT_HASSELECTEDTEXT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->hasSelectedText() ); -} - -/* void home ( bool mark ) */ -HB_FUNC( QT_QLINEEDIT_HOME ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->home( hb_parl( 2 ) ); -} - -/* QString inputMask () const */ -HB_FUNC( QT_QLINEEDIT_INPUTMASK ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->inputMask().toUtf8().data() ); -} - -/* void insert ( const QString & newText ) */ -HB_FUNC( QT_QLINEEDIT_INSERT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - { - void * pText; - ( p )->insert( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* bool isModified () const */ -HB_FUNC( QT_QLINEEDIT_ISMODIFIED ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->isModified() ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QLINEEDIT_ISREADONLY ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* bool isRedoAvailable () const */ -HB_FUNC( QT_QLINEEDIT_ISREDOAVAILABLE ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->isRedoAvailable() ); -} - -/* bool isUndoAvailable () const */ -HB_FUNC( QT_QLINEEDIT_ISUNDOAVAILABLE ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retl( ( p )->isUndoAvailable() ); -} - -/* int maxLength () const */ -HB_FUNC( QT_QLINEEDIT_MAXLENGTH ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retni( ( p )->maxLength() ); -} - -/* virtual QSize minimumSizeHint () const */ -HB_FUNC( QT_QLINEEDIT_MINIMUMSIZEHINT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->minimumSizeHint() ), true ) ); -} - -/* QString selectedText () const */ -HB_FUNC( QT_QLINEEDIT_SELECTEDTEXT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->selectedText().toUtf8().data() ); -} - -/* int selectionStart () const */ -HB_FUNC( QT_QLINEEDIT_SELECTIONSTART ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retni( ( p )->selectionStart() ); -} - -/* void setAlignment ( Qt::Alignment flag ) */ -HB_FUNC( QT_QLINEEDIT_SETALIGNMENT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setCompleter ( QCompleter * c ) */ -HB_FUNC( QT_QLINEEDIT_SETCOMPLETER ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setCompleter( hbqt_par_QCompleter( 2 ) ); -} - -/* void setCursorPosition ( int ) */ -HB_FUNC( QT_QLINEEDIT_SETCURSORPOSITION ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setCursorPosition( hb_parni( 2 ) ); -} - -/* void setDragEnabled ( bool b ) */ -HB_FUNC( QT_QLINEEDIT_SETDRAGENABLED ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setDragEnabled( hb_parl( 2 ) ); -} - -/* void setEchoMode ( EchoMode ) */ -HB_FUNC( QT_QLINEEDIT_SETECHOMODE ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setEchoMode( ( QLineEdit::EchoMode ) hb_parni( 2 ) ); -} - -/* void setFrame ( bool ) */ -HB_FUNC( QT_QLINEEDIT_SETFRAME ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setFrame( hb_parl( 2 ) ); -} - -/* void setInputMask ( const QString & inputMask ) */ -HB_FUNC( QT_QLINEEDIT_SETINPUTMASK ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setInputMask( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setMaxLength ( int ) */ -HB_FUNC( QT_QLINEEDIT_SETMAXLENGTH ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setMaxLength( hb_parni( 2 ) ); -} - -/* void setModified ( bool ) */ -HB_FUNC( QT_QLINEEDIT_SETMODIFIED ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setModified( hb_parl( 2 ) ); -} - -/* void setReadOnly ( bool ) */ -HB_FUNC( QT_QLINEEDIT_SETREADONLY ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setSelection ( int start, int length ) */ -HB_FUNC( QT_QLINEEDIT_SETSELECTION ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setSelection( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setTextMargins ( int left, int top, int right, int bottom ) */ -HB_FUNC( QT_QLINEEDIT_SETTEXTMARGINS ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setTextMargins( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setValidator ( const QValidator * v ) */ -HB_FUNC( QT_QLINEEDIT_SETVALIDATOR ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->setValidator( hbqt_par_QValidator( 2 ) ); -} - -/* virtual QSize sizeHint () const */ -HB_FUNC( QT_QLINEEDIT_SIZEHINT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QLINEEDIT_TEXT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* virtual const QValidator * validator () const */ -HB_FUNC( QT_QLINEEDIT_VALIDATOR ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QValidator( ( void * ) ( p )->validator(), false ) ); -} - -/* void clear () */ -HB_FUNC( QT_QLINEEDIT_CLEAR ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->clear(); -} - -/* void copy () const */ -HB_FUNC( QT_QLINEEDIT_COPY ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->copy(); -} - -/* void cut () */ -HB_FUNC( QT_QLINEEDIT_CUT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->cut(); -} - -/* void paste () */ -HB_FUNC( QT_QLINEEDIT_PASTE ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->paste(); -} - -/* void redo () */ -HB_FUNC( QT_QLINEEDIT_REDO ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->redo(); -} - -/* void selectAll () */ -HB_FUNC( QT_QLINEEDIT_SELECTALL ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->selectAll(); -} - -/* void setText ( const QString & ) */ -HB_FUNC( QT_QLINEEDIT_SETTEXT ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void undo () */ -HB_FUNC( QT_QLINEEDIT_UNDO ) -{ - QLineEdit * p = hbqt_par_QLineEdit( 1 ); - if( p ) - ( p )->undo(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp deleted file mode 100644 index a00cee1a7d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QLinearGradient.cpp +++ /dev/null @@ -1,153 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QLinearGradient () - * QLinearGradient ( const QPointF & start, const QPointF & finalStop ) - * QLinearGradient ( qreal x1, qreal y1, qreal x2, qreal y2 ) - */ - -typedef struct -{ - QLinearGradient * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QLinearGradient; - -HBQT_GC_FUNC( hbqt_gcRelease_QLinearGradient ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QLinearGradient * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QLinearGradient( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QLinearGradient * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QLinearGradient; - p->type = HBQT_TYPE_QLinearGradient; - - return p; -} - -HB_FUNC( QT_QLINEARGRADIENT ) -{ - QLinearGradient * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QLinearGradient( *hbqt_par_QLinearGradient( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QLinearGradient( *hbqt_par_QPointF( 1 ), *hbqt_par_QPointF( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QLinearGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ; - } - else - { - pObj = new QLinearGradient() ; - } - - hb_retptrGC( hbqt_gcAllocate_QLinearGradient( ( void * ) pObj, true ) ); -} - -/* QPointF finalStop () const */ -HB_FUNC( QT_QLINEARGRADIENT_FINALSTOP ) -{ - QLinearGradient * p = hbqt_par_QLinearGradient( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->finalStop() ), true ) ); -} - -/* void setFinalStop ( const QPointF & stop ) */ -HB_FUNC( QT_QLINEARGRADIENT_SETFINALSTOP ) -{ - QLinearGradient * p = hbqt_par_QLinearGradient( 1 ); - if( p ) - ( p )->setFinalStop( *hbqt_par_QPointF( 2 ) ); -} - -/* void setFinalStop ( qreal x, qreal y ) */ -HB_FUNC( QT_QLINEARGRADIENT_SETFINALSTOP_1 ) -{ - QLinearGradient * p = hbqt_par_QLinearGradient( 1 ); - if( p ) - ( p )->setFinalStop( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setStart ( const QPointF & start ) */ -HB_FUNC( QT_QLINEARGRADIENT_SETSTART ) -{ - QLinearGradient * p = hbqt_par_QLinearGradient( 1 ); - if( p ) - ( p )->setStart( *hbqt_par_QPointF( 2 ) ); -} - -/* void setStart ( qreal x, qreal y ) */ -HB_FUNC( QT_QLINEARGRADIENT_SETSTART_1 ) -{ - QLinearGradient * p = hbqt_par_QLinearGradient( 1 ); - if( p ) - ( p )->setStart( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QPointF start () const */ -HB_FUNC( QT_QLINEARGRADIENT_START ) -{ - QLinearGradient * p = hbqt_par_QLinearGradient( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->start() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QListView.cpp b/harbour/contrib/hbqt/qtgui/g/QListView.cpp deleted file mode 100644 index a3eec8702e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QListView.cpp +++ /dev/null @@ -1,328 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Flow { LeftToRight, TopToBottom } - * enum LayoutMode { SinglePass, Batched } - * enum Movement { Static, Free, Snap } - * enum ResizeMode { Fixed, Adjust } - * enum ViewMode { ListMode, IconMode } - */ - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QListView ( QWidget * parent = 0 ) - * ~QListView () - */ - -typedef struct -{ - QPointer< QListView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QListView; - -HBQT_GC_FUNC( hbqt_gcRelease_QListView ) -{ - HBQT_GC_T_QListView * p = ( HBQT_GC_T_QListView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QListView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QListView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QListView * p = ( HBQT_GC_T_QListView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QListView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QListView >( ( QListView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QListView; - p->type = HBQT_TYPE_QListView; - - return p; -} - -HB_FUNC( QT_QLISTVIEW ) -{ - QListView * pObj = NULL; - - pObj = new QListView( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QListView( ( void * ) pObj, true ) ); -} - -/* int batchSize () const */ -HB_FUNC( QT_QLISTVIEW_BATCHSIZE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( p )->batchSize() ); -} - -/* void clearPropertyFlags () */ -HB_FUNC( QT_QLISTVIEW_CLEARPROPERTYFLAGS ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->clearPropertyFlags(); -} - -/* Flow flow () const */ -HB_FUNC( QT_QLISTVIEW_FLOW ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( QListView::Flow ) ( p )->flow() ); -} - -/* QSize gridSize () const */ -HB_FUNC( QT_QLISTVIEW_GRIDSIZE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->gridSize() ), true ) ); -} - -/* bool isRowHidden ( int row ) const */ -HB_FUNC( QT_QLISTVIEW_ISROWHIDDEN ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retl( ( p )->isRowHidden( hb_parni( 2 ) ) ); -} - -/* bool isSelectionRectVisible () const */ -HB_FUNC( QT_QLISTVIEW_ISSELECTIONRECTVISIBLE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retl( ( p )->isSelectionRectVisible() ); -} - -/* bool isWrapping () const */ -HB_FUNC( QT_QLISTVIEW_ISWRAPPING ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retl( ( p )->isWrapping() ); -} - -/* LayoutMode layoutMode () const */ -HB_FUNC( QT_QLISTVIEW_LAYOUTMODE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( QListView::LayoutMode ) ( p )->layoutMode() ); -} - -/* int modelColumn () const */ -HB_FUNC( QT_QLISTVIEW_MODELCOLUMN ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( p )->modelColumn() ); -} - -/* Movement movement () const */ -HB_FUNC( QT_QLISTVIEW_MOVEMENT ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( QListView::Movement ) ( p )->movement() ); -} - -/* ResizeMode resizeMode () const */ -HB_FUNC( QT_QLISTVIEW_RESIZEMODE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( QListView::ResizeMode ) ( p )->resizeMode() ); -} - -/* void setBatchSize ( int batchSize ) */ -HB_FUNC( QT_QLISTVIEW_SETBATCHSIZE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setBatchSize( hb_parni( 2 ) ); -} - -/* void setFlow ( Flow flow ) */ -HB_FUNC( QT_QLISTVIEW_SETFLOW ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setFlow( ( QListView::Flow ) hb_parni( 2 ) ); -} - -/* void setGridSize ( const QSize & size ) */ -HB_FUNC( QT_QLISTVIEW_SETGRIDSIZE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setGridSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setLayoutMode ( LayoutMode mode ) */ -HB_FUNC( QT_QLISTVIEW_SETLAYOUTMODE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setLayoutMode( ( QListView::LayoutMode ) hb_parni( 2 ) ); -} - -/* void setModelColumn ( int column ) */ -HB_FUNC( QT_QLISTVIEW_SETMODELCOLUMN ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setModelColumn( hb_parni( 2 ) ); -} - -/* void setMovement ( Movement movement ) */ -HB_FUNC( QT_QLISTVIEW_SETMOVEMENT ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setMovement( ( QListView::Movement ) hb_parni( 2 ) ); -} - -/* void setResizeMode ( ResizeMode mode ) */ -HB_FUNC( QT_QLISTVIEW_SETRESIZEMODE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setResizeMode( ( QListView::ResizeMode ) hb_parni( 2 ) ); -} - -/* void setRowHidden ( int row, bool hide ) */ -HB_FUNC( QT_QLISTVIEW_SETROWHIDDEN ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setRowHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setSelectionRectVisible ( bool show ) */ -HB_FUNC( QT_QLISTVIEW_SETSELECTIONRECTVISIBLE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setSelectionRectVisible( hb_parl( 2 ) ); -} - -/* void setSpacing ( int space ) */ -HB_FUNC( QT_QLISTVIEW_SETSPACING ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setSpacing( hb_parni( 2 ) ); -} - -/* void setUniformItemSizes ( bool enable ) */ -HB_FUNC( QT_QLISTVIEW_SETUNIFORMITEMSIZES ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setUniformItemSizes( hb_parl( 2 ) ); -} - -/* void setViewMode ( ViewMode mode ) */ -HB_FUNC( QT_QLISTVIEW_SETVIEWMODE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setViewMode( ( QListView::ViewMode ) hb_parni( 2 ) ); -} - -/* void setWordWrap ( bool on ) */ -HB_FUNC( QT_QLISTVIEW_SETWORDWRAP ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setWordWrap( hb_parl( 2 ) ); -} - -/* void setWrapping ( bool enable ) */ -HB_FUNC( QT_QLISTVIEW_SETWRAPPING ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - ( p )->setWrapping( hb_parl( 2 ) ); -} - -/* int spacing () const */ -HB_FUNC( QT_QLISTVIEW_SPACING ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( p )->spacing() ); -} - -/* bool uniformItemSizes () const */ -HB_FUNC( QT_QLISTVIEW_UNIFORMITEMSIZES ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retl( ( p )->uniformItemSizes() ); -} - -/* ViewMode viewMode () const */ -HB_FUNC( QT_QLISTVIEW_VIEWMODE ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retni( ( QListView::ViewMode ) ( p )->viewMode() ); -} - -/* bool wordWrap () const */ -HB_FUNC( QT_QLISTVIEW_WORDWRAP ) -{ - QListView * p = hbqt_par_QListView( 1 ); - if( p ) - hb_retl( ( p )->wordWrap() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp deleted file mode 100644 index 630b4950a0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QListWidget.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 32/32 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QListWidget ( QWidget * parent = 0 ) - * ~QListWidget () - */ - -typedef struct -{ - QPointer< QListWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QListWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QListWidget ) -{ - HBQT_GC_T_QListWidget * p = ( HBQT_GC_T_QListWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QListWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QListWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QListWidget * p = ( HBQT_GC_T_QListWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QListWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QListWidget >( ( QListWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QListWidget; - p->type = HBQT_TYPE_QListWidget; - - return p; -} - -HB_FUNC( QT_QLISTWIDGET ) -{ - QListWidget * pObj = NULL; - - pObj = new QListWidget( HB_ISPOINTER( 1 ) ? hbqt_par_QWidget( 1 ) : 0 ) ; - - hb_retptrGC( hbqt_gcAllocate_QListWidget( ( void * ) pObj, true ) ); -} - -/* void addItem ( const QString & label ) */ -HB_FUNC( QT_QLISTWIDGET_ADDITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - { - void * pText; - ( p )->addItem( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void addItem ( QListWidgetItem * item ) [*D=1*] */ -HB_FUNC( QT_QLISTWIDGET_ADDITEM_1 ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addItem( hbqt_par_QListWidgetItem( 2 ) ); - } -} - -/* void addItems ( const QStringList & labels ) */ -HB_FUNC( QT_QLISTWIDGET_ADDITEMS ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->addItems( *hbqt_par_QStringList( 2 ) ); -} - -/* void closePersistentEditor ( QListWidgetItem * item ) */ -HB_FUNC( QT_QLISTWIDGET_CLOSEPERSISTENTEDITOR ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->closePersistentEditor( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* int count () const */ -HB_FUNC( QT_QLISTWIDGET_COUNT ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* QListWidgetItem * currentItem () const */ -HB_FUNC( QT_QLISTWIDGET_CURRENTITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( p )->currentItem(), false ) ); -} - -/* int currentRow () const */ -HB_FUNC( QT_QLISTWIDGET_CURRENTROW ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retni( ( p )->currentRow() ); -} - -/* void editItem ( QListWidgetItem * item ) */ -HB_FUNC( QT_QLISTWIDGET_EDITITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->editItem( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* QList findItems ( const QString & text, Qt::MatchFlags flags ) const */ -HB_FUNC( QT_QLISTWIDGET_FINDITEMS ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->findItems( hb_parstr_utf8( 2, &pText, NULL ), ( Qt::MatchFlags ) hb_parni( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* void insertItem ( int row, QListWidgetItem * item ) [*D=2*] */ -HB_FUNC( QT_QLISTWIDGET_INSERTITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 3 ); - ( p )->insertItem( hb_parni( 2 ), hbqt_par_QListWidgetItem( 3 ) ); - } -} - -/* void insertItem ( int row, const QString & label ) */ -HB_FUNC( QT_QLISTWIDGET_INSERTITEM_1 ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - { - void * pText; - ( p )->insertItem( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void insertItems ( int row, const QStringList & labels ) */ -HB_FUNC( QT_QLISTWIDGET_INSERTITEMS ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->insertItems( hb_parni( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* bool isSortingEnabled () const */ -HB_FUNC( QT_QLISTWIDGET_ISSORTINGENABLED ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retl( ( p )->isSortingEnabled() ); -} - -/* QListWidgetItem * item ( int row ) const */ -HB_FUNC( QT_QLISTWIDGET_ITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( p )->item( hb_parni( 2 ) ), false ) ); -} - -/* QListWidgetItem * itemAt ( const QPoint & p ) const */ -HB_FUNC( QT_QLISTWIDGET_ITEMAT ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( p )->itemAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QListWidgetItem * itemAt ( int x, int y ) const */ -HB_FUNC( QT_QLISTWIDGET_ITEMAT_1 ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QWidget * itemWidget ( QListWidgetItem * item ) const */ -HB_FUNC( QT_QLISTWIDGET_ITEMWIDGET ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->itemWidget( hbqt_par_QListWidgetItem( 2 ) ), false ) ); -} - -/* void openPersistentEditor ( QListWidgetItem * item ) */ -HB_FUNC( QT_QLISTWIDGET_OPENPERSISTENTEDITOR ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->openPersistentEditor( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* void removeItemWidget ( QListWidgetItem * item ) */ -HB_FUNC( QT_QLISTWIDGET_REMOVEITEMWIDGET ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->removeItemWidget( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* int row ( const QListWidgetItem * item ) const */ -HB_FUNC( QT_QLISTWIDGET_ROW ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retni( ( p )->row( hbqt_par_QListWidgetItem( 2 ) ) ); -} - -/* QList selectedItems () const */ -HB_FUNC( QT_QLISTWIDGET_SELECTEDITEMS ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->selectedItems() ), true ) ); -} - -/* void setCurrentItem ( QListWidgetItem * item ) */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->setCurrentItem( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* void setCurrentItem ( QListWidgetItem * item, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTITEM_1 ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->setCurrentItem( hbqt_par_QListWidgetItem( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* void setCurrentRow ( int row ) */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTROW ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->setCurrentRow( hb_parni( 2 ) ); -} - -/* void setCurrentRow ( int row, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTROW_1 ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->setCurrentRow( hb_parni( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* void setItemWidget ( QListWidgetItem * item, QWidget * widget ) */ -HB_FUNC( QT_QLISTWIDGET_SETITEMWIDGET ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->setItemWidget( hbqt_par_QListWidgetItem( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* void setSortingEnabled ( bool enable ) */ -HB_FUNC( QT_QLISTWIDGET_SETSORTINGENABLED ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->setSortingEnabled( hb_parl( 2 ) ); -} - -/* void sortItems ( Qt::SortOrder order = Qt::AscendingOrder ) */ -HB_FUNC( QT_QLISTWIDGET_SORTITEMS ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->sortItems( ( HB_ISNUM( 2 ) ? ( Qt::SortOrder ) hb_parni( 2 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* QListWidgetItem * takeItem ( int row ) */ -HB_FUNC( QT_QLISTWIDGET_TAKEITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( p )->takeItem( hb_parni( 2 ) ), false ) ); -} - -/* QRect visualItemRect ( const QListWidgetItem * item ) const */ -HB_FUNC( QT_QLISTWIDGET_VISUALITEMRECT ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->visualItemRect( hbqt_par_QListWidgetItem( 2 ) ) ), true ) ); -} - -/* void clear () */ -HB_FUNC( QT_QLISTWIDGET_CLEAR ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->clear(); -} - -/* void scrollToItem ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) */ -HB_FUNC( QT_QLISTWIDGET_SCROLLTOITEM ) -{ - QListWidget * p = hbqt_par_QListWidget( 1 ); - if( p ) - ( p )->scrollToItem( hbqt_par_QListWidgetItem( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QListWidget::EnsureVisible ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp deleted file mode 100644 index 94b7d3f459..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QListWidgetItem.cpp +++ /dev/null @@ -1,386 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ItemType { Type, UserType } - */ - -/* - * Constructed[ 35/35 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QListWidgetItem ( QListWidget * parent = 0, int type = Type ) - * QListWidgetItem ( const QString & text, QListWidget * parent = 0, int type = Type ) - * QListWidgetItem ( const QIcon & icon, const QString & text, QListWidget * parent = 0, int type = Type ) - * QListWidgetItem ( const QListWidgetItem & other ) - * virtual ~QListWidgetItem () - */ - -typedef struct -{ - QListWidgetItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QListWidgetItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QListWidgetItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QListWidgetItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QListWidgetItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QListWidgetItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QListWidgetItem; - p->type = HBQT_TYPE_QListWidgetItem; - - return p; -} - -HB_FUNC( QT_QLISTWIDGETITEM ) -{ - QListWidgetItem * pObj = NULL; - - pObj = new QListWidgetItem( hbqt_par_QListWidget( 1 ), hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( void * ) pObj, true ) ); -} - -/* QBrush background () const */ -HB_FUNC( QT_QLISTWIDGETITEM_BACKGROUND ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background() ), true ) ); -} - -/* Qt::CheckState checkState () const */ -HB_FUNC( QT_QLISTWIDGETITEM_CHECKSTATE ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retni( ( Qt::CheckState ) ( p )->checkState() ); -} - -/* virtual QListWidgetItem * clone () const */ -HB_FUNC( QT_QLISTWIDGETITEM_CLONE ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidgetItem( ( p )->clone(), false ) ); -} - -/* virtual QVariant data ( int role ) const */ -HB_FUNC( QT_QLISTWIDGETITEM_DATA ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( hb_parni( 2 ) ) ), true ) ); -} - -/* Qt::ItemFlags flags () const */ -HB_FUNC( QT_QLISTWIDGETITEM_FLAGS ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags() ); -} - -/* QFont font () const */ -HB_FUNC( QT_QLISTWIDGETITEM_FONT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QBrush foreground () const */ -HB_FUNC( QT_QLISTWIDGETITEM_FOREGROUND ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foreground() ), true ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QLISTWIDGETITEM_ICON ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* bool isHidden () const */ -HB_FUNC( QT_QLISTWIDGETITEM_ISHIDDEN ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isHidden() ); -} - -/* bool isSelected () const */ -HB_FUNC( QT_QLISTWIDGETITEM_ISSELECTED ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isSelected() ); -} - -/* QListWidget * listWidget () const */ -HB_FUNC( QT_QLISTWIDGETITEM_LISTWIDGET ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QListWidget( ( p )->listWidget(), false ) ); -} - -/* virtual void read ( QDataStream & in ) */ -HB_FUNC( QT_QLISTWIDGETITEM_READ ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* void setBackground ( const QBrush & brush ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETBACKGROUND ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setCheckState ( Qt::CheckState state ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETCHECKSTATE ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* virtual void setData ( int role, const QVariant & value ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETDATA ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* void setFlags ( Qt::ItemFlags flags ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETFLAGS ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETFONT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setForeground ( const QBrush & brush ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETFOREGROUND ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setHidden ( bool hide ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETHIDDEN ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setHidden( hb_parl( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETICON ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setSelected ( bool select ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETSELECTED ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setSelected( hb_parl( 2 ) ); -} - -/* void setSizeHint ( const QSize & size ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETSIZEHINT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setSizeHint( *hbqt_par_QSize( 2 ) ); -} - -/* void setStatusTip ( const QString & statusTip ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETSTATUSTIP ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETTEXT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextAlignment ( int alignment ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETTEXTALIGNMENT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->setTextAlignment( hb_parni( 2 ) ); -} - -/* void setToolTip ( const QString & toolTip ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETTOOLTIP ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWhatsThis ( const QString & whatsThis ) */ -HB_FUNC( QT_QLISTWIDGETITEM_SETWHATSTHIS ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setWhatsThis( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QSize sizeHint () const */ -HB_FUNC( QT_QLISTWIDGETITEM_SIZEHINT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* QString statusTip () const */ -HB_FUNC( QT_QLISTWIDGETITEM_STATUSTIP ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->statusTip().toUtf8().data() ); -} - -/* QString text () const */ -HB_FUNC( QT_QLISTWIDGETITEM_TEXT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* int textAlignment () const */ -HB_FUNC( QT_QLISTWIDGETITEM_TEXTALIGNMENT ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->textAlignment() ); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QLISTWIDGETITEM_TOOLTIP ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* int type () const */ -HB_FUNC( QT_QLISTWIDGETITEM_TYPE ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->type() ); -} - -/* QString whatsThis () const */ -HB_FUNC( QT_QLISTWIDGETITEM_WHATSTHIS ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->whatsThis().toUtf8().data() ); -} - -/* virtual void write ( QDataStream & out ) const */ -HB_FUNC( QT_QLISTWIDGETITEM_WRITE ) -{ - QListWidgetItem * p = hbqt_par_QListWidgetItem( 1 ); - if( p ) - ( p )->write( *hbqt_par_QDataStream( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp b/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp deleted file mode 100644 index efb5fba968..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMainWindow.cpp +++ /dev/null @@ -1,516 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum DockOption { AnimatedDocks, AllowNestedDocks, AllowTabbedDocks, ForceTabbedDocks, VerticalTabs } - * flags DockOptions - */ - -/* - * Constructed[ 49/49 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* - * QMainWindow ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QMainWindow () - */ - -HB_FUNC( HBQT_QMAINWINDOW_SAVESETTINGS ) -{ - QSettings qSet( hbqt_par_QString( 1 ), QSettings::IniFormat ); - - qSet.setValue( hbqt_par_QString( 2 ), hbqt_par_QMainWindow( 3 )->saveState() ); -} - -HB_FUNC( HBQT_QMAINWINDOW_RESTSETTINGS ) -{ - QSettings qSet( hbqt_par_QString( 1 ), QSettings::IniFormat ); - - hbqt_par_QMainWindow( 3 )->restoreState( qSet.value( hbqt_par_QString( 2 ) ).toByteArray() ); -} - -typedef struct -{ - QPointer< QMainWindow > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMainWindow; - -HBQT_GC_FUNC( hbqt_gcRelease_QMainWindow ) -{ - HBQT_GC_T_QMainWindow * p = ( HBQT_GC_T_QMainWindow * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMainWindow * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMainWindow( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMainWindow * p = ( HBQT_GC_T_QMainWindow * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMainWindow ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMainWindow >( ( QMainWindow * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMainWindow; - p->type = HBQT_TYPE_QMainWindow; - - return p; -} - -HB_FUNC( QT_QMAINWINDOW ) -{ - QMainWindow * pObj = NULL; - - pObj = new QMainWindow( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QMainWindow( ( void * ) pObj, true ) ); -} - -/* void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget ) */ -HB_FUNC( QT_QMAINWINDOW_ADDDOCKWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->addDockWidget( ( Qt::DockWidgetArea ) hb_parni( 2 ), hbqt_par_QDockWidget( 3 ) ); -} - -/* void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation ) */ -HB_FUNC( QT_QMAINWINDOW_ADDDOCKWIDGET_1 ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->addDockWidget( ( Qt::DockWidgetArea ) hb_parni( 2 ), hbqt_par_QDockWidget( 3 ), ( Qt::Orientation ) hb_parni( 4 ) ); -} - -/* void addToolBar ( Qt::ToolBarArea area, QToolBar * toolbar ) */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->addToolBar( ( Qt::ToolBarArea ) hb_parni( 2 ), hbqt_par_QToolBar( 3 ) ); -} - -/* void addToolBar ( QToolBar * toolbar ) */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBAR_1 ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->addToolBar( hbqt_par_QToolBar( 2 ) ); -} - -/* QToolBar * addToolBar ( const QString & title ) // NOT implemented */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBAR_2 ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QToolBar( ( p )->addToolBar( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* void addToolBarBreak ( Qt::ToolBarArea area = Qt::TopToolBarArea ) */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBARBREAK ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->addToolBarBreak( ( HB_ISNUM( 2 ) ? ( Qt::ToolBarArea ) hb_parni( 2 ) : ( Qt::ToolBarArea ) Qt::TopToolBarArea ) ); -} - -/* QWidget * centralWidget () const */ -HB_FUNC( QT_QMAINWINDOW_CENTRALWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->centralWidget(), false ) ); -} - -/* Qt::DockWidgetArea corner ( Qt::Corner corner ) const */ -HB_FUNC( QT_QMAINWINDOW_CORNER ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( Qt::DockWidgetArea ) ( p )->corner( ( Qt::Corner ) hb_parni( 2 ) ) ); -} - -/* virtual QMenu * createPopupMenu () */ -HB_FUNC( QT_QMAINWINDOW_CREATEPOPUPMENU ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createPopupMenu(), false ) ); -} - -/* DockOptions dockOptions () const */ -HB_FUNC( QT_QMAINWINDOW_DOCKOPTIONS ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( QMainWindow::DockOptions ) ( p )->dockOptions() ); -} - -/* Qt::DockWidgetArea dockWidgetArea ( QDockWidget * dockwidget ) const */ -HB_FUNC( QT_QMAINWINDOW_DOCKWIDGETAREA ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( Qt::DockWidgetArea ) ( p )->dockWidgetArea( hbqt_par_QDockWidget( 2 ) ) ); -} - -/* bool documentMode () const */ -HB_FUNC( QT_QMAINWINDOW_DOCUMENTMODE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->documentMode() ); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QMAINWINDOW_ICONSIZE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* void insertToolBar ( QToolBar * before, QToolBar * toolbar ) */ -HB_FUNC( QT_QMAINWINDOW_INSERTTOOLBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->insertToolBar( hbqt_par_QToolBar( 2 ), hbqt_par_QToolBar( 3 ) ); -} - -/* void insertToolBarBreak ( QToolBar * before ) */ -HB_FUNC( QT_QMAINWINDOW_INSERTTOOLBARBREAK ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->insertToolBarBreak( hbqt_par_QToolBar( 2 ) ); -} - -/* bool isAnimated () const */ -HB_FUNC( QT_QMAINWINDOW_ISANIMATED ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->isAnimated() ); -} - -/* bool isDockNestingEnabled () const */ -HB_FUNC( QT_QMAINWINDOW_ISDOCKNESTINGENABLED ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->isDockNestingEnabled() ); -} - -/* QMenuBar * menuBar () const */ -HB_FUNC( QT_QMAINWINDOW_MENUBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenuBar( ( p )->menuBar(), false ) ); -} - -/* QWidget * menuWidget () const */ -HB_FUNC( QT_QMAINWINDOW_MENUWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->menuWidget(), false ) ); -} - -/* void removeDockWidget ( QDockWidget * dockwidget ) */ -HB_FUNC( QT_QMAINWINDOW_REMOVEDOCKWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->removeDockWidget( hbqt_par_QDockWidget( 2 ) ); -} - -/* void removeToolBar ( QToolBar * toolbar ) */ -HB_FUNC( QT_QMAINWINDOW_REMOVETOOLBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->removeToolBar( hbqt_par_QToolBar( 2 ) ); -} - -/* void removeToolBarBreak ( QToolBar * before ) */ -HB_FUNC( QT_QMAINWINDOW_REMOVETOOLBARBREAK ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->removeToolBarBreak( hbqt_par_QToolBar( 2 ) ); -} - -/* bool restoreDockWidget ( QDockWidget * dockwidget ) */ -HB_FUNC( QT_QMAINWINDOW_RESTOREDOCKWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->restoreDockWidget( hbqt_par_QDockWidget( 2 ) ) ); -} - -/* bool restoreState ( const QByteArray & state, int version = 0 ) */ -HB_FUNC( QT_QMAINWINDOW_RESTORESTATE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->restoreState( *hbqt_par_QByteArray( 2 ), hb_parni( 3 ) ) ); -} - -/* QByteArray saveState ( int version = 0 ) const */ -HB_FUNC( QT_QMAINWINDOW_SAVESTATE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->saveState( hb_parni( 2 ) ) ), true ) ); -} - -/* void setCentralWidget ( QWidget * widget ) [*D=1*] */ -HB_FUNC( QT_QMAINWINDOW_SETCENTRALWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setCentralWidget( hbqt_par_QWidget( 2 ) ); - } -} - -/* void setCorner ( Qt::Corner corner, Qt::DockWidgetArea area ) */ -HB_FUNC( QT_QMAINWINDOW_SETCORNER ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setCorner( ( Qt::Corner ) hb_parni( 2 ), ( Qt::DockWidgetArea ) hb_parni( 3 ) ); -} - -/* void setDockOptions ( DockOptions options ) */ -HB_FUNC( QT_QMAINWINDOW_SETDOCKOPTIONS ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setDockOptions( ( QMainWindow::DockOptions ) hb_parni( 2 ) ); -} - -/* void setDocumentMode ( bool enabled ) */ -HB_FUNC( QT_QMAINWINDOW_SETDOCUMENTMODE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setDocumentMode( hb_parl( 2 ) ); -} - -/* void setIconSize ( const QSize & iconSize ) */ -HB_FUNC( QT_QMAINWINDOW_SETICONSIZE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setMenuBar ( QMenuBar * menuBar ) [*D=1*] */ -HB_FUNC( QT_QMAINWINDOW_SETMENUBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setMenuBar( hbqt_par_QMenuBar( 2 ) ); - } -} - -/* void setMenuWidget ( QWidget * menuBar ) [*D=1*] */ -HB_FUNC( QT_QMAINWINDOW_SETMENUWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setMenuWidget( hbqt_par_QWidget( 2 ) ); - } -} - -/* void setStatusBar ( QStatusBar * statusbar ) [*D=1*] */ -HB_FUNC( QT_QMAINWINDOW_SETSTATUSBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setStatusBar( hbqt_par_QStatusBar( 2 ) ); - } -} - -/* void setTabPosition ( Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition ) */ -HB_FUNC( QT_QMAINWINDOW_SETTABPOSITION ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setTabPosition( ( Qt::DockWidgetAreas ) hb_parni( 2 ), ( QTabWidget::TabPosition ) hb_parni( 3 ) ); -} - -/* void setTabShape ( QTabWidget::TabShape tabShape ) */ -HB_FUNC( QT_QMAINWINDOW_SETTABSHAPE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setTabShape( ( QTabWidget::TabShape ) hb_parni( 2 ) ); -} - -/* void setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle ) */ -HB_FUNC( QT_QMAINWINDOW_SETTOOLBUTTONSTYLE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setToolButtonStyle( ( Qt::ToolButtonStyle ) hb_parni( 2 ) ); -} - -/* void setUnifiedTitleAndToolBarOnMac ( bool set ) */ -HB_FUNC( QT_QMAINWINDOW_SETUNIFIEDTITLEANDTOOLBARONMAC ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setUnifiedTitleAndToolBarOnMac( hb_parl( 2 ) ); -} - -/* void splitDockWidget ( QDockWidget * first, QDockWidget * second, Qt::Orientation orientation ) */ -HB_FUNC( QT_QMAINWINDOW_SPLITDOCKWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->splitDockWidget( hbqt_par_QDockWidget( 2 ), hbqt_par_QDockWidget( 3 ), ( Qt::Orientation ) hb_parni( 4 ) ); -} - -/* QStatusBar * statusBar () const */ -HB_FUNC( QT_QMAINWINDOW_STATUSBAR ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStatusBar( ( p )->statusBar(), false ) ); -} - -/* QTabWidget::TabPosition tabPosition ( Qt::DockWidgetArea area ) const */ -HB_FUNC( QT_QMAINWINDOW_TABPOSITION ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( QTabWidget::TabPosition ) ( p )->tabPosition( ( Qt::DockWidgetArea ) hb_parni( 2 ) ) ); -} - -/* QTabWidget::TabShape tabShape () const */ -HB_FUNC( QT_QMAINWINDOW_TABSHAPE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( QTabWidget::TabShape ) ( p )->tabShape() ); -} - -/* QList tabifiedDockWidgets ( QDockWidget * dockwidget ) const */ -HB_FUNC( QT_QMAINWINDOW_TABIFIEDDOCKWIDGETS ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->tabifiedDockWidgets( hbqt_par_QDockWidget( 2 ) ) ), true ) ); -} - -/* void tabifyDockWidget ( QDockWidget * first, QDockWidget * second ) */ -HB_FUNC( QT_QMAINWINDOW_TABIFYDOCKWIDGET ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->tabifyDockWidget( hbqt_par_QDockWidget( 2 ), hbqt_par_QDockWidget( 3 ) ); -} - -/* Qt::ToolBarArea toolBarArea ( QToolBar * toolbar ) const */ -HB_FUNC( QT_QMAINWINDOW_TOOLBARAREA ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( Qt::ToolBarArea ) ( p )->toolBarArea( hbqt_par_QToolBar( 2 ) ) ); -} - -/* bool toolBarBreak ( QToolBar * toolbar ) const */ -HB_FUNC( QT_QMAINWINDOW_TOOLBARBREAK ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->toolBarBreak( hbqt_par_QToolBar( 2 ) ) ); -} - -/* Qt::ToolButtonStyle toolButtonStyle () const */ -HB_FUNC( QT_QMAINWINDOW_TOOLBUTTONSTYLE ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retni( ( Qt::ToolButtonStyle ) ( p )->toolButtonStyle() ); -} - -/* bool unifiedTitleAndToolBarOnMac () const */ -HB_FUNC( QT_QMAINWINDOW_UNIFIEDTITLEANDTOOLBARONMAC ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - hb_retl( ( p )->unifiedTitleAndToolBarOnMac() ); -} - -/* void setAnimated ( bool enabled ) */ -HB_FUNC( QT_QMAINWINDOW_SETANIMATED ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setAnimated( hb_parl( 2 ) ); -} - -/* void setDockNestingEnabled ( bool enabled ) */ -HB_FUNC( QT_QMAINWINDOW_SETDOCKNESTINGENABLED ) -{ - QMainWindow * p = hbqt_par_QMainWindow( 1 ); - if( p ) - ( p )->setDockNestingEnabled( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp b/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp deleted file mode 100644 index 02c1770908..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMatrix.cpp +++ /dev/null @@ -1,332 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* QMatrix () - * QMatrix ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) - * QMatrix ( const QMatrix & matrix ) - */ - -typedef struct -{ - QMatrix * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMatrix; - -HBQT_GC_FUNC( hbqt_gcRelease_QMatrix ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QMatrix * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMatrix( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMatrix * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMatrix; - p->type = HBQT_TYPE_QMatrix; - - return p; -} - -HB_FUNC( QT_QMATRIX ) -{ - QMatrix * pObj = NULL; - - pObj = new QMatrix() ; - - hb_retptrGC( hbqt_gcAllocate_QMatrix( ( void * ) pObj, true ) ); -} - -/* qreal m11 () const */ -HB_FUNC( QT_QMATRIX_M11 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->m11() ); -} - -/* qreal m12 () const */ -HB_FUNC( QT_QMATRIX_M12 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->m12() ); -} - -/* qreal m21 () const */ -HB_FUNC( QT_QMATRIX_M21 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->m21() ); -} - -/* qreal m22 () const */ -HB_FUNC( QT_QMATRIX_M22 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->m22() ); -} - -/* qreal det () const */ -HB_FUNC( QT_QMATRIX_DET ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->det() ); -} - -/* qreal dx () const */ -HB_FUNC( QT_QMATRIX_DX ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->dx() ); -} - -/* qreal dy () const */ -HB_FUNC( QT_QMATRIX_DY ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retnd( ( p )->dy() ); -} - -/* QMatrix inverted ( bool * invertible = 0 ) const */ -HB_FUNC( QT_QMATRIX_INVERTED ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - bool iInvertible = 0; - - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->inverted( &iInvertible ) ), true ) ); - - hb_stornl( iInvertible, 2 ); -} - -/* bool isIdentity () const */ -HB_FUNC( QT_QMATRIX_ISIDENTITY ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retl( ( p )->isIdentity() ); -} - -/* bool isInvertible () const */ -HB_FUNC( QT_QMATRIX_ISINVERTIBLE ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retl( ( p )->isInvertible() ); -} - -/* void map ( qreal x, qreal y, qreal * tx, qreal * ty ) const */ -HB_FUNC( QT_QMATRIX_MAP ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - qreal qrTx = 0; - qreal qrTy = 0; - - if( p ) - ( p )->map( hb_parnd( 2 ), hb_parnd( 3 ), &qrTx, &qrTy ); - - hb_stornd( qrTx, 4 ); - hb_stornd( qrTy, 5 ); -} - -/* void map ( int x, int y, int * tx, int * ty ) const */ -HB_FUNC( QT_QMATRIX_MAP_1 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - int iTx = 0; - int iTy = 0; - - if( p ) - ( p )->map( hb_parni( 2 ), hb_parni( 3 ), &iTx, &iTy ); - - hb_storni( iTx, 4 ); - hb_storni( iTy, 5 ); -} - -/* QPointF map ( const QPointF & point ) const */ -HB_FUNC( QT_QMATRIX_MAP_2 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->map( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPoint map ( const QPoint & point ) const */ -HB_FUNC( QT_QMATRIX_MAP_3 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->map( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QLineF map ( const QLineF & line ) const */ -HB_FUNC( QT_QMATRIX_MAP_4 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->map( *hbqt_par_QLineF( 2 ) ) ), true ) ); -} - -/* QLine map ( const QLine & line ) const */ -HB_FUNC( QT_QMATRIX_MAP_5 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLine( new QLine( ( p )->map( *hbqt_par_QLine( 2 ) ) ), true ) ); -} - -/* QPolygonF map ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QMATRIX_MAP_6 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->map( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPolygon map ( const QPolygon & polygon ) const */ -HB_FUNC( QT_QMATRIX_MAP_7 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->map( *hbqt_par_QPolygon( 2 ) ) ), true ) ); -} - -/* QRegion map ( const QRegion & region ) const */ -HB_FUNC( QT_QMATRIX_MAP_8 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->map( *hbqt_par_QRegion( 2 ) ) ), true ) ); -} - -/* QPainterPath map ( const QPainterPath & path ) const */ -HB_FUNC( QT_QMATRIX_MAP_9 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->map( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QRectF mapRect ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QMATRIX_MAPRECT ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRect( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QRect mapRect ( const QRect & rectangle ) const */ -HB_FUNC( QT_QMATRIX_MAPRECT_1 ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->mapRect( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* QPolygon mapToPolygon ( const QRect & rectangle ) const */ -HB_FUNC( QT_QMATRIX_MAPTOPOLYGON ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->mapToPolygon( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* void reset () */ -HB_FUNC( QT_QMATRIX_RESET ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - ( p )->reset(); -} - -/* QMatrix & rotate ( qreal degrees ) */ -HB_FUNC( QT_QMATRIX_ROTATE ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->rotate( hb_parnd( 2 ) ) ), true ) ); -} - -/* QMatrix & scale ( qreal sx, qreal sy ) */ -HB_FUNC( QT_QMATRIX_SCALE ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->scale( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* void setMatrix ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) */ -HB_FUNC( QT_QMATRIX_SETMATRIX ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - ( p )->setMatrix( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ) ); -} - -/* QMatrix & shear ( qreal sh, qreal sv ) */ -HB_FUNC( QT_QMATRIX_SHEAR ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->shear( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QMatrix & translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QMATRIX_TRANSLATE ) -{ - QMatrix * p = hbqt_par_QMatrix( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp b/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp deleted file mode 100644 index 73e56deff4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMdiArea.cpp +++ /dev/null @@ -1,311 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum AreaOption { DontMaximizeSubWindowOnActivation } - * flags AreaOptions - * enum ViewMode { SubWindowView, TabbedView } - * enum WindowOrder { CreationOrder, StackingOrder, ActivationHistoryOrder } - */ - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMdiArea ( QWidget * parent = 0 ) - * ~QMdiArea () - * - */ - -typedef struct -{ - QPointer< QMdiArea > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMdiArea; - -HBQT_GC_FUNC( hbqt_gcRelease_QMdiArea ) -{ - HBQT_GC_T_QMdiArea * p = ( HBQT_GC_T_QMdiArea * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMdiArea * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMdiArea( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMdiArea * p = ( HBQT_GC_T_QMdiArea * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMdiArea ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMdiArea >( ( QMdiArea * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMdiArea; - p->type = HBQT_TYPE_QMdiArea; - - return p; -} - -HB_FUNC( QT_QMDIAREA ) -{ - QMdiArea * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QMdiArea( hbqt_par_QWidget( 1 ) ) ; - } - else - { - pObj = new QMdiArea() ; - } - - hb_retptrGC( hbqt_gcAllocate_QMdiArea( ( void * ) pObj, true ) ); -} - -/* WindowOrder activationOrder () const */ -HB_FUNC( QT_QMDIAREA_ACTIVATIONORDER ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retni( ( QMdiArea::WindowOrder ) ( p )->activationOrder() ); -} - -/* QMdiSubWindow * activeSubWindow () const */ -HB_FUNC( QT_QMDIAREA_ACTIVESUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMdiSubWindow( ( p )->activeSubWindow(), false ) ); -} - -/* QMdiSubWindow * addSubWindow ( QWidget * widget, Qt::WindowFlags windowFlags = 0 ) */ -HB_FUNC( QT_QMDIAREA_ADDSUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMdiSubWindow( ( p )->addSubWindow( hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ), false ) ); -} - -/* QBrush background () const */ -HB_FUNC( QT_QMDIAREA_BACKGROUND ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background() ), true ) ); -} - -/* QMdiSubWindow * currentSubWindow () const */ -HB_FUNC( QT_QMDIAREA_CURRENTSUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMdiSubWindow( ( p )->currentSubWindow(), false ) ); -} - -/* bool documentMode () const */ -HB_FUNC( QT_QMDIAREA_DOCUMENTMODE ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retl( ( p )->documentMode() ); -} - -/* void removeSubWindow ( QWidget * widget ) */ -HB_FUNC( QT_QMDIAREA_REMOVESUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->removeSubWindow( hbqt_par_QWidget( 2 ) ); -} - -/* void setActivationOrder ( WindowOrder order ) */ -HB_FUNC( QT_QMDIAREA_SETACTIVATIONORDER ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setActivationOrder( ( QMdiArea::WindowOrder ) hb_parni( 2 ) ); -} - -/* void setBackground ( const QBrush & background ) */ -HB_FUNC( QT_QMDIAREA_SETBACKGROUND ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setDocumentMode ( bool enabled ) */ -HB_FUNC( QT_QMDIAREA_SETDOCUMENTMODE ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setDocumentMode( hb_parl( 2 ) ); -} - -/* void setOption ( AreaOption option, bool on = true ) */ -HB_FUNC( QT_QMDIAREA_SETOPTION ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setOption( ( QMdiArea::AreaOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setTabPosition ( QTabWidget::TabPosition position ) */ -HB_FUNC( QT_QMDIAREA_SETTABPOSITION ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setTabPosition( ( QTabWidget::TabPosition ) hb_parni( 2 ) ); -} - -/* void setTabShape ( QTabWidget::TabShape shape ) */ -HB_FUNC( QT_QMDIAREA_SETTABSHAPE ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setTabShape( ( QTabWidget::TabShape ) hb_parni( 2 ) ); -} - -/* void setViewMode ( ViewMode mode ) */ -HB_FUNC( QT_QMDIAREA_SETVIEWMODE ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setViewMode( ( QMdiArea::ViewMode ) hb_parni( 2 ) ); -} - -/* QList subWindowList ( WindowOrder order = CreationOrder ) const */ -HB_FUNC( QT_QMDIAREA_SUBWINDOWLIST ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->subWindowList( ( HB_ISNUM( 2 ) ? ( QMdiArea::WindowOrder ) hb_parni( 2 ) : ( QMdiArea::WindowOrder ) QMdiArea::CreationOrder ) ) ), true ) ); -} - -/* QTabWidget::TabPosition tabPosition () const */ -HB_FUNC( QT_QMDIAREA_TABPOSITION ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retni( ( QTabWidget::TabPosition ) ( p )->tabPosition() ); -} - -/* QTabWidget::TabShape tabShape () const */ -HB_FUNC( QT_QMDIAREA_TABSHAPE ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retni( ( QTabWidget::TabShape ) ( p )->tabShape() ); -} - -/* bool testOption ( AreaOption option ) const */ -HB_FUNC( QT_QMDIAREA_TESTOPTION ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QMdiArea::AreaOption ) hb_parni( 2 ) ) ); -} - -/* ViewMode viewMode () const */ -HB_FUNC( QT_QMDIAREA_VIEWMODE ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - hb_retni( ( QMdiArea::ViewMode ) ( p )->viewMode() ); -} - -/* void activateNextSubWindow () */ -HB_FUNC( QT_QMDIAREA_ACTIVATENEXTSUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->activateNextSubWindow(); -} - -/* void activatePreviousSubWindow () */ -HB_FUNC( QT_QMDIAREA_ACTIVATEPREVIOUSSUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->activatePreviousSubWindow(); -} - -/* void cascadeSubWindows () */ -HB_FUNC( QT_QMDIAREA_CASCADESUBWINDOWS ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->cascadeSubWindows(); -} - -/* void closeActiveSubWindow () */ -HB_FUNC( QT_QMDIAREA_CLOSEACTIVESUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->closeActiveSubWindow(); -} - -/* void closeAllSubWindows () */ -HB_FUNC( QT_QMDIAREA_CLOSEALLSUBWINDOWS ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->closeAllSubWindows(); -} - -/* void setActiveSubWindow ( QMdiSubWindow * window ) */ -HB_FUNC( QT_QMDIAREA_SETACTIVESUBWINDOW ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->setActiveSubWindow( hbqt_par_QMdiSubWindow( 2 ) ); -} - -/* void tileSubWindows () */ -HB_FUNC( QT_QMDIAREA_TILESUBWINDOWS ) -{ - QMdiArea * p = hbqt_par_QMdiArea( 1 ); - if( p ) - ( p )->tileSubWindows(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp b/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp deleted file mode 100644 index 2f081f978e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMdiSubWindow.cpp +++ /dev/null @@ -1,213 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum SubWindowOption { RubberBandResize, RubberBandMove } - * flags SubWindowOptions - */ - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMdiSubWindow ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QMdiSubWindow () - * - */ - -typedef struct -{ - QPointer< QMdiSubWindow > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMdiSubWindow; - -HBQT_GC_FUNC( hbqt_gcRelease_QMdiSubWindow ) -{ - HBQT_GC_T_QMdiSubWindow * p = ( HBQT_GC_T_QMdiSubWindow * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMdiSubWindow * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMdiSubWindow( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMdiSubWindow * p = ( HBQT_GC_T_QMdiSubWindow * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMdiSubWindow ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMdiSubWindow >( ( QMdiSubWindow * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMdiSubWindow; - p->type = HBQT_TYPE_QMdiSubWindow; - - return p; -} - -HB_FUNC( QT_QMDISUBWINDOW ) -{ - QMdiSubWindow * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QMdiSubWindow( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - } - else - { - pObj = new QMdiSubWindow() ; - } - - hb_retptrGC( hbqt_gcAllocate_QMdiSubWindow( ( void * ) pObj, true ) ); -} - -/* bool isShaded () const */ -HB_FUNC( QT_QMDISUBWINDOW_ISSHADED ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retl( ( p )->isShaded() ); -} - -/* int keyboardPageStep () const */ -HB_FUNC( QT_QMDISUBWINDOW_KEYBOARDPAGESTEP ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retni( ( p )->keyboardPageStep() ); -} - -/* int keyboardSingleStep () const */ -HB_FUNC( QT_QMDISUBWINDOW_KEYBOARDSINGLESTEP ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retni( ( p )->keyboardSingleStep() ); -} - -/* QMdiArea * mdiArea () const */ -HB_FUNC( QT_QMDISUBWINDOW_MDIAREA ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMdiArea( ( p )->mdiArea(), false ) ); -} - -/* void setKeyboardPageStep ( int step ) */ -HB_FUNC( QT_QMDISUBWINDOW_SETKEYBOARDPAGESTEP ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->setKeyboardPageStep( hb_parni( 2 ) ); -} - -/* void setKeyboardSingleStep ( int step ) */ -HB_FUNC( QT_QMDISUBWINDOW_SETKEYBOARDSINGLESTEP ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->setKeyboardSingleStep( hb_parni( 2 ) ); -} - -/* void setOption ( SubWindowOption option, bool on = true ) */ -HB_FUNC( QT_QMDISUBWINDOW_SETOPTION ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->setOption( ( QMdiSubWindow::SubWindowOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setSystemMenu ( QMenu * systemMenu ) */ -HB_FUNC( QT_QMDISUBWINDOW_SETSYSTEMMENU ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->setSystemMenu( hbqt_par_QMenu( 2 ) ); -} - -/* void setWidget ( QWidget * widget ) */ -HB_FUNC( QT_QMDISUBWINDOW_SETWIDGET ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* QMenu * systemMenu () const */ -HB_FUNC( QT_QMDISUBWINDOW_SYSTEMMENU ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->systemMenu(), false ) ); -} - -/* bool testOption ( SubWindowOption option ) const */ -HB_FUNC( QT_QMDISUBWINDOW_TESTOPTION ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QMdiSubWindow::SubWindowOption ) hb_parni( 2 ) ) ); -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QMDISUBWINDOW_WIDGET ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - -/* void showShaded () */ -HB_FUNC( QT_QMDISUBWINDOW_SHOWSHADED ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->showShaded(); -} - -/* void showSystemMenu () */ -HB_FUNC( QT_QMDISUBWINDOW_SHOWSYSTEMMENU ) -{ - QMdiSubWindow * p = hbqt_par_QMdiSubWindow( 1 ); - if( p ) - ( p )->showSystemMenu(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMenu.cpp b/harbour/contrib/hbqt/qtgui/g/QMenu.cpp deleted file mode 100644 index de529e7809..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMenu.cpp +++ /dev/null @@ -1,393 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 33/33 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // OSMenuRef macMenu ( OSMenuRef merge = 0 ) - * // HMENU wceMenu ( bool create = false ) - */ - -#include - -#include - - -/* - * QMenu ( QWidget * parent = 0 ) - * QMenu ( const QString & title, QWidget * parent = 0 ) - * ~QMenu () - */ - -typedef struct -{ - QPointer< QMenu > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMenu; - -HBQT_GC_FUNC( hbqt_gcRelease_QMenu ) -{ - HBQT_GC_T_QMenu * p = ( HBQT_GC_T_QMenu * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMenu * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMenu( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMenu * p = ( HBQT_GC_T_QMenu * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMenu ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMenu >( ( QMenu * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMenu; - p->type = HBQT_TYPE_QMenu; - - return p; -} - -HB_FUNC( QT_QMENU ) -{ - QMenu * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QMenu( hbqt_par_QString( 1 ), HB_ISPOINTER( 2 ) ? hbqt_par_QWidget( 2 ) : 0 ) ; - } - else - { - pObj = new QMenu( HB_ISPOINTER( 1 ) ? hbqt_par_QWidget( 1 ) : 0 ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QMenu( ( void * ) pObj, true ) ); -} - -/* QAction * actionAt ( const QPoint & pt ) const */ -HB_FUNC( QT_QMENU_ACTIONAT ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QRect actionGeometry ( QAction * act ) const */ -HB_FUNC( QT_QMENU_ACTIONGEOMETRY ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->actionGeometry( hbqt_par_QAction( 2 ) ) ), true ) ); -} - -/* QAction * activeAction () const */ -HB_FUNC( QT_QMENU_ACTIVEACTION ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->activeAction(), false ) ); -} - -/* QAction * addAction ( const QString & text ) */ -HB_FUNC( QT_QMENU_ADDACTION ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QIcon & icon, const QString & text ) */ -HB_FUNC( QT_QMENU_ADDACTION_1 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) */ -HB_FUNC( QT_QMENU_ADDACTION_2 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), ( const char * ) hb_parc( 4 ), *hbqt_par_QKeySequence( 5 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) */ -HB_FUNC( QT_QMENU_ADDACTION_3 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ), hbqt_par_QObject( 4 ), ( const char * ) hb_parc( 5 ), *hbqt_par_QKeySequence( 6 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* void addAction ( QAction * action ) */ -HB_FUNC( QT_QMENU_ADDACTION_4 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* QAction * addMenu ( QMenu * menu ) */ -HB_FUNC( QT_QMENU_ADDMENU ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addMenu( hbqt_par_QMenu( 2 ) ), false ) ); -} - -/* QMenu * addMenu ( const QString & title ) */ -HB_FUNC( QT_QMENU_ADDMENU_1 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->addMenu( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QMenu * addMenu ( const QIcon & icon, const QString & title ) */ -HB_FUNC( QT_QMENU_ADDMENU_2 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->addMenu( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addSeparator () */ -HB_FUNC( QT_QMENU_ADDSEPARATOR ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addSeparator(), false ) ); -} - -/* void clear () */ -HB_FUNC( QT_QMENU_CLEAR ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->clear(); -} - -/* QAction * defaultAction () const */ -HB_FUNC( QT_QMENU_DEFAULTACTION ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->defaultAction(), false ) ); -} - -/* QAction * exec () */ -HB_FUNC( QT_QMENU_EXEC ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->exec(), false ) ); -} - -/* QAction * exec ( const QPoint & p, QAction * action = 0 ) */ -HB_FUNC( QT_QMENU_EXEC_1 ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->exec( *hbqt_par_QPoint( 2 ), hbqt_par_QAction( 3 ) ), false ) ); -} - -/* void hideTearOffMenu () */ -HB_FUNC( QT_QMENU_HIDETEAROFFMENU ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->hideTearOffMenu(); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QMENU_ICON ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* QAction * insertMenu ( QAction * before, QMenu * menu ) */ -HB_FUNC( QT_QMENU_INSERTMENU ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->insertMenu( hbqt_par_QAction( 2 ), hbqt_par_QMenu( 3 ) ), false ) ); -} - -/* QAction * insertSeparator ( QAction * before ) */ -HB_FUNC( QT_QMENU_INSERTSEPARATOR ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->insertSeparator( hbqt_par_QAction( 2 ) ), false ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QMENU_ISEMPTY ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isTearOffEnabled () const */ -HB_FUNC( QT_QMENU_ISTEAROFFENABLED ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retl( ( p )->isTearOffEnabled() ); -} - -/* bool isTearOffMenuVisible () const */ -HB_FUNC( QT_QMENU_ISTEAROFFMENUVISIBLE ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retl( ( p )->isTearOffMenuVisible() ); -} - -/* QAction * menuAction () const */ -HB_FUNC( QT_QMENU_MENUACTION ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->menuAction(), false ) ); -} - -/* void popup ( const QPoint & p, QAction * atAction = 0 ) */ -HB_FUNC( QT_QMENU_POPUP ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->popup( *hbqt_par_QPoint( 2 ), hbqt_par_QAction( 3 ) ); -} - -/* bool separatorsCollapsible () const */ -HB_FUNC( QT_QMENU_SEPARATORSCOLLAPSIBLE ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retl( ( p )->separatorsCollapsible() ); -} - -/* void setActiveAction ( QAction * act ) */ -HB_FUNC( QT_QMENU_SETACTIVEACTION ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->setActiveAction( hbqt_par_QAction( 2 ) ); -} - -/* void setDefaultAction ( QAction * act ) */ -HB_FUNC( QT_QMENU_SETDEFAULTACTION ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->setDefaultAction( hbqt_par_QAction( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QMENU_SETICON ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setSeparatorsCollapsible ( bool collapse ) */ -HB_FUNC( QT_QMENU_SETSEPARATORSCOLLAPSIBLE ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->setSeparatorsCollapsible( hb_parl( 2 ) ); -} - -/* void setTearOffEnabled ( bool ) */ -HB_FUNC( QT_QMENU_SETTEAROFFENABLED ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - ( p )->setTearOffEnabled( hb_parl( 2 ) ); -} - -/* void setTitle ( const QString & title ) */ -HB_FUNC( QT_QMENU_SETTITLE ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - { - void * pText; - ( p )->setTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString title () const */ -HB_FUNC( QT_QMENU_TITLE ) -{ - QMenu * p = hbqt_par_QMenu( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp b/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp deleted file mode 100644 index 65727dd392..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMenuBar.cpp +++ /dev/null @@ -1,222 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QAction * defaultAction () const - * // OSMenuRef macMenu () - * // void setDefaultAction ( QAction * act ) - */ - -#include - -#include - - -/* - * QMenuBar ( QWidget * parent = 0 ) - * ~QMenuBar () - */ - -typedef struct -{ - QPointer< QMenuBar > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMenuBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QMenuBar ) -{ - HBQT_GC_T_QMenuBar * p = ( HBQT_GC_T_QMenuBar * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMenuBar * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMenuBar( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMenuBar * p = ( HBQT_GC_T_QMenuBar * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMenuBar ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMenuBar >( ( QMenuBar * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMenuBar; - p->type = HBQT_TYPE_QMenuBar; - - return p; -} - -HB_FUNC( QT_QMENUBAR ) -{ - QMenuBar * pObj = NULL; - - pObj = new QMenuBar( HB_ISPOINTER( 1 ) ? hbqt_par_QWidget( 1 ) : 0 ) ; - - hb_retptrGC( hbqt_gcAllocate_QMenuBar( ( void * ) pObj, true ) ); -} - -/* QAction * activeAction () const */ -HB_FUNC( QT_QMENUBAR_ACTIVEACTION ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->activeAction(), false ) ); -} - -/* QAction * addAction ( const QString & text ) */ -HB_FUNC( QT_QMENUBAR_ADDACTION ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) */ -HB_FUNC( QT_QMENUBAR_ADDACTION_1 ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), ( const char * ) hb_parc( 4 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* void addAction ( QAction * action ) */ -HB_FUNC( QT_QMENUBAR_ADDACTION_2 ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - ( p )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* QAction * addMenu ( QMenu * menu ) */ -HB_FUNC( QT_QMENUBAR_ADDMENU ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addMenu( hbqt_par_QMenu( 2 ) ), false ) ); -} - -/* QMenu * addMenu ( const QString & title ) */ -HB_FUNC( QT_QMENUBAR_ADDMENU_1 ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->addMenu( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QMenu * addMenu ( const QIcon & icon, const QString & title ) */ -HB_FUNC( QT_QMENUBAR_ADDMENU_2 ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->addMenu( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addSeparator () */ -HB_FUNC( QT_QMENUBAR_ADDSEPARATOR ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addSeparator(), false ) ); -} - -/* void clear () */ -HB_FUNC( QT_QMENUBAR_CLEAR ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - ( p )->clear(); -} - -/* QAction * insertMenu ( QAction * before, QMenu * menu ) */ -HB_FUNC( QT_QMENUBAR_INSERTMENU ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->insertMenu( hbqt_par_QAction( 2 ), hbqt_par_QMenu( 3 ) ), false ) ); -} - -/* QAction * insertSeparator ( QAction * before ) */ -HB_FUNC( QT_QMENUBAR_INSERTSEPARATOR ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->insertSeparator( hbqt_par_QAction( 2 ) ), false ) ); -} - -/* bool isDefaultUp () const */ -HB_FUNC( QT_QMENUBAR_ISDEFAULTUP ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - hb_retl( ( p )->isDefaultUp() ); -} - -/* void setActiveAction ( QAction * act ) */ -HB_FUNC( QT_QMENUBAR_SETACTIVEACTION ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - ( p )->setActiveAction( hbqt_par_QAction( 2 ) ); -} - -/* void setDefaultUp ( bool ) */ -HB_FUNC( QT_QMENUBAR_SETDEFAULTUP ) -{ - QMenuBar * p = hbqt_par_QMenuBar( 1 ); - if( p ) - ( p )->setDefaultUp( hb_parl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp b/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp deleted file mode 100644 index 6165c0c283..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMessageBox.cpp +++ /dev/null @@ -1,452 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ButtonRole { InvalidRole, AcceptRole, RejectRole, DestructiveRole, ..., ResetRole } - * enum Icon { NoIcon, Question, Information, Warning, Critical } - * enum StandardButton { Ok, Open, Save, Cancel, ..., ButtonMask } - * flags StandardButtons - */ - -/* - * Constructed[ 39/39 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMessageBox ( QWidget * parent = 0 ) - * QMessageBox ( Icon icon, const QString & title, const QString & text, StandardButtons buttons = NoButton, QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint ) - * ~QMessageBox () - */ - -typedef struct -{ - QPointer< QMessageBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMessageBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QMessageBox ) -{ - HBQT_GC_T_QMessageBox * p = ( HBQT_GC_T_QMessageBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMessageBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMessageBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMessageBox * p = ( HBQT_GC_T_QMessageBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMessageBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMessageBox >( ( QMessageBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMessageBox; - p->type = HBQT_TYPE_QMessageBox; - - return p; -} - -HB_FUNC( QT_QMESSAGEBOX ) -{ - QMessageBox * pObj = NULL; - - pObj = new QMessageBox() ; - - hb_retptrGC( hbqt_gcAllocate_QMessageBox( ( void * ) pObj, true ) ); -} - -/* void addButton ( QAbstractButton * button, ButtonRole role ) */ -HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->addButton( hbqt_par_QAbstractButton( 2 ), ( QMessageBox::ButtonRole ) hb_parni( 3 ) ); -} - -/* QPushButton * addButton ( const QString & text, ButtonRole role ) */ -HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON_1 ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QPushButton( ( p )->addButton( hb_parstr_utf8( 2, &pText, NULL ), ( QMessageBox::ButtonRole ) hb_parni( 3 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QPushButton * addButton ( StandardButton button ) */ -HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON_2 ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPushButton( ( p )->addButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ), false ) ); -} - -/* QAbstractButton * button ( StandardButton which ) const */ -HB_FUNC( QT_QMESSAGEBOX_BUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractButton( ( p )->button( ( QMessageBox::StandardButton ) hb_parni( 2 ) ), false ) ); -} - -/* ButtonRole buttonRole ( QAbstractButton * button ) const */ -HB_FUNC( QT_QMESSAGEBOX_BUTTONROLE ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retni( ( QMessageBox::ButtonRole ) ( p )->buttonRole( hbqt_par_QAbstractButton( 2 ) ) ); -} - -/* QList buttons () const */ -HB_FUNC( QT_QMESSAGEBOX_BUTTONS ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->buttons() ), true ) ); -} - -/* QAbstractButton * clickedButton () const */ -HB_FUNC( QT_QMESSAGEBOX_CLICKEDBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractButton( ( p )->clickedButton(), false ) ); -} - -/* QPushButton * defaultButton () const */ -HB_FUNC( QT_QMESSAGEBOX_DEFAULTBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPushButton( ( p )->defaultButton(), false ) ); -} - -/* QString detailedText () const */ -HB_FUNC( QT_QMESSAGEBOX_DETAILEDTEXT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->detailedText().toUtf8().data() ); -} - -/* QAbstractButton * escapeButton () const */ -HB_FUNC( QT_QMESSAGEBOX_ESCAPEBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractButton( ( p )->escapeButton(), false ) ); -} - -/* Icon icon () const */ -HB_FUNC( QT_QMESSAGEBOX_ICON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retni( ( QMessageBox::Icon ) ( p )->icon() ); -} - -/* QPixmap iconPixmap () const */ -HB_FUNC( QT_QMESSAGEBOX_ICONPIXMAP ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->iconPixmap() ), true ) ); -} - -/* QString informativeText () const */ -HB_FUNC( QT_QMESSAGEBOX_INFORMATIVETEXT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->informativeText().toUtf8().data() ); -} - -/* void open ( QObject * receiver, const char * member ) */ -HB_FUNC( QT_QMESSAGEBOX_OPEN ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->open( hbqt_par_QObject( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* void removeButton ( QAbstractButton * button ) */ -HB_FUNC( QT_QMESSAGEBOX_REMOVEBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->removeButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* void setDefaultButton ( QPushButton * button ) */ -HB_FUNC( QT_QMESSAGEBOX_SETDEFAULTBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setDefaultButton( hbqt_par_QPushButton( 2 ) ); -} - -/* void setDefaultButton ( StandardButton button ) */ -HB_FUNC( QT_QMESSAGEBOX_SETDEFAULTBUTTON_1 ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setDefaultButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ); -} - -/* void setDetailedText ( const QString & text ) */ -HB_FUNC( QT_QMESSAGEBOX_SETDETAILEDTEXT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - ( p )->setDetailedText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setEscapeButton ( QAbstractButton * button ) */ -HB_FUNC( QT_QMESSAGEBOX_SETESCAPEBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setEscapeButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* void setEscapeButton ( StandardButton button ) */ -HB_FUNC( QT_QMESSAGEBOX_SETESCAPEBUTTON_1 ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setEscapeButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ); -} - -/* void setIcon ( Icon ) */ -HB_FUNC( QT_QMESSAGEBOX_SETICON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setIcon( ( QMessageBox::Icon ) hb_parni( 2 ) ); -} - -/* void setIconPixmap ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QMESSAGEBOX_SETICONPIXMAP ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setIconPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* void setInformativeText ( const QString & text ) */ -HB_FUNC( QT_QMESSAGEBOX_SETINFORMATIVETEXT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - ( p )->setInformativeText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setStandardButtons ( StandardButtons buttons ) */ -HB_FUNC( QT_QMESSAGEBOX_SETSTANDARDBUTTONS ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setStandardButtons( ( QMessageBox::StandardButtons ) hb_parni( 2 ) ); -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QMESSAGEBOX_SETTEXT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextFormat ( Qt::TextFormat format ) */ -HB_FUNC( QT_QMESSAGEBOX_SETTEXTFORMAT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setTextFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* void setWindowModality ( Qt::WindowModality windowModality ) */ -HB_FUNC( QT_QMESSAGEBOX_SETWINDOWMODALITY ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - ( p )->setWindowModality( ( Qt::WindowModality ) hb_parni( 2 ) ); -} - -/* void setWindowTitle ( const QString & title ) */ -HB_FUNC( QT_QMESSAGEBOX_SETWINDOWTITLE ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - ( p )->setWindowTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* StandardButton standardButton ( QAbstractButton * button ) const */ -HB_FUNC( QT_QMESSAGEBOX_STANDARDBUTTON ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retni( ( QMessageBox::StandardButton ) ( p )->standardButton( hbqt_par_QAbstractButton( 2 ) ) ); -} - -/* StandardButtons standardButtons () const */ -HB_FUNC( QT_QMESSAGEBOX_STANDARDBUTTONS ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retni( ( QMessageBox::StandardButtons ) ( p )->standardButtons() ); -} - -/* QString text () const */ -HB_FUNC( QT_QMESSAGEBOX_TEXT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* Qt::TextFormat textFormat () const */ -HB_FUNC( QT_QMESSAGEBOX_TEXTFORMAT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retni( ( Qt::TextFormat ) ( p )->textFormat() ); -} - -/* void about ( QWidget * parent, const QString & title, const QString & text ) */ -HB_FUNC( QT_QMESSAGEBOX_ABOUT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - ( p )->about( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void aboutQt ( QWidget * parent, const QString & title = QString() ) */ -HB_FUNC( QT_QMESSAGEBOX_ABOUTQT ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - ( p )->aboutQt( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* StandardButton critical ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) */ -HB_FUNC( QT_QMESSAGEBOX_CRITICAL ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( QMessageBox::StandardButton ) ( p )->critical( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); - hb_strfree( pText ); - } -} - -/* StandardButton information ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) */ -HB_FUNC( QT_QMESSAGEBOX_INFORMATION ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( QMessageBox::StandardButton ) ( p )->information( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); - hb_strfree( pText ); - } -} - -/* StandardButton question ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) */ -HB_FUNC( QT_QMESSAGEBOX_QUESTION ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( QMessageBox::StandardButton ) ( p )->question( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); - hb_strfree( pText ); - } -} - -/* StandardButton warning ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) */ -HB_FUNC( QT_QMESSAGEBOX_WARNING ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( QMessageBox::StandardButton ) ( p )->warning( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parstr_utf8( 4, &pText, NULL ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); - hb_strfree( pText ); - } -} - -/* int exec () */ -HB_FUNC( QT_QMESSAGEBOX_EXEC ) -{ - QMessageBox * p = hbqt_par_QMessageBox( 1 ); - if( p ) - hb_retni( ( p )->exec() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp deleted file mode 100644 index 5e2bd7fa95..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMouseEvent.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Type { None, AccessibilityDescription, AccessibilityHelp, AccessibilityPrepare, ..., MaxUser } - */ - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMouseEvent ( Type type, const QPoint & position, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - * QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - * ~QMouseEvent () - */ - -typedef struct -{ - QMouseEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMouseEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QMouseEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QMouseEvent * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMouseEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMouseEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMouseEvent; - p->type = HBQT_TYPE_QMouseEvent; - - return p; -} - -HB_FUNC( QT_QMOUSEEVENT ) -{ - QMouseEvent * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QMouseEvent( *hbqt_par_QMouseEvent( 1 ) ) ; - } - else if( hb_pcount() == 5 ) - { - pObj = new QMouseEvent( ( QEvent::Type ) hb_parni( 1 ), *hbqt_par_QPoint( 2 ), ( Qt::MouseButton ) hb_parni( 3 ), ( Qt::MouseButtons ) hb_parni( 4 ), ( Qt::KeyboardModifiers ) hb_parni( 5 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QMouseEvent( ( void * ) pObj, true ) ); -} - -/* Qt::MouseButton button () const */ -HB_FUNC( QT_QMOUSEEVENT_BUTTON ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButton ) ( p )->button() ); -} - -/* Qt::MouseButtons buttons () const */ -HB_FUNC( QT_QMOUSEEVENT_BUTTONS ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); -} - -/* const QPoint & globalPos () const */ -HB_FUNC( QT_QMOUSEEVENT_GLOBALPOS ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->globalPos() ), true ) ); -} - -/* int globalX () const */ -HB_FUNC( QT_QMOUSEEVENT_GLOBALX ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retni( ( p )->globalX() ); -} - -/* int globalY () const */ -HB_FUNC( QT_QMOUSEEVENT_GLOBALY ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retni( ( p )->globalY() ); -} - -/* const QPoint & pos () const */ -HB_FUNC( QT_QMOUSEEVENT_POS ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* QPointF posF () const */ -HB_FUNC( QT_QMOUSEEVENT_POSF ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->posF() ), true ) ); -} - -/* int x () const */ -HB_FUNC( QT_QMOUSEEVENT_X ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QMOUSEEVENT_Y ) -{ - QMouseEvent * p = hbqt_par_QMouseEvent( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp deleted file mode 100644 index 3dc07968f8..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMoveEvent.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QMoveEvent ( const QPoint & pos, const QPoint & oldPos ) - * ~QMoveEvent () - */ - -typedef struct -{ - QMoveEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMoveEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QMoveEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QMoveEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QMoveEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QMoveEvent; - p->type = HBQT_TYPE_QMoveEvent; - - return p; -} - -HB_FUNC( QT_QMOVEEVENT ) -{ - // __HB_RETPTRGC__( new QMoveEvent() ); -} - -/* const QPoint & oldPos () const */ -HB_FUNC( QT_QMOVEEVENT_OLDPOS ) -{ - QMoveEvent * p = hbqt_par_QMoveEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->oldPos() ), true ) ); -} - -/* const QPoint & pos () const */ -HB_FUNC( QT_QMOVEEVENT_POS ) -{ - QMoveEvent * p = hbqt_par_QMoveEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QMovie.cpp b/harbour/contrib/hbqt/qtgui/g/QMovie.cpp deleted file mode 100644 index 964f9b5252..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QMovie.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CacheMode { CacheNone, CacheAll } - * enum MovieState { NotRunning, Paused, Running } - */ - -/* - * Constructed[ 28/28 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* QMovie ( QObject * parent = 0 ) - * QMovie ( QIODevice * device, const QByteArray & format = QByteArray(), QObject * parent = 0 ) - * QMovie ( const QString & fileName, const QByteArray & format = QByteArray(), QObject * parent = 0 ) - * ~QMovie () - */ - -typedef struct -{ - QPointer< QMovie > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QMovie; - -HBQT_GC_FUNC( hbqt_gcRelease_QMovie ) -{ - HBQT_GC_T_QMovie * p = ( HBQT_GC_T_QMovie * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QMovie * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QMovie( void * pObj, bool bNew ) -{ - HBQT_GC_T_QMovie * p = ( HBQT_GC_T_QMovie * ) hb_gcAllocate( sizeof( HBQT_GC_T_QMovie ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QMovie >( ( QMovie * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QMovie; - p->type = HBQT_TYPE_QMovie; - - return p; -} - -HB_FUNC( QT_QMOVIE ) -{ - QMovie * pObj = NULL; - - pObj = new QMovie() ; - - hb_retptrGC( hbqt_gcAllocate_QMovie( ( void * ) pObj, true ) ); -} - -/* QColor backgroundColor () const */ -HB_FUNC( QT_QMOVIE_BACKGROUNDCOLOR ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->backgroundColor() ), true ) ); -} - -/* CacheMode cacheMode () const */ -HB_FUNC( QT_QMOVIE_CACHEMODE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( QMovie::CacheMode ) ( p )->cacheMode() ); -} - -/* int currentFrameNumber () const */ -HB_FUNC( QT_QMOVIE_CURRENTFRAMENUMBER ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( p )->currentFrameNumber() ); -} - -/* QImage currentImage () const */ -HB_FUNC( QT_QMOVIE_CURRENTIMAGE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->currentImage() ), true ) ); -} - -/* QPixmap currentPixmap () const */ -HB_FUNC( QT_QMOVIE_CURRENTPIXMAP ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->currentPixmap() ), true ) ); -} - -/* QIODevice * device () const */ -HB_FUNC( QT_QMOVIE_DEVICE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->device(), false ) ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QMOVIE_FILENAME ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* QByteArray format () const */ -HB_FUNC( QT_QMOVIE_FORMAT ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->format() ), true ) ); -} - -/* int frameCount () const */ -HB_FUNC( QT_QMOVIE_FRAMECOUNT ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( p )->frameCount() ); -} - -/* QRect frameRect () const */ -HB_FUNC( QT_QMOVIE_FRAMERECT ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->frameRect() ), true ) ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QMOVIE_ISVALID ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* bool jumpToFrame ( int frameNumber ) */ -HB_FUNC( QT_QMOVIE_JUMPTOFRAME ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retl( ( p )->jumpToFrame( hb_parni( 2 ) ) ); -} - -/* int loopCount () const */ -HB_FUNC( QT_QMOVIE_LOOPCOUNT ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( p )->loopCount() ); -} - -/* int nextFrameDelay () const */ -HB_FUNC( QT_QMOVIE_NEXTFRAMEDELAY ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( p )->nextFrameDelay() ); -} - -/* QSize scaledSize () */ -HB_FUNC( QT_QMOVIE_SCALEDSIZE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->scaledSize() ), true ) ); -} - -/* void setBackgroundColor ( const QColor & color ) */ -HB_FUNC( QT_QMOVIE_SETBACKGROUNDCOLOR ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setCacheMode ( CacheMode mode ) */ -HB_FUNC( QT_QMOVIE_SETCACHEMODE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setCacheMode( ( QMovie::CacheMode ) hb_parni( 2 ) ); -} - -/* void setDevice ( QIODevice * device ) */ -HB_FUNC( QT_QMOVIE_SETDEVICE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* void setFileName ( const QString & fileName ) */ -HB_FUNC( QT_QMOVIE_SETFILENAME ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFormat ( const QByteArray & format ) */ -HB_FUNC( QT_QMOVIE_SETFORMAT ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* void setScaledSize ( const QSize & size ) */ -HB_FUNC( QT_QMOVIE_SETSCALEDSIZE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setScaledSize( *hbqt_par_QSize( 2 ) ); -} - -/* int speed () const */ -HB_FUNC( QT_QMOVIE_SPEED ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( p )->speed() ); -} - -/* MovieState state () const */ -HB_FUNC( QT_QMOVIE_STATE ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retni( ( QMovie::MovieState ) ( p )->state() ); -} - -/* bool jumpToNextFrame () */ -HB_FUNC( QT_QMOVIE_JUMPTONEXTFRAME ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - hb_retl( ( p )->jumpToNextFrame() ); -} - -/* void setPaused ( bool paused ) */ -HB_FUNC( QT_QMOVIE_SETPAUSED ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setPaused( hb_parl( 2 ) ); -} - -/* void setSpeed ( int percentSpeed ) */ -HB_FUNC( QT_QMOVIE_SETSPEED ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->setSpeed( hb_parni( 2 ) ); -} - -/* void start () */ -HB_FUNC( QT_QMOVIE_START ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->start(); -} - -/* void stop () */ -HB_FUNC( QT_QMOVIE_STOP ) -{ - QMovie * p = hbqt_par_QMovie( 1 ); - if( p ) - ( p )->stop(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp deleted file mode 100644 index bd27b65779..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPageSetupDialog.cpp +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum PageSetupDialogOption { DontUseSheet } - * flags PageSetupDialogOptions - */ - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPageSetupDialog ( QPrinter * printer, QWidget * parent = 0 ) - * QPageSetupDialog ( QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QPageSetupDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPageSetupDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QPageSetupDialog ) -{ - HBQT_GC_T_QPageSetupDialog * p = ( HBQT_GC_T_QPageSetupDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QPageSetupDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPageSetupDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QPageSetupDialog * p = ( HBQT_GC_T_QPageSetupDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QPageSetupDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QPageSetupDialog >( ( QPageSetupDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QPageSetupDialog; - p->type = HBQT_TYPE_QPageSetupDialog; - - return p; -} - -HB_FUNC( QT_QPAGESETUPDIALOG ) -{ - QPageSetupDialog * pObj = NULL; - - if( hb_pcount() >= 2 ) - pObj = new QPageSetupDialog( hbqt_par_QPrinter( 1 ), hbqt_par_QWidget( 1 ) ) ; - else - pObj = new QPageSetupDialog( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QPageSetupDialog( ( void * ) pObj, true ) ); -} - -/* virtual int exec () */ -HB_FUNC( QT_QPAGESETUPDIALOG_EXEC ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - hb_retni( ( p )->exec() ); -} - -/* void open ( QObject * receiver, const char * member ) */ -HB_FUNC( QT_QPAGESETUPDIALOG_OPEN ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - ( p )->open( hbqt_par_QObject( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* PageSetupDialogOptions options () const */ -HB_FUNC( QT_QPAGESETUPDIALOG_OPTIONS ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - hb_retni( ( QPageSetupDialog::PageSetupDialogOptions ) ( p )->options() ); -} - -/* QPrinter * printer () */ -HB_FUNC( QT_QPAGESETUPDIALOG_PRINTER ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPrinter( ( p )->printer(), false ) ); -} - -/* void setOption ( PageSetupDialogOption option, bool on = true ) */ -HB_FUNC( QT_QPAGESETUPDIALOG_SETOPTION ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - ( p )->setOption( ( QPageSetupDialog::PageSetupDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( PageSetupDialogOptions options ) */ -HB_FUNC( QT_QPAGESETUPDIALOG_SETOPTIONS ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - ( p )->setOptions( ( QPageSetupDialog::PageSetupDialogOptions ) hb_parni( 2 ) ); -} - -/* virtual void setVisible ( bool visible ) */ -HB_FUNC( QT_QPAGESETUPDIALOG_SETVISIBLE ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* bool testOption ( PageSetupDialogOption option ) const */ -HB_FUNC( QT_QPAGESETUPDIALOG_TESTOPTION ) -{ - QPageSetupDialog * p = hbqt_par_QPageSetupDialog( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QPageSetupDialog::PageSetupDialogOption ) hb_parni( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp b/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp deleted file mode 100644 index 5544a1462c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPaintDevice.cpp +++ /dev/null @@ -1,174 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } - */ - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include - -/* - * QPaintDevice () - * virtual ~QPaintDevice () - */ - -typedef struct -{ - QPaintDevice * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPaintDevice; - -HBQT_GC_FUNC( hbqt_gcRelease_QPaintDevice ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QPaintDevice( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPaintDevice * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPaintDevice; - p->type = HBQT_TYPE_QPaintDevice; - - return p; -} - -HB_FUNC( QT_QPAINTDEVICE ) -{ - -} - -/* int depth () const */ -HB_FUNC( QT_QPAINTDEVICE_DEPTH ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->depth() ); -} - -/* int height () const */ -HB_FUNC( QT_QPAINTDEVICE_HEIGHT ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* int heightMM () const */ -HB_FUNC( QT_QPAINTDEVICE_HEIGHTMM ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->heightMM() ); -} - -/* int logicalDpiX () const */ -HB_FUNC( QT_QPAINTDEVICE_LOGICALDPIX ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->logicalDpiX() ); -} - -/* int logicalDpiY () const */ -HB_FUNC( QT_QPAINTDEVICE_LOGICALDPIY ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->logicalDpiY() ); -} - -/* int numColors () const */ -HB_FUNC( QT_QPAINTDEVICE_NUMCOLORS ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->numColors() ); -} - -/* virtual QPaintEngine * paintEngine () const = 0 */ -HB_FUNC( QT_QPAINTDEVICE_PAINTENGINE ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintEngine( ( p )->paintEngine(), false ) ); -} - -/* bool paintingActive () const */ -HB_FUNC( QT_QPAINTDEVICE_PAINTINGACTIVE ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retl( ( p )->paintingActive() ); -} - -/* int physicalDpiX () const */ -HB_FUNC( QT_QPAINTDEVICE_PHYSICALDPIX ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->physicalDpiX() ); -} - -/* int physicalDpiY () const */ -HB_FUNC( QT_QPAINTDEVICE_PHYSICALDPIY ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->physicalDpiY() ); -} - -/* int width () const */ -HB_FUNC( QT_QPAINTDEVICE_WIDTH ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - -/* int widthMM () const */ -HB_FUNC( QT_QPAINTDEVICE_WIDTHMM ) -{ - QPaintDevice * p = hbqt_par_QPaintDevice( 1 ); - if( p ) - hb_retni( ( p )->widthMM() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp b/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp deleted file mode 100644 index 96748d0d5d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPaintEngine.cpp +++ /dev/null @@ -1,272 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum DirtyFlag { DirtyPen, DirtyBrush, DirtyBrushOrigin, DirtyFont, ..., AllDirty } - * flags DirtyFlags - * enum PaintEngineFeature { AlphaBlend, Antialiasing, BlendModes, BrushStroke, ..., AllFeatures } - * flags PaintEngineFeatures - * enum PolygonDrawMode { OddEvenMode, WindingMode, ConvexMode, PolylineMode } - * enum Type { X11, Windows, MacPrinter, CoreGraphics, ..., MaxUser } - */ - -/* - * Constructed[ 23/23 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // virtual void updateState ( const QPaintEngineState & state ) = 0 - */ - -#include - -#include - - -/* - * QPaintEngine ( PaintEngineFeatures caps = 0 ) - * virtual ~QPaintEngine () - */ - -typedef struct -{ - QPaintEngine * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPaintEngine; - -HBQT_GC_FUNC( hbqt_gcRelease_QPaintEngine ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QPaintEngine( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPaintEngine * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPaintEngine; - p->type = HBQT_TYPE_QPaintEngine; - - return p; -} - -HB_FUNC( QT_QPAINTENGINE ) -{ - -} - -/* virtual bool begin ( QPaintDevice * pdev ) = 0 */ -HB_FUNC( QT_QPAINTENGINE_BEGIN ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retl( ( p )->begin( hbqt_par_QPaintDevice( 2 ) ) ); -} - -/* virtual void drawEllipse ( const QRectF & rect ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWELLIPSE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawEllipse( *hbqt_par_QRectF( 2 ) ); -} - -/* virtual void drawEllipse ( const QRect & rect ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWELLIPSE_1 ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawEllipse( *hbqt_par_QRect( 2 ) ); -} - -/* virtual void drawImage ( const QRectF & rectangle, const QImage & image, const QRectF & sr, Qt::ImageConversionFlags flags = Qt::AutoColor ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWIMAGE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( 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 ) ); -} - -/* virtual void drawLines ( const QLineF * lines, int lineCount ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWLINES ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawLines( hbqt_par_QLineF( 2 ), hb_parni( 3 ) ); -} - -/* virtual void drawLines ( const QLine * lines, int lineCount ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWLINES_1 ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawLines( hbqt_par_QLine( 2 ), hb_parni( 3 ) ); -} - -/* virtual void drawPath ( const QPainterPath & path ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWPATH ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawPath( *hbqt_par_QPainterPath( 2 ) ); -} - -/* virtual void drawPixmap ( const QRectF & r, const QPixmap & pm, const QRectF & sr ) = 0 */ -HB_FUNC( QT_QPAINTENGINE_DRAWPIXMAP ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); -} - -/* virtual void drawPoints ( const QPointF * points, int pointCount ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWPOINTS ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawPoints( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* virtual void drawPoints ( const QPoint * points, int pointCount ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWPOINTS_1 ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawPoints( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* virtual void drawPolygon ( const QPointF * points, int pointCount, PolygonDrawMode mode ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWPOLYGON ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ), ( QPaintEngine::PolygonDrawMode ) hb_parni( 4 ) ); -} - -/* virtual void drawPolygon ( const QPoint * points, int pointCount, PolygonDrawMode mode ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWPOLYGON_1 ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ), ( QPaintEngine::PolygonDrawMode ) hb_parni( 4 ) ); -} - -/* virtual void drawRects ( const QRectF * rects, int rectCount ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWRECTS ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawRects( hbqt_par_QRectF( 2 ), hb_parni( 3 ) ); -} - -/* virtual void drawRects ( const QRect * rects, int rectCount ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWRECTS_1 ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); -} - -/* virtual void drawTextItem ( const QPointF & p, const QTextItem & textItem ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWTEXTITEM ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawTextItem( *hbqt_par_QPointF( 2 ), *hbqt_par_QTextItem( 3 ) ); -} - -/* virtual void drawTiledPixmap ( const QRectF & rect, const QPixmap & pixmap, const QPointF & p ) */ -HB_FUNC( QT_QPAINTENGINE_DRAWTILEDPIXMAP ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->drawTiledPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QPointF( 4 ) ); -} - -/* virtual bool end () = 0 */ -HB_FUNC( QT_QPAINTENGINE_END ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retl( ( p )->end() ); -} - -/* bool hasFeature ( PaintEngineFeatures feature ) const */ -HB_FUNC( QT_QPAINTENGINE_HASFEATURE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retl( ( p )->hasFeature( ( QPaintEngine::PaintEngineFeatures ) hb_parni( 2 ) ) ); -} - -/* bool isActive () const */ -HB_FUNC( QT_QPAINTENGINE_ISACTIVE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retl( ( p )->isActive() ); -} - -/* QPaintDevice * paintDevice () const */ -HB_FUNC( QT_QPAINTENGINE_PAINTDEVICE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintDevice( ( p )->paintDevice(), false ) ); -} - -/* QPainter * painter () const */ -HB_FUNC( QT_QPAINTENGINE_PAINTER ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainter( ( p )->painter(), false ) ); -} - -/* void setActive ( bool state ) */ -HB_FUNC( QT_QPAINTENGINE_SETACTIVE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - ( p )->setActive( hb_parl( 2 ) ); -} - -/* virtual Type type () const = 0 */ -HB_FUNC( QT_QPAINTENGINE_TYPE ) -{ - QPaintEngine * p = hbqt_par_QPaintEngine( 1 ); - if( p ) - hb_retni( ( QPaintEngine::Type ) ( p )->type() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp deleted file mode 100644 index c30c6dbe58..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPaintEvent.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPaintEvent ( const QRegion & paintRegion ) - * QPaintEvent ( const QRect & paintRect ) - */ - -typedef struct -{ - QPaintEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPaintEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QPaintEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPaintEvent * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPaintEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPaintEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPaintEvent; - p->type = HBQT_TYPE_QPaintEvent; - - return p; -} - -HB_FUNC( QT_QPAINTEVENT ) -{ - QPaintEvent * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = ( QString ) hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QRect" ) - { - pObj = new QPaintEvent( *hbqt_par_QRect( 1 ) ) ; - } - else if( objName == ( QString ) "QRegion" ) - { - pObj = new QPaintEvent( *hbqt_par_QRegion( 1 ) ) ; - } - } - - hb_retptrGC( hbqt_gcAllocate_QPaintEvent( ( void * ) pObj, true ) ); -} - -/* const QRect & rect () const */ -HB_FUNC( QT_QPAINTEVENT_RECT ) -{ - QPaintEvent * p = hbqt_par_QPaintEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->rect() ), true ) ); -} - -/* const QRegion & region () const */ -HB_FUNC( QT_QPAINTEVENT_REGION ) -{ - QPaintEvent * p = hbqt_par_QPaintEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->region() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPainter.cpp b/harbour/contrib/hbqt/qtgui/g/QPainter.cpp deleted file mode 100644 index 6b3a9ae3be..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPainter.cpp +++ /dev/null @@ -1,1586 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CompositionMode { CompositionMode_SourceOver, CompositionMode_DestinationOver, CompositionMode_Clear, CompositionMode_Source, ..., RasterOp_SourceAndNotDestination } - * enum RenderHint { Antialiasing, TextAntialiasing, SmoothPixmapTransform, HighQualityAntialiasing, NonCosmeticDefaultPen } - * enum RenderHints - */ - -/* - * Constructed[ 179/185 [ 96.76% ] ] - * - * *** 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 *** - * - * //void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) - * //void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) - * //void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) - */ - -#include - -#include - -/* - * QPainter () - * QPainter ( QPaintDevice * device ) - * ~QPainter () - */ - -typedef struct -{ - QPainter * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPainter; - -HBQT_GC_FUNC( hbqt_gcRelease_QPainter ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPainter * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPainter( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPainter * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPainter; - p->type = HBQT_TYPE_QPainter; - - return p; -} - -HB_FUNC( QT_QPAINTER ) -{ - QPainter * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPainter( hbqt_par_QPaintDevice( 1 ) ) ; - } - else - { - pObj = new QPainter() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPainter( ( void * ) pObj, true ) ); -} - -/* const QBrush & background () const */ -HB_FUNC( QT_QPAINTER_BACKGROUND ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background() ), true ) ); -} - -/* Qt::BGMode backgroundMode () const */ -HB_FUNC( QT_QPAINTER_BACKGROUNDMODE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retni( ( Qt::BGMode ) ( p )->backgroundMode() ); -} - -/* bool begin ( QPaintDevice * device ) */ -HB_FUNC( QT_QPAINTER_BEGIN ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->begin( hbqt_par_QPaintDevice( 2 ) ) ); -} - -/* QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) */ -HB_FUNC( QT_QPAINTER_BOUNDINGRECT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - { - 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 ); - } -} - -/* 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_ISOBJECT( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* const QBrush & brush () const */ -HB_FUNC( QT_QPAINTER_BRUSH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush() ), true ) ); -} - -/* QPoint brushOrigin () const */ -HB_FUNC( QT_QPAINTER_BRUSHORIGIN ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->brushOrigin() ), true ) ); -} - -/* QPainterPath clipPath () const */ -HB_FUNC( QT_QPAINTER_CLIPPATH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->clipPath() ), true ) ); -} - -/* QRegion clipRegion () const */ -HB_FUNC( QT_QPAINTER_CLIPREGION ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->clipRegion() ), true ) ); -} - -/* QMatrix combinedMatrix () const */ -HB_FUNC( QT_QPAINTER_COMBINEDMATRIX ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->combinedMatrix() ), true ) ); -} - -/* QTransform combinedTransform () const */ -HB_FUNC( QT_QPAINTER_COMBINEDTRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->combinedTransform() ), true ) ); -} - -/* CompositionMode compositionMode () const */ -HB_FUNC( QT_QPAINTER_COMPOSITIONMODE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retni( ( QPainter::CompositionMode ) ( p )->compositionMode() ); -} - -/* QPaintDevice * device () const */ -HB_FUNC( QT_QPAINTER_DEVICE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintDevice( ( p )->device(), false ) ); -} - -/* const QMatrix & deviceMatrix () const */ -HB_FUNC( QT_QPAINTER_DEVICEMATRIX ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->deviceMatrix() ), true ) ); -} - -/* const QTransform & deviceTransform () const */ -HB_FUNC( QT_QPAINTER_DEVICETRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->deviceTransform() ), true ) ); -} - -/* void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) */ -HB_FUNC( QT_QPAINTER_DRAWARC ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->drawArc( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* 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 ) - ( p )->drawChord( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* 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 ) - ( p )->drawConvexPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* 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 ) - ( p )->drawEllipse( *hbqt_par_QRectF( 2 ) ); -} - -/* 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 ) - ( 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 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 ) - ( p )->drawLine( *hbqt_par_QLineF( 2 ) ); -} - -/* 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 ) - ( p )->drawLines( hbqt_par_QLineF( 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 ) ); -} - -/* void drawPath ( const QPainterPath & path ) */ -HB_FUNC( QT_QPAINTER_DRAWPATH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->drawPath( *hbqt_par_QPainterPath( 2 ) ); -} - -/* void drawPicture ( const QPointF & point, const QPicture & picture ) */ -HB_FUNC( QT_QPAINTER_DRAWPICTURE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->drawPicture( *hbqt_par_QPointF( 2 ), *hbqt_par_QPicture( 3 ) ); -} - -/* 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 ) - ( p )->drawPie( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* 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 ) - ( p )->drawPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); -} - -/* 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 ) - ( p )->drawPoint( *hbqt_par_QPointF( 2 ) ); -} - -/* 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 ) - ( p )->drawPoints( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* 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 ) - ( p )->drawPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::FillRule ) hb_parni( 4 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); -} - -/* 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 ) - ( p )->drawPolyline( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* 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 ) - ( p )->drawRect( *hbqt_par_QRectF( 2 ) ); -} - -/* 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 ) - ( p )->drawRects( hbqt_par_QRectF( 2 ), hb_parni( 3 ) ); -} - -/* 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 ) - ( 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 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 ) - { - void * pText; - ( p )->drawText( *hbqt_par_QPointF( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* 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_ISOBJECT( 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 ) - ( p )->drawTiledPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISOBJECT( 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_ISOBJECT( 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 ) ); -} - -/* bool end () */ -HB_FUNC( QT_QPAINTER_END ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->end() ); -} - -/* void eraseRect ( const QRectF & rectangle ) */ -HB_FUNC( QT_QPAINTER_ERASERECT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->eraseRect( *hbqt_par_QRectF( 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 ) ); -} - -/* void fillPath ( const QPainterPath & path, const QBrush & brush ) */ -HB_FUNC( QT_QPAINTER_FILLPATH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->fillPath( *hbqt_par_QPainterPath( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* void fillRect ( const QRectF & rectangle, const QBrush & brush ) */ -HB_FUNC( QT_QPAINTER_FILLRECT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* void fillRect ( const QRect & rectangle, const QBrush & brush ) */ -HB_FUNC( QT_QPAINTER_FILLRECT_1 ) -{ - 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_2 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* void fillRect ( const QRectF & rectangle, const QColor & color ) */ -HB_FUNC( QT_QPAINTER_FILLRECT_3 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* void fillRect ( int x, int y, int width, int height, const QBrush & brush ) */ -HB_FUNC( QT_QPAINTER_FILLRECT_4 ) -{ - 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_5 ) -{ - 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_6 ) -{ - 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 QRect & rectangle, Qt::GlobalColor color ) */ -HB_FUNC( QT_QPAINTER_FILLRECT_7 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); -} - -/* void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) */ -HB_FUNC( QT_QPAINTER_FILLRECT_8 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); -} - -/* const QFont & font () const */ -HB_FUNC( QT_QPAINTER_FONT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QFontInfo fontInfo () const */ -HB_FUNC( QT_QPAINTER_FONTINFO ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFontInfo( new QFontInfo( ( p )->fontInfo() ), true ) ); -} - -/* QFontMetrics fontMetrics () const */ -HB_FUNC( QT_QPAINTER_FONTMETRICS ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFontMetrics( new QFontMetrics( ( p )->fontMetrics() ), true ) ); -} - -/* bool hasClipping () const */ -HB_FUNC( QT_QPAINTER_HASCLIPPING ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->hasClipping() ); -} - -/* void initFrom ( const QWidget * widget ) */ -HB_FUNC( QT_QPAINTER_INITFROM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->initFrom( hbqt_par_QWidget( 2 ) ); -} - -/* bool isActive () const */ -HB_FUNC( QT_QPAINTER_ISACTIVE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->isActive() ); -} - -/* Qt::LayoutDirection layoutDirection () const */ -HB_FUNC( QT_QPAINTER_LAYOUTDIRECTION ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() ); -} - -/* qreal opacity () const */ -HB_FUNC( QT_QPAINTER_OPACITY ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retnd( ( p )->opacity() ); -} - -/* QPaintEngine * paintEngine () const */ -HB_FUNC( QT_QPAINTER_PAINTENGINE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintEngine( ( p )->paintEngine(), false ) ); -} - -/* const QPen & pen () const */ -HB_FUNC( QT_QPAINTER_PEN ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) ); -} - -/* RenderHints renderHints () const */ -HB_FUNC( QT_QPAINTER_RENDERHINTS ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retni( ( QPainter::RenderHints ) ( p )->renderHints() ); -} - -/* void resetMatrix () */ -HB_FUNC( QT_QPAINTER_RESETMATRIX ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->resetMatrix(); -} - -/* void resetTransform () */ -HB_FUNC( QT_QPAINTER_RESETTRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->resetTransform(); -} - -/* void restore () */ -HB_FUNC( QT_QPAINTER_RESTORE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->restore(); -} - -/* void rotate ( qreal angle ) */ -HB_FUNC( QT_QPAINTER_ROTATE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->rotate( hb_parnd( 2 ) ); -} - -/* void save () */ -HB_FUNC( QT_QPAINTER_SAVE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->save(); -} - -/* void scale ( qreal sx, qreal sy ) */ -HB_FUNC( QT_QPAINTER_SCALE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->scale( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setBackground ( const QBrush & brush ) */ -HB_FUNC( QT_QPAINTER_SETBACKGROUND ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setBackgroundMode ( Qt::BGMode mode ) */ -HB_FUNC( QT_QPAINTER_SETBACKGROUNDMODE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setBackgroundMode( ( Qt::BGMode ) hb_parni( 2 ) ); -} - -/* void setBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QPAINTER_SETBRUSH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setBrush ( Qt::BrushStyle style ) */ -HB_FUNC( QT_QPAINTER_SETBRUSH_1 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setBrush( ( Qt::BrushStyle ) hb_parni( 2 ) ); -} - -/* void setBrushOrigin ( const QPointF & position ) */ -HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setBrushOrigin( *hbqt_par_QPointF( 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 ) ); -} - -/* void setClipPath ( const QPainterPath & path, Qt::ClipOperation operation = Qt::ReplaceClip ) */ -HB_FUNC( QT_QPAINTER_SETCLIPPATH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setClipPath( *hbqt_par_QPainterPath( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) */ -HB_FUNC( QT_QPAINTER_SETCLIPRECT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setClipRect( *hbqt_par_QRectF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) 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 ) ); -} - -/* void setClipRegion ( const QRegion & region, Qt::ClipOperation operation = Qt::ReplaceClip ) */ -HB_FUNC( QT_QPAINTER_SETCLIPREGION ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setClipRegion( *hbqt_par_QRegion( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* void setClipping ( bool enable ) */ -HB_FUNC( QT_QPAINTER_SETCLIPPING ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setClipping( hb_parl( 2 ) ); -} - -/* void setCompositionMode ( CompositionMode mode ) */ -HB_FUNC( QT_QPAINTER_SETCOMPOSITIONMODE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setCompositionMode( ( QPainter::CompositionMode ) hb_parni( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QPAINTER_SETFONT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setLayoutDirection ( Qt::LayoutDirection direction ) */ -HB_FUNC( QT_QPAINTER_SETLAYOUTDIRECTION ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* void setOpacity ( qreal opacity ) */ -HB_FUNC( QT_QPAINTER_SETOPACITY ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setOpacity( hb_parnd( 2 ) ); -} - -/* void setPen ( const QPen & pen ) */ -HB_FUNC( QT_QPAINTER_SETPEN ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setPen( *hbqt_par_QPen( 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 ) ); -} - -/* void setRenderHint ( RenderHint hint, bool on = true ) */ -HB_FUNC( QT_QPAINTER_SETRENDERHINT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setRenderHint( ( QPainter::RenderHint ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setRenderHints ( RenderHints hints, bool on = true ) */ -HB_FUNC( QT_QPAINTER_SETRENDERHINTS ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setRenderHints( ( QPainter::RenderHints ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setTransform ( const QTransform & transform, bool combine = false ) */ -HB_FUNC( QT_QPAINTER_SETTRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setTransform( *hbqt_par_QTransform( 2 ), hb_parl( 3 ) ); -} - -/* void setViewTransformEnabled ( bool enable ) */ -HB_FUNC( QT_QPAINTER_SETVIEWTRANSFORMENABLED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setViewTransformEnabled( hb_parl( 2 ) ); -} - -/* void setViewport ( const QRect & rectangle ) */ -HB_FUNC( QT_QPAINTER_SETVIEWPORT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setViewport( *hbqt_par_QRect( 2 ) ); -} - -/* void setViewport ( int x, int y, int width, int height ) */ -HB_FUNC( QT_QPAINTER_SETVIEWPORT_1 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setViewport( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setWindow ( const QRect & rectangle ) */ -HB_FUNC( QT_QPAINTER_SETWINDOW ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setWindow( *hbqt_par_QRect( 2 ) ); -} - -/* void setWindow ( int x, int y, int width, int height ) */ -HB_FUNC( QT_QPAINTER_SETWINDOW_1 ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setWindow( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setWorldMatrix ( const QMatrix & matrix, bool combine = false ) */ -HB_FUNC( QT_QPAINTER_SETWORLDMATRIX ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setWorldMatrix( *hbqt_par_QMatrix( 2 ), hb_parl( 3 ) ); -} - -/* void setWorldMatrixEnabled ( bool enable ) */ -HB_FUNC( QT_QPAINTER_SETWORLDMATRIXENABLED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setWorldMatrixEnabled( hb_parl( 2 ) ); -} - -/* void setWorldTransform ( const QTransform & matrix, bool combine = false ) */ -HB_FUNC( QT_QPAINTER_SETWORLDTRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setWorldTransform( *hbqt_par_QTransform( 2 ), hb_parl( 3 ) ); -} - -/* void shear ( qreal sh, qreal sv ) */ -HB_FUNC( QT_QPAINTER_SHEAR ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->shear( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void strokePath ( const QPainterPath & path, const QPen & pen ) */ -HB_FUNC( QT_QPAINTER_STROKEPATH ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->strokePath( *hbqt_par_QPainterPath( 2 ), *hbqt_par_QPen( 3 ) ); -} - -/* bool testRenderHint ( RenderHint hint ) const */ -HB_FUNC( QT_QPAINTER_TESTRENDERHINT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->testRenderHint( ( QPainter::RenderHint ) hb_parni( 2 ) ) ); -} - -/* const QTransform & transform () const */ -HB_FUNC( QT_QPAINTER_TRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->transform() ), true ) ); -} - -/* void translate ( const QPointF & offset ) */ -HB_FUNC( QT_QPAINTER_TRANSLATE ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPointF( 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 ) ); -} - -/* bool viewTransformEnabled () const */ -HB_FUNC( QT_QPAINTER_VIEWTRANSFORMENABLED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->viewTransformEnabled() ); -} - -/* QRect viewport () const */ -HB_FUNC( QT_QPAINTER_VIEWPORT ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->viewport() ), true ) ); -} - -/* QRect window () const */ -HB_FUNC( QT_QPAINTER_WINDOW ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->window() ), true ) ); -} - -/* const QMatrix & worldMatrix () const */ -HB_FUNC( QT_QPAINTER_WORLDMATRIX ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->worldMatrix() ), true ) ); -} - -/* bool worldMatrixEnabled () const */ -HB_FUNC( QT_QPAINTER_WORLDMATRIXENABLED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retl( ( p )->worldMatrixEnabled() ); -} - -/* const QTransform & worldTransform () const */ -HB_FUNC( QT_QPAINTER_WORLDTRANSFORM ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->worldTransform() ), true ) ); -} - -/* QPaintDevice * redirected ( const QPaintDevice * device, QPoint * offset = 0 ) */ -HB_FUNC( QT_QPAINTER_REDIRECTED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintDevice( ( p )->redirected( hbqt_par_QPaintDevice( 2 ), hbqt_par_QPoint( 3 ) ), false ) ); -} - -/* void restoreRedirected ( const QPaintDevice * device ) */ -HB_FUNC( QT_QPAINTER_RESTOREREDIRECTED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->restoreRedirected( hbqt_par_QPaintDevice( 2 ) ); -} - -/* void setRedirected ( const QPaintDevice * device, QPaintDevice * replacement, const QPoint & offset = QPoint() ) */ -HB_FUNC( QT_QPAINTER_SETREDIRECTED ) -{ - QPainter * p = hbqt_par_QPainter( 1 ); - if( p ) - ( p )->setRedirected( hbqt_par_QPaintDevice( 2 ), hbqt_par_QPaintDevice( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QPoint( 4 ) : QPoint() ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp b/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp deleted file mode 100644 index 143fd1e444..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPainterPath.cpp +++ /dev/null @@ -1,540 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ElementType { MoveToElement, LineToElement, CurveToElement, CurveToDataElement } - */ - -/* - * Constructed[ 55/55 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // const QPainterPath::Element & elementAt ( int index ) const - */ - -#include - -#include - - -/* QPainterPath () - * QPainterPath ( const QPointF & startPoint ) - * QPainterPath ( const QPainterPath & path ) - * ~QPainterPath () - */ - -typedef struct -{ - QPainterPath * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPainterPath; - -HBQT_GC_FUNC( hbqt_gcRelease_QPainterPath ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPainterPath * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPainterPath( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPainterPath * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPainterPath; - p->type = HBQT_TYPE_QPainterPath; - - return p; -} - -HB_FUNC( QT_QPAINTERPATH ) -{ - QPainterPath * pObj = NULL; - - pObj = new QPainterPath() ; - - hb_retptrGC( hbqt_gcAllocate_QPainterPath( ( void * ) pObj, true ) ); -} - -/* void addEllipse ( const QRectF & boundingRectangle ) */ -HB_FUNC( QT_QPAINTERPATH_ADDELLIPSE ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addEllipse( *hbqt_par_QRectF( 2 ) ); -} - -/* void addEllipse ( qreal x, qreal y, qreal width, qreal height ) */ -HB_FUNC( QT_QPAINTERPATH_ADDELLIPSE_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addEllipse( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void addEllipse ( const QPointF & center, qreal rx, qreal ry ) */ -HB_FUNC( QT_QPAINTERPATH_ADDELLIPSE_2 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addEllipse( *hbqt_par_QPointF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* void addPath ( const QPainterPath & path ) */ -HB_FUNC( QT_QPAINTERPATH_ADDPATH ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addPath( *hbqt_par_QPainterPath( 2 ) ); -} - -/* void addPolygon ( const QPolygonF & polygon ) */ -HB_FUNC( QT_QPAINTERPATH_ADDPOLYGON ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addPolygon( *hbqt_par_QPolygonF( 2 ) ); -} - -/* void addRect ( const QRectF & rectangle ) */ -HB_FUNC( QT_QPAINTERPATH_ADDRECT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addRect( *hbqt_par_QRectF( 2 ) ); -} - -/* void addRect ( qreal x, qreal y, qreal width, qreal height ) */ -HB_FUNC( QT_QPAINTERPATH_ADDRECT_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void addRegion ( const QRegion & region ) */ -HB_FUNC( QT_QPAINTERPATH_ADDREGION ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addRegion( *hbqt_par_QRegion( 2 ) ); -} - -/* void addRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) */ -HB_FUNC( QT_QPAINTERPATH_ADDROUNDEDRECT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addRoundedRect( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::SizeMode ) hb_parni( 5 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); -} - -/* void addRoundedRect ( qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) */ -HB_FUNC( QT_QPAINTERPATH_ADDROUNDEDRECT_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->addRoundedRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ), ( HB_ISNUM( 8 ) ? ( Qt::SizeMode ) hb_parni( 8 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); -} - -/* void addText ( const QPointF & point, const QFont & font, const QString & text ) */ -HB_FUNC( QT_QPAINTERPATH_ADDTEXT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - { - void * pText; - ( p )->addText( *hbqt_par_QPointF( 2 ), *hbqt_par_QFont( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void addText ( qreal x, qreal y, const QFont & font, const QString & text ) */ -HB_FUNC( QT_QPAINTERPATH_ADDTEXT_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - { - void * pText; - ( p )->addText( hb_parnd( 2 ), hb_parnd( 3 ), *hbqt_par_QFont( 4 ), hb_parstr_utf8( 5, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* qreal angleAtPercent ( qreal t ) const */ -HB_FUNC( QT_QPAINTERPATH_ANGLEATPERCENT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retnd( ( p )->angleAtPercent( hb_parnd( 2 ) ) ); -} - -/* void arcMoveTo ( const QRectF & rectangle, qreal angle ) */ -HB_FUNC( QT_QPAINTERPATH_ARCMOVETO ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->arcMoveTo( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ) ); -} - -/* void arcMoveTo ( qreal x, qreal y, qreal width, qreal height, qreal angle ) */ -HB_FUNC( QT_QPAINTERPATH_ARCMOVETO_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->arcMoveTo( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ); -} - -/* void arcTo ( const QRectF & rectangle, qreal startAngle, qreal sweepLength ) */ -HB_FUNC( QT_QPAINTERPATH_ARCTO ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->arcTo( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* void arcTo ( qreal x, qreal y, qreal width, qreal height, qreal startAngle, qreal sweepLength ) */ -HB_FUNC( QT_QPAINTERPATH_ARCTO_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->arcTo( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ) ); -} - -/* QRectF boundingRect () const */ -HB_FUNC( QT_QPAINTERPATH_BOUNDINGRECT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect() ), true ) ); -} - -/* void closeSubpath () */ -HB_FUNC( QT_QPAINTERPATH_CLOSESUBPATH ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->closeSubpath(); -} - -/* void connectPath ( const QPainterPath & path ) */ -HB_FUNC( QT_QPAINTERPATH_CONNECTPATH ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->connectPath( *hbqt_par_QPainterPath( 2 ) ); -} - -/* bool contains ( const QPointF & point ) const */ -HB_FUNC( QT_QPAINTERPATH_CONTAINS ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QPointF( 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 ) ) ); -} - -/* QRectF controlPointRect () const */ -HB_FUNC( QT_QPAINTERPATH_CONTROLPOINTRECT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->controlPointRect() ), true ) ); -} - -/* void cubicTo ( const QPointF & c1, const QPointF & c2, const QPointF & endPoint ) */ -HB_FUNC( QT_QPAINTERPATH_CUBICTO ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->cubicTo( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ), *hbqt_par_QPointF( 4 ) ); -} - -/* void cubicTo ( qreal c1X, qreal c1Y, qreal c2X, qreal c2Y, qreal endPointX, qreal endPointY ) */ -HB_FUNC( QT_QPAINTERPATH_CUBICTO_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->cubicTo( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ) ); -} - -/* QPointF currentPosition () const */ -HB_FUNC( QT_QPAINTERPATH_CURRENTPOSITION ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->currentPosition() ), true ) ); -} - -/* int elementCount () const */ -HB_FUNC( QT_QPAINTERPATH_ELEMENTCOUNT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retni( ( p )->elementCount() ); -} - -/* Qt::FillRule fillRule () const */ -HB_FUNC( QT_QPAINTERPATH_FILLRULE ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retni( ( Qt::FillRule ) ( p )->fillRule() ); -} - -/* QPainterPath intersected ( const QPainterPath & p ) const */ -HB_FUNC( QT_QPAINTERPATH_INTERSECTED ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->intersected( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* bool intersects ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QPAINTERPATH_INTERSECTS ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retl( ( p )->intersects( *hbqt_par_QRectF( 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 ) ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QPAINTERPATH_ISEMPTY ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* qreal length () const */ -HB_FUNC( QT_QPAINTERPATH_LENGTH ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retnd( ( p )->length() ); -} - -/* void lineTo ( const QPointF & endPoint ) */ -HB_FUNC( QT_QPAINTERPATH_LINETO ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->lineTo( *hbqt_par_QPointF( 2 ) ); -} - -/* void lineTo ( qreal x, qreal y ) */ -HB_FUNC( QT_QPAINTERPATH_LINETO_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->lineTo( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void moveTo ( const QPointF & point ) */ -HB_FUNC( QT_QPAINTERPATH_MOVETO ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->moveTo( *hbqt_par_QPointF( 2 ) ); -} - -/* void moveTo ( qreal x, qreal y ) */ -HB_FUNC( QT_QPAINTERPATH_MOVETO_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->moveTo( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* qreal percentAtLength ( qreal len ) const */ -HB_FUNC( QT_QPAINTERPATH_PERCENTATLENGTH ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retnd( ( p )->percentAtLength( hb_parnd( 2 ) ) ); -} - -/* QPointF pointAtPercent ( qreal t ) const */ -HB_FUNC( QT_QPAINTERPATH_POINTATPERCENT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pointAtPercent( hb_parnd( 2 ) ) ), true ) ); -} - -/* void quadTo ( const QPointF & c, const QPointF & endPoint ) */ -HB_FUNC( QT_QPAINTERPATH_QUADTO ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->quadTo( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ) ); -} - -/* void quadTo ( qreal cx, qreal cy, qreal endPointX, qreal endPointY ) */ -HB_FUNC( QT_QPAINTERPATH_QUADTO_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->quadTo( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* void setElementPositionAt ( int index, qreal x, qreal y ) */ -HB_FUNC( QT_QPAINTERPATH_SETELEMENTPOSITIONAT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->setElementPositionAt( hb_parni( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* void setFillRule ( Qt::FillRule fillRule ) */ -HB_FUNC( QT_QPAINTERPATH_SETFILLRULE ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - ( p )->setFillRule( ( Qt::FillRule ) hb_parni( 2 ) ); -} - -/* QPainterPath simplified () const */ -HB_FUNC( QT_QPAINTERPATH_SIMPLIFIED ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->simplified() ), true ) ); -} - -/* qreal slopeAtPercent ( qreal t ) const */ -HB_FUNC( QT_QPAINTERPATH_SLOPEATPERCENT ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retnd( ( p )->slopeAtPercent( hb_parnd( 2 ) ) ); -} - -/* QPainterPath subtracted ( const QPainterPath & p ) const */ -HB_FUNC( QT_QPAINTERPATH_SUBTRACTED ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->subtracted( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* QPolygonF toFillPolygon ( const QTransform & matrix ) const */ -HB_FUNC( QT_QPAINTERPATH_TOFILLPOLYGON ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->toFillPolygon( *hbqt_par_QTransform( 2 ) ) ), true ) ); -} - -/* QPolygonF toFillPolygon ( const QMatrix & matrix = QMatrix() ) const */ -HB_FUNC( QT_QPAINTERPATH_TOFILLPOLYGON_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->toFillPolygon( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QMatrix( 2 ) : QMatrix() ) ) ), true ) ); -} - -/* QList toFillPolygons ( const QTransform & matrix ) const */ -HB_FUNC( QT_QPAINTERPATH_TOFILLPOLYGONS ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->toFillPolygons( *hbqt_par_QTransform( 2 ) ) ), true ) ); -} - -/* QList toFillPolygons ( const QMatrix & matrix = QMatrix() ) const */ -HB_FUNC( QT_QPAINTERPATH_TOFILLPOLYGONS_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->toFillPolygons( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QMatrix( 2 ) : QMatrix() ) ) ), true ) ); -} - -/* QPainterPath toReversed () const */ -HB_FUNC( QT_QPAINTERPATH_TOREVERSED ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->toReversed() ), true ) ); -} - -/* QList toSubpathPolygons ( const QTransform & matrix ) const */ -HB_FUNC( QT_QPAINTERPATH_TOSUBPATHPOLYGONS ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->toSubpathPolygons( *hbqt_par_QTransform( 2 ) ) ), true ) ); -} - -/* QList toSubpathPolygons ( const QMatrix & matrix = QMatrix() ) const */ -HB_FUNC( QT_QPAINTERPATH_TOSUBPATHPOLYGONS_1 ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->toSubpathPolygons( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QMatrix( 2 ) : QMatrix() ) ) ), true ) ); -} - -/* QPainterPath united ( const QPainterPath & p ) const */ -HB_FUNC( QT_QPAINTERPATH_UNITED ) -{ - QPainterPath * p = hbqt_par_QPainterPath( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->united( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPalette.cpp b/harbour/contrib/hbqt/qtgui/g/QPalette.cpp deleted file mode 100644 index df05cf7065..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPalette.cpp +++ /dev/null @@ -1,388 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ColorGroup { Disabled, Active, Inactive, Normal } - * enum ColorRole { Window, Background, WindowText, Foreground, ..., NoRole } - */ - -/* - * Constructed[ 35/35 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPalette () - * QPalette ( const QColor & button ) - * QPalette ( Qt::GlobalColor button ) - * QPalette ( const QColor & button, const QColor & window ) - * QPalette ( const QBrush & windowText, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & window ) - * QPalette ( const QPalette & p ) - * ~QPalette () - */ - -typedef struct -{ - QPalette * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPalette; - -HBQT_GC_FUNC( hbqt_gcRelease_QPalette ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPalette * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPalette( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPalette * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPalette; - p->type = HBQT_TYPE_QPalette; - - return p; -} - -HB_FUNC( QT_QPALETTE ) -{ - QPalette * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QPalette( ( Qt::GlobalColor ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPalette( *hbqt_par_QPalette( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QPalette( *hbqt_par_QColor( 1 ), *hbqt_par_QColor( 2 ) ) ; - } - else - { - pObj = new QPalette() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPalette( ( void * ) pObj, true ) ); -} - -/* const QBrush & alternateBase () const */ -HB_FUNC( QT_QPALETTE_ALTERNATEBASE ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->alternateBase() ), true ) ); -} - -/* const QBrush & base () const */ -HB_FUNC( QT_QPALETTE_BASE ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->base() ), true ) ); -} - -/* const QBrush & brightText () const */ -HB_FUNC( QT_QPALETTE_BRIGHTTEXT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brightText() ), true ) ); -} - -/* const QBrush & brush ( ColorGroup group, ColorRole role ) const */ -HB_FUNC( QT_QPALETTE_BRUSH ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ) ) ), true ) ); -} - -/* const QBrush & brush ( ColorRole role ) const */ -HB_FUNC( QT_QPALETTE_BRUSH_1 ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush( ( QPalette::ColorRole ) hb_parni( 2 ) ) ), true ) ); -} - -/* const QBrush & button () const */ -HB_FUNC( QT_QPALETTE_BUTTON ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->button() ), true ) ); -} - -/* const QBrush & buttonText () const */ -HB_FUNC( QT_QPALETTE_BUTTONTEXT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->buttonText() ), true ) ); -} - -/* qint64 cacheKey () const */ -HB_FUNC( QT_QPALETTE_CACHEKEY ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retnint( ( p )->cacheKey() ); -} - -/* const QColor & color ( ColorGroup group, ColorRole role ) const */ -HB_FUNC( QT_QPALETTE_COLOR ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ) ) ), true ) ); -} - -/* const QColor & color ( ColorRole role ) const */ -HB_FUNC( QT_QPALETTE_COLOR_1 ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color( ( QPalette::ColorRole ) hb_parni( 2 ) ) ), true ) ); -} - -/* ColorGroup currentColorGroup () const */ -HB_FUNC( QT_QPALETTE_CURRENTCOLORGROUP ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retni( ( QPalette::ColorGroup ) ( p )->currentColorGroup() ); -} - -/* const QBrush & dark () const */ -HB_FUNC( QT_QPALETTE_DARK ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->dark() ), true ) ); -} - -/* const QBrush & highlight () const */ -HB_FUNC( QT_QPALETTE_HIGHLIGHT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->highlight() ), true ) ); -} - -/* const QBrush & highlightedText () const */ -HB_FUNC( QT_QPALETTE_HIGHLIGHTEDTEXT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->highlightedText() ), true ) ); -} - -/* bool isBrushSet ( ColorGroup cg, ColorRole cr ) const */ -HB_FUNC( QT_QPALETTE_ISBRUSHSET ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retl( ( p )->isBrushSet( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ) ) ); -} - -/* bool isCopyOf ( const QPalette & p ) const */ -HB_FUNC( QT_QPALETTE_ISCOPYOF ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retl( ( p )->isCopyOf( *hbqt_par_QPalette( 2 ) ) ); -} - -/* bool isEqual ( ColorGroup cg1, ColorGroup cg2 ) const */ -HB_FUNC( QT_QPALETTE_ISEQUAL ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retl( ( p )->isEqual( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorGroup ) hb_parni( 3 ) ) ); -} - -/* const QBrush & light () const */ -HB_FUNC( QT_QPALETTE_LIGHT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->light() ), true ) ); -} - -/* const QBrush & link () const */ -HB_FUNC( QT_QPALETTE_LINK ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->link() ), true ) ); -} - -/* const QBrush & linkVisited () const */ -HB_FUNC( QT_QPALETTE_LINKVISITED ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->linkVisited() ), true ) ); -} - -/* const QBrush & mid () const */ -HB_FUNC( QT_QPALETTE_MID ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->mid() ), true ) ); -} - -/* const QBrush & midlight () const */ -HB_FUNC( QT_QPALETTE_MIDLIGHT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->midlight() ), true ) ); -} - -/* QPalette resolve ( const QPalette & other ) const */ -HB_FUNC( QT_QPALETTE_RESOLVE ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->resolve( *hbqt_par_QPalette( 2 ) ) ), true ) ); -} - -/* void setBrush ( ColorRole role, const QBrush & brush ) */ -HB_FUNC( QT_QPALETTE_SETBRUSH ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - ( p )->setBrush( ( QPalette::ColorRole ) hb_parni( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* void setBrush ( ColorGroup group, ColorRole role, const QBrush & brush ) */ -HB_FUNC( QT_QPALETTE_SETBRUSH_1 ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - ( p )->setBrush( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ), *hbqt_par_QBrush( 4 ) ); -} - -/* void setColor ( ColorRole role, const QColor & color ) */ -HB_FUNC( QT_QPALETTE_SETCOLOR ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - ( p )->setColor( ( QPalette::ColorRole ) hb_parni( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* void setColor ( ColorGroup group, ColorRole role, const QColor & color ) */ -HB_FUNC( QT_QPALETTE_SETCOLOR_1 ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - ( p )->setColor( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ), *hbqt_par_QColor( 4 ) ); -} - -/* void setColorGroup ( ColorGroup cg, const QBrush & windowText, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & window ) */ -HB_FUNC( QT_QPALETTE_SETCOLORGROUP ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - ( p )->setColorGroup( ( QPalette::ColorGroup ) hb_parni( 2 ), *hbqt_par_QBrush( 3 ), *hbqt_par_QBrush( 4 ), *hbqt_par_QBrush( 5 ), *hbqt_par_QBrush( 6 ), *hbqt_par_QBrush( 7 ), *hbqt_par_QBrush( 8 ), *hbqt_par_QBrush( 9 ), *hbqt_par_QBrush( 10 ), *hbqt_par_QBrush( 11 ) ); -} - -/* void setCurrentColorGroup ( ColorGroup cg ) */ -HB_FUNC( QT_QPALETTE_SETCURRENTCOLORGROUP ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - ( p )->setCurrentColorGroup( ( QPalette::ColorGroup ) hb_parni( 2 ) ); -} - -/* const QBrush & shadow () const */ -HB_FUNC( QT_QPALETTE_SHADOW ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->shadow() ), true ) ); -} - -/* const QBrush & text () const */ -HB_FUNC( QT_QPALETTE_TEXT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->text() ), true ) ); -} - -/* const QBrush & toolTipBase () const */ -HB_FUNC( QT_QPALETTE_TOOLTIPBASE ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->toolTipBase() ), true ) ); -} - -/* const QBrush & toolTipText () const */ -HB_FUNC( QT_QPALETTE_TOOLTIPTEXT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->toolTipText() ), true ) ); -} - -/* const QBrush & window () const */ -HB_FUNC( QT_QPALETTE_WINDOW ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->window() ), true ) ); -} - -/* const QBrush & windowText () const */ -HB_FUNC( QT_QPALETTE_WINDOWTEXT ) -{ - QPalette * p = hbqt_par_QPalette( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->windowText() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPen.cpp b/harbour/contrib/hbqt/qtgui/g/QPen.cpp deleted file mode 100644 index ff3ed41884..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPen.cpp +++ /dev/null @@ -1,291 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 21/23 [ 91.30% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector dashPattern () const - * void setDashPattern ( const QVector & pattern ) - */ - -#include - -#include - - -/* - * QPen () - * QPen ( Qt::PenStyle style ) - * QPen ( const QColor & color ) - * QPen ( const QBrush & brush, qreal width, Qt::PenStyle style = Qt::SolidLine, Qt::PenCapStyle cap = Qt::SquareCap, Qt::PenJoinStyle join = Qt::BevelJoin ) - * QPen ( const QPen & pen ) - * ~QPen () - */ - -typedef struct -{ - QPen * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPen; - -HBQT_GC_FUNC( hbqt_gcRelease_QPen ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPen * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPen( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPen * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPen; - p->type = HBQT_TYPE_QPen; - - return p; -} - -HB_FUNC( QT_QPEN ) -{ - QPen * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QPen( ( Qt::PenStyle ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPen( *hbqt_par_QPen( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = ( QString ) hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QColor" ) - { - pObj = new QPen( *hbqt_par_QColor( 2 ) ) ; - } - else - { - pObj = new QPen() ; - } - } - else if( hb_pcount() >= 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - Qt::PenStyle iStyle = HB_ISNUM( 3 ) ? ( Qt::PenStyle ) hb_parni( 3 ) : Qt::SolidLine; - Qt::PenCapStyle iCap = HB_ISNUM( 4 ) ? ( Qt::PenCapStyle ) hb_parni( 4 ) : Qt::SquareCap; - Qt::PenJoinStyle iJoin = HB_ISNUM( 5 ) ? ( Qt::PenJoinStyle ) hb_parni( 5 ) : Qt::BevelJoin; - - pObj = new QPen( *hbqt_par_QBrush( 1 ), hb_parnd( 2 ), iStyle, iCap, iJoin ) ; - } - else - { - pObj = new QPen() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPen( ( void * ) pObj, true ) ); -} - -/* QBrush brush () const */ -HB_FUNC( QT_QPEN_BRUSH ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush() ), true ) ); -} - -/* Qt::PenCapStyle capStyle () const */ -HB_FUNC( QT_QPEN_CAPSTYLE ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retni( ( Qt::PenCapStyle ) ( p )->capStyle() ); -} - -/* QColor color () const */ -HB_FUNC( QT_QPEN_COLOR ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->color() ), true ) ); -} - -/* qreal dashOffset () const */ -HB_FUNC( QT_QPEN_DASHOFFSET ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retnd( ( p )->dashOffset() ); -} - -/* bool isCosmetic () const */ -HB_FUNC( QT_QPEN_ISCOSMETIC ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retl( ( p )->isCosmetic() ); -} - -/* bool isSolid () const */ -HB_FUNC( QT_QPEN_ISSOLID ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retl( ( p )->isSolid() ); -} - -/* Qt::PenJoinStyle joinStyle () const */ -HB_FUNC( QT_QPEN_JOINSTYLE ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retni( ( Qt::PenJoinStyle ) ( p )->joinStyle() ); -} - -/* qreal miterLimit () const */ -HB_FUNC( QT_QPEN_MITERLIMIT ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retnd( ( p )->miterLimit() ); -} - -/* void setBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QPEN_SETBRUSH ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setCapStyle ( Qt::PenCapStyle style ) */ -HB_FUNC( QT_QPEN_SETCAPSTYLE ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setCapStyle( ( Qt::PenCapStyle ) hb_parni( 2 ) ); -} - -/* void setColor ( const QColor & color ) */ -HB_FUNC( QT_QPEN_SETCOLOR ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setCosmetic ( bool cosmetic ) */ -HB_FUNC( QT_QPEN_SETCOSMETIC ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setCosmetic( hb_parl( 2 ) ); -} - -/* void setDashOffset ( qreal offset ) */ -HB_FUNC( QT_QPEN_SETDASHOFFSET ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setDashOffset( hb_parnd( 2 ) ); -} - -/* void setJoinStyle ( Qt::PenJoinStyle style ) */ -HB_FUNC( QT_QPEN_SETJOINSTYLE ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setJoinStyle( ( Qt::PenJoinStyle ) hb_parni( 2 ) ); -} - -/* void setMiterLimit ( qreal limit ) */ -HB_FUNC( QT_QPEN_SETMITERLIMIT ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setMiterLimit( hb_parnd( 2 ) ); -} - -/* void setStyle ( Qt::PenStyle style ) */ -HB_FUNC( QT_QPEN_SETSTYLE ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setStyle( ( Qt::PenStyle ) hb_parni( 2 ) ); -} - -/* void setWidth ( int width ) */ -HB_FUNC( QT_QPEN_SETWIDTH ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setWidth( hb_parni( 2 ) ); -} - -/* void setWidthF ( qreal width ) */ -HB_FUNC( QT_QPEN_SETWIDTHF ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - ( p )->setWidthF( hb_parnd( 2 ) ); -} - -/* Qt::PenStyle style () const */ -HB_FUNC( QT_QPEN_STYLE ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retni( ( Qt::PenStyle ) ( p )->style() ); -} - -/* int width () const */ -HB_FUNC( QT_QPEN_WIDTH ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - -/* qreal widthF () const */ -HB_FUNC( QT_QPEN_WIDTHF ) -{ - QPen * p = hbqt_par_QPen( 1 ); - if( p ) - hb_retnd( ( p )->widthF() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPicture.cpp b/harbour/contrib/hbqt/qtgui/g/QPicture.cpp deleted file mode 100644 index d9264eb03a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPicture.cpp +++ /dev/null @@ -1,191 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 11/11 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPicture ( int formatVersion = -1 ) - * QPicture ( const QPicture & pic ) - * ~QPicture () - */ - -typedef struct -{ - QPicture * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPicture; - -HBQT_GC_FUNC( hbqt_gcRelease_QPicture ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPicture * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPicture( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPicture * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPicture; - p->type = HBQT_TYPE_QPicture; - - return p; -} - -HB_FUNC( QT_QPICTURE ) -{ - QPicture * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QPicture( hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPicture( *hbqt_par_QPicture( 1 ) ) ; - } - else - { - pObj = new QPicture() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPicture( ( void * ) pObj, true ) ); -} - -/* QRect boundingRect () const */ -HB_FUNC( QT_QPICTURE_BOUNDINGRECT ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect() ), true ) ); -} - -/* const char * data () const */ -HB_FUNC( QT_QPICTURE_DATA ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retc( ( p )->data() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QPICTURE_ISNULL ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool load ( const QString & fileName, const char * format = 0 ) */ -HB_FUNC( QT_QPICTURE_LOAD ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->load( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool load ( QIODevice * dev, const char * format = 0 ) */ -HB_FUNC( QT_QPICTURE_LOAD_1 ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retl( ( p )->load( hbqt_par_QIODevice( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* bool play ( QPainter * painter ) */ -HB_FUNC( QT_QPICTURE_PLAY ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retl( ( p )->play( hbqt_par_QPainter( 2 ) ) ); -} - -/* bool save ( const QString & fileName, const char * format = 0 ) */ -HB_FUNC( QT_QPICTURE_SAVE ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->save( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool save ( QIODevice * dev, const char * format = 0 ) */ -HB_FUNC( QT_QPICTURE_SAVE_1 ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retl( ( p )->save( hbqt_par_QIODevice( 2 ), ( const char * ) hb_parc( 3 ) ) ); -} - -/* void setBoundingRect ( const QRect & r ) */ -HB_FUNC( QT_QPICTURE_SETBOUNDINGRECT ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - ( p )->setBoundingRect( *hbqt_par_QRect( 2 ) ); -} - -/* virtual void setData ( const char * data, uint size ) */ -HB_FUNC( QT_QPICTURE_SETDATA ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - ( p )->setData( ( const char * ) hb_parc( 2 ), hb_parni( 3 ) ); -} - -/* uint size () const */ -HB_FUNC( QT_QPICTURE_SIZE ) -{ - QPicture * p = hbqt_par_QPicture( 1 ); - if( p ) - hb_retni( ( p )->size() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp b/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp deleted file mode 100644 index 384df12755..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPixmap.cpp +++ /dev/null @@ -1,466 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum HBitmapFormat { NoAlpha, PremultipliedAlpha, Alpha } - * enum ShareMode { ImplicitlyShared, ExplicitlyShared } - */ - -/* - * Constructed[ 40/40 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QRgb * clut () const - * // Qt::HANDLE handle () const - * // bool loadFromData ( const uchar * data, uint len, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * // int numCols () const - * // const uchar * qwsBits () const - * // int qwsBytesPerLine () const - * // CGImageRef toMacCGImageRef () const - * //HBITMAP toWinHBITMAP ( HBitmapFormat format = NoAlpha ) const - * //QPixmap fromMacCGImageRef ( CGImageRef image ) - * //QPixmap fromWinHBITMAP ( HBITMAP bitmap, HBitmapFormat format = NoAlpha ) - * //QPixmap fromX11Pixmap ( Qt::HANDLE pixmap, ShareMode mode = ImplicitlyShared ) - * //QPixmap grabWindow ( WId window, int x = 0, int y = 0, int width = -1, int height = -1 ) - */ - -#include - -#include -#include - -/* - * QPixmap () - * QPixmap ( int width, int height ) - * QPixmap ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * QPixmap ( const char * const[] xpm ) - * QPixmap ( const QPixmap & pixmap ) - * QPixmap ( const QSize & size ) - * ~QPixmap () - */ - -typedef struct -{ - QPixmap * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPixmap; - -HBQT_GC_FUNC( hbqt_gcRelease_QPixmap ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPixmap * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPixmap( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPixmap * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPixmap; - p->type = HBQT_TYPE_QPixmap; - - return p; -} - -HB_FUNC( QT_QPIXMAP ) -{ - QPixmap * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QPixmap( hbqt_par_QString( 1 ), ( const char * ) 0, Qt::AutoColor ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - HBQT_GC_T * q = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - if( q ) - { - if( q->type == HBQT_TYPE_QPixmap ) - { - pObj = new QPixmap( *hbqt_par_QPixmap( 1 ) ) ; - } - if( q->type == HBQT_TYPE_QSize ) - { - pObj = new QPixmap( *hbqt_par_QSize( 1 ) ) ; - } - } - else - { - pObj = new QPixmap( *hbqt_par_QPixmap( 1 ) ) ; - } - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QPixmap( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else - { - pObj = new QPixmap() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPixmap( ( void * ) pObj, true ) ); -} - -/* QPixmap alphaChannel () const */ -HB_FUNC( QT_QPIXMAP_ALPHACHANNEL ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->alphaChannel() ), true ) ); -} - -/* qint64 cacheKey () const */ -HB_FUNC( QT_QPIXMAP_CACHEKEY ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retnint( ( p )->cacheKey() ); -} - -/* QPixmap copy ( const QRect & rectangle = QRect() ) const */ -HB_FUNC( QT_QPIXMAP_COPY ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->copy( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QRect( 2 ) : QRect() ) ) ), true ) ); -} - -/* QPixmap copy ( int x, int y, int width, int height ) const */ -HB_FUNC( QT_QPIXMAP_COPY_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->copy( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ), true ) ); -} - -/* QBitmap createHeuristicMask ( bool clipTight = true ) const */ -HB_FUNC( QT_QPIXMAP_CREATEHEURISTICMASK ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->createHeuristicMask( hb_parl( 2 ) ) ), true ) ); -} - -/* QBitmap createMaskFromColor ( const QColor & maskColor, Qt::MaskMode mode ) const */ -HB_FUNC( QT_QPIXMAP_CREATEMASKFROMCOLOR ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->createMaskFromColor( *hbqt_par_QColor( 2 ), ( Qt::MaskMode ) hb_parni( 3 ) ) ), true ) ); -} - -/* QBitmap createMaskFromColor ( const QColor & maskColor ) const */ -HB_FUNC( QT_QPIXMAP_CREATEMASKFROMCOLOR_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->createMaskFromColor( *hbqt_par_QColor( 2 ) ) ), true ) ); -} - -/* int depth () const */ -HB_FUNC( QT_QPIXMAP_DEPTH ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retni( ( p )->depth() ); -} - -/* void detach () */ -HB_FUNC( QT_QPIXMAP_DETACH ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - ( p )->detach(); -} - -/* void fill ( const QColor & color = Qt::white ) */ -HB_FUNC( QT_QPIXMAP_FILL ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - ( p )->fill( *hbqt_par_QColor( 2 ) ); -} - -/* void fill ( const QWidget * widget, const QPoint & offset ) */ -HB_FUNC( QT_QPIXMAP_FILL_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - ( p )->fill( hbqt_par_QWidget( 2 ), *hbqt_par_QPoint( 3 ) ); -} - -/* void fill ( const QWidget * widget, int x, int y ) */ -HB_FUNC( QT_QPIXMAP_FILL_2 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - ( p )->fill( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* bool hasAlpha () const */ -HB_FUNC( QT_QPIXMAP_HASALPHA ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retl( ( p )->hasAlpha() ); -} - -/* bool hasAlphaChannel () const */ -HB_FUNC( QT_QPIXMAP_HASALPHACHANNEL ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retl( ( p )->hasAlphaChannel() ); -} - -/* int height () const */ -HB_FUNC( QT_QPIXMAP_HEIGHT ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QPIXMAP_ISNULL ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* bool isQBitmap () const */ -HB_FUNC( QT_QPIXMAP_ISQBITMAP ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retl( ( p )->isQBitmap() ); -} - -/* bool load ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) */ -HB_FUNC( QT_QPIXMAP_LOAD ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->load( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::ImageConversionFlags ) hb_parni( 4 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ); - hb_strfree( pText ); - } -} - -/* bool loadFromData ( const QByteArray & data, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) */ -HB_FUNC( QT_QPIXMAP_LOADFROMDATA ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retl( ( p )->loadFromData( *hbqt_par_QByteArray( 2 ), ( const char * ) hb_parc( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::ImageConversionFlags ) hb_parni( 4 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ); -} - -/* QBitmap mask () const */ -HB_FUNC( QT_QPIXMAP_MASK ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBitmap( new QBitmap( ( p )->mask() ), true ) ); -} - -/* QRect rect () const */ -HB_FUNC( QT_QPIXMAP_RECT ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->rect() ), true ) ); -} - -/* bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const */ -HB_FUNC( QT_QPIXMAP_SAVE ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->save( hb_parstr_utf8( 2, &pText, NULL ), ( const char * ) hb_parc( 3 ), hb_parnidef( 4, -1 ) ) ); - hb_strfree( pText ); - } -} - -/* bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const */ -HB_FUNC( QT_QPIXMAP_SAVE_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retl( ( p )->save( hbqt_par_QIODevice( 2 ), ( const char * ) hb_parc( 3 ), hb_parnidef( 4, -1 ) ) ); -} - -/* QPixmap scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QPIXMAP_SCALED ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->scaled( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::AspectRatioMode ) hb_parni( 4 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 5 ) ? ( Qt::TransformationMode ) hb_parni( 5 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* QPixmap scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QPIXMAP_SCALED_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->scaled( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::AspectRatioMode ) hb_parni( 3 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 4 ) ? ( Qt::TransformationMode ) hb_parni( 4 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* QPixmap scaledToHeight ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QPIXMAP_SCALEDTOHEIGHT ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->scaledToHeight( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* QPixmap scaledToWidth ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QPIXMAP_SCALEDTOWIDTH ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->scaledToWidth( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ), true ) ); -} - -/* void setAlphaChannel ( const QPixmap & alphaChannel ) */ -HB_FUNC( QT_QPIXMAP_SETALPHACHANNEL ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - ( p )->setAlphaChannel( *hbqt_par_QPixmap( 2 ) ); -} - -/* void setMask ( const QBitmap & mask ) */ -HB_FUNC( QT_QPIXMAP_SETMASK ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - ( p )->setMask( *hbqt_par_QBitmap( 2 ) ); -} - -/* QSize size () const */ -HB_FUNC( QT_QPIXMAP_SIZE ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size() ), true ) ); -} - -/* QImage toImage () const */ -HB_FUNC( QT_QPIXMAP_TOIMAGE ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QImage( new QImage( ( p )->toImage() ), true ) ); -} - -/* QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const */ -HB_FUNC( QT_QPIXMAP_TRANSFORMED ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - 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 ) ); -} - -/* 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 ) ); -} - -/* int width () const */ -HB_FUNC( QT_QPIXMAP_WIDTH ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - -/* int defaultDepth () */ -HB_FUNC( QT_QPIXMAP_DEFAULTDEPTH ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retni( ( p )->defaultDepth() ); -} - -/* QPixmap fromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) */ -HB_FUNC( QT_QPIXMAP_FROMIMAGE ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->fromImage( *hbqt_par_QImage( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ImageConversionFlags ) hb_parni( 3 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ), true ) ); -} - -/* QPixmap grabWidget ( QWidget * widget, const QRect & rectangle ) */ -HB_FUNC( QT_QPIXMAP_GRABWIDGET ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->grabWidget( hbqt_par_QWidget( 2 ), *hbqt_par_QRect( 3 ) ) ), true ) ); -} - -/* QPixmap grabWidget ( QWidget * widget, int x = 0, int y = 0, int width = -1, int height = -1 ) */ -HB_FUNC( QT_QPIXMAP_GRABWIDGET_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->grabWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parnidef( 5, -1 ), hb_parnidef( 6, -1 ) ) ), true ) ); -} - -/* QTransform trueMatrix ( const QTransform & matrix, int width, int height ) */ -HB_FUNC( QT_QPIXMAP_TRUEMATRIX ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->trueMatrix( *hbqt_par_QTransform( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ), true ) ); -} - -/* QMatrix trueMatrix ( const QMatrix & m, int w, int h ) */ -HB_FUNC( QT_QPIXMAP_TRUEMATRIX_1 ) -{ - QPixmap * p = hbqt_par_QPixmap( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->trueMatrix( *hbqt_par_QMatrix( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp deleted file mode 100644 index e0c2c1c572..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPlainTextDocumentLayout.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPlainTextDocumentLayout ( QTextDocument * document ) - * ~QPlainTextDocumentLayout () - */ - -typedef struct -{ - QPointer< QPlainTextDocumentLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPlainTextDocumentLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QPlainTextDocumentLayout ) -{ - HBQT_GC_T_QPlainTextDocumentLayout * p = ( HBQT_GC_T_QPlainTextDocumentLayout * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QPlainTextDocumentLayout * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPlainTextDocumentLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QPlainTextDocumentLayout * p = ( HBQT_GC_T_QPlainTextDocumentLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QPlainTextDocumentLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QPlainTextDocumentLayout >( ( QPlainTextDocumentLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QPlainTextDocumentLayout; - p->type = HBQT_TYPE_QPlainTextDocumentLayout; - - return p; -} - -HB_FUNC( QT_QPLAINTEXTDOCUMENTLAYOUT ) -{ - QPlainTextDocumentLayout * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPlainTextDocumentLayout( hbqt_par_QTextDocument( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QPlainTextDocumentLayout( ( void * ) pObj, true ) ); -} - -/* int cursorWidth () const */ -HB_FUNC( QT_QPLAINTEXTDOCUMENTLAYOUT_CURSORWIDTH ) -{ - QPlainTextDocumentLayout * p = hbqt_par_QPlainTextDocumentLayout( 1 ); - if( p ) - hb_retni( ( p )->cursorWidth() ); -} - -/* void ensureBlockLayout ( const QTextBlock & block ) const */ -HB_FUNC( QT_QPLAINTEXTDOCUMENTLAYOUT_ENSUREBLOCKLAYOUT ) -{ - QPlainTextDocumentLayout * p = hbqt_par_QPlainTextDocumentLayout( 1 ); - if( p ) - ( p )->ensureBlockLayout( *hbqt_par_QTextBlock( 2 ) ); -} - -/* void requestUpdate () */ -HB_FUNC( QT_QPLAINTEXTDOCUMENTLAYOUT_REQUESTUPDATE ) -{ - QPlainTextDocumentLayout * p = hbqt_par_QPlainTextDocumentLayout( 1 ); - if( p ) - ( p )->requestUpdate(); -} - -/* void setCursorWidth ( int width ) */ -HB_FUNC( QT_QPLAINTEXTDOCUMENTLAYOUT_SETCURSORWIDTH ) -{ - QPlainTextDocumentLayout * p = hbqt_par_QPlainTextDocumentLayout( 1 ); - if( p ) - ( p )->setCursorWidth( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp deleted file mode 100644 index 9151b9dc9f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPlainTextEdit.cpp +++ /dev/null @@ -1,592 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum LineWrapMode { NoWrap, WidgetWidth } - */ - -/* - * Constructed[ 57/59 [ 96.61% ] ] - * - * *** Unconvered Prototypes *** - * - * QList extraSelections () const - * void setExtraSelections ( const QList & selections ) - */ - -#include - -#include - - -/* - * QPlainTextEdit ( QWidget * parent = 0 ) - * QPlainTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~QPlainTextEdit () - */ - -typedef struct -{ - QPointer< QPlainTextEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPlainTextEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_QPlainTextEdit ) -{ - HBQT_GC_T_QPlainTextEdit * p = ( HBQT_GC_T_QPlainTextEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QPlainTextEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPlainTextEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_QPlainTextEdit * p = ( HBQT_GC_T_QPlainTextEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_QPlainTextEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QPlainTextEdit >( ( QPlainTextEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QPlainTextEdit; - p->type = HBQT_TYPE_QPlainTextEdit; - - return p; -} - -HB_FUNC( QT_QPLAINTEXTEDIT ) -{ - QPlainTextEdit * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QPlainTextEdit() ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPlainTextEdit( hbqt_par_QWidget( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QPlainTextEdit( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = new QPlainTextEdit() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPlainTextEdit( ( void * ) pObj, true ) ); -} - -/* bool backgroundVisible () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_BACKGROUNDVISIBLE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->backgroundVisible() ); -} - -/* int blockCount () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_BLOCKCOUNT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->blockCount() ); -} - -/* bool canPaste () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CANPASTE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->canPaste() ); -} - -/* bool centerOnScroll () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CENTERONSCROLL ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->centerOnScroll() ); -} - -/* QMenu * createStandardContextMenu () */ -HB_FUNC( QT_QPLAINTEXTEDIT_CREATESTANDARDCONTEXTMENU ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu(), false ) ); -} - -/* QTextCharFormat currentCharFormat () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CURRENTCHARFORMAT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->currentCharFormat() ), true ) ); -} - -/* QTextCursor cursorForPosition ( const QPoint & pos ) const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CURSORFORPOSITION ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->cursorForPosition( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QRect cursorRect ( const QTextCursor & cursor ) const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CURSORRECT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->cursorRect( *hbqt_par_QTextCursor( 2 ) ) ), true ) ); -} - -/* QRect cursorRect () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CURSORRECT_1 ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->cursorRect() ), true ) ); -} - -/* int cursorWidth () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_CURSORWIDTH ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->cursorWidth() ); -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_DOCUMENT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* QString documentTitle () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_DOCUMENTTITLE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->documentTitle().toUtf8().data() ); -} - -/* void ensureCursorVisible () */ -HB_FUNC( QT_QPLAINTEXTEDIT_ENSURECURSORVISIBLE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->ensureCursorVisible(); -} - -/* bool find ( const QString & exp, QTextDocument::FindFlags options = 0 ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_FIND ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->find( hb_parstr_utf8( 2, &pText, NULL ), ( QTextDocument::FindFlags ) hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_ISREADONLY ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* bool isUndoRedoEnabled () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_ISUNDOREDOENABLED ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->isUndoRedoEnabled() ); -} - -/* LineWrapMode lineWrapMode () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_LINEWRAPMODE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( QPlainTextEdit::LineWrapMode ) ( p )->lineWrapMode() ); -} - -/* virtual QVariant loadResource ( int type, const QUrl & name ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_LOADRESOURCE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->loadResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ), true ) ); -} - -/* int maximumBlockCount () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_MAXIMUMBLOCKCOUNT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->maximumBlockCount() ); -} - -/* void mergeCurrentCharFormat ( const QTextCharFormat & modifier ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_MERGECURRENTCHARFORMAT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->mergeCurrentCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void moveCursor ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_MOVECURSOR ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->moveCursor( ( QTextCursor::MoveOperation ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ) ); -} - -/* bool overwriteMode () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_OVERWRITEMODE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->overwriteMode() ); -} - -/* void print ( QPrinter * printer ) const */ -HB_FUNC( QT_QPLAINTEXTEDIT_PRINT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* void setBackgroundVisible ( bool visible ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETBACKGROUNDVISIBLE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setBackgroundVisible( hb_parl( 2 ) ); -} - -/* void setCenterOnScroll ( bool enabled ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETCENTERONSCROLL ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setCenterOnScroll( hb_parl( 2 ) ); -} - -/* void setCurrentCharFormat ( const QTextCharFormat & format ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETCURRENTCHARFORMAT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setCurrentCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void setCursorWidth ( int width ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETCURSORWIDTH ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setCursorWidth( hb_parni( 2 ) ); -} - -/* void setDocument ( QTextDocument * document ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETDOCUMENT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setDocument( hbqt_par_QTextDocument( 2 ) ); -} - -/* void setDocumentTitle ( const QString & title ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETDOCUMENTTITLE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setDocumentTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setLineWrapMode ( LineWrapMode mode ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETLINEWRAPMODE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setLineWrapMode( ( QPlainTextEdit::LineWrapMode ) hb_parni( 2 ) ); -} - -/* void setMaximumBlockCount ( int maximum ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETMAXIMUMBLOCKCOUNT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setMaximumBlockCount( hb_parni( 2 ) ); -} - -/* void setOverwriteMode ( bool overwrite ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETOVERWRITEMODE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setOverwriteMode( hb_parl( 2 ) ); -} - -/* void setReadOnly ( bool ro ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETREADONLY ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setTabChangesFocus ( bool b ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETTABCHANGESFOCUS ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setTabChangesFocus( hb_parl( 2 ) ); -} - -/* void setTabStopWidth ( int width ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETTABSTOPWIDTH ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setTabStopWidth( hb_parni( 2 ) ); -} - -/* void setTextCursor ( const QTextCursor & cursor ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETTEXTCURSOR ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setTextCursor( *hbqt_par_QTextCursor( 2 ) ); -} - -/* void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETTEXTINTERACTIONFLAGS ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); -} - -/* void setUndoRedoEnabled ( bool enable ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETUNDOREDOENABLED ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setUndoRedoEnabled( hb_parl( 2 ) ); -} - -/* void setWordWrapMode ( QTextOption::WrapMode policy ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETWORDWRAPMODE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->setWordWrapMode( ( QTextOption::WrapMode ) hb_parni( 2 ) ); -} - -/* bool tabChangesFocus () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_TABCHANGESFOCUS ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retl( ( p )->tabChangesFocus() ); -} - -/* int tabStopWidth () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_TABSTOPWIDTH ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( p )->tabStopWidth() ); -} - -/* QTextCursor textCursor () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_TEXTCURSOR ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->textCursor() ), true ) ); -} - -/* Qt::TextInteractionFlags textInteractionFlags () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_TEXTINTERACTIONFLAGS ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( Qt::TextInteractionFlags ) ( p )->textInteractionFlags() ); -} - -/* QString toPlainText () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_TOPLAINTEXT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toPlainText().toUtf8().data() ); -} - -/* QTextOption::WrapMode wordWrapMode () const */ -HB_FUNC( QT_QPLAINTEXTEDIT_WORDWRAPMODE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - hb_retni( ( QTextOption::WrapMode ) ( p )->wordWrapMode() ); -} - -/* void appendHtml ( const QString & html ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_APPENDHTML ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->appendHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void appendPlainText ( const QString & text ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_APPENDPLAINTEXT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->appendPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void centerCursor () */ -HB_FUNC( QT_QPLAINTEXTEDIT_CENTERCURSOR ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->centerCursor(); -} - -/* void clear () */ -HB_FUNC( QT_QPLAINTEXTEDIT_CLEAR ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->clear(); -} - -/* void copy () */ -HB_FUNC( QT_QPLAINTEXTEDIT_COPY ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->copy(); -} - -/* void cut () */ -HB_FUNC( QT_QPLAINTEXTEDIT_CUT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->cut(); -} - -/* void insertPlainText ( const QString & text ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_INSERTPLAINTEXT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->insertPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void paste () */ -HB_FUNC( QT_QPLAINTEXTEDIT_PASTE ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->paste(); -} - -/* void redo () */ -HB_FUNC( QT_QPLAINTEXTEDIT_REDO ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->redo(); -} - -/* void selectAll () */ -HB_FUNC( QT_QPLAINTEXTEDIT_SELECTALL ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->selectAll(); -} - -/* void setPlainText ( const QString & text ) */ -HB_FUNC( QT_QPLAINTEXTEDIT_SETPLAINTEXT ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void undo () */ -HB_FUNC( QT_QPLAINTEXTEDIT_UNDO ) -{ - QPlainTextEdit * p = hbqt_par_QPlainTextEdit( 1 ); - if( p ) - ( p )->undo(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp b/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp deleted file mode 100644 index 85d9809dc6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPolygon.cpp +++ /dev/null @@ -1,205 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // void putPoints ( int index, int nPoints, int firstx, int firsty, ... ) - * // void setPoints ( int nPoints, int firstx, int firsty, ... ) - */ - -#include - -#include - - -/* QPolygon () - * QPolygon ( int size ) - * QPolygon ( const QPolygon & polygon ) - * QPolygon ( const QVector & points ) - * QPolygon ( const QRect & rectangle, bool closed = false ) - * ~QPolygon () - */ - -typedef struct -{ - QPolygon * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPolygon; - -HBQT_GC_FUNC( hbqt_gcRelease_QPolygon ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPolygon * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPolygon( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPolygon * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPolygon; - p->type = HBQT_TYPE_QPolygon; - - return p; -} - -HB_FUNC( QT_QPOLYGON ) -{ - QPolygon * pObj = NULL; - - pObj = new QPolygon() ; - - hb_retptrGC( hbqt_gcAllocate_QPolygon( ( void * ) pObj, true ) ); -} - -/* QRect boundingRect () const */ -HB_FUNC( QT_QPOLYGON_BOUNDINGRECT ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect() ), true ) ); -} - -/* bool containsPoint ( const QPoint & point, Qt::FillRule fillRule ) const */ -HB_FUNC( QT_QPOLYGON_CONTAINSPOINT ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - hb_retl( ( p )->containsPoint( *hbqt_par_QPoint( 2 ), ( Qt::FillRule ) hb_parni( 3 ) ) ); -} - -/* QPolygon intersected ( const QPolygon & r ) const */ -HB_FUNC( QT_QPOLYGON_INTERSECTED ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->intersected( *hbqt_par_QPolygon( 2 ) ) ), true ) ); -} - -/* void point ( int index, int * x, int * y ) const */ -HB_FUNC( QT_QPOLYGON_POINT ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - int iX = 0; - int iY = 0; - - if( p ) - ( p )->point( hb_parni( 2 ), &iX, &iY ); - - hb_storni( iX, 3 ); - hb_storni( iY, 4 ); -} - -/* QPoint point ( int index ) const */ -HB_FUNC( QT_QPOLYGON_POINT_1 ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->point( hb_parni( 2 ) ) ), true ) ); -} - -/* void putPoints ( int index, int nPoints, const QPolygon & fromPolygon, int fromIndex = 0 ) */ -HB_FUNC( QT_QPOLYGON_PUTPOINTS ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - ( p )->putPoints( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPolygon( 4 ), hb_parni( 5 ) ); -} - -/* void setPoint ( int index, int x, int y ) */ -HB_FUNC( QT_QPOLYGON_SETPOINT ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - ( p )->setPoint( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* void setPoint ( int index, const QPoint & point ) */ -HB_FUNC( QT_QPOLYGON_SETPOINT_1 ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - ( p )->setPoint( hb_parni( 2 ), *hbqt_par_QPoint( 3 ) ); -} - -/* void setPoints ( int nPoints, const int * points ) */ -HB_FUNC( QT_QPOLYGON_SETPOINTS ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - int iPoints = 0; - - if( p ) - ( p )->setPoints( hb_parni( 2 ), &iPoints ); - - hb_storni( iPoints, 3 ); -} - -/* QPolygon subtracted ( const QPolygon & r ) const */ -HB_FUNC( QT_QPOLYGON_SUBTRACTED ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->subtracted( *hbqt_par_QPolygon( 2 ) ) ), true ) ); -} - -/* void translate ( int dx, int dy ) */ -HB_FUNC( QT_QPOLYGON_TRANSLATE ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - ( p )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void translate ( const QPoint & offset ) */ -HB_FUNC( QT_QPOLYGON_TRANSLATE_1 ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* QPolygon united ( const QPolygon & r ) const */ -HB_FUNC( QT_QPOLYGON_UNITED ) -{ - QPolygon * p = hbqt_par_QPolygon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->united( *hbqt_par_QPolygon( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp b/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp deleted file mode 100644 index 3c89c4edc2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPolygonF.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QPolygonF () - * QPolygonF ( int size ) - * QPolygonF ( const QPolygonF & polygon ) - * QPolygonF ( const QVector & points ) - * QPolygonF ( const QRectF & rectangle ) - * QPolygonF ( const QPolygon & polygon ) - * ~QPolygonF () - */ - -typedef struct -{ - QPolygonF * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPolygonF; - -HBQT_GC_FUNC( hbqt_gcRelease_QPolygonF ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPolygonF * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPolygonF( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPolygonF * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPolygonF; - p->type = HBQT_TYPE_QPolygonF; - - return p; -} - -HB_FUNC( QT_QPOLYGONF ) -{ - QPolygonF * pObj = NULL; - - pObj = new QPolygonF() ; - - hb_retptrGC( hbqt_gcAllocate_QPolygonF( ( void * ) pObj, true ) ); -} - -/* QRectF boundingRect () const */ -HB_FUNC( QT_QPOLYGONF_BOUNDINGRECT ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect() ), true ) ); -} - -/* bool containsPoint ( const QPointF & point, Qt::FillRule fillRule ) const */ -HB_FUNC( QT_QPOLYGONF_CONTAINSPOINT ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retl( ( p )->containsPoint( *hbqt_par_QPointF( 2 ), ( Qt::FillRule ) hb_parni( 3 ) ) ); -} - -/* QPolygonF intersected ( const QPolygonF & r ) const */ -HB_FUNC( QT_QPOLYGONF_INTERSECTED ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->intersected( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* bool isClosed () const */ -HB_FUNC( QT_QPOLYGONF_ISCLOSED ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retl( ( p )->isClosed() ); -} - -/* QPolygonF subtracted ( const QPolygonF & r ) const */ -HB_FUNC( QT_QPOLYGONF_SUBTRACTED ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->subtracted( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPolygon toPolygon () const */ -HB_FUNC( QT_QPOLYGONF_TOPOLYGON ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->toPolygon() ), true ) ); -} - -/* void translate ( const QPointF & offset ) */ -HB_FUNC( QT_QPOLYGONF_TRANSLATE ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPointF( 2 ) ); -} - -/* void translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QPOLYGONF_TRANSLATE_1 ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* QPolygonF united ( const QPolygonF & r ) const */ -HB_FUNC( QT_QPOLYGONF_UNITED ) -{ - QPolygonF * p = hbqt_par_QPolygonF( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->united( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp deleted file mode 100644 index 9d3c160177..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPrintDialog.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum PrintDialogOption - * flags PrintDialogOptions - */ - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // void addButton ( QPushButton * button ) - * //QPrinter * printer () const - * // void setPrinter ( QPrinter * printer, bool pickupSettings = false ) - */ - -#include - -#include - - -/* - * QPrintDialog ( QPrinter * printer, QWidget * parent = 0 ) - * QPrintDialog ( QWidget * parent = 0 ) - * ~QPrintDialog () - */ - -typedef struct -{ - QPointer< QPrintDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPrintDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QPrintDialog ) -{ - HBQT_GC_T_QPrintDialog * p = ( HBQT_GC_T_QPrintDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QPrintDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPrintDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QPrintDialog * p = ( HBQT_GC_T_QPrintDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QPrintDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QPrintDialog >( ( QPrintDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QPrintDialog; - p->type = HBQT_TYPE_QPrintDialog; - - return p; -} - -HB_FUNC( QT_QPRINTDIALOG ) -{ - QPrintDialog * pObj = NULL; - - pObj = new QPrintDialog ( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QPrintDialog( ( void * ) pObj, true ) ); -} - -/* virtual void done ( int result ) */ -HB_FUNC( QT_QPRINTDIALOG_DONE ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - ( p )->done( hb_parni( 2 ) ); -} - -/* void open ( QObject * receiver, const char * member ) */ -HB_FUNC( QT_QPRINTDIALOG_OPEN ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - ( p )->open( hbqt_par_QObject( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* PrintDialogOptions options () const */ -HB_FUNC( QT_QPRINTDIALOG_OPTIONS ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - hb_retni( ( QPrintDialog::PrintDialogOptions ) ( p )->options() ); -} - -/* QPrinter * printer () */ -HB_FUNC( QT_QPRINTDIALOG_PRINTER ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPrinter( ( p )->printer(), false ) ); -} - -/* void setOption ( PrintDialogOption option, bool on = true ) */ -HB_FUNC( QT_QPRINTDIALOG_SETOPTION ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - ( p )->setOption( ( QPrintDialog::PrintDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( PrintDialogOptions options ) */ -HB_FUNC( QT_QPRINTDIALOG_SETOPTIONS ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - ( p )->setOptions( ( QPrintDialog::PrintDialogOptions ) hb_parni( 2 ) ); -} - -/* virtual void setVisible ( bool visible ) */ -HB_FUNC( QT_QPRINTDIALOG_SETVISIBLE ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* bool testOption ( PrintDialogOption option ) const */ -HB_FUNC( QT_QPRINTDIALOG_TESTOPTION ) -{ - QPrintDialog * p = hbqt_par_QPrintDialog( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QPrintDialog::PrintDialogOption ) hb_parni( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp b/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp deleted file mode 100644 index 44d1bbfcd6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPrintEngine.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum PrintEnginePropertyKey { PPK_CollateCopies, PPK_ColorMode, PPK_Creator, PPK_Duplex, ..., PPK_CustomBase } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPrintEngine () - * virtual ~QPrintEngine () - */ - -typedef struct -{ - QPrintEngine * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPrintEngine; - -HBQT_GC_FUNC( hbqt_gcRelease_QPrintEngine ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QPrintEngine( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPrintEngine * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPrintEngine; - p->type = HBQT_TYPE_QPrintEngine; - - return p; -} - -HB_FUNC( QT_QPRINTENGINE ) -{ - -} - -/* virtual bool abort () */ -HB_FUNC( QT_QPRINTENGINE_ABORT ) -{ - QPrintEngine * p = hbqt_par_QPrintEngine( 1 ); - if( p ) - hb_retl( ( p )->abort() ); -} - -/* virtual int metric ( QPaintDevice::PaintDeviceMetric id ) const */ -HB_FUNC( QT_QPRINTENGINE_METRIC ) -{ - QPrintEngine * p = hbqt_par_QPrintEngine( 1 ); - if( p ) - hb_retni( ( p )->metric( ( QPaintDevice::PaintDeviceMetric ) hb_parni( 2 ) ) ); -} - -/* virtual bool newPage () */ -HB_FUNC( QT_QPRINTENGINE_NEWPAGE ) -{ - QPrintEngine * p = hbqt_par_QPrintEngine( 1 ); - if( p ) - hb_retl( ( p )->newPage() ); -} - -/* virtual QPrinter::PrinterState printerState () const */ -HB_FUNC( QT_QPRINTENGINE_PRINTERSTATE ) -{ - QPrintEngine * p = hbqt_par_QPrintEngine( 1 ); - if( p ) - hb_retni( ( QPrinter::PrinterState ) ( p )->printerState() ); -} - -/* virtual QVariant property ( PrintEnginePropertyKey key ) const */ -HB_FUNC( QT_QPRINTENGINE_PROPERTY ) -{ - QPrintEngine * p = hbqt_par_QPrintEngine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->property( ( QPrintEngine::PrintEnginePropertyKey ) hb_parni( 2 ) ) ), true ) ); -} - -/* virtual void setProperty ( PrintEnginePropertyKey key, const QVariant & value ) */ -HB_FUNC( QT_QPRINTENGINE_SETPROPERTY ) -{ - QPrintEngine * p = hbqt_par_QPrintEngine( 1 ); - if( p ) - ( p )->setProperty( ( QPrintEngine::PrintEnginePropertyKey ) hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp deleted file mode 100644 index 9807da9511..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPrintPreviewDialog.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPrintPreviewDialog ( QPrinter * printer, QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * QPrintPreviewDialog ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QPrintPreviewDialog () - */ - -typedef struct -{ - QPointer< QPrintPreviewDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPrintPreviewDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QPrintPreviewDialog ) -{ - HBQT_GC_T_QPrintPreviewDialog * p = ( HBQT_GC_T_QPrintPreviewDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QPrintPreviewDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPrintPreviewDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QPrintPreviewDialog * p = ( HBQT_GC_T_QPrintPreviewDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QPrintPreviewDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QPrintPreviewDialog >( ( QPrintPreviewDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QPrintPreviewDialog; - p->type = HBQT_TYPE_QPrintPreviewDialog; - - return p; -} - -HB_FUNC( QT_QPRINTPREVIEWDIALOG ) -{ - QPrintPreviewDialog * pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISPOINTER( 2 ) ) - pObj = new QPrintPreviewDialog( hbqt_par_QPrinter( 1 ), hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ) ; - else - pObj = new QPrintPreviewDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QPrintPreviewDialog( ( void * ) pObj, true ) ); -} - -/* void open ( QObject * receiver, const char * member ) */ -HB_FUNC( QT_QPRINTPREVIEWDIALOG_OPEN ) -{ - QPrintPreviewDialog * p = hbqt_par_QPrintPreviewDialog( 1 ); - if( p ) - ( p )->open( hbqt_par_QObject( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* QPrinter * printer () */ -HB_FUNC( QT_QPRINTPREVIEWDIALOG_PRINTER ) -{ - QPrintPreviewDialog * p = hbqt_par_QPrintPreviewDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPrinter( ( p )->printer(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp b/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp deleted file mode 100644 index 7855892557..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPrinter.cpp +++ /dev/null @@ -1,591 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ColorMode { Color, GrayScale } - * enum DuplexMode { DuplexNone, DuplexAuto, DuplexLongSide, DuplexShortSide } - * enum Orientation { Portrait, Landscape } - * enum OutputFormat { NativeFormat, PdfFormat, PostScriptFormat } - * enum PageOrder { FirstPageFirst, LastPageFirst } - * enum PaperSize { A0, A1, A2, A3, ..., Custom } - * enum PaperSource { Auto, Cassette, Envelope, EnvelopeManual, ..., SmallFormat } - * enum PrintRange { AllPages, Selection, PageRange } - * enum PrinterMode { ScreenResolution, PrinterResolution, HighResolution } - * enum PrinterState { Idle, Active, Aborted, Error } - * enum Unit { Millimeter, Point, Inch, Pica, ..., DevicePixel } - */ - -/* - * Constructed[ 56/56 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QString printerSelectionOption () const - * // void setPrinterSelectionOption ( const QString & option ) - * // void setWinPageSize ( int pageSize ) - * // QList supportedPaperSources () const - * // int winPageSize () const - */ - -#include - -#include - - -/* - * QPrinter ( PrinterMode mode = ScreenResolution ) - * QPrinter ( const QPrinterInfo & printer, PrinterMode mode = ScreenResolution ) - * ~QPrinter () - */ - -typedef struct -{ - QPrinter * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPrinter; - -HBQT_GC_FUNC( hbqt_gcRelease_QPrinter ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPrinter * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPrinter( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPrinter * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPrinter; - p->type = HBQT_TYPE_QPrinter; - - return p; -} - -HB_FUNC( QT_QPRINTER ) -{ - QPrinter * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPrinter( *hbqt_par_QPrinterInfo( 1 ), ( QPrinter::PrinterMode ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : QPrinter::ScreenResolution ) ) ; - } - else - { - pObj = new QPrinter() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPrinter( ( void * ) pObj, true ) ); -} - -/* bool abort () */ -HB_FUNC( QT_QPRINTER_ABORT ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->abort() ); -} - -/* bool collateCopies () const */ -HB_FUNC( QT_QPRINTER_COLLATECOPIES ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->collateCopies() ); -} - -/* ColorMode colorMode () const */ -HB_FUNC( QT_QPRINTER_COLORMODE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::ColorMode ) ( p )->colorMode() ); -} - -/* QString creator () const */ -HB_FUNC( QT_QPRINTER_CREATOR ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->creator().toUtf8().data() ); -} - -/* QString docName () const */ -HB_FUNC( QT_QPRINTER_DOCNAME ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->docName().toUtf8().data() ); -} - -/* bool doubleSidedPrinting () const */ -HB_FUNC( QT_QPRINTER_DOUBLESIDEDPRINTING ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->doubleSidedPrinting() ); -} - -/* DuplexMode duplex () const */ -HB_FUNC( QT_QPRINTER_DUPLEX ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::DuplexMode ) ( p )->duplex() ); -} - -/* bool fontEmbeddingEnabled () const */ -HB_FUNC( QT_QPRINTER_FONTEMBEDDINGENABLED ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->fontEmbeddingEnabled() ); -} - -/* int fromPage () const */ -HB_FUNC( QT_QPRINTER_FROMPAGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( p )->fromPage() ); -} - -/* bool fullPage () const */ -HB_FUNC( QT_QPRINTER_FULLPAGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->fullPage() ); -} - -/* void getPageMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom, Unit unit ) const */ -HB_FUNC( QT_QPRINTER_GETPAGEMARGINS ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - qreal qrLeft = 0; - qreal qrTop = 0; - qreal qrRight = 0; - qreal qrBottom = 0; - - if( p ) - ( p )->getPageMargins( &qrLeft, &qrTop, &qrRight, &qrBottom, ( QPrinter::Unit ) hb_parni( 6 ) ); - - hb_stornd( qrLeft, 2 ); - hb_stornd( qrTop, 3 ); - hb_stornd( qrRight, 4 ); - hb_stornd( qrBottom, 5 ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QPRINTER_ISVALID ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* bool newPage () */ -HB_FUNC( QT_QPRINTER_NEWPAGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retl( ( p )->newPage() ); -} - -/* int numCopies () const */ -HB_FUNC( QT_QPRINTER_NUMCOPIES ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( p )->numCopies() ); -} - -/* Orientation orientation () const */ -HB_FUNC( QT_QPRINTER_ORIENTATION ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::Orientation ) ( p )->orientation() ); -} - -/* QString outputFileName () const */ -HB_FUNC( QT_QPRINTER_OUTPUTFILENAME ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->outputFileName().toUtf8().data() ); -} - -/* OutputFormat outputFormat () const */ -HB_FUNC( QT_QPRINTER_OUTPUTFORMAT ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::OutputFormat ) ( p )->outputFormat() ); -} - -/* PageOrder pageOrder () const */ -HB_FUNC( QT_QPRINTER_PAGEORDER ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::PageOrder ) ( p )->pageOrder() ); -} - -/* QRect pageRect () const */ -HB_FUNC( QT_QPRINTER_PAGERECT ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->pageRect() ), true ) ); -} - -/* QRectF pageRect ( Unit unit ) const */ -HB_FUNC( QT_QPRINTER_PAGERECT_1 ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->pageRect( ( QPrinter::Unit ) hb_parni( 2 ) ) ), true ) ); -} - -/* virtual QPaintEngine * paintEngine () const */ -HB_FUNC( QT_QPRINTER_PAINTENGINE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintEngine( ( p )->paintEngine(), false ) ); -} - -/* QRect paperRect () const */ -HB_FUNC( QT_QPRINTER_PAPERRECT ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->paperRect() ), true ) ); -} - -/* QRectF paperRect ( Unit unit ) const */ -HB_FUNC( QT_QPRINTER_PAPERRECT_1 ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->paperRect( ( QPrinter::Unit ) hb_parni( 2 ) ) ), true ) ); -} - -/* PaperSize paperSize () const */ -HB_FUNC( QT_QPRINTER_PAPERSIZE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::PaperSize ) ( p )->paperSize() ); -} - -/* QSizeF paperSize ( Unit unit ) const */ -HB_FUNC( QT_QPRINTER_PAPERSIZE_1 ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->paperSize( ( QPrinter::Unit ) hb_parni( 2 ) ) ), true ) ); -} - -/* PaperSource paperSource () const */ -HB_FUNC( QT_QPRINTER_PAPERSOURCE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::PaperSource ) ( p )->paperSource() ); -} - -/* QPrintEngine * printEngine () const */ -HB_FUNC( QT_QPRINTER_PRINTENGINE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPrintEngine( ( p )->printEngine(), false ) ); -} - -/* QString printProgram () const */ -HB_FUNC( QT_QPRINTER_PRINTPROGRAM ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->printProgram().toUtf8().data() ); -} - -/* PrintRange printRange () const */ -HB_FUNC( QT_QPRINTER_PRINTRANGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::PrintRange ) ( p )->printRange() ); -} - -/* QString printerName () const */ -HB_FUNC( QT_QPRINTER_PRINTERNAME ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->printerName().toUtf8().data() ); -} - -/* PrinterState printerState () const */ -HB_FUNC( QT_QPRINTER_PRINTERSTATE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( QPrinter::PrinterState ) ( p )->printerState() ); -} - -/* int resolution () const */ -HB_FUNC( QT_QPRINTER_RESOLUTION ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( p )->resolution() ); -} - -/* void setCollateCopies ( bool collate ) */ -HB_FUNC( QT_QPRINTER_SETCOLLATECOPIES ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setCollateCopies( hb_parl( 2 ) ); -} - -/* void setColorMode ( ColorMode newColorMode ) */ -HB_FUNC( QT_QPRINTER_SETCOLORMODE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setColorMode( ( QPrinter::ColorMode ) hb_parni( 2 ) ); -} - -/* void setCreator ( const QString & creator ) */ -HB_FUNC( QT_QPRINTER_SETCREATOR ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - { - void * pText; - ( p )->setCreator( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setDocName ( const QString & name ) */ -HB_FUNC( QT_QPRINTER_SETDOCNAME ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - { - void * pText; - ( p )->setDocName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setDoubleSidedPrinting ( bool doubleSided ) */ -HB_FUNC( QT_QPRINTER_SETDOUBLESIDEDPRINTING ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setDoubleSidedPrinting( hb_parl( 2 ) ); -} - -/* void setDuplex ( DuplexMode duplex ) */ -HB_FUNC( QT_QPRINTER_SETDUPLEX ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setDuplex( ( QPrinter::DuplexMode ) hb_parni( 2 ) ); -} - -/* void setFontEmbeddingEnabled ( bool enable ) */ -HB_FUNC( QT_QPRINTER_SETFONTEMBEDDINGENABLED ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setFontEmbeddingEnabled( hb_parl( 2 ) ); -} - -/* void setFromTo ( int from, int to ) */ -HB_FUNC( QT_QPRINTER_SETFROMTO ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setFromTo( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setFullPage ( bool fp ) */ -HB_FUNC( QT_QPRINTER_SETFULLPAGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setFullPage( hb_parl( 2 ) ); -} - -/* void setNumCopies ( int numCopies ) */ -HB_FUNC( QT_QPRINTER_SETNUMCOPIES ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setNumCopies( hb_parni( 2 ) ); -} - -/* void setOrientation ( Orientation orientation ) */ -HB_FUNC( QT_QPRINTER_SETORIENTATION ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setOrientation( ( QPrinter::Orientation ) hb_parni( 2 ) ); -} - -/* void setOutputFileName ( const QString & fileName ) */ -HB_FUNC( QT_QPRINTER_SETOUTPUTFILENAME ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - { - void * pText; - ( p )->setOutputFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setOutputFormat ( OutputFormat format ) */ -HB_FUNC( QT_QPRINTER_SETOUTPUTFORMAT ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setOutputFormat( ( QPrinter::OutputFormat ) hb_parni( 2 ) ); -} - -/* void setPageMargins ( qreal left, qreal top, qreal right, qreal bottom, Unit unit ) */ -HB_FUNC( QT_QPRINTER_SETPAGEMARGINS ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setPageMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( QPrinter::Unit ) hb_parni( 6 ) ); -} - -/* void setPageOrder ( PageOrder pageOrder ) */ -HB_FUNC( QT_QPRINTER_SETPAGEORDER ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setPageOrder( ( QPrinter::PageOrder ) hb_parni( 2 ) ); -} - -/* void setPaperSize ( PaperSize newPaperSize ) */ -HB_FUNC( QT_QPRINTER_SETPAPERSIZE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setPaperSize( ( QPrinter::PaperSize ) hb_parni( 2 ) ); -} - -/* void setPaperSize ( const QSizeF & paperSize, Unit unit ) */ -HB_FUNC( QT_QPRINTER_SETPAPERSIZE_1 ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setPaperSize( *hbqt_par_QSizeF( 2 ), ( QPrinter::Unit ) hb_parni( 3 ) ); -} - -/* void setPaperSource ( PaperSource source ) */ -HB_FUNC( QT_QPRINTER_SETPAPERSOURCE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setPaperSource( ( QPrinter::PaperSource ) hb_parni( 2 ) ); -} - -/* void setPrintProgram ( const QString & printProg ) */ -HB_FUNC( QT_QPRINTER_SETPRINTPROGRAM ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - { - void * pText; - ( p )->setPrintProgram( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPrintRange ( PrintRange range ) */ -HB_FUNC( QT_QPRINTER_SETPRINTRANGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setPrintRange( ( QPrinter::PrintRange ) hb_parni( 2 ) ); -} - -/* void setPrinterName ( const QString & name ) */ -HB_FUNC( QT_QPRINTER_SETPRINTERNAME ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - { - void * pText; - ( p )->setPrinterName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setResolution ( int dpi ) */ -HB_FUNC( QT_QPRINTER_SETRESOLUTION ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - ( p )->setResolution( hb_parni( 2 ) ); -} - -/* QList supportedResolutions () const */ -HB_FUNC( QT_QPRINTER_SUPPORTEDRESOLUTIONS ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->supportedResolutions() ), true ) ); -} - -/* int toPage () const */ -HB_FUNC( QT_QPRINTER_TOPAGE ) -{ - QPrinter * p = hbqt_par_QPrinter( 1 ); - if( p ) - hb_retni( ( p )->toPage() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp b/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp deleted file mode 100644 index c656b155e7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPrinterInfo.cpp +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/6 [ 83.33% ] ] - * - * *** Unconvered Prototypes *** - * - * QList supportedPaperSizes () const - */ - -#include - -#include - - -/* - * QPrinterInfo () - * QPrinterInfo ( const QPrinterInfo & src ) - * QPrinterInfo ( const QPrinter & printer ) - * ~QPrinterInfo () - */ - -typedef struct -{ - QPrinterInfo * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPrinterInfo; - -HBQT_GC_FUNC( hbqt_gcRelease_QPrinterInfo ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QPrinterInfo * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPrinterInfo( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QPrinterInfo * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QPrinterInfo; - p->type = HBQT_TYPE_QPrinterInfo; - - return p; -} - -HB_FUNC( QT_QPRINTERINFO ) -{ - QPrinterInfo * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPrinterInfo( *hbqt_par_QPrinterInfo( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QPrinterInfo( *hbqt_par_QPrinter( 2 ) ) ; - } - else - { - pObj = new QPrinterInfo() ; - } - - hb_retptrGC( hbqt_gcAllocate_QPrinterInfo( ( void * ) pObj, true ) ); -} - -/* bool isDefault () const */ -HB_FUNC( QT_QPRINTERINFO_ISDEFAULT ) -{ - QPrinterInfo * p = hbqt_par_QPrinterInfo( 1 ); - if( p ) - hb_retl( ( p )->isDefault() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QPRINTERINFO_ISNULL ) -{ - QPrinterInfo * p = hbqt_par_QPrinterInfo( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* QString printerName () const */ -HB_FUNC( QT_QPRINTERINFO_PRINTERNAME ) -{ - QPrinterInfo * p = hbqt_par_QPrinterInfo( 1 ); - if( p ) - hb_retstr_utf8( ( p )->printerName().toUtf8().data() ); -} - -/* QList availablePrinters () */ -HB_FUNC( QT_QPRINTERINFO_AVAILABLEPRINTERS ) -{ - QPrinterInfo * p = hbqt_par_QPrinterInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->availablePrinters() ), true ) ); -} - -/* QPrinterInfo defaultPrinter () */ -HB_FUNC( QT_QPRINTERINFO_DEFAULTPRINTER ) -{ - QPrinterInfo * p = hbqt_par_QPrinterInfo( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPrinterInfo( new QPrinterInfo( ( p )->defaultPrinter() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp b/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp deleted file mode 100644 index abe237b763..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QProgressBar.cpp +++ /dev/null @@ -1,264 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Direction { TopToBottom, BottomToTop } - */ - -/* - * Constructed[ 21/21 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QProgressBar ( QWidget * parent = 0 ) - * ~QProgressBar () - */ - -typedef struct -{ - QPointer< QProgressBar > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QProgressBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QProgressBar ) -{ - HBQT_GC_T_QProgressBar * p = ( HBQT_GC_T_QProgressBar * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QProgressBar * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QProgressBar( void * pObj, bool bNew ) -{ - HBQT_GC_T_QProgressBar * p = ( HBQT_GC_T_QProgressBar * ) hb_gcAllocate( sizeof( HBQT_GC_T_QProgressBar ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QProgressBar >( ( QProgressBar * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QProgressBar; - p->type = HBQT_TYPE_QProgressBar; - - return p; -} - -HB_FUNC( QT_QPROGRESSBAR ) -{ - QProgressBar * pObj = NULL; - - pObj = new QProgressBar( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QProgressBar( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QPROGRESSBAR_ALIGNMENT ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* QString format () const */ -HB_FUNC( QT_QPROGRESSBAR_FORMAT ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->format().toUtf8().data() ); -} - -/* bool invertedAppearance () */ -HB_FUNC( QT_QPROGRESSBAR_INVERTEDAPPEARANCE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retl( ( p )->invertedAppearance() ); -} - -/* bool isTextVisible () const */ -HB_FUNC( QT_QPROGRESSBAR_ISTEXTVISIBLE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retl( ( p )->isTextVisible() ); -} - -/* int maximum () const */ -HB_FUNC( QT_QPROGRESSBAR_MAXIMUM ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retni( ( p )->maximum() ); -} - -/* int minimum () const */ -HB_FUNC( QT_QPROGRESSBAR_MINIMUM ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retni( ( p )->minimum() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QPROGRESSBAR_ORIENTATION ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QPROGRESSBAR_SETALIGNMENT ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setFormat ( const QString & format ) */ -HB_FUNC( QT_QPROGRESSBAR_SETFORMAT ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - { - void * pText; - ( p )->setFormat( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setInvertedAppearance ( bool invert ) */ -HB_FUNC( QT_QPROGRESSBAR_SETINVERTEDAPPEARANCE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setInvertedAppearance( hb_parl( 2 ) ); -} - -/* void setTextDirection ( QProgressBar::Direction textDirection ) */ -HB_FUNC( QT_QPROGRESSBAR_SETTEXTDIRECTION ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setTextDirection( ( QProgressBar::Direction ) hb_parni( 2 ) ); -} - -/* void setTextVisible ( bool visible ) */ -HB_FUNC( QT_QPROGRESSBAR_SETTEXTVISIBLE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setTextVisible( hb_parl( 2 ) ); -} - -/* virtual QString text () const */ -HB_FUNC( QT_QPROGRESSBAR_TEXT ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* QProgressBar::Direction textDirection () */ -HB_FUNC( QT_QPROGRESSBAR_TEXTDIRECTION ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retni( ( QProgressBar::Direction ) ( p )->textDirection() ); -} - -/* int value () const */ -HB_FUNC( QT_QPROGRESSBAR_VALUE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - hb_retni( ( p )->value() ); -} - -/* void reset () */ -HB_FUNC( QT_QPROGRESSBAR_RESET ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->reset(); -} - -/* void setMaximum ( int maximum ) */ -HB_FUNC( QT_QPROGRESSBAR_SETMAXIMUM ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setMaximum( hb_parni( 2 ) ); -} - -/* void setMinimum ( int minimum ) */ -HB_FUNC( QT_QPROGRESSBAR_SETMINIMUM ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setMinimum( hb_parni( 2 ) ); -} - -/* void setOrientation ( Qt::Orientation ) */ -HB_FUNC( QT_QPROGRESSBAR_SETORIENTATION ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* void setRange ( int minimum, int maximum ) */ -HB_FUNC( QT_QPROGRESSBAR_SETRANGE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setValue ( int value ) */ -HB_FUNC( QT_QPROGRESSBAR_SETVALUE ) -{ - QProgressBar * p = hbqt_par_QProgressBar( 1 ); - if( p ) - ( p )->setValue( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp b/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp deleted file mode 100644 index ccb176b3c5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QProgressDialog.cpp +++ /dev/null @@ -1,289 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 24/24 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QProgressDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * QProgressDialog ( const QString & labelText, const QString & cancelButtonText, int minimum, int maximum, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QProgressDialog () - */ - -typedef struct -{ - QPointer< QProgressDialog > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QProgressDialog; - -HBQT_GC_FUNC( hbqt_gcRelease_QProgressDialog ) -{ - HBQT_GC_T_QProgressDialog * p = ( HBQT_GC_T_QProgressDialog * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QProgressDialog * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QProgressDialog( void * pObj, bool bNew ) -{ - HBQT_GC_T_QProgressDialog * p = ( HBQT_GC_T_QProgressDialog * ) hb_gcAllocate( sizeof( HBQT_GC_T_QProgressDialog ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QProgressDialog >( ( QProgressDialog * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QProgressDialog; - p->type = HBQT_TYPE_QProgressDialog; - - return p; -} - -HB_FUNC( QT_QPROGRESSDIALOG ) -{ - QProgressDialog * pObj = NULL; - - pObj = new QProgressDialog( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QProgressDialog( ( void * ) pObj, true ) ); -} - -/* bool autoClose () const */ -HB_FUNC( QT_QPROGRESSDIALOG_AUTOCLOSE ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retl( ( p )->autoClose() ); -} - -/* bool autoReset () const */ -HB_FUNC( QT_QPROGRESSDIALOG_AUTORESET ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retl( ( p )->autoReset() ); -} - -/* QString labelText () const */ -HB_FUNC( QT_QPROGRESSDIALOG_LABELTEXT ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retstr_utf8( ( p )->labelText().toUtf8().data() ); -} - -/* int maximum () const */ -HB_FUNC( QT_QPROGRESSDIALOG_MAXIMUM ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retni( ( p )->maximum() ); -} - -/* int minimum () const */ -HB_FUNC( QT_QPROGRESSDIALOG_MINIMUM ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retni( ( p )->minimum() ); -} - -/* int minimumDuration () const */ -HB_FUNC( QT_QPROGRESSDIALOG_MINIMUMDURATION ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retni( ( p )->minimumDuration() ); -} - -/* void open ( QObject * receiver, const char * member ) */ -HB_FUNC( QT_QPROGRESSDIALOG_OPEN ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->open( hbqt_par_QObject( 2 ), ( const char * ) hb_parc( 3 ) ); -} - -/* void setAutoClose ( bool close ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETAUTOCLOSE ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setAutoClose( hb_parl( 2 ) ); -} - -/* void setAutoReset ( bool reset ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETAUTORESET ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setAutoReset( hb_parl( 2 ) ); -} - -/* void setBar ( QProgressBar * bar ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETBAR ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setBar( hbqt_par_QProgressBar( 2 ) ); -} - -/* void setCancelButton ( QPushButton * cancelButton ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETCANCELBUTTON ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setCancelButton( hbqt_par_QPushButton( 2 ) ); -} - -/* void setLabel ( QLabel * label ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETLABEL ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setLabel( hbqt_par_QLabel( 2 ) ); -} - -/* virtual QSize sizeHint () const */ -HB_FUNC( QT_QPROGRESSDIALOG_SIZEHINT ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* int value () const */ -HB_FUNC( QT_QPROGRESSDIALOG_VALUE ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retni( ( p )->value() ); -} - -/* bool wasCanceled () const */ -HB_FUNC( QT_QPROGRESSDIALOG_WASCANCELED ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - hb_retl( ( p )->wasCanceled() ); -} - -/* void cancel () */ -HB_FUNC( QT_QPROGRESSDIALOG_CANCEL ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->cancel(); -} - -/* void reset () */ -HB_FUNC( QT_QPROGRESSDIALOG_RESET ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->reset(); -} - -/* void setCancelButtonText ( const QString & cancelButtonText ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETCANCELBUTTONTEXT ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setCancelButtonText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setLabelText ( const QString & text ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETLABELTEXT ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - { - void * pText; - ( p )->setLabelText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setMaximum ( int maximum ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETMAXIMUM ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setMaximum( hb_parni( 2 ) ); -} - -/* void setMinimum ( int minimum ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETMINIMUM ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setMinimum( hb_parni( 2 ) ); -} - -/* void setMinimumDuration ( int ms ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETMINIMUMDURATION ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setMinimumDuration( hb_parni( 2 ) ); -} - -/* void setRange ( int minimum, int maximum ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETRANGE ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setValue ( int progress ) */ -HB_FUNC( QT_QPROGRESSDIALOG_SETVALUE ) -{ - QProgressDialog * p = hbqt_par_QProgressDialog( 1 ); - if( p ) - ( p )->setValue( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp b/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp deleted file mode 100644 index d4c37a7e90..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QPushButton.cpp +++ /dev/null @@ -1,162 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QPushButton ( QWidget * parent = 0 ) - * QPushButton ( const QString & text, QWidget * parent = 0 ) - * QPushButton ( const QIcon & icon, const QString & text, QWidget * parent = 0 ) - * ~QPushButton () - */ - -typedef struct -{ - QPointer< QPushButton > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QPushButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QPushButton ) -{ - HBQT_GC_T_QPushButton * p = ( HBQT_GC_T_QPushButton * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QPushButton * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QPushButton( void * pObj, bool bNew ) -{ - HBQT_GC_T_QPushButton * p = ( HBQT_GC_T_QPushButton * ) hb_gcAllocate( sizeof( HBQT_GC_T_QPushButton ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QPushButton >( ( QPushButton * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QPushButton; - p->type = HBQT_TYPE_QPushButton; - - return p; -} - -HB_FUNC( QT_QPUSHBUTTON ) -{ - QPushButton * pObj = NULL; - - pObj = new QPushButton( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QPushButton( ( void * ) pObj, true ) ); -} - -/* bool autoDefault () const */ -HB_FUNC( QT_QPUSHBUTTON_AUTODEFAULT ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - hb_retl( ( p )->autoDefault() ); -} - -/* bool isDefault () const */ -HB_FUNC( QT_QPUSHBUTTON_ISDEFAULT ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - hb_retl( ( p )->isDefault() ); -} - -/* bool isFlat () const */ -HB_FUNC( QT_QPUSHBUTTON_ISFLAT ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - hb_retl( ( p )->isFlat() ); -} - -/* QMenu * menu () const */ -HB_FUNC( QT_QPUSHBUTTON_MENU ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->menu(), false ) ); -} - -/* void setAutoDefault ( bool ) */ -HB_FUNC( QT_QPUSHBUTTON_SETAUTODEFAULT ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - ( p )->setAutoDefault( hb_parl( 2 ) ); -} - -/* void setDefault ( bool ) */ -HB_FUNC( QT_QPUSHBUTTON_SETDEFAULT ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - ( p )->setDefault( hb_parl( 2 ) ); -} - -/* void setFlat ( bool ) */ -HB_FUNC( QT_QPUSHBUTTON_SETFLAT ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - ( p )->setFlat( hb_parl( 2 ) ); -} - -/* void setMenu ( QMenu * menu ) */ -HB_FUNC( QT_QPUSHBUTTON_SETMENU ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - ( p )->setMenu( hbqt_par_QMenu( 2 ) ); -} - -/* void showMenu () */ -HB_FUNC( QT_QPUSHBUTTON_SHOWMENU ) -{ - QPushButton * p = hbqt_par_QPushButton( 1 ); - if( p ) - ( p )->showMenu(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp b/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp deleted file mode 100644 index 5c5962f190..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QRadialGradient.cpp +++ /dev/null @@ -1,175 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QRadialGradient () - * QRadialGradient ( const QPointF & center, qreal radius, const QPointF & focalPoint ) - * QRadialGradient ( qreal cx, qreal cy, qreal radius, qreal fx, qreal fy ) - * QRadialGradient ( const QPointF & center, qreal radius ) - * QRadialGradient ( qreal cx, qreal cy, qreal radius ) - */ - -typedef struct -{ - QRadialGradient * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRadialGradient; - -HBQT_GC_FUNC( hbqt_gcRelease_QRadialGradient ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QRadialGradient * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRadialGradient( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QRadialGradient * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QRadialGradient; - p->type = HBQT_TYPE_QRadialGradient; - - return p; -} - -HB_FUNC( QT_QRADIALGRADIENT ) -{ - QRadialGradient * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QRadialGradient( *hbqt_par_QRadialGradient( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QRadialGradient( *hbqt_par_QPointF( 1 ), hb_parnd( 2 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) && HB_ISPOINTER( 3 ) ) - { - pObj = new QRadialGradient( *hbqt_par_QPointF( 1 ), hb_parnd( 2 ), *hbqt_par_QPointF( 3 ) ) ; - } - else if( hb_pcount() == 5 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) && HB_ISNUM( 5 ) ) - { - pObj = new QRadialGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ; - } - else - { - pObj = new QRadialGradient() ; - } - - hb_retptrGC( hbqt_gcAllocate_QRadialGradient( ( void * ) pObj, true ) ); -} - -/* QPointF center () const */ -HB_FUNC( QT_QRADIALGRADIENT_CENTER ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->center() ), true ) ); -} - -/* QPointF focalPoint () const */ -HB_FUNC( QT_QRADIALGRADIENT_FOCALPOINT ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->focalPoint() ), true ) ); -} - -/* qreal radius () const */ -HB_FUNC( QT_QRADIALGRADIENT_RADIUS ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - hb_retnd( ( p )->radius() ); -} - -/* void setCenter ( const QPointF & center ) */ -HB_FUNC( QT_QRADIALGRADIENT_SETCENTER ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - ( p )->setCenter( *hbqt_par_QPointF( 2 ) ); -} - -/* void setCenter ( qreal x, qreal y ) */ -HB_FUNC( QT_QRADIALGRADIENT_SETCENTER_1 ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - ( p )->setCenter( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setFocalPoint ( const QPointF & focalPoint ) */ -HB_FUNC( QT_QRADIALGRADIENT_SETFOCALPOINT ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - ( p )->setFocalPoint( *hbqt_par_QPointF( 2 ) ); -} - -/* void setFocalPoint ( qreal x, qreal y ) */ -HB_FUNC( QT_QRADIALGRADIENT_SETFOCALPOINT_1 ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - ( p )->setFocalPoint( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* void setRadius ( qreal radius ) */ -HB_FUNC( QT_QRADIALGRADIENT_SETRADIUS ) -{ - QRadialGradient * p = hbqt_par_QRadialGradient( 1 ); - if( p ) - ( p )->setRadius( hb_parnd( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp b/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp deleted file mode 100644 index 8bb131794e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QRadioButton.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QRadioButton ( QWidget * parent = 0 ) - * QRadioButton ( const QString & text, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QRadioButton > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRadioButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QRadioButton ) -{ - HBQT_GC_T_QRadioButton * p = ( HBQT_GC_T_QRadioButton * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QRadioButton * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRadioButton( void * pObj, bool bNew ) -{ - HBQT_GC_T_QRadioButton * p = ( HBQT_GC_T_QRadioButton * ) hb_gcAllocate( sizeof( HBQT_GC_T_QRadioButton ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QRadioButton >( ( QRadioButton * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QRadioButton; - p->type = HBQT_TYPE_QRadioButton; - - return p; -} - -HB_FUNC( QT_QRADIOBUTTON ) -{ - QRadioButton * pObj = NULL; - - if( HB_ISCHAR( 1 ) ) - pObj = new QRadioButton( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = new QRadioButton( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QRadioButton( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp deleted file mode 100644 index d45010b058..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum State { Invalid, Intermediate, Acceptable } - */ - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //virtual QValidator::State validate ( QString & input, int & pos ) const - */ - -#include - -#include - - -/* QRegExpValidator ( QObject * parent ) - * QRegExpValidator ( const QRegExp & rx, QObject * parent ) - * ~QRegExpValidator () - */ - -typedef struct -{ - QPointer< QRegExpValidator > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRegExpValidator; - -HBQT_GC_FUNC( hbqt_gcRelease_QRegExpValidator ) -{ - HBQT_GC_T_QRegExpValidator * p = ( HBQT_GC_T_QRegExpValidator * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QRegExpValidator * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRegExpValidator( void * pObj, bool bNew ) -{ - HBQT_GC_T_QRegExpValidator * p = ( HBQT_GC_T_QRegExpValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QRegExpValidator ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QRegExpValidator >( ( QRegExpValidator * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QRegExpValidator; - p->type = HBQT_TYPE_QRegExpValidator; - - return p; -} - -HB_FUNC( QT_QREGEXPVALIDATOR ) -{ - QRegExpValidator * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QRegExpValidator( *hbqt_par_QRegExp( 1 ), hbqt_par_QObject( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QRegExpValidator( hbqt_par_QObject( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QRegExpValidator( ( void * ) pObj, true ) ); -} - -/* const QRegExp & regExp () const */ -HB_FUNC( QT_QREGEXPVALIDATOR_REGEXP ) -{ - QRegExpValidator * p = hbqt_par_QRegExpValidator( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegExp( new QRegExp( ( p )->regExp() ), true ) ); -} - -/* void setRegExp ( const QRegExp & rx ) */ -HB_FUNC( QT_QREGEXPVALIDATOR_SETREGEXP ) -{ - QRegExpValidator * p = hbqt_par_QRegExpValidator( 1 ); - if( p ) - ( p )->setRegExp( *hbqt_par_QRegExp( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QRegion.cpp b/harbour/contrib/hbqt/qtgui/g/QRegion.cpp deleted file mode 100644 index 13022dc139..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QRegion.cpp +++ /dev/null @@ -1,277 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum RegionType { Rectangle, Ellipse } - */ - -/* - * Constructed[ 18/19 [ 94.74% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector rects () const - * - * *** Commented out protostypes *** - * - * // Handle handle () const - */ - -#include - -#include - - -/* - * QRegion () - * QRegion ( int x, int y, int w, int h, RegionType t = Rectangle ) - * QRegion ( const QPolygon & a, Qt::FillRule fillRule = Qt::OddEvenFill ) - * QRegion ( const QRegion & r ) - * QRegion ( const QBitmap & bm ) - * QRegion ( const QRect & r, RegionType t = Rectangle ) - * ~QRegion () - */ - -typedef struct -{ - QRegion * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QRegion; - -HBQT_GC_FUNC( hbqt_gcRelease_QRegion ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QRegion * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QRegion( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QRegion * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QRegion; - p->type = HBQT_TYPE_QRegion; - - return p; -} - -HB_FUNC( QT_QREGION ) -{ - QRegion * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QRegion( *hbqt_par_QRegion( 1 ) ) ; - } - else if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = new QRegion( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), HB_ISNUM( 5 ) ? ( QRegion::RegionType ) hb_parni( 5 ) : QRegion::Rectangle ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( ( QString ) "QPolygon" == hbqt_par_QString( 1 ) ) - { - pObj = new QRegion( *hbqt_par_QPolygon( 2 ), HB_ISNUM( 3 ) ? ( Qt::FillRule ) hb_parni( 3 ) : Qt::OddEvenFill ) ; - } - else if( ( QString ) "QBitmap" == hbqt_par_QString( 1 ) ) - { - pObj = new QRegion( *hbqt_par_QBitmap( 2 ) ) ; - } - else if( ( QString ) "QRect" == hbqt_par_QString( 1 ) ) - { - pObj = new QRegion( *hbqt_par_QRect( 2 ), HB_ISNUM( 3 ) ? ( QRegion::RegionType ) hb_parni( 3 ) : QRegion::Rectangle ) ; - } - else - { - pObj = new QRegion() ; - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QRegion( *hbqt_par_QRect( 1 ), ( QRegion::RegionType ) hb_parni( 2 ) ) ; - } - else - { - pObj = new QRegion() ; - } - - hb_retptrGC( hbqt_gcAllocate_QRegion( ( void * ) pObj, true ) ); -} - -/* QRect boundingRect () const */ -HB_FUNC( QT_QREGION_BOUNDINGRECT ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect() ), true ) ); -} - -/* bool contains ( const QPoint & p ) const */ -HB_FUNC( QT_QREGION_CONTAINS ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QPoint( 2 ) ) ); -} - -/* bool contains ( const QRect & r ) const */ -HB_FUNC( QT_QREGION_CONTAINS_1 ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retl( ( p )->contains( *hbqt_par_QRect( 2 ) ) ); -} - -/* QRegion intersected ( const QRegion & r ) const */ -HB_FUNC( QT_QREGION_INTERSECTED ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->intersected( *hbqt_par_QRegion( 2 ) ) ), true ) ); -} - -/* QRegion intersected ( const QRect & rect ) const */ -HB_FUNC( QT_QREGION_INTERSECTED_1 ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->intersected( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* bool intersects ( const QRegion & region ) const */ -HB_FUNC( QT_QREGION_INTERSECTS ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retl( ( p )->intersects( *hbqt_par_QRegion( 2 ) ) ); -} - -/* bool intersects ( const QRect & rect ) const */ -HB_FUNC( QT_QREGION_INTERSECTS_1 ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retl( ( p )->intersects( *hbqt_par_QRect( 2 ) ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QREGION_ISEMPTY ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* int numRects () const */ -HB_FUNC( QT_QREGION_NUMRECTS ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retni( ( p )->numRects() ); -} - -/* void setRects ( const QRect * rects, int number ) */ -HB_FUNC( QT_QREGION_SETRECTS ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - ( p )->setRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); -} - -/* QRegion subtracted ( const QRegion & r ) const */ -HB_FUNC( QT_QREGION_SUBTRACTED ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->subtracted( *hbqt_par_QRegion( 2 ) ) ), true ) ); -} - -/* void translate ( int dx, int dy ) */ -HB_FUNC( QT_QREGION_TRANSLATE ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - ( p )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void translate ( const QPoint & point ) */ -HB_FUNC( QT_QREGION_TRANSLATE_1 ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - ( p )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* QRegion translated ( int dx, int dy ) const */ -HB_FUNC( QT_QREGION_TRANSLATED ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->translated( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* QRegion translated ( const QPoint & p ) const */ -HB_FUNC( QT_QREGION_TRANSLATED_1 ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->translated( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QRegion united ( const QRegion & r ) const */ -HB_FUNC( QT_QREGION_UNITED ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->united( *hbqt_par_QRegion( 2 ) ) ), true ) ); -} - -/* QRegion united ( const QRect & rect ) const */ -HB_FUNC( QT_QREGION_UNITED_1 ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->united( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* QRegion xored ( const QRegion & r ) const */ -HB_FUNC( QT_QREGION_XORED ) -{ - QRegion * p = hbqt_par_QRegion( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->xored( *hbqt_par_QRegion( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp deleted file mode 100644 index 71513e9c36..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QResizeEvent.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QResizeEvent ( const QSize & size, const QSize & oldSize ) - */ - -typedef struct -{ - QResizeEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QResizeEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QResizeEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QResizeEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QResizeEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QResizeEvent; - p->type = HBQT_TYPE_QResizeEvent; - - return p; -} - -HB_FUNC( QT_QRESIZEEVENT ) -{ - // __HB_RETPTRGC__( new QResizeEvent() ); -} - -/* const QSize & oldSize () const */ -HB_FUNC( QT_QRESIZEEVENT_OLDSIZE ) -{ - QResizeEvent * p = hbqt_par_QResizeEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->oldSize() ), true ) ); -} - -/* const QSize & size () const */ -HB_FUNC( QT_QRESIZEEVENT_SIZE ) -{ - QResizeEvent * p = hbqt_par_QResizeEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp b/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp deleted file mode 100644 index e7e0cbfa34..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QScrollArea.cpp +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QScrollArea ( QWidget * parent = 0 ) - * ~QScrollArea () - */ - -typedef struct -{ - QPointer< QScrollArea > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QScrollArea; - -HBQT_GC_FUNC( hbqt_gcRelease_QScrollArea ) -{ - HBQT_GC_T_QScrollArea * p = ( HBQT_GC_T_QScrollArea * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QScrollArea * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QScrollArea( void * pObj, bool bNew ) -{ - HBQT_GC_T_QScrollArea * p = ( HBQT_GC_T_QScrollArea * ) hb_gcAllocate( sizeof( HBQT_GC_T_QScrollArea ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QScrollArea >( ( QScrollArea * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QScrollArea; - p->type = HBQT_TYPE_QScrollArea; - - return p; -} - -HB_FUNC( QT_QSCROLLAREA ) -{ - QScrollArea * pObj = NULL; - - pObj = new QScrollArea( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QScrollArea( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QSCROLLAREA_ALIGNMENT ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* void ensureVisible ( int x, int y, int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QSCROLLAREA_ENSUREVISIBLE ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - ( p )->ensureVisible( hb_parni( 2 ), hb_parni( 3 ), hb_parnidef( 4, 50 ), hb_parnidef( 5, 50 ) ); -} - -/* void ensureWidgetVisible ( QWidget * childWidget, int xmargin = 50, int ymargin = 50 ) */ -HB_FUNC( QT_QSCROLLAREA_ENSUREWIDGETVISIBLE ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - ( p )->ensureWidgetVisible( hbqt_par_QWidget( 2 ), hb_parnidef( 3, 50 ), hb_parnidef( 4, 50 ) ); -} - -/* void setAlignment ( Qt::Alignment ) */ -HB_FUNC( QT_QSCROLLAREA_SETALIGNMENT ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setWidget ( QWidget * widget ) */ -HB_FUNC( QT_QSCROLLAREA_SETWIDGET ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - ( p )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* void setWidgetResizable ( bool resizable ) */ -HB_FUNC( QT_QSCROLLAREA_SETWIDGETRESIZABLE ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - ( p )->setWidgetResizable( hb_parl( 2 ) ); -} - -/* QWidget * takeWidget () */ -HB_FUNC( QT_QSCROLLAREA_TAKEWIDGET ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->takeWidget(), false ) ); -} - -/* QWidget * widget () const */ -HB_FUNC( QT_QSCROLLAREA_WIDGET ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - -/* bool widgetResizable () const */ -HB_FUNC( QT_QSCROLLAREA_WIDGETRESIZABLE ) -{ - QScrollArea * p = hbqt_par_QScrollArea( 1 ); - if( p ) - hb_retl( ( p )->widgetResizable() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp b/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp deleted file mode 100644 index fa9b0f3f69..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QScrollBar.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QScrollBar ( QWidget * parent = 0 ) - * QScrollBar ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QScrollBar () - */ - -typedef struct -{ - QPointer< QScrollBar > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QScrollBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QScrollBar ) -{ - HBQT_GC_T_QScrollBar * p = ( HBQT_GC_T_QScrollBar * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QScrollBar * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QScrollBar( void * pObj, bool bNew ) -{ - HBQT_GC_T_QScrollBar * p = ( HBQT_GC_T_QScrollBar * ) hb_gcAllocate( sizeof( HBQT_GC_T_QScrollBar ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QScrollBar >( ( QScrollBar * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QScrollBar; - p->type = HBQT_TYPE_QScrollBar; - - return p; -} - -HB_FUNC( QT_QSCROLLBAR ) -{ - QScrollBar * pObj = NULL; - - pObj = new QScrollBar( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QScrollBar( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp b/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp deleted file mode 100644 index 7014670773..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSessionManager.cpp +++ /dev/null @@ -1,214 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum RestartHint { RestartIfRunning, RestartAnyway, RestartImmediately, RestartNever } - */ - -/* - * Constructed[ 16/16 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSessionManager () - */ - -typedef struct -{ - QPointer< QSessionManager > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSessionManager; - -HBQT_GC_FUNC( hbqt_gcRelease_QSessionManager ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QSessionManager( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSessionManager * p = ( HBQT_GC_T_QSessionManager * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSessionManager ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSessionManager >( ( QSessionManager * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSessionManager; - p->type = HBQT_TYPE_QSessionManager; - - return p; -} - -HB_FUNC( QT_QSESSIONMANAGER ) -{ - // __HB_RETPTRGC__( new QSessionManager() ); -} - -/* bool allowsErrorInteraction () */ -HB_FUNC( QT_QSESSIONMANAGER_ALLOWSERRORINTERACTION ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retl( ( p )->allowsErrorInteraction() ); -} - -/* bool allowsInteraction () */ -HB_FUNC( QT_QSESSIONMANAGER_ALLOWSINTERACTION ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retl( ( p )->allowsInteraction() ); -} - -/* void cancel () */ -HB_FUNC( QT_QSESSIONMANAGER_CANCEL ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - ( p )->cancel(); -} - -/* QStringList discardCommand () const */ -HB_FUNC( QT_QSESSIONMANAGER_DISCARDCOMMAND ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->discardCommand() ), true ) ); -} - -/* bool isPhase2 () const */ -HB_FUNC( QT_QSESSIONMANAGER_ISPHASE2 ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retl( ( p )->isPhase2() ); -} - -/* void release () */ -HB_FUNC( QT_QSESSIONMANAGER_RELEASE ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - ( p )->release(); -} - -/* void requestPhase2 () */ -HB_FUNC( QT_QSESSIONMANAGER_REQUESTPHASE2 ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - ( p )->requestPhase2(); -} - -/* QStringList restartCommand () const */ -HB_FUNC( QT_QSESSIONMANAGER_RESTARTCOMMAND ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->restartCommand() ), true ) ); -} - -/* RestartHint restartHint () const */ -HB_FUNC( QT_QSESSIONMANAGER_RESTARTHINT ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retni( ( QSessionManager::RestartHint ) ( p )->restartHint() ); -} - -/* QString sessionId () const */ -HB_FUNC( QT_QSESSIONMANAGER_SESSIONID ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retstr_utf8( ( p )->sessionId().toUtf8().data() ); -} - -/* QString sessionKey () const */ -HB_FUNC( QT_QSESSIONMANAGER_SESSIONKEY ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - hb_retstr_utf8( ( p )->sessionKey().toUtf8().data() ); -} - -/* void setDiscardCommand ( const QStringList & list ) */ -HB_FUNC( QT_QSESSIONMANAGER_SETDISCARDCOMMAND ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - ( p )->setDiscardCommand( *hbqt_par_QStringList( 2 ) ); -} - -/* void setManagerProperty ( const QString & name, const QStringList & value ) */ -HB_FUNC( QT_QSESSIONMANAGER_SETMANAGERPROPERTY ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - { - void * pText; - ( p )->setManagerProperty( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QStringList( 3 ) ); - hb_strfree( pText ); - } -} - -/* void setManagerProperty ( const QString & name, const QString & value ) */ -HB_FUNC( QT_QSESSIONMANAGER_SETMANAGERPROPERTY_1 ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - { - void * pText; - ( p )->setManagerProperty( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setRestartCommand ( const QStringList & command ) */ -HB_FUNC( QT_QSESSIONMANAGER_SETRESTARTCOMMAND ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - ( p )->setRestartCommand( *hbqt_par_QStringList( 2 ) ); -} - -/* void setRestartHint ( RestartHint hint ) */ -HB_FUNC( QT_QSESSIONMANAGER_SETRESTARTHINT ) -{ - QSessionManager * p = hbqt_par_QSessionManager( 1 ); - if( p ) - ( p )->setRestartHint( ( QSessionManager::RestartHint ) hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp deleted file mode 100644 index a6985be5ef..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QShowEvent.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QShowEvent () - */ - -typedef struct -{ - QShowEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QShowEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QShowEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QShowEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QShowEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QShowEvent; - p->type = HBQT_TYPE_QShowEvent; - - return p; -} - -HB_FUNC( QT_QSHOWEVENT ) -{ - // __HB_RETPTRGC__( new QShowEvent() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp b/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp deleted file mode 100644 index 20045049e7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSizeGrip.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QSizeGrip ( QWidget * parent ) - * ~QSizeGrip () - */ - -typedef struct -{ - QPointer< QSizeGrip > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSizeGrip; - -HBQT_GC_FUNC( hbqt_gcRelease_QSizeGrip ) -{ - HBQT_GC_T_QSizeGrip * p = ( HBQT_GC_T_QSizeGrip * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSizeGrip * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSizeGrip( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSizeGrip * p = ( HBQT_GC_T_QSizeGrip * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSizeGrip ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSizeGrip >( ( QSizeGrip * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSizeGrip; - p->type = HBQT_TYPE_QSizeGrip; - - return p; -} - -HB_FUNC( QT_QSIZEGRIP ) -{ - QSizeGrip * pObj = NULL; - - pObj = new QSizeGrip( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSizeGrip( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp b/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp deleted file mode 100644 index 018abc5f11..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSizePolicy.cpp +++ /dev/null @@ -1,214 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Policy { Fixed, Minimum, Maximum, Preferred, ..., Ignored } - * enum PolicyFlag { GrowFlag, ExpandFlag, ShrinkFlag, IgnoreFlag } - * enum ControlType { DefaultType, ButtonBox, CheckBox, ComboBox, ..., ToolButton } - * flags ControlTypes - */ - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSizePolicy () - * QSizePolicy ( Policy horizontal, Policy vertical ) - * QSizePolicy ( Policy horizontal, Policy vertical, ControlType type ) - */ - -typedef struct -{ - QSizePolicy * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSizePolicy; - -HBQT_GC_FUNC( hbqt_gcRelease_QSizePolicy ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QSizePolicy * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSizePolicy( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QSizePolicy * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QSizePolicy; - p->type = HBQT_TYPE_QSizePolicy; - - return p; -} - -HB_FUNC( QT_QSIZEPOLICY ) -{ - QSizePolicy * pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QSizePolicy( ( QSizePolicy::Policy ) hb_parni( 1 ), ( QSizePolicy::Policy ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QSizePolicy( *hbqt_par_QSizePolicy( 1 ) ) ; - } - else - { - pObj = new QSizePolicy() ; - } - - hb_retptrGC( hbqt_gcAllocate_QSizePolicy( ( void * ) pObj, true ) ); -} - -/* ControlType controlType () const */ -HB_FUNC( QT_QSIZEPOLICY_CONTROLTYPE ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retni( ( QSizePolicy::ControlType ) ( p )->controlType() ); -} - -/* Qt::Orientations expandingDirections () const */ -HB_FUNC( QT_QSIZEPOLICY_EXPANDINGDIRECTIONS ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retni( ( Qt::Orientations ) ( p )->expandingDirections() ); -} - -/* bool hasHeightForWidth () const */ -HB_FUNC( QT_QSIZEPOLICY_HASHEIGHTFORWIDTH ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retl( ( p )->hasHeightForWidth() ); -} - -/* Policy horizontalPolicy () const */ -HB_FUNC( QT_QSIZEPOLICY_HORIZONTALPOLICY ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retni( ( QSizePolicy::Policy ) ( p )->horizontalPolicy() ); -} - -/* int horizontalStretch () const */ -HB_FUNC( QT_QSIZEPOLICY_HORIZONTALSTRETCH ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retni( ( p )->horizontalStretch() ); -} - -/* void setControlType ( ControlType type ) */ -HB_FUNC( QT_QSIZEPOLICY_SETCONTROLTYPE ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->setControlType( ( QSizePolicy::ControlType ) hb_parni( 2 ) ); -} - -/* void setHeightForWidth ( bool dependent ) */ -HB_FUNC( QT_QSIZEPOLICY_SETHEIGHTFORWIDTH ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->setHeightForWidth( hb_parl( 2 ) ); -} - -/* void setHorizontalPolicy ( Policy policy ) */ -HB_FUNC( QT_QSIZEPOLICY_SETHORIZONTALPOLICY ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->setHorizontalPolicy( ( QSizePolicy::Policy ) hb_parni( 2 ) ); -} - -/* void setHorizontalStretch ( uchar stretchFactor ) */ -HB_FUNC( QT_QSIZEPOLICY_SETHORIZONTALSTRETCH ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->setHorizontalStretch( ( uchar ) hb_parni( 2 ) ); -} - -/* void setVerticalPolicy ( Policy policy ) */ -HB_FUNC( QT_QSIZEPOLICY_SETVERTICALPOLICY ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->setVerticalPolicy( ( QSizePolicy::Policy ) hb_parni( 2 ) ); -} - -/* void setVerticalStretch ( uchar stretchFactor ) */ -HB_FUNC( QT_QSIZEPOLICY_SETVERTICALSTRETCH ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->setVerticalStretch( ( uchar ) hb_parni( 2 ) ); -} - -/* void transpose () */ -HB_FUNC( QT_QSIZEPOLICY_TRANSPOSE ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - ( p )->transpose(); -} - -/* Policy verticalPolicy () const */ -HB_FUNC( QT_QSIZEPOLICY_VERTICALPOLICY ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retni( ( QSizePolicy::Policy ) ( p )->verticalPolicy() ); -} - -/* int verticalStretch () const */ -HB_FUNC( QT_QSIZEPOLICY_VERTICALSTRETCH ) -{ - QSizePolicy * p = hbqt_par_QSizePolicy( 1 ); - if( p ) - hb_retni( ( p )->verticalStretch() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSlider.cpp b/harbour/contrib/hbqt/qtgui/g/QSlider.cpp deleted file mode 100644 index 5f2fb7a1af..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSlider.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum TickPosition { NoTicks, TicksBothSides, TicksAbove, TicksBelow, TicksLeft, TicksRight } - */ - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSlider ( QWidget * parent = 0 ) - * QSlider ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QSlider () - */ - -typedef struct -{ - QPointer< QSlider > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSlider; - -HBQT_GC_FUNC( hbqt_gcRelease_QSlider ) -{ - HBQT_GC_T_QSlider * p = ( HBQT_GC_T_QSlider * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSlider * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSlider( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSlider * p = ( HBQT_GC_T_QSlider * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSlider ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSlider >( ( QSlider * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSlider; - p->type = HBQT_TYPE_QSlider; - - return p; -} - -HB_FUNC( QT_QSLIDER ) -{ - QSlider * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - pObj = new QSlider( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = new QSlider( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSlider( ( void * ) pObj, true ) ); -} - -/* void setTickInterval ( int ti ) */ -HB_FUNC( QT_QSLIDER_SETTICKINTERVAL ) -{ - QSlider * p = hbqt_par_QSlider( 1 ); - if( p ) - ( p )->setTickInterval( hb_parni( 2 ) ); -} - -/* void setTickPosition ( TickPosition position ) */ -HB_FUNC( QT_QSLIDER_SETTICKPOSITION ) -{ - QSlider * p = hbqt_par_QSlider( 1 ); - if( p ) - ( p )->setTickPosition( ( QSlider::TickPosition ) hb_parni( 2 ) ); -} - -/* int tickInterval () const */ -HB_FUNC( QT_QSLIDER_TICKINTERVAL ) -{ - QSlider * p = hbqt_par_QSlider( 1 ); - if( p ) - hb_retni( ( p )->tickInterval() ); -} - -/* TickPosition tickPosition () const */ -HB_FUNC( QT_QSLIDER_TICKPOSITION ) -{ - QSlider * p = hbqt_par_QSlider( 1 ); - if( p ) - hb_retni( ( QSlider::TickPosition ) ( p )->tickPosition() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp b/harbour/contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp deleted file mode 100644 index 82365f78ab..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp +++ /dev/null @@ -1,299 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 24/24 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSortFilterProxyModel ( QObject * parent = 0 ) - * ~QSortFilterProxyModel () - */ - -typedef struct -{ - QPointer< QSortFilterProxyModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSortFilterProxyModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QSortFilterProxyModel ) -{ - HBQT_GC_T_QSortFilterProxyModel * p = ( HBQT_GC_T_QSortFilterProxyModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSortFilterProxyModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSortFilterProxyModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSortFilterProxyModel * p = ( HBQT_GC_T_QSortFilterProxyModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSortFilterProxyModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSortFilterProxyModel >( ( QSortFilterProxyModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSortFilterProxyModel; - p->type = HBQT_TYPE_QSortFilterProxyModel; - - return p; -} - -HB_FUNC( QT_QSORTFILTERPROXYMODEL ) -{ - QSortFilterProxyModel * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QSortFilterProxyModel( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QSortFilterProxyModel() ; - } - - hb_retptrGC( hbqt_gcAllocate_QSortFilterProxyModel( ( void * ) pObj, true ) ); -} - -/* bool dynamicSortFilter () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_DYNAMICSORTFILTER ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retl( ( p )->dynamicSortFilter() ); -} - -/* Qt::CaseSensitivity filterCaseSensitivity () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERCASESENSITIVITY ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( Qt::CaseSensitivity ) ( p )->filterCaseSensitivity() ); -} - -/* int filterKeyColumn () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERKEYCOLUMN ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( p )->filterKeyColumn() ); -} - -/* QRegExp filterRegExp () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERREGEXP ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegExp( new QRegExp( ( p )->filterRegExp() ), true ) ); -} - -/* int filterRole () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERROLE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( p )->filterRole() ); -} - -/* bool isSortLocaleAware () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_ISSORTLOCALEAWARE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retl( ( p )->isSortLocaleAware() ); -} - -/* virtual QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_MAPFROMSOURCE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mapFromSource( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* virtual QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_MAPTOSOURCE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mapToSource( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* void setDynamicSortFilter ( bool enable ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETDYNAMICSORTFILTER ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setDynamicSortFilter( hb_parl( 2 ) ); -} - -/* void setFilterCaseSensitivity ( Qt::CaseSensitivity cs ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERCASESENSITIVITY ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setFilterCaseSensitivity( ( Qt::CaseSensitivity ) hb_parni( 2 ) ); -} - -/* void setFilterKeyColumn ( int column ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERKEYCOLUMN ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setFilterKeyColumn( hb_parni( 2 ) ); -} - -/* void setFilterRegExp ( const QRegExp & regExp ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERREGEXP ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setFilterRegExp( *hbqt_par_QRegExp( 2 ) ); -} - -/* void setFilterRole ( int role ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERROLE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setFilterRole( hb_parni( 2 ) ); -} - -/* void setSortCaseSensitivity ( Qt::CaseSensitivity cs ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETSORTCASESENSITIVITY ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setSortCaseSensitivity( ( Qt::CaseSensitivity ) hb_parni( 2 ) ); -} - -/* void setSortLocaleAware ( bool on ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETSORTLOCALEAWARE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setSortLocaleAware( hb_parl( 2 ) ); -} - -/* void setSortRole ( int role ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETSORTROLE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->setSortRole( hb_parni( 2 ) ); -} - -/* Qt::CaseSensitivity sortCaseSensitivity () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTCASESENSITIVITY ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( Qt::CaseSensitivity ) ( p )->sortCaseSensitivity() ); -} - -/* int sortColumn () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTCOLUMN ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( p )->sortColumn() ); -} - -/* Qt::SortOrder sortOrder () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTORDER ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( Qt::SortOrder ) ( p )->sortOrder() ); -} - -/* int sortRole () const */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTROLE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - hb_retni( ( p )->sortRole() ); -} - -/* void invalidate () */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_INVALIDATE ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - ( p )->invalidate(); -} - -/* void setFilterFixedString ( const QString & pattern ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERFIXEDSTRING ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - { - void * pText; - ( p )->setFilterFixedString( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFilterRegExp ( const QString & pattern ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERREGEXP_1 ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - { - void * pText; - ( p )->setFilterRegExp( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFilterWildcard ( const QString & pattern ) */ -HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERWILDCARD ) -{ - QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 ); - if( p ) - { - void * pText; - ( p )->setFilterWildcard( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSound.cpp b/harbour/contrib/hbqt/qtgui/g/QSound.cpp deleted file mode 100644 index c607845af9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSound.cpp +++ /dev/null @@ -1,148 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSound ( const QString & filename, QObject * parent = 0 ) - * ~QSound () - */ - -typedef struct -{ - QPointer< QSound > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSound; - -HBQT_GC_FUNC( hbqt_gcRelease_QSound ) -{ - HBQT_GC_T_QSound * p = ( HBQT_GC_T_QSound * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSound * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSound( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSound * p = ( HBQT_GC_T_QSound * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSound ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSound >( ( QSound * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSound; - p->type = HBQT_TYPE_QSound; - - return p; -} - -HB_FUNC( QT_QSOUND ) -{ - QSound * pObj = NULL; - - pObj = new QSound( hbqt_par_QString( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSound( ( void * ) pObj, true ) ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QSOUND_FILENAME ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* bool isFinished () const */ -HB_FUNC( QT_QSOUND_ISFINISHED ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - hb_retl( ( p )->isFinished() ); -} - -/* int loops () const */ -HB_FUNC( QT_QSOUND_LOOPS ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - hb_retni( ( p )->loops() ); -} - -/* int loopsRemaining () const */ -HB_FUNC( QT_QSOUND_LOOPSREMAINING ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - hb_retni( ( p )->loopsRemaining() ); -} - -/* void setLoops ( int number ) */ -HB_FUNC( QT_QSOUND_SETLOOPS ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - ( p )->setLoops( hb_parni( 2 ) ); -} - -/* bool isAvailable () */ -HB_FUNC( QT_QSOUND_ISAVAILABLE ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - hb_retl( ( p )->isAvailable() ); -} - -/* void play ( const QString & filename ) */ -HB_FUNC( QT_QSOUND_PLAY ) -{ - QSound * p = hbqt_par_QSound( 1 ); - if( p ) - { - void * pText; - ( p )->play( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp b/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp deleted file mode 100644 index 14f1299f81..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSpacerItem.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QSpacerItem ( int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum ) - * ~QSpacerItem () - */ - -typedef struct -{ - QSpacerItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSpacerItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QSpacerItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QSpacerItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSpacerItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QSpacerItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QSpacerItem; - p->type = HBQT_TYPE_QSpacerItem; - - return p; -} - -HB_FUNC( QT_QSPACERITEM ) -{ - QSpacerItem * pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QSpacerItem( hb_parni( 1 ), hb_parni( 2 ), - HB_ISNUM( 3 ) ? ( QSizePolicy::Policy ) hb_parni( 3 ) : QSizePolicy::Minimum, - HB_ISNUM( 4 ) ? ( QSizePolicy::Policy ) hb_parni( 4 ) : QSizePolicy::Minimum ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QSpacerItem( *hbqt_par_QSpacerItem( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QSpacerItem( ( void * ) pObj, true ) ); -} - -/* void changeSize ( int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum ) */ -HB_FUNC( QT_QSPACERITEM_CHANGESIZE ) -{ - QSpacerItem * p = hbqt_par_QSpacerItem( 1 ); - if( p ) - ( p )->changeSize( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QSizePolicy::Policy ) hb_parni( 4 ) : ( QSizePolicy::Policy ) QSizePolicy::Minimum ), ( HB_ISNUM( 5 ) ? ( QSizePolicy::Policy ) hb_parni( 5 ) : ( QSizePolicy::Policy ) QSizePolicy::Minimum ) ); -} - -/* virtual bool isEmpty () const */ -HB_FUNC( QT_QSPACERITEM_ISEMPTY ) -{ - QSpacerItem * p = hbqt_par_QSpacerItem( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* virtual QSpacerItem * spacerItem () */ -HB_FUNC( QT_QSPACERITEM_SPACERITEM ) -{ - QSpacerItem * p = hbqt_par_QSpacerItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSpacerItem( ( p )->spacerItem(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp deleted file mode 100644 index 67ccc50521..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSpinBox.cpp +++ /dev/null @@ -1,207 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSpinBox ( QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QSpinBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSpinBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QSpinBox ) -{ - HBQT_GC_T_QSpinBox * p = ( HBQT_GC_T_QSpinBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSpinBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSpinBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSpinBox * p = ( HBQT_GC_T_QSpinBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSpinBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSpinBox >( ( QSpinBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSpinBox; - p->type = HBQT_TYPE_QSpinBox; - - return p; -} - -HB_FUNC( QT_QSPINBOX ) -{ - QSpinBox * pObj = NULL; - - pObj = new QSpinBox( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSpinBox( ( void * ) pObj, true ) ); -} - -/* QString cleanText () const */ -HB_FUNC( QT_QSPINBOX_CLEANTEXT ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->cleanText().toUtf8().data() ); -} - -/* int maximum () const */ -HB_FUNC( QT_QSPINBOX_MAXIMUM ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retni( ( p )->maximum() ); -} - -/* int minimum () const */ -HB_FUNC( QT_QSPINBOX_MINIMUM ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retni( ( p )->minimum() ); -} - -/* QString prefix () const */ -HB_FUNC( QT_QSPINBOX_PREFIX ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->prefix().toUtf8().data() ); -} - -/* void setMaximum ( int max ) */ -HB_FUNC( QT_QSPINBOX_SETMAXIMUM ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - ( p )->setMaximum( hb_parni( 2 ) ); -} - -/* void setMinimum ( int min ) */ -HB_FUNC( QT_QSPINBOX_SETMINIMUM ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - ( p )->setMinimum( hb_parni( 2 ) ); -} - -/* void setPrefix ( const QString & prefix ) */ -HB_FUNC( QT_QSPINBOX_SETPREFIX ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - { - void * pText; - ( p )->setPrefix( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setRange ( int minimum, int maximum ) */ -HB_FUNC( QT_QSPINBOX_SETRANGE ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - ( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setSingleStep ( int val ) */ -HB_FUNC( QT_QSPINBOX_SETSINGLESTEP ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - ( p )->setSingleStep( hb_parni( 2 ) ); -} - -/* void setSuffix ( const QString & suffix ) */ -HB_FUNC( QT_QSPINBOX_SETSUFFIX ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - { - void * pText; - ( p )->setSuffix( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* int singleStep () const */ -HB_FUNC( QT_QSPINBOX_SINGLESTEP ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retni( ( p )->singleStep() ); -} - -/* QString suffix () const */ -HB_FUNC( QT_QSPINBOX_SUFFIX ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->suffix().toUtf8().data() ); -} - -/* int value () const */ -HB_FUNC( QT_QSPINBOX_VALUE ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - hb_retni( ( p )->value() ); -} - -/* void setValue ( int val ) */ -HB_FUNC( QT_QSPINBOX_SETVALUE ) -{ - QSpinBox * p = hbqt_par_QSpinBox( 1 ); - if( p ) - ( p )->setValue( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp b/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp deleted file mode 100644 index ab421fb8f0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSplashScreen.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSplashScreen ( const QPixmap & pixmap = QPixmap(), Qt::WindowFlags f = 0 ) - * QSplashScreen ( QWidget * parent, const QPixmap & pixmap = QPixmap(), Qt::WindowFlags f = 0 ) - * virtual ~QSplashScreen () - */ - -typedef struct -{ - QPointer< QSplashScreen > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSplashScreen; - -HBQT_GC_FUNC( hbqt_gcRelease_QSplashScreen ) -{ - HBQT_GC_T_QSplashScreen * p = ( HBQT_GC_T_QSplashScreen * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSplashScreen * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSplashScreen( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSplashScreen * p = ( HBQT_GC_T_QSplashScreen * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSplashScreen ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSplashScreen >( ( QSplashScreen * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSplashScreen; - p->type = HBQT_TYPE_QSplashScreen; - - return p; -} - -HB_FUNC( QT_QSPLASHSCREEN ) -{ - QSplashScreen * pObj = NULL; - - pObj = new QSplashScreen( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSplashScreen( ( void * ) pObj, true ) ); -} - -/* void finish ( QWidget * mainWin ) */ -HB_FUNC( QT_QSPLASHSCREEN_FINISH ) -{ - QSplashScreen * p = hbqt_par_QSplashScreen( 1 ); - if( p ) - ( p )->finish( hbqt_par_QWidget( 2 ) ); -} - -/* const QPixmap pixmap () const */ -HB_FUNC( QT_QSPLASHSCREEN_PIXMAP ) -{ - QSplashScreen * p = hbqt_par_QSplashScreen( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); -} - -/* void repaint () */ -HB_FUNC( QT_QSPLASHSCREEN_REPAINT ) -{ - QSplashScreen * p = hbqt_par_QSplashScreen( 1 ); - if( p ) - ( p )->repaint(); -} - -/* void setPixmap ( const QPixmap & pixmap ) */ -HB_FUNC( QT_QSPLASHSCREEN_SETPIXMAP ) -{ - QSplashScreen * p = hbqt_par_QSplashScreen( 1 ); - if( p ) - ( p )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* void clearMessage () */ -HB_FUNC( QT_QSPLASHSCREEN_CLEARMESSAGE ) -{ - QSplashScreen * p = hbqt_par_QSplashScreen( 1 ); - if( p ) - ( p )->clearMessage(); -} - -/* void showMessage ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black ) */ -HB_FUNC( QT_QSPLASHSCREEN_SHOWMESSAGE ) -{ - QSplashScreen * p = hbqt_par_QSplashScreen( 1 ); - if( p ) - { - void * pText; - ( p )->showMessage( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, Qt::AlignLeft ), *hbqt_par_QColor( 4 ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp b/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp deleted file mode 100644 index 961d9bf135..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSplitter.cpp +++ /dev/null @@ -1,273 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 21/22 [ 95.45% ] ] - * - * *** Unconvered Prototypes *** - * - * void setSizes ( const QList & list ) - * - * *** Commented out protostypes *** - * - * //QSplitterHandle * handle ( int index ) const - */ - -#include - -#include - - -/* - * QSplitter ( QWidget * parent = 0 ) - * QSplitter ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QSplitter () - */ - -typedef struct -{ - QPointer< QSplitter > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSplitter; - -HBQT_GC_FUNC( hbqt_gcRelease_QSplitter ) -{ - HBQT_GC_T_QSplitter * p = ( HBQT_GC_T_QSplitter * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSplitter * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSplitter( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSplitter * p = ( HBQT_GC_T_QSplitter * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSplitter ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSplitter >( ( QSplitter * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSplitter; - p->type = HBQT_TYPE_QSplitter; - - return p; -} - -HB_FUNC( QT_QSPLITTER ) -{ - QSplitter * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - pObj = new QSplitter( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = new QSplitter( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSplitter( ( void * ) pObj, true ) ); -} - -/* void addWidget ( QWidget * widget ) */ -HB_FUNC( QT_QSPLITTER_ADDWIDGET ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->addWidget( hbqt_par_QWidget( 2 ) ); -} - -/* bool childrenCollapsible () const */ -HB_FUNC( QT_QSPLITTER_CHILDRENCOLLAPSIBLE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retl( ( p )->childrenCollapsible() ); -} - -/* int count () const */ -HB_FUNC( QT_QSPLITTER_COUNT ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* void getRange ( int index, int * min, int * max ) const */ -HB_FUNC( QT_QSPLITTER_GETRANGE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - int iMin = 0; - int iMax = 0; - - if( p ) - ( p )->getRange( hb_parni( 2 ), &iMin, &iMax ); - - hb_storni( iMin, 3 ); - hb_storni( iMax, 4 ); -} - -/* int handleWidth () const */ -HB_FUNC( QT_QSPLITTER_HANDLEWIDTH ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retni( ( p )->handleWidth() ); -} - -/* int indexOf ( QWidget * widget ) const */ -HB_FUNC( QT_QSPLITTER_INDEXOF ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retni( ( p )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* void insertWidget ( int index, QWidget * widget ) */ -HB_FUNC( QT_QSPLITTER_INSERTWIDGET ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* bool isCollapsible ( int index ) const */ -HB_FUNC( QT_QSPLITTER_ISCOLLAPSIBLE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retl( ( p )->isCollapsible( hb_parni( 2 ) ) ); -} - -/* bool opaqueResize () const */ -HB_FUNC( QT_QSPLITTER_OPAQUERESIZE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retl( ( p )->opaqueResize() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QSPLITTER_ORIENTATION ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* void refresh () */ -HB_FUNC( QT_QSPLITTER_REFRESH ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->refresh(); -} - -/* bool restoreState ( const QByteArray & state ) */ -HB_FUNC( QT_QSPLITTER_RESTORESTATE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retl( ( p )->restoreState( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* QByteArray saveState () const */ -HB_FUNC( QT_QSPLITTER_SAVESTATE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->saveState() ), true ) ); -} - -/* void setChildrenCollapsible ( bool ) */ -HB_FUNC( QT_QSPLITTER_SETCHILDRENCOLLAPSIBLE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->setChildrenCollapsible( hb_parl( 2 ) ); -} - -/* void setCollapsible ( int index, bool collapse ) */ -HB_FUNC( QT_QSPLITTER_SETCOLLAPSIBLE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->setCollapsible( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setHandleWidth ( int ) */ -HB_FUNC( QT_QSPLITTER_SETHANDLEWIDTH ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->setHandleWidth( hb_parni( 2 ) ); -} - -/* void setOpaqueResize ( bool opaque = true ) */ -HB_FUNC( QT_QSPLITTER_SETOPAQUERESIZE ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->setOpaqueResize( hb_parl( 2 ) ); -} - -/* void setOrientation ( Qt::Orientation ) */ -HB_FUNC( QT_QSPLITTER_SETORIENTATION ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* void setStretchFactor ( int index, int stretch ) */ -HB_FUNC( QT_QSPLITTER_SETSTRETCHFACTOR ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - ( p )->setStretchFactor( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* QList sizes () const */ -HB_FUNC( QT_QSPLITTER_SIZES ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->sizes() ), true ) ); -} - -/* QWidget * widget ( int index ) const */ -HB_FUNC( QT_QSPLITTER_WIDGET ) -{ - QSplitter * p = hbqt_par_QSplitter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget( hb_parni( 2 ) ), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp deleted file mode 100644 index 5833617cd7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStackedWidget.cpp +++ /dev/null @@ -1,169 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStackedWidget ( QWidget * parent = 0 ) - * ~QStackedWidget () - * - */ - -typedef struct -{ - QPointer< QStackedWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStackedWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QStackedWidget ) -{ - HBQT_GC_T_QStackedWidget * p = ( HBQT_GC_T_QStackedWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QStackedWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStackedWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QStackedWidget * p = ( HBQT_GC_T_QStackedWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QStackedWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QStackedWidget >( ( QStackedWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QStackedWidget; - p->type = HBQT_TYPE_QStackedWidget; - - return p; -} - -HB_FUNC( QT_QSTACKEDWIDGET ) -{ - QStackedWidget * pObj = NULL; - - pObj = new QStackedWidget( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QStackedWidget( ( void * ) pObj, true ) ); -} - -/* int addWidget ( QWidget * widget ) */ -HB_FUNC( QT_QSTACKEDWIDGET_ADDWIDGET ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retni( ( p )->addWidget( hbqt_par_QWidget( 2 ) ) ); -} - -/* int count () const */ -HB_FUNC( QT_QSTACKEDWIDGET_COUNT ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* int currentIndex () const */ -HB_FUNC( QT_QSTACKEDWIDGET_CURRENTINDEX ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retni( ( p )->currentIndex() ); -} - -/* QWidget * currentWidget () const */ -HB_FUNC( QT_QSTACKEDWIDGET_CURRENTWIDGET ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->currentWidget(), false ) ); -} - -/* int indexOf ( QWidget * widget ) const */ -HB_FUNC( QT_QSTACKEDWIDGET_INDEXOF ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retni( ( p )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* int insertWidget ( int index, QWidget * widget ) */ -HB_FUNC( QT_QSTACKEDWIDGET_INSERTWIDGET ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retni( ( p )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ) ) ); -} - -/* void removeWidget ( QWidget * widget ) */ -HB_FUNC( QT_QSTACKEDWIDGET_REMOVEWIDGET ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - ( p )->removeWidget( hbqt_par_QWidget( 2 ) ); -} - -/* QWidget * widget ( int index ) const */ -HB_FUNC( QT_QSTACKEDWIDGET_WIDGET ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget( hb_parni( 2 ) ), false ) ); -} - -/* void setCurrentIndex ( int index ) */ -HB_FUNC( QT_QSTACKEDWIDGET_SETCURRENTINDEX ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - ( p )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* void setCurrentWidget ( QWidget * widget ) */ -HB_FUNC( QT_QSTACKEDWIDGET_SETCURRENTWIDGET ) -{ - QStackedWidget * p = hbqt_par_QStackedWidget( 1 ); - if( p ) - ( p )->setCurrentWidget( hbqt_par_QWidget( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp deleted file mode 100644 index 8d17f6acad..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStandardItem.cpp +++ /dev/null @@ -1,706 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ItemType { Type, UserType } - */ - -/* - * Constructed[ 73/79 [ 92.41% ] ] - * - * *** Unconvered Prototypes *** - * - * void appendColumn ( const QList & items ) - * void appendRow ( const QList & items ) - * void appendRows ( const QList & items ) - * void insertColumn ( int column, const QList & items ) - * void insertRow ( int row, const QList & items ) - * void insertRows ( int row, const QList & items ) - */ - -#include - -#include - - -/* - * QStandardItem () - * QStandardItem ( const QString & text ) - * QStandardItem ( const QIcon & icon, const QString & text ) - * QStandardItem ( int rows, int columns = 1 ) - * ~QStandardItem () - */ - -typedef struct -{ - QStandardItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStandardItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QStandardItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStandardItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStandardItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStandardItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStandardItem; - p->type = HBQT_TYPE_QStandardItem; - - return p; -} - -HB_FUNC( QT_QSTANDARDITEM ) -{ - QStandardItem * pObj = NULL; - - pObj = new QStandardItem() ; - - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( void * ) pObj, true ) ); -} - -/* QString accessibleDescription () const */ -HB_FUNC( QT_QSTANDARDITEM_ACCESSIBLEDESCRIPTION ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->accessibleDescription().toUtf8().data() ); -} - -/* QString accessibleText () const */ -HB_FUNC( QT_QSTANDARDITEM_ACCESSIBLETEXT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->accessibleText().toUtf8().data() ); -} - -/* void appendRow ( QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEM_APPENDROW ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->appendRow( hbqt_par_QStandardItem( 2 ) ); -} - -/* QBrush background () const */ -HB_FUNC( QT_QSTANDARDITEM_BACKGROUND ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background() ), true ) ); -} - -/* Qt::CheckState checkState () const */ -HB_FUNC( QT_QSTANDARDITEM_CHECKSTATE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( Qt::CheckState ) ( p )->checkState() ); -} - -/* QStandardItem * child ( int row, int column = 0 ) const */ -HB_FUNC( QT_QSTANDARDITEM_CHILD ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->child( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* virtual QStandardItem * clone () const */ -HB_FUNC( QT_QSTANDARDITEM_CLONE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->clone(), false ) ); -} - -/* int column () const */ -HB_FUNC( QT_QSTANDARDITEM_COLUMN ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( p )->column() ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QSTANDARDITEM_COLUMNCOUNT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* virtual QVariant data ( int role = Qt::UserRole + 1 ) const */ -HB_FUNC( QT_QSTANDARDITEM_DATA ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( hb_parnidef( 2, Qt::UserRole + 1 ) ) ), true ) ); -} - -/* Qt::ItemFlags flags () const */ -HB_FUNC( QT_QSTANDARDITEM_FLAGS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags() ); -} - -/* QFont font () const */ -HB_FUNC( QT_QSTANDARDITEM_FONT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QBrush foreground () const */ -HB_FUNC( QT_QSTANDARDITEM_FOREGROUND ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foreground() ), true ) ); -} - -/* bool hasChildren () const */ -HB_FUNC( QT_QSTANDARDITEM_HASCHILDREN ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->hasChildren() ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QSTANDARDITEM_ICON ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* QModelIndex index () const */ -HB_FUNC( QT_QSTANDARDITEM_INDEX ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->index() ), true ) ); -} - -/* void insertColumns ( int column, int count ) */ -HB_FUNC( QT_QSTANDARDITEM_INSERTCOLUMNS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->insertColumns( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void insertRow ( int row, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEM_INSERTROW ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* void insertRows ( int row, int count ) */ -HB_FUNC( QT_QSTANDARDITEM_INSERTROWS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->insertRows( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* bool isCheckable () const */ -HB_FUNC( QT_QSTANDARDITEM_ISCHECKABLE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isCheckable() ); -} - -/* bool isDragEnabled () const */ -HB_FUNC( QT_QSTANDARDITEM_ISDRAGENABLED ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isDragEnabled() ); -} - -/* bool isDropEnabled () const */ -HB_FUNC( QT_QSTANDARDITEM_ISDROPENABLED ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isDropEnabled() ); -} - -/* bool isEditable () const */ -HB_FUNC( QT_QSTANDARDITEM_ISEDITABLE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isEditable() ); -} - -/* bool isEnabled () const */ -HB_FUNC( QT_QSTANDARDITEM_ISENABLED ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isEnabled() ); -} - -/* bool isSelectable () const */ -HB_FUNC( QT_QSTANDARDITEM_ISSELECTABLE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isSelectable() ); -} - -/* bool isTristate () const */ -HB_FUNC( QT_QSTANDARDITEM_ISTRISTATE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retl( ( p )->isTristate() ); -} - -/* QStandardItemModel * model () const */ -HB_FUNC( QT_QSTANDARDITEM_MODEL ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItemModel( ( p )->model(), false ) ); -} - -/* QStandardItem * parent () const */ -HB_FUNC( QT_QSTANDARDITEM_PARENT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->parent(), false ) ); -} - -/* virtual void read ( QDataStream & in ) */ -HB_FUNC( QT_QSTANDARDITEM_READ ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* void removeColumn ( int column ) */ -HB_FUNC( QT_QSTANDARDITEM_REMOVECOLUMN ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->removeColumn( hb_parni( 2 ) ); -} - -/* void removeColumns ( int column, int count ) */ -HB_FUNC( QT_QSTANDARDITEM_REMOVECOLUMNS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->removeColumns( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void removeRow ( int row ) */ -HB_FUNC( QT_QSTANDARDITEM_REMOVEROW ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->removeRow( hb_parni( 2 ) ); -} - -/* void removeRows ( int row, int count ) */ -HB_FUNC( QT_QSTANDARDITEM_REMOVEROWS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->removeRows( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* int row () const */ -HB_FUNC( QT_QSTANDARDITEM_ROW ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( p )->row() ); -} - -/* int rowCount () const */ -HB_FUNC( QT_QSTANDARDITEM_ROWCOUNT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( p )->rowCount() ); -} - -/* void setAccessibleDescription ( const QString & accessibleDescription ) */ -HB_FUNC( QT_QSTANDARDITEM_SETACCESSIBLEDESCRIPTION ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - { - void * pText; - ( p )->setAccessibleDescription( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setAccessibleText ( const QString & accessibleText ) */ -HB_FUNC( QT_QSTANDARDITEM_SETACCESSIBLETEXT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - { - void * pText; - ( p )->setAccessibleText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setBackground ( const QBrush & brush ) */ -HB_FUNC( QT_QSTANDARDITEM_SETBACKGROUND ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setCheckState ( Qt::CheckState state ) */ -HB_FUNC( QT_QSTANDARDITEM_SETCHECKSTATE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* void setCheckable ( bool checkable ) */ -HB_FUNC( QT_QSTANDARDITEM_SETCHECKABLE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setCheckable( hb_parl( 2 ) ); -} - -/* void setChild ( int row, int column, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEM_SETCHILD ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setChild( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QStandardItem( 4 ) ); -} - -/* void setChild ( int row, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEM_SETCHILD_1 ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setChild( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* void setColumnCount ( int columns ) */ -HB_FUNC( QT_QSTANDARDITEM_SETCOLUMNCOUNT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setColumnCount( hb_parni( 2 ) ); -} - -/* virtual void setData ( const QVariant & value, int role = Qt::UserRole + 1 ) */ -HB_FUNC( QT_QSTANDARDITEM_SETDATA ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setData( *hbqt_par_QVariant( 2 ), hb_parnidef( 3, Qt::UserRole + 1 ) ); -} - -/* void setDragEnabled ( bool dragEnabled ) */ -HB_FUNC( QT_QSTANDARDITEM_SETDRAGENABLED ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setDragEnabled( hb_parl( 2 ) ); -} - -/* void setDropEnabled ( bool dropEnabled ) */ -HB_FUNC( QT_QSTANDARDITEM_SETDROPENABLED ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setDropEnabled( hb_parl( 2 ) ); -} - -/* void setEditable ( bool editable ) */ -HB_FUNC( QT_QSTANDARDITEM_SETEDITABLE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setEditable( hb_parl( 2 ) ); -} - -/* void setEnabled ( bool enabled ) */ -HB_FUNC( QT_QSTANDARDITEM_SETENABLED ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setEnabled( hb_parl( 2 ) ); -} - -/* void setFlags ( Qt::ItemFlags flags ) */ -HB_FUNC( QT_QSTANDARDITEM_SETFLAGS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QSTANDARDITEM_SETFONT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setForeground ( const QBrush & brush ) */ -HB_FUNC( QT_QSTANDARDITEM_SETFOREGROUND ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QSTANDARDITEM_SETICON ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setRowCount ( int rows ) */ -HB_FUNC( QT_QSTANDARDITEM_SETROWCOUNT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setRowCount( hb_parni( 2 ) ); -} - -/* void setSelectable ( bool selectable ) */ -HB_FUNC( QT_QSTANDARDITEM_SETSELECTABLE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setSelectable( hb_parl( 2 ) ); -} - -/* void setSizeHint ( const QSize & size ) */ -HB_FUNC( QT_QSTANDARDITEM_SETSIZEHINT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setSizeHint( *hbqt_par_QSize( 2 ) ); -} - -/* void setStatusTip ( const QString & statusTip ) */ -HB_FUNC( QT_QSTANDARDITEM_SETSTATUSTIP ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QSTANDARDITEM_SETTEXT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QSTANDARDITEM_SETTEXTALIGNMENT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setTextAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setToolTip ( const QString & toolTip ) */ -HB_FUNC( QT_QSTANDARDITEM_SETTOOLTIP ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTristate ( bool tristate ) */ -HB_FUNC( QT_QSTANDARDITEM_SETTRISTATE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->setTristate( hb_parl( 2 ) ); -} - -/* void setWhatsThis ( const QString & whatsThis ) */ -HB_FUNC( QT_QSTANDARDITEM_SETWHATSTHIS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - { - void * pText; - ( p )->setWhatsThis( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QSize sizeHint () const */ -HB_FUNC( QT_QSTANDARDITEM_SIZEHINT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* void sortChildren ( int column, Qt::SortOrder order = Qt::AscendingOrder ) */ -HB_FUNC( QT_QSTANDARDITEM_SORTCHILDREN ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->sortChildren( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* QString statusTip () const */ -HB_FUNC( QT_QSTANDARDITEM_STATUSTIP ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->statusTip().toUtf8().data() ); -} - -/* QStandardItem * takeChild ( int row, int column = 0 ) */ -HB_FUNC( QT_QSTANDARDITEM_TAKECHILD ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->takeChild( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QList takeColumn ( int column ) */ -HB_FUNC( QT_QSTANDARDITEM_TAKECOLUMN ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->takeColumn( hb_parni( 2 ) ) ), true ) ); -} - -/* QList takeRow ( int row ) */ -HB_FUNC( QT_QSTANDARDITEM_TAKEROW ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->takeRow( hb_parni( 2 ) ) ), true ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QSTANDARDITEM_TEXT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* Qt::Alignment textAlignment () const */ -HB_FUNC( QT_QSTANDARDITEM_TEXTALIGNMENT ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->textAlignment() ); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QSTANDARDITEM_TOOLTIP ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* virtual int type () const */ -HB_FUNC( QT_QSTANDARDITEM_TYPE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retni( ( p )->type() ); -} - -/* QString whatsThis () const */ -HB_FUNC( QT_QSTANDARDITEM_WHATSTHIS ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->whatsThis().toUtf8().data() ); -} - -/* virtual void write ( QDataStream & out ) const */ -HB_FUNC( QT_QSTANDARDITEM_WRITE ) -{ - QStandardItem * p = hbqt_par_QStandardItem( 1 ); - if( p ) - ( p )->write( *hbqt_par_QDataStream( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp b/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp deleted file mode 100644 index 4a0b07af31..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStandardItemModel.cpp +++ /dev/null @@ -1,327 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 28/32 [ 87.50% ] ] - * - * *** Unconvered Prototypes *** - * - * void appendColumn ( const QList & items ) - * void appendRow ( const QList & items ) - * void insertColumn ( int column, const QList & items ) - * void insertRow ( int row, const QList & items ) - * - * *** Commented out protostypes *** - * - * // const QStandardItem * itemPrototype () const - */ - -#include - -#include - - -/* - * QStandardItemModel ( QObject * parent = 0 ) - * QStandardItemModel ( int rows, int columns, QObject * parent = 0 ) - * ~QStandardItemModel () - */ - -typedef struct -{ - QPointer< QStandardItemModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStandardItemModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QStandardItemModel ) -{ - HBQT_GC_T_QStandardItemModel * p = ( HBQT_GC_T_QStandardItemModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QStandardItemModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStandardItemModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QStandardItemModel * p = ( HBQT_GC_T_QStandardItemModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QStandardItemModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QStandardItemModel >( ( QStandardItemModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QStandardItemModel; - p->type = HBQT_TYPE_QStandardItemModel; - - return p; -} - -HB_FUNC( QT_QSTANDARDITEMMODEL ) -{ - QStandardItemModel * pObj = NULL; - - pObj = new QStandardItemModel( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QStandardItemModel( ( void * ) pObj, true ) ); -} - -/* void appendRow ( QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_APPENDROW ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->appendRow( hbqt_par_QStandardItem( 2 ) ); -} - -/* void clear () */ -HB_FUNC( QT_QSTANDARDITEMMODEL_CLEAR ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->clear(); -} - -/* QList findItems ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0 ) const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_FINDITEMS ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->findItems( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISNUM( 3 ) ? ( Qt::MatchFlags ) hb_parni( 3 ) : ( Qt::MatchFlags ) Qt::MatchExactly ), hb_parni( 4 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QStandardItem * horizontalHeaderItem ( int column ) const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_HORIZONTALHEADERITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->horizontalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* QModelIndex indexFromItem ( const QStandardItem * item ) const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INDEXFROMITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->indexFromItem( hbqt_par_QStandardItem( 2 ) ) ), true ) ); -} - -/* bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INSERTCOLUMN ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retl( ( p )->insertColumn( hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INSERTROW ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retl( ( p )->insertRow( hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* void insertRow ( int row, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INSERTROW_1 ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* QStandardItem * invisibleRootItem () const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INVISIBLEROOTITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->invisibleRootItem(), false ) ); -} - -/* QStandardItem * item ( int row, int column = 0 ) const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_ITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->item( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QStandardItem * itemFromIndex ( const QModelIndex & index ) const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_ITEMFROMINDEX ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->itemFromIndex( *hbqt_par_QModelIndex( 2 ) ), false ) ); -} - -/* void setColumnCount ( int columns ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETCOLUMNCOUNT ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setColumnCount( hb_parni( 2 ) ); -} - -/* void setHorizontalHeaderItem ( int column, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETHORIZONTALHEADERITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setHorizontalHeaderItem( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* void setHorizontalHeaderLabels ( const QStringList & labels ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETHORIZONTALHEADERLABELS ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setHorizontalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* void setItem ( int row, int column, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setItem( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QStandardItem( 4 ) ); -} - -/* void setItem ( int row, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETITEM_1 ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setItem( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* void setItemPrototype ( const QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETITEMPROTOTYPE ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setItemPrototype( hbqt_par_QStandardItem( 2 ) ); -} - -/* void setRowCount ( int rows ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETROWCOUNT ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setRowCount( hb_parni( 2 ) ); -} - -/* void setSortRole ( int role ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETSORTROLE ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setSortRole( hb_parni( 2 ) ); -} - -/* void setVerticalHeaderItem ( int row, QStandardItem * item ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETVERTICALHEADERITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setVerticalHeaderItem( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* void setVerticalHeaderLabels ( const QStringList & labels ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETVERTICALHEADERLABELS ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - ( p )->setVerticalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* int sortRole () const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SORTROLE ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retni( ( p )->sortRole() ); -} - -/* QList takeColumn ( int column ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKECOLUMN ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->takeColumn( hb_parni( 2 ) ) ), true ) ); -} - -/* QStandardItem * takeHorizontalHeaderItem ( int column ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEHORIZONTALHEADERITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->takeHorizontalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* QStandardItem * takeItem ( int row, int column = 0 ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->takeItem( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QList takeRow ( int row ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEROW ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->takeRow( hb_parni( 2 ) ) ), true ) ); -} - -/* QStandardItem * takeVerticalHeaderItem ( int row ) */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEVERTICALHEADERITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->takeVerticalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* QStandardItem * verticalHeaderItem ( int row ) const */ -HB_FUNC( QT_QSTANDARDITEMMODEL_VERTICALHEADERITEM ) -{ - QStandardItemModel * p = hbqt_par_QStandardItemModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStandardItem( ( p )->verticalHeaderItem( hb_parni( 2 ) ), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp deleted file mode 100644 index 85564ff620..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStatusBar.cpp +++ /dev/null @@ -1,178 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStatusBar ( QWidget * parent = 0 ) - * virtual ~QStatusBar () - */ - -typedef struct -{ - QPointer< QStatusBar > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStatusBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QStatusBar ) -{ - HBQT_GC_T_QStatusBar * p = ( HBQT_GC_T_QStatusBar * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QStatusBar * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStatusBar( void * pObj, bool bNew ) -{ - HBQT_GC_T_QStatusBar * p = ( HBQT_GC_T_QStatusBar * ) hb_gcAllocate( sizeof( HBQT_GC_T_QStatusBar ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QStatusBar >( ( QStatusBar * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QStatusBar; - p->type = HBQT_TYPE_QStatusBar; - - return p; -} - -HB_FUNC( QT_QSTATUSBAR ) -{ - QStatusBar * pObj = NULL; - - pObj = new QStatusBar( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QStatusBar( ( void * ) pObj, true ) ); -} - -/* void addPermanentWidget ( QWidget * widget, int stretch = 0 ) [*D=1*] */ -HB_FUNC( QT_QSTATUSBAR_ADDPERMANENTWIDGET ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addPermanentWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ); - } -} - -/* void addWidget ( QWidget * widget, int stretch = 0 ) [*D=1*] */ -HB_FUNC( QT_QSTATUSBAR_ADDWIDGET ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ); - } -} - -/* QString currentMessage () const */ -HB_FUNC( QT_QSTATUSBAR_CURRENTMESSAGE ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->currentMessage().toUtf8().data() ); -} - -/* int insertPermanentWidget ( int index, QWidget * widget, int stretch = 0 ) */ -HB_FUNC( QT_QSTATUSBAR_INSERTPERMANENTWIDGET ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - hb_retni( ( p )->insertPermanentWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ) ) ); -} - -/* int insertWidget ( int index, QWidget * widget, int stretch = 0 ) */ -HB_FUNC( QT_QSTATUSBAR_INSERTWIDGET ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - hb_retni( ( p )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ) ) ); -} - -/* bool isSizeGripEnabled () const */ -HB_FUNC( QT_QSTATUSBAR_ISSIZEGRIPENABLED ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - hb_retl( ( p )->isSizeGripEnabled() ); -} - -/* void removeWidget ( QWidget * widget ) */ -HB_FUNC( QT_QSTATUSBAR_REMOVEWIDGET ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - ( p )->removeWidget( hbqt_par_QWidget( 2 ) ); -} - -/* void setSizeGripEnabled ( bool ) */ -HB_FUNC( QT_QSTATUSBAR_SETSIZEGRIPENABLED ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - ( p )->setSizeGripEnabled( hb_parl( 2 ) ); -} - -/* void clearMessage () */ -HB_FUNC( QT_QSTATUSBAR_CLEARMESSAGE ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - ( p )->clearMessage(); -} - -/* void showMessage ( const QString & message, int timeout = 0 ) */ -HB_FUNC( QT_QSTATUSBAR_SHOWMESSAGE ) -{ - QStatusBar * p = hbqt_par_QStatusBar( 1 ); - if( p ) - { - void * pText; - ( p )->showMessage( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp b/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp deleted file mode 100644 index d547499076..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStringListModel.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStringListModel ( QObject * parent = 0 ) - * QStringListModel ( const QStringList & strings, QObject * parent = 0 ) - */ - -typedef struct -{ - QPointer< QStringListModel > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStringListModel; - -HBQT_GC_FUNC( hbqt_gcRelease_QStringListModel ) -{ - HBQT_GC_T_QStringListModel * p = ( HBQT_GC_T_QStringListModel * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QStringListModel * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStringListModel( void * pObj, bool bNew ) -{ - HBQT_GC_T_QStringListModel * p = ( HBQT_GC_T_QStringListModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QStringListModel ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QStringListModel >( ( QStringListModel * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QStringListModel; - p->type = HBQT_TYPE_QStringListModel; - - return p; -} - -HB_FUNC( QT_QSTRINGLISTMODEL ) -{ - QStringListModel * pObj = NULL; - - pObj = new QStringListModel() ; - - hb_retptrGC( hbqt_gcAllocate_QStringListModel( ( void * ) pObj, true ) ); -} - -/* virtual QVariant data ( const QModelIndex & index, int role ) const */ -HB_FUNC( QT_QSTRINGLISTMODEL_DATA ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( *hbqt_par_QModelIndex( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* virtual Qt::ItemFlags flags ( const QModelIndex & index ) const */ -HB_FUNC( QT_QSTRINGLISTMODEL_FLAGS ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* virtual bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QSTRINGLISTMODEL_INSERTROWS ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retl( ( p )->insertRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* virtual bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) */ -HB_FUNC( QT_QSTRINGLISTMODEL_REMOVEROWS ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retl( ( p )->removeRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const */ -HB_FUNC( QT_QSTRINGLISTMODEL_ROWCOUNT ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retni( ( p )->rowCount( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) */ -HB_FUNC( QT_QSTRINGLISTMODEL_SETDATA ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retl( ( p )->setData( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QVariant( 3 ), hb_parnidef( 4, Qt::EditRole ) ) ); -} - -/* void setStringList ( const QStringList & strings ) */ -HB_FUNC( QT_QSTRINGLISTMODEL_SETSTRINGLIST ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - ( p )->setStringList( *hbqt_par_QStringList( 2 ) ); -} - -/* QStringList stringList () const */ -HB_FUNC( QT_QSTRINGLISTMODEL_STRINGLIST ) -{ - QStringListModel * p = hbqt_par_QStringListModel( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->stringList() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyle.cpp b/harbour/contrib/hbqt/qtgui/g/QStyle.cpp deleted file mode 100644 index b5579167fd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyle.cpp +++ /dev/null @@ -1,330 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags State - * flags SubControls - * enum ComplexControl { CC_SpinBox, CC_ComboBox, CC_ScrollBar, CC_Slider, ..., CC_CustomBase } - * enum ContentsType { CT_CheckBox, CT_ComboBox, CT_Q3DockWindow, CT_HeaderSection, ..., CT_MdiControls } - * enum ControlElement { CE_PushButton, CE_PushButtonBevel, CE_PushButtonLabel, CE_DockWidgetTitle, ..., CE_ShapedFrame } - * enum PixelMetric { PM_ButtonMargin, PM_DockWidgetTitleBarButtonMargin, PM_ButtonDefaultIndicator, PM_MenuButtonIndicator, ..., PM_SubMenuOverlap } - * enum PrimitiveElement { PE_FrameStatusBar, PE_PanelButtonCommand, PE_FrameDefaultButton, PE_PanelButtonBevel, ..., PE_PanelMenu } - * enum StandardPixmap { SP_TitleBarMinButton, SP_TitleBarMenuButton, SP_TitleBarMaxButton, SP_TitleBarCloseButton, ..., SP_CustomBase } - * enum StateFlag { State_None, State_Active, State_AutoRaise, State_Children, ..., State_Small } - * enum StyleHint { SH_EtchDisabledText, SH_DitherDisabledText, SH_GUIStyle, SH_ScrollBar_ContextMenu, ..., SH_DockWidget_ButtonsHaveFrame } - * enum SubControl { SC_None, SC_ScrollBarAddLine, SC_ScrollBarSubLine, SC_ScrollBarAddPage, ..., SC_All } - * enum SubElement { SE_PushButtonContents, SE_PushButtonFocusRect, SE_PushButtonLayoutItem, SE_CheckBoxIndicator, ..., SE_TabBarTabText } - */ - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyle () - * virtual ~QStyle () - */ - -typedef struct -{ - QPointer< QStyle > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyle; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyle ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QStyle( void * pObj, bool bNew ) -{ - HBQT_GC_T_QStyle * p = ( HBQT_GC_T_QStyle * ) hb_gcAllocate( sizeof( HBQT_GC_T_QStyle ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QStyle >( ( QStyle * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyle; - p->type = HBQT_TYPE_QStyle; - - return p; -} - -HB_FUNC( QT_QSTYLE ) -{ - -} - -/* int combinedLayoutSpacing ( QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption * option = 0, QWidget * widget = 0 ) const */ -HB_FUNC( QT_QSTYLE_COMBINEDLAYOUTSPACING ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( p )->combinedLayoutSpacing( ( QSizePolicy::ControlTypes ) hb_parni( 2 ), ( QSizePolicy::ControlTypes ) hb_parni( 3 ), ( Qt::Orientation ) hb_parni( 4 ), hbqt_par_QStyleOption( 5 ), hbqt_par_QWidget( 6 ) ) ); -} - -/* virtual void drawComplexControl ( ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_DRAWCOMPLEXCONTROL ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->drawComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), hbqt_par_QStyleOptionComplex( 3 ), hbqt_par_QPainter( 4 ), hbqt_par_QWidget( 5 ) ); -} - -/* virtual void drawControl ( ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_DRAWCONTROL ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->drawControl( ( QStyle::ControlElement ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QPainter( 4 ), hbqt_par_QWidget( 5 ) ); -} - -/* virtual void drawItemPixmap ( QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap ) const */ -HB_FUNC( QT_QSTYLE_DRAWITEMPIXMAP ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->drawItemPixmap( hbqt_par_QPainter( 2 ), *hbqt_par_QRect( 3 ), hb_parni( 4 ), *hbqt_par_QPixmap( 5 ) ); -} - -/* virtual void drawItemText ( QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) const */ -HB_FUNC( QT_QSTYLE_DRAWITEMTEXT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - { - void * pText; - ( p )->drawItemText( hbqt_par_QPainter( 2 ), *hbqt_par_QRect( 3 ), hb_parni( 4 ), *hbqt_par_QPalette( 5 ), hb_parl( 6 ), hb_parstr_utf8( 7, &pText, NULL ), ( HB_ISNUM( 8 ) ? ( QPalette::ColorRole ) hb_parni( 8 ) : ( QPalette::ColorRole ) QPalette::NoRole ) ); - hb_strfree( pText ); - } -} - -/* virtual void drawPrimitive ( PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_DRAWPRIMITIVE ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->drawPrimitive( ( QStyle::PrimitiveElement ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QPainter( 4 ), hbqt_par_QWidget( 5 ) ); -} - -/* virtual QPixmap generatedIconPixmap ( QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * option ) const = 0 */ -HB_FUNC( QT_QSTYLE_GENERATEDICONPIXMAP ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->generatedIconPixmap( ( QIcon::Mode ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ), hbqt_par_QStyleOption( 4 ) ) ), true ) ); -} - -/* virtual SubControl hitTestComplexControl ( ComplexControl control, const QStyleOptionComplex * option, const QPoint & position, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_HITTESTCOMPLEXCONTROL ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( QStyle::SubControl ) ( p )->hitTestComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), hbqt_par_QStyleOptionComplex( 3 ), *hbqt_par_QPoint( 4 ), hbqt_par_QWidget( 5 ) ) ); -} - -/* virtual QRect itemPixmapRect ( const QRect & rectangle, int alignment, const QPixmap & pixmap ) const */ -HB_FUNC( QT_QSTYLE_ITEMPIXMAPRECT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->itemPixmapRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ) ), true ) ); -} - -/* virtual QRect itemTextRect ( const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text ) const */ -HB_FUNC( QT_QSTYLE_ITEMTEXTRECT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->itemTextRect( *hbqt_par_QFontMetrics( 2 ), *hbqt_par_QRect( 3 ), hb_parni( 4 ), hb_parl( 5 ), hb_parstr_utf8( 6, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* int layoutSpacing ( QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option = 0, const QWidget * widget = 0 ) const */ -HB_FUNC( QT_QSTYLE_LAYOUTSPACING ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( p )->layoutSpacing( ( QSizePolicy::ControlType ) hb_parni( 2 ), ( QSizePolicy::ControlType ) hb_parni( 3 ), ( Qt::Orientation ) hb_parni( 4 ), hbqt_par_QStyleOption( 5 ), hbqt_par_QWidget( 6 ) ) ); -} - -/* virtual int pixelMetric ( PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_PIXELMETRIC ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( p )->pixelMetric( ( QStyle::PixelMetric ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ) ) ); -} - -/* virtual void polish ( QWidget * widget ) */ -HB_FUNC( QT_QSTYLE_POLISH ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->polish( hbqt_par_QWidget( 2 ) ); -} - -/* virtual void polish ( QApplication * application ) */ -HB_FUNC( QT_QSTYLE_POLISH_1 ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->polish( hbqt_par_QApplication( 2 ) ); -} - -/* virtual void polish ( QPalette & palette ) */ -HB_FUNC( QT_QSTYLE_POLISH_2 ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->polish( *hbqt_par_QPalette( 2 ) ); -} - -/* virtual QSize sizeFromContents ( ContentsType type, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_SIZEFROMCONTENTS ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeFromContents( ( QStyle::ContentsType ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), *hbqt_par_QSize( 4 ), hbqt_par_QWidget( 5 ) ) ), true ) ); -} - -/* QIcon standardIcon ( StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const */ -HB_FUNC( QT_QSTYLE_STANDARDICON ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->standardIcon( ( QStyle::StandardPixmap ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ) ) ), true ) ); -} - -/* virtual QPalette standardPalette () const */ -HB_FUNC( QT_QSTYLE_STANDARDPALETTE ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->standardPalette() ), true ) ); -} - -/* virtual int styleHint ( StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_STYLEHINT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( p )->styleHint( ( QStyle::StyleHint ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ), hbqt_par_QStyleHintReturn( 5 ) ) ); -} - -/* virtual QRect subControlRect ( ComplexControl control, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_SUBCONTROLRECT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->subControlRect( ( QStyle::ComplexControl ) hb_parni( 2 ), hbqt_par_QStyleOptionComplex( 3 ), ( QStyle::SubControl ) hb_parni( 4 ), hbqt_par_QWidget( 5 ) ) ), true ) ); -} - -/* virtual QRect subElementRect ( SubElement element, const QStyleOption * option, const QWidget * widget = 0 ) const = 0 */ -HB_FUNC( QT_QSTYLE_SUBELEMENTRECT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->subElementRect( ( QStyle::SubElement ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ) ) ), true ) ); -} - -/* virtual void unpolish ( QWidget * widget ) */ -HB_FUNC( QT_QSTYLE_UNPOLISH ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->unpolish( hbqt_par_QWidget( 2 ) ); -} - -/* virtual void unpolish ( QApplication * application ) */ -HB_FUNC( QT_QSTYLE_UNPOLISH_1 ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - ( p )->unpolish( hbqt_par_QApplication( 2 ) ); -} - -/* QRect alignedRect ( Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize & size, const QRect & rectangle ) */ -HB_FUNC( QT_QSTYLE_ALIGNEDRECT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->alignedRect( ( Qt::LayoutDirection ) hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ), *hbqt_par_QSize( 4 ), *hbqt_par_QRect( 5 ) ) ), true ) ); -} - -/* int sliderPositionFromValue ( int min, int max, int logicalValue, int span, bool upsideDown = false ) */ -HB_FUNC( QT_QSTYLE_SLIDERPOSITIONFROMVALUE ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( p )->sliderPositionFromValue( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parl( 6 ) ) ); -} - -/* int sliderValueFromPosition ( int min, int max, int position, int span, bool upsideDown = false ) */ -HB_FUNC( QT_QSTYLE_SLIDERVALUEFROMPOSITION ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( p )->sliderValueFromPosition( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parl( 6 ) ) ); -} - -/* Qt::Alignment visualAlignment ( Qt::LayoutDirection direction, Qt::Alignment alignment ) */ -HB_FUNC( QT_QSTYLE_VISUALALIGNMENT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->visualAlignment( ( Qt::LayoutDirection ) hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ) ); -} - -/* QPoint visualPos ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QPoint & logicalPosition ) */ -HB_FUNC( QT_QSTYLE_VISUALPOS ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->visualPos( ( Qt::LayoutDirection ) hb_parni( 2 ), *hbqt_par_QRect( 3 ), *hbqt_par_QPoint( 4 ) ) ), true ) ); -} - -/* QRect visualRect ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QRect & logicalRectangle ) */ -HB_FUNC( QT_QSTYLE_VISUALRECT ) -{ - QStyle * p = hbqt_par_QStyle( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->visualRect( ( Qt::LayoutDirection ) hb_parni( 2 ), *hbqt_par_QRect( 3 ), *hbqt_par_QRect( 4 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp deleted file mode 100644 index ec44c3fe30..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleFactory.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleFactory () - * ~QStyleFactory() - */ - -typedef struct -{ - QStyleFactory * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleFactory; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleFactory ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleFactory * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleFactory( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleFactory * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleFactory; - p->type = HBQT_TYPE_QStyleFactory; - - return p; -} - -HB_FUNC( QT_QSTYLEFACTORY ) -{ - QStyleFactory * pObj = NULL; - - pObj = new QStyleFactory() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleFactory( ( void * ) pObj, true ) ); -} - -/* QStyle * create ( const QString & key ) */ -HB_FUNC( QT_QSTYLEFACTORY_CREATE ) -{ - QStyleFactory * p = hbqt_par_QStyleFactory( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->create( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QStringList keys () */ -HB_FUNC( QT_QSTYLEFACTORY_KEYS ) -{ - QStyleFactory * p = hbqt_par_QStyleFactory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->keys() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp deleted file mode 100644 index 16f8b4ba63..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturn.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum HintReturnType { SH_Default, SH_Mask, SH_Variant } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 0/2 [ 0.00% ] ] - * - * *** Unconvered Prototypes *** - * - * int type - * int version - */ - -#include - -#include - - -/* - * QStyleHintReturn ( int version = QStyleOption::Version, int type = SH_Default ) - */ - -typedef struct -{ - QStyleHintReturn * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleHintReturn; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleHintReturn ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QStyleHintReturn( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleHintReturn * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleHintReturn; - p->type = HBQT_TYPE_QStyleHintReturn; - - return p; -} - -HB_FUNC( QT_QSTYLEHINTRETURN ) -{ - -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp deleted file mode 100644 index b9f7dcab54..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnMask.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 0/1 [ 0.00% ] ] - * - * *** Unconvered Prototypes *** - * - * QRegion region - */ - -#include - -#include - - -/* - * QStyleHintReturnMask () - */ - -typedef struct -{ - QStyleHintReturnMask * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleHintReturnMask; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleHintReturnMask ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QStyleHintReturnMask( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleHintReturnMask * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleHintReturnMask; - p->type = HBQT_TYPE_QStyleHintReturnMask; - - return p; -} - -HB_FUNC( QT_QSTYLEHINTRETURNMASK ) -{ - -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp deleted file mode 100644 index fe0dddca7d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleHintReturnVariant.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * Public Functions - */ - -/* - * Constructed[ 0/1 [ 0.00% ] ] - * - * *** Unconvered Prototypes *** - * - * QVariant variant - */ - -#include - -#include - - -/* - * QStyleHintReturnVariant () - */ - -typedef struct -{ - QStyleHintReturnVariant * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleHintReturnVariant; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleHintReturnVariant ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QStyleHintReturnVariant( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleHintReturnVariant * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleHintReturnVariant; - p->type = HBQT_TYPE_QStyleHintReturnVariant; - - return p; -} - -HB_FUNC( QT_QSTYLEHINTRETURNVARIANT ) -{ - -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp deleted file mode 100644 index 27fbc5dc75..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOption.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum OptionType { SO_Button, SO_ComboBox, SO_Complex, SO_Default, ..., SO_Q3ListViewItem } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOption ( int version = QStyleOption::Version, int type = SO_Default ) - * QStyleOption ( const QStyleOption & other ) - * ~QStyleOption () - */ - -typedef struct -{ - QStyleOption * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOption; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOption ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOption * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOption( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOption * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOption; - p->type = HBQT_TYPE_QStyleOption; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTION ) -{ - QStyleOption * pObj = NULL; - - pObj = new QStyleOption() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOption( ( void * ) pObj, true ) ); -} - -/* void initFrom ( const QWidget * widget ) */ -HB_FUNC( QT_QSTYLEOPTION_INITFROM ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - ( p )->initFrom( hbqt_par_QWidget( 2 ) ); -} - -/* Qt::LayoutDirection direction */ -HB_FUNC( QT_QSTYLEOPTION_DIRECTION ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->direction ); -} - -/* QFontMetrics fontMetrics */ -HB_FUNC( QT_QSTYLEOPTION_FONTMETRICS ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFontMetrics( new QFontMetrics( ( p )->fontMetrics ), true ) ); -} - -/* QPalette palette */ -HB_FUNC( QT_QSTYLEOPTION_PALETTE ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette ), true ) ); -} - -/* QRect rect */ -HB_FUNC( QT_QSTYLEOPTION_RECT ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->rect ), true ) ); -} - -/* QStyle::State state */ -HB_FUNC( QT_QSTYLEOPTION_STATE ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retni( ( QStyle::State ) ( p )->state ); -} - -/* int type */ -HB_FUNC( QT_QSTYLEOPTION_TYPE ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retni( ( p )->type ); -} - -/* int version */ -HB_FUNC( QT_QSTYLEOPTION_VERSION ) -{ - QStyleOption * p = hbqt_par_QStyleOption( 1 ); - if( p ) - hb_retni( ( p )->version ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp deleted file mode 100644 index ad7eb9ef2d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionButton.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags ButtonFeatures - * enum ButtonFeature { None, Flat, HasMenu, DefaultButton, AutoDefaultButton, CommandLinkButton } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionButton () - * QStyleOptionButton ( const QStyleOptionButton & other ) - */ - -typedef struct -{ - QStyleOptionButton * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionButton ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionButton * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionButton( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionButton * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionButton; - p->type = HBQT_TYPE_QStyleOptionButton; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONBUTTON ) -{ - QStyleOptionButton * pObj = NULL; - - pObj = new QStyleOptionButton() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionButton( ( void * ) pObj, true ) ); -} - -/* ButtonFeatures features */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_FEATURES ) -{ - QStyleOptionButton * p = hbqt_par_QStyleOptionButton( 1 ); - if( p ) - hb_retni( ( QStyleOptionButton::ButtonFeatures ) ( p )->features ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_ICON ) -{ - QStyleOptionButton * p = hbqt_par_QStyleOptionButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* QSize iconSize */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_ICONSIZE ) -{ - QStyleOptionButton * p = hbqt_par_QStyleOptionButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize ), true ) ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_TEXT ) -{ - QStyleOptionButton * p = hbqt_par_QStyleOptionButton( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp deleted file mode 100644 index 78025bc82f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComboBox.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionComboBox () - * QStyleOptionComboBox ( const QStyleOptionComboBox & other ) - */ - -typedef struct -{ - QStyleOptionComboBox * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionComboBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionComboBox ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionComboBox * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionComboBox( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionComboBox * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionComboBox; - p->type = HBQT_TYPE_QStyleOptionComboBox; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX ) -{ - QStyleOptionComboBox * pObj = NULL; - - pObj = new QStyleOptionComboBox() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionComboBox( ( void * ) pObj, true ) ); -} - -/* QIcon currentIcon */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_CURRENTICON ) -{ - QStyleOptionComboBox * p = hbqt_par_QStyleOptionComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->currentIcon ), true ) ); -} - -/* QString currentText */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_CURRENTTEXT ) -{ - QStyleOptionComboBox * p = hbqt_par_QStyleOptionComboBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->currentText.toUtf8().data() ); -} - -/* bool editable */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_EDITABLE ) -{ - QStyleOptionComboBox * p = hbqt_par_QStyleOptionComboBox( 1 ); - if( p ) - hb_retl( ( p )->editable ); -} - -/* bool frame */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_FRAME ) -{ - QStyleOptionComboBox * p = hbqt_par_QStyleOptionComboBox( 1 ); - if( p ) - hb_retl( ( p )->frame ); -} - -/* QSize iconSize */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_ICONSIZE ) -{ - QStyleOptionComboBox * p = hbqt_par_QStyleOptionComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize ), true ) ); -} - -/* QRect popupRect */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_POPUPRECT ) -{ - QStyleOptionComboBox * p = hbqt_par_QStyleOptionComboBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->popupRect ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp deleted file mode 100644 index 9043803784..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionComplex.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionComplex ( int version = QStyleOptionComplex::Version, int type = SO_Complex ) - * QStyleOptionComplex ( const QStyleOptionComplex & other ) - */ - -typedef struct -{ - QStyleOptionComplex * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionComplex; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionComplex ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionComplex * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionComplex( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionComplex * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionComplex; - p->type = HBQT_TYPE_QStyleOptionComplex; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX ) -{ - QStyleOptionComplex * pObj = NULL; - - pObj = new QStyleOptionComplex() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionComplex( ( void * ) pObj, true ) ); -} - -/* QStyle::SubControls activeSubControls */ -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX_ACTIVESUBCONTROLS ) -{ - QStyleOptionComplex * p = hbqt_par_QStyleOptionComplex( 1 ); - if( p ) - hb_retni( ( QStyle::SubControls ) ( p )->activeSubControls ); -} - -/* QStyle::SubControls subControls */ -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX_SUBCONTROLS ) -{ - QStyleOptionComplex * p = hbqt_par_QStyleOptionComplex( 1 ); - if( p ) - hb_retni( ( QStyle::SubControls ) ( p )->subControls ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp deleted file mode 100644 index adc447fef8..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionDockWidget.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionDockWidget () - * QStyleOptionDockWidget ( const QStyleOptionDockWidget & other ) - */ - -typedef struct -{ - QStyleOptionDockWidget * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionDockWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionDockWidget ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionDockWidget * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionDockWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionDockWidget * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionDockWidget; - p->type = HBQT_TYPE_QStyleOptionDockWidget; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET ) -{ - QStyleOptionDockWidget * pObj = NULL; - - pObj = new QStyleOptionDockWidget() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionDockWidget( ( void * ) pObj, true ) ); -} - -/* bool closable */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_CLOSABLE ) -{ - QStyleOptionDockWidget * p = hbqt_par_QStyleOptionDockWidget( 1 ); - if( p ) - hb_retl( ( p )->closable ); -} - -/* bool floatable */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_FLOATABLE ) -{ - QStyleOptionDockWidget * p = hbqt_par_QStyleOptionDockWidget( 1 ); - if( p ) - hb_retl( ( p )->floatable ); -} - -/* bool movable */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_MOVABLE ) -{ - QStyleOptionDockWidget * p = hbqt_par_QStyleOptionDockWidget( 1 ); - if( p ) - hb_retl( ( p )->movable ); -} - -/* QString title */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_TITLE ) -{ - QStyleOptionDockWidget * p = hbqt_par_QStyleOptionDockWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title.toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp deleted file mode 100644 index 58144f5a44..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFocusRect.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionFocusRect () - * QStyleOptionFocusRect ( const QStyleOptionFocusRect & other ) - */ - -typedef struct -{ - QStyleOptionFocusRect * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionFocusRect; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionFocusRect ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionFocusRect * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionFocusRect( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionFocusRect * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionFocusRect; - p->type = HBQT_TYPE_QStyleOptionFocusRect; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONFOCUSRECT ) -{ - QStyleOptionFocusRect * pObj = NULL; - - pObj = new QStyleOptionFocusRect() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionFocusRect( ( void * ) pObj, true ) ); -} - -/* QColor backgroundColor */ -HB_FUNC( QT_QSTYLEOPTIONFOCUSRECT_BACKGROUNDCOLOR ) -{ - QStyleOptionFocusRect * p = hbqt_par_QStyleOptionFocusRect( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->backgroundColor ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp deleted file mode 100644 index a864236fc0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionFrame.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionFrame () - * QStyleOptionFrame ( const QStyleOptionFrame & other ) - */ - -typedef struct -{ - QStyleOptionFrame * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionFrame; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionFrame ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionFrame * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionFrame( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionFrame * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionFrame; - p->type = HBQT_TYPE_QStyleOptionFrame; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONFRAME ) -{ - QStyleOptionFrame * pObj = NULL; - - pObj = new QStyleOptionFrame() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionFrame( ( void * ) pObj, true ) ); -} - -/* int lineWidth */ -HB_FUNC( QT_QSTYLEOPTIONFRAME_LINEWIDTH ) -{ - QStyleOptionFrame * p = hbqt_par_QStyleOptionFrame( 1 ); - if( p ) - hb_retni( ( p )->lineWidth ); -} - -/* int midLineWidth */ -HB_FUNC( QT_QSTYLEOPTIONFRAME_MIDLINEWIDTH ) -{ - QStyleOptionFrame * p = hbqt_par_QStyleOptionFrame( 1 ); - if( p ) - hb_retni( ( p )->midLineWidth ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp deleted file mode 100644 index dcd81b0f61..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGraphicsItem.cpp +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include -#include -#include - - -/* - * QStyleOptionGraphicsItem () - * QStyleOptionGraphicsItem ( const QStyleOptionGraphicsItem & other ) - */ - -typedef struct -{ - QStyleOptionGraphicsItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionGraphicsItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGraphicsItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionGraphicsItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionGraphicsItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionGraphicsItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionGraphicsItem; - p->type = HBQT_TYPE_QStyleOptionGraphicsItem; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM ) -{ - QStyleOptionGraphicsItem * pObj = NULL; - - pObj = new QStyleOptionGraphicsItem() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionGraphicsItem( ( void * ) pObj, true ) ); -} - -/* QRectF exposedRect */ -HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM_EXPOSEDRECT ) -{ - QStyleOptionGraphicsItem * p = hbqt_par_QStyleOptionGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->exposedRect ), true ) ); -} - -/* qreal levelOfDetail */ -HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM_LEVELOFDETAIL ) -{ - QStyleOptionGraphicsItem * p = hbqt_par_QStyleOptionGraphicsItem( 1 ); - if( p ) - hb_retnd( ( p )->levelOfDetail ); -} - -/* QMatrix matrix */ -HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM_MATRIX ) -{ - QStyleOptionGraphicsItem * p = hbqt_par_QStyleOptionGraphicsItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->matrix ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp deleted file mode 100644 index 67fb23f693..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionGroupBox.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionGroupBox () - * QStyleOptionGroupBox ( const QStyleOptionGroupBox & other ) - */ - -typedef struct -{ - QStyleOptionGroupBox * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionGroupBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGroupBox ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionGroupBox * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionGroupBox( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionGroupBox * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionGroupBox; - p->type = HBQT_TYPE_QStyleOptionGroupBox; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX ) -{ - QStyleOptionGroupBox * pObj = NULL; - - pObj = new QStyleOptionGroupBox() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionGroupBox( ( void * ) pObj, true ) ); -} - -/* QStyleOptionFrameV2::FrameFeatures features */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_FEATURES ) -{ - QStyleOptionGroupBox * p = hbqt_par_QStyleOptionGroupBox( 1 ); - if( p ) - hb_retni( ( QStyleOptionFrameV2::FrameFeatures ) ( p )->features ); -} - -/* int lineWidth */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_LINEWIDTH ) -{ - QStyleOptionGroupBox * p = hbqt_par_QStyleOptionGroupBox( 1 ); - if( p ) - hb_retni( ( p )->lineWidth ); -} - -/* int midLineWidth */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_MIDLINEWIDTH ) -{ - QStyleOptionGroupBox * p = hbqt_par_QStyleOptionGroupBox( 1 ); - if( p ) - hb_retni( ( p )->midLineWidth ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_TEXT ) -{ - QStyleOptionGroupBox * p = hbqt_par_QStyleOptionGroupBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - -/* Qt::Alignment textAlignment */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_TEXTALIGNMENT ) -{ - QStyleOptionGroupBox * p = hbqt_par_QStyleOptionGroupBox( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->textAlignment ); -} - -/* QColor textColor */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_TEXTCOLOR ) -{ - QStyleOptionGroupBox * p = hbqt_par_QStyleOptionGroupBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->textColor ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp deleted file mode 100644 index ddbfed1046..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionHeader.cpp +++ /dev/null @@ -1,163 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum SectionPosition { Beginning, Middle, End, OnlyOneSection } - * enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected, NextAndPreviousAreSelected } - * enum SortIndicator { None, SortUp, SortDown } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionHeader () - * QStyleOptionHeader ( const QStyleOptionHeader & other ) - */ - -typedef struct -{ - QStyleOptionHeader * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionHeader; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionHeader ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionHeader * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionHeader( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionHeader * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionHeader; - p->type = HBQT_TYPE_QStyleOptionHeader; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONHEADER ) -{ - QStyleOptionHeader * pObj = NULL; - - pObj = new QStyleOptionHeader() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionHeader( ( void * ) pObj, true ) ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_ICON ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* Qt::Alignment iconAlignment */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_ICONALIGNMENT ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->iconAlignment ); -} - -/* Qt::Orientation orientation */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_ORIENTATION ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation ); -} - -/* SectionPosition position */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_POSITION ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( QStyleOptionHeader::SectionPosition ) ( p )->position ); -} - -/* int section */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_SECTION ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( p )->section ); -} - -/* SelectedPosition selectedPosition */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_SELECTEDPOSITION ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( QStyleOptionHeader::SelectedPosition ) ( p )->selectedPosition ); -} - -/* SortIndicator sortIndicator */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_SORTINDICATOR ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( QStyleOptionHeader::SortIndicator ) ( p )->sortIndicator ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_TEXT ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - -/* Qt::Alignment textAlignment */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_TEXTALIGNMENT ) -{ - QStyleOptionHeader * p = hbqt_par_QStyleOptionHeader( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->textAlignment ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp deleted file mode 100644 index f0a3a91466..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionMenuItem.cpp +++ /dev/null @@ -1,170 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CheckType { NotCheckable, Exclusive, NonExclusive } - * enum MenuItemType { Normal, DefaultItem, Separator, SubMenu, ..., EmptyArea } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionMenuItem () - * QStyleOptionMenuItem ( const QStyleOptionMenuItem & other ) - */ - -typedef struct -{ - QStyleOptionMenuItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionMenuItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionMenuItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionMenuItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionMenuItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionMenuItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionMenuItem; - p->type = HBQT_TYPE_QStyleOptionMenuItem; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONMENUITEM ) -{ - QStyleOptionMenuItem * pObj = NULL; - - pObj = new QStyleOptionMenuItem() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionMenuItem( ( void * ) pObj, true ) ); -} - -/* CheckType checkType */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_CHECKTYPE ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retni( ( QStyleOptionMenuItem::CheckType ) ( p )->checkType ); -} - -/* bool checked */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_CHECKED ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retl( ( p )->checked ); -} - -/* QFont font */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_FONT ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font ), true ) ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_ICON ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* int maxIconWidth */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MAXICONWIDTH ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retni( ( p )->maxIconWidth ); -} - -/* bool menuHasCheckableItems */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MENUHASCHECKABLEITEMS ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retl( ( p )->menuHasCheckableItems ); -} - -/* MenuItemType menuItemType */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MENUITEMTYPE ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retni( ( QStyleOptionMenuItem::MenuItemType ) ( p )->menuItemType ); -} - -/* QRect menuRect */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MENURECT ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->menuRect ), true ) ); -} - -/* int tabWidth */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_TABWIDTH ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retni( ( p )->tabWidth ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_TEXT ) -{ - QStyleOptionMenuItem * p = hbqt_par_QStyleOptionMenuItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp deleted file mode 100644 index 555a31780e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionProgressBar.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * Public Functions - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionProgressBar () - * QStyleOptionProgressBar ( const QStyleOptionProgressBar & other ) - */ - -typedef struct -{ - QStyleOptionProgressBar * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionProgressBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionProgressBar ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionProgressBar * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionProgressBar( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionProgressBar * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionProgressBar; - p->type = HBQT_TYPE_QStyleOptionProgressBar; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR ) -{ - QStyleOptionProgressBar * pObj = NULL; - - pObj = new QStyleOptionProgressBar() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionProgressBar( ( void * ) pObj, true ) ); -} - -/* int maximum */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_MAXIMUM ) -{ - QStyleOptionProgressBar * p = hbqt_par_QStyleOptionProgressBar( 1 ); - if( p ) - hb_retni( ( p )->maximum ); -} - -/* int minimum */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_MINIMUM ) -{ - QStyleOptionProgressBar * p = hbqt_par_QStyleOptionProgressBar( 1 ); - if( p ) - hb_retni( ( p )->minimum ); -} - -/* int progress */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_PROGRESS ) -{ - QStyleOptionProgressBar * p = hbqt_par_QStyleOptionProgressBar( 1 ); - if( p ) - hb_retni( ( p )->progress ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_TEXT ) -{ - QStyleOptionProgressBar * p = hbqt_par_QStyleOptionProgressBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - -/* Qt::Alignment textAlignment */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_TEXTALIGNMENT ) -{ - QStyleOptionProgressBar * p = hbqt_par_QStyleOptionProgressBar( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->textAlignment ); -} - -/* bool textVisible */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_TEXTVISIBLE ) -{ - QStyleOptionProgressBar * p = hbqt_par_QStyleOptionProgressBar( 1 ); - if( p ) - hb_retl( ( p )->textVisible ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp deleted file mode 100644 index 8ea88d7458..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSizeGrip.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionSizeGrip () - * QStyleOptionSizeGrip ( const QStyleOptionSizeGrip & other ) - */ - -typedef struct -{ - QStyleOptionSizeGrip * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionSizeGrip; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionSizeGrip ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionSizeGrip * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionSizeGrip( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionSizeGrip * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionSizeGrip; - p->type = HBQT_TYPE_QStyleOptionSizeGrip; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONSIZEGRIP ) -{ - QStyleOptionSizeGrip * pObj = NULL; - - pObj = new QStyleOptionSizeGrip() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionSizeGrip( ( void * ) pObj, true ) ); -} - -/* Qt::Corner corner */ -HB_FUNC( QT_QSTYLEOPTIONSIZEGRIP_CORNER ) -{ - QStyleOptionSizeGrip * p = hbqt_par_QStyleOptionSizeGrip( 1 ); - if( p ) - hb_retni( ( Qt::Corner ) ( p )->corner ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp deleted file mode 100644 index a1cbfab81c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSlider.cpp +++ /dev/null @@ -1,184 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 12/12 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionSlider () - * QStyleOptionSlider ( const QStyleOptionSlider & other ) - */ - -typedef struct -{ - QStyleOptionSlider * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionSlider; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionSlider ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionSlider * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionSlider( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionSlider * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionSlider; - p->type = HBQT_TYPE_QStyleOptionSlider; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONSLIDER ) -{ - QStyleOptionSlider * pObj = NULL; - - pObj = new QStyleOptionSlider() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionSlider( ( void * ) pObj, true ) ); -} - -/* bool dialWrapping */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_DIALWRAPPING ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retl( ( p )->dialWrapping ); -} - -/* int maximum */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_MAXIMUM ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->maximum ); -} - -/* int minimum */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_MINIMUM ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->minimum ); -} - -/* qreal notchTarget */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_NOTCHTARGET ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retnd( ( p )->notchTarget ); -} - -/* Qt::Orientation orientation */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_ORIENTATION ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation ); -} - -/* int pageStep */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_PAGESTEP ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->pageStep ); -} - -/* int singleStep */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_SINGLESTEP ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->singleStep ); -} - -/* int sliderPosition */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_SLIDERPOSITION ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->sliderPosition ); -} - -/* int sliderValue */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_SLIDERVALUE ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->sliderValue ); -} - -/* int tickInterval */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_TICKINTERVAL ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( p )->tickInterval ); -} - -/* QSlider::TickPosition tickPosition */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_TICKPOSITION ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retni( ( QSlider::TickPosition ) ( p )->tickPosition ); -} - -/* bool upsideDown */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_UPSIDEDOWN ) -{ - QStyleOptionSlider * p = hbqt_par_QStyleOptionSlider( 1 ); - if( p ) - hb_retl( ( p )->upsideDown ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp deleted file mode 100644 index 820905cf17..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionSpinBox.cpp +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionSpinBox () - * QStyleOptionSpinBox ( const QStyleOptionSpinBox & other ) - */ - -typedef struct -{ - QStyleOptionSpinBox * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionSpinBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionSpinBox ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionSpinBox * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionSpinBox( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionSpinBox * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionSpinBox; - p->type = HBQT_TYPE_QStyleOptionSpinBox; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONSPINBOX ) -{ - QStyleOptionSpinBox * pObj = NULL; - - pObj = new QStyleOptionSpinBox() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionSpinBox( ( void * ) pObj, true ) ); -} - -/* QAbstractSpinBox::ButtonSymbols buttonSymbols */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX_BUTTONSYMBOLS ) -{ - QStyleOptionSpinBox * p = hbqt_par_QStyleOptionSpinBox( 1 ); - if( p ) - hb_retni( ( QAbstractSpinBox::ButtonSymbols ) ( p )->buttonSymbols ); -} - -/* bool frame */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX_FRAME ) -{ - QStyleOptionSpinBox * p = hbqt_par_QStyleOptionSpinBox( 1 ); - if( p ) - hb_retl( ( p )->frame ); -} - -/* QAbstractSpinBox::StepEnabled stepEnabled */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX_STEPENABLED ) -{ - QStyleOptionSpinBox * p = hbqt_par_QStyleOptionSpinBox( 1 ); - if( p ) - hb_retni( ( QAbstractSpinBox::StepEnabled ) ( p )->stepEnabled ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp deleted file mode 100644 index 606085fbf2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTab.cpp +++ /dev/null @@ -1,148 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CornerWidget { NoCornerWidgets, LeftCornerWidget, RightCornerWidget } - * flags CornerWidgets - * enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * enum TabPosition { Beginning, Middle, End, OnlyOneTab } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionTab () - * QStyleOptionTab ( const QStyleOptionTab & other ) - */ - -typedef struct -{ - QStyleOptionTab * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionTab; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTab ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionTab * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionTab( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionTab * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionTab; - p->type = HBQT_TYPE_QStyleOptionTab; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTAB ) -{ - QStyleOptionTab * pObj = NULL; - - pObj = new QStyleOptionTab() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionTab( ( void * ) pObj, true ) ); -} - -/* CornerWidgets cornerWidgets */ -HB_FUNC( QT_QSTYLEOPTIONTAB_CORNERWIDGETS ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retni( ( QStyleOptionTab::CornerWidgets ) ( p )->cornerWidgets ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONTAB_ICON ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* TabPosition position */ -HB_FUNC( QT_QSTYLEOPTIONTAB_POSITION ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retni( ( QStyleOptionTab::TabPosition ) ( p )->position ); -} - -/* int row */ -HB_FUNC( QT_QSTYLEOPTIONTAB_ROW ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retni( ( p )->row ); -} - -/* SelectedPosition selectedPosition */ -HB_FUNC( QT_QSTYLEOPTIONTAB_SELECTEDPOSITION ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retni( ( QStyleOptionTab::SelectedPosition ) ( p )->selectedPosition ); -} - -/* QTabBar::Shape shape */ -HB_FUNC( QT_QSTYLEOPTIONTAB_SHAPE ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retni( ( QTabBar::Shape ) ( p )->shape ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONTAB_TEXT ) -{ - QStyleOptionTab * p = hbqt_par_QStyleOptionTab( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp deleted file mode 100644 index 129eaafea0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabBarBase.cpp +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionTabBarBase () - * QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other ) - */ - -typedef struct -{ - QStyleOptionTabBarBase * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionTabBarBase; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTabBarBase ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionTabBarBase * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionTabBarBase( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionTabBarBase * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionTabBarBase; - p->type = HBQT_TYPE_QStyleOptionTabBarBase; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE ) -{ - QStyleOptionTabBarBase * pObj = NULL; - - pObj = new QStyleOptionTabBarBase() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionTabBarBase( ( void * ) pObj, true ) ); -} - -/* QRect selectedTabRect */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_SELECTEDTABRECT ) -{ - QStyleOptionTabBarBase * p = hbqt_par_QStyleOptionTabBarBase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->selectedTabRect ), true ) ); -} - -/* QTabBar::Shape shape */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_SHAPE ) -{ - QStyleOptionTabBarBase * p = hbqt_par_QStyleOptionTabBarBase( 1 ); - if( p ) - hb_retni( ( QTabBar::Shape ) ( p )->shape ); -} - -/* QRect tabBarRect */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_TABBARRECT ) -{ - QStyleOptionTabBarBase * p = hbqt_par_QStyleOptionTabBarBase( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->tabBarRect ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp deleted file mode 100644 index 2b979d06e8..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTabWidgetFrame.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionTabWidgetFrame () - * QStyleOptionTabWidgetFrame ( const QStyleOptionTabWidgetFrame & other ) - */ - -typedef struct -{ - QStyleOptionTabWidgetFrame * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionTabWidgetFrame; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTabWidgetFrame ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionTabWidgetFrame * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionTabWidgetFrame( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionTabWidgetFrame * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionTabWidgetFrame; - p->type = HBQT_TYPE_QStyleOptionTabWidgetFrame; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME ) -{ - QStyleOptionTabWidgetFrame * pObj = NULL; - - pObj = new QStyleOptionTabWidgetFrame() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionTabWidgetFrame( ( void * ) pObj, true ) ); -} - -/* QSize leftCornerWidgetSize */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_LEFTCORNERWIDGETSIZE ) -{ - QStyleOptionTabWidgetFrame * p = hbqt_par_QStyleOptionTabWidgetFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->leftCornerWidgetSize ), true ) ); -} - -/* int lineWidth */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_LINEWIDTH ) -{ - QStyleOptionTabWidgetFrame * p = hbqt_par_QStyleOptionTabWidgetFrame( 1 ); - if( p ) - hb_retni( ( p )->lineWidth ); -} - -/* int midLineWidth */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_MIDLINEWIDTH ) -{ - QStyleOptionTabWidgetFrame * p = hbqt_par_QStyleOptionTabWidgetFrame( 1 ); - if( p ) - hb_retni( ( p )->midLineWidth ); -} - -/* QSize rightCornerWidgetSize */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_RIGHTCORNERWIDGETSIZE ) -{ - QStyleOptionTabWidgetFrame * p = hbqt_par_QStyleOptionTabWidgetFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->rightCornerWidgetSize ), true ) ); -} - -/* QTabBar::Shape shape */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_SHAPE ) -{ - QStyleOptionTabWidgetFrame * p = hbqt_par_QStyleOptionTabWidgetFrame( 1 ); - if( p ) - hb_retni( ( QTabBar::Shape ) ( p )->shape ); -} - -/* QSize tabBarSize */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_TABBARSIZE ) -{ - QStyleOptionTabWidgetFrame * p = hbqt_par_QStyleOptionTabWidgetFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->tabBarSize ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp deleted file mode 100644 index 558e43f898..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionTitleBar.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionTitleBar () - * QStyleOptionTitleBar ( const QStyleOptionTitleBar & other ) - */ - -typedef struct -{ - QStyleOptionTitleBar * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionTitleBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTitleBar ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionTitleBar * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionTitleBar( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionTitleBar * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionTitleBar; - p->type = HBQT_TYPE_QStyleOptionTitleBar; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR ) -{ - QStyleOptionTitleBar * pObj = NULL; - - pObj = new QStyleOptionTitleBar() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionTitleBar( ( void * ) pObj, true ) ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_ICON ) -{ - QStyleOptionTitleBar * p = hbqt_par_QStyleOptionTitleBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TEXT ) -{ - QStyleOptionTitleBar * p = hbqt_par_QStyleOptionTitleBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - -/* Qt::WindowFlags titleBarFlags */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TITLEBARFLAGS ) -{ - QStyleOptionTitleBar * p = hbqt_par_QStyleOptionTitleBar( 1 ); - if( p ) - hb_retni( ( Qt::WindowFlags ) ( p )->titleBarFlags ); -} - -/* int titleBarState */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TITLEBARSTATE ) -{ - QStyleOptionTitleBar * p = hbqt_par_QStyleOptionTitleBar( 1 ); - if( p ) - hb_retni( ( p )->titleBarState ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp deleted file mode 100644 index 823b537d00..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBar.cpp +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * enum ToolBarFeature { None, Movable } - * flags ToolBarFeatures - * enum ToolBarPosition { Beginning, Middle, End, OnlyOne } - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionToolBar () - * QStyleOptionToolBar ( const QStyleOptionToolBar & other ) - */ - -typedef struct -{ - QStyleOptionToolBar * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionToolBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionToolBar ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionToolBar * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionToolBar( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionToolBar * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionToolBar; - p->type = HBQT_TYPE_QStyleOptionToolBar; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR ) -{ - QStyleOptionToolBar * pObj = NULL; - - pObj = new QStyleOptionToolBar() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionToolBar( ( void * ) pObj, true ) ); -} - -/* ToolBarFeatures features */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_FEATURES ) -{ - QStyleOptionToolBar * p = hbqt_par_QStyleOptionToolBar( 1 ); - if( p ) - hb_retni( ( QStyleOptionToolBar::ToolBarFeatures ) ( p )->features ); -} - -/* int lineWidth */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_LINEWIDTH ) -{ - QStyleOptionToolBar * p = hbqt_par_QStyleOptionToolBar( 1 ); - if( p ) - hb_retni( ( p )->lineWidth ); -} - -/* int midLineWidth */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_MIDLINEWIDTH ) -{ - QStyleOptionToolBar * p = hbqt_par_QStyleOptionToolBar( 1 ); - if( p ) - hb_retni( ( p )->midLineWidth ); -} - -/* ToolBarPosition positionOfLine */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_POSITIONOFLINE ) -{ - QStyleOptionToolBar * p = hbqt_par_QStyleOptionToolBar( 1 ); - if( p ) - hb_retni( ( QStyleOptionToolBar::ToolBarPosition ) ( p )->positionOfLine ); -} - -/* ToolBarPosition positionWithinLine */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_POSITIONWITHINLINE ) -{ - QStyleOptionToolBar * p = hbqt_par_QStyleOptionToolBar( 1 ); - if( p ) - hb_retni( ( QStyleOptionToolBar::ToolBarPosition ) ( p )->positionWithinLine ); -} - -/* Qt::ToolBarArea toolBarArea */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_TOOLBARAREA ) -{ - QStyleOptionToolBar * p = hbqt_par_QStyleOptionToolBar( 1 ); - if( p ) - hb_retni( ( Qt::ToolBarArea ) ( p )->toolBarArea ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp deleted file mode 100644 index 10857dc2bc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolBox.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionToolBox () - * QStyleOptionToolBox ( const QStyleOptionToolBox & other ) - */ - -typedef struct -{ - QStyleOptionToolBox * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionToolBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionToolBox ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionToolBox * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionToolBox( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionToolBox * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionToolBox; - p->type = HBQT_TYPE_QStyleOptionToolBox; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX ) -{ - QStyleOptionToolBox * pObj = NULL; - - pObj = new QStyleOptionToolBox() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionToolBox( ( void * ) pObj, true ) ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX_ICON ) -{ - QStyleOptionToolBox * p = hbqt_par_QStyleOptionToolBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX_TEXT ) -{ - QStyleOptionToolBox * p = hbqt_par_QStyleOptionToolBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp deleted file mode 100644 index 07583ee1d9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionToolButton.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * enum ToolButtonFeature { None, Arrow, Menu, PopupDelay, HasMenu, MenuButtonPopup } - * flags ToolButtonFeatures - */ - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionToolButton () - * QStyleOptionToolButton ( const QStyleOptionToolButton & other ) - */ - -typedef struct -{ - QStyleOptionToolButton * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionToolButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionToolButton ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionToolButton * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionToolButton( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionToolButton * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionToolButton; - p->type = HBQT_TYPE_QStyleOptionToolButton; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON ) -{ - QStyleOptionToolButton * pObj = NULL; - - pObj = new QStyleOptionToolButton() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionToolButton( ( void * ) pObj, true ) ); -} - -/* Qt::ArrowType arrowType */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ARROWTYPE ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retni( ( Qt::ArrowType ) ( p )->arrowType ); -} - -/* ToolButtonFeatures features */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_FEATURES ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retni( ( QStyleOptionToolButton::ToolButtonFeatures ) ( p )->features ); -} - -/* QFont font */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_FONT ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font ), true ) ); -} - -/* QIcon icon */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ICON ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon ), true ) ); -} - -/* QSize iconSize */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ICONSIZE ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize ), true ) ); -} - -/* QPoint pos */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_POS ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos ), true ) ); -} - -/* QString text */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_TEXT ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text.toUtf8().data() ); -} - -/* Qt::ToolButtonStyle toolButtonStyle */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_TOOLBUTTONSTYLE ) -{ - QStyleOptionToolButton * p = hbqt_par_QStyleOptionToolButton( 1 ); - if( p ) - hb_retni( ( Qt::ToolButtonStyle ) ( p )->toolButtonStyle ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp b/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp deleted file mode 100644 index d5fa7cb572..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyleOptionViewItem.cpp +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Position { Left, Right, Top, Bottom } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStyleOptionViewItem () - * QStyleOptionViewItem ( const QStyleOptionViewItem & other ) - */ - -typedef struct -{ - QStyleOptionViewItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyleOptionViewItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionViewItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStyleOptionViewItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyleOptionViewItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStyleOptionViewItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyleOptionViewItem; - p->type = HBQT_TYPE_QStyleOptionViewItem; - - return p; -} - -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM ) -{ - QStyleOptionViewItem * pObj = NULL; - - pObj = new QStyleOptionViewItem() ; - - hb_retptrGC( hbqt_gcAllocate_QStyleOptionViewItem( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment decorationAlignment */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONALIGNMENT ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->decorationAlignment ); -} - -/* Position decorationPosition */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONPOSITION ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retni( ( QStyleOptionViewItem::Position ) ( p )->decorationPosition ); -} - -/* QSize decorationSize */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONSIZE ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->decorationSize ), true ) ); -} - -/* Qt::Alignment displayAlignment */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DISPLAYALIGNMENT ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->displayAlignment ); -} - -/* QFont font */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_FONT ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font ), true ) ); -} - -/* bool showDecorationSelected */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_SHOWDECORATIONSELECTED ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retl( ( p )->showDecorationSelected ); -} - -/* Qt::TextElideMode textElideMode */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_TEXTELIDEMODE ) -{ - QStyleOptionViewItem * p = hbqt_par_QStyleOptionViewItem( 1 ); - if( p ) - hb_retni( ( Qt::TextElideMode ) ( p )->textElideMode ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp b/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp deleted file mode 100644 index 9f6ab9ec2f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStylePainter.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QStylePainter () - * QStylePainter ( QWidget * widget ) - * QStylePainter ( QPaintDevice * pd, QWidget * widget ) - */ - -typedef struct -{ - QStylePainter * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStylePainter; - -HBQT_GC_FUNC( hbqt_gcRelease_QStylePainter ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QStylePainter * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStylePainter( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QStylePainter * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QStylePainter; - p->type = HBQT_TYPE_QStylePainter; - - return p; -} - -HB_FUNC( QT_QSTYLEPAINTER ) -{ - QStylePainter * pObj = NULL; - - pObj = new QStylePainter() ; - - hb_retptrGC( hbqt_gcAllocate_QStylePainter( ( void * ) pObj, true ) ); -} - -/* bool begin ( QWidget * widget ) */ -HB_FUNC( QT_QSTYLEPAINTER_BEGIN ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - hb_retl( ( p )->begin( hbqt_par_QWidget( 2 ) ) ); -} - -/* bool begin ( QPaintDevice * pd, QWidget * widget ) */ -HB_FUNC( QT_QSTYLEPAINTER_BEGIN_1 ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - hb_retl( ( p )->begin( hbqt_par_QPaintDevice( 2 ), hbqt_par_QWidget( 3 ) ) ); -} - -/* void drawComplexControl ( QStyle::ComplexControl cc, const QStyleOptionComplex & option ) */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWCOMPLEXCONTROL ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - ( p )->drawComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), *hbqt_par_QStyleOptionComplex( 3 ) ); -} - -/* void drawControl ( QStyle::ControlElement ce, const QStyleOption & option ) */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWCONTROL ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - ( p )->drawControl( ( QStyle::ControlElement ) hb_parni( 2 ), *hbqt_par_QStyleOption( 3 ) ); -} - -/* void drawItemPixmap ( const QRect & rect, int flags, const QPixmap & pixmap ) */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWITEMPIXMAP ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - ( p )->drawItemPixmap( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ); -} - -/* void drawItemText ( const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWITEMTEXT ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - { - void * pText; - ( p )->drawItemText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPalette( 4 ), hb_parl( 5 ), hb_parstr_utf8( 6, &pText, NULL ), ( HB_ISNUM( 7 ) ? ( QPalette::ColorRole ) hb_parni( 7 ) : ( QPalette::ColorRole ) QPalette::NoRole ) ); - hb_strfree( pText ); - } -} - -/* void drawPrimitive ( QStyle::PrimitiveElement pe, const QStyleOption & option ) */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWPRIMITIVE ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - ( p )->drawPrimitive( ( QStyle::PrimitiveElement ) hb_parni( 2 ), *hbqt_par_QStyleOption( 3 ) ); -} - -/* QStyle * style () const */ -HB_FUNC( QT_QSTYLEPAINTER_STYLE ) -{ - QStylePainter * p = hbqt_par_QStylePainter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp deleted file mode 100644 index 64398caa25..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QStyledItemDelegate.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QItemEditorFactory * itemEditorFactory () const - * // void setItemEditorFactory ( QItemEditorFactory * factory ) - */ - -#include - -#include - - -/* - * QStyledItemDelegate ( QObject * parent = 0 ) - * ~QStyledItemDelegate () - */ - -typedef struct -{ - QPointer< QStyledItemDelegate > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QStyledItemDelegate; - -HBQT_GC_FUNC( hbqt_gcRelease_QStyledItemDelegate ) -{ - HBQT_GC_T_QStyledItemDelegate * p = ( HBQT_GC_T_QStyledItemDelegate * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QStyledItemDelegate * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QStyledItemDelegate( void * pObj, bool bNew ) -{ - HBQT_GC_T_QStyledItemDelegate * p = ( HBQT_GC_T_QStyledItemDelegate * ) hb_gcAllocate( sizeof( HBQT_GC_T_QStyledItemDelegate ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QStyledItemDelegate >( ( QStyledItemDelegate * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QStyledItemDelegate; - p->type = HBQT_TYPE_QStyledItemDelegate; - - return p; -} - -HB_FUNC( QT_QSTYLEDITEMDELEGATE ) -{ - QStyledItemDelegate * pObj = NULL; - - pObj = new QStyledItemDelegate( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QStyledItemDelegate( ( void * ) pObj, true ) ); -} - -/* virtual QWidget * createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_CREATEEDITOR ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->createEditor( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ), false ) ); -} - -/* virtual QString displayText ( const QVariant & value, const QLocale & locale ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_DISPLAYTEXT ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - hb_retstr_utf8( ( p )->displayText( *hbqt_par_QVariant( 2 ), *hbqt_par_QLocale( 3 ) ).toUtf8().data() ); -} - -/* virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_PAINT ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - ( p )->paint( hbqt_par_QPainter( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* virtual void setEditorData ( QWidget * editor, const QModelIndex & index ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SETEDITORDATA ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - ( p )->setEditorData( hbqt_par_QWidget( 2 ), *hbqt_par_QModelIndex( 3 ) ); -} - -/* virtual void setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SETMODELDATA ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - ( p )->setModelData( hbqt_par_QWidget( 2 ), hbqt_par_QAbstractItemModel( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* virtual QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SIZEHINT ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint( *hbqt_par_QStyleOptionViewItem( 2 ), *hbqt_par_QModelIndex( 3 ) ) ), true ) ); -} - -/* virtual void updateEditorGeometry ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) const */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_UPDATEEDITORGEOMETRY ) -{ - QStyledItemDelegate * p = hbqt_par_QStyledItemDelegate( 1 ); - if( p ) - ( p )->updateEditorGeometry( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp b/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp deleted file mode 100644 index ce0a7f0a27..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSyntaxHighlighter.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include -#include "hbqt_hbqsyntaxhighlighter.h" - -/* - * QSyntaxHighlighter ( QObject * parent ) - * QSyntaxHighlighter ( QTextDocument * parent ) - * QSyntaxHighlighter ( QTextEdit * parent ) - * virtual ~QSyntaxHighlighter () - */ - -typedef struct -{ - QPointer< QSyntaxHighlighter > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSyntaxHighlighter; - -HBQT_GC_FUNC( hbqt_gcRelease_QSyntaxHighlighter ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QSyntaxHighlighter( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSyntaxHighlighter * p = ( HBQT_GC_T_QSyntaxHighlighter * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSyntaxHighlighter ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSyntaxHighlighter >( ( QSyntaxHighlighter * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSyntaxHighlighter; - p->type = HBQT_TYPE_QSyntaxHighlighter; - - return p; -} - -HB_FUNC( QT_QSYNTAXHIGHLIGHTER ) -{ - -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QSYNTAXHIGHLIGHTER_DOCUMENT ) -{ - QSyntaxHighlighter * p = hbqt_par_QSyntaxHighlighter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* void setDocument ( QTextDocument * doc ) */ -HB_FUNC( QT_QSYNTAXHIGHLIGHTER_SETDOCUMENT ) -{ - QSyntaxHighlighter * p = hbqt_par_QSyntaxHighlighter( 1 ); - if( p ) - ( p )->setDocument( hbqt_par_QTextDocument( 2 ) ); -} - -/* void rehighlight () */ -HB_FUNC( QT_QSYNTAXHIGHLIGHTER_REHIGHLIGHT ) -{ - QSyntaxHighlighter * p = hbqt_par_QSyntaxHighlighter( 1 ); - if( p ) - ( p )->rehighlight(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp b/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp deleted file mode 100644 index 671f3a9f15..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp +++ /dev/null @@ -1,214 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ActivationReason { Unknown, Context, DoubleClick, Trigger, MiddleClick } - * enum MessageIcon { NoIcon, Information, Warning, Critical } - */ - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QSystemTrayIcon ( QObject * parent = 0 ) - * QSystemTrayIcon ( const QIcon & icon, QObject * parent = 0 ) - * ~QSystemTrayIcon () - */ - -typedef struct -{ - QPointer< QSystemTrayIcon > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QSystemTrayIcon; - -HBQT_GC_FUNC( hbqt_gcRelease_QSystemTrayIcon ) -{ - HBQT_GC_T_QSystemTrayIcon * p = ( HBQT_GC_T_QSystemTrayIcon * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QSystemTrayIcon * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QSystemTrayIcon( void * pObj, bool bNew ) -{ - HBQT_GC_T_QSystemTrayIcon * p = ( HBQT_GC_T_QSystemTrayIcon * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSystemTrayIcon ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QSystemTrayIcon >( ( QSystemTrayIcon * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QSystemTrayIcon; - p->type = HBQT_TYPE_QSystemTrayIcon; - - return p; -} - -HB_FUNC( QT_QSYSTEMTRAYICON ) -{ - QSystemTrayIcon * pObj = NULL; - - pObj = new QSystemTrayIcon( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QSystemTrayIcon( ( void * ) pObj, true ) ); -} - -/* QMenu * contextMenu () const */ -HB_FUNC( QT_QSYSTEMTRAYICON_CONTEXTMENU ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->contextMenu(), false ) ); -} - -/* QRect geometry () const */ -HB_FUNC( QT_QSYSTEMTRAYICON_GEOMETRY ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->geometry() ), true ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QSYSTEMTRAYICON_ICON ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* bool isVisible () const */ -HB_FUNC( QT_QSYSTEMTRAYICON_ISVISIBLE ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retl( ( p )->isVisible() ); -} - -/* void setContextMenu ( QMenu * menu ) */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETCONTEXTMENU ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - ( p )->setContextMenu( hbqt_par_QMenu( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETICON ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setToolTip ( const QString & tip ) */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETTOOLTIP ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void showMessage ( const QString & title, const QString & message, MessageIcon icon = Information, int millisecondsTimeoutHint = 10000 ) */ -HB_FUNC( QT_QSYSTEMTRAYICON_SHOWMESSAGE ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - { - void * pText; - ( p )->showMessage( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( QSystemTrayIcon::MessageIcon ) hb_parni( 4 ) : ( QSystemTrayIcon::MessageIcon ) QSystemTrayIcon::Information ), hb_parnidef( 5, 10000 ) ); - hb_strfree( pText ); - } -} - -/* QString toolTip () const */ -HB_FUNC( QT_QSYSTEMTRAYICON_TOOLTIP ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* bool isSystemTrayAvailable () */ -HB_FUNC( QT_QSYSTEMTRAYICON_ISSYSTEMTRAYAVAILABLE ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retl( ( p )->isSystemTrayAvailable() ); -} - -/* bool supportsMessages () */ -HB_FUNC( QT_QSYSTEMTRAYICON_SUPPORTSMESSAGES ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - hb_retl( ( p )->supportsMessages() ); -} - -/* void hide () */ -HB_FUNC( QT_QSYSTEMTRAYICON_HIDE ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - ( p )->hide(); -} - -/* void setVisible ( bool visible ) */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETVISIBLE ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* void show () */ -HB_FUNC( QT_QSYSTEMTRAYICON_SHOW ) -{ - QSystemTrayIcon * p = hbqt_par_QSystemTrayIcon( 1 ); - if( p ) - ( p )->show(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp b/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp deleted file mode 100644 index da326aa6e5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTabBar.cpp +++ /dev/null @@ -1,473 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ButtonPosition { LeftSide, RightSide } - * enum SelectionBehavior { SelectLeftTab, SelectRightTab, SelectPreviousTab } - * enum Shape { RoundedNorth, RoundedSouth, RoundedWest, RoundedEast, ..., TriangularEast } - */ - -/* - * Constructed[ 44/44 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // int addTab ( const QIcon & icon, const QString & text ) - * // int insertTab ( int index, const QIcon & icon, const QString & text ) - * // void setTabIcon ( int index, const QIcon & icon ) - */ - -#include - -#include -#include -#include - -/* - * QTabBar ( QWidget * parent = 0 ) - * ~QTabBar () - */ - -typedef struct -{ - QPointer< QTabBar > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTabBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QTabBar ) -{ - HBQT_GC_T_QTabBar * p = ( HBQT_GC_T_QTabBar * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTabBar * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTabBar( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTabBar * p = ( HBQT_GC_T_QTabBar * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTabBar ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTabBar >( ( QTabBar * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTabBar; - p->type = HBQT_TYPE_QTabBar; - - return p; -} - -HB_FUNC( QT_QTABBAR ) -{ - QTabBar * pObj = NULL; - - pObj = new QTabBar( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTabBar( ( void * ) pObj, true ) ); -} - -/* int addTab ( const QString & text ) */ -HB_FUNC( QT_QTABBAR_ADDTAB ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->addTab( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int count () const */ -HB_FUNC( QT_QTABBAR_COUNT ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* int currentIndex () const */ -HB_FUNC( QT_QTABBAR_CURRENTINDEX ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retni( ( p )->currentIndex() ); -} - -/* bool documentMode () const */ -HB_FUNC( QT_QTABBAR_DOCUMENTMODE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->documentMode() ); -} - -/* bool drawBase () const */ -HB_FUNC( QT_QTABBAR_DRAWBASE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->drawBase() ); -} - -/* Qt::TextElideMode elideMode () const */ -HB_FUNC( QT_QTABBAR_ELIDEMODE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retni( ( Qt::TextElideMode ) ( p )->elideMode() ); -} - -/* bool expanding () const */ -HB_FUNC( QT_QTABBAR_EXPANDING ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->expanding() ); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QTABBAR_ICONSIZE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* int insertTab ( int index, const QString & text ) */ -HB_FUNC( QT_QTABBAR_INSERTTAB ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->insertTab( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isMovable () const */ -HB_FUNC( QT_QTABBAR_ISMOVABLE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->isMovable() ); -} - -/* bool isTabEnabled ( int index ) const */ -HB_FUNC( QT_QTABBAR_ISTABENABLED ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->isTabEnabled( hb_parni( 2 ) ) ); -} - -/* void moveTab ( int from, int to ) */ -HB_FUNC( QT_QTABBAR_MOVETAB ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->moveTab( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void removeTab ( int index ) */ -HB_FUNC( QT_QTABBAR_REMOVETAB ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->removeTab( hb_parni( 2 ) ); -} - -/* SelectionBehavior selectionBehaviorOnRemove () const */ -HB_FUNC( QT_QTABBAR_SELECTIONBEHAVIORONREMOVE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retni( ( QTabBar::SelectionBehavior ) ( p )->selectionBehaviorOnRemove() ); -} - -/* void setDocumentMode ( bool set ) */ -HB_FUNC( QT_QTABBAR_SETDOCUMENTMODE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setDocumentMode( hb_parl( 2 ) ); -} - -/* void setDrawBase ( bool drawTheBase ) */ -HB_FUNC( QT_QTABBAR_SETDRAWBASE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setDrawBase( hb_parl( 2 ) ); -} - -/* void setElideMode ( Qt::TextElideMode ) */ -HB_FUNC( QT_QTABBAR_SETELIDEMODE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) ); -} - -/* void setExpanding ( bool enabled ) */ -HB_FUNC( QT_QTABBAR_SETEXPANDING ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setExpanding( hb_parl( 2 ) ); -} - -/* void setIconSize ( const QSize & size ) */ -HB_FUNC( QT_QTABBAR_SETICONSIZE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setMovable ( bool movable ) */ -HB_FUNC( QT_QTABBAR_SETMOVABLE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setMovable( hb_parl( 2 ) ); -} - -/* void setSelectionBehaviorOnRemove ( SelectionBehavior behavior ) */ -HB_FUNC( QT_QTABBAR_SETSELECTIONBEHAVIORONREMOVE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setSelectionBehaviorOnRemove( ( QTabBar::SelectionBehavior ) hb_parni( 2 ) ); -} - -/* void setShape ( Shape shape ) */ -HB_FUNC( QT_QTABBAR_SETSHAPE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setShape( ( QTabBar::Shape ) hb_parni( 2 ) ); -} - -/* void setTabButton ( int index, ButtonPosition position, QWidget * widget ) */ -HB_FUNC( QT_QTABBAR_SETTABBUTTON ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setTabButton( hb_parni( 2 ), ( QTabBar::ButtonPosition ) hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* void setTabData ( int index, const QVariant & data ) */ -HB_FUNC( QT_QTABBAR_SETTABDATA ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setTabData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* void setTabEnabled ( int index, bool enabled ) */ -HB_FUNC( QT_QTABBAR_SETTABENABLED ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setTabEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setTabText ( int index, const QString & text ) */ -HB_FUNC( QT_QTABBAR_SETTABTEXT ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - { - void * pText; - ( p )->setTabText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabTextColor ( int index, const QColor & color ) */ -HB_FUNC( QT_QTABBAR_SETTABTEXTCOLOR ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setTabTextColor( hb_parni( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* void setTabToolTip ( int index, const QString & tip ) */ -HB_FUNC( QT_QTABBAR_SETTABTOOLTIP ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - { - void * pText; - ( p )->setTabToolTip( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabWhatsThis ( int index, const QString & text ) */ -HB_FUNC( QT_QTABBAR_SETTABWHATSTHIS ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - { - void * pText; - ( p )->setTabWhatsThis( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabsClosable ( bool closable ) */ -HB_FUNC( QT_QTABBAR_SETTABSCLOSABLE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setTabsClosable( hb_parl( 2 ) ); -} - -/* void setUsesScrollButtons ( bool useButtons ) */ -HB_FUNC( QT_QTABBAR_SETUSESSCROLLBUTTONS ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setUsesScrollButtons( hb_parl( 2 ) ); -} - -/* Shape shape () const */ -HB_FUNC( QT_QTABBAR_SHAPE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retni( ( QTabBar::Shape ) ( p )->shape() ); -} - -/* int tabAt ( const QPoint & position ) const */ -HB_FUNC( QT_QTABBAR_TABAT ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retni( ( p )->tabAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* QWidget * tabButton ( int index, ButtonPosition position ) const */ -HB_FUNC( QT_QTABBAR_TABBUTTON ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->tabButton( hb_parni( 2 ), ( QTabBar::ButtonPosition ) hb_parni( 3 ) ), false ) ); -} - -/* QVariant tabData ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABDATA ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->tabData( hb_parni( 2 ) ) ), true ) ); -} - -/* QIcon tabIcon ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABICON ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->tabIcon( hb_parni( 2 ) ) ), true ) ); -} - -/* QRect tabRect ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABRECT ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->tabRect( hb_parni( 2 ) ) ), true ) ); -} - -/* QString tabText ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABTEXT ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tabText( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QColor tabTextColor ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABTEXTCOLOR ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->tabTextColor( hb_parni( 2 ) ) ), true ) ); -} - -/* QString tabToolTip ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABTOOLTIP ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tabToolTip( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString tabWhatsThis ( int index ) const */ -HB_FUNC( QT_QTABBAR_TABWHATSTHIS ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tabWhatsThis( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* bool tabsClosable () const */ -HB_FUNC( QT_QTABBAR_TABSCLOSABLE ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->tabsClosable() ); -} - -/* bool usesScrollButtons () const */ -HB_FUNC( QT_QTABBAR_USESSCROLLBUTTONS ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - hb_retl( ( p )->usesScrollButtons() ); -} - -/* void setCurrentIndex ( int index ) */ -HB_FUNC( QT_QTABBAR_SETCURRENTINDEX ) -{ - QTabBar * p = hbqt_par_QTabBar( 1 ); - if( p ) - ( p )->setCurrentIndex( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp deleted file mode 100644 index 3bd5ad7f6a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTabWidget.cpp +++ /dev/null @@ -1,451 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum TabPosition { North, South, West, East } - * enum TabShape { Rounded, Triangular } - */ - -/* - * Constructed[ 41/41 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTabWidget ( QWidget * parent = 0 ) - * ~QTabWidget () - */ - -typedef struct -{ - QPointer< QTabWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTabWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QTabWidget ) -{ - HBQT_GC_T_QTabWidget * p = ( HBQT_GC_T_QTabWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTabWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTabWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTabWidget * p = ( HBQT_GC_T_QTabWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTabWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTabWidget >( ( QTabWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTabWidget; - p->type = HBQT_TYPE_QTabWidget; - - return p; -} - -HB_FUNC( QT_QTABWIDGET ) -{ - QTabWidget * pObj = NULL; - - pObj = new QTabWidget( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTabWidget( ( void * ) pObj, true ) ); -} - -/* int addTab ( QWidget * page, const QString & label ) [*D=1*] */ -HB_FUNC( QT_QTABWIDGET_ADDTAB ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - void * pText; - hb_retni( ( p )->addTab( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int addTab ( QWidget * page, const QIcon & icon, const QString & label ) [*D=1*] */ -HB_FUNC( QT_QTABWIDGET_ADDTAB_1 ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - void * pText; - hb_retni( ( p )->addTab( hbqt_par_QWidget( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )), hb_parstr_utf8( 4, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void clear () */ -HB_FUNC( QT_QTABWIDGET_CLEAR ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->clear(); -} - -/* QWidget * cornerWidget ( Qt::Corner corner = Qt::TopRightCorner ) const */ -HB_FUNC( QT_QTABWIDGET_CORNERWIDGET ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->cornerWidget( ( HB_ISNUM( 2 ) ? ( Qt::Corner ) hb_parni( 2 ) : ( Qt::Corner ) Qt::TopRightCorner ) ), false ) ); -} - -/* int count () const */ -HB_FUNC( QT_QTABWIDGET_COUNT ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* int currentIndex () const */ -HB_FUNC( QT_QTABWIDGET_CURRENTINDEX ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retni( ( p )->currentIndex() ); -} - -/* QWidget * currentWidget () const */ -HB_FUNC( QT_QTABWIDGET_CURRENTWIDGET ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->currentWidget(), false ) ); -} - -/* bool documentMode () const */ -HB_FUNC( QT_QTABWIDGET_DOCUMENTMODE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retl( ( p )->documentMode() ); -} - -/* Qt::TextElideMode elideMode () const */ -HB_FUNC( QT_QTABWIDGET_ELIDEMODE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retni( ( Qt::TextElideMode ) ( p )->elideMode() ); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QTABWIDGET_ICONSIZE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* int indexOf ( QWidget * w ) const */ -HB_FUNC( QT_QTABWIDGET_INDEXOF ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retni( ( p )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* int insertTab ( int index, QWidget * page, const QString & label ) */ -HB_FUNC( QT_QTABWIDGET_INSERTTAB ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->insertTab( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int insertTab ( int index, QWidget * page, const QIcon & icon, const QString & label ) */ -HB_FUNC( QT_QTABWIDGET_INSERTTAB_1 ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->insertTab( hb_parni( 2 ), hbqt_par_QWidget( 3 ), ( HB_ISCHAR( 4 ) ? QIcon( hbqt_par_QString( 4 ) ) : *hbqt_par_QIcon( 4 )), hb_parstr_utf8( 5, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isMovable () const */ -HB_FUNC( QT_QTABWIDGET_ISMOVABLE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retl( ( p )->isMovable() ); -} - -/* bool isTabEnabled ( int index ) const */ -HB_FUNC( QT_QTABWIDGET_ISTABENABLED ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retl( ( p )->isTabEnabled( hb_parni( 2 ) ) ); -} - -/* void removeTab ( int index ) */ -HB_FUNC( QT_QTABWIDGET_REMOVETAB ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->removeTab( hb_parni( 2 ) ); -} - -/* void setCornerWidget ( QWidget * widget, Qt::Corner corner = Qt::TopRightCorner ) */ -HB_FUNC( QT_QTABWIDGET_SETCORNERWIDGET ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setCornerWidget( hbqt_par_QWidget( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::Corner ) hb_parni( 3 ) : ( Qt::Corner ) Qt::TopRightCorner ) ); -} - -/* void setDocumentMode ( bool set ) */ -HB_FUNC( QT_QTABWIDGET_SETDOCUMENTMODE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setDocumentMode( hb_parl( 2 ) ); -} - -/* void setElideMode ( Qt::TextElideMode ) */ -HB_FUNC( QT_QTABWIDGET_SETELIDEMODE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) ); -} - -/* void setIconSize ( const QSize & size ) */ -HB_FUNC( QT_QTABWIDGET_SETICONSIZE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setMovable ( bool movable ) */ -HB_FUNC( QT_QTABWIDGET_SETMOVABLE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setMovable( hb_parl( 2 ) ); -} - -/* void setTabEnabled ( int index, bool enable ) */ -HB_FUNC( QT_QTABWIDGET_SETTABENABLED ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setTabEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setTabIcon ( int index, const QIcon & icon ) */ -HB_FUNC( QT_QTABWIDGET_SETTABICON ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setTabIcon( hb_parni( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )) ); -} - -/* void setTabPosition ( TabPosition ) */ -HB_FUNC( QT_QTABWIDGET_SETTABPOSITION ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setTabPosition( ( QTabWidget::TabPosition ) hb_parni( 2 ) ); -} - -/* void setTabShape ( TabShape s ) */ -HB_FUNC( QT_QTABWIDGET_SETTABSHAPE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setTabShape( ( QTabWidget::TabShape ) hb_parni( 2 ) ); -} - -/* void setTabText ( int index, const QString & label ) */ -HB_FUNC( QT_QTABWIDGET_SETTABTEXT ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setTabText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabToolTip ( int index, const QString & tip ) */ -HB_FUNC( QT_QTABWIDGET_SETTABTOOLTIP ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setTabToolTip( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabWhatsThis ( int index, const QString & text ) */ -HB_FUNC( QT_QTABWIDGET_SETTABWHATSTHIS ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setTabWhatsThis( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTabsClosable ( bool closeable ) */ -HB_FUNC( QT_QTABWIDGET_SETTABSCLOSABLE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setTabsClosable( hb_parl( 2 ) ); -} - -/* void setUsesScrollButtons ( bool useButtons ) */ -HB_FUNC( QT_QTABWIDGET_SETUSESSCROLLBUTTONS ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setUsesScrollButtons( hb_parl( 2 ) ); -} - -/* QIcon tabIcon ( int index ) const */ -HB_FUNC( QT_QTABWIDGET_TABICON ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->tabIcon( hb_parni( 2 ) ) ), true ) ); -} - -/* TabPosition tabPosition () const */ -HB_FUNC( QT_QTABWIDGET_TABPOSITION ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retni( ( QTabWidget::TabPosition ) ( p )->tabPosition() ); -} - -/* TabShape tabShape () const */ -HB_FUNC( QT_QTABWIDGET_TABSHAPE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retni( ( QTabWidget::TabShape ) ( p )->tabShape() ); -} - -/* QString tabText ( int index ) const */ -HB_FUNC( QT_QTABWIDGET_TABTEXT ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tabText( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString tabToolTip ( int index ) const */ -HB_FUNC( QT_QTABWIDGET_TABTOOLTIP ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tabToolTip( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString tabWhatsThis ( int index ) const */ -HB_FUNC( QT_QTABWIDGET_TABWHATSTHIS ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->tabWhatsThis( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* bool tabsClosable () const */ -HB_FUNC( QT_QTABWIDGET_TABSCLOSABLE ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retl( ( p )->tabsClosable() ); -} - -/* bool usesScrollButtons () const */ -HB_FUNC( QT_QTABWIDGET_USESSCROLLBUTTONS ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retl( ( p )->usesScrollButtons() ); -} - -/* QWidget * widget ( int index ) const */ -HB_FUNC( QT_QTABWIDGET_WIDGET ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget( hb_parni( 2 ) ), false ) ); -} - -/* void setCurrentIndex ( int index ) */ -HB_FUNC( QT_QTABWIDGET_SETCURRENTINDEX ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* void setCurrentWidget ( QWidget * widget ) */ -HB_FUNC( QT_QTABWIDGET_SETCURRENTWIDGET ) -{ - QTabWidget * p = hbqt_par_QTabWidget( 1 ); - if( p ) - ( p )->setCurrentWidget( hbqt_par_QWidget( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTableView.cpp b/harbour/contrib/hbqt/qtgui/g/QTableView.cpp deleted file mode 100644 index a548e308e7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTableView.cpp +++ /dev/null @@ -1,424 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 42/42 [ 100.00% ] ] - * - */ - -#include - -#include - -/* - * QTableView ( QWidget * parent = 0 ) - * ~QTableView () - */ - - -typedef struct -{ - QPointer< QTableView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTableView; - -HBQT_GC_FUNC( hbqt_gcRelease_QTableView ) -{ - HBQT_GC_T_QTableView * p = ( HBQT_GC_T_QTableView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTableView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTableView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTableView * p = ( HBQT_GC_T_QTableView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTableView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTableView >( ( QTableView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTableView; - p->type = HBQT_TYPE_QTableView; - - return p; -} - -HB_FUNC( QT_QTABLEVIEW ) -{ - QTableView * pObj = NULL; - - pObj = new QTableView( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTableView( ( void * ) pObj, true ) ); -} - -/* void clearSpans () */ -HB_FUNC( QT_QTABLEVIEW_CLEARSPANS ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->clearSpans(); -} - -/* int columnAt ( int x ) const */ -HB_FUNC( QT_QTABLEVIEW_COLUMNAT ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->columnAt( hb_parni( 2 ) ) ); -} - -/* int columnSpan ( int row, int column ) const */ -HB_FUNC( QT_QTABLEVIEW_COLUMNSPAN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->columnSpan( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* int columnViewportPosition ( int column ) const */ -HB_FUNC( QT_QTABLEVIEW_COLUMNVIEWPORTPOSITION ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->columnViewportPosition( hb_parni( 2 ) ) ); -} - -/* int columnWidth ( int column ) const */ -HB_FUNC( QT_QTABLEVIEW_COLUMNWIDTH ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->columnWidth( hb_parni( 2 ) ) ); -} - -/* Qt::PenStyle gridStyle () const */ -HB_FUNC( QT_QTABLEVIEW_GRIDSTYLE ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( Qt::PenStyle ) ( p )->gridStyle() ); -} - -/* QHeaderView * horizontalHeader () const */ -HB_FUNC( QT_QTABLEVIEW_HORIZONTALHEADER ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QHeaderView( ( p )->horizontalHeader(), false ) ); -} - -/* virtual QModelIndex indexAt ( const QPoint & pos ) const */ -HB_FUNC( QT_QTABLEVIEW_INDEXAT ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->indexAt( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* bool isColumnHidden ( int column ) const */ -HB_FUNC( QT_QTABLEVIEW_ISCOLUMNHIDDEN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retl( ( p )->isColumnHidden( hb_parni( 2 ) ) ); -} - -/* bool isCornerButtonEnabled () const */ -HB_FUNC( QT_QTABLEVIEW_ISCORNERBUTTONENABLED ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retl( ( p )->isCornerButtonEnabled() ); -} - -/* bool isRowHidden ( int row ) const */ -HB_FUNC( QT_QTABLEVIEW_ISROWHIDDEN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retl( ( p )->isRowHidden( hb_parni( 2 ) ) ); -} - -/* bool isSortingEnabled () const */ -HB_FUNC( QT_QTABLEVIEW_ISSORTINGENABLED ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retl( ( p )->isSortingEnabled() ); -} - -/* int rowAt ( int y ) const */ -HB_FUNC( QT_QTABLEVIEW_ROWAT ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->rowAt( hb_parni( 2 ) ) ); -} - -/* int rowHeight ( int row ) const */ -HB_FUNC( QT_QTABLEVIEW_ROWHEIGHT ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->rowHeight( hb_parni( 2 ) ) ); -} - -/* int rowSpan ( int row, int column ) const */ -HB_FUNC( QT_QTABLEVIEW_ROWSPAN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->rowSpan( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* int rowViewportPosition ( int row ) const */ -HB_FUNC( QT_QTABLEVIEW_ROWVIEWPORTPOSITION ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retni( ( p )->rowViewportPosition( hb_parni( 2 ) ) ); -} - -/* void setColumnHidden ( int column, bool hide ) */ -HB_FUNC( QT_QTABLEVIEW_SETCOLUMNHIDDEN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setColumnHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setColumnWidth ( int column, int width ) */ -HB_FUNC( QT_QTABLEVIEW_SETCOLUMNWIDTH ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setColumnWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setCornerButtonEnabled ( bool enable ) */ -HB_FUNC( QT_QTABLEVIEW_SETCORNERBUTTONENABLED ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setCornerButtonEnabled( hb_parl( 2 ) ); -} - -/* void setGridStyle ( Qt::PenStyle style ) */ -HB_FUNC( QT_QTABLEVIEW_SETGRIDSTYLE ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setGridStyle( ( Qt::PenStyle ) hb_parni( 2 ) ); -} - -/* void setHorizontalHeader ( QHeaderView * header ) */ -HB_FUNC( QT_QTABLEVIEW_SETHORIZONTALHEADER ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setHorizontalHeader( hbqt_par_QHeaderView( 2 ) ); -} - -/* void setRowHeight ( int row, int height ) */ -HB_FUNC( QT_QTABLEVIEW_SETROWHEIGHT ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setRowHeight( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setRowHidden ( int row, bool hide ) */ -HB_FUNC( QT_QTABLEVIEW_SETROWHIDDEN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setRowHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setSortingEnabled ( bool enable ) */ -HB_FUNC( QT_QTABLEVIEW_SETSORTINGENABLED ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setSortingEnabled( hb_parl( 2 ) ); -} - -/* void setSpan ( int row, int column, int rowSpanCount, int columnSpanCount ) */ -HB_FUNC( QT_QTABLEVIEW_SETSPAN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setSpan( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setVerticalHeader ( QHeaderView * header ) */ -HB_FUNC( QT_QTABLEVIEW_SETVERTICALHEADER ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setVerticalHeader( hbqt_par_QHeaderView( 2 ) ); -} - -/* void setWordWrap ( bool on ) */ -HB_FUNC( QT_QTABLEVIEW_SETWORDWRAP ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setWordWrap( hb_parl( 2 ) ); -} - -/* bool showGrid () const */ -HB_FUNC( QT_QTABLEVIEW_SHOWGRID ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retl( ( p )->showGrid() ); -} - -/* void sortByColumn ( int column, Qt::SortOrder order ) */ -HB_FUNC( QT_QTABLEVIEW_SORTBYCOLUMN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->sortByColumn( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* QHeaderView * verticalHeader () const */ -HB_FUNC( QT_QTABLEVIEW_VERTICALHEADER ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QHeaderView( ( p )->verticalHeader(), false ) ); -} - -/* bool wordWrap () const */ -HB_FUNC( QT_QTABLEVIEW_WORDWRAP ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - hb_retl( ( p )->wordWrap() ); -} - -/* void hideColumn ( int column ) */ -HB_FUNC( QT_QTABLEVIEW_HIDECOLUMN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->hideColumn( hb_parni( 2 ) ); -} - -/* void hideRow ( int row ) */ -HB_FUNC( QT_QTABLEVIEW_HIDEROW ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->hideRow( hb_parni( 2 ) ); -} - -/* void resizeColumnToContents ( int column ) */ -HB_FUNC( QT_QTABLEVIEW_RESIZECOLUMNTOCONTENTS ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->resizeColumnToContents( hb_parni( 2 ) ); -} - -/* void resizeColumnsToContents () */ -HB_FUNC( QT_QTABLEVIEW_RESIZECOLUMNSTOCONTENTS ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->resizeColumnsToContents(); -} - -/* void resizeRowToContents ( int row ) */ -HB_FUNC( QT_QTABLEVIEW_RESIZEROWTOCONTENTS ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->resizeRowToContents( hb_parni( 2 ) ); -} - -/* void resizeRowsToContents () */ -HB_FUNC( QT_QTABLEVIEW_RESIZEROWSTOCONTENTS ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->resizeRowsToContents(); -} - -/* void selectColumn ( int column ) */ -HB_FUNC( QT_QTABLEVIEW_SELECTCOLUMN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->selectColumn( hb_parni( 2 ) ); -} - -/* void selectRow ( int row ) */ -HB_FUNC( QT_QTABLEVIEW_SELECTROW ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->selectRow( hb_parni( 2 ) ); -} - -/* void setShowGrid ( bool show ) */ -HB_FUNC( QT_QTABLEVIEW_SETSHOWGRID ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->setShowGrid( hb_parl( 2 ) ); -} - -/* void showColumn ( int column ) */ -HB_FUNC( QT_QTABLEVIEW_SHOWCOLUMN ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->showColumn( hb_parni( 2 ) ); -} - -/* void showRow ( int row ) */ -HB_FUNC( QT_QTABLEVIEW_SHOWROW ) -{ - QTableView * p = hbqt_par_QTableView( 1 ); - if( p ) - ( p )->showRow( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp deleted file mode 100644 index a73fe73b73..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTableWidget.cpp +++ /dev/null @@ -1,506 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 49/49 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTableWidget ( QWidget * parent = 0 ) - * QTableWidget ( int rows, int columns, QWidget * parent = 0 ) - * ~QTableWidget () - */ - -typedef struct -{ - QPointer< QTableWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTableWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QTableWidget ) -{ - HBQT_GC_T_QTableWidget * p = ( HBQT_GC_T_QTableWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTableWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTableWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTableWidget * p = ( HBQT_GC_T_QTableWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTableWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTableWidget >( ( QTableWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTableWidget; - p->type = HBQT_TYPE_QTableWidget; - - return p; -} - -HB_FUNC( QT_QTABLEWIDGET ) -{ - QTableWidget * pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - pObj = new QTableWidget( hb_parni( 1 ), hb_parni( 2 ), hbqt_par_QWidget( 3 ) ) ; - else - pObj = new QTableWidget( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTableWidget( ( void * ) pObj, true ) ); -} - -/* QWidget * cellWidget ( int row, int column ) const */ -HB_FUNC( QT_QTABLEWIDGET_CELLWIDGET ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->cellWidget( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* void closePersistentEditor ( QTableWidgetItem * item ) */ -HB_FUNC( QT_QTABLEWIDGET_CLOSEPERSISTENTEDITOR ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->closePersistentEditor( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* int column ( const QTableWidgetItem * item ) const */ -HB_FUNC( QT_QTABLEWIDGET_COLUMN ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->column( hbqt_par_QTableWidgetItem( 2 ) ) ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QTABLEWIDGET_COLUMNCOUNT ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* int currentColumn () const */ -HB_FUNC( QT_QTABLEWIDGET_CURRENTCOLUMN ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->currentColumn() ); -} - -/* QTableWidgetItem * currentItem () const */ -HB_FUNC( QT_QTABLEWIDGET_CURRENTITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->currentItem(), false ) ); -} - -/* int currentRow () const */ -HB_FUNC( QT_QTABLEWIDGET_CURRENTROW ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->currentRow() ); -} - -/* void editItem ( QTableWidgetItem * item ) */ -HB_FUNC( QT_QTABLEWIDGET_EDITITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->editItem( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* QList findItems ( const QString & text, Qt::MatchFlags flags ) const */ -HB_FUNC( QT_QTABLEWIDGET_FINDITEMS ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->findItems( hb_parstr_utf8( 2, &pText, NULL ), ( Qt::MatchFlags ) hb_parni( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTableWidgetItem * horizontalHeaderItem ( int column ) const */ -HB_FUNC( QT_QTABLEWIDGET_HORIZONTALHEADERITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->horizontalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* QTableWidgetItem * item ( int row, int column ) const */ -HB_FUNC( QT_QTABLEWIDGET_ITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->item( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QTableWidgetItem * itemAt ( const QPoint & point ) const */ -HB_FUNC( QT_QTABLEWIDGET_ITEMAT ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->itemAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QTableWidgetItem * itemAt ( int ax, int ay ) const */ -HB_FUNC( QT_QTABLEWIDGET_ITEMAT_1 ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* const QTableWidgetItem * itemPrototype () const */ -HB_FUNC( QT_QTABLEWIDGET_ITEMPROTOTYPE ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( new QTableWidgetItem( *( ( p )->itemPrototype() ) ), true ) ); -} - -/* void openPersistentEditor ( QTableWidgetItem * item ) */ -HB_FUNC( QT_QTABLEWIDGET_OPENPERSISTENTEDITOR ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->openPersistentEditor( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* void removeCellWidget ( int row, int column ) */ -HB_FUNC( QT_QTABLEWIDGET_REMOVECELLWIDGET ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->removeCellWidget( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* int row ( const QTableWidgetItem * item ) const */ -HB_FUNC( QT_QTABLEWIDGET_ROW ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->row( hbqt_par_QTableWidgetItem( 2 ) ) ); -} - -/* int rowCount () const */ -HB_FUNC( QT_QTABLEWIDGET_ROWCOUNT ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->rowCount() ); -} - -/* QList selectedItems () */ -HB_FUNC( QT_QTABLEWIDGET_SELECTEDITEMS ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->selectedItems() ), true ) ); -} - -/* QList selectedRanges () const */ -HB_FUNC( QT_QTABLEWIDGET_SELECTEDRANGES ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->selectedRanges() ), true ) ); -} - -/* void setCellWidget ( int row, int column, QWidget * widget ) [*D=3*] */ -HB_FUNC( QT_QTABLEWIDGET_SETCELLWIDGET ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 4 ); - ( p )->setCellWidget( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); - } -} - -/* void setColumnCount ( int columns ) */ -HB_FUNC( QT_QTABLEWIDGET_SETCOLUMNCOUNT ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setColumnCount( hb_parni( 2 ) ); -} - -/* void setCurrentCell ( int row, int column ) */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTCELL ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setCurrentCell( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setCurrentCell ( int row, int column, QItemSelectionModel::SelectionFlags command ) */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTCELL_1 ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setCurrentCell( hb_parni( 2 ), hb_parni( 3 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 4 ) ); -} - -/* void setCurrentItem ( QTableWidgetItem * item ) [*D=1*] */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setCurrentItem( hbqt_par_QTableWidgetItem( 2 ) ); - } -} - -/* void setCurrentItem ( QTableWidgetItem * item, QItemSelectionModel::SelectionFlags command ) [*D=1*] */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTITEM_1 ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setCurrentItem( hbqt_par_QTableWidgetItem( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); - } -} - -/* void setHorizontalHeaderItem ( int column, QTableWidgetItem * item ) [*D=2*] */ -HB_FUNC( QT_QTABLEWIDGET_SETHORIZONTALHEADERITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 3 ); - ( p )->setHorizontalHeaderItem( hb_parni( 2 ), hbqt_par_QTableWidgetItem( 3 ) ); - } -} - -/* void setHorizontalHeaderLabels ( const QStringList & labels ) */ -HB_FUNC( QT_QTABLEWIDGET_SETHORIZONTALHEADERLABELS ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setHorizontalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* void setItem ( int row, int column, QTableWidgetItem * item ) [*D=3*] */ -HB_FUNC( QT_QTABLEWIDGET_SETITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 4 ); - ( p )->setItem( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QTableWidgetItem( 4 ) ); - } -} - -/* void setItemPrototype ( const QTableWidgetItem * item ) */ -HB_FUNC( QT_QTABLEWIDGET_SETITEMPROTOTYPE ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setItemPrototype( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* void setRangeSelected ( const QTableWidgetSelectionRange & range, bool select ) */ -HB_FUNC( QT_QTABLEWIDGET_SETRANGESELECTED ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setRangeSelected( *hbqt_par_QTableWidgetSelectionRange( 2 ), hb_parl( 3 ) ); -} - -/* void setRowCount ( int rows ) */ -HB_FUNC( QT_QTABLEWIDGET_SETROWCOUNT ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setRowCount( hb_parni( 2 ) ); -} - -/* void setVerticalHeaderItem ( int row, QTableWidgetItem * item ) [*D=2*] */ -HB_FUNC( QT_QTABLEWIDGET_SETVERTICALHEADERITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 3 ); - ( p )->setVerticalHeaderItem( hb_parni( 2 ), hbqt_par_QTableWidgetItem( 3 ) ); - } -} - -/* void setVerticalHeaderLabels ( const QStringList & labels ) */ -HB_FUNC( QT_QTABLEWIDGET_SETVERTICALHEADERLABELS ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->setVerticalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* void sortItems ( int column, Qt::SortOrder order = Qt::AscendingOrder ) */ -HB_FUNC( QT_QTABLEWIDGET_SORTITEMS ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->sortItems( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* QTableWidgetItem * takeHorizontalHeaderItem ( int column ) */ -HB_FUNC( QT_QTABLEWIDGET_TAKEHORIZONTALHEADERITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->takeHorizontalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* QTableWidgetItem * takeItem ( int row, int column ) */ -HB_FUNC( QT_QTABLEWIDGET_TAKEITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->takeItem( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QTableWidgetItem * takeVerticalHeaderItem ( int row ) */ -HB_FUNC( QT_QTABLEWIDGET_TAKEVERTICALHEADERITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->takeVerticalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* QTableWidgetItem * verticalHeaderItem ( int row ) const */ -HB_FUNC( QT_QTABLEWIDGET_VERTICALHEADERITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->verticalHeaderItem( hb_parni( 2 ) ), false ) ); -} - -/* int visualColumn ( int logicalColumn ) const */ -HB_FUNC( QT_QTABLEWIDGET_VISUALCOLUMN ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->visualColumn( hb_parni( 2 ) ) ); -} - -/* QRect visualItemRect ( const QTableWidgetItem * item ) const */ -HB_FUNC( QT_QTABLEWIDGET_VISUALITEMRECT ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->visualItemRect( hbqt_par_QTableWidgetItem( 2 ) ) ), true ) ); -} - -/* int visualRow ( int logicalRow ) const */ -HB_FUNC( QT_QTABLEWIDGET_VISUALROW ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - hb_retni( ( p )->visualRow( hb_parni( 2 ) ) ); -} - -/* void clear () */ -HB_FUNC( QT_QTABLEWIDGET_CLEAR ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->clear(); -} - -/* void clearContents () */ -HB_FUNC( QT_QTABLEWIDGET_CLEARCONTENTS ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->clearContents(); -} - -/* void insertColumn ( int column ) */ -HB_FUNC( QT_QTABLEWIDGET_INSERTCOLUMN ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->insertColumn( hb_parni( 2 ) ); -} - -/* void insertRow ( int row ) */ -HB_FUNC( QT_QTABLEWIDGET_INSERTROW ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->insertRow( hb_parni( 2 ) ); -} - -/* void removeColumn ( int column ) */ -HB_FUNC( QT_QTABLEWIDGET_REMOVECOLUMN ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->removeColumn( hb_parni( 2 ) ); -} - -/* void removeRow ( int row ) */ -HB_FUNC( QT_QTABLEWIDGET_REMOVEROW ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->removeRow( hb_parni( 2 ) ); -} - -/* void scrollToItem ( const QTableWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) */ -HB_FUNC( QT_QTABLEWIDGET_SCROLLTOITEM ) -{ - QTableWidget * p = hbqt_par_QTableWidget( 1 ); - if( p ) - ( p )->scrollToItem( hbqt_par_QTableWidgetItem( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QTableWidget::EnsureVisible ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp deleted file mode 100644 index 6f81df4258..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTableWidgetItem.cpp +++ /dev/null @@ -1,401 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ItemType { Type, UserType } - */ - -/* - * Constructed[ 35/35 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTableWidgetItem ( int type = Type ) - * QTableWidgetItem ( const QString & text, int type = Type ) - * QTableWidgetItem ( const QIcon & icon, const QString & text, int type = Type ) - * QTableWidgetItem ( const QTableWidgetItem & other ) - * virtual ~QTableWidgetItem () - */ - -typedef struct -{ - QTableWidgetItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTableWidgetItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QTableWidgetItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTableWidgetItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTableWidgetItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTableWidgetItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTableWidgetItem; - p->type = HBQT_TYPE_QTableWidgetItem; - - return p; -} - -HB_FUNC( QT_QTABLEWIDGETITEM ) -{ - QTableWidgetItem * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QTableWidgetItem( hbqt_par_QString( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QTableWidgetItem( hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QTableWidgetItem( *hbqt_par_QTableWidgetItem( 1 ) ) ; - } - else - { - pObj = new QTableWidgetItem( 0 ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( void * ) pObj, true ) ); -} - -/* QBrush background () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_BACKGROUND ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background() ), true ) ); -} - -/* Qt::CheckState checkState () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_CHECKSTATE ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retni( ( Qt::CheckState ) ( p )->checkState() ); -} - -/* virtual QTableWidgetItem * clone () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_CLONE ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidgetItem( ( p )->clone(), false ) ); -} - -/* int column () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_COLUMN ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->column() ); -} - -/* virtual QVariant data ( int role ) const */ -HB_FUNC( QT_QTABLEWIDGETITEM_DATA ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( hb_parni( 2 ) ) ), true ) ); -} - -/* Qt::ItemFlags flags () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_FLAGS ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags() ); -} - -/* QFont font () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_FONT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QBrush foreground () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_FOREGROUND ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foreground() ), true ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_ICON ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* bool isSelected () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_ISSELECTED ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isSelected() ); -} - -/* virtual void read ( QDataStream & in ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_READ ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* int row () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_ROW ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->row() ); -} - -/* void setBackground ( const QBrush & brush ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETBACKGROUND ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setCheckState ( Qt::CheckState state ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETCHECKSTATE ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* virtual void setData ( int role, const QVariant & value ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETDATA ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* void setFlags ( Qt::ItemFlags flags ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETFLAGS ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETFONT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setForeground ( const QBrush & brush ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETFOREGROUND ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETICON ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setSelected ( bool select ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETSELECTED ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setSelected( hb_parl( 2 ) ); -} - -/* void setSizeHint ( const QSize & size ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETSIZEHINT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setSizeHint( *hbqt_par_QSize( 2 ) ); -} - -/* void setStatusTip ( const QString & statusTip ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETSTATUSTIP ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETTEXT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextAlignment ( int alignment ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETTEXTALIGNMENT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->setTextAlignment( hb_parni( 2 ) ); -} - -/* void setToolTip ( const QString & toolTip ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETTOOLTIP ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWhatsThis ( const QString & whatsThis ) */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETWHATSTHIS ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setWhatsThis( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QSize sizeHint () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_SIZEHINT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* QString statusTip () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_STATUSTIP ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->statusTip().toUtf8().data() ); -} - -/* QTableWidget * tableWidget () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_TABLEWIDGET ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTableWidget( ( p )->tableWidget(), false ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_TEXT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* int textAlignment () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_TEXTALIGNMENT ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->textAlignment() ); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_TOOLTIP ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* int type () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_TYPE ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->type() ); -} - -/* QString whatsThis () const */ -HB_FUNC( QT_QTABLEWIDGETITEM_WHATSTHIS ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->whatsThis().toUtf8().data() ); -} - -/* virtual void write ( QDataStream & out ) const */ -HB_FUNC( QT_QTABLEWIDGETITEM_WRITE ) -{ - QTableWidgetItem * p = hbqt_par_QTableWidgetItem( 1 ); - if( p ) - ( p )->write( *hbqt_par_QDataStream( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp b/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp deleted file mode 100644 index fc59428602..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTableWidgetSelectionRange.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QTableWidgetSelectionRange () - * QTableWidgetSelectionRange ( int top, int left, int bottom, int right ) - * QTableWidgetSelectionRange ( const QTableWidgetSelectionRange & other ) - * ~QTableWidgetSelectionRange () - */ - -typedef struct -{ - QTableWidgetSelectionRange * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTableWidgetSelectionRange; - -HBQT_GC_FUNC( hbqt_gcRelease_QTableWidgetSelectionRange ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTableWidgetSelectionRange * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTableWidgetSelectionRange( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTableWidgetSelectionRange * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTableWidgetSelectionRange; - p->type = HBQT_TYPE_QTableWidgetSelectionRange; - - return p; -} - -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE ) -{ - QTableWidgetSelectionRange * pObj = NULL; - - pObj = new QTableWidgetSelectionRange() ; - - hb_retptrGC( hbqt_gcAllocate_QTableWidgetSelectionRange( ( void * ) pObj, true ) ); -} - -/* int bottomRow () const */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE_BOTTOMROW ) -{ - QTableWidgetSelectionRange * p = hbqt_par_QTableWidgetSelectionRange( 1 ); - if( p ) - hb_retni( ( p )->bottomRow() ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE_COLUMNCOUNT ) -{ - QTableWidgetSelectionRange * p = hbqt_par_QTableWidgetSelectionRange( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* int leftColumn () const */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE_LEFTCOLUMN ) -{ - QTableWidgetSelectionRange * p = hbqt_par_QTableWidgetSelectionRange( 1 ); - if( p ) - hb_retni( ( p )->leftColumn() ); -} - -/* int rightColumn () const */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE_RIGHTCOLUMN ) -{ - QTableWidgetSelectionRange * p = hbqt_par_QTableWidgetSelectionRange( 1 ); - if( p ) - hb_retni( ( p )->rightColumn() ); -} - -/* int rowCount () const */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE_ROWCOUNT ) -{ - QTableWidgetSelectionRange * p = hbqt_par_QTableWidgetSelectionRange( 1 ); - if( p ) - hb_retni( ( p )->rowCount() ); -} - -/* int topRow () const */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE_TOPROW ) -{ - QTableWidgetSelectionRange * p = hbqt_par_QTableWidgetSelectionRange( 1 ); - if( p ) - hb_retni( ( p )->topRow() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp deleted file mode 100644 index a11518eab3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextBlock.cpp +++ /dev/null @@ -1,311 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 27/27 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //iterator begin () const - * //iterator end () const - */ - -#include - -#include -#include -#include "hbqt_hbqsyntaxhighlighter.h" - -/* - * QTextBlock ( const QTextBlock & other ) - */ - -typedef struct -{ - QTextBlock * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextBlock; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextBlock ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextBlock * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextBlock( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextBlock * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextBlock; - p->type = HBQT_TYPE_QTextBlock; - - return p; -} - -HB_FUNC( QT_QTEXTBLOCK ) -{ - QTextBlock * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QTextBlock( *hbqt_par_QTextBlock( 1 ) ) ; - } - else - { - pObj = new QTextBlock() ; - } - - hb_retptrGC( hbqt_gcAllocate_QTextBlock( ( void * ) pObj, true ) ); -} - -/* QTextBlockFormat blockFormat () const */ -HB_FUNC( QT_QTEXTBLOCK_BLOCKFORMAT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlockFormat( new QTextBlockFormat( ( p )->blockFormat() ), true ) ); -} - -/* int blockFormatIndex () const */ -HB_FUNC( QT_QTEXTBLOCK_BLOCKFORMATINDEX ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->blockFormatIndex() ); -} - -/* int blockNumber () const */ -HB_FUNC( QT_QTEXTBLOCK_BLOCKNUMBER ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->blockNumber() ); -} - -/* QTextCharFormat charFormat () const */ -HB_FUNC( QT_QTEXTBLOCK_CHARFORMAT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->charFormat() ), true ) ); -} - -/* int charFormatIndex () const */ -HB_FUNC( QT_QTEXTBLOCK_CHARFORMATINDEX ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->charFormatIndex() ); -} - -/* void clearLayout () */ -HB_FUNC( QT_QTEXTBLOCK_CLEARLAYOUT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - ( p )->clearLayout(); -} - -/* bool contains ( int position ) const */ -HB_FUNC( QT_QTEXTBLOCK_CONTAINS ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retl( ( p )->contains( hb_parni( 2 ) ) ); -} - -/* virtual const QTextDocument * document () const */ -HB_FUNC( QT_QTEXTBLOCK_DOCUMENT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( void * ) ( p )->document(), false ) ); -} - -/* int firstLineNumber () const */ -HB_FUNC( QT_QTEXTBLOCK_FIRSTLINENUMBER ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->firstLineNumber() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTBLOCK_ISVALID ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* bool isVisible () const */ -HB_FUNC( QT_QTEXTBLOCK_ISVISIBLE ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retl( ( p )->isVisible() ); -} - -/* QTextLayout * layout () const */ -HB_FUNC( QT_QTEXTBLOCK_LAYOUT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLayout( ( p )->layout(), false ) ); -} - -/* int length () const */ -HB_FUNC( QT_QTEXTBLOCK_LENGTH ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* int lineCount () const */ -HB_FUNC( QT_QTEXTBLOCK_LINECOUNT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->lineCount() ); -} - -/* QTextBlock next () const */ -HB_FUNC( QT_QTEXTBLOCK_NEXT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->next() ), true ) ); -} - -/* int position () const */ -HB_FUNC( QT_QTEXTBLOCK_POSITION ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->position() ); -} - -/* QTextBlock previous () const */ -HB_FUNC( QT_QTEXTBLOCK_PREVIOUS ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->previous() ), true ) ); -} - -/* int revision () const */ -HB_FUNC( QT_QTEXTBLOCK_REVISION ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->revision() ); -} - -/* void setLineCount ( int count ) */ -HB_FUNC( QT_QTEXTBLOCK_SETLINECOUNT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - ( p )->setLineCount( hb_parni( 2 ) ); -} - -/* void setRevision ( int rev ) */ -HB_FUNC( QT_QTEXTBLOCK_SETREVISION ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - ( p )->setRevision( hb_parni( 2 ) ); -} - -/* void setUserData ( HBQTextBlockUserData * data ) */ -HB_FUNC( QT_QTEXTBLOCK_SETUSERDATA ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - ( p )->setUserData( hbqt_par_HBQTextBlockUserData( 2 ) ); -} - -/* void setUserState ( int state ) */ -HB_FUNC( QT_QTEXTBLOCK_SETUSERSTATE ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - ( p )->setUserState( hb_parni( 2 ) ); -} - -/* void setVisible ( bool visible ) */ -HB_FUNC( QT_QTEXTBLOCK_SETVISIBLE ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QTEXTBLOCK_TEXT ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* QTextList * textList () const */ -HB_FUNC( QT_QTEXTBLOCK_TEXTLIST ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextList( ( p )->textList(), false ) ); -} - -/* HBQTextBlockUserData * userData () const */ -HB_FUNC( QT_QTEXTBLOCK_USERDATA ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_HBQTextBlockUserData( ( p )->userData(), false ) ); -} - -/* int userState () const */ -HB_FUNC( QT_QTEXTBLOCK_USERSTATE ) -{ - QTextBlock * p = hbqt_par_QTextBlock( 1 ); - if( p ) - hb_retni( ( p )->userState() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp deleted file mode 100644 index 04f315353b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextBlockFormat.cpp +++ /dev/null @@ -1,254 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FormatType { InvalidFormat, BlockFormat, CharFormat, ListFormat, ..., UserFormat } - * enum ObjectTypes { NoObject, ImageObject, TableObject, TableCellObject, UserObject } - * enum PageBreakFlag { PageBreak_Auto, PageBreak_AlwaysBefore, PageBreak_AlwaysAfter } - * flags PageBreakFlags - * enum Property { ObjectIndex, CssFloat, LayoutDirection, OutlinePen, ..., UserProperty } - */ - -/* - * Constructed[ 19/21 [ 90.48% ] ] - * - * *** Unconvered Prototypes *** - * - * void setTabPositions ( const QList & tabs ) - * QList tabPositions () const - */ - -#include - -#include - - -/* - * QTextBlockFormat () - * - */ - -typedef struct -{ - QTextBlockFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextBlockFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextBlockFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextBlockFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextBlockFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextBlockFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextBlockFormat; - p->type = HBQT_TYPE_QTextBlockFormat; - - return p; -} - -HB_FUNC( QT_QTEXTBLOCKFORMAT ) -{ - QTextBlockFormat * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QTextBlockFormat( *hbqt_par_QTextBlockFormat( 1 ) ) ; - } - else - { - pObj = new QTextBlockFormat() ; - } - - hb_retptrGC( hbqt_gcAllocate_QTextBlockFormat( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_ALIGNMENT ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* qreal bottomMargin () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_BOTTOMMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retnd( ( p )->bottomMargin() ); -} - -/* int indent () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_INDENT ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retni( ( p )->indent() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_ISVALID ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* qreal leftMargin () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_LEFTMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retnd( ( p )->leftMargin() ); -} - -/* bool nonBreakableLines () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_NONBREAKABLELINES ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retl( ( p )->nonBreakableLines() ); -} - -/* PageBreakFlags pageBreakPolicy () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_PAGEBREAKPOLICY ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retni( ( QTextBlockFormat::PageBreakFlags ) ( p )->pageBreakPolicy() ); -} - -/* qreal rightMargin () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_RIGHTMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retnd( ( p )->rightMargin() ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETALIGNMENT ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setBottomMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETBOTTOMMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setBottomMargin( hb_parnd( 2 ) ); -} - -/* void setIndent ( int indentation ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETINDENT ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setIndent( hb_parni( 2 ) ); -} - -/* void setLeftMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETLEFTMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setLeftMargin( hb_parnd( 2 ) ); -} - -/* void setNonBreakableLines ( bool b ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETNONBREAKABLELINES ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setNonBreakableLines( hb_parl( 2 ) ); -} - -/* void setPageBreakPolicy ( PageBreakFlags policy ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETPAGEBREAKPOLICY ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setPageBreakPolicy( ( QTextBlockFormat::PageBreakFlags ) hb_parni( 2 ) ); -} - -/* void setRightMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETRIGHTMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setRightMargin( hb_parnd( 2 ) ); -} - -/* void setTextIndent ( qreal indent ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETTEXTINDENT ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setTextIndent( hb_parnd( 2 ) ); -} - -/* void setTopMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETTOPMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - ( p )->setTopMargin( hb_parnd( 2 ) ); -} - -/* qreal textIndent () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_TEXTINDENT ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retnd( ( p )->textIndent() ); -} - -/* qreal topMargin () const */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_TOPMARGIN ) -{ - QTextBlockFormat * p = hbqt_par_QTextBlockFormat( 1 ); - if( p ) - hb_retnd( ( p )->topMargin() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp deleted file mode 100644 index f1152aa605..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextBlockGroup.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - * - * *** Commented out protostypes *** - * - * //virtual void blockFormatChanged ( const QTextBlock & block ) - * //virtual void blockInserted ( const QTextBlock & block ) - * //QList blockList () const - * //virtual void blockRemoved ( const QTextBlock & block ) - */ - -#include - -#include - - -/* - * QTextBlockGroup ( QTextDocument * document ) - */ - -typedef struct -{ - QPointer< QTextBlockGroup > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextBlockGroup; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextBlockGroup ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QTextBlockGroup( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextBlockGroup * p = ( HBQT_GC_T_QTextBlockGroup * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextBlockGroup ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextBlockGroup >( ( QTextBlockGroup * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextBlockGroup; - p->type = HBQT_TYPE_QTextBlockGroup; - - return p; -} - -HB_FUNC( QT_QTEXTBLOCKGROUP ) -{ - //__HB_RETPTRGC__( new QTextBlockGroup( hbqt_par_QTextDocument( 1 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp b/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp deleted file mode 100644 index 13c012b7ad..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextBrowser.cpp +++ /dev/null @@ -1,247 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 20/20 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextBrowser ( QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QTextBrowser > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextBrowser; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextBrowser ) -{ - HBQT_GC_T_QTextBrowser * p = ( HBQT_GC_T_QTextBrowser * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTextBrowser * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextBrowser( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextBrowser * p = ( HBQT_GC_T_QTextBrowser * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextBrowser ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextBrowser >( ( QTextBrowser * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextBrowser; - p->type = HBQT_TYPE_QTextBrowser; - - return p; -} - -HB_FUNC( QT_QTEXTBROWSER ) -{ - QTextBrowser * pObj = NULL; - - pObj = new QTextBrowser( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextBrowser( ( void * ) pObj, true ) ); -} - -/* int backwardHistoryCount () const */ -HB_FUNC( QT_QTEXTBROWSER_BACKWARDHISTORYCOUNT ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retni( ( p )->backwardHistoryCount() ); -} - -/* void clearHistory () */ -HB_FUNC( QT_QTEXTBROWSER_CLEARHISTORY ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->clearHistory(); -} - -/* int forwardHistoryCount () const */ -HB_FUNC( QT_QTEXTBROWSER_FORWARDHISTORYCOUNT ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retni( ( p )->forwardHistoryCount() ); -} - -/* QString historyTitle ( int i ) const */ -HB_FUNC( QT_QTEXTBROWSER_HISTORYTITLE ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retstr_utf8( ( p )->historyTitle( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QUrl historyUrl ( int i ) const */ -HB_FUNC( QT_QTEXTBROWSER_HISTORYURL ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->historyUrl( hb_parni( 2 ) ) ), true ) ); -} - -/* bool isBackwardAvailable () const */ -HB_FUNC( QT_QTEXTBROWSER_ISBACKWARDAVAILABLE ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retl( ( p )->isBackwardAvailable() ); -} - -/* bool isForwardAvailable () const */ -HB_FUNC( QT_QTEXTBROWSER_ISFORWARDAVAILABLE ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retl( ( p )->isForwardAvailable() ); -} - -/* virtual QVariant loadResource ( int type, const QUrl & name ) */ -HB_FUNC( QT_QTEXTBROWSER_LOADRESOURCE ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->loadResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ), true ) ); -} - -/* bool openExternalLinks () const */ -HB_FUNC( QT_QTEXTBROWSER_OPENEXTERNALLINKS ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retl( ( p )->openExternalLinks() ); -} - -/* bool openLinks () const */ -HB_FUNC( QT_QTEXTBROWSER_OPENLINKS ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retl( ( p )->openLinks() ); -} - -/* QStringList searchPaths () const */ -HB_FUNC( QT_QTEXTBROWSER_SEARCHPATHS ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->searchPaths() ), true ) ); -} - -/* void setOpenExternalLinks ( bool open ) */ -HB_FUNC( QT_QTEXTBROWSER_SETOPENEXTERNALLINKS ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->setOpenExternalLinks( hb_parl( 2 ) ); -} - -/* void setOpenLinks ( bool open ) */ -HB_FUNC( QT_QTEXTBROWSER_SETOPENLINKS ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->setOpenLinks( hb_parl( 2 ) ); -} - -/* void setSearchPaths ( const QStringList & paths ) */ -HB_FUNC( QT_QTEXTBROWSER_SETSEARCHPATHS ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->setSearchPaths( *hbqt_par_QStringList( 2 ) ); -} - -/* QUrl source () const */ -HB_FUNC( QT_QTEXTBROWSER_SOURCE ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->source() ), true ) ); -} - -/* virtual void backward () */ -HB_FUNC( QT_QTEXTBROWSER_BACKWARD ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->backward(); -} - -/* virtual void forward () */ -HB_FUNC( QT_QTEXTBROWSER_FORWARD ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->forward(); -} - -/* virtual void home () */ -HB_FUNC( QT_QTEXTBROWSER_HOME ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->home(); -} - -/* virtual void reload () */ -HB_FUNC( QT_QTEXTBROWSER_RELOAD ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->reload(); -} - -/* virtual void setSource ( const QUrl & name ) */ -HB_FUNC( QT_QTEXTBROWSER_SETSOURCE ) -{ - QTextBrowser * p = hbqt_par_QTextBrowser( 1 ); - if( p ) - ( p )->setSource( *hbqt_par_QUrl( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp deleted file mode 100644 index d291f99ce0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextCharFormat.cpp +++ /dev/null @@ -1,476 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum UnderlineStyle { NoUnderline, SingleUnderline, DashUnderline, DotLine, ..., SpellCheckUnderline } - * enum VerticalAlignment { AlignNormal, AlignSuperScript, AlignSubScript, AlignMiddle, AlignBottom, AlignTop } - */ - -/* - * Constructed[ 47/47 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextCharFormat () - * - */ - -typedef struct -{ - QTextCharFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextCharFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextCharFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextCharFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextCharFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextCharFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextCharFormat; - p->type = HBQT_TYPE_QTextCharFormat; - - return p; -} - -HB_FUNC( QT_QTEXTCHARFORMAT ) -{ - QTextCharFormat * pObj = NULL; - - pObj = new QTextCharFormat() ; - - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( ( void * ) pObj, true ) ); -} - -/* QString anchorHref () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_ANCHORHREF ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retstr_utf8( ( p )->anchorHref().toUtf8().data() ); -} - -/* QStringList anchorNames () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_ANCHORNAMES ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->anchorNames() ), true ) ); -} - -/* QFont font () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QFont::Capitalization fontCapitalization () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTCAPITALIZATION ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retni( ( QFont::Capitalization ) ( p )->fontCapitalization() ); -} - -/* QString fontFamily () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTFAMILY ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fontFamily().toUtf8().data() ); -} - -/* bool fontFixedPitch () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTFIXEDPITCH ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->fontFixedPitch() ); -} - -/* bool fontItalic () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTITALIC ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->fontItalic() ); -} - -/* bool fontKerning () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTKERNING ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->fontKerning() ); -} - -/* qreal fontLetterSpacing () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTLETTERSPACING ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retnd( ( p )->fontLetterSpacing() ); -} - -/* bool fontOverline () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTOVERLINE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->fontOverline() ); -} - -/* qreal fontPointSize () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTPOINTSIZE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retnd( ( p )->fontPointSize() ); -} - -/* bool fontStrikeOut () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTSTRIKEOUT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->fontStrikeOut() ); -} - -/* QFont::StyleHint fontStyleHint () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTSTYLEHINT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retni( ( QFont::StyleHint ) ( p )->fontStyleHint() ); -} - -/* QFont::StyleStrategy fontStyleStrategy () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTSTYLESTRATEGY ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retni( ( QFont::StyleStrategy ) ( p )->fontStyleStrategy() ); -} - -/* bool fontUnderline () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTUNDERLINE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->fontUnderline() ); -} - -/* int fontWeight () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTWEIGHT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retni( ( p )->fontWeight() ); -} - -/* qreal fontWordSpacing () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTWORDSPACING ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retnd( ( p )->fontWordSpacing() ); -} - -/* bool isAnchor () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_ISANCHOR ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->isAnchor() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_ISVALID ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* void setAnchor ( bool anchor ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETANCHOR ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setAnchor( hb_parl( 2 ) ); -} - -/* void setAnchorHref ( const QString & value ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETANCHORHREF ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - { - void * pText; - ( p )->setAnchorHref( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setAnchorNames ( const QStringList & names ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETANCHORNAMES ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setAnchorNames( *hbqt_par_QStringList( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setFontCapitalization ( QFont::Capitalization capitalization ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTCAPITALIZATION ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontCapitalization( ( QFont::Capitalization ) hb_parni( 2 ) ); -} - -/* void setFontFamily ( const QString & family ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTFAMILY ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - { - void * pText; - ( p )->setFontFamily( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFontFixedPitch ( bool fixedPitch ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTFIXEDPITCH ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontFixedPitch( hb_parl( 2 ) ); -} - -/* void setFontItalic ( bool italic ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTITALIC ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontItalic( hb_parl( 2 ) ); -} - -/* void setFontKerning ( bool enable ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTKERNING ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontKerning( hb_parl( 2 ) ); -} - -/* void setFontLetterSpacing ( qreal spacing ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTLETTERSPACING ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontLetterSpacing( hb_parnd( 2 ) ); -} - -/* void setFontOverline ( bool overline ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTOVERLINE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontOverline( hb_parl( 2 ) ); -} - -/* void setFontPointSize ( qreal size ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTPOINTSIZE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontPointSize( hb_parnd( 2 ) ); -} - -/* void setFontStrikeOut ( bool strikeOut ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTSTRIKEOUT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontStrikeOut( hb_parl( 2 ) ); -} - -/* void setFontStyleHint ( QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTSTYLEHINT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontStyleHint( ( QFont::StyleHint ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QFont::StyleStrategy ) hb_parni( 3 ) : ( QFont::StyleStrategy ) QFont::PreferDefault ) ); -} - -/* void setFontStyleStrategy ( QFont::StyleStrategy strategy ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTSTYLESTRATEGY ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontStyleStrategy( ( QFont::StyleStrategy ) hb_parni( 2 ) ); -} - -/* void setFontUnderline ( bool underline ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTUNDERLINE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontUnderline( hb_parl( 2 ) ); -} - -/* void setFontWeight ( int weight ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTWEIGHT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontWeight( hb_parni( 2 ) ); -} - -/* void setFontWordSpacing ( qreal spacing ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTWORDSPACING ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setFontWordSpacing( hb_parnd( 2 ) ); -} - -/* void setTextOutline ( const QPen & pen ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETTEXTOUTLINE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setTextOutline( *hbqt_par_QPen( 2 ) ); -} - -/* void setToolTip ( const QString & text ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETTOOLTIP ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setUnderlineColor ( const QColor & color ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETUNDERLINECOLOR ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setUnderlineColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setUnderlineStyle ( UnderlineStyle style ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETUNDERLINESTYLE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setUnderlineStyle( ( QTextCharFormat::UnderlineStyle ) hb_parni( 2 ) ); -} - -/* void setVerticalAlignment ( VerticalAlignment alignment ) */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETVERTICALALIGNMENT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - ( p )->setVerticalAlignment( ( QTextCharFormat::VerticalAlignment ) hb_parni( 2 ) ); -} - -/* QPen textOutline () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_TEXTOUTLINE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->textOutline() ), true ) ); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_TOOLTIP ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* QColor underlineColor () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_UNDERLINECOLOR ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->underlineColor() ), true ) ); -} - -/* UnderlineStyle underlineStyle () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_UNDERLINESTYLE ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retni( ( QTextCharFormat::UnderlineStyle ) ( p )->underlineStyle() ); -} - -/* VerticalAlignment verticalAlignment () const */ -HB_FUNC( QT_QTEXTCHARFORMAT_VERTICALALIGNMENT ) -{ - QTextCharFormat * p = hbqt_par_QTextCharFormat( 1 ); - if( p ) - hb_retni( ( QTextCharFormat::VerticalAlignment ) ( p )->verticalAlignment() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp b/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp deleted file mode 100644 index a20f24ee22..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextCursor.cpp +++ /dev/null @@ -1,623 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum MoveMode { MoveAnchor, KeepAnchor } - * enum MoveOperation { NoMove, Start, StartOfLine, StartOfBlock, ..., PreviousRow } - * enum SelectionType { Document, BlockUnderCursor, LineUnderCursor, WordUnderCursor } - */ - -/* - * Constructed[ 58/58 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //QTextTable * currentTable () const - * //QTextTable * insertTable ( int rows, int columns, const QTextTableFormat & format ) - * //QTextTable * insertTable ( int rows, int columns ) - */ - -#include - -#include -#include -#include - - -/* - * QTextCursor () - * QTextCursor ( QTextDocument * document ) - * QTextCursor ( QTextFrame * frame ) - * QTextCursor ( const QTextBlock & block ) - * QTextCursor ( const QTextCursor & cursor ) - * ~QTextCursor () - */ - -typedef struct -{ - QTextCursor * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextCursor; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextCursor ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextCursor * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextCursor( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextCursor * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextCursor; - p->type = HBQT_TYPE_QTextCursor; - - return p; -} - -HB_FUNC( QT_QTEXTCURSOR ) -{ - QTextCursor * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QTextCursor( *hbqt_par_QTextCursor( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString object = hbqt_par_QString( 1 ); - - if( object == ( QString ) "QTextDocument" ) - { - pObj = new QTextCursor( hbqt_par_QTextDocument( 2 ) ) ; - } - if( object == ( QString ) "QTextBlock" ) - { - pObj = new QTextCursor( *hbqt_par_QTextBlock( 2 ) ) ; - } - if( object == ( QString ) "QTextFrame" ) - { - pObj = new QTextCursor( hbqt_par_QTextFrame( 2 ) ) ; - } - else - { - pObj = new QTextCursor() ; - } - } - else - { - pObj = new QTextCursor() ; - } - - hb_retptrGC( hbqt_gcAllocate_QTextCursor( ( void * ) pObj, true ) ); -} - -/* int anchor () const */ -HB_FUNC( QT_QTEXTCURSOR_ANCHOR ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retni( ( p )->anchor() ); -} - -/* bool atBlockEnd () const */ -HB_FUNC( QT_QTEXTCURSOR_ATBLOCKEND ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->atBlockEnd() ); -} - -/* bool atBlockStart () const */ -HB_FUNC( QT_QTEXTCURSOR_ATBLOCKSTART ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->atBlockStart() ); -} - -/* bool atEnd () const */ -HB_FUNC( QT_QTEXTCURSOR_ATEND ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->atEnd() ); -} - -/* bool atStart () const */ -HB_FUNC( QT_QTEXTCURSOR_ATSTART ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->atStart() ); -} - -/* void beginEditBlock () */ -HB_FUNC( QT_QTEXTCURSOR_BEGINEDITBLOCK ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->beginEditBlock(); -} - -/* QTextBlock block () const */ -HB_FUNC( QT_QTEXTCURSOR_BLOCK ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->block() ), true ) ); -} - -/* QTextCharFormat blockCharFormat () const */ -HB_FUNC( QT_QTEXTCURSOR_BLOCKCHARFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->blockCharFormat() ), true ) ); -} - -/* QTextBlockFormat blockFormat () const */ -HB_FUNC( QT_QTEXTCURSOR_BLOCKFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlockFormat( new QTextBlockFormat( ( p )->blockFormat() ), true ) ); -} - -/* int blockNumber () const */ -HB_FUNC( QT_QTEXTCURSOR_BLOCKNUMBER ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retni( ( p )->blockNumber() ); -} - -/* QTextCharFormat charFormat () const */ -HB_FUNC( QT_QTEXTCURSOR_CHARFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->charFormat() ), true ) ); -} - -/* void clearSelection () */ -HB_FUNC( QT_QTEXTCURSOR_CLEARSELECTION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->clearSelection(); -} - -/* int columnNumber () const */ -HB_FUNC( QT_QTEXTCURSOR_COLUMNNUMBER ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retni( ( p )->columnNumber() ); -} - -/* QTextList * createList ( const QTextListFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_CREATELIST ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextList( ( p )->createList( *hbqt_par_QTextListFormat( 2 ) ), false ) ); -} - -/* QTextList * createList ( QTextListFormat::Style style ) */ -HB_FUNC( QT_QTEXTCURSOR_CREATELIST_1 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextList( ( p )->createList( ( QTextListFormat::Style ) hb_parni( 2 ) ), false ) ); -} - -/* QTextFrame * currentFrame () const */ -HB_FUNC( QT_QTEXTCURSOR_CURRENTFRAME ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFrame( ( p )->currentFrame(), false ) ); -} - -/* QTextList * currentList () const */ -HB_FUNC( QT_QTEXTCURSOR_CURRENTLIST ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextList( ( p )->currentList(), false ) ); -} - -/* void deleteChar () */ -HB_FUNC( QT_QTEXTCURSOR_DELETECHAR ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->deleteChar(); -} - -/* void deletePreviousChar () */ -HB_FUNC( QT_QTEXTCURSOR_DELETEPREVIOUSCHAR ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->deletePreviousChar(); -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QTEXTCURSOR_DOCUMENT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* void endEditBlock () */ -HB_FUNC( QT_QTEXTCURSOR_ENDEDITBLOCK ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->endEditBlock(); -} - -/* bool hasComplexSelection () const */ -HB_FUNC( QT_QTEXTCURSOR_HASCOMPLEXSELECTION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->hasComplexSelection() ); -} - -/* bool hasSelection () const */ -HB_FUNC( QT_QTEXTCURSOR_HASSELECTION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->hasSelection() ); -} - -/* void insertBlock () */ -HB_FUNC( QT_QTEXTCURSOR_INSERTBLOCK ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->insertBlock(); -} - -/* void insertBlock ( const QTextBlockFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTBLOCK_1 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->insertBlock( *hbqt_par_QTextBlockFormat( 2 ) ); -} - -/* void insertBlock ( const QTextBlockFormat & format, const QTextCharFormat & charFormat ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTBLOCK_2 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->insertBlock( *hbqt_par_QTextBlockFormat( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* void insertFragment ( const QTextDocumentFragment & fragment ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTFRAGMENT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->insertFragment( *hbqt_par_QTextDocumentFragment( 2 ) ); -} - -/* QTextFrame * insertFrame ( const QTextFrameFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTFRAME ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFrame( ( p )->insertFrame( *hbqt_par_QTextFrameFormat( 2 ) ), false ) ); -} - -/* void insertHtml ( const QString & html ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTHTML ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - { - void * pText; - ( p )->insertHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void insertImage ( const QString & name ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - { - void * pText; - ( p )->insertImage( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void insertImage ( const QTextImageFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE_1 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->insertImage( *hbqt_par_QTextImageFormat( 2 ) ); -} - -/* void insertImage ( const QTextImageFormat & format, QTextFrameFormat::Position alignment ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE_2 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->insertImage( *hbqt_par_QTextImageFormat( 2 ), ( QTextFrameFormat::Position ) hb_parni( 3 ) ); -} - -/* void insertImage ( const QImage & image, const QString & name = QString() ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE_3 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - { - void * pText; - ( p )->insertImage( *hbqt_par_QImage( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QTextList * insertList ( const QTextListFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTLIST ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextList( ( p )->insertList( *hbqt_par_QTextListFormat( 2 ) ), false ) ); -} - -/* QTextList * insertList ( QTextListFormat::Style style ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTLIST_1 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextList( ( p )->insertList( ( QTextListFormat::Style ) hb_parni( 2 ) ), false ) ); -} - -/* void insertText ( const QString & text ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTTEXT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - { - void * pText; - ( p )->insertText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void insertText ( const QString & text, const QTextCharFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_INSERTTEXT_1 ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - { - void * pText; - ( p )->insertText( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QTextCharFormat( 3 ) ); - hb_strfree( pText ); - } -} - -/* bool isCopyOf ( const QTextCursor & other ) const */ -HB_FUNC( QT_QTEXTCURSOR_ISCOPYOF ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->isCopyOf( *hbqt_par_QTextCursor( 2 ) ) ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QTEXTCURSOR_ISNULL ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* void joinPreviousEditBlock () */ -HB_FUNC( QT_QTEXTCURSOR_JOINPREVIOUSEDITBLOCK ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->joinPreviousEditBlock(); -} - -/* void mergeBlockCharFormat ( const QTextCharFormat & modifier ) */ -HB_FUNC( QT_QTEXTCURSOR_MERGEBLOCKCHARFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->mergeBlockCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void mergeBlockFormat ( const QTextBlockFormat & modifier ) */ -HB_FUNC( QT_QTEXTCURSOR_MERGEBLOCKFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->mergeBlockFormat( *hbqt_par_QTextBlockFormat( 2 ) ); -} - -/* void mergeCharFormat ( const QTextCharFormat & modifier ) */ -HB_FUNC( QT_QTEXTCURSOR_MERGECHARFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->mergeCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* bool movePosition ( MoveOperation operation, MoveMode mode = MoveAnchor, int n = 1 ) */ -HB_FUNC( QT_QTEXTCURSOR_MOVEPOSITION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->movePosition( ( QTextCursor::MoveOperation ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ), hb_parnidef( 4, 1 ) ) ); -} - -/* int position () const */ -HB_FUNC( QT_QTEXTCURSOR_POSITION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retni( ( p )->position() ); -} - -/* void removeSelectedText () */ -HB_FUNC( QT_QTEXTCURSOR_REMOVESELECTEDTEXT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->removeSelectedText(); -} - -/* void select ( SelectionType selection ) */ -HB_FUNC( QT_QTEXTCURSOR_SELECT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->select( ( QTextCursor::SelectionType ) hb_parni( 2 ) ); -} - -/* void selectedTableCells ( int * firstRow, int * numRows, int * firstColumn, int * numColumns ) const */ -HB_FUNC( QT_QTEXTCURSOR_SELECTEDTABLECELLS ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - int iFirstRow = 0; - int iNumRows = 0; - int iFirstColumn = 0; - int iNumColumns = 0; - - if( p ) - ( p )->selectedTableCells( &iFirstRow, &iNumRows, &iFirstColumn, &iNumColumns ); - - hb_storni( iFirstRow, 2 ); - hb_storni( iNumRows, 3 ); - hb_storni( iFirstColumn, 4 ); - hb_storni( iNumColumns, 5 ); -} - -/* QString selectedText () const */ -HB_FUNC( QT_QTEXTCURSOR_SELECTEDTEXT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retstr_utf8( ( p )->selectedText().toUtf8().data() ); -} - -/* QTextDocumentFragment selection () const */ -HB_FUNC( QT_QTEXTCURSOR_SELECTION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocumentFragment( new QTextDocumentFragment( ( p )->selection() ), true ) ); -} - -/* int selectionEnd () const */ -HB_FUNC( QT_QTEXTCURSOR_SELECTIONEND ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retni( ( p )->selectionEnd() ); -} - -/* int selectionStart () const */ -HB_FUNC( QT_QTEXTCURSOR_SELECTIONSTART ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retni( ( p )->selectionStart() ); -} - -/* void setBlockCharFormat ( const QTextCharFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_SETBLOCKCHARFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->setBlockCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void setBlockFormat ( const QTextBlockFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_SETBLOCKFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->setBlockFormat( *hbqt_par_QTextBlockFormat( 2 ) ); -} - -/* void setCharFormat ( const QTextCharFormat & format ) */ -HB_FUNC( QT_QTEXTCURSOR_SETCHARFORMAT ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->setCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void setPosition ( int pos, MoveMode m = MoveAnchor ) */ -HB_FUNC( QT_QTEXTCURSOR_SETPOSITION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->setPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ) ); -} - -/* void setVisualNavigation ( bool b ) */ -HB_FUNC( QT_QTEXTCURSOR_SETVISUALNAVIGATION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - ( p )->setVisualNavigation( hb_parl( 2 ) ); -} - -/* bool visualNavigation () const */ -HB_FUNC( QT_QTEXTCURSOR_VISUALNAVIGATION ) -{ - QTextCursor * p = hbqt_par_QTextCursor( 1 ); - if( p ) - hb_retl( ( p )->visualNavigation() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp b/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp deleted file mode 100644 index 24c548ec2e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextDocument.cpp +++ /dev/null @@ -1,661 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FindFlag { FindBackward, FindCaseSensitively, FindWholeWords } - * flags FindFlags - * enum MetaInformation { DocumentTitle, DocumentUrl } - * enum ResourceType { HtmlResource, ImageResource, StyleSheetResource, UserResource } - */ - -/* - * Constructed[ 67/68 [ 98.53% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector allFormats () const - */ - -#include - -#include -#include -#include - - -/* - * QTextDocument ( QObject * parent = 0 ) - * QTextDocument ( const QString & text, QObject * parent = 0 ) - * ~QTextDocument () - */ - -typedef struct -{ - QPointer< QTextDocument > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextDocument; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextDocument ) -{ - HBQT_GC_T_QTextDocument * p = ( HBQT_GC_T_QTextDocument * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTextDocument * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextDocument( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextDocument * p = ( HBQT_GC_T_QTextDocument * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextDocument ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextDocument >( ( QTextDocument * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextDocument; - p->type = HBQT_TYPE_QTextDocument; - - return p; -} - -HB_FUNC( QT_QTEXTDOCUMENT ) -{ - QTextDocument * pObj = NULL; - - pObj = new QTextDocument( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( void * ) pObj, true ) ); -} - -/* void addResource ( int type, const QUrl & name, const QVariant & resource ) */ -HB_FUNC( QT_QTEXTDOCUMENT_ADDRESOURCE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->addResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ), *hbqt_par_QVariant( 4 ) ); -} - -/* void adjustSize () */ -HB_FUNC( QT_QTEXTDOCUMENT_ADJUSTSIZE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->adjustSize(); -} - -/* QTextBlock begin () const */ -HB_FUNC( QT_QTEXTDOCUMENT_BEGIN ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->begin() ), true ) ); -} - -/* int blockCount () const */ -HB_FUNC( QT_QTEXTDOCUMENT_BLOCKCOUNT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retni( ( p )->blockCount() ); -} - -/* QChar characterAt ( int pos ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_CHARACTERAT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QChar( new QChar( ( p )->characterAt( hb_parni( 2 ) ) ), true ) ); -} - -/* int characterCount () const */ -HB_FUNC( QT_QTEXTDOCUMENT_CHARACTERCOUNT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retni( ( p )->characterCount() ); -} - -/* virtual void clear () */ -HB_FUNC( QT_QTEXTDOCUMENT_CLEAR ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->clear(); -} - -/* QTextDocument * clone ( QObject * parent = 0 ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_CLONE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->clone( hbqt_par_QObject( 2 ) ), false ) ); -} - -/* QFont defaultFont () const */ -HB_FUNC( QT_QTEXTDOCUMENT_DEFAULTFONT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->defaultFont() ), true ) ); -} - -/* QString defaultStyleSheet () const */ -HB_FUNC( QT_QTEXTDOCUMENT_DEFAULTSTYLESHEET ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retstr_utf8( ( p )->defaultStyleSheet().toUtf8().data() ); -} - -/* QTextOption defaultTextOption () const */ -HB_FUNC( QT_QTEXTDOCUMENT_DEFAULTTEXTOPTION ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextOption( new QTextOption( ( p )->defaultTextOption() ), true ) ); -} - -/* QAbstractTextDocumentLayout * documentLayout () const */ -HB_FUNC( QT_QTEXTDOCUMENT_DOCUMENTLAYOUT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractTextDocumentLayout( ( p )->documentLayout(), false ) ); -} - -/* qreal documentMargin () const */ -HB_FUNC( QT_QTEXTDOCUMENT_DOCUMENTMARGIN ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retnd( ( p )->documentMargin() ); -} - -/* void drawContents ( QPainter * p, const QRectF & rect = QRectF() ) */ -HB_FUNC( QT_QTEXTDOCUMENT_DRAWCONTENTS ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->drawContents( hbqt_par_QPainter( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QRectF( 3 ) : QRectF() ) ); -} - -/* QTextBlock end () const */ -HB_FUNC( QT_QTEXTDOCUMENT_END ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->end() ), true ) ); -} - -/* QTextCursor find ( const QString & subString, const QTextCursor & cursor, FindFlags options = 0 ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->find( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QTextCursor( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTextCursor find ( const QRegExp & expr, const QTextCursor & cursor, FindFlags options = 0 ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND_1 ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->find( *hbqt_par_QRegExp( 2 ), *hbqt_par_QTextCursor( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ), true ) ); -} - -/* QTextCursor find ( const QString & subString, int position = 0, FindFlags options = 0 ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND_2 ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->find( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTextCursor find ( const QRegExp & expr, int position = 0, FindFlags options = 0 ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND_3 ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->find( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ), true ) ); -} - -/* QTextBlock findBlock ( int pos ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FINDBLOCK ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->findBlock( hb_parni( 2 ) ) ), true ) ); -} - -/* QTextBlock findBlockByLineNumber ( int lineNumber ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FINDBLOCKBYLINENUMBER ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->findBlockByLineNumber( hb_parni( 2 ) ) ), true ) ); -} - -/* QTextBlock findBlockByNumber ( int blockNumber ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_FINDBLOCKBYNUMBER ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->findBlockByNumber( hb_parni( 2 ) ) ), true ) ); -} - -/* QTextBlock firstBlock () const */ -HB_FUNC( QT_QTEXTDOCUMENT_FIRSTBLOCK ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->firstBlock() ), true ) ); -} - -/* qreal idealWidth () const */ -HB_FUNC( QT_QTEXTDOCUMENT_IDEALWIDTH ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retnd( ( p )->idealWidth() ); -} - -/* qreal indentWidth () const */ -HB_FUNC( QT_QTEXTDOCUMENT_INDENTWIDTH ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retnd( ( p )->indentWidth() ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QTEXTDOCUMENT_ISEMPTY ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* bool isModified () const */ -HB_FUNC( QT_QTEXTDOCUMENT_ISMODIFIED ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retl( ( p )->isModified() ); -} - -/* bool isRedoAvailable () const */ -HB_FUNC( QT_QTEXTDOCUMENT_ISREDOAVAILABLE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retl( ( p )->isRedoAvailable() ); -} - -/* bool isUndoAvailable () const */ -HB_FUNC( QT_QTEXTDOCUMENT_ISUNDOAVAILABLE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retl( ( p )->isUndoAvailable() ); -} - -/* bool isUndoRedoEnabled () const */ -HB_FUNC( QT_QTEXTDOCUMENT_ISUNDOREDOENABLED ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retl( ( p )->isUndoRedoEnabled() ); -} - -/* QTextBlock lastBlock () const */ -HB_FUNC( QT_QTEXTDOCUMENT_LASTBLOCK ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->lastBlock() ), true ) ); -} - -/* int lineCount () const */ -HB_FUNC( QT_QTEXTDOCUMENT_LINECOUNT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retni( ( p )->lineCount() ); -} - -/* void markContentsDirty ( int position, int length ) */ -HB_FUNC( QT_QTEXTDOCUMENT_MARKCONTENTSDIRTY ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->markContentsDirty( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* int maximumBlockCount () const */ -HB_FUNC( QT_QTEXTDOCUMENT_MAXIMUMBLOCKCOUNT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retni( ( p )->maximumBlockCount() ); -} - -/* QString metaInformation ( MetaInformation info ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_METAINFORMATION ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retstr_utf8( ( p )->metaInformation( ( QTextDocument::MetaInformation ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QTextObject * object ( int objectIndex ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_OBJECT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextObject( ( p )->object( hb_parni( 2 ) ), false ) ); -} - -/* QTextObject * objectForFormat ( const QTextFormat & f ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_OBJECTFORFORMAT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextObject( ( p )->objectForFormat( *hbqt_par_QTextFormat( 2 ) ), false ) ); -} - -/* int pageCount () const */ -HB_FUNC( QT_QTEXTDOCUMENT_PAGECOUNT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retni( ( p )->pageCount() ); -} - -/* QSizeF pageSize () const */ -HB_FUNC( QT_QTEXTDOCUMENT_PAGESIZE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->pageSize() ), true ) ); -} - -/* void print ( QPrinter * printer ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_PRINT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* void redo ( QTextCursor * cursor ) */ -HB_FUNC( QT_QTEXTDOCUMENT_REDO ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->redo( hbqt_par_QTextCursor( 2 ) ); -} - -/* QVariant resource ( int type, const QUrl & name ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_RESOURCE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->resource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ), true ) ); -} - -/* int revision () const */ -HB_FUNC( QT_QTEXTDOCUMENT_REVISION ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retni( ( p )->revision() ); -} - -/* QTextFrame * rootFrame () const */ -HB_FUNC( QT_QTEXTDOCUMENT_ROOTFRAME ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFrame( ( p )->rootFrame(), false ) ); -} - -/* void setDefaultFont ( const QFont & font ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDEFAULTFONT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setDefaultFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setDefaultStyleSheet ( const QString & sheet ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDEFAULTSTYLESHEET ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - { - void * pText; - ( p )->setDefaultStyleSheet( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setDefaultTextOption ( const QTextOption & option ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDEFAULTTEXTOPTION ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setDefaultTextOption( *hbqt_par_QTextOption( 2 ) ); -} - -/* void setDocumentLayout ( QAbstractTextDocumentLayout * layout ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDOCUMENTLAYOUT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setDocumentLayout( hbqt_par_QAbstractTextDocumentLayout( 2 ) ); -} - -/* void setDocumentMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDOCUMENTMARGIN ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setDocumentMargin( hb_parnd( 2 ) ); -} - -/* void setHtml ( const QString & html ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETHTML ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - { - void * pText; - ( p )->setHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setIndentWidth ( qreal width ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETINDENTWIDTH ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setIndentWidth( hb_parnd( 2 ) ); -} - -/* void setMaximumBlockCount ( int maximum ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETMAXIMUMBLOCKCOUNT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setMaximumBlockCount( hb_parni( 2 ) ); -} - -/* void setMetaInformation ( MetaInformation info, const QString & string ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETMETAINFORMATION ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - { - void * pText; - ( p )->setMetaInformation( ( QTextDocument::MetaInformation ) hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPageSize ( const QSizeF & size ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETPAGESIZE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setPageSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* void setPlainText ( const QString & text ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETPLAINTEXT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - { - void * pText; - ( p )->setPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextWidth ( qreal width ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETTEXTWIDTH ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setTextWidth( hb_parnd( 2 ) ); -} - -/* void setUndoRedoEnabled ( bool enable ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETUNDOREDOENABLED ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setUndoRedoEnabled( hb_parl( 2 ) ); -} - -/* void setUseDesignMetrics ( bool b ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETUSEDESIGNMETRICS ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setUseDesignMetrics( hb_parl( 2 ) ); -} - -/* QSizeF size () const */ -HB_FUNC( QT_QTEXTDOCUMENT_SIZE ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->size() ), true ) ); -} - -/* qreal textWidth () const */ -HB_FUNC( QT_QTEXTDOCUMENT_TEXTWIDTH ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retnd( ( p )->textWidth() ); -} - -/* QString toHtml ( const QByteArray & encoding = QByteArray() ) const */ -HB_FUNC( QT_QTEXTDOCUMENT_TOHTML ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toHtml( ( HB_ISOBJECT( 2 ) ? *hbqt_par_QByteArray( 2 ) : QByteArray() ) ).toUtf8().data() ); -} - -/* QString toPlainText () const */ -HB_FUNC( QT_QTEXTDOCUMENT_TOPLAINTEXT ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toPlainText().toUtf8().data() ); -} - -/* void undo ( QTextCursor * cursor ) */ -HB_FUNC( QT_QTEXTDOCUMENT_UNDO ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->undo( hbqt_par_QTextCursor( 2 ) ); -} - -/* bool useDesignMetrics () const */ -HB_FUNC( QT_QTEXTDOCUMENT_USEDESIGNMETRICS ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - hb_retl( ( p )->useDesignMetrics() ); -} - -/* void redo () */ -HB_FUNC( QT_QTEXTDOCUMENT_REDO_1 ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->redo(); -} - -/* void setModified ( bool m = true ) */ -HB_FUNC( QT_QTEXTDOCUMENT_SETMODIFIED ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->setModified( hb_parl( 2 ) ); -} - -/* void undo () */ -HB_FUNC( QT_QTEXTDOCUMENT_UNDO_1 ) -{ - QTextDocument * p = hbqt_par_QTextDocument( 1 ); - if( p ) - ( p )->undo(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp b/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp deleted file mode 100644 index 73878a7a9e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextDocumentFragment.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextDocumentFragment () - * QTextDocumentFragment ( const QTextDocument * document ) - * QTextDocumentFragment ( const QTextCursor & cursor ) - * QTextDocumentFragment ( const QTextDocumentFragment & other ) - * ~QTextDocumentFragment () - */ - -typedef struct -{ - QTextDocumentFragment * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextDocumentFragment; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextDocumentFragment ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextDocumentFragment * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextDocumentFragment( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextDocumentFragment * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextDocumentFragment; - p->type = HBQT_TYPE_QTextDocumentFragment; - - return p; -} - -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT ) -{ - QTextDocumentFragment * pObj = NULL; - - pObj = new QTextDocumentFragment() ; - - hb_retptrGC( hbqt_gcAllocate_QTextDocumentFragment( ( void * ) pObj, true ) ); -} - -/* bool isEmpty () const */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_ISEMPTY ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* QString toHtml ( const QByteArray & encoding ) const */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_TOHTML ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toHtml( *hbqt_par_QByteArray( 2 ) ).toUtf8().data() ); -} - -/* QString toHtml () const */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_TOHTML_1 ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toHtml().toUtf8().data() ); -} - -/* QString toPlainText () const */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_TOPLAINTEXT ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toPlainText().toUtf8().data() ); -} - -/* QTextDocumentFragment fromHtml ( const QString & text ) */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_FROMHTML ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTextDocumentFragment( new QTextDocumentFragment( ( p )->fromHtml( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTextDocumentFragment fromHtml ( const QString & text, const QTextDocument * resourceProvider ) */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_FROMHTML_1 ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTextDocumentFragment( new QTextDocumentFragment( ( p )->fromHtml( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QTextDocument( 3 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTextDocumentFragment fromPlainText ( const QString & plainText ) */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_FROMPLAINTEXT ) -{ - QTextDocumentFragment * p = hbqt_par_QTextDocumentFragment( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QTextDocumentFragment( new QTextDocumentFragment( ( p )->fromPlainText( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp b/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp deleted file mode 100644 index ced03e570e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextDocumentWriter.cpp +++ /dev/null @@ -1,169 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextDocumentWriter () - * QTextDocumentWriter ( QIODevice * device, const QByteArray & format ) - * QTextDocumentWriter ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QTextDocumentWriter () - */ - -typedef struct -{ - QTextDocumentWriter * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextDocumentWriter; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextDocumentWriter ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextDocumentWriter * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextDocumentWriter( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextDocumentWriter * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextDocumentWriter; - p->type = HBQT_TYPE_QTextDocumentWriter; - - return p; -} - -HB_FUNC( QT_QTEXTDOCUMENTWRITER ) -{ - QTextDocumentWriter * pObj = NULL; - - pObj = new QTextDocumentWriter() ; - - hb_retptrGC( hbqt_gcAllocate_QTextDocumentWriter( ( void * ) pObj, true ) ); -} - -/* QTextCodec * codec () const */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_CODEC ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCodec( ( p )->codec(), false ) ); -} - -/* QIODevice * device () const */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_DEVICE ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->device(), false ) ); -} - -/* QString fileName () const */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_FILENAME ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fileName().toUtf8().data() ); -} - -/* QByteArray format () const */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_FORMAT ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->format() ), true ) ); -} - -/* void setCodec ( QTextCodec * codec ) */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETCODEC ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - ( p )->setCodec( hbqt_par_QTextCodec( 2 ) ); -} - -/* void setDevice ( QIODevice * device ) */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETDEVICE ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - ( p )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* void setFileName ( const QString & fileName ) */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETFILENAME ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - { - void * pText; - ( p )->setFileName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFormat ( const QByteArray & format ) */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETFORMAT ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - ( p )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* bool write ( const QTextDocument * document ) */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_WRITE ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - hb_retl( ( p )->write( hbqt_par_QTextDocument( 2 ) ) ); -} - -/* bool write ( const QTextDocumentFragment & fragment ) */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_WRITE_1 ) -{ - QTextDocumentWriter * p = hbqt_par_QTextDocumentWriter( 1 ); - if( p ) - hb_retl( ( p )->write( *hbqt_par_QTextDocumentFragment( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp deleted file mode 100644 index ba699f1ce3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextEdit.cpp +++ /dev/null @@ -1,792 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags AutoFormatting - * enum AutoFormattingFlag { AutoNone, AutoBulletList, AutoAll } - * enum LineWrapMode { NoWrap, WidgetWidth, FixedPixelWidth, FixedColumnWidth } - */ - -/* - * Constructed[ 81/82 [ 98.78% ] ] - * - * *** Unconvered Prototypes *** - * - * void setExtraSelections ( const QList & selections ) - * - * *** Commented out protostypes *** - * - * // QList extraSelections () const - */ - -#include - -#include - - -/* QTextEdit ( QWidget * parent = 0 ) - * QTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~QTextEdit () - */ - -typedef struct -{ - QPointer< QTextEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextEdit ) -{ - HBQT_GC_T_QTextEdit * p = ( HBQT_GC_T_QTextEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTextEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextEdit * p = ( HBQT_GC_T_QTextEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextEdit >( ( QTextEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextEdit; - p->type = HBQT_TYPE_QTextEdit; - - return p; -} - -HB_FUNC( QT_QTEXTEDIT ) -{ - QTextEdit * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - pObj = new QTextEdit( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = new QTextEdit( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextEdit( ( void * ) pObj, true ) ); -} - -/* bool acceptRichText () const */ -HB_FUNC( QT_QTEXTEDIT_ACCEPTRICHTEXT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->acceptRichText() ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QTEXTEDIT_ALIGNMENT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* QString anchorAt ( const QPoint & pos ) const */ -HB_FUNC( QT_QTEXTEDIT_ANCHORAT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->anchorAt( *hbqt_par_QPoint( 2 ) ).toUtf8().data() ); -} - -/* AutoFormatting autoFormatting () const */ -HB_FUNC( QT_QTEXTEDIT_AUTOFORMATTING ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( QTextEdit::AutoFormatting ) ( p )->autoFormatting() ); -} - -/* bool canPaste () const */ -HB_FUNC( QT_QTEXTEDIT_CANPASTE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->canPaste() ); -} - -/* QMenu * createStandardContextMenu () */ -HB_FUNC( QT_QTEXTEDIT_CREATESTANDARDCONTEXTMENU ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu(), false ) ); -} - -/* QMenu * createStandardContextMenu ( const QPoint & position ) */ -HB_FUNC( QT_QTEXTEDIT_CREATESTANDARDCONTEXTMENU_1 ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QTextCharFormat currentCharFormat () const */ -HB_FUNC( QT_QTEXTEDIT_CURRENTCHARFORMAT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->currentCharFormat() ), true ) ); -} - -/* QFont currentFont () const */ -HB_FUNC( QT_QTEXTEDIT_CURRENTFONT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->currentFont() ), true ) ); -} - -/* QTextCursor cursorForPosition ( const QPoint & pos ) const */ -HB_FUNC( QT_QTEXTEDIT_CURSORFORPOSITION ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->cursorForPosition( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QRect cursorRect ( const QTextCursor & cursor ) const */ -HB_FUNC( QT_QTEXTEDIT_CURSORRECT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->cursorRect( *hbqt_par_QTextCursor( 2 ) ) ), true ) ); -} - -/* QRect cursorRect () const */ -HB_FUNC( QT_QTEXTEDIT_CURSORRECT_1 ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->cursorRect() ), true ) ); -} - -/* int cursorWidth () const */ -HB_FUNC( QT_QTEXTEDIT_CURSORWIDTH ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( p )->cursorWidth() ); -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QTEXTEDIT_DOCUMENT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* QString documentTitle () const */ -HB_FUNC( QT_QTEXTEDIT_DOCUMENTTITLE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->documentTitle().toUtf8().data() ); -} - -/* void ensureCursorVisible () */ -HB_FUNC( QT_QTEXTEDIT_ENSURECURSORVISIBLE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->ensureCursorVisible(); -} - -/* bool find ( const QString & exp, QTextDocument::FindFlags options = 0 ) */ -HB_FUNC( QT_QTEXTEDIT_FIND ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->find( hb_parstr_utf8( 2, &pText, NULL ), ( QTextDocument::FindFlags ) hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* QString fontFamily () const */ -HB_FUNC( QT_QTEXTEDIT_FONTFAMILY ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fontFamily().toUtf8().data() ); -} - -/* bool fontItalic () const */ -HB_FUNC( QT_QTEXTEDIT_FONTITALIC ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->fontItalic() ); -} - -/* qreal fontPointSize () const */ -HB_FUNC( QT_QTEXTEDIT_FONTPOINTSIZE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retnd( ( p )->fontPointSize() ); -} - -/* bool fontUnderline () const */ -HB_FUNC( QT_QTEXTEDIT_FONTUNDERLINE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->fontUnderline() ); -} - -/* int fontWeight () const */ -HB_FUNC( QT_QTEXTEDIT_FONTWEIGHT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( p )->fontWeight() ); -} - -/* bool isReadOnly () const */ -HB_FUNC( QT_QTEXTEDIT_ISREADONLY ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->isReadOnly() ); -} - -/* bool isUndoRedoEnabled () const */ -HB_FUNC( QT_QTEXTEDIT_ISUNDOREDOENABLED ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->isUndoRedoEnabled() ); -} - -/* int lineWrapColumnOrWidth () const */ -HB_FUNC( QT_QTEXTEDIT_LINEWRAPCOLUMNORWIDTH ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( p )->lineWrapColumnOrWidth() ); -} - -/* LineWrapMode lineWrapMode () const */ -HB_FUNC( QT_QTEXTEDIT_LINEWRAPMODE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( QTextEdit::LineWrapMode ) ( p )->lineWrapMode() ); -} - -/* virtual QVariant loadResource ( int type, const QUrl & name ) */ -HB_FUNC( QT_QTEXTEDIT_LOADRESOURCE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->loadResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ), true ) ); -} - -/* void mergeCurrentCharFormat ( const QTextCharFormat & modifier ) */ -HB_FUNC( QT_QTEXTEDIT_MERGECURRENTCHARFORMAT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->mergeCurrentCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void moveCursor ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) */ -HB_FUNC( QT_QTEXTEDIT_MOVECURSOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->moveCursor( ( QTextCursor::MoveOperation ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ) ); -} - -/* bool overwriteMode () const */ -HB_FUNC( QT_QTEXTEDIT_OVERWRITEMODE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->overwriteMode() ); -} - -/* void print ( QPrinter * printer ) const */ -HB_FUNC( QT_QTEXTEDIT_PRINT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* void setAcceptRichText ( bool accept ) */ -HB_FUNC( QT_QTEXTEDIT_SETACCEPTRICHTEXT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setAcceptRichText( hb_parl( 2 ) ); -} - -/* void setAutoFormatting ( AutoFormatting features ) */ -HB_FUNC( QT_QTEXTEDIT_SETAUTOFORMATTING ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setAutoFormatting( ( QTextEdit::AutoFormatting ) hb_parni( 2 ) ); -} - -/* void setCurrentCharFormat ( const QTextCharFormat & format ) */ -HB_FUNC( QT_QTEXTEDIT_SETCURRENTCHARFORMAT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setCurrentCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* void setCursorWidth ( int width ) */ -HB_FUNC( QT_QTEXTEDIT_SETCURSORWIDTH ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setCursorWidth( hb_parni( 2 ) ); -} - -/* void setDocument ( QTextDocument * document ) */ -HB_FUNC( QT_QTEXTEDIT_SETDOCUMENT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setDocument( hbqt_par_QTextDocument( 2 ) ); -} - -/* void setDocumentTitle ( const QString & title ) */ -HB_FUNC( QT_QTEXTEDIT_SETDOCUMENTTITLE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setDocumentTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setLineWrapColumnOrWidth ( int w ) */ -HB_FUNC( QT_QTEXTEDIT_SETLINEWRAPCOLUMNORWIDTH ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setLineWrapColumnOrWidth( hb_parni( 2 ) ); -} - -/* void setLineWrapMode ( LineWrapMode mode ) */ -HB_FUNC( QT_QTEXTEDIT_SETLINEWRAPMODE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setLineWrapMode( ( QTextEdit::LineWrapMode ) hb_parni( 2 ) ); -} - -/* void setOverwriteMode ( bool overwrite ) */ -HB_FUNC( QT_QTEXTEDIT_SETOVERWRITEMODE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setOverwriteMode( hb_parl( 2 ) ); -} - -/* void setReadOnly ( bool ro ) */ -HB_FUNC( QT_QTEXTEDIT_SETREADONLY ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setReadOnly( hb_parl( 2 ) ); -} - -/* void setTabChangesFocus ( bool b ) */ -HB_FUNC( QT_QTEXTEDIT_SETTABCHANGESFOCUS ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setTabChangesFocus( hb_parl( 2 ) ); -} - -/* void setTabStopWidth ( int width ) */ -HB_FUNC( QT_QTEXTEDIT_SETTABSTOPWIDTH ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setTabStopWidth( hb_parni( 2 ) ); -} - -/* void setTextCursor ( const QTextCursor & cursor ) */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTCURSOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setTextCursor( *hbqt_par_QTextCursor( 2 ) ); -} - -/* void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTINTERACTIONFLAGS ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); -} - -/* void setUndoRedoEnabled ( bool enable ) */ -HB_FUNC( QT_QTEXTEDIT_SETUNDOREDOENABLED ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setUndoRedoEnabled( hb_parl( 2 ) ); -} - -/* void setWordWrapMode ( QTextOption::WrapMode policy ) */ -HB_FUNC( QT_QTEXTEDIT_SETWORDWRAPMODE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setWordWrapMode( ( QTextOption::WrapMode ) hb_parni( 2 ) ); -} - -/* bool tabChangesFocus () const */ -HB_FUNC( QT_QTEXTEDIT_TABCHANGESFOCUS ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retl( ( p )->tabChangesFocus() ); -} - -/* int tabStopWidth () const */ -HB_FUNC( QT_QTEXTEDIT_TABSTOPWIDTH ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( p )->tabStopWidth() ); -} - -/* QColor textBackgroundColor () const */ -HB_FUNC( QT_QTEXTEDIT_TEXTBACKGROUNDCOLOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->textBackgroundColor() ), true ) ); -} - -/* QColor textColor () const */ -HB_FUNC( QT_QTEXTEDIT_TEXTCOLOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->textColor() ), true ) ); -} - -/* QTextCursor textCursor () const */ -HB_FUNC( QT_QTEXTEDIT_TEXTCURSOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->textCursor() ), true ) ); -} - -/* Qt::TextInteractionFlags textInteractionFlags () const */ -HB_FUNC( QT_QTEXTEDIT_TEXTINTERACTIONFLAGS ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( Qt::TextInteractionFlags ) ( p )->textInteractionFlags() ); -} - -/* QString toHtml () const */ -HB_FUNC( QT_QTEXTEDIT_TOHTML ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toHtml().toUtf8().data() ); -} - -/* QString toPlainText () const */ -HB_FUNC( QT_QTEXTEDIT_TOPLAINTEXT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toPlainText().toUtf8().data() ); -} - -/* QTextOption::WrapMode wordWrapMode () const */ -HB_FUNC( QT_QTEXTEDIT_WORDWRAPMODE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - hb_retni( ( QTextOption::WrapMode ) ( p )->wordWrapMode() ); -} - -/* void append ( const QString & text ) */ -HB_FUNC( QT_QTEXTEDIT_APPEND ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->append( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void clear () */ -HB_FUNC( QT_QTEXTEDIT_CLEAR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->clear(); -} - -/* void copy () */ -HB_FUNC( QT_QTEXTEDIT_COPY ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->copy(); -} - -/* void cut () */ -HB_FUNC( QT_QTEXTEDIT_CUT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->cut(); -} - -/* void insertHtml ( const QString & text ) */ -HB_FUNC( QT_QTEXTEDIT_INSERTHTML ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->insertHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void insertPlainText ( const QString & text ) */ -HB_FUNC( QT_QTEXTEDIT_INSERTPLAINTEXT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->insertPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void paste () */ -HB_FUNC( QT_QTEXTEDIT_PASTE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->paste(); -} - -/* void redo () */ -HB_FUNC( QT_QTEXTEDIT_REDO ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->redo(); -} - -/* void scrollToAnchor ( const QString & name ) */ -HB_FUNC( QT_QTEXTEDIT_SCROLLTOANCHOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->scrollToAnchor( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void selectAll () */ -HB_FUNC( QT_QTEXTEDIT_SELECTALL ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->selectAll(); -} - -/* void setAlignment ( Qt::Alignment a ) */ -HB_FUNC( QT_QTEXTEDIT_SETALIGNMENT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setCurrentFont ( const QFont & f ) */ -HB_FUNC( QT_QTEXTEDIT_SETCURRENTFONT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setCurrentFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setFontFamily ( const QString & fontFamily ) */ -HB_FUNC( QT_QTEXTEDIT_SETFONTFAMILY ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setFontFamily( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFontItalic ( bool italic ) */ -HB_FUNC( QT_QTEXTEDIT_SETFONTITALIC ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setFontItalic( hb_parl( 2 ) ); -} - -/* void setFontPointSize ( qreal s ) */ -HB_FUNC( QT_QTEXTEDIT_SETFONTPOINTSIZE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setFontPointSize( hb_parnd( 2 ) ); -} - -/* void setFontUnderline ( bool underline ) */ -HB_FUNC( QT_QTEXTEDIT_SETFONTUNDERLINE ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setFontUnderline( hb_parl( 2 ) ); -} - -/* void setFontWeight ( int weight ) */ -HB_FUNC( QT_QTEXTEDIT_SETFONTWEIGHT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setFontWeight( hb_parni( 2 ) ); -} - -/* void setHtml ( const QString & text ) */ -HB_FUNC( QT_QTEXTEDIT_SETHTML ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setHtml( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setPlainText ( const QString & text ) */ -HB_FUNC( QT_QTEXTEDIT_SETPLAINTEXT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setPlainText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( const QString & text ) */ -HB_FUNC( QT_QTEXTEDIT_SETTEXT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextBackgroundColor ( const QColor & c ) */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTBACKGROUNDCOLOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setTextBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* void setTextColor ( const QColor & c ) */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTCOLOR ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->setTextColor( *hbqt_par_QColor( 2 ) ); -} - -/* void undo () */ -HB_FUNC( QT_QTEXTEDIT_UNDO ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->undo(); -} - -/* void zoomIn ( int range = 1 ) */ -HB_FUNC( QT_QTEXTEDIT_ZOOMIN ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->zoomIn( hb_parnidef( 2, 1 ) ); -} - -/* void zoomOut ( int range = 1 ) */ -HB_FUNC( QT_QTEXTEDIT_ZOOMOUT ) -{ - QTextEdit * p = hbqt_par_QTextEdit( 1 ); - if( p ) - ( p )->zoomOut( hb_parnidef( 2, 1 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp deleted file mode 100644 index 34bfb04719..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextFormat.cpp +++ /dev/null @@ -1,430 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FormatType { InvalidFormat, BlockFormat, CharFormat, ListFormat, ..., UserFormat } - * enum ObjectTypes { NoObject, ImageObject, TableObject, TableCellObject, UserObject } - * enum PageBreakFlag { PageBreak_Auto, PageBreak_AlwaysBefore, PageBreak_AlwaysAfter } - * flags PageBreakFlags - * enum Property { ObjectIndex, CssFloat, LayoutDirection, OutlinePen, ..., UserProperty } - */ - -/* - * Constructed[ 41/44 [ 93.18% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector lengthVectorProperty ( int propertyId ) const - * QMap properties () const - * void setProperty ( int propertyId, const QVector & value ) - * - * *** Commented out protostypes *** - * - * // QTextTableCellFormat toTableCellFormat () const - */ - -#include - -#include - - -/* - * QTextFormat () - * QTextFormat ( int type ) - * QTextFormat ( const QTextFormat & other ) - * ~QTextFormat () - */ - -typedef struct -{ - QTextFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextFormat; - p->type = HBQT_TYPE_QTextFormat; - - return p; -} - -HB_FUNC( QT_QTEXTFORMAT ) -{ - QTextFormat * pObj = NULL; - - pObj = new QTextFormat() ; - - hb_retptrGC( hbqt_gcAllocate_QTextFormat( ( void * ) pObj, true ) ); -} - -/* QBrush background () const */ -HB_FUNC( QT_QTEXTFORMAT_BACKGROUND ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background() ), true ) ); -} - -/* bool boolProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_BOOLPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->boolProperty( hb_parni( 2 ) ) ); -} - -/* QBrush brushProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_BRUSHPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brushProperty( hb_parni( 2 ) ) ), true ) ); -} - -/* void clearBackground () */ -HB_FUNC( QT_QTEXTFORMAT_CLEARBACKGROUND ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->clearBackground(); -} - -/* void clearForeground () */ -HB_FUNC( QT_QTEXTFORMAT_CLEARFOREGROUND ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->clearForeground(); -} - -/* void clearProperty ( int propertyId ) */ -HB_FUNC( QT_QTEXTFORMAT_CLEARPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->clearProperty( hb_parni( 2 ) ); -} - -/* QColor colorProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_COLORPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->colorProperty( hb_parni( 2 ) ) ), true ) ); -} - -/* qreal doubleProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_DOUBLEPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retnd( ( p )->doubleProperty( hb_parni( 2 ) ) ); -} - -/* QBrush foreground () const */ -HB_FUNC( QT_QTEXTFORMAT_FOREGROUND ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foreground() ), true ) ); -} - -/* bool hasProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_HASPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->hasProperty( hb_parni( 2 ) ) ); -} - -/* int intProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_INTPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retni( ( p )->intProperty( hb_parni( 2 ) ) ); -} - -/* bool isBlockFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISBLOCKFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isBlockFormat() ); -} - -/* bool isCharFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISCHARFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isCharFormat() ); -} - -/* bool isFrameFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISFRAMEFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isFrameFormat() ); -} - -/* bool isImageFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISIMAGEFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isImageFormat() ); -} - -/* bool isListFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISLISTFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isListFormat() ); -} - -/* bool isTableCellFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISTABLECELLFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isTableCellFormat() ); -} - -/* bool isTableFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_ISTABLEFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isTableFormat() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTFORMAT_ISVALID ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* Qt::LayoutDirection layoutDirection () const */ -HB_FUNC( QT_QTEXTFORMAT_LAYOUTDIRECTION ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() ); -} - -/* QTextLength lengthProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_LENGTHPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLength( new QTextLength( ( p )->lengthProperty( hb_parni( 2 ) ) ), true ) ); -} - -/* void merge ( const QTextFormat & other ) */ -HB_FUNC( QT_QTEXTFORMAT_MERGE ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->merge( *hbqt_par_QTextFormat( 2 ) ); -} - -/* int objectIndex () const */ -HB_FUNC( QT_QTEXTFORMAT_OBJECTINDEX ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retni( ( p )->objectIndex() ); -} - -/* int objectType () const */ -HB_FUNC( QT_QTEXTFORMAT_OBJECTTYPE ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retni( ( p )->objectType() ); -} - -/* QPen penProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_PENPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->penProperty( hb_parni( 2 ) ) ), true ) ); -} - -/* QVariant property ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_PROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->property( hb_parni( 2 ) ) ), true ) ); -} - -/* int propertyCount () const */ -HB_FUNC( QT_QTEXTFORMAT_PROPERTYCOUNT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retni( ( p )->propertyCount() ); -} - -/* void setBackground ( const QBrush & brush ) */ -HB_FUNC( QT_QTEXTFORMAT_SETBACKGROUND ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setForeground ( const QBrush & brush ) */ -HB_FUNC( QT_QTEXTFORMAT_SETFOREGROUND ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* void setLayoutDirection ( Qt::LayoutDirection direction ) */ -HB_FUNC( QT_QTEXTFORMAT_SETLAYOUTDIRECTION ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* void setObjectIndex ( int index ) */ -HB_FUNC( QT_QTEXTFORMAT_SETOBJECTINDEX ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->setObjectIndex( hb_parni( 2 ) ); -} - -/* void setObjectType ( int type ) */ -HB_FUNC( QT_QTEXTFORMAT_SETOBJECTTYPE ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->setObjectType( hb_parni( 2 ) ); -} - -/* void setProperty ( int propertyId, const QVariant & value ) */ -HB_FUNC( QT_QTEXTFORMAT_SETPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - ( p )->setProperty( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* QString stringProperty ( int propertyId ) const */ -HB_FUNC( QT_QTEXTFORMAT_STRINGPROPERTY ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retstr_utf8( ( p )->stringProperty( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QTextBlockFormat toBlockFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_TOBLOCKFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlockFormat( new QTextBlockFormat( ( p )->toBlockFormat() ), true ) ); -} - -/* QTextCharFormat toCharFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_TOCHARFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->toCharFormat() ), true ) ); -} - -/* QTextFrameFormat toFrameFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_TOFRAMEFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFrameFormat( new QTextFrameFormat( ( p )->toFrameFormat() ), true ) ); -} - -/* QTextImageFormat toImageFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_TOIMAGEFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextImageFormat( new QTextImageFormat( ( p )->toImageFormat() ), true ) ); -} - -/* QTextListFormat toListFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_TOLISTFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextListFormat( new QTextListFormat( ( p )->toListFormat() ), true ) ); -} - -/* QTextTableFormat toTableFormat () const */ -HB_FUNC( QT_QTEXTFORMAT_TOTABLEFORMAT ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextTableFormat( new QTextTableFormat( ( p )->toTableFormat() ), true ) ); -} - -/* int type () const */ -HB_FUNC( QT_QTEXTFORMAT_TYPE ) -{ - QTextFormat * p = hbqt_par_QTextFormat( 1 ); - if( p ) - hb_retni( ( p )->type() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp deleted file mode 100644 index 60d38f7f6e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextFragment.cpp +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextFragment () - * QTextFragment ( const QTextFragment & other ) - */ - -typedef struct -{ - QTextFragment * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextFragment; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextFragment ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextFragment * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextFragment( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextFragment * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextFragment; - p->type = HBQT_TYPE_QTextFragment; - - return p; -} - -HB_FUNC( QT_QTEXTFRAGMENT ) -{ - QTextFragment * pObj = NULL; - - pObj = new QTextFragment() ; - - hb_retptrGC( hbqt_gcAllocate_QTextFragment( ( void * ) pObj, true ) ); -} - -/* QTextCharFormat charFormat () const */ -HB_FUNC( QT_QTEXTFRAGMENT_CHARFORMAT ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCharFormat( new QTextCharFormat( ( p )->charFormat() ), true ) ); -} - -/* int charFormatIndex () const */ -HB_FUNC( QT_QTEXTFRAGMENT_CHARFORMATINDEX ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retni( ( p )->charFormatIndex() ); -} - -/* bool contains ( int position ) const */ -HB_FUNC( QT_QTEXTFRAGMENT_CONTAINS ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retl( ( p )->contains( hb_parni( 2 ) ) ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTFRAGMENT_ISVALID ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int length () const */ -HB_FUNC( QT_QTEXTFRAGMENT_LENGTH ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retni( ( p )->length() ); -} - -/* int position () const */ -HB_FUNC( QT_QTEXTFRAGMENT_POSITION ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retni( ( p )->position() ); -} - -/* QString text () const */ -HB_FUNC( QT_QTEXTFRAGMENT_TEXT ) -{ - QTextFragment * p = hbqt_par_QTextFragment( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp deleted file mode 100644 index ab5bf6d460..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextFrame.cpp +++ /dev/null @@ -1,158 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //iterator begin () const - * //iterator end () const - */ - -#include - -#include -#include - - -/* - * QTextFrame ( QTextDocument * document ) - * ~QTextFrame () - */ - -typedef struct -{ - QPointer< QTextFrame > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextFrame; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextFrame ) -{ - HBQT_GC_T_QTextFrame * p = ( HBQT_GC_T_QTextFrame * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTextFrame * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextFrame( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextFrame * p = ( HBQT_GC_T_QTextFrame * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextFrame ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextFrame >( ( QTextFrame * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextFrame; - p->type = HBQT_TYPE_QTextFrame; - - return p; -} - -HB_FUNC( QT_QTEXTFRAME ) -{ - QTextFrame * pObj = NULL; - - pObj = new QTextFrame( hbqt_par_QTextDocument( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTextFrame( ( void * ) pObj, true ) ); -} - -/* QList childFrames () const */ -HB_FUNC( QT_QTEXTFRAME_CHILDFRAMES ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->childFrames() ), true ) ); -} - -/* QTextCursor firstCursorPosition () const */ -HB_FUNC( QT_QTEXTFRAME_FIRSTCURSORPOSITION ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->firstCursorPosition() ), true ) ); -} - -/* int firstPosition () const */ -HB_FUNC( QT_QTEXTFRAME_FIRSTPOSITION ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retni( ( p )->firstPosition() ); -} - -/* QTextFrameFormat frameFormat () const */ -HB_FUNC( QT_QTEXTFRAME_FRAMEFORMAT ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFrameFormat( new QTextFrameFormat( ( p )->frameFormat() ), true ) ); -} - -/* QTextCursor lastCursorPosition () const */ -HB_FUNC( QT_QTEXTFRAME_LASTCURSORPOSITION ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->lastCursorPosition() ), true ) ); -} - -/* int lastPosition () const */ -HB_FUNC( QT_QTEXTFRAME_LASTPOSITION ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retni( ( p )->lastPosition() ); -} - -/* QTextFrame * parentFrame () const */ -HB_FUNC( QT_QTEXTFRAME_PARENTFRAME ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFrame( ( p )->parentFrame(), false ) ); -} - -/* void setFrameFormat ( const QTextFrameFormat & format ) */ -HB_FUNC( QT_QTEXTFRAME_SETFRAMEFORMAT ) -{ - QTextFrame * p = hbqt_par_QTextFrame( 1 ); - if( p ) - ( p )->setFrameFormat( *hbqt_par_QTextFrameFormat( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp deleted file mode 100644 index 1dcc283578..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextFrameFormat.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * flags PageBreakFlags - * enum FormatType { InvalidFormat, BlockFormat, CharFormat, ListFormat, ..., UserFormat } - * enum ObjectTypes { NoObject, ImageObject, TableObject, TableCellObject, UserObject } - * enum PageBreakFlag { PageBreak_Auto, PageBreak_AlwaysBefore, PageBreak_AlwaysAfter } - * enum Property { ObjectIndex, CssFloat, LayoutDirection, OutlinePen, ..., UserProperty } - * enum BorderStyle { BorderStyle_None, BorderStyle_Dotted, BorderStyle_Dashed, BorderStyle_Solid, ..., BorderStyle_Outset } - * enum Position { InFlow, FloatLeft, FloatRight } - */ - -/* - * Constructed[ 29/29 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextFrameFormat () - */ - -typedef struct -{ - QTextFrameFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextFrameFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextFrameFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextFrameFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextFrameFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextFrameFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextFrameFormat; - p->type = HBQT_TYPE_QTextFrameFormat; - - return p; -} - -HB_FUNC( QT_QTEXTFRAMEFORMAT ) -{ - QTextFrameFormat * pObj = NULL; - - pObj = new QTextFrameFormat() ; - - hb_retptrGC( hbqt_gcAllocate_QTextFrameFormat( ( void * ) pObj, true ) ); -} - -/* qreal border () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BORDER ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->border() ); -} - -/* QBrush borderBrush () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BORDERBRUSH ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->borderBrush() ), true ) ); -} - -/* BorderStyle borderStyle () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BORDERSTYLE ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retni( ( QTextFrameFormat::BorderStyle ) ( p )->borderStyle() ); -} - -/* qreal bottomMargin () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BOTTOMMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->bottomMargin() ); -} - -/* QTextLength height () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_HEIGHT ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLength( new QTextLength( ( p )->height() ), true ) ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_ISVALID ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* qreal leftMargin () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_LEFTMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->leftMargin() ); -} - -/* qreal margin () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_MARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->margin() ); -} - -/* qreal padding () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_PADDING ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->padding() ); -} - -/* PageBreakFlags pageBreakPolicy () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_PAGEBREAKPOLICY ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retni( ( QTextFrameFormat::PageBreakFlags ) ( p )->pageBreakPolicy() ); -} - -/* Position position () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_POSITION ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retni( ( QTextFrameFormat::Position ) ( p )->position() ); -} - -/* qreal rightMargin () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_RIGHTMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->rightMargin() ); -} - -/* void setBorder ( qreal width ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBORDER ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setBorder( hb_parnd( 2 ) ); -} - -/* void setBorderBrush ( const QBrush & brush ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBORDERBRUSH ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setBorderBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* void setBorderStyle ( BorderStyle style ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBORDERSTYLE ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setBorderStyle( ( QTextFrameFormat::BorderStyle ) hb_parni( 2 ) ); -} - -/* void setBottomMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBOTTOMMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setBottomMargin( hb_parnd( 2 ) ); -} - -/* void setHeight ( const QTextLength & height ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETHEIGHT ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setHeight( *hbqt_par_QTextLength( 2 ) ); -} - -/* void setHeight ( qreal height ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETHEIGHT_1 ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setHeight( hb_parnd( 2 ) ); -} - -/* void setLeftMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETLEFTMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setLeftMargin( hb_parnd( 2 ) ); -} - -/* void setMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setMargin( hb_parnd( 2 ) ); -} - -/* void setPadding ( qreal width ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETPADDING ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setPadding( hb_parnd( 2 ) ); -} - -/* void setPageBreakPolicy ( PageBreakFlags policy ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETPAGEBREAKPOLICY ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setPageBreakPolicy( ( QTextFrameFormat::PageBreakFlags ) hb_parni( 2 ) ); -} - -/* void setPosition ( Position policy ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETPOSITION ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setPosition( ( QTextFrameFormat::Position ) hb_parni( 2 ) ); -} - -/* void setRightMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETRIGHTMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setRightMargin( hb_parnd( 2 ) ); -} - -/* void setTopMargin ( qreal margin ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETTOPMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setTopMargin( hb_parnd( 2 ) ); -} - -/* void setWidth ( const QTextLength & width ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETWIDTH ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setWidth( *hbqt_par_QTextLength( 2 ) ); -} - -/* void setWidth ( qreal width ) */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETWIDTH_1 ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - ( p )->setWidth( hb_parnd( 2 ) ); -} - -/* qreal topMargin () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_TOPMARGIN ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retnd( ( p )->topMargin() ); -} - -/* QTextLength width () const */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_WIDTH ) -{ - QTextFrameFormat * p = hbqt_par_QTextFrameFormat( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLength( new QTextLength( ( p )->width() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp deleted file mode 100644 index 1eed188fac..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextImageFormat.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextImageFormat () - * - */ - -typedef struct -{ - QTextImageFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextImageFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextImageFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextImageFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextImageFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextImageFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextImageFormat; - p->type = HBQT_TYPE_QTextImageFormat; - - return p; -} - -HB_FUNC( QT_QTEXTIMAGEFORMAT ) -{ - QTextImageFormat * pObj = NULL; - - pObj = new QTextImageFormat() ; - - hb_retptrGC( hbqt_gcAllocate_QTextImageFormat( ( void * ) pObj, true ) ); -} - -/* qreal height () const */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_HEIGHT ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_ISVALID ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QString name () const */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_NAME ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - hb_retstr_utf8( ( p )->name().toUtf8().data() ); -} - -/* void setHeight ( qreal height ) */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_SETHEIGHT ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - ( p )->setHeight( hb_parnd( 2 ) ); -} - -/* void setName ( const QString & name ) */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_SETNAME ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - { - void * pText; - ( p )->setName( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWidth ( qreal width ) */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_SETWIDTH ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - ( p )->setWidth( hb_parnd( 2 ) ); -} - -/* qreal width () const */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_WIDTH ) -{ - QTextImageFormat * p = hbqt_par_QTextImageFormat( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp b/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp deleted file mode 100644 index b70b6a5c2d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextInlineObject.cpp +++ /dev/null @@ -1,179 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextInlineObject ( int i, QTextEngine * e ) - * - */ - -typedef struct -{ - QTextInlineObject * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextInlineObject; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextInlineObject ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QTextInlineObject( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextInlineObject * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextInlineObject; - p->type = HBQT_TYPE_QTextInlineObject; - - return p; -} - -HB_FUNC( QT_QTEXTINLINEOBJECT ) -{ - // __HB_RETPTRGC__( new QTextInlineObject( hb_parni( 1 ), hbqt_par_QTextEngine( 2 ) ) ); -} - -/* qreal ascent () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_ASCENT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retnd( ( p )->ascent() ); -} - -/* qreal descent () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_DESCENT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retnd( ( p )->descent() ); -} - -/* QTextFormat format () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_FORMAT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFormat( new QTextFormat( ( p )->format() ), true ) ); -} - -/* int formatIndex () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_FORMATINDEX ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retni( ( p )->formatIndex() ); -} - -/* qreal height () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_HEIGHT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_ISVALID ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QRectF rect () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_RECT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); -} - -/* void setAscent ( qreal a ) */ -HB_FUNC( QT_QTEXTINLINEOBJECT_SETASCENT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - ( p )->setAscent( hb_parnd( 2 ) ); -} - -/* void setDescent ( qreal d ) */ -HB_FUNC( QT_QTEXTINLINEOBJECT_SETDESCENT ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - ( p )->setDescent( hb_parnd( 2 ) ); -} - -/* void setWidth ( qreal w ) */ -HB_FUNC( QT_QTEXTINLINEOBJECT_SETWIDTH ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - ( p )->setWidth( hb_parnd( 2 ) ); -} - -/* Qt::LayoutDirection textDirection () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_TEXTDIRECTION ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->textDirection() ); -} - -/* int textPosition () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_TEXTPOSITION ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retni( ( p )->textPosition() ); -} - -/* qreal width () const */ -HB_FUNC( QT_QTEXTINLINEOBJECT_WIDTH ) -{ - QTextInlineObject * p = hbqt_par_QTextInlineObject( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp b/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp deleted file mode 100644 index 3c31baa444..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextItem.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum RenderFlag { RightToLeft, Overline, Underline, StrikeOut } - * flags RenderFlags - */ - -/* - * Constructed[ 6/6 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextItem () - * - */ - -typedef struct -{ - QTextItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextItem; - p->type = HBQT_TYPE_QTextItem; - - return p; -} - -HB_FUNC( QT_QTEXTITEM ) -{ - QTextItem * pObj = NULL; - - pObj = new QTextItem() ; - - hb_retptrGC( hbqt_gcAllocate_QTextItem( ( void * ) pObj, true ) ); -} - -/* qreal ascent () const */ -HB_FUNC( QT_QTEXTITEM_ASCENT ) -{ - QTextItem * p = hbqt_par_QTextItem( 1 ); - if( p ) - hb_retnd( ( p )->ascent() ); -} - -/* qreal descent () const */ -HB_FUNC( QT_QTEXTITEM_DESCENT ) -{ - QTextItem * p = hbqt_par_QTextItem( 1 ); - if( p ) - hb_retnd( ( p )->descent() ); -} - -/* QFont font () const */ -HB_FUNC( QT_QTEXTITEM_FONT ) -{ - QTextItem * p = hbqt_par_QTextItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* RenderFlags renderFlags () const */ -HB_FUNC( QT_QTEXTITEM_RENDERFLAGS ) -{ - QTextItem * p = hbqt_par_QTextItem( 1 ); - if( p ) - hb_retni( ( QTextItem::RenderFlags ) ( p )->renderFlags() ); -} - -/* QString text () const */ -HB_FUNC( QT_QTEXTITEM_TEXT ) -{ - QTextItem * p = hbqt_par_QTextItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* qreal width () const */ -HB_FUNC( QT_QTEXTITEM_WIDTH ) -{ - QTextItem * p = hbqt_par_QTextItem( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp deleted file mode 100644 index 7421f442c1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextLayout.cpp +++ /dev/null @@ -1,337 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CursorMode { SkipCharacters, SkipWords } - */ - -/* - * Constructed[ 29/31 [ 93.55% ] ] - * - * *** Unconvered Prototypes *** - * - * void draw ( QPainter * p, const QPointF & pos, const QVector & selections = QVector (), const QRectF & clip = QRectF() ) const - * void setAdditionalFormats ( const QList & formatList ) - * - * *** Commented out protostypes *** - * - * //QList additionalFormats () const - */ - -#include - -#include - - -/* - * QTextLayout () - * QTextLayout ( const QString & text ) - * QTextLayout ( const QString & text, const QFont & font, QPaintDevice * paintdevice = 0 ) - * ~QTextLayout () - */ - -typedef struct -{ - QTextLayout * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextLayout ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextLayout * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextLayout * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextLayout; - p->type = HBQT_TYPE_QTextLayout; - - return p; -} - -HB_FUNC( QT_QTEXTLAYOUT ) -{ - QTextLayout * pObj = NULL; - - pObj = new QTextLayout() ; - - hb_retptrGC( hbqt_gcAllocate_QTextLayout( ( void * ) pObj, true ) ); -} - -/* void beginLayout () */ -HB_FUNC( QT_QTEXTLAYOUT_BEGINLAYOUT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->beginLayout(); -} - -/* QRectF boundingRect () const */ -HB_FUNC( QT_QTEXTLAYOUT_BOUNDINGRECT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->boundingRect() ), true ) ); -} - -/* bool cacheEnabled () const */ -HB_FUNC( QT_QTEXTLAYOUT_CACHEENABLED ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retl( ( p )->cacheEnabled() ); -} - -/* void clearAdditionalFormats () */ -HB_FUNC( QT_QTEXTLAYOUT_CLEARADDITIONALFORMATS ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->clearAdditionalFormats(); -} - -/* void clearLayout () */ -HB_FUNC( QT_QTEXTLAYOUT_CLEARLAYOUT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->clearLayout(); -} - -/* QTextLine createLine () */ -HB_FUNC( QT_QTEXTLAYOUT_CREATELINE ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLine( new QTextLine( ( p )->createLine() ), true ) ); -} - -/* void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition, int width ) const */ -HB_FUNC( QT_QTEXTLAYOUT_DRAWCURSOR ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->drawCursor( hbqt_par_QPainter( 2 ), *hbqt_par_QPointF( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition ) const */ -HB_FUNC( QT_QTEXTLAYOUT_DRAWCURSOR_1 ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->drawCursor( hbqt_par_QPainter( 2 ), *hbqt_par_QPointF( 3 ), hb_parni( 4 ) ); -} - -/* void endLayout () */ -HB_FUNC( QT_QTEXTLAYOUT_ENDLAYOUT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->endLayout(); -} - -/* QFont font () const */ -HB_FUNC( QT_QTEXTLAYOUT_FONT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* bool isValidCursorPosition ( int pos ) const */ -HB_FUNC( QT_QTEXTLAYOUT_ISVALIDCURSORPOSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retl( ( p )->isValidCursorPosition( hb_parni( 2 ) ) ); -} - -/* QTextLine lineAt ( int i ) const */ -HB_FUNC( QT_QTEXTLAYOUT_LINEAT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLine( new QTextLine( ( p )->lineAt( hb_parni( 2 ) ) ), true ) ); -} - -/* int lineCount () const */ -HB_FUNC( QT_QTEXTLAYOUT_LINECOUNT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retni( ( p )->lineCount() ); -} - -/* QTextLine lineForTextPosition ( int pos ) const */ -HB_FUNC( QT_QTEXTLAYOUT_LINEFORTEXTPOSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextLine( new QTextLine( ( p )->lineForTextPosition( hb_parni( 2 ) ) ), true ) ); -} - -/* qreal maximumWidth () const */ -HB_FUNC( QT_QTEXTLAYOUT_MAXIMUMWIDTH ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retnd( ( p )->maximumWidth() ); -} - -/* qreal minimumWidth () const */ -HB_FUNC( QT_QTEXTLAYOUT_MINIMUMWIDTH ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retnd( ( p )->minimumWidth() ); -} - -/* int nextCursorPosition ( int oldPos, CursorMode mode = SkipCharacters ) const */ -HB_FUNC( QT_QTEXTLAYOUT_NEXTCURSORPOSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retni( ( p )->nextCursorPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLayout::CursorMode ) hb_parni( 3 ) : ( QTextLayout::CursorMode ) QTextLayout::SkipCharacters ) ) ); -} - -/* QPointF position () const */ -HB_FUNC( QT_QTEXTLAYOUT_POSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->position() ), true ) ); -} - -/* int preeditAreaPosition () const */ -HB_FUNC( QT_QTEXTLAYOUT_PREEDITAREAPOSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retni( ( p )->preeditAreaPosition() ); -} - -/* QString preeditAreaText () const */ -HB_FUNC( QT_QTEXTLAYOUT_PREEDITAREATEXT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retstr_utf8( ( p )->preeditAreaText().toUtf8().data() ); -} - -/* int previousCursorPosition ( int oldPos, CursorMode mode = SkipCharacters ) const */ -HB_FUNC( QT_QTEXTLAYOUT_PREVIOUSCURSORPOSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retni( ( p )->previousCursorPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLayout::CursorMode ) hb_parni( 3 ) : ( QTextLayout::CursorMode ) QTextLayout::SkipCharacters ) ) ); -} - -/* void setCacheEnabled ( bool enable ) */ -HB_FUNC( QT_QTEXTLAYOUT_SETCACHEENABLED ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->setCacheEnabled( hb_parl( 2 ) ); -} - -/* void setFont ( const QFont & font ) */ -HB_FUNC( QT_QTEXTLAYOUT_SETFONT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setPosition ( const QPointF & p ) */ -HB_FUNC( QT_QTEXTLAYOUT_SETPOSITION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->setPosition( *hbqt_par_QPointF( 2 ) ); -} - -/* void setPreeditArea ( int position, const QString & text ) */ -HB_FUNC( QT_QTEXTLAYOUT_SETPREEDITAREA ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - { - void * pText; - ( p )->setPreeditArea( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( const QString & string ) */ -HB_FUNC( QT_QTEXTLAYOUT_SETTEXT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextOption ( const QTextOption & option ) */ -HB_FUNC( QT_QTEXTLAYOUT_SETTEXTOPTION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - ( p )->setTextOption( *hbqt_par_QTextOption( 2 ) ); -} - -/* QString text () const */ -HB_FUNC( QT_QTEXTLAYOUT_TEXT ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text().toUtf8().data() ); -} - -/* QTextOption textOption () const */ -HB_FUNC( QT_QTEXTLAYOUT_TEXTOPTION ) -{ - QTextLayout * p = hbqt_par_QTextLayout( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextOption( new QTextOption( ( p )->textOption() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp b/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp deleted file mode 100644 index 88c8770149..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextLength.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Type { VariableLength, FixedLength, PercentageLength } - */ - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextLength () - * QTextLength ( Type type, qreal value ) - */ - -typedef struct -{ - QTextLength * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextLength; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextLength ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextLength * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextLength( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextLength * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextLength; - p->type = HBQT_TYPE_QTextLength; - - return p; -} - -HB_FUNC( QT_QTEXTLENGTH ) -{ - QTextLength * pObj = NULL; - - pObj = new QTextLength() ; - - hb_retptrGC( hbqt_gcAllocate_QTextLength( ( void * ) pObj, true ) ); -} - -/* qreal rawValue () const */ -HB_FUNC( QT_QTEXTLENGTH_RAWVALUE ) -{ - QTextLength * p = hbqt_par_QTextLength( 1 ); - if( p ) - hb_retnd( ( p )->rawValue() ); -} - -/* Type type () const */ -HB_FUNC( QT_QTEXTLENGTH_TYPE ) -{ - QTextLength * p = hbqt_par_QTextLength( 1 ); - if( p ) - hb_retni( ( QTextLength::Type ) ( p )->type() ); -} - -/* qreal value ( qreal maximumLength ) const */ -HB_FUNC( QT_QTEXTLENGTH_VALUE ) -{ - QTextLength * p = hbqt_par_QTextLength( 1 ); - if( p ) - hb_retnd( ( p )->value( hb_parnd( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp b/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp deleted file mode 100644 index 00e755fb31..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextLine.cpp +++ /dev/null @@ -1,263 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum CursorPosition { CursorBetweenCharacters, CursorOnCharacter } - * enum Edge { Leading, Trailing } - */ - -/* - * Constructed[ 21/21 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * //void draw ( QPainter * painter, const QPointF & position, const QTextLayout::FormatRange * selection = 0 ) const - */ - -#include - -#include - - -/* - * QTextLine () - */ - -typedef struct -{ - QTextLine * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextLine; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextLine ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextLine * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextLine( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextLine * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextLine; - p->type = HBQT_TYPE_QTextLine; - - return p; -} - -HB_FUNC( QT_QTEXTLINE ) -{ - QTextLine * pObj = NULL; - - pObj = new QTextLine() ; - - hb_retptrGC( hbqt_gcAllocate_QTextLine( ( void * ) pObj, true ) ); -} - -/* qreal ascent () const */ -HB_FUNC( QT_QTEXTLINE_ASCENT ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->ascent() ); -} - -/* qreal cursorToX ( int * cursorPos, Edge edge = Leading ) const */ -HB_FUNC( QT_QTEXTLINE_CURSORTOX ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - int iCursorPos = 0; - - if( p ) - hb_retnd( ( p )->cursorToX( &iCursorPos, ( HB_ISNUM( 3 ) ? ( QTextLine::Edge ) hb_parni( 3 ) : ( QTextLine::Edge ) QTextLine::Leading ) ) ); - - hb_storni( iCursorPos, 2 ); -} - -/* qreal cursorToX ( int cursorPos, Edge edge = Leading ) const */ -HB_FUNC( QT_QTEXTLINE_CURSORTOX_1 ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->cursorToX( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLine::Edge ) hb_parni( 3 ) : ( QTextLine::Edge ) QTextLine::Leading ) ) ); -} - -/* qreal descent () const */ -HB_FUNC( QT_QTEXTLINE_DESCENT ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->descent() ); -} - -/* qreal height () const */ -HB_FUNC( QT_QTEXTLINE_HEIGHT ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->height() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTLINE_ISVALID ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* int lineNumber () const */ -HB_FUNC( QT_QTEXTLINE_LINENUMBER ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retni( ( p )->lineNumber() ); -} - -/* QRectF naturalTextRect () const */ -HB_FUNC( QT_QTEXTLINE_NATURALTEXTRECT ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->naturalTextRect() ), true ) ); -} - -/* qreal naturalTextWidth () const */ -HB_FUNC( QT_QTEXTLINE_NATURALTEXTWIDTH ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->naturalTextWidth() ); -} - -/* QPointF position () const */ -HB_FUNC( QT_QTEXTLINE_POSITION ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->position() ), true ) ); -} - -/* QRectF rect () const */ -HB_FUNC( QT_QTEXTLINE_RECT ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); -} - -/* void setLineWidth ( qreal width ) */ -HB_FUNC( QT_QTEXTLINE_SETLINEWIDTH ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - ( p )->setLineWidth( hb_parnd( 2 ) ); -} - -/* void setNumColumns ( int numColumns ) */ -HB_FUNC( QT_QTEXTLINE_SETNUMCOLUMNS ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - ( p )->setNumColumns( hb_parni( 2 ) ); -} - -/* void setNumColumns ( int numColumns, qreal alignmentWidth ) */ -HB_FUNC( QT_QTEXTLINE_SETNUMCOLUMNS_1 ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - ( p )->setNumColumns( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* void setPosition ( const QPointF & pos ) */ -HB_FUNC( QT_QTEXTLINE_SETPOSITION ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - ( p )->setPosition( *hbqt_par_QPointF( 2 ) ); -} - -/* int textLength () const */ -HB_FUNC( QT_QTEXTLINE_TEXTLENGTH ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retni( ( p )->textLength() ); -} - -/* int textStart () const */ -HB_FUNC( QT_QTEXTLINE_TEXTSTART ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retni( ( p )->textStart() ); -} - -/* qreal width () const */ -HB_FUNC( QT_QTEXTLINE_WIDTH ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->width() ); -} - -/* qreal x () const */ -HB_FUNC( QT_QTEXTLINE_X ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->x() ); -} - -/* int xToCursor ( qreal x, CursorPosition cpos = CursorBetweenCharacters ) const */ -HB_FUNC( QT_QTEXTLINE_XTOCURSOR ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retni( ( p )->xToCursor( hb_parnd( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLine::CursorPosition ) hb_parni( 3 ) : ( QTextLine::CursorPosition ) QTextLine::CursorBetweenCharacters ) ) ); -} - -/* qreal y () const */ -HB_FUNC( QT_QTEXTLINE_Y ) -{ - QTextLine * p = hbqt_par_QTextLine( 1 ); - if( p ) - hb_retnd( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextList.cpp b/harbour/contrib/hbqt/qtgui/g/QTextList.cpp deleted file mode 100644 index e734f9d7fd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextList.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextList () - * - */ - -typedef struct -{ - QPointer< QTextList > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextList; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextList ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QTextList( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextList * p = ( HBQT_GC_T_QTextList * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextList ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextList >( ( QTextList * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextList; - p->type = HBQT_TYPE_QTextList; - - return p; -} - -HB_FUNC( QT_QTEXTLIST ) -{ - -} - -/* void add ( const QTextBlock & block ) */ -HB_FUNC( QT_QTEXTLIST_ADD ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - ( p )->add( *hbqt_par_QTextBlock( 2 ) ); -} - -/* int count () const */ -HB_FUNC( QT_QTEXTLIST_COUNT ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* QTextListFormat format () const */ -HB_FUNC( QT_QTEXTLIST_FORMAT ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextListFormat( new QTextListFormat( ( p )->format() ), true ) ); -} - -/* QTextBlock item ( int i ) const */ -HB_FUNC( QT_QTEXTLIST_ITEM ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextBlock( new QTextBlock( ( p )->item( hb_parni( 2 ) ) ), true ) ); -} - -/* int itemNumber ( const QTextBlock & block ) const */ -HB_FUNC( QT_QTEXTLIST_ITEMNUMBER ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - hb_retni( ( p )->itemNumber( *hbqt_par_QTextBlock( 2 ) ) ); -} - -/* QString itemText ( const QTextBlock & block ) const */ -HB_FUNC( QT_QTEXTLIST_ITEMTEXT ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - hb_retstr_utf8( ( p )->itemText( *hbqt_par_QTextBlock( 2 ) ).toUtf8().data() ); -} - -/* void remove ( const QTextBlock & block ) */ -HB_FUNC( QT_QTEXTLIST_REMOVE ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - ( p )->remove( *hbqt_par_QTextBlock( 2 ) ); -} - -/* void removeItem ( int i ) */ -HB_FUNC( QT_QTEXTLIST_REMOVEITEM ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - ( p )->removeItem( hb_parni( 2 ) ); -} - -/* void setFormat ( const QTextListFormat & format ) */ -HB_FUNC( QT_QTEXTLIST_SETFORMAT ) -{ - QTextList * p = hbqt_par_QTextList( 1 ); - if( p ) - ( p )->setFormat( *hbqt_par_QTextListFormat( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp deleted file mode 100644 index c912ea71b2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextListFormat.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Style { ListDisc, ListCircle, ListSquare, ListDecimal, ListLowerAlpha, ListUpperAlpha } - */ - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QTextListFormat () - * - */ - -typedef struct -{ - QTextListFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextListFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextListFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextListFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextListFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextListFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextListFormat; - p->type = HBQT_TYPE_QTextListFormat; - - return p; -} - -HB_FUNC( QT_QTEXTLISTFORMAT ) -{ - QTextListFormat * pObj = NULL; - - pObj = new QTextListFormat() ; - - hb_retptrGC( hbqt_gcAllocate_QTextListFormat( ( void * ) pObj, true ) ); -} - -/* int indent () const */ -HB_FUNC( QT_QTEXTLISTFORMAT_INDENT ) -{ - QTextListFormat * p = hbqt_par_QTextListFormat( 1 ); - if( p ) - hb_retni( ( p )->indent() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTLISTFORMAT_ISVALID ) -{ - QTextListFormat * p = hbqt_par_QTextListFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* void setIndent ( int indentation ) */ -HB_FUNC( QT_QTEXTLISTFORMAT_SETINDENT ) -{ - QTextListFormat * p = hbqt_par_QTextListFormat( 1 ); - if( p ) - ( p )->setIndent( hb_parni( 2 ) ); -} - -/* void setStyle ( Style style ) */ -HB_FUNC( QT_QTEXTLISTFORMAT_SETSTYLE ) -{ - QTextListFormat * p = hbqt_par_QTextListFormat( 1 ); - if( p ) - ( p )->setStyle( ( QTextListFormat::Style ) hb_parni( 2 ) ); -} - -/* Style style () const */ -HB_FUNC( QT_QTEXTLISTFORMAT_STYLE ) -{ - QTextListFormat * p = hbqt_par_QTextListFormat( 1 ); - if( p ) - hb_retni( ( QTextListFormat::Style ) ( p )->style() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp b/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp deleted file mode 100644 index 64f9e13513..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextObject.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTextObject () - */ - -typedef struct -{ - QPointer< QTextObject > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextObject; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextObject ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QTextObject( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTextObject * p = ( HBQT_GC_T_QTextObject * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTextObject ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTextObject >( ( QTextObject * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextObject; - p->type = HBQT_TYPE_QTextObject; - - return p; -} - -HB_FUNC( QT_QTEXTOBJECT ) -{ - -} - -/* QTextDocument * document () const */ -HB_FUNC( QT_QTEXTOBJECT_DOCUMENT ) -{ - QTextObject * p = hbqt_par_QTextObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); -} - -/* QTextFormat format () const */ -HB_FUNC( QT_QTEXTOBJECT_FORMAT ) -{ - QTextObject * p = hbqt_par_QTextObject( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTextFormat( new QTextFormat( ( p )->format() ), true ) ); -} - -/* int formatIndex () const */ -HB_FUNC( QT_QTEXTOBJECT_FORMATINDEX ) -{ - QTextObject * p = hbqt_par_QTextObject( 1 ); - if( p ) - hb_retni( ( p )->formatIndex() ); -} - -/* int objectIndex () const */ -HB_FUNC( QT_QTEXTOBJECT_OBJECTINDEX ) -{ - QTextObject * p = hbqt_par_QTextObject( 1 ); - if( p ) - hb_retni( ( p )->objectIndex() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp b/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp deleted file mode 100644 index f65f77764b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextOption.cpp +++ /dev/null @@ -1,204 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * class Tab - * enum Flag { IncludeTrailingSpaces, ShowTabsAndSpaces, ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators, SuppressColors } - * flags Flags - * enum TabType { LeftTab, RightTab, CenterTab, DelimiterTab } - * enum WrapMode { NoWrap, WordWrap, ManualWrap, WrapAnywhere, WrapAtWordBoundaryOrAnywhere } - */ - -/* - * Constructed[ 13/15 [ 86.67% ] ] - * - * *** Unconvered Prototypes *** - * - * void setTabArray ( QList tabStops ) - * void setTabs ( QList tabStops ) - * - * *** Commented out protostypes *** - * - * //QList tabs () const - */ - -#include - -#include - - -/* QTextOption () - * QTextOption ( Qt::Alignment alignment ) - * QTextOption ( const QTextOption & other ) - * ~QTextOption () - */ - -typedef struct -{ - QTextOption * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextOption; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextOption ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextOption * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextOption( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextOption * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextOption; - p->type = HBQT_TYPE_QTextOption; - - return p; -} - -HB_FUNC( QT_QTEXTOPTION ) -{ - QTextOption * pObj = NULL; - - pObj = new QTextOption() ; - - hb_retptrGC( hbqt_gcAllocate_QTextOption( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QTEXTOPTION_ALIGNMENT ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* Flags flags () const */ -HB_FUNC( QT_QTEXTOPTION_FLAGS ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retni( ( QTextOption::Flags ) ( p )->flags() ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QTEXTOPTION_SETALIGNMENT ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setFlags ( Flags flags ) */ -HB_FUNC( QT_QTEXTOPTION_SETFLAGS ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - ( p )->setFlags( ( QTextOption::Flags ) hb_parni( 2 ) ); -} - -/* void setTabStop ( qreal tabStop ) */ -HB_FUNC( QT_QTEXTOPTION_SETTABSTOP ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - ( p )->setTabStop( hb_parnd( 2 ) ); -} - -/* void setTextDirection ( Qt::LayoutDirection direction ) */ -HB_FUNC( QT_QTEXTOPTION_SETTEXTDIRECTION ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - ( p )->setTextDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* void setUseDesignMetrics ( bool enable ) */ -HB_FUNC( QT_QTEXTOPTION_SETUSEDESIGNMETRICS ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - ( p )->setUseDesignMetrics( hb_parl( 2 ) ); -} - -/* void setWrapMode ( WrapMode mode ) */ -HB_FUNC( QT_QTEXTOPTION_SETWRAPMODE ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - ( p )->setWrapMode( ( QTextOption::WrapMode ) hb_parni( 2 ) ); -} - -/* QList tabArray () const */ -HB_FUNC( QT_QTEXTOPTION_TABARRAY ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->tabArray() ), true ) ); -} - -/* qreal tabStop () const */ -HB_FUNC( QT_QTEXTOPTION_TABSTOP ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retnd( ( p )->tabStop() ); -} - -/* Qt::LayoutDirection textDirection () const */ -HB_FUNC( QT_QTEXTOPTION_TEXTDIRECTION ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->textDirection() ); -} - -/* bool useDesignMetrics () const */ -HB_FUNC( QT_QTEXTOPTION_USEDESIGNMETRICS ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retl( ( p )->useDesignMetrics() ); -} - -/* WrapMode wrapMode () const */ -HB_FUNC( QT_QTEXTOPTION_WRAPMODE ) -{ - QTextOption * p = hbqt_par_QTextOption( 1 ); - if( p ) - hb_retni( ( QTextOption::WrapMode ) ( p )->wrapMode() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp b/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp deleted file mode 100644 index c12e614791..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTextTableFormat.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 11/13 [ 84.62% ] ] - * - * *** Unconvered Prototypes *** - * - * QVector columnWidthConstraints () const - * void setColumnWidthConstraints ( const QVector & constraints ) - */ - -#include - -#include - - -/* QTextTableFormat () - */ - -typedef struct -{ - QTextTableFormat * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTextTableFormat; - -HBQT_GC_FUNC( hbqt_gcRelease_QTextTableFormat ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTextTableFormat * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTextTableFormat( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTextTableFormat * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTextTableFormat; - p->type = HBQT_TYPE_QTextTableFormat; - - return p; -} - -HB_FUNC( QT_QTEXTTABLEFORMAT ) -{ - QTextTableFormat * pObj = NULL; - - pObj = new QTextTableFormat() ; - - hb_retptrGC( hbqt_gcAllocate_QTextTableFormat( ( void * ) pObj, true ) ); -} - -/* Qt::Alignment alignment () const */ -HB_FUNC( QT_QTEXTTABLEFORMAT_ALIGNMENT ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - hb_retni( ( Qt::Alignment ) ( p )->alignment() ); -} - -/* qreal cellPadding () const */ -HB_FUNC( QT_QTEXTTABLEFORMAT_CELLPADDING ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - hb_retnd( ( p )->cellPadding() ); -} - -/* qreal cellSpacing () const */ -HB_FUNC( QT_QTEXTTABLEFORMAT_CELLSPACING ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - hb_retnd( ( p )->cellSpacing() ); -} - -/* void clearColumnWidthConstraints () */ -HB_FUNC( QT_QTEXTTABLEFORMAT_CLEARCOLUMNWIDTHCONSTRAINTS ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - ( p )->clearColumnWidthConstraints(); -} - -/* int columns () const */ -HB_FUNC( QT_QTEXTTABLEFORMAT_COLUMNS ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - hb_retni( ( p )->columns() ); -} - -/* int headerRowCount () const */ -HB_FUNC( QT_QTEXTTABLEFORMAT_HEADERROWCOUNT ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - hb_retni( ( p )->headerRowCount() ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QTEXTTABLEFORMAT_ISVALID ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* void setAlignment ( Qt::Alignment alignment ) */ -HB_FUNC( QT_QTEXTTABLEFORMAT_SETALIGNMENT ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - ( p )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* void setCellPadding ( qreal padding ) */ -HB_FUNC( QT_QTEXTTABLEFORMAT_SETCELLPADDING ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - ( p )->setCellPadding( hb_parnd( 2 ) ); -} - -/* void setCellSpacing ( qreal spacing ) */ -HB_FUNC( QT_QTEXTTABLEFORMAT_SETCELLSPACING ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - ( p )->setCellSpacing( hb_parnd( 2 ) ); -} - -/* void setHeaderRowCount ( int count ) */ -HB_FUNC( QT_QTEXTTABLEFORMAT_SETHEADERROWCOUNT ) -{ - QTextTableFormat * p = hbqt_par_QTextTableFormat( 1 ); - if( p ) - ( p )->setHeaderRowCount( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp b/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp deleted file mode 100644 index 11c444adef..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTimeEdit.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QTimeEdit ( QWidget * parent = 0 ) - * QTimeEdit ( const QTime & time, QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QTimeEdit > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTimeEdit; - -HBQT_GC_FUNC( hbqt_gcRelease_QTimeEdit ) -{ - HBQT_GC_T_QTimeEdit * p = ( HBQT_GC_T_QTimeEdit * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTimeEdit * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTimeEdit( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTimeEdit * p = ( HBQT_GC_T_QTimeEdit * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTimeEdit ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTimeEdit >( ( QTimeEdit * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTimeEdit; - p->type = HBQT_TYPE_QTimeEdit; - - return p; -} - -HB_FUNC( QT_QTIMEEDIT ) -{ - QTimeEdit * pObj = NULL; - - pObj = new QTimeEdit( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTimeEdit( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp b/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp deleted file mode 100644 index b785c959d4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QToolBar.cpp +++ /dev/null @@ -1,336 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 28/28 [ 100.00% ] ] - * - */ - -#include - -#include -#include - - -/* QToolBar ( const QString & title, QWidget * parent = 0 ) - * QToolBar ( QWidget * parent = 0 ) - * ~QToolBar () - */ - -typedef struct -{ - QPointer< QToolBar > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QToolBar; - -HBQT_GC_FUNC( hbqt_gcRelease_QToolBar ) -{ - HBQT_GC_T_QToolBar * p = ( HBQT_GC_T_QToolBar * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QToolBar * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QToolBar( void * pObj, bool bNew ) -{ - HBQT_GC_T_QToolBar * p = ( HBQT_GC_T_QToolBar * ) hb_gcAllocate( sizeof( HBQT_GC_T_QToolBar ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QToolBar >( ( QToolBar * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QToolBar; - p->type = HBQT_TYPE_QToolBar; - - return p; -} - -HB_FUNC( QT_QTOOLBAR ) -{ - QToolBar * pObj = NULL; - - if( hb_param( 1, HB_IT_STRING ) ) - pObj = new QToolBar( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = new QToolBar( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QToolBar( ( void * ) pObj, true ) ); -} - -/* QAction * actionAt ( const QPoint & p ) const */ -HB_FUNC( QT_QTOOLBAR_ACTIONAT ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QAction * actionAt ( int x, int y ) const */ -HB_FUNC( QT_QTOOLBAR_ACTIONAT_1 ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->actionAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* void addAction ( QAction * action ) [*D=1*] */ -HB_FUNC( QT_QTOOLBAR_ADDACTION ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addAction( hbqt_par_QAction( 2 ) ); - } -} - -/* QAction * addAction ( const QString & text ) */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_1 ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QIcon & icon, const QString & text ) */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_2 ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_3 ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), ( const char * ) hb_parc( 4 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member ) [*D=3*] */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_4 ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - { - hbqt_detachgcpointer( 4 ); - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )), hb_parstr_utf8( 3, &pText, NULL ), hbqt_par_QObject( 4 ), ( const char * ) hb_parc( 5 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* QAction * addSeparator () */ -HB_FUNC( QT_QTOOLBAR_ADDSEPARATOR ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addSeparator(), false ) ); -} - -/* QAction * addWidget ( QWidget * widget ) */ -HB_FUNC( QT_QTOOLBAR_ADDWIDGET ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addWidget( hbqt_par_QWidget( 2 ) ), false ) ); -} - -/* Qt::ToolBarAreas allowedAreas () const */ -HB_FUNC( QT_QTOOLBAR_ALLOWEDAREAS ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retni( ( Qt::ToolBarAreas ) ( p )->allowedAreas() ); -} - -/* void clear () */ -HB_FUNC( QT_QTOOLBAR_CLEAR ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->clear(); -} - -/* QSize iconSize () const */ -HB_FUNC( QT_QTOOLBAR_ICONSIZE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->iconSize() ), true ) ); -} - -/* QAction * insertSeparator ( QAction * before ) */ -HB_FUNC( QT_QTOOLBAR_INSERTSEPARATOR ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->insertSeparator( hbqt_par_QAction( 2 ) ), false ) ); -} - -/* QAction * insertWidget ( QAction * before, QWidget * widget ) */ -HB_FUNC( QT_QTOOLBAR_INSERTWIDGET ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->insertWidget( hbqt_par_QAction( 2 ), hbqt_par_QWidget( 3 ) ), false ) ); -} - -/* bool isAreaAllowed ( Qt::ToolBarArea area ) const */ -HB_FUNC( QT_QTOOLBAR_ISAREAALLOWED ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retl( ( p )->isAreaAllowed( ( Qt::ToolBarArea ) hb_parni( 2 ) ) ); -} - -/* bool isFloatable () const */ -HB_FUNC( QT_QTOOLBAR_ISFLOATABLE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retl( ( p )->isFloatable() ); -} - -/* bool isFloating () const */ -HB_FUNC( QT_QTOOLBAR_ISFLOATING ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retl( ( p )->isFloating() ); -} - -/* bool isMovable () const */ -HB_FUNC( QT_QTOOLBAR_ISMOVABLE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retl( ( p )->isMovable() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QTOOLBAR_ORIENTATION ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* void setAllowedAreas ( Qt::ToolBarAreas areas ) */ -HB_FUNC( QT_QTOOLBAR_SETALLOWEDAREAS ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->setAllowedAreas( ( Qt::ToolBarAreas ) hb_parni( 2 ) ); -} - -/* void setFloatable ( bool floatable ) */ -HB_FUNC( QT_QTOOLBAR_SETFLOATABLE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->setFloatable( hb_parl( 2 ) ); -} - -/* void setMovable ( bool movable ) */ -HB_FUNC( QT_QTOOLBAR_SETMOVABLE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->setMovable( hb_parl( 2 ) ); -} - -/* void setOrientation ( Qt::Orientation orientation ) */ -HB_FUNC( QT_QTOOLBAR_SETORIENTATION ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* QAction * toggleViewAction () const */ -HB_FUNC( QT_QTOOLBAR_TOGGLEVIEWACTION ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->toggleViewAction(), false ) ); -} - -/* Qt::ToolButtonStyle toolButtonStyle () const */ -HB_FUNC( QT_QTOOLBAR_TOOLBUTTONSTYLE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retni( ( Qt::ToolButtonStyle ) ( p )->toolButtonStyle() ); -} - -/* QWidget * widgetForAction ( QAction * action ) const */ -HB_FUNC( QT_QTOOLBAR_WIDGETFORACTION ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widgetForAction( hbqt_par_QAction( 2 ) ), false ) ); -} - -/* void setIconSize ( const QSize & iconSize ) */ -HB_FUNC( QT_QTOOLBAR_SETICONSIZE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle ) */ -HB_FUNC( QT_QTOOLBAR_SETTOOLBUTTONSTYLE ) -{ - QToolBar * p = hbqt_par_QToolBar( 1 ); - if( p ) - ( p )->setToolButtonStyle( ( Qt::ToolButtonStyle ) hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp b/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp deleted file mode 100644 index e4bbe2ddd6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QToolBox.cpp +++ /dev/null @@ -1,272 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 20/20 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QToolBox ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QToolBox () - */ - -typedef struct -{ - QPointer< QToolBox > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QToolBox; - -HBQT_GC_FUNC( hbqt_gcRelease_QToolBox ) -{ - HBQT_GC_T_QToolBox * p = ( HBQT_GC_T_QToolBox * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QToolBox * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QToolBox( void * pObj, bool bNew ) -{ - HBQT_GC_T_QToolBox * p = ( HBQT_GC_T_QToolBox * ) hb_gcAllocate( sizeof( HBQT_GC_T_QToolBox ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QToolBox >( ( QToolBox * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QToolBox; - p->type = HBQT_TYPE_QToolBox; - - return p; -} - -HB_FUNC( QT_QTOOLBOX ) -{ - QToolBox * pObj = NULL; - - pObj = new QToolBox( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QToolBox( ( void * ) pObj, true ) ); -} - -/* int addItem ( QWidget * widget, const QIcon & iconSet, const QString & text ) */ -HB_FUNC( QT_QTOOLBOX_ADDITEM ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->addItem( hbqt_par_QWidget( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )), hb_parstr_utf8( 4, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int addItem ( QWidget * w, const QString & text ) */ -HB_FUNC( QT_QTOOLBOX_ADDITEM_1 ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->addItem( hbqt_par_QWidget( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int count () const */ -HB_FUNC( QT_QTOOLBOX_COUNT ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* int currentIndex () const */ -HB_FUNC( QT_QTOOLBOX_CURRENTINDEX ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retni( ( p )->currentIndex() ); -} - -/* QWidget * currentWidget () const */ -HB_FUNC( QT_QTOOLBOX_CURRENTWIDGET ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->currentWidget(), false ) ); -} - -/* int indexOf ( QWidget * widget ) const */ -HB_FUNC( QT_QTOOLBOX_INDEXOF ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retni( ( p )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* int insertItem ( int index, QWidget * widget, const QIcon & icon, const QString & text ) */ -HB_FUNC( QT_QTOOLBOX_INSERTITEM ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->insertItem( hb_parni( 2 ), hbqt_par_QWidget( 3 ), ( HB_ISCHAR( 4 ) ? QIcon( hbqt_par_QString( 4 ) ) : *hbqt_par_QIcon( 4 )), hb_parstr_utf8( 5, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int insertItem ( int index, QWidget * widget, const QString & text ) */ -HB_FUNC( QT_QTOOLBOX_INSERTITEM_1 ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->insertItem( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isItemEnabled ( int index ) const */ -HB_FUNC( QT_QTOOLBOX_ISITEMENABLED ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retl( ( p )->isItemEnabled( hb_parni( 2 ) ) ); -} - -/* QIcon itemIcon ( int index ) const */ -HB_FUNC( QT_QTOOLBOX_ITEMICON ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->itemIcon( hb_parni( 2 ) ) ), true ) ); -} - -/* QString itemText ( int index ) const */ -HB_FUNC( QT_QTOOLBOX_ITEMTEXT ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->itemText( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QString itemToolTip ( int index ) const */ -HB_FUNC( QT_QTOOLBOX_ITEMTOOLTIP ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retstr_utf8( ( p )->itemToolTip( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* void removeItem ( int index ) */ -HB_FUNC( QT_QTOOLBOX_REMOVEITEM ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - ( p )->removeItem( hb_parni( 2 ) ); -} - -/* void setItemEnabled ( int index, bool enabled ) */ -HB_FUNC( QT_QTOOLBOX_SETITEMENABLED ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - ( p )->setItemEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setItemIcon ( int index, const QIcon & icon ) */ -HB_FUNC( QT_QTOOLBOX_SETITEMICON ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - ( p )->setItemIcon( hb_parni( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )) ); -} - -/* void setItemText ( int index, const QString & text ) */ -HB_FUNC( QT_QTOOLBOX_SETITEMTEXT ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - { - void * pText; - ( p )->setItemText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setItemToolTip ( int index, const QString & toolTip ) */ -HB_FUNC( QT_QTOOLBOX_SETITEMTOOLTIP ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - { - void * pText; - ( p )->setItemToolTip( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QWidget * widget ( int index ) const */ -HB_FUNC( QT_QTOOLBOX_WIDGET ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget( hb_parni( 2 ) ), false ) ); -} - -/* void setCurrentIndex ( int index ) */ -HB_FUNC( QT_QTOOLBOX_SETCURRENTINDEX ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - ( p )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* void setCurrentWidget ( QWidget * widget ) */ -HB_FUNC( QT_QTOOLBOX_SETCURRENTWIDGET ) -{ - QToolBox * p = hbqt_par_QToolBox( 1 ); - if( p ) - ( p )->setCurrentWidget( hbqt_par_QWidget( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp b/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp deleted file mode 100644 index 7a5bfa8d5c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QToolButton.cpp +++ /dev/null @@ -1,196 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ToolButtonPopupMode { DelayedPopup, MenuButtonPopup, InstantPopup } - */ - -/* - * Constructed[ 13/13 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QToolButton ( QWidget * parent = 0 ) - * ~QToolButton () - */ - -typedef struct -{ - QPointer< QToolButton > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QToolButton; - -HBQT_GC_FUNC( hbqt_gcRelease_QToolButton ) -{ - HBQT_GC_T_QToolButton * p = ( HBQT_GC_T_QToolButton * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QToolButton * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QToolButton( void * pObj, bool bNew ) -{ - HBQT_GC_T_QToolButton * p = ( HBQT_GC_T_QToolButton * ) hb_gcAllocate( sizeof( HBQT_GC_T_QToolButton ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QToolButton >( ( QToolButton * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QToolButton; - p->type = HBQT_TYPE_QToolButton; - - return p; -} - -HB_FUNC( QT_QTOOLBUTTON ) -{ - QToolButton * pObj = NULL; - - pObj = new QToolButton( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QToolButton( ( void * ) pObj, true ) ); -} - -/* Qt::ArrowType arrowType () const */ -HB_FUNC( QT_QTOOLBUTTON_ARROWTYPE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - hb_retni( ( Qt::ArrowType ) ( p )->arrowType() ); -} - -/* bool autoRaise () const */ -HB_FUNC( QT_QTOOLBUTTON_AUTORAISE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - hb_retl( ( p )->autoRaise() ); -} - -/* QAction * defaultAction () const */ -HB_FUNC( QT_QTOOLBUTTON_DEFAULTACTION ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->defaultAction(), false ) ); -} - -/* QMenu * menu () const */ -HB_FUNC( QT_QTOOLBUTTON_MENU ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->menu(), false ) ); -} - -/* ToolButtonPopupMode popupMode () const */ -HB_FUNC( QT_QTOOLBUTTON_POPUPMODE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - hb_retni( ( QToolButton::ToolButtonPopupMode ) ( p )->popupMode() ); -} - -/* void setArrowType ( Qt::ArrowType type ) */ -HB_FUNC( QT_QTOOLBUTTON_SETARROWTYPE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->setArrowType( ( Qt::ArrowType ) hb_parni( 2 ) ); -} - -/* void setAutoRaise ( bool enable ) */ -HB_FUNC( QT_QTOOLBUTTON_SETAUTORAISE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->setAutoRaise( hb_parl( 2 ) ); -} - -/* void setMenu ( QMenu * menu ) */ -HB_FUNC( QT_QTOOLBUTTON_SETMENU ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->setMenu( hbqt_par_QMenu( 2 ) ); -} - -/* void setPopupMode ( ToolButtonPopupMode mode ) */ -HB_FUNC( QT_QTOOLBUTTON_SETPOPUPMODE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->setPopupMode( ( QToolButton::ToolButtonPopupMode ) hb_parni( 2 ) ); -} - -/* Qt::ToolButtonStyle toolButtonStyle () const */ -HB_FUNC( QT_QTOOLBUTTON_TOOLBUTTONSTYLE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - hb_retni( ( Qt::ToolButtonStyle ) ( p )->toolButtonStyle() ); -} - -/* void setDefaultAction ( QAction * action ) */ -HB_FUNC( QT_QTOOLBUTTON_SETDEFAULTACTION ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->setDefaultAction( hbqt_par_QAction( 2 ) ); -} - -/* void setToolButtonStyle ( Qt::ToolButtonStyle style ) */ -HB_FUNC( QT_QTOOLBUTTON_SETTOOLBUTTONSTYLE ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->setToolButtonStyle( ( Qt::ToolButtonStyle ) hb_parni( 2 ) ); -} - -/* void showMenu () */ -HB_FUNC( QT_QTOOLBUTTON_SHOWMENU ) -{ - QToolButton * p = hbqt_par_QToolButton( 1 ); - if( p ) - ( p )->showMenu(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTransform.cpp b/harbour/contrib/hbqt/qtgui/g/QTransform.cpp deleted file mode 100644 index 115fe4ca0f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTransform.cpp +++ /dev/null @@ -1,496 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum TransformationType { TxNone, TxTranslate, TxScale, TxRotate, TxShear, TxProject } - */ - -/* - * Constructed[ 49/49 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QTransform () - * QTransform ( qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33 = 1.0 ) - * QTransform ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) - * QTransform ( const QMatrix & matrix ) - */ - -typedef struct -{ - QTransform * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTransform; - -HBQT_GC_FUNC( hbqt_gcRelease_QTransform ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTransform * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTransform( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTransform * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTransform; - p->type = HBQT_TYPE_QTransform; - - return p; -} - -HB_FUNC( QT_QTRANSFORM ) -{ - QTransform * pObj = NULL; - - pObj = new QTransform() ; - - hb_retptrGC( hbqt_gcAllocate_QTransform( ( void * ) pObj, true ) ); -} - -/* qreal m11 () const */ -HB_FUNC( QT_QTRANSFORM_M11 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m11() ); -} - -/* qreal m12 () const */ -HB_FUNC( QT_QTRANSFORM_M12 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m12() ); -} - -/* qreal m13 () const */ -HB_FUNC( QT_QTRANSFORM_M13 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m13() ); -} - -/* qreal m21 () const */ -HB_FUNC( QT_QTRANSFORM_M21 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m21() ); -} - -/* qreal m22 () const */ -HB_FUNC( QT_QTRANSFORM_M22 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m22() ); -} - -/* qreal m23 () const */ -HB_FUNC( QT_QTRANSFORM_M23 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m23() ); -} - -/* qreal m31 () const */ -HB_FUNC( QT_QTRANSFORM_M31 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m31() ); -} - -/* qreal m32 () const */ -HB_FUNC( QT_QTRANSFORM_M32 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m32() ); -} - -/* qreal m33 () const */ -HB_FUNC( QT_QTRANSFORM_M33 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->m33() ); -} - -/* QTransform adjoint () const */ -HB_FUNC( QT_QTRANSFORM_ADJOINT ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->adjoint() ), true ) ); -} - -/* qreal det () const */ -HB_FUNC( QT_QTRANSFORM_DET ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->det() ); -} - -/* qreal determinant () const */ -HB_FUNC( QT_QTRANSFORM_DETERMINANT ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->determinant() ); -} - -/* qreal dx () const */ -HB_FUNC( QT_QTRANSFORM_DX ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->dx() ); -} - -/* qreal dy () const */ -HB_FUNC( QT_QTRANSFORM_DY ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retnd( ( p )->dy() ); -} - -/* QTransform inverted ( bool * invertible = 0 ) const */ -HB_FUNC( QT_QTRANSFORM_INVERTED ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - bool iInvertible = 0; - - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->inverted( &iInvertible ) ), true ) ); - - hb_stornl( iInvertible, 2 ); -} - -/* bool isAffine () const */ -HB_FUNC( QT_QTRANSFORM_ISAFFINE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->isAffine() ); -} - -/* bool isIdentity () const */ -HB_FUNC( QT_QTRANSFORM_ISIDENTITY ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->isIdentity() ); -} - -/* bool isInvertible () const */ -HB_FUNC( QT_QTRANSFORM_ISINVERTIBLE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->isInvertible() ); -} - -/* bool isRotating () const */ -HB_FUNC( QT_QTRANSFORM_ISROTATING ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->isRotating() ); -} - -/* bool isScaling () const */ -HB_FUNC( QT_QTRANSFORM_ISSCALING ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->isScaling() ); -} - -/* bool isTranslating () const */ -HB_FUNC( QT_QTRANSFORM_ISTRANSLATING ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->isTranslating() ); -} - -/* void map ( qreal x, qreal y, qreal * tx, qreal * ty ) const */ -HB_FUNC( QT_QTRANSFORM_MAP ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - qreal qrTx = 0; - qreal qrTy = 0; - - if( p ) - ( p )->map( hb_parnd( 2 ), hb_parnd( 3 ), &qrTx, &qrTy ); - - hb_stornd( qrTx, 4 ); - hb_stornd( qrTy, 5 ); -} - -/* QPointF map ( const QPointF & p ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_1 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->map( *hbqt_par_QPointF( 2 ) ) ), true ) ); -} - -/* QPoint map ( const QPoint & point ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_2 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->map( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QLine map ( const QLine & l ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_3 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLine( new QLine( ( p )->map( *hbqt_par_QLine( 2 ) ) ), true ) ); -} - -/* QLineF map ( const QLineF & line ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_4 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->map( *hbqt_par_QLineF( 2 ) ) ), true ) ); -} - -/* QPolygonF map ( const QPolygonF & polygon ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_5 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->map( *hbqt_par_QPolygonF( 2 ) ) ), true ) ); -} - -/* QPolygon map ( const QPolygon & polygon ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_6 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->map( *hbqt_par_QPolygon( 2 ) ) ), true ) ); -} - -/* QRegion map ( const QRegion & region ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_7 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->map( *hbqt_par_QRegion( 2 ) ) ), true ) ); -} - -/* QPainterPath map ( const QPainterPath & path ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_8 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->map( *hbqt_par_QPainterPath( 2 ) ) ), true ) ); -} - -/* void map ( int x, int y, int * tx, int * ty ) const */ -HB_FUNC( QT_QTRANSFORM_MAP_9 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - int iTx = 0; - int iTy = 0; - - if( p ) - ( p )->map( hb_parni( 2 ), hb_parni( 3 ), &iTx, &iTy ); - - hb_storni( iTx, 4 ); - hb_storni( iTy, 5 ); -} - -/* QRectF mapRect ( const QRectF & rectangle ) const */ -HB_FUNC( QT_QTRANSFORM_MAPRECT ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->mapRect( *hbqt_par_QRectF( 2 ) ) ), true ) ); -} - -/* QRect mapRect ( const QRect & rectangle ) const */ -HB_FUNC( QT_QTRANSFORM_MAPRECT_1 ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->mapRect( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* QPolygon mapToPolygon ( const QRect & rectangle ) const */ -HB_FUNC( QT_QTRANSFORM_MAPTOPOLYGON ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPolygon( new QPolygon( ( p )->mapToPolygon( *hbqt_par_QRect( 2 ) ) ), true ) ); -} - -/* void reset () */ -HB_FUNC( QT_QTRANSFORM_RESET ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - ( p )->reset(); -} - -/* QTransform & rotate ( qreal angle, Qt::Axis axis = Qt::ZAxis ) */ -HB_FUNC( QT_QTRANSFORM_ROTATE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->rotate( hb_parnd( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::Axis ) hb_parni( 3 ) : ( Qt::Axis ) Qt::ZAxis ) ) ), true ) ); -} - -/* QTransform & rotateRadians ( qreal angle, Qt::Axis axis = Qt::ZAxis ) */ -HB_FUNC( QT_QTRANSFORM_ROTATERADIANS ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->rotateRadians( hb_parnd( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::Axis ) hb_parni( 3 ) : ( Qt::Axis ) Qt::ZAxis ) ) ), true ) ); -} - -/* QTransform & scale ( qreal sx, qreal sy ) */ -HB_FUNC( QT_QTRANSFORM_SCALE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->scale( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* void setMatrix ( qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33 ) */ -HB_FUNC( QT_QTRANSFORM_SETMATRIX ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - ( p )->setMatrix( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ), hb_parnd( 8 ), hb_parnd( 9 ), hb_parnd( 10 ) ); -} - -/* QTransform & shear ( qreal sh, qreal sv ) */ -HB_FUNC( QT_QTRANSFORM_SHEAR ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->shear( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* const QMatrix & toAffine () const */ -HB_FUNC( QT_QTRANSFORM_TOAFFINE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->toAffine() ), true ) ); -} - -/* QTransform & translate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QTRANSFORM_TRANSLATE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QTransform transposed () const */ -HB_FUNC( QT_QTRANSFORM_TRANSPOSED ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->transposed() ), true ) ); -} - -/* TransformationType type () const */ -HB_FUNC( QT_QTRANSFORM_TYPE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retni( ( QTransform::TransformationType ) ( p )->type() ); -} - -/* QTransform fromScale ( qreal sx, qreal sy ) */ -HB_FUNC( QT_QTRANSFORM_FROMSCALE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->fromScale( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* QTransform fromTranslate ( qreal dx, qreal dy ) */ -HB_FUNC( QT_QTRANSFORM_FROMTRANSLATE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTransform( new QTransform( ( p )->fromTranslate( hb_parnd( 2 ), hb_parnd( 3 ) ) ), true ) ); -} - -/* bool quadToQuad ( const QPolygonF & one, const QPolygonF & two, QTransform & trans ) */ -HB_FUNC( QT_QTRANSFORM_QUADTOQUAD ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->quadToQuad( *hbqt_par_QPolygonF( 2 ), *hbqt_par_QPolygonF( 3 ), *hbqt_par_QTransform( 4 ) ) ); -} - -/* bool quadToSquare ( const QPolygonF & quad, QTransform & trans ) */ -HB_FUNC( QT_QTRANSFORM_QUADTOSQUARE ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->quadToSquare( *hbqt_par_QPolygonF( 2 ), *hbqt_par_QTransform( 3 ) ) ); -} - -/* bool squareToQuad ( const QPolygonF & quad, QTransform & trans ) */ -HB_FUNC( QT_QTRANSFORM_SQUARETOQUAD ) -{ - QTransform * p = hbqt_par_QTransform( 1 ); - if( p ) - hb_retl( ( p )->squareToQuad( *hbqt_par_QPolygonF( 2 ), *hbqt_par_QTransform( 3 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp b/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp deleted file mode 100644 index c3b31ff946..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTreeView.cpp +++ /dev/null @@ -1,492 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * # These enums are defined in QAbstractItemView class - * # - * enum DragDropMode { NoDragDrop, DragOnly, DropOnly, DragDrop, InternalMove } - * enum EditTrigger { NoEditTriggers, CurrentChanged, DoubleClicked, SelectedClicked, ..., AllEditTriggers } - * enum ScrollHint { EnsureVisible, PositionAtTop, PositionAtBottom, PositionAtCenter } - * enum ScrollMode { ScrollPerItem, ScrollPerPixel } - * enum SelectionBehavior { SelectItems, SelectRows, SelectColumns } - * enum SelectionMode { SingleSelection, ContiguousSelection, ExtendedSelection, MultiSelection, NoSelection } - * flags EditTriggers - */ - -/* - * Constructed[ 49/49 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QTreeView ( QWidget * parent = 0 ) - * ~QTreeView () - */ - -typedef struct -{ - QPointer< QTreeView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTreeView; - -HBQT_GC_FUNC( hbqt_gcRelease_QTreeView ) -{ - HBQT_GC_T_QTreeView * p = ( HBQT_GC_T_QTreeView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTreeView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTreeView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTreeView * p = ( HBQT_GC_T_QTreeView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTreeView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTreeView >( ( QTreeView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTreeView; - p->type = HBQT_TYPE_QTreeView; - - return p; -} - -HB_FUNC( QT_QTREEVIEW ) -{ - QTreeView * pObj = NULL; - - pObj = new QTreeView( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTreeView( ( void * ) pObj, true ) ); -} - -/* bool allColumnsShowFocus () const */ -HB_FUNC( QT_QTREEVIEW_ALLCOLUMNSSHOWFOCUS ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->allColumnsShowFocus() ); -} - -/* int autoExpandDelay () const */ -HB_FUNC( QT_QTREEVIEW_AUTOEXPANDDELAY ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retni( ( p )->autoExpandDelay() ); -} - -/* int columnAt ( int x ) const */ -HB_FUNC( QT_QTREEVIEW_COLUMNAT ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retni( ( p )->columnAt( hb_parni( 2 ) ) ); -} - -/* int columnViewportPosition ( int column ) const */ -HB_FUNC( QT_QTREEVIEW_COLUMNVIEWPORTPOSITION ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retni( ( p )->columnViewportPosition( hb_parni( 2 ) ) ); -} - -/* int columnWidth ( int column ) const */ -HB_FUNC( QT_QTREEVIEW_COLUMNWIDTH ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retni( ( p )->columnWidth( hb_parni( 2 ) ) ); -} - -/* bool expandsOnDoubleClick () const */ -HB_FUNC( QT_QTREEVIEW_EXPANDSONDOUBLECLICK ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->expandsOnDoubleClick() ); -} - -/* QHeaderView * header () const */ -HB_FUNC( QT_QTREEVIEW_HEADER ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QHeaderView( ( p )->header(), false ) ); -} - -/* int indentation () const */ -HB_FUNC( QT_QTREEVIEW_INDENTATION ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retni( ( p )->indentation() ); -} - -/* QModelIndex indexAbove ( const QModelIndex & index ) const */ -HB_FUNC( QT_QTREEVIEW_INDEXABOVE ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->indexAbove( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* QModelIndex indexBelow ( const QModelIndex & index ) const */ -HB_FUNC( QT_QTREEVIEW_INDEXBELOW ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->indexBelow( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* bool isAnimated () const */ -HB_FUNC( QT_QTREEVIEW_ISANIMATED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isAnimated() ); -} - -/* bool isColumnHidden ( int column ) const */ -HB_FUNC( QT_QTREEVIEW_ISCOLUMNHIDDEN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isColumnHidden( hb_parni( 2 ) ) ); -} - -/* bool isExpanded ( const QModelIndex & index ) const */ -HB_FUNC( QT_QTREEVIEW_ISEXPANDED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isExpanded( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* bool isFirstColumnSpanned ( int row, const QModelIndex & parent ) const */ -HB_FUNC( QT_QTREEVIEW_ISFIRSTCOLUMNSPANNED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isFirstColumnSpanned( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* bool isHeaderHidden () const */ -HB_FUNC( QT_QTREEVIEW_ISHEADERHIDDEN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isHeaderHidden() ); -} - -/* bool isRowHidden ( int row, const QModelIndex & parent ) const */ -HB_FUNC( QT_QTREEVIEW_ISROWHIDDEN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isRowHidden( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* bool isSortingEnabled () const */ -HB_FUNC( QT_QTREEVIEW_ISSORTINGENABLED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->isSortingEnabled() ); -} - -/* bool itemsExpandable () const */ -HB_FUNC( QT_QTREEVIEW_ITEMSEXPANDABLE ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->itemsExpandable() ); -} - -/* bool rootIsDecorated () const */ -HB_FUNC( QT_QTREEVIEW_ROOTISDECORATED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->rootIsDecorated() ); -} - -/* virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) */ -HB_FUNC( QT_QTREEVIEW_SCROLLTO ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->scrollTo( *hbqt_par_QModelIndex( 2 ), ( HB_ISNUM( 3 ) ? ( QTreeView::ScrollHint ) hb_parni( 3 ) : ( QTreeView::ScrollHint ) QTreeView::EnsureVisible ) ); -} - -/* void setAllColumnsShowFocus ( bool enable ) */ -HB_FUNC( QT_QTREEVIEW_SETALLCOLUMNSSHOWFOCUS ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setAllColumnsShowFocus( hb_parl( 2 ) ); -} - -/* void setAnimated ( bool enable ) */ -HB_FUNC( QT_QTREEVIEW_SETANIMATED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setAnimated( hb_parl( 2 ) ); -} - -/* void setAutoExpandDelay ( int delay ) */ -HB_FUNC( QT_QTREEVIEW_SETAUTOEXPANDDELAY ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setAutoExpandDelay( hb_parni( 2 ) ); -} - -/* void setColumnHidden ( int column, bool hide ) */ -HB_FUNC( QT_QTREEVIEW_SETCOLUMNHIDDEN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setColumnHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setColumnWidth ( int column, int width ) */ -HB_FUNC( QT_QTREEVIEW_SETCOLUMNWIDTH ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setColumnWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setExpanded ( const QModelIndex & index, bool expanded ) */ -HB_FUNC( QT_QTREEVIEW_SETEXPANDED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setExpanded( *hbqt_par_QModelIndex( 2 ), hb_parl( 3 ) ); -} - -/* void setExpandsOnDoubleClick ( bool enable ) */ -HB_FUNC( QT_QTREEVIEW_SETEXPANDSONDOUBLECLICK ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setExpandsOnDoubleClick( hb_parl( 2 ) ); -} - -/* void setFirstColumnSpanned ( int row, const QModelIndex & parent, bool span ) */ -HB_FUNC( QT_QTREEVIEW_SETFIRSTCOLUMNSPANNED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setFirstColumnSpanned( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ), hb_parl( 4 ) ); -} - -/* void setHeader ( QHeaderView * header ) */ -HB_FUNC( QT_QTREEVIEW_SETHEADER ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setHeader( hbqt_par_QHeaderView( 2 ) ); -} - -/* void setHeaderHidden ( bool hide ) */ -HB_FUNC( QT_QTREEVIEW_SETHEADERHIDDEN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setHeaderHidden( hb_parl( 2 ) ); -} - -/* void setIndentation ( int i ) */ -HB_FUNC( QT_QTREEVIEW_SETINDENTATION ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setIndentation( hb_parni( 2 ) ); -} - -/* void setItemsExpandable ( bool enable ) */ -HB_FUNC( QT_QTREEVIEW_SETITEMSEXPANDABLE ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setItemsExpandable( hb_parl( 2 ) ); -} - -/* void setRootIsDecorated ( bool show ) */ -HB_FUNC( QT_QTREEVIEW_SETROOTISDECORATED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setRootIsDecorated( hb_parl( 2 ) ); -} - -/* void setRowHidden ( int row, const QModelIndex & parent, bool hide ) */ -HB_FUNC( QT_QTREEVIEW_SETROWHIDDEN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setRowHidden( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ), hb_parl( 4 ) ); -} - -/* void setSortingEnabled ( bool enable ) */ -HB_FUNC( QT_QTREEVIEW_SETSORTINGENABLED ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setSortingEnabled( hb_parl( 2 ) ); -} - -/* void setUniformRowHeights ( bool uniform ) */ -HB_FUNC( QT_QTREEVIEW_SETUNIFORMROWHEIGHTS ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setUniformRowHeights( hb_parl( 2 ) ); -} - -/* void setWordWrap ( bool on ) */ -HB_FUNC( QT_QTREEVIEW_SETWORDWRAP ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->setWordWrap( hb_parl( 2 ) ); -} - -/* void sortByColumn ( int column, Qt::SortOrder order ) */ -HB_FUNC( QT_QTREEVIEW_SORTBYCOLUMN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->sortByColumn( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* bool uniformRowHeights () const */ -HB_FUNC( QT_QTREEVIEW_UNIFORMROWHEIGHTS ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->uniformRowHeights() ); -} - -/* virtual QRect visualRect ( const QModelIndex & index ) const */ -HB_FUNC( QT_QTREEVIEW_VISUALRECT ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->visualRect( *hbqt_par_QModelIndex( 2 ) ) ), true ) ); -} - -/* bool wordWrap () const */ -HB_FUNC( QT_QTREEVIEW_WORDWRAP ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - hb_retl( ( p )->wordWrap() ); -} - -/* void collapse ( const QModelIndex & index ) */ -HB_FUNC( QT_QTREEVIEW_COLLAPSE ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->collapse( *hbqt_par_QModelIndex( 2 ) ); -} - -/* void collapseAll () */ -HB_FUNC( QT_QTREEVIEW_COLLAPSEALL ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->collapseAll(); -} - -/* void expand ( const QModelIndex & index ) */ -HB_FUNC( QT_QTREEVIEW_EXPAND ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->expand( *hbqt_par_QModelIndex( 2 ) ); -} - -/* void expandAll () */ -HB_FUNC( QT_QTREEVIEW_EXPANDALL ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->expandAll(); -} - -/* void expandToDepth ( int depth ) */ -HB_FUNC( QT_QTREEVIEW_EXPANDTODEPTH ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->expandToDepth( hb_parni( 2 ) ); -} - -/* void hideColumn ( int column ) */ -HB_FUNC( QT_QTREEVIEW_HIDECOLUMN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->hideColumn( hb_parni( 2 ) ); -} - -/* void resizeColumnToContents ( int column ) */ -HB_FUNC( QT_QTREEVIEW_RESIZECOLUMNTOCONTENTS ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->resizeColumnToContents( hb_parni( 2 ) ); -} - -/* void showColumn ( int column ) */ -HB_FUNC( QT_QTREEVIEW_SHOWCOLUMN ) -{ - QTreeView * p = hbqt_par_QTreeView( 1 ); - if( p ) - ( p )->showColumn( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp deleted file mode 100644 index 5d70154fed..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTreeWidget.cpp +++ /dev/null @@ -1,427 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 39/41 [ 95.12% ] ] - * - * *** Unconvered Prototypes *** - * - * void addTopLevelItems ( const QList & items ) - * void insertTopLevelItems ( int index, const QList & items ) - */ - -#include - -#include - - -/* - * QTreeWidget ( QWidget * parent = 0 ) - * ~QTreeWidget () - */ - -typedef struct -{ - QPointer< QTreeWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTreeWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QTreeWidget ) -{ - HBQT_GC_T_QTreeWidget * p = ( HBQT_GC_T_QTreeWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QTreeWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTreeWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QTreeWidget * p = ( HBQT_GC_T_QTreeWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTreeWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QTreeWidget >( ( QTreeWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QTreeWidget; - p->type = HBQT_TYPE_QTreeWidget; - - return p; -} - -HB_FUNC( QT_QTREEWIDGET ) -{ - QTreeWidget * pObj = NULL; - - pObj = new QTreeWidget( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QTreeWidget( ( void * ) pObj, true ) ); -} - -/* void addTopLevelItem ( QTreeWidgetItem * item ) [*D=1*] */ -HB_FUNC( QT_QTREEWIDGET_ADDTOPLEVELITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addTopLevelItem( hbqt_par_QTreeWidgetItem( 2 ) ); - } -} - -/* void closePersistentEditor ( QTreeWidgetItem * item, int column = 0 ) */ -HB_FUNC( QT_QTREEWIDGET_CLOSEPERSISTENTEDITOR ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->closePersistentEditor( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QTREEWIDGET_COLUMNCOUNT ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* int currentColumn () const */ -HB_FUNC( QT_QTREEWIDGET_CURRENTCOLUMN ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retni( ( p )->currentColumn() ); -} - -/* QTreeWidgetItem * currentItem () const */ -HB_FUNC( QT_QTREEWIDGET_CURRENTITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->currentItem(), false ) ); -} - -/* void editItem ( QTreeWidgetItem * item, int column = 0 ) */ -HB_FUNC( QT_QTREEWIDGET_EDITITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->editItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* QList findItems ( const QString & text, Qt::MatchFlags flags, int column = 0 ) const */ -HB_FUNC( QT_QTREEWIDGET_FINDITEMS ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->findItems( hb_parstr_utf8( 2, &pText, NULL ), ( Qt::MatchFlags ) hb_parni( 3 ), hb_parni( 4 ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* QTreeWidgetItem * headerItem () const */ -HB_FUNC( QT_QTREEWIDGET_HEADERITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->headerItem(), false ) ); -} - -/* int indexOfTopLevelItem ( QTreeWidgetItem * item ) const */ -HB_FUNC( QT_QTREEWIDGET_INDEXOFTOPLEVELITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retni( ( p )->indexOfTopLevelItem( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* void insertTopLevelItem ( int index, QTreeWidgetItem * item ) */ -HB_FUNC( QT_QTREEWIDGET_INSERTTOPLEVELITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->insertTopLevelItem( hb_parni( 2 ), hbqt_par_QTreeWidgetItem( 3 ) ); -} - -/* QTreeWidgetItem * invisibleRootItem () const */ -HB_FUNC( QT_QTREEWIDGET_INVISIBLEROOTITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->invisibleRootItem(), false ) ); -} - -/* bool isFirstItemColumnSpanned ( const QTreeWidgetItem * item ) const */ -HB_FUNC( QT_QTREEWIDGET_ISFIRSTITEMCOLUMNSPANNED ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retl( ( p )->isFirstItemColumnSpanned( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* QTreeWidgetItem * itemAbove ( const QTreeWidgetItem * item ) const */ -HB_FUNC( QT_QTREEWIDGET_ITEMABOVE ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->itemAbove( hbqt_par_QTreeWidgetItem( 2 ) ), false ) ); -} - -/* QTreeWidgetItem * itemAt ( const QPoint & p ) const */ -HB_FUNC( QT_QTREEWIDGET_ITEMAT ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->itemAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QTreeWidgetItem * itemAt ( int x, int y ) const */ -HB_FUNC( QT_QTREEWIDGET_ITEMAT_1 ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QTreeWidgetItem * itemBelow ( const QTreeWidgetItem * item ) const */ -HB_FUNC( QT_QTREEWIDGET_ITEMBELOW ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->itemBelow( hbqt_par_QTreeWidgetItem( 2 ) ), false ) ); -} - -/* QWidget * itemWidget ( QTreeWidgetItem * item, int column ) const */ -HB_FUNC( QT_QTREEWIDGET_ITEMWIDGET ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->itemWidget( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* void openPersistentEditor ( QTreeWidgetItem * item, int column = 0 ) */ -HB_FUNC( QT_QTREEWIDGET_OPENPERSISTENTEDITOR ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->openPersistentEditor( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* void removeItemWidget ( QTreeWidgetItem * item, int column ) */ -HB_FUNC( QT_QTREEWIDGET_REMOVEITEMWIDGET ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->removeItemWidget( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* QList selectedItems () const */ -HB_FUNC( QT_QTREEWIDGET_SELECTEDITEMS ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->selectedItems() ), true ) ); -} - -/* void setColumnCount ( int columns ) */ -HB_FUNC( QT_QTREEWIDGET_SETCOLUMNCOUNT ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->setColumnCount( hb_parni( 2 ) ); -} - -/* void setCurrentItem ( QTreeWidgetItem * item ) [*D=1*] */ -HB_FUNC( QT_QTREEWIDGET_SETCURRENTITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ) ); - } -} - -/* void setCurrentItem ( QTreeWidgetItem * item, int column ) [*D=1*] */ -HB_FUNC( QT_QTREEWIDGET_SETCURRENTITEM_1 ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); - } -} - -/* void setCurrentItem ( QTreeWidgetItem * item, int column, QItemSelectionModel::SelectionFlags command ) [*D=1*] */ -HB_FUNC( QT_QTREEWIDGET_SETCURRENTITEM_2 ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 4 ) ); - } -} - -/* void setFirstItemColumnSpanned ( const QTreeWidgetItem * item, bool span ) */ -HB_FUNC( QT_QTREEWIDGET_SETFIRSTITEMCOLUMNSPANNED ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->setFirstItemColumnSpanned( hbqt_par_QTreeWidgetItem( 2 ), hb_parl( 3 ) ); -} - -/* void setHeaderItem ( QTreeWidgetItem * item ) [*D=1*] */ -HB_FUNC( QT_QTREEWIDGET_SETHEADERITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->setHeaderItem( hbqt_par_QTreeWidgetItem( 2 ) ); - } -} - -/* void setHeaderLabel ( const QString & label ) */ -HB_FUNC( QT_QTREEWIDGET_SETHEADERLABEL ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setHeaderLabel( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setHeaderLabels ( const QStringList & labels ) */ -HB_FUNC( QT_QTREEWIDGET_SETHEADERLABELS ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->setHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* void setItemWidget ( QTreeWidgetItem * item, int column, QWidget * widget ) */ -HB_FUNC( QT_QTREEWIDGET_SETITEMWIDGET ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->setItemWidget( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* int sortColumn () const */ -HB_FUNC( QT_QTREEWIDGET_SORTCOLUMN ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retni( ( p )->sortColumn() ); -} - -/* void sortItems ( int column, Qt::SortOrder order ) */ -HB_FUNC( QT_QTREEWIDGET_SORTITEMS ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->sortItems( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* QTreeWidgetItem * takeTopLevelItem ( int index ) */ -HB_FUNC( QT_QTREEWIDGET_TAKETOPLEVELITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->takeTopLevelItem( hb_parni( 2 ) ), false ) ); -} - -/* QTreeWidgetItem * topLevelItem ( int index ) const */ -HB_FUNC( QT_QTREEWIDGET_TOPLEVELITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->topLevelItem( hb_parni( 2 ) ), false ) ); -} - -/* int topLevelItemCount () const */ -HB_FUNC( QT_QTREEWIDGET_TOPLEVELITEMCOUNT ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retni( ( p )->topLevelItemCount() ); -} - -/* QRect visualItemRect ( const QTreeWidgetItem * item ) const */ -HB_FUNC( QT_QTREEWIDGET_VISUALITEMRECT ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->visualItemRect( hbqt_par_QTreeWidgetItem( 2 ) ) ), true ) ); -} - -/* void clear () */ -HB_FUNC( QT_QTREEWIDGET_CLEAR ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->clear(); -} - -/* void collapseItem ( const QTreeWidgetItem * item ) */ -HB_FUNC( QT_QTREEWIDGET_COLLAPSEITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->collapseItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* void expandItem ( const QTreeWidgetItem * item ) */ -HB_FUNC( QT_QTREEWIDGET_EXPANDITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->expandItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* void scrollToItem ( const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) */ -HB_FUNC( QT_QTREEWIDGET_SCROLLTOITEM ) -{ - QTreeWidget * p = hbqt_par_QTreeWidget( 1 ); - if( p ) - ( p )->scrollToItem( hbqt_par_QTreeWidgetItem( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QTreeWidget::EnsureVisible ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp deleted file mode 100644 index e62d61926a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp +++ /dev/null @@ -1,550 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ChildIndicatorPolicy { ShowIndicator, DontShowIndicator, DontShowIndicatorWhenChildless } - * enum ItemType { Type, UserType } - */ - -/* - * Constructed[ 53/55 [ 96.36% ] ] - * - * *** Unconvered Prototypes *** - * - * void addChildren ( const QList & children ) - * void insertChildren ( int index, const QList & children ) - */ - -#include - -#include - - -/* - * QTreeWidgetItem ( int type = Type ) - * QTreeWidgetItem ( const QStringList & strings, int type = Type ) - * QTreeWidgetItem ( QTreeWidget * parent, int type = Type ) - * QTreeWidgetItem ( QTreeWidget * parent, const QStringList & strings, int type = Type ) - * QTreeWidgetItem ( QTreeWidget * parent, QTreeWidgetItem * preceding, int type = Type ) - * QTreeWidgetItem ( QTreeWidgetItem * parent, int type = Type ) - * QTreeWidgetItem ( QTreeWidgetItem * parent, const QStringList & strings, int type = Type ) - * QTreeWidgetItem ( QTreeWidgetItem * parent, QTreeWidgetItem * preceding, int type = Type ) - * QTreeWidgetItem ( const QTreeWidgetItem & other ) - * virtual ~QTreeWidgetItem () - */ - -typedef struct -{ - QTreeWidgetItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QTreeWidgetItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QTreeWidgetItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QTreeWidgetItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QTreeWidgetItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QTreeWidgetItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QTreeWidgetItem; - p->type = HBQT_TYPE_QTreeWidgetItem; - - return p; -} - -HB_FUNC( QT_QTREEWIDGETITEM ) -{ - QTreeWidgetItem * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - { - pObj = new QTreeWidgetItem( hb_parni( 1 ) ) ; - } - else - { - pObj = new QTreeWidgetItem( hbqt_par_QTreeWidget( 1 ), hb_parni( 2 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( void * ) pObj, true ) ); -} - -/* void addChild ( QTreeWidgetItem * child ) [*D=1*] */ -HB_FUNC( QT_QTREEWIDGETITEM_ADDCHILD ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - { - hbqt_detachgcpointer( 2 ); - ( p )->addChild( hbqt_par_QTreeWidgetItem( 2 ) ); - } -} - -/* QBrush background ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_BACKGROUND ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->background( hb_parni( 2 ) ) ), true ) ); -} - -/* Qt::CheckState checkState ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_CHECKSTATE ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( Qt::CheckState ) ( p )->checkState( hb_parni( 2 ) ) ); -} - -/* QTreeWidgetItem * child ( int index ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_CHILD ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->child( hb_parni( 2 ) ), false ) ); -} - -/* int childCount () const */ -HB_FUNC( QT_QTREEWIDGETITEM_CHILDCOUNT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->childCount() ); -} - -/* QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy () const */ -HB_FUNC( QT_QTREEWIDGETITEM_CHILDINDICATORPOLICY ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( QTreeWidgetItem::ChildIndicatorPolicy ) ( p )->childIndicatorPolicy() ); -} - -/* virtual QTreeWidgetItem * clone () const */ -HB_FUNC( QT_QTREEWIDGETITEM_CLONE ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->clone(), false ) ); -} - -/* int columnCount () const */ -HB_FUNC( QT_QTREEWIDGETITEM_COLUMNCOUNT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->columnCount() ); -} - -/* virtual QVariant data ( int column, int role ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_DATA ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->data( hb_parni( 2 ), hb_parni( 3 ) ) ), true ) ); -} - -/* Qt::ItemFlags flags () const */ -HB_FUNC( QT_QTREEWIDGETITEM_FLAGS ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( Qt::ItemFlags ) ( p )->flags() ); -} - -/* QFont font ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_FONT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font( hb_parni( 2 ) ) ), true ) ); -} - -/* QBrush foreground ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_FOREGROUND ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->foreground( hb_parni( 2 ) ) ), true ) ); -} - -/* QIcon icon ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_ICON ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon( hb_parni( 2 ) ) ), true ) ); -} - -/* int indexOfChild ( QTreeWidgetItem * child ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_INDEXOFCHILD ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->indexOfChild( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* void insertChild ( int index, QTreeWidgetItem * child ) */ -HB_FUNC( QT_QTREEWIDGETITEM_INSERTCHILD ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->insertChild( hb_parni( 2 ), hbqt_par_QTreeWidgetItem( 3 ) ); -} - -/* bool isDisabled () const */ -HB_FUNC( QT_QTREEWIDGETITEM_ISDISABLED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isDisabled() ); -} - -/* bool isExpanded () const */ -HB_FUNC( QT_QTREEWIDGETITEM_ISEXPANDED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isExpanded() ); -} - -/* bool isFirstColumnSpanned () const */ -HB_FUNC( QT_QTREEWIDGETITEM_ISFIRSTCOLUMNSPANNED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isFirstColumnSpanned() ); -} - -/* bool isHidden () const */ -HB_FUNC( QT_QTREEWIDGETITEM_ISHIDDEN ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isHidden() ); -} - -/* bool isSelected () const */ -HB_FUNC( QT_QTREEWIDGETITEM_ISSELECTED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isSelected() ); -} - -/* QTreeWidgetItem * parent () const */ -HB_FUNC( QT_QTREEWIDGETITEM_PARENT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->parent(), false ) ); -} - -/* virtual void read ( QDataStream & in ) */ -HB_FUNC( QT_QTREEWIDGETITEM_READ ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* void removeChild ( QTreeWidgetItem * child ) */ -HB_FUNC( QT_QTREEWIDGETITEM_REMOVECHILD ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->removeChild( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* void setBackground ( int column, const QBrush & brush ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETBACKGROUND ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setBackground( hb_parni( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* void setCheckState ( int column, Qt::CheckState state ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETCHECKSTATE ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setCheckState( hb_parni( 2 ), ( Qt::CheckState ) hb_parni( 3 ) ); -} - -/* void setChildIndicatorPolicy ( QTreeWidgetItem::ChildIndicatorPolicy policy ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETCHILDINDICATORPOLICY ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setChildIndicatorPolicy( ( QTreeWidgetItem::ChildIndicatorPolicy ) hb_parni( 2 ) ); -} - -/* virtual void setData ( int column, int role, const QVariant & value ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETDATA ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setData( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QVariant( 4 ) ); -} - -/* void setDisabled ( bool disabled ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETDISABLED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setDisabled( hb_parl( 2 ) ); -} - -/* void setExpanded ( bool expand ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETEXPANDED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setExpanded( hb_parl( 2 ) ); -} - -/* void setFirstColumnSpanned ( bool span ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFIRSTCOLUMNSPANNED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setFirstColumnSpanned( hb_parl( 2 ) ); -} - -/* void setFlags ( Qt::ItemFlags flags ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFLAGS ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* void setFont ( int column, const QFont & font ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFONT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setFont( hb_parni( 2 ), *hbqt_par_QFont( 3 ) ); -} - -/* void setForeground ( int column, const QBrush & brush ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFOREGROUND ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setForeground( hb_parni( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* void setHidden ( bool hide ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETHIDDEN ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setHidden( hb_parl( 2 ) ); -} - -/* void setIcon ( int column, const QIcon & icon ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETICON ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setIcon( hb_parni( 2 ), ( HB_ISCHAR( 3 ) ? QIcon( hbqt_par_QString( 3 ) ) : *hbqt_par_QIcon( 3 )) ); -} - -/* void setSelected ( bool select ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETSELECTED ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setSelected( hb_parl( 2 ) ); -} - -/* void setSizeHint ( int column, const QSize & size ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETSIZEHINT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setSizeHint( hb_parni( 2 ), *hbqt_par_QSize( 3 ) ); -} - -/* void setStatusTip ( int column, const QString & statusTip ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETSTATUSTIP ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusTip( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setText ( int column, const QString & text ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETTEXT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setText( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTextAlignment ( int column, int alignment ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETTEXTALIGNMENT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->setTextAlignment( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setToolTip ( int column, const QString & toolTip ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETTOOLTIP ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWhatsThis ( int column, const QString & whatsThis ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SETWHATSTHIS ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - { - void * pText; - ( p )->setWhatsThis( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QSize sizeHint ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_SIZEHINT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint( hb_parni( 2 ) ) ), true ) ); -} - -/* void sortChildren ( int column, Qt::SortOrder order ) */ -HB_FUNC( QT_QTREEWIDGETITEM_SORTCHILDREN ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - ( p )->sortChildren( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* QString statusTip ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_STATUSTIP ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->statusTip( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QTreeWidgetItem * takeChild ( int index ) */ -HB_FUNC( QT_QTREEWIDGETITEM_TAKECHILD ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidgetItem( ( p )->takeChild( hb_parni( 2 ) ), false ) ); -} - -/* QList takeChildren () */ -HB_FUNC( QT_QTREEWIDGETITEM_TAKECHILDREN ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->takeChildren() ), true ) ); -} - -/* QString text ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_TEXT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->text( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* int textAlignment ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_TEXTALIGNMENT ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->textAlignment( hb_parni( 2 ) ) ); -} - -/* QString toolTip ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_TOOLTIP ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip( hb_parni( 2 ) ).toUtf8().data() ); -} - -/* QTreeWidget * treeWidget () const */ -HB_FUNC( QT_QTREEWIDGETITEM_TREEWIDGET ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QTreeWidget( ( p )->treeWidget(), false ) ); -} - -/* int type () const */ -HB_FUNC( QT_QTREEWIDGETITEM_TYPE ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retni( ( p )->type() ); -} - -/* QString whatsThis ( int column ) const */ -HB_FUNC( QT_QTREEWIDGETITEM_WHATSTHIS ) -{ - QTreeWidgetItem * p = hbqt_par_QTreeWidgetItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->whatsThis( hb_parni( 2 ) ).toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp deleted file mode 100644 index 340035847c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QVBoxLayout.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QVBoxLayout () - * QVBoxLayout ( QWidget * parent ) - * ~QVBoxLayout () - */ - -typedef struct -{ - QPointer< QVBoxLayout > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QVBoxLayout; - -HBQT_GC_FUNC( hbqt_gcRelease_QVBoxLayout ) -{ - HBQT_GC_T_QVBoxLayout * p = ( HBQT_GC_T_QVBoxLayout * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QVBoxLayout * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QVBoxLayout( void * pObj, bool bNew ) -{ - HBQT_GC_T_QVBoxLayout * p = ( HBQT_GC_T_QVBoxLayout * ) hb_gcAllocate( sizeof( HBQT_GC_T_QVBoxLayout ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QVBoxLayout >( ( QVBoxLayout * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QVBoxLayout; - p->type = HBQT_TYPE_QVBoxLayout; - - return p; -} - -HB_FUNC( QT_QVBOXLAYOUT ) -{ - QVBoxLayout * pObj = NULL; - - pObj = new QVBoxLayout( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QVBoxLayout( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QValidator.cpp deleted file mode 100644 index c3a550b80a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QValidator.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum State { Invalid, Intermediate, Acceptable } - */ - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // virtual void fixup ( QString & input ) const - * // virtual State validate ( QString & input, int & pos ) const = 0 - */ - -#include - -#include - - -/* QValidator ( QObject * parent ) - * ~QValidator () - */ - -typedef struct -{ - QPointer< QValidator > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QValidator; - -HBQT_GC_FUNC( hbqt_gcRelease_QValidator ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QValidator( void * pObj, bool bNew ) -{ - HBQT_GC_T_QValidator * p = ( HBQT_GC_T_QValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QValidator ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QValidator >( ( QValidator * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QValidator; - p->type = HBQT_TYPE_QValidator; - - return p; -} - -HB_FUNC( QT_QVALIDATOR ) -{ - // __HB_RETPTRGC__( new QValidator() ); -} - -/* QLocale locale () const */ -HB_FUNC( QT_QVALIDATOR_LOCALE ) -{ - QValidator * p = hbqt_par_QValidator( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->locale() ), true ) ); -} - -/* void setLocale ( const QLocale & locale ) */ -HB_FUNC( QT_QVALIDATOR_SETLOCALE ) -{ - QValidator * p = hbqt_par_QValidator( 1 ); - if( p ) - ( p )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp deleted file mode 100644 index 4cdbd78c74..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWheelEvent.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 9/9 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QWheelEvent ( const QPoint & pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical ) - * QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical ) - */ - -typedef struct -{ - QWheelEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWheelEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QWheelEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWheelEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWheelEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWheelEvent; - p->type = HBQT_TYPE_QWheelEvent; - - return p; -} - -HB_FUNC( QT_QWHEELEVENT ) -{ - // __HB_RETPTRGC__( new QWheelEvent() ); -} - -/* Qt::MouseButtons buttons () const */ -HB_FUNC( QT_QWHEELEVENT_BUTTONS ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); -} - -/* int delta () const */ -HB_FUNC( QT_QWHEELEVENT_DELTA ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( p )->delta() ); -} - -/* const QPoint & globalPos () const */ -HB_FUNC( QT_QWHEELEVENT_GLOBALPOS ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->globalPos() ), true ) ); -} - -/* int globalX () const */ -HB_FUNC( QT_QWHEELEVENT_GLOBALX ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( p )->globalX() ); -} - -/* int globalY () const */ -HB_FUNC( QT_QWHEELEVENT_GLOBALY ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( p )->globalY() ); -} - -/* Qt::Orientation orientation () const */ -HB_FUNC( QT_QWHEELEVENT_ORIENTATION ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( Qt::Orientation ) ( p )->orientation() ); -} - -/* const QPoint & pos () const */ -HB_FUNC( QT_QWHEELEVENT_POS ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* int x () const */ -HB_FUNC( QT_QWHEELEVENT_X ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QWHEELEVENT_Y ) -{ - QWheelEvent * p = hbqt_par_QWheelEvent( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWidget.cpp b/harbour/contrib/hbqt/qtgui/g/QWidget.cpp deleted file mode 100644 index 02c9e532e9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWidget.cpp +++ /dev/null @@ -1,1822 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum RenderFlag { DrawWindowBackground, DrawChildren, IgnoreMask } - * # From QPaintDevice : Parent Class - * enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } - */ - -/* - * Constructed[ 206/208 [ 99.04% ] ] - * - * *** Unconvered Prototypes *** - * - * void addActions ( QList actions ) - * void insertActions ( QAction * before, QList actions ) - * - * *** Commented out protostypes *** - * - * // QString accessibleDescription () const - * // QString accessibleName () const - * // WId effectiveWinId () const - * // virtual HDC getDC () const - * // QGraphicsProxyWidget * graphicsProxyWidget () const - * // bool hasEditFocus () const - * // QInputContext * inputContext () - * // Qt::HANDLE macCGHandle () const - * // Qt::HANDLE macQDHandle () const - * // virtual void releaseDC ( HDC hdc ) const - * //void render ( QPaintDevice * target, const QPoint & targetOffset = QPoint(), const QRegion & sourceRegion = QRegion(), RenderFlags renderFlags = RenderFlags( DrawWindowBackground | DrawChildren ) ) - * //void render ( QPainter * painter, const QPoint & targetOffset = QPoint(), const QRegion & sourceRegion = QRegion(), RenderFlags renderFlags = RenderFlags( DrawWindowBackground | DrawChildren ) ) - * // void setAccessibleDescription ( const QString & description ) - * // void setAccessibleName ( const QString & name ) - * // void setEditFocus ( bool enable ) - * // void setInputContext ( QInputContext * context ) - * // void setWindowSurface ( QWindowSurface * surface ) - * // WId winId () const - * // QWindowSurface * windowSurface () const (preliminary) - * //Qt::HANDLE x11PictureHandle () const - * //QWidget * find ( WId id ) - */ - -#include - -#include -#include -#include -#include - - -/* - * QWidget( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QWidget () - */ - -typedef struct -{ - QPointer< QWidget > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWidget; - -HBQT_GC_FUNC( hbqt_gcRelease_QWidget ) -{ - HBQT_GC_T_QWidget * p = ( HBQT_GC_T_QWidget * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWidget * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWidget( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWidget * p = ( HBQT_GC_T_QWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWidget ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWidget >( ( QWidget * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWidget; - p->type = HBQT_TYPE_QWidget; - - return p; -} - -HB_FUNC( QT_QWIDGET ) -{ - QWidget * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 0 ) ) ; - } - else - { - pObj = new QWidget() ; - } - - hb_retptrGC( hbqt_gcAllocate_QWidget( ( void * ) pObj, true ) ); -} - -/* bool acceptDrops () const */ -HB_FUNC( QT_QWIDGET_ACCEPTDROPS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->acceptDrops() ); -} - -/* QList actions () const */ -HB_FUNC( QT_QWIDGET_ACTIONS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->actions() ), true ) ); -} - -/* void activateWindow () */ -HB_FUNC( QT_QWIDGET_ACTIVATEWINDOW ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->activateWindow(); -} - -/* void addAction ( QAction * action ) */ -HB_FUNC( QT_QWIDGET_ADDACTION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* void adjustSize () */ -HB_FUNC( QT_QWIDGET_ADJUSTSIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->adjustSize(); -} - -/* bool autoFillBackground () const */ -HB_FUNC( QT_QWIDGET_AUTOFILLBACKGROUND ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->autoFillBackground() ); -} - -/* QPalette::ColorRole backgroundRole () const */ -HB_FUNC( QT_QWIDGET_BACKGROUNDROLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( QPalette::ColorRole ) ( p )->backgroundRole() ); -} - -/* QSize baseSize () const */ -HB_FUNC( QT_QWIDGET_BASESIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->baseSize() ), true ) ); -} - -/* QWidget * childAt ( int x, int y ) const */ -HB_FUNC( QT_QWIDGET_CHILDAT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->childAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); -} - -/* QWidget * childAt ( const QPoint & p ) const */ -HB_FUNC( QT_QWIDGET_CHILDAT_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->childAt( *hbqt_par_QPoint( 2 ) ), false ) ); -} - -/* QRect childrenRect () const */ -HB_FUNC( QT_QWIDGET_CHILDRENRECT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->childrenRect() ), true ) ); -} - -/* QRegion childrenRegion () const */ -HB_FUNC( QT_QWIDGET_CHILDRENREGION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->childrenRegion() ), true ) ); -} - -/* void clearFocus () */ -HB_FUNC( QT_QWIDGET_CLEARFOCUS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->clearFocus(); -} - -/* void clearMask () */ -HB_FUNC( QT_QWIDGET_CLEARMASK ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->clearMask(); -} - -/* QRect contentsRect () const */ -HB_FUNC( QT_QWIDGET_CONTENTSRECT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->contentsRect() ), true ) ); -} - -/* Qt::ContextMenuPolicy contextMenuPolicy () const */ -HB_FUNC( QT_QWIDGET_CONTEXTMENUPOLICY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::ContextMenuPolicy ) ( p )->contextMenuPolicy() ); -} - -/* QCursor cursor () const */ -HB_FUNC( QT_QWIDGET_CURSOR ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QCursor( new QCursor( ( p )->cursor() ), true ) ); -} - -/* void ensurePolished () const */ -HB_FUNC( QT_QWIDGET_ENSUREPOLISHED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->ensurePolished(); -} - -/* Qt::FocusPolicy focusPolicy () const */ -HB_FUNC( QT_QWIDGET_FOCUSPOLICY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::FocusPolicy ) ( p )->focusPolicy() ); -} - -/* QWidget * focusProxy () const */ -HB_FUNC( QT_QWIDGET_FOCUSPROXY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->focusProxy(), false ) ); -} - -/* QWidget * focusWidget () const */ -HB_FUNC( QT_QWIDGET_FOCUSWIDGET ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->focusWidget(), false ) ); -} - -/* const QFont & font () const */ -HB_FUNC( QT_QWIDGET_FONT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); -} - -/* QFontInfo fontInfo () const */ -HB_FUNC( QT_QWIDGET_FONTINFO ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFontInfo( new QFontInfo( ( p )->fontInfo() ), true ) ); -} - -/* QFontMetrics fontMetrics () const */ -HB_FUNC( QT_QWIDGET_FONTMETRICS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QFontMetrics( new QFontMetrics( ( p )->fontMetrics() ), true ) ); -} - -/* QPalette::ColorRole foregroundRole () const */ -HB_FUNC( QT_QWIDGET_FOREGROUNDROLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( QPalette::ColorRole ) ( p )->foregroundRole() ); -} - -/* QRect frameGeometry () const */ -HB_FUNC( QT_QWIDGET_FRAMEGEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->frameGeometry() ), true ) ); -} - -/* QSize frameSize () const */ -HB_FUNC( QT_QWIDGET_FRAMESIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->frameSize() ), true ) ); -} - -/* const QRect & geometry () const */ -HB_FUNC( QT_QWIDGET_GEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->geometry() ), true ) ); -} - -/* void getContentsMargins ( int * left, int * top, int * right, int * bottom ) const */ -HB_FUNC( QT_QWIDGET_GETCONTENTSMARGINS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - int iLeft = 0; - int iTop = 0; - int iRight = 0; - int iBottom = 0; - - if( p ) - ( p )->getContentsMargins( &iLeft, &iTop, &iRight, &iBottom ); - - hb_storni( iLeft, 2 ); - hb_storni( iTop, 3 ); - hb_storni( iRight, 4 ); - hb_storni( iBottom, 5 ); -} - -/* void grabKeyboard () */ -HB_FUNC( QT_QWIDGET_GRABKEYBOARD ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->grabKeyboard(); -} - -/* void grabMouse () */ -HB_FUNC( QT_QWIDGET_GRABMOUSE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->grabMouse(); -} - -/* void grabMouse ( const QCursor & cursor ) */ -HB_FUNC( QT_QWIDGET_GRABMOUSE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->grabMouse( *hbqt_par_QCursor( 2 ) ); -} - -/* int grabShortcut ( const QKeySequence & key, Qt::ShortcutContext context = Qt::WindowShortcut ) */ -HB_FUNC( QT_QWIDGET_GRABSHORTCUT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->grabShortcut( *hbqt_par_QKeySequence( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ShortcutContext ) hb_parni( 3 ) : ( Qt::ShortcutContext ) Qt::WindowShortcut ) ) ); -} - -/* bool hasFocus () const */ -HB_FUNC( QT_QWIDGET_HASFOCUS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->hasFocus() ); -} - -/* bool hasMouseTracking () const */ -HB_FUNC( QT_QWIDGET_HASMOUSETRACKING ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->hasMouseTracking() ); -} - -/* int height () const */ -HB_FUNC( QT_QWIDGET_HEIGHT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->height() ); -} - -/* virtual int heightForWidth ( int w ) const */ -HB_FUNC( QT_QWIDGET_HEIGHTFORWIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->heightForWidth( hb_parni( 2 ) ) ); -} - -/* virtual QVariant inputMethodQuery ( Qt::InputMethodQuery query ) const */ -HB_FUNC( QT_QWIDGET_INPUTMETHODQUERY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ), true ) ); -} - -/* void insertAction ( QAction * before, QAction * action ) */ -HB_FUNC( QT_QWIDGET_INSERTACTION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->insertAction( hbqt_par_QAction( 2 ), hbqt_par_QAction( 3 ) ); -} - -/* bool isActiveWindow () const */ -HB_FUNC( QT_QWIDGET_ISACTIVEWINDOW ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isActiveWindow() ); -} - -/* bool isAncestorOf ( const QWidget * child ) const */ -HB_FUNC( QT_QWIDGET_ISANCESTOROF ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isAncestorOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* bool isEnabled () const */ -HB_FUNC( QT_QWIDGET_ISENABLED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isEnabled() ); -} - -/* bool isEnabledTo ( QWidget * ancestor ) const */ -HB_FUNC( QT_QWIDGET_ISENABLEDTO ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isEnabledTo( hbqt_par_QWidget( 2 ) ) ); -} - -/* bool isFullScreen () const */ -HB_FUNC( QT_QWIDGET_ISFULLSCREEN ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isFullScreen() ); -} - -/* bool isHidden () const */ -HB_FUNC( QT_QWIDGET_ISHIDDEN ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isHidden() ); -} - -/* bool isMaximized () const */ -HB_FUNC( QT_QWIDGET_ISMAXIMIZED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isMaximized() ); -} - -/* bool isMinimized () const */ -HB_FUNC( QT_QWIDGET_ISMINIMIZED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isMinimized() ); -} - -/* bool isModal () const */ -HB_FUNC( QT_QWIDGET_ISMODAL ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isModal() ); -} - -/* bool isVisible () const */ -HB_FUNC( QT_QWIDGET_ISVISIBLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isVisible() ); -} - -/* bool isVisibleTo ( QWidget * ancestor ) const */ -HB_FUNC( QT_QWIDGET_ISVISIBLETO ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isVisibleTo( hbqt_par_QWidget( 2 ) ) ); -} - -/* bool isWindow () const */ -HB_FUNC( QT_QWIDGET_ISWINDOW ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isWindow() ); -} - -/* bool isWindowModified () const */ -HB_FUNC( QT_QWIDGET_ISWINDOWMODIFIED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->isWindowModified() ); -} - -/* QLayout * layout () const */ -HB_FUNC( QT_QWIDGET_LAYOUT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLayout( ( p )->layout(), false ) ); -} - -/* Qt::LayoutDirection layoutDirection () const */ -HB_FUNC( QT_QWIDGET_LAYOUTDIRECTION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() ); -} - -/* QLocale locale () const */ -HB_FUNC( QT_QWIDGET_LOCALE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QLocale( new QLocale( ( p )->locale() ), true ) ); -} - -/* QPoint mapFrom ( QWidget * parent, const QPoint & pos ) const */ -HB_FUNC( QT_QWIDGET_MAPFROM ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapFrom( hbqt_par_QWidget( 2 ), *hbqt_par_QPoint( 3 ) ) ), true ) ); -} - -/* QPoint mapFromGlobal ( const QPoint & pos ) const */ -HB_FUNC( QT_QWIDGET_MAPFROMGLOBAL ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapFromGlobal( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QPoint mapFromParent ( const QPoint & pos ) const */ -HB_FUNC( QT_QWIDGET_MAPFROMPARENT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapFromParent( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QPoint mapTo ( QWidget * parent, const QPoint & pos ) const */ -HB_FUNC( QT_QWIDGET_MAPTO ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapTo( hbqt_par_QWidget( 2 ), *hbqt_par_QPoint( 3 ) ) ), true ) ); -} - -/* QPoint mapToGlobal ( const QPoint & pos ) const */ -HB_FUNC( QT_QWIDGET_MAPTOGLOBAL ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapToGlobal( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QPoint mapToParent ( const QPoint & pos ) const */ -HB_FUNC( QT_QWIDGET_MAPTOPARENT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->mapToParent( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QRegion mask () const */ -HB_FUNC( QT_QWIDGET_MASK ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->mask() ), true ) ); -} - -/* int maximumHeight () const */ -HB_FUNC( QT_QWIDGET_MAXIMUMHEIGHT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->maximumHeight() ); -} - -/* QSize maximumSize () const */ -HB_FUNC( QT_QWIDGET_MAXIMUMSIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->maximumSize() ), true ) ); -} - -/* int maximumWidth () const */ -HB_FUNC( QT_QWIDGET_MAXIMUMWIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->maximumWidth() ); -} - -/* int minimumHeight () const */ -HB_FUNC( QT_QWIDGET_MINIMUMHEIGHT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->minimumHeight() ); -} - -/* QSize minimumSize () const */ -HB_FUNC( QT_QWIDGET_MINIMUMSIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->minimumSize() ), true ) ); -} - -/* virtual QSize minimumSizeHint () const */ -HB_FUNC( QT_QWIDGET_MINIMUMSIZEHINT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->minimumSizeHint() ), true ) ); -} - -/* int minimumWidth () const */ -HB_FUNC( QT_QWIDGET_MINIMUMWIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->minimumWidth() ); -} - -/* void move ( int x, int y ) */ -HB_FUNC( QT_QWIDGET_MOVE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->move( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void move ( const QPoint & ) */ -HB_FUNC( QT_QWIDGET_MOVE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->move( *hbqt_par_QPoint( 2 ) ); -} - -/* QWidget * nativeParentWidget () const */ -HB_FUNC( QT_QWIDGET_NATIVEPARENTWIDGET ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->nativeParentWidget(), false ) ); -} - -/* QWidget * nextInFocusChain () const */ -HB_FUNC( QT_QWIDGET_NEXTINFOCUSCHAIN ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->nextInFocusChain(), false ) ); -} - -/* QRect normalGeometry () const */ -HB_FUNC( QT_QWIDGET_NORMALGEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->normalGeometry() ), true ) ); -} - -/* void overrideWindowFlags ( Qt::WindowFlags flags ) */ -HB_FUNC( QT_QWIDGET_OVERRIDEWINDOWFLAGS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->overrideWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) ); -} - -/* virtual QPaintEngine * paintEngine () const */ -HB_FUNC( QT_QWIDGET_PAINTENGINE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPaintEngine( ( p )->paintEngine(), false ) ); -} - -/* const QPalette & palette () const */ -HB_FUNC( QT_QWIDGET_PALETTE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); -} - -/* QWidget * parentWidget () const */ -HB_FUNC( QT_QWIDGET_PARENTWIDGET ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->parentWidget(), false ) ); -} - -/* QPoint pos () const */ -HB_FUNC( QT_QWIDGET_POS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* QRect rect () const */ -HB_FUNC( QT_QWIDGET_RECT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->rect() ), true ) ); -} - -/* void releaseKeyboard () */ -HB_FUNC( QT_QWIDGET_RELEASEKEYBOARD ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->releaseKeyboard(); -} - -/* void releaseMouse () */ -HB_FUNC( QT_QWIDGET_RELEASEMOUSE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->releaseMouse(); -} - -/* void releaseShortcut ( int id ) */ -HB_FUNC( QT_QWIDGET_RELEASESHORTCUT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->releaseShortcut( hb_parni( 2 ) ); -} - -/* void removeAction ( QAction * action ) */ -HB_FUNC( QT_QWIDGET_REMOVEACTION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->removeAction( hbqt_par_QAction( 2 ) ); -} - -/* void repaint ( int x, int y, int w, int h ) */ -HB_FUNC( QT_QWIDGET_REPAINT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->repaint( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void repaint ( const QRect & rect ) */ -HB_FUNC( QT_QWIDGET_REPAINT_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->repaint( *hbqt_par_QRect( 2 ) ); -} - -/* void repaint ( const QRegion & rgn ) */ -HB_FUNC( QT_QWIDGET_REPAINT_2 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->repaint( *hbqt_par_QRegion( 2 ) ); -} - -/* void resize ( int w, int h ) */ -HB_FUNC( QT_QWIDGET_RESIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->resize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void resize ( const QSize & ) */ -HB_FUNC( QT_QWIDGET_RESIZE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->resize( *hbqt_par_QSize( 2 ) ); -} - -/* bool restoreGeometry ( const QByteArray & geometry ) */ -HB_FUNC( QT_QWIDGET_RESTOREGEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->restoreGeometry( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* QByteArray saveGeometry () const */ -HB_FUNC( QT_QWIDGET_SAVEGEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->saveGeometry() ), true ) ); -} - -/* void scroll ( int dx, int dy ) */ -HB_FUNC( QT_QWIDGET_SCROLL ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->scroll( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void scroll ( int dx, int dy, const QRect & r ) */ -HB_FUNC( QT_QWIDGET_SCROLL_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->scroll( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QRect( 4 ) ); -} - -/* void setAcceptDrops ( bool on ) */ -HB_FUNC( QT_QWIDGET_SETACCEPTDROPS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setAcceptDrops( hb_parl( 2 ) ); -} - -/* void setAttribute ( Qt::WidgetAttribute attribute, bool on = true ) */ -HB_FUNC( QT_QWIDGET_SETATTRIBUTE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setAutoFillBackground ( bool enabled ) */ -HB_FUNC( QT_QWIDGET_SETAUTOFILLBACKGROUND ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setAutoFillBackground( hb_parl( 2 ) ); -} - -/* void setBackgroundRole ( QPalette::ColorRole role ) */ -HB_FUNC( QT_QWIDGET_SETBACKGROUNDROLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setBackgroundRole( ( QPalette::ColorRole ) hb_parni( 2 ) ); -} - -/* void setBaseSize ( const QSize & ) */ -HB_FUNC( QT_QWIDGET_SETBASESIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setBaseSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setBaseSize ( int basew, int baseh ) */ -HB_FUNC( QT_QWIDGET_SETBASESIZE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setBaseSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setContentsMargins ( int left, int top, int right, int bottom ) */ -HB_FUNC( QT_QWIDGET_SETCONTENTSMARGINS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setContentsMargins( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setContextMenuPolicy ( Qt::ContextMenuPolicy policy ) */ -HB_FUNC( QT_QWIDGET_SETCONTEXTMENUPOLICY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setContextMenuPolicy( ( Qt::ContextMenuPolicy ) hb_parni( 2 ) ); -} - -/* void setCursor ( const QCursor & ) */ -HB_FUNC( QT_QWIDGET_SETCURSOR ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* void setFixedHeight ( int h ) */ -HB_FUNC( QT_QWIDGET_SETFIXEDHEIGHT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFixedHeight( hb_parni( 2 ) ); -} - -/* void setFixedSize ( const QSize & s ) */ -HB_FUNC( QT_QWIDGET_SETFIXEDSIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFixedSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setFixedSize ( int w, int h ) */ -HB_FUNC( QT_QWIDGET_SETFIXEDSIZE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFixedSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setFixedWidth ( int w ) */ -HB_FUNC( QT_QWIDGET_SETFIXEDWIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFixedWidth( hb_parni( 2 ) ); -} - -/* void setFocus ( Qt::FocusReason reason ) */ -HB_FUNC( QT_QWIDGET_SETFOCUS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFocus( ( Qt::FocusReason ) hb_parni( 2 ) ); -} - -/* void setFocusPolicy ( Qt::FocusPolicy policy ) */ -HB_FUNC( QT_QWIDGET_SETFOCUSPOLICY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFocusPolicy( ( Qt::FocusPolicy ) hb_parni( 2 ) ); -} - -/* void setFocusProxy ( QWidget * w ) */ -HB_FUNC( QT_QWIDGET_SETFOCUSPROXY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFocusProxy( hbqt_par_QWidget( 2 ) ); -} - -/* void setFont ( const QFont & ) */ -HB_FUNC( QT_QWIDGET_SETFONT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* void setForegroundRole ( QPalette::ColorRole role ) */ -HB_FUNC( QT_QWIDGET_SETFOREGROUNDROLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setForegroundRole( ( QPalette::ColorRole ) hb_parni( 2 ) ); -} - -/* void setGeometry ( const QRect & ) */ -HB_FUNC( QT_QWIDGET_SETGEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setGeometry( *hbqt_par_QRect( 2 ) ); -} - -/* void setGeometry ( int x, int y, int w, int h ) */ -HB_FUNC( QT_QWIDGET_SETGEOMETRY_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setGeometry( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void setLayout ( QLayout * layout ) */ -HB_FUNC( QT_QWIDGET_SETLAYOUT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setLayout( hbqt_par_QLayout( 2 ) ); -} - -/* void setLayoutDirection ( Qt::LayoutDirection direction ) */ -HB_FUNC( QT_QWIDGET_SETLAYOUTDIRECTION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* void setLocale ( const QLocale & locale ) */ -HB_FUNC( QT_QWIDGET_SETLOCALE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - -/* void setMask ( const QBitmap & bitmap ) */ -HB_FUNC( QT_QWIDGET_SETMASK ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMask( *hbqt_par_QBitmap( 2 ) ); -} - -/* void setMask ( const QRegion & region ) */ -HB_FUNC( QT_QWIDGET_SETMASK_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMask( *hbqt_par_QRegion( 2 ) ); -} - -/* void setMaximumHeight ( int maxh ) */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMHEIGHT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMaximumHeight( hb_parni( 2 ) ); -} - -/* void setMaximumSize ( const QSize & ) */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMSIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMaximumSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setMaximumSize ( int maxw, int maxh ) */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMSIZE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMaximumSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setMaximumWidth ( int maxw ) */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMWIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMaximumWidth( hb_parni( 2 ) ); -} - -/* void setMinimumHeight ( int minh ) */ -HB_FUNC( QT_QWIDGET_SETMINIMUMHEIGHT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMinimumHeight( hb_parni( 2 ) ); -} - -/* void setMinimumSize ( const QSize & ) */ -HB_FUNC( QT_QWIDGET_SETMINIMUMSIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMinimumSize( *hbqt_par_QSize( 2 ) ); -} - -/* void setMinimumSize ( int minw, int minh ) */ -HB_FUNC( QT_QWIDGET_SETMINIMUMSIZE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMinimumSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setMinimumWidth ( int minw ) */ -HB_FUNC( QT_QWIDGET_SETMINIMUMWIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMinimumWidth( hb_parni( 2 ) ); -} - -/* void setMouseTracking ( bool enable ) */ -HB_FUNC( QT_QWIDGET_SETMOUSETRACKING ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setMouseTracking( hb_parl( 2 ) ); -} - -/* void setPalette ( const QPalette & ) */ -HB_FUNC( QT_QWIDGET_SETPALETTE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* void setParent ( QWidget * parent ) */ -HB_FUNC( QT_QWIDGET_SETPARENT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setParent( hbqt_par_QWidget( 2 ) ); -} - -/* void setParent ( QWidget * parent, Qt::WindowFlags f ) */ -HB_FUNC( QT_QWIDGET_SETPARENT_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setParent( hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ); -} - -/* void setShortcutAutoRepeat ( int id, bool enable = true ) */ -HB_FUNC( QT_QWIDGET_SETSHORTCUTAUTOREPEAT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setShortcutAutoRepeat( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setShortcutEnabled ( int id, bool enable = true ) */ -HB_FUNC( QT_QWIDGET_SETSHORTCUTENABLED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setShortcutEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setSizeIncrement ( const QSize & ) */ -HB_FUNC( QT_QWIDGET_SETSIZEINCREMENT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setSizeIncrement( *hbqt_par_QSize( 2 ) ); -} - -/* void setSizeIncrement ( int w, int h ) */ -HB_FUNC( QT_QWIDGET_SETSIZEINCREMENT_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setSizeIncrement( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setSizePolicy ( const QSizePolicy & policy ) */ -HB_FUNC( QT_QWIDGET_SETSIZEPOLICY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setSizePolicy( *hbqt_par_QSizePolicy( 2 ) ); -} - -/* void setSizePolicy ( QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical ) */ -HB_FUNC( QT_QWIDGET_SETSIZEPOLICY_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setSizePolicy( ( QSizePolicy::Policy ) hb_parni( 2 ), ( QSizePolicy::Policy ) hb_parni( 3 ) ); -} - -/* void setStatusTip ( const QString & ) */ -HB_FUNC( QT_QWIDGET_SETSTATUSTIP ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setStyle ( QStyle * style ) */ -HB_FUNC( QT_QWIDGET_SETSTYLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setStyle( hbqt_par_QStyle( 2 ) ); -} - -/* void setToolTip ( const QString & ) */ -HB_FUNC( QT_QWIDGET_SETTOOLTIP ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setToolTip( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setUpdatesEnabled ( bool enable ) */ -HB_FUNC( QT_QWIDGET_SETUPDATESENABLED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setUpdatesEnabled( hb_parl( 2 ) ); -} - -/* void setWhatsThis ( const QString & ) */ -HB_FUNC( QT_QWIDGET_SETWHATSTHIS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setWhatsThis( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWindowFilePath ( const QString & filePath ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWFILEPATH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setWindowFilePath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWindowFlags ( Qt::WindowFlags type ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWFLAGS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) ); -} - -/* void setWindowIcon ( const QIcon & icon ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWICON ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setWindowIcon( ( HB_ISCHAR( 2 ) ? QIcon( hbqt_par_QString( 2 ) ) : *hbqt_par_QIcon( 2 )) ); -} - -/* void setWindowIconText ( const QString & ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWICONTEXT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setWindowIconText( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWindowModality ( Qt::WindowModality windowModality ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWMODALITY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setWindowModality( ( Qt::WindowModality ) hb_parni( 2 ) ); -} - -/* void setWindowOpacity ( qreal level ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWOPACITY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setWindowOpacity( hb_parnd( 2 ) ); -} - -/* void setWindowRole ( const QString & role ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWROLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setWindowRole( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWindowState ( Qt::WindowStates windowState ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWSTATE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setWindowState( ( Qt::WindowStates ) hb_parni( 2 ) ); -} - -/* QSize size () const */ -HB_FUNC( QT_QWIDGET_SIZE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->size() ), true ) ); -} - -/* virtual QSize sizeHint () const */ -HB_FUNC( QT_QWIDGET_SIZEHINT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeHint() ), true ) ); -} - -/* QSize sizeIncrement () const */ -HB_FUNC( QT_QWIDGET_SIZEINCREMENT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->sizeIncrement() ), true ) ); -} - -/* QSizePolicy sizePolicy () const */ -HB_FUNC( QT_QWIDGET_SIZEPOLICY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSizePolicy( new QSizePolicy( ( p )->sizePolicy() ), true ) ); -} - -/* void stackUnder ( QWidget * w ) */ -HB_FUNC( QT_QWIDGET_STACKUNDER ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->stackUnder( hbqt_par_QWidget( 2 ) ); -} - -/* QString statusTip () const */ -HB_FUNC( QT_QWIDGET_STATUSTIP ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->statusTip().toUtf8().data() ); -} - -/* QStyle * style () const */ -HB_FUNC( QT_QWIDGET_STYLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) ); -} - -/* QString styleSheet () const */ -HB_FUNC( QT_QWIDGET_STYLESHEET ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->styleSheet().toUtf8().data() ); -} - -/* bool testAttribute ( Qt::WidgetAttribute attribute ) const */ -HB_FUNC( QT_QWIDGET_TESTATTRIBUTE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->testAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ) ) ); -} - -/* QString toolTip () const */ -HB_FUNC( QT_QWIDGET_TOOLTIP ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toolTip().toUtf8().data() ); -} - -/* bool underMouse () const */ -HB_FUNC( QT_QWIDGET_UNDERMOUSE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->underMouse() ); -} - -/* void unsetCursor () */ -HB_FUNC( QT_QWIDGET_UNSETCURSOR ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->unsetCursor(); -} - -/* void unsetLayoutDirection () */ -HB_FUNC( QT_QWIDGET_UNSETLAYOUTDIRECTION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->unsetLayoutDirection(); -} - -/* void unsetLocale () */ -HB_FUNC( QT_QWIDGET_UNSETLOCALE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->unsetLocale(); -} - -/* void update ( int x, int y, int w, int h ) */ -HB_FUNC( QT_QWIDGET_UPDATE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->update( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* void update ( const QRect & rect ) */ -HB_FUNC( QT_QWIDGET_UPDATE_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->update( *hbqt_par_QRect( 2 ) ); -} - -/* void update ( const QRegion & rgn ) */ -HB_FUNC( QT_QWIDGET_UPDATE_2 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->update( *hbqt_par_QRegion( 2 ) ); -} - -/* void updateGeometry () */ -HB_FUNC( QT_QWIDGET_UPDATEGEOMETRY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->updateGeometry(); -} - -/* bool updatesEnabled () const */ -HB_FUNC( QT_QWIDGET_UPDATESENABLED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->updatesEnabled() ); -} - -/* QRegion visibleRegion () const */ -HB_FUNC( QT_QWIDGET_VISIBLEREGION ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRegion( new QRegion( ( p )->visibleRegion() ), true ) ); -} - -/* QString whatsThis () const */ -HB_FUNC( QT_QWIDGET_WHATSTHIS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->whatsThis().toUtf8().data() ); -} - -/* int width () const */ -HB_FUNC( QT_QWIDGET_WIDTH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->width() ); -} - -/* QWidget * window () const */ -HB_FUNC( QT_QWIDGET_WINDOW ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->window(), false ) ); -} - -/* QString windowFilePath () const */ -HB_FUNC( QT_QWIDGET_WINDOWFILEPATH ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->windowFilePath().toUtf8().data() ); -} - -/* Qt::WindowFlags windowFlags () const */ -HB_FUNC( QT_QWIDGET_WINDOWFLAGS ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::WindowFlags ) ( p )->windowFlags() ); -} - -/* QIcon windowIcon () const */ -HB_FUNC( QT_QWIDGET_WINDOWICON ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->windowIcon() ), true ) ); -} - -/* QString windowIconText () const */ -HB_FUNC( QT_QWIDGET_WINDOWICONTEXT ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->windowIconText().toUtf8().data() ); -} - -/* Qt::WindowModality windowModality () const */ -HB_FUNC( QT_QWIDGET_WINDOWMODALITY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::WindowModality ) ( p )->windowModality() ); -} - -/* qreal windowOpacity () const */ -HB_FUNC( QT_QWIDGET_WINDOWOPACITY ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retnd( ( p )->windowOpacity() ); -} - -/* QString windowRole () const */ -HB_FUNC( QT_QWIDGET_WINDOWROLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->windowRole().toUtf8().data() ); -} - -/* Qt::WindowStates windowState () const */ -HB_FUNC( QT_QWIDGET_WINDOWSTATE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::WindowStates ) ( p )->windowState() ); -} - -/* QString windowTitle () const */ -HB_FUNC( QT_QWIDGET_WINDOWTITLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retstr_utf8( ( p )->windowTitle().toUtf8().data() ); -} - -/* Qt::WindowType windowType () const */ -HB_FUNC( QT_QWIDGET_WINDOWTYPE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( Qt::WindowType ) ( p )->windowType() ); -} - -/* int x () const */ -HB_FUNC( QT_QWIDGET_X ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->x() ); -} - -/* int y () const */ -HB_FUNC( QT_QWIDGET_Y ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retni( ( p )->y() ); -} - -/* QWidget * keyboardGrabber () */ -HB_FUNC( QT_QWIDGET_KEYBOARDGRABBER ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->keyboardGrabber(), false ) ); -} - -/* QWidget * mouseGrabber () */ -HB_FUNC( QT_QWIDGET_MOUSEGRABBER ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->mouseGrabber(), false ) ); -} - -/* void setTabOrder ( QWidget * first, QWidget * second ) */ -HB_FUNC( QT_QWIDGET_SETTABORDER ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setTabOrder( hbqt_par_QWidget( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* bool close () */ -HB_FUNC( QT_QWIDGET_CLOSE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - hb_retl( ( p )->close() ); -} - -/* void hide () */ -HB_FUNC( QT_QWIDGET_HIDE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->hide(); -} - -/* void lower () */ -HB_FUNC( QT_QWIDGET_LOWER ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->lower(); -} - -/* void raise () */ -HB_FUNC( QT_QWIDGET_RAISE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->raise(); -} - -/* void repaint () */ -HB_FUNC( QT_QWIDGET_REPAINT_3 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->repaint(); -} - -/* void setDisabled ( bool disable ) */ -HB_FUNC( QT_QWIDGET_SETDISABLED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setDisabled( hb_parl( 2 ) ); -} - -/* void setEnabled ( bool enable ) */ -HB_FUNC( QT_QWIDGET_SETENABLED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setEnabled( hb_parl( 2 ) ); -} - -/* void setFocus () */ -HB_FUNC( QT_QWIDGET_SETFOCUS_1 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setFocus(); -} - -/* void setHidden ( bool hidden ) */ -HB_FUNC( QT_QWIDGET_SETHIDDEN ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setHidden( hb_parl( 2 ) ); -} - -/* void setStyleSheet ( const QString & styleSheet ) */ -HB_FUNC( QT_QWIDGET_SETSTYLESHEET ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setStyleSheet( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual void setVisible ( bool visible ) */ -HB_FUNC( QT_QWIDGET_SETVISIBLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setVisible( hb_parl( 2 ) ); -} - -/* void setWindowModified ( bool modified ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWMODIFIED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->setWindowModified( hb_parl( 2 ) ); -} - -/* void setWindowTitle ( const QString & title ) */ -HB_FUNC( QT_QWIDGET_SETWINDOWTITLE ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - { - void * pText; - ( p )->setWindowTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void show () */ -HB_FUNC( QT_QWIDGET_SHOW ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->show(); -} - -/* void showFullScreen () */ -HB_FUNC( QT_QWIDGET_SHOWFULLSCREEN ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->showFullScreen(); -} - -/* void showMaximized () */ -HB_FUNC( QT_QWIDGET_SHOWMAXIMIZED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->showMaximized(); -} - -/* void showMinimized () */ -HB_FUNC( QT_QWIDGET_SHOWMINIMIZED ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->showMinimized(); -} - -/* void showNormal () */ -HB_FUNC( QT_QWIDGET_SHOWNORMAL ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->showNormal(); -} - -/* void update () */ -HB_FUNC( QT_QWIDGET_UPDATE_3 ) -{ - QWidget * p = hbqt_par_QWidget( 1 ); - if( p ) - ( p )->update(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp b/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp deleted file mode 100644 index 10b0b08197..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWidgetAction.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QWidgetAction ( QObject * parent ) - * virtual ~QWidgetAction () - */ - -typedef struct -{ - QPointer< QWidgetAction > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWidgetAction; - -HBQT_GC_FUNC( hbqt_gcRelease_QWidgetAction ) -{ - HBQT_GC_T_QWidgetAction * p = ( HBQT_GC_T_QWidgetAction * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWidgetAction * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWidgetAction( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWidgetAction * p = ( HBQT_GC_T_QWidgetAction * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWidgetAction ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWidgetAction >( ( QWidgetAction * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWidgetAction; - p->type = HBQT_TYPE_QWidgetAction; - - return p; -} - -HB_FUNC( QT_QWIDGETACTION ) -{ - QWidgetAction * pObj = NULL; - - pObj = new QWidgetAction( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QWidgetAction( ( void * ) pObj, true ) ); -} - -/* QWidget * defaultWidget () const */ -HB_FUNC( QT_QWIDGETACTION_DEFAULTWIDGET ) -{ - QWidgetAction * p = hbqt_par_QWidgetAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->defaultWidget(), false ) ); -} - -/* void releaseWidget ( QWidget * widget ) */ -HB_FUNC( QT_QWIDGETACTION_RELEASEWIDGET ) -{ - QWidgetAction * p = hbqt_par_QWidgetAction( 1 ); - if( p ) - ( p )->releaseWidget( hbqt_par_QWidget( 2 ) ); -} - -/* QWidget * requestWidget ( QWidget * parent ) */ -HB_FUNC( QT_QWIDGETACTION_REQUESTWIDGET ) -{ - QWidgetAction * p = hbqt_par_QWidgetAction( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->requestWidget( hbqt_par_QWidget( 2 ) ), false ) ); -} - -/* void setDefaultWidget ( QWidget * widget ) */ -HB_FUNC( QT_QWIDGETACTION_SETDEFAULTWIDGET ) -{ - QWidgetAction * p = hbqt_par_QWidgetAction( 1 ); - if( p ) - ( p )->setDefaultWidget( hbqt_par_QWidget( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp deleted file mode 100644 index 95137be77b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWidgetItem.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 2/2 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QWidgetItem ( QWidget * widget ) - */ - -typedef struct -{ - QWidgetItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWidgetItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QWidgetItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QWidgetItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWidgetItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWidgetItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWidgetItem; - p->type = HBQT_TYPE_QWidgetItem; - - return p; -} - -HB_FUNC( QT_QWIDGETITEM ) -{ - QWidgetItem * pObj = NULL; - - pObj = new QWidgetItem( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QWidgetItem( ( void * ) pObj, true ) ); -} - -/* virtual bool isEmpty () const */ -HB_FUNC( QT_QWIDGETITEM_ISEMPTY ) -{ - QWidgetItem * p = hbqt_par_QWidgetItem( 1 ); - if( p ) - hb_retl( ( p )->isEmpty() ); -} - -/* virtual QWidget * widget () */ -HB_FUNC( QT_QWIDGETITEM_WIDGET ) -{ - QWidgetItem * p = hbqt_par_QWidgetItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp deleted file mode 100644 index f25ba81f77..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWindowStateChangeEvent.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 1/1 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QWindowStateChangeEvent () - */ - -typedef struct -{ - QWindowStateChangeEvent * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWindowStateChangeEvent; - -HBQT_GC_FUNC( hbqt_gcRelease_QWindowStateChangeEvent ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWindowStateChangeEvent( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWindowStateChangeEvent * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWindowStateChangeEvent; - p->type = HBQT_TYPE_QWindowStateChangeEvent; - - return p; -} - -HB_FUNC( QT_QWINDOWSTATECHANGEEVENT ) -{ - // __HB_RETPTRGC__( new QWindowStateChangeEvent() ); -} - -/* Qt::WindowStates oldState () const */ -HB_FUNC( QT_QWINDOWSTATECHANGEEVENT_OLDSTATE ) -{ - QWindowStateChangeEvent * p = hbqt_par_QWindowStateChangeEvent( 1 ); - if( p ) - hb_retni( ( Qt::WindowStates ) ( p )->oldState() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp b/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp deleted file mode 100644 index 3ae8152e2b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWindowsStyle.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 0/0 [ 0% ] ] - * - */ - -#include - -#include - - -/* - * QWindowsStyle () - * ~QWindowsStyle () - * - */ - -typedef struct -{ - QPointer< QWindowsStyle > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWindowsStyle; - -HBQT_GC_FUNC( hbqt_gcRelease_QWindowsStyle ) -{ - HBQT_GC_T_QWindowsStyle * p = ( HBQT_GC_T_QWindowsStyle * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWindowsStyle * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWindowsStyle( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWindowsStyle * p = ( HBQT_GC_T_QWindowsStyle * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWindowsStyle ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWindowsStyle >( ( QWindowsStyle * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWindowsStyle; - p->type = HBQT_TYPE_QWindowsStyle; - - return p; -} - -HB_FUNC( QT_QWINDOWSSTYLE ) -{ - QWindowsStyle * pObj = NULL; - - pObj = new QWindowsStyle() ; - - hb_retptrGC( hbqt_gcAllocate_QWindowsStyle( ( void * ) pObj, true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWizard.cpp b/harbour/contrib/hbqt/qtgui/g/QWizard.cpp deleted file mode 100644 index 45cf9b1924..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWizard.cpp +++ /dev/null @@ -1,392 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum WizardButton { BackButton, NextButton, CommitButton, FinishButton, ..., Stretch } - * enum WizardOption { IndependentPages, IgnoreSubTitles, ExtendedWatermarkPixmap, NoDefaultButton, ..., HaveCustomButton3 } - * enum WizardPixmap { WatermarkPixmap, LogoPixmap, BannerPixmap, BackgroundPixmap } - * enum WizardStyle { ClassicStyle, ModernStyle, MacStyle, AeroStyle } - * flags WizardOptions - */ - -/* - * Constructed[ 35/36 [ 97.22% ] ] - * - * *** Unconvered Prototypes *** - * - * void setButtonLayout ( const QList & layout ) - */ - -#include - -#include -#include - - -/* - * QWizard ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QWizard () - */ - -typedef struct -{ - QPointer< QWizard > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWizard; - -HBQT_GC_FUNC( hbqt_gcRelease_QWizard ) -{ - HBQT_GC_T_QWizard * p = ( HBQT_GC_T_QWizard * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWizard * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWizard( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWizard * p = ( HBQT_GC_T_QWizard * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWizard ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWizard >( ( QWizard * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWizard; - p->type = HBQT_TYPE_QWizard; - - return p; -} - -HB_FUNC( QT_QWIZARD ) -{ - QWizard * pObj = NULL; - - pObj = new QWizard( hbqt_par_QWidget( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QWizard( ( void * ) pObj, true ) ); -} - -/* int addPage ( QWizardPage * page ) */ -HB_FUNC( QT_QWIZARD_ADDPAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( p )->addPage( hbqt_par_QWizardPage( 2 ) ) ); -} - -/* QAbstractButton * button ( WizardButton which ) const */ -HB_FUNC( QT_QWIZARD_BUTTON ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAbstractButton( ( p )->button( ( QWizard::WizardButton ) hb_parni( 2 ) ), false ) ); -} - -/* QString buttonText ( WizardButton which ) const */ -HB_FUNC( QT_QWIZARD_BUTTONTEXT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retstr_utf8( ( p )->buttonText( ( QWizard::WizardButton ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* int currentId () const */ -HB_FUNC( QT_QWIZARD_CURRENTID ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( p )->currentId() ); -} - -/* QWizardPage * currentPage () const */ -HB_FUNC( QT_QWIZARD_CURRENTPAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWizardPage( ( p )->currentPage(), false ) ); -} - -/* QVariant field ( const QString & name ) const */ -HB_FUNC( QT_QWIZARD_FIELD ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->field( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* bool hasVisitedPage ( int id ) const */ -HB_FUNC( QT_QWIZARD_HASVISITEDPAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retl( ( p )->hasVisitedPage( hb_parni( 2 ) ) ); -} - -/* virtual int nextId () const */ -HB_FUNC( QT_QWIZARD_NEXTID ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( p )->nextId() ); -} - -/* WizardOptions options () const */ -HB_FUNC( QT_QWIZARD_OPTIONS ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( QWizard::WizardOptions ) ( p )->options() ); -} - -/* QWizardPage * page ( int id ) const */ -HB_FUNC( QT_QWIZARD_PAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWizardPage( ( p )->page( hb_parni( 2 ) ), false ) ); -} - -/* QList pageIds () const */ -HB_FUNC( QT_QWIZARD_PAGEIDS ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->pageIds() ), true ) ); -} - -/* QPixmap pixmap ( WizardPixmap which ) const */ -HB_FUNC( QT_QWIZARD_PIXMAP ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap( ( QWizard::WizardPixmap ) hb_parni( 2 ) ) ), true ) ); -} - -/* void removePage ( int id ) */ -HB_FUNC( QT_QWIZARD_REMOVEPAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->removePage( hb_parni( 2 ) ); -} - -/* void setButton ( WizardButton which, QAbstractButton * button ) */ -HB_FUNC( QT_QWIZARD_SETBUTTON ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setButton( ( QWizard::WizardButton ) hb_parni( 2 ), hbqt_par_QAbstractButton( 3 ) ); -} - -/* void setButtonText ( WizardButton which, const QString & text ) */ -HB_FUNC( QT_QWIZARD_SETBUTTONTEXT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - { - void * pText; - ( p )->setButtonText( ( QWizard::WizardButton ) hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setDefaultProperty ( const char * className, const char * property, const char * changedSignal ) */ -HB_FUNC( QT_QWIZARD_SETDEFAULTPROPERTY ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setDefaultProperty( ( const char * ) hb_parc( 2 ), ( const char * ) hb_parc( 3 ), ( const char * ) hb_parc( 4 ) ); -} - -/* void setField ( const QString & name, const QVariant & value ) */ -HB_FUNC( QT_QWIZARD_SETFIELD ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - { - void * pText; - ( p )->setField( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QVariant( 3 ) ); - hb_strfree( pText ); - } -} - -/* void setOption ( WizardOption option, bool on = true ) */ -HB_FUNC( QT_QWIZARD_SETOPTION ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setOption( ( QWizard::WizardOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setOptions ( WizardOptions options ) */ -HB_FUNC( QT_QWIZARD_SETOPTIONS ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setOptions( ( QWizard::WizardOptions ) hb_parni( 2 ) ); -} - -/* void setPage ( int id, QWizardPage * page ) */ -HB_FUNC( QT_QWIZARD_SETPAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setPage( hb_parni( 2 ), hbqt_par_QWizardPage( 3 ) ); -} - -/* void setPixmap ( WizardPixmap which, const QPixmap & pixmap ) */ -HB_FUNC( QT_QWIZARD_SETPIXMAP ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setPixmap( ( QWizard::WizardPixmap ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* void setStartId ( int id ) */ -HB_FUNC( QT_QWIZARD_SETSTARTID ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setStartId( hb_parni( 2 ) ); -} - -/* void setSubTitleFormat ( Qt::TextFormat format ) */ -HB_FUNC( QT_QWIZARD_SETSUBTITLEFORMAT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setSubTitleFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* void setTitleFormat ( Qt::TextFormat format ) */ -HB_FUNC( QT_QWIZARD_SETTITLEFORMAT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setTitleFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* void setWizardStyle ( WizardStyle style ) */ -HB_FUNC( QT_QWIZARD_SETWIZARDSTYLE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->setWizardStyle( ( QWizard::WizardStyle ) hb_parni( 2 ) ); -} - -/* int startId () const */ -HB_FUNC( QT_QWIZARD_STARTID ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( p )->startId() ); -} - -/* Qt::TextFormat subTitleFormat () const */ -HB_FUNC( QT_QWIZARD_SUBTITLEFORMAT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( Qt::TextFormat ) ( p )->subTitleFormat() ); -} - -/* bool testOption ( WizardOption option ) const */ -HB_FUNC( QT_QWIZARD_TESTOPTION ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retl( ( p )->testOption( ( QWizard::WizardOption ) hb_parni( 2 ) ) ); -} - -/* Qt::TextFormat titleFormat () const */ -HB_FUNC( QT_QWIZARD_TITLEFORMAT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( Qt::TextFormat ) ( p )->titleFormat() ); -} - -/* virtual bool validateCurrentPage () */ -HB_FUNC( QT_QWIZARD_VALIDATECURRENTPAGE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retl( ( p )->validateCurrentPage() ); -} - -/* QList visitedPages () const */ -HB_FUNC( QT_QWIZARD_VISITEDPAGES ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->visitedPages() ), true ) ); -} - -/* WizardStyle wizardStyle () const */ -HB_FUNC( QT_QWIZARD_WIZARDSTYLE ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - hb_retni( ( QWizard::WizardStyle ) ( p )->wizardStyle() ); -} - -/* void back () */ -HB_FUNC( QT_QWIZARD_BACK ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->back(); -} - -/* void next () */ -HB_FUNC( QT_QWIZARD_NEXT ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->next(); -} - -/* void restart () */ -HB_FUNC( QT_QWIZARD_RESTART ) -{ - QWizard * p = hbqt_par_QWizard( 1 ); - if( p ) - ( p )->restart(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp b/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp deleted file mode 100644 index 6b289f7183..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/QWizardPage.cpp +++ /dev/null @@ -1,234 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtgui.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 17/17 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QWizardPage ( QWidget * parent = 0 ) - */ - -typedef struct -{ - QPointer< QWizardPage > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWizardPage; - -HBQT_GC_FUNC( hbqt_gcRelease_QWizardPage ) -{ - HBQT_GC_T_QWizardPage * p = ( HBQT_GC_T_QWizardPage * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWizardPage * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWizardPage( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWizardPage * p = ( HBQT_GC_T_QWizardPage * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWizardPage ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWizardPage >( ( QWizardPage * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWizardPage; - p->type = HBQT_TYPE_QWizardPage; - - return p; -} - -HB_FUNC( QT_QWIZARDPAGE ) -{ - QWizardPage * pObj = NULL; - - pObj = new QWizardPage() ; - - hb_retptrGC( hbqt_gcAllocate_QWizardPage( ( void * ) pObj, true ) ); -} - -/* QString buttonText ( QWizard::WizardButton which ) const */ -HB_FUNC( QT_QWIZARDPAGE_BUTTONTEXT ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retstr_utf8( ( p )->buttonText( ( QWizard::WizardButton ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* virtual void cleanupPage () */ -HB_FUNC( QT_QWIZARDPAGE_CLEANUPPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - ( p )->cleanupPage(); -} - -/* virtual void initializePage () */ -HB_FUNC( QT_QWIZARDPAGE_INITIALIZEPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - ( p )->initializePage(); -} - -/* bool isCommitPage () const */ -HB_FUNC( QT_QWIZARDPAGE_ISCOMMITPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retl( ( p )->isCommitPage() ); -} - -/* virtual bool isComplete () const */ -HB_FUNC( QT_QWIZARDPAGE_ISCOMPLETE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retl( ( p )->isComplete() ); -} - -/* bool isFinalPage () const */ -HB_FUNC( QT_QWIZARDPAGE_ISFINALPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retl( ( p )->isFinalPage() ); -} - -/* virtual int nextId () const */ -HB_FUNC( QT_QWIZARDPAGE_NEXTID ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retni( ( p )->nextId() ); -} - -/* QPixmap pixmap ( QWizard::WizardPixmap which ) const */ -HB_FUNC( QT_QWIZARDPAGE_PIXMAP ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap( ( QWizard::WizardPixmap ) hb_parni( 2 ) ) ), true ) ); -} - -/* void setButtonText ( QWizard::WizardButton which, const QString & text ) */ -HB_FUNC( QT_QWIZARDPAGE_SETBUTTONTEXT ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - { - void * pText; - ( p )->setButtonText( ( QWizard::WizardButton ) hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setCommitPage ( bool commitPage ) */ -HB_FUNC( QT_QWIZARDPAGE_SETCOMMITPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - ( p )->setCommitPage( hb_parl( 2 ) ); -} - -/* void setFinalPage ( bool finalPage ) */ -HB_FUNC( QT_QWIZARDPAGE_SETFINALPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - ( p )->setFinalPage( hb_parl( 2 ) ); -} - -/* void setPixmap ( QWizard::WizardPixmap which, const QPixmap & pixmap ) */ -HB_FUNC( QT_QWIZARDPAGE_SETPIXMAP ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - ( p )->setPixmap( ( QWizard::WizardPixmap ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* void setSubTitle ( const QString & subTitle ) */ -HB_FUNC( QT_QWIZARDPAGE_SETSUBTITLE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - { - void * pText; - ( p )->setSubTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setTitle ( const QString & title ) */ -HB_FUNC( QT_QWIZARDPAGE_SETTITLE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - { - void * pText; - ( p )->setTitle( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QString subTitle () const */ -HB_FUNC( QT_QWIZARDPAGE_SUBTITLE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retstr_utf8( ( p )->subTitle().toUtf8().data() ); -} - -/* QString title () const */ -HB_FUNC( QT_QWIZARDPAGE_TITLE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - -/* virtual bool validatePage () */ -HB_FUNC( QT_QWIZARDPAGE_VALIDATEPAGE ) -{ - QWizardPage * p = hbqt_par_QWizardPage( 1 ); - if( p ) - hb_retl( ( p )->validatePage() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg b/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg deleted file mode 100644 index bd6d6a5fc2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg +++ /dev/null @@ -1,78 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQAbstractItemModel( ... ) - RETURN HB_HBQAbstractItemModel():new( ... ) - -FUNCTION HBQAbstractItemModelFromPointer( ... ) - RETURN HB_HBQAbstractItemModel():fromPointer( ... ) - - -CREATE CLASS HBQAbstractItemModel INHERIT HbQtObjectHandler, HB_QAbstractItemModel FUNCTION HB_HBQAbstractItemModel - - METHOD new( ... ) - - METHOD reset // ( ) -> NIL - METHOD index // ( nRow, nColumn, oQModelIndex ) -> oQModelIndex - - ENDCLASS - - -METHOD HBQAbstractItemModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQAbstractItemModel( ... ) - RETURN Self - - -METHOD HBQAbstractItemModel:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQAbstractItemModel_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQAbstractItemModel:index( ... ) - 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 QModelIndexFromPointer( Qt_HBQAbstractItemModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_HBQAbstractItemModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg b/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg deleted file mode 100644 index 6b95e1bf51..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsItem.prg +++ /dev/null @@ -1,816 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQGraphicsItem( ... ) - RETURN HB_HBQGraphicsItem():new( ... ) - -FUNCTION HBQGraphicsItemFromPointer( ... ) - RETURN HB_HBQGraphicsItem():fromPointer( ... ) - - -CREATE CLASS HBQGraphicsItem INHERIT HbQtObjectHandler, HB_QGraphicsItem FUNCTION HB_HBQGraphicsItem - - METHOD new( ... ) - - METHOD hbSetBlock // ( xBlock ) -> NIL - METHOD boundingRect // ( ) -> oQRectF - METHOD paint // ( oQPainter, oQStyleOptionGraphicsItem, oQWidget ) -> NIL - METHOD determineResizeMode // ( oQPointF ) -> nInt - METHOD adjustRect // ( oQRectF ) -> oQRectF - METHOD prepare // ( oQPainter ) -> NIL - METHOD pen // ( ) -> oQPen - METHOD setPen // ( oQPen ) -> NIL - METHOD brush // ( ) -> oQBrush - METHOD setBrush // ( oQBrush ) -> NIL - METHOD backgroundBrush // ( ) -> oQBrush - METHOD setBackgroundBrush // ( oQBrush ) -> NIL - METHOD font // ( ) -> oQFont - METHOD setFont // ( oQFont ) -> NIL - METHOD lineStyle // ( ) -> nInt - METHOD setLineStyle // ( nLineStyle ) -> NIL - METHOD startAngle // ( ) -> nInt - METHOD setStartAngle // ( nStartAngle ) -> NIL - METHOD spanAngle // ( ) -> nInt - METHOD setSpanAngle // ( nSpanAngle ) -> NIL - METHOD width // ( ) -> nQreal - METHOD setWidth // ( nWidth ) -> NIL - METHOD height // ( ) -> nQreal - METHOD setHeight // ( nHeight ) -> NIL - METHOD opacity // ( ) -> nInt - METHOD setOpacity // ( nOpacity ) -> NIL - METHOD geometry // ( ) -> oQRectF - METHOD setGeometry // ( oQRectF ) -> NIL - METHOD objectType // ( ) -> cQString - METHOD setObjectType // ( cType ) -> NIL - METHOD objectName // ( ) -> cQString - METHOD setObjectName // ( cName ) -> NIL - METHOD text // ( ) -> cQString - METHOD setText // ( cType ) -> NIL - METHOD paintType // ( ) -> nInt - METHOD setPaintType // ( nPaintType ) -> NIL - METHOD frameType // ( ) -> nInt - METHOD setFrameType // ( nFrameType ) -> NIL - METHOD drawTextType // ( ) -> nInt - METHOD setDrawTextType // ( nDrawTextType ) -> NIL - METHOD pixmap // ( ) -> oQPixmap - METHOD setPixmap // ( oQPixmap ) -> NIL - METHOD textColor // ( ) -> oQColor - METHOD setTextColor // ( oQColor ) -> NIL - METHOD borderWidth // ( ) -> nInt - METHOD setBorderWidth // ( nBWidth ) -> NIL - METHOD borderColor // ( ) -> oQColor - METHOD setBorderColor // ( oQColor ) -> NIL - METHOD sizePolicy // ( ) -> nInt - METHOD setSizePolicy // ( nSizePolicy ) -> NIL - METHOD textFlags // ( ) -> nInt - METHOD setTextFlags // ( nTextFlags ) -> NIL - METHOD resizeFlags // ( ) -> nInt - METHOD setResizeFlags // ( nResizeFlags ) -> NIL - METHOD resizeHandle // ( ) -> nInt - METHOD setResizeHandle // ( nResizeHandle ) -> NIL - METHOD barsIdentation // ( ) -> nInt - METHOD setBarsIdentation // ( nBarsIdentation ) -> NIL - METHOD drawBorder // ( ) -> lBool - METHOD setDrawBorder // ( lDrawBorder ) -> NIL - METHOD showGrid // ( ) -> lBool - METHOD setShowGrid // ( lShowGrid ) -> NIL - METHOD showLabels // ( ) -> lBool - METHOD setShowLabels // ( lShowLabels ) -> NIL - METHOD toColorFactor // ( ) -> nQreal - METHOD setToColorFactor // ( nToColorFactor ) -> NIL - METHOD setBarValues // ( oQStringList ) -> NIL - METHOD setLegendColorRectWidth // ( nLegendColorRectWidth ) -> NIL - - ENDCLASS - - -METHOD HBQGraphicsItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQGraphicsItem( ... ) - RETURN Self - - -METHOD HBQGraphicsItem:hbSetBlock( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) - RETURN Qt_HBQGraphicsItem_hbSetBlock( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_HBQGraphicsItem_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:paint( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_HBQGraphicsItem_paint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_HBQGraphicsItem_paint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:determineResizeMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_determineResizeMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:adjustRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_HBQGraphicsItem_adjustRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:prepare( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_prepare( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:pen( ... ) - SWITCH PCount() - CASE 0 - RETURN QPenFromPointer( Qt_HBQGraphicsItem_pen( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setPen( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setPen( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:brush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_HBQGraphicsItem_brush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:backgroundBrush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_HBQGraphicsItem_backgroundBrush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setBackgroundBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setBackgroundBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_HBQGraphicsItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:lineStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_lineStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setLineStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setLineStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:startAngle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_startAngle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setStartAngle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setStartAngle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:spanAngle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_spanAngle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setSpanAngle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setSpanAngle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:opacity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_opacity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setOpacity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setOpacity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_HBQGraphicsItem_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:objectType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_objectType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setObjectType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setObjectType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:objectName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_objectName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setObjectName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setObjectName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:paintType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_paintType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setPaintType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setPaintType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:frameType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_frameType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setFrameType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setFrameType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:drawTextType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_drawTextType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setDrawTextType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setDrawTextType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_HBQGraphicsItem_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:textColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_HBQGraphicsItem_textColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setTextColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setTextColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:borderWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_borderWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setBorderWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setBorderWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:borderColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_HBQGraphicsItem_borderColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setBorderColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setBorderColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:sizePolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_sizePolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setSizePolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setSizePolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:textFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_textFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setTextFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setTextFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:resizeFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_resizeFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setResizeFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setResizeFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:resizeHandle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_resizeHandle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setResizeHandle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setResizeHandle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:barsIdentation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_barsIdentation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setBarsIdentation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setBarsIdentation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:drawBorder( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_drawBorder( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setDrawBorder( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setDrawBorder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:showGrid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_showGrid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setShowGrid( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setShowGrid( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:showLabels( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_showLabels( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setShowLabels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setShowLabels( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:toColorFactor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsItem_toColorFactor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setToColorFactor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setToColorFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setBarValues( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setBarValues( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsItem:setLegendColorRectWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsItem_setLegendColorRectWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg b/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg deleted file mode 100644 index d8e708ed1b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQGraphicsScene.prg +++ /dev/null @@ -1,273 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQGraphicsScene( ... ) - RETURN HB_HBQGraphicsScene():new( ... ) - -FUNCTION HBQGraphicsSceneFromPointer( ... ) - RETURN HB_HBQGraphicsScene():fromPointer( ... ) - - -CREATE CLASS HBQGraphicsScene INHERIT HbQtObjectHandler, HB_QGraphicsScene FUNCTION HB_HBQGraphicsScene - - METHOD new( ... ) - - METHOD hbSetBlock // ( xBlock ) -> NIL - METHOD pageSize // ( ) -> nInt - METHOD setPageSize // ( nPageSize ) -> NIL - METHOD paperRect // ( ) -> oQRectF - METHOD setPaperRect // ( oQRectF ) -> NIL - METHOD orientation // ( ) -> nInt - METHOD setOrientation // ( nOrientation ) -> NIL - METHOD geometry // ( ) -> oQRectF - METHOD setGeometry // ( oQRectF ) -> NIL - METHOD magnetArea // ( ) -> nInt - METHOD setMagnetArea // ( nMagnetArea ) -> NIL - METHOD showGrid // ( ) -> lBool - METHOD setShowGrid // ( lShowGrid ) -> NIL - METHOD setLeftMagnet // ( lMagneted ) -> NIL - METHOD setRightMagnet // ( lMagneted ) -> NIL - METHOD setTopMagnet // ( lMagneted ) -> NIL - METHOD setBottomMagnet // ( lMagneted ) -> NIL - METHOD setHorizontalMagnet // ( lMagneted ) -> NIL - METHOD setVerticalMagnet // ( lMagneted ) -> NIL - - ENDCLASS - - -METHOD HBQGraphicsScene:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQGraphicsScene( ... ) - RETURN Self - - -METHOD HBQGraphicsScene:hbSetBlock( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) - RETURN Qt_HBQGraphicsScene_hbSetBlock( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:pageSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsScene_pageSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setPageSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setPageSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:paperRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_HBQGraphicsScene_paperRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setPaperRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setPaperRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsScene_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_HBQGraphicsScene_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:magnetArea( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsScene_magnetArea( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setMagnetArea( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setMagnetArea( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:showGrid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQGraphicsScene_showGrid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setShowGrid( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setShowGrid( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setLeftMagnet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setLeftMagnet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setRightMagnet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setRightMagnet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setTopMagnet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setTopMagnet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setBottomMagnet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setBottomMagnet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setHorizontalMagnet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setHorizontalMagnet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQGraphicsScene:setVerticalMagnet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQGraphicsScene_setVerticalMagnet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg b/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg deleted file mode 100644 index b75a4d0291..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQPlainTextEdit.prg +++ /dev/null @@ -1,668 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQPlainTextEdit( ... ) - RETURN HB_HBQPlainTextEdit():new( ... ) - -FUNCTION HBQPlainTextEditFromPointer( ... ) - RETURN HB_HBQPlainTextEdit():fromPointer( ... ) - - -CREATE CLASS HBQPlainTextEdit INHERIT HbQtObjectHandler, HB_QPlainTextEdit FUNCTION HB_HBQPlainTextEdit - - METHOD new( ... ) - - METHOD hbGetIndex // ( oQTextCursor ) -> nInt - METHOD hbGetLine // ( oQTextCursor ) -> nInt - METHOD hbLineNumberAreaWidth // ( ) -> nInt - METHOD hbGetSpaces // ( ) -> nInt - METHOD hbSetSpaces // ( nNewSpaces ) -> NIL - METHOD hbBookmarks // ( nBlock ) -> NIL - METHOD hbNextBookmark // ( nBlock ) -> NIL - METHOD hbPrevBookmark // ( nBlock ) -> NIL - METHOD hbGotoBookmark // ( nBlock ) -> NIL - METHOD hbNumberBlockVisible // ( lB ) -> NIL - // ( ) -> lBool - METHOD hbHighlightCurrentLine // ( lB ) -> NIL - // ( ) -> lBool - METHOD hbSetEventBlock // ( xBlock ) -> NIL - METHOD hbUpdateLineNumberAreaWidth // ( nNewBlockCount ) -> NIL - METHOD hbCaseUpper // ( ) -> NIL - METHOD hbCaseLower // ( ) -> NIL - METHOD hbEscapeQuotes // ( ) -> NIL - METHOD hbEscapeDQuotes // ( ) -> NIL - METHOD hbUnescapeQuotes // ( ) -> NIL - METHOD hbUnescapeDQuotes // ( ) -> NIL - METHOD hbConvertQuotes // ( ) -> NIL - METHOD hbConvertDQuotes // ( ) -> NIL - METHOD hbBlockComment // ( ) -> NIL - METHOD hbStreamComment // ( ) -> NIL - METHOD hbDuplicateLine // ( ) -> NIL - METHOD hbReplaceSelection // ( cTxt ) -> NIL - METHOD hbBlockIndent // ( nSteps ) -> NIL - METHOD hbDeleteLine // ( ) -> NIL - METHOD hbMoveLine // ( nIDirection ) -> NIL - METHOD hbGetSelectedText // ( ) -> cQString - METHOD hbTextUnderCursor // ( lBCodeComplete ) -> cQString - METHOD hbShowPrototype // ( cTip, nRows, nCols ) -> NIL - METHOD hbSetCompleter // ( oQCompleter ) -> NIL - METHOD hbSetFldsCompleter // ( oQCompleter ) -> NIL - METHOD hbSetCurrentLineColor // ( oQColor ) -> NIL - METHOD hbSetLineAreaBkColor // ( oQColor ) -> NIL - METHOD hbRefresh // ( ) -> NIL - METHOD hbCut // ( nKey ) -> NIL - METHOD hbCopy // ( ) -> NIL - METHOD hbPaste // ( ) -> NIL - METHOD hbSetSelectionMode // ( nMode, lOn ) -> NIL - METHOD hbGetSelectionInfo // ( ) -> NIL - METHOD hbSetSelectionInfo // ( xSelectionInfo ) -> NIL - METHOD hbSetSelectionColor // ( oQColor ) -> NIL - METHOD hbSetMatchBraces // ( lAll ) -> NIL - METHOD hbGetViewportInfo // ( ) -> NIL - METHOD hbApplyKey // ( nKey, nModifiers, cTxt ) -> NIL - METHOD hbHighlightArea // ( nTop, nLeft, nBottom, nRight, nMode ) -> NIL - METHOD hbTogglePersistentSelection // ( ) -> NIL - METHOD hbHorzRulerVisible // ( lVisible ) -> NIL - METHOD hbSetProtoStyle // ( cCss ) -> NIL - METHOD hbSelectAll // ( ) -> NIL - METHOD hbSetFieldsListActive // ( lActive ) -> NIL - METHOD hbToggleCodeCompetion // ( ) -> NIL - METHOD hbToggleCompetionTips // ( ) -> NIL - - ENDCLASS - - -METHOD HBQPlainTextEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQPlainTextEdit( ... ) - RETURN Self - - -METHOD HBQPlainTextEdit:hbGetIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbGetIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbGetLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbGetLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbLineNumberAreaWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbLineNumberAreaWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbGetSpaces( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbGetSpaces( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetSpaces( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetSpaces( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbBookmarks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbBookmarks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbNextBookmark( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbNextBookmark( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbPrevBookmark( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbPrevBookmark( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbGotoBookmark( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbGotoBookmark( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbNumberBlockVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbNumberBlockVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbNumberBlockVisible_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbHighlightCurrentLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbHighlightCurrentLine( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbHighlightCurrentLine_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetEventBlock( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) - RETURN Qt_HBQPlainTextEdit_hbSetEventBlock( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbUpdateLineNumberAreaWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbUpdateLineNumberAreaWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbCaseUpper( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbCaseUpper( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbCaseLower( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbCaseLower( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbEscapeQuotes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbEscapeQuotes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbEscapeDQuotes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbEscapeDQuotes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbUnescapeQuotes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbUnescapeQuotes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbUnescapeDQuotes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbUnescapeDQuotes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbConvertQuotes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbConvertQuotes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbConvertDQuotes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbConvertDQuotes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbBlockComment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbBlockComment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbStreamComment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbStreamComment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbDuplicateLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbDuplicateLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbReplaceSelection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbReplaceSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbBlockIndent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbBlockIndent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbDeleteLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbDeleteLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbMoveLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbMoveLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbGetSelectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbGetSelectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbTextUnderCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbTextUnderCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbShowPrototype( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_HBQPlainTextEdit_hbShowPrototype( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetCompleter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetCompleter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetFldsCompleter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetFldsCompleter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetCurrentLineColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetCurrentLineColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetLineAreaBkColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetLineAreaBkColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbRefresh( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbRefresh( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbCut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbCut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbCopy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbCopy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbPaste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbPaste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetSelectionMode( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetSelectionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbGetSelectionInfo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbGetSelectionInfo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetSelectionInfo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) - RETURN Qt_HBQPlainTextEdit_hbSetSelectionInfo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetSelectionColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetSelectionColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetMatchBraces( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetMatchBraces( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbGetViewportInfo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbGetViewportInfo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbApplyKey( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_HBQPlainTextEdit_hbApplyKey( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_HBQPlainTextEdit_hbApplyKey( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbHighlightArea( ... ) - 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_HBQPlainTextEdit_hbHighlightArea( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbTogglePersistentSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbTogglePersistentSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbHorzRulerVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbHorzRulerVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetProtoStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetProtoStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSelectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbSelectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbSetFieldsListActive( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_HBQPlainTextEdit_hbSetFieldsListActive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbToggleCodeCompetion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbToggleCodeCompetion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQPlainTextEdit:hbToggleCompetionTips( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQPlainTextEdit_hbToggleCompetionTips( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg b/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg deleted file mode 100644 index 737901438c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQSyntaxHighlighter.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQSyntaxHighlighter( ... ) - RETURN HB_HBQSyntaxHighlighter():new( ... ) - -FUNCTION HBQSyntaxHighlighterFromPointer( ... ) - RETURN HB_HBQSyntaxHighlighter():fromPointer( ... ) - - -CREATE CLASS HBQSyntaxHighlighter INHERIT HbQtObjectHandler, HB_QSyntaxHighlighter FUNCTION HB_HBQSyntaxHighlighter - - METHOD new( ... ) - - METHOD hbSetMultiLineCommentFormat // ( oQTextCharFormat ) -> NIL - METHOD hbSetSingleLineCommentFormat // ( oQTextCharFormat ) -> NIL - METHOD hbSetRule // ( cName, cPattern, oQTextCharFormat ) -> NIL - METHOD hbSetFormat // ( cName, oQTextCharFormat ) -> NIL - METHOD hbSetFormatColumnSelection // ( nStart, nCount, oQColor ) -> NIL - METHOD hbSetRuleWithRegExp // ( cName, oQRegExp, oQTextCharFormat ) -> NIL - - ENDCLASS - - -METHOD HBQSyntaxHighlighter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQSyntaxHighlighter( ... ) - RETURN Self - - -METHOD HBQSyntaxHighlighter:hbSetMultiLineCommentFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQSyntaxHighlighter_hbSetMultiLineCommentFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQSyntaxHighlighter:hbSetSingleLineCommentFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_HBQSyntaxHighlighter_hbSetSingleLineCommentFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQSyntaxHighlighter:hbSetRule( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_HBQSyntaxHighlighter_hbSetRule( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQSyntaxHighlighter:hbSetFormat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_HBQSyntaxHighlighter_hbSetFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQSyntaxHighlighter:hbSetFormatColumnSelection( ... ) - 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_HBQSyntaxHighlighter_hbSetFormatColumnSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQSyntaxHighlighter:hbSetRuleWithRegExp( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_HBQSyntaxHighlighter_hbSetRuleWithRegExp( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg b/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg deleted file mode 100644 index 5863af4357..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQTableView.prg +++ /dev/null @@ -1,63 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQTableView( ... ) - RETURN HB_HBQTableView():new( ... ) - -FUNCTION HBQTableViewFromPointer( ... ) - RETURN HB_HBQTableView():fromPointer( ... ) - - -CREATE CLASS HBQTableView INHERIT HbQtObjectHandler, HB_QTableView FUNCTION HB_HBQTableView - - METHOD new( ... ) - - METHOD hbSetBlock // ( xBlock ) -> NIL - - ENDCLASS - - -METHOD HBQTableView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQTableView( ... ) - RETURN Self - - -METHOD HBQTableView:hbSetBlock( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_pvalue( 1 ) != NIL ) - RETURN Qt_HBQTableView_hbSetBlock( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg b/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg deleted file mode 100644 index f3c3406284..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/THBQTextBlockUserData.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION HBQTextBlockUserData( ... ) - RETURN HB_HBQTextBlockUserData():new( ... ) - -FUNCTION HBQTextBlockUserDataFromPointer( ... ) - RETURN HB_HBQTextBlockUserData():fromPointer( ... ) - - -CREATE CLASS HBQTextBlockUserData INHERIT HbQtObjectHandler FUNCTION HB_HBQTextBlockUserData - - METHOD new( ... ) - - METHOD hbSetState // ( nState ) -> nInt - METHOD hbState // ( ) -> nInt - - ENDCLASS - - -METHOD HBQTextBlockUserData:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_HBQTextBlockUserData( ... ) - RETURN Self - - -METHOD HBQTextBlockUserData:hbSetState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_HBQTextBlockUserData_hbSetState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD HBQTextBlockUserData:hbState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_HBQTextBlockUserData_hbState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg deleted file mode 100644 index d5ac54c5b5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractButton.prg +++ /dev/null @@ -1,334 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractButton( ... ) - RETURN HB_QAbstractButton():new( ... ) - -FUNCTION QAbstractButtonFromPointer( ... ) - RETURN HB_QAbstractButton():fromPointer( ... ) - - -CREATE CLASS QAbstractButton INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QAbstractButton - - METHOD new( ... ) - - METHOD autoExclusive // ( ) -> lBool - METHOD autoRepeat // ( ) -> lBool - METHOD autoRepeatDelay // ( ) -> nInt - METHOD autoRepeatInterval // ( ) -> nInt - METHOD group // ( ) -> oQButtonGroup - METHOD icon // ( ) -> oQIcon - METHOD iconSize // ( ) -> oQSize - METHOD isCheckable // ( ) -> lBool - METHOD isChecked // ( ) -> lBool - METHOD isDown // ( ) -> lBool - METHOD setAutoExclusive // ( lBool ) -> NIL - METHOD setAutoRepeat // ( lBool ) -> NIL - METHOD setAutoRepeatDelay // ( nInt ) -> NIL - METHOD setAutoRepeatInterval // ( nInt ) -> NIL - METHOD setCheckable // ( lBool ) -> NIL - METHOD setDown // ( lBool ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setShortcut // ( oQKeySequence ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD shortcut // ( ) -> oQKeySequence - METHOD text // ( ) -> cQString - METHOD animateClick // ( nMsec ) -> NIL - METHOD click // ( ) -> NIL - METHOD setChecked // ( lBool ) -> NIL - METHOD setIconSize // ( oQSize ) -> NIL - METHOD toggle // ( ) -> NIL - - ENDCLASS - - -METHOD QAbstractButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractButton( ... ) - RETURN Self - - -METHOD QAbstractButton:autoExclusive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_autoExclusive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:autoRepeat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_autoRepeat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:autoRepeatDelay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_autoRepeatDelay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:autoRepeatInterval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_autoRepeatInterval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:group( ... ) - SWITCH PCount() - CASE 0 - RETURN QButtonGroupFromPointer( Qt_QAbstractButton_group( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QAbstractButton_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QAbstractButton_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:isCheckable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_isCheckable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:isChecked( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_isChecked( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:isDown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_isDown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setAutoExclusive( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setAutoExclusive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setAutoRepeat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setAutoRepeat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setAutoRepeatDelay( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setAutoRepeatDelay( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setAutoRepeatInterval( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setAutoRepeatInterval( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setCheckable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setCheckable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setDown( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setDown( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QAbstractButton_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setShortcut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setShortcut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:shortcut( ... ) - SWITCH PCount() - CASE 0 - RETURN QKeySequenceFromPointer( Qt_QAbstractButton_shortcut( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:animateClick( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_animateClick( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QAbstractButton_animateClick( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:click( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_click( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setChecked( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setChecked( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractButton_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractButton:toggle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractButton_toggle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg deleted file mode 100644 index ab835e40db..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractGraphicsShapeItem( ... ) - RETURN HB_QAbstractGraphicsShapeItem():new( ... ) - -FUNCTION QAbstractGraphicsShapeItemFromPointer( ... ) - RETURN HB_QAbstractGraphicsShapeItem():fromPointer( ... ) - - -CREATE CLASS QAbstractGraphicsShapeItem INHERIT HbQtObjectHandler, HB_QGraphicsItem FUNCTION HB_QAbstractGraphicsShapeItem - - METHOD new( ... ) - - METHOD brush // ( ) -> oQBrush - METHOD pen // ( ) -> oQPen - METHOD setBrush // ( oQBrush ) -> NIL - METHOD setPen // ( oQPen ) -> NIL - - ENDCLASS - - -METHOD QAbstractGraphicsShapeItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractGraphicsShapeItem( ... ) - RETURN Self - - -METHOD QAbstractGraphicsShapeItem:brush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QAbstractGraphicsShapeItem_brush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractGraphicsShapeItem:pen( ... ) - SWITCH PCount() - CASE 0 - RETURN QPenFromPointer( Qt_QAbstractGraphicsShapeItem_pen( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractGraphicsShapeItem:setBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractGraphicsShapeItem_setBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractGraphicsShapeItem:setPen( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractGraphicsShapeItem_setPen( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg deleted file mode 100644 index 3d294b073b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemDelegate.prg +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractItemDelegate( ... ) - RETURN HB_QAbstractItemDelegate():new( ... ) - -FUNCTION QAbstractItemDelegateFromPointer( ... ) - RETURN HB_QAbstractItemDelegate():fromPointer( ... ) - - -CREATE CLASS QAbstractItemDelegate INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QAbstractItemDelegate - - METHOD new( ... ) - - METHOD createEditor // ( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> oQWidget - METHOD editorEvent // ( oQEvent, oQAbstractItemModel, oQStyleOptionViewItem, oQModelIndex ) -> lBool - METHOD paint // ( oQPainter, oQStyleOptionViewItem, oQModelIndex ) -> NIL - METHOD setEditorData // ( oQWidget, oQModelIndex ) -> NIL - METHOD setModelData // ( oQWidget, oQAbstractItemModel, oQModelIndex ) -> NIL - METHOD sizeHint // ( oQStyleOptionViewItem, oQModelIndex ) -> oQSize - METHOD updateEditorGeometry // ( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> NIL - - ENDCLASS - - -METHOD QAbstractItemDelegate:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractItemDelegate( ... ) - RETURN Self - - -METHOD QAbstractItemDelegate:createEditor( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QWidgetFromPointer( Qt_QAbstractItemDelegate_createEditor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemDelegate:editorEvent( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QAbstractItemDelegate_editorEvent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemDelegate:paint( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QAbstractItemDelegate_paint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemDelegate:setEditorData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemDelegate_setEditorData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemDelegate:setModelData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QAbstractItemDelegate_setModelData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemDelegate:sizeHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QSizeFromPointer( Qt_QAbstractItemDelegate_sizeHint( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemDelegate:updateEditorGeometry( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QAbstractItemDelegate_updateEditorGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg deleted file mode 100644 index 23fe96b966..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractItemView.prg +++ /dev/null @@ -1,769 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractItemView( ... ) - RETURN HB_QAbstractItemView():new( ... ) - -FUNCTION QAbstractItemViewFromPointer( ... ) - RETURN HB_QAbstractItemView():fromPointer( ... ) - - -CREATE CLASS QAbstractItemView INHERIT HbQtObjectHandler, HB_QAbstractScrollArea FUNCTION HB_QAbstractItemView - - METHOD new( ... ) - - METHOD alternatingRowColors // ( ) -> lBool - METHOD autoScrollMargin // ( ) -> nInt - METHOD closePersistentEditor // ( oQModelIndex ) -> NIL - METHOD currentIndex // ( ) -> oQModelIndex - METHOD dragDropMode // ( ) -> nDragDropMode - METHOD dragDropOverwriteMode // ( ) -> lBool - METHOD dragEnabled // ( ) -> lBool - METHOD editTriggers // ( ) -> nEditTriggers - METHOD hasAutoScroll // ( ) -> lBool - METHOD horizontalScrollMode // ( ) -> nScrollMode - METHOD iconSize // ( ) -> oQSize - METHOD indexAt // ( oQPoint ) -> oQModelIndex - METHOD indexWidget // ( oQModelIndex ) -> oQWidget - METHOD itemDelegate // ( ) -> oQAbstractItemDelegate - // ( oQModelIndex ) -> oQAbstractItemDelegate - METHOD itemDelegateForColumn // ( nColumn ) -> oQAbstractItemDelegate - METHOD itemDelegateForRow // ( nRow ) -> oQAbstractItemDelegate - METHOD keyboardSearch // ( cSearch ) -> NIL - METHOD model // ( ) -> oQAbstractItemModel - METHOD openPersistentEditor // ( oQModelIndex ) -> NIL - METHOD rootIndex // ( ) -> oQModelIndex - METHOD scrollTo // ( oQModelIndex, nHint ) -> NIL - METHOD selectionBehavior // ( ) -> nQAbstractItemView_SelectionBehavior - METHOD selectionMode // ( ) -> nQAbstractItemView_SelectionMode - METHOD selectionModel // ( ) -> oQItemSelectionModel - METHOD setAlternatingRowColors // ( lEnable ) -> NIL - METHOD setAutoScroll // ( lEnable ) -> NIL - METHOD setAutoScrollMargin // ( nMargin ) -> NIL - METHOD setDragDropMode // ( nBehavior ) -> NIL - METHOD setDragDropOverwriteMode // ( lOverwrite ) -> NIL - METHOD setDragEnabled // ( lEnable ) -> NIL - METHOD setDropIndicatorShown // ( lEnable ) -> NIL - METHOD setEditTriggers // ( nTriggers ) -> NIL - METHOD setHorizontalScrollMode // ( nMode ) -> NIL - METHOD setIconSize // ( oQSize ) -> NIL - METHOD setIndexWidget // ( oQModelIndex, oQWidget ) -> NIL - METHOD setItemDelegate // ( oQAbstractItemDelegate ) -> NIL - METHOD setItemDelegateForColumn // ( nColumn, oQAbstractItemDelegate ) -> NIL - METHOD setItemDelegateForRow // ( nRow, oQAbstractItemDelegate ) -> NIL - METHOD setModel // ( oQAbstractItemModel ) -> NIL - METHOD setSelectionBehavior // ( nBehavior ) -> NIL - METHOD setSelectionMode // ( nMode ) -> NIL - METHOD setSelectionModel // ( oQItemSelectionModel ) -> NIL - METHOD setTabKeyNavigation // ( lEnable ) -> NIL - METHOD setTextElideMode // ( nMode ) -> NIL - METHOD setVerticalScrollMode // ( nMode ) -> NIL - METHOD showDropIndicator // ( ) -> lBool - METHOD sizeHintForColumn // ( nColumn ) -> nInt - METHOD sizeHintForIndex // ( oQModelIndex ) -> oQSize - METHOD sizeHintForRow // ( nRow ) -> nInt - METHOD tabKeyNavigation // ( ) -> lBool - METHOD textElideMode // ( ) -> nQt_TextElideMode - METHOD verticalScrollMode // ( ) -> nScrollMode - METHOD visualRect // ( oQModelIndex ) -> oQRect - METHOD clearSelection // ( ) -> NIL - METHOD edit // ( oQModelIndex ) -> NIL - METHOD reset // ( ) -> NIL - METHOD scrollToBottom // ( ) -> NIL - METHOD scrollToTop // ( ) -> NIL - METHOD selectAll // ( ) -> NIL - METHOD setCurrentIndex // ( oQModelIndex ) -> NIL - METHOD setRootIndex // ( oQModelIndex ) -> NIL - METHOD update // ( oQModelIndex ) -> NIL - - ENDCLASS - - -METHOD QAbstractItemView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractItemView( ... ) - RETURN Self - - -METHOD QAbstractItemView:alternatingRowColors( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_alternatingRowColors( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:autoScrollMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_autoScrollMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:closePersistentEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_closePersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QAbstractItemView_currentIndex( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:dragDropMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_dragDropMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:dragDropOverwriteMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_dragDropOverwriteMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:dragEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_dragEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:editTriggers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_editTriggers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:hasAutoScroll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_hasAutoScroll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:horizontalScrollMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_horizontalScrollMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QAbstractItemView_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:indexAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractItemView_indexAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:indexWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QAbstractItemView_indexWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:itemDelegate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QAbstractItemDelegateFromPointer( Qt_QAbstractItemView_itemDelegate_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QAbstractItemDelegateFromPointer( Qt_QAbstractItemView_itemDelegate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:itemDelegateForColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QAbstractItemDelegateFromPointer( Qt_QAbstractItemView_itemDelegateForColumn( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:itemDelegateForRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QAbstractItemDelegateFromPointer( Qt_QAbstractItemView_itemDelegateForRow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:keyboardSearch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_keyboardSearch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:model( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QAbstractItemView_model( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:openPersistentEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_openPersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:rootIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QAbstractItemView_rootIndex( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:scrollTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemView_scrollTo( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_scrollTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:selectionBehavior( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_selectionBehavior( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:selectionMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_selectionMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:selectionModel( ... ) - SWITCH PCount() - CASE 0 - RETURN QItemSelectionModelFromPointer( Qt_QAbstractItemView_selectionModel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setAlternatingRowColors( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setAlternatingRowColors( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setAutoScroll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setAutoScroll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setAutoScrollMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setAutoScrollMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setDragDropMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setDragDropMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setDragDropOverwriteMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setDragDropOverwriteMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setDragEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setDragEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setDropIndicatorShown( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setDropIndicatorShown( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setEditTriggers( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setEditTriggers( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setHorizontalScrollMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setHorizontalScrollMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setIndexWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemView_setIndexWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setItemDelegate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setItemDelegate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setItemDelegateForColumn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemView_setItemDelegateForColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setItemDelegateForRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractItemView_setItemDelegateForRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setModel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setModel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setSelectionBehavior( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setSelectionBehavior( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setSelectionMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setSelectionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setSelectionModel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setSelectionModel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setTabKeyNavigation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setTabKeyNavigation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setTextElideMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setTextElideMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setVerticalScrollMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setVerticalScrollMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:showDropIndicator( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_showDropIndicator( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:sizeHintForColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_sizeHintForColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:sizeHintForIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFromPointer( Qt_QAbstractItemView_sizeHintForIndex( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:sizeHintForRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_sizeHintForRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:tabKeyNavigation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_tabKeyNavigation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:textElideMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_textElideMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:verticalScrollMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_verticalScrollMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:visualRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QAbstractItemView_visualRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:clearSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_clearSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:edit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_edit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:scrollToBottom( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_scrollToBottom( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:scrollToTop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_scrollToTop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:selectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractItemView_selectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setCurrentIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:setRootIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_setRootIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractItemView:update( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractItemView_update( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg deleted file mode 100644 index 9faeaa409d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractPrintDialog.prg +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractPrintDialog( ... ) - RETURN HB_QAbstractPrintDialog():new( ... ) - -FUNCTION QAbstractPrintDialogFromPointer( ... ) - RETURN HB_QAbstractPrintDialog():fromPointer( ... ) - - -CREATE CLASS QAbstractPrintDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QAbstractPrintDialog - - METHOD new( ... ) - - METHOD exec // ( ) -> nInt - METHOD fromPage // ( ) -> nInt - METHOD maxPage // ( ) -> nInt - METHOD minPage // ( ) -> nInt - METHOD printRange // ( ) -> nPrintRange - METHOD printer // ( ) -> oQPrinter - METHOD setFromTo // ( nFrom, nTo ) -> NIL - METHOD setMinMax // ( nMin, nMax ) -> NIL - METHOD setPrintRange // ( nRange ) -> NIL - METHOD toPage // ( ) -> nInt - - ENDCLASS - - -METHOD QAbstractPrintDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractPrintDialog( ... ) - RETURN Self - - -METHOD QAbstractPrintDialog:exec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractPrintDialog_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:fromPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractPrintDialog_fromPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:maxPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractPrintDialog_maxPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:minPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractPrintDialog_minPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:printRange( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractPrintDialog_printRange( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:printer( ... ) - SWITCH PCount() - CASE 0 - RETURN QPrinterFromPointer( Qt_QAbstractPrintDialog_printer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:setFromTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractPrintDialog_setFromTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:setMinMax( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractPrintDialog_setMinMax( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:setPrintRange( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractPrintDialog_setPrintRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractPrintDialog:toPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractPrintDialog_toPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg deleted file mode 100644 index a93d4f7450..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractProxyModel.prg +++ /dev/null @@ -1,124 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractProxyModel( ... ) - RETURN HB_QAbstractProxyModel():new( ... ) - -FUNCTION QAbstractProxyModelFromPointer( ... ) - RETURN HB_QAbstractProxyModel():fromPointer( ... ) - - -CREATE CLASS QAbstractProxyModel INHERIT HbQtObjectHandler, HB_QAbstractItemModel FUNCTION HB_QAbstractProxyModel - - METHOD new( ... ) - - METHOD mapFromSource // ( oQModelIndex ) -> oQModelIndex - METHOD mapSelectionFromSource // ( oQItemSelection ) -> oQItemSelection - METHOD mapSelectionToSource // ( oQItemSelection ) -> oQItemSelection - METHOD mapToSource // ( oQModelIndex ) -> oQModelIndex - METHOD setSourceModel // ( oQAbstractItemModel ) -> NIL - METHOD sourceModel // ( ) -> oQAbstractItemModel - - ENDCLASS - - -METHOD QAbstractProxyModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractProxyModel( ... ) - RETURN Self - - -METHOD QAbstractProxyModel:mapFromSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractProxyModel_mapFromSource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractProxyModel:mapSelectionFromSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QItemSelectionFromPointer( Qt_QAbstractProxyModel_mapSelectionFromSource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractProxyModel:mapSelectionToSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QItemSelectionFromPointer( Qt_QAbstractProxyModel_mapSelectionToSource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractProxyModel:mapToSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QAbstractProxyModel_mapToSource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractProxyModel:setSourceModel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractProxyModel_setSourceModel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractProxyModel:sourceModel( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QAbstractProxyModel_sourceModel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg deleted file mode 100644 index b828923676..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractScrollArea.prg +++ /dev/null @@ -1,204 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractScrollArea( ... ) - RETURN HB_QAbstractScrollArea():new( ... ) - -FUNCTION QAbstractScrollAreaFromPointer( ... ) - RETURN HB_QAbstractScrollArea():fromPointer( ... ) - - -CREATE CLASS QAbstractScrollArea INHERIT HbQtObjectHandler, HB_QFrame FUNCTION HB_QAbstractScrollArea - - METHOD new( ... ) - - METHOD addScrollBarWidget // ( oQWidget, nAlignment ) -> NIL - METHOD cornerWidget // ( ) -> oQWidget - METHOD horizontalScrollBar // ( ) -> oQScrollBar - METHOD horizontalScrollBarPolicy // ( ) -> nQt_ScrollBarPolicy - METHOD maximumViewportSize // ( ) -> oQSize - METHOD setCornerWidget // ( oQWidget ) -> NIL - METHOD setHorizontalScrollBar // ( oQScrollBar ) -> NIL - METHOD setHorizontalScrollBarPolicy // ( nQt::ScrollBarPolicy ) -> NIL - METHOD setVerticalScrollBar // ( oQScrollBar ) -> NIL - METHOD setVerticalScrollBarPolicy // ( nQt::ScrollBarPolicy ) -> NIL - METHOD setViewport // ( oQWidget ) -> NIL - METHOD verticalScrollBar // ( ) -> oQScrollBar - METHOD verticalScrollBarPolicy // ( ) -> nQt_ScrollBarPolicy - METHOD viewport // ( ) -> oQWidget - - ENDCLASS - - -METHOD QAbstractScrollArea:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractScrollArea( ... ) - RETURN Self - - -METHOD QAbstractScrollArea:addScrollBarWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractScrollArea_addScrollBarWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:cornerWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QAbstractScrollArea_cornerWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:horizontalScrollBar( ... ) - SWITCH PCount() - CASE 0 - RETURN QScrollBarFromPointer( Qt_QAbstractScrollArea_horizontalScrollBar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:horizontalScrollBarPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractScrollArea_horizontalScrollBarPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:maximumViewportSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QAbstractScrollArea_maximumViewportSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:setCornerWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractScrollArea_setCornerWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:setHorizontalScrollBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractScrollArea_setHorizontalScrollBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:setHorizontalScrollBarPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractScrollArea_setHorizontalScrollBarPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:setVerticalScrollBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractScrollArea_setVerticalScrollBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:setVerticalScrollBarPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractScrollArea_setVerticalScrollBarPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:setViewport( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractScrollArea_setViewport( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:verticalScrollBar( ... ) - SWITCH PCount() - CASE 0 - RETURN QScrollBarFromPointer( Qt_QAbstractScrollArea_verticalScrollBar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:verticalScrollBarPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractScrollArea_verticalScrollBarPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractScrollArea:viewport( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QAbstractScrollArea_viewport( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg deleted file mode 100644 index 80c0121fc9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractSlider.prg +++ /dev/null @@ -1,318 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractSlider( ... ) - RETURN HB_QAbstractSlider():new( ... ) - -FUNCTION QAbstractSliderFromPointer( ... ) - RETURN HB_QAbstractSlider():fromPointer( ... ) - - -CREATE CLASS QAbstractSlider INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QAbstractSlider - - METHOD new( ... ) - - METHOD hasTracking // ( ) -> lBool - METHOD invertedAppearance // ( ) -> lBool - METHOD invertedControls // ( ) -> lBool - METHOD isSliderDown // ( ) -> lBool - METHOD maximum // ( ) -> nInt - METHOD minimum // ( ) -> nInt - METHOD orientation // ( ) -> nQt_Orientation - METHOD pageStep // ( ) -> nInt - METHOD setInvertedAppearance // ( lBool ) -> NIL - METHOD setInvertedControls // ( lBool ) -> NIL - METHOD setMaximum // ( nInt ) -> NIL - METHOD setMinimum // ( nInt ) -> NIL - METHOD setPageStep // ( nInt ) -> NIL - METHOD setRange // ( nMin, nMax ) -> NIL - METHOD setSingleStep // ( nInt ) -> NIL - METHOD setSliderDown // ( lBool ) -> NIL - METHOD setSliderPosition // ( nInt ) -> NIL - METHOD setTracking // ( lEnable ) -> NIL - METHOD singleStep // ( ) -> nInt - METHOD sliderPosition // ( ) -> nInt - METHOD triggerAction // ( nAction ) -> NIL - METHOD value // ( ) -> nInt - METHOD setOrientation // ( nQt::Orientation ) -> NIL - METHOD setValue // ( nInt ) -> NIL - - ENDCLASS - - -METHOD QAbstractSlider:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractSlider( ... ) - RETURN Self - - -METHOD QAbstractSlider:hasTracking( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_hasTracking( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:invertedAppearance( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_invertedAppearance( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:invertedControls( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_invertedControls( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:isSliderDown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_isSliderDown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:pageStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_pageStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setInvertedAppearance( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setInvertedAppearance( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setInvertedControls( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setInvertedControls( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setPageStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setPageStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractSlider_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setSingleStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setSingleStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setSliderDown( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setSliderDown( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setSliderPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setSliderPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setTracking( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setTracking( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:singleStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_singleStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:sliderPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_sliderPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:triggerAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_triggerAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSlider_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSlider:setValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSlider_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg deleted file mode 100644 index e5a0d56ab3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractSpinBox.prg +++ /dev/null @@ -1,324 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractSpinBox( ... ) - RETURN HB_QAbstractSpinBox():new( ... ) - -FUNCTION QAbstractSpinBoxFromPointer( ... ) - RETURN HB_QAbstractSpinBox():fromPointer( ... ) - - -CREATE CLASS QAbstractSpinBox INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QAbstractSpinBox - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD buttonSymbols // ( ) -> nButtonSymbols - METHOD correctionMode // ( ) -> nCorrectionMode - METHOD hasAcceptableInput // ( ) -> lBool - METHOD hasFrame // ( ) -> lBool - METHOD interpretText // ( ) -> NIL - METHOD isAccelerated // ( ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD keyboardTracking // ( ) -> lBool - METHOD setAccelerated // ( lOn ) -> NIL - METHOD setAlignment // ( nFlag ) -> NIL - METHOD setButtonSymbols // ( nBs ) -> NIL - METHOD setCorrectionMode // ( nCm ) -> NIL - METHOD setFrame // ( lBool ) -> NIL - METHOD setKeyboardTracking // ( lKt ) -> NIL - METHOD setReadOnly // ( lR ) -> NIL - METHOD setSpecialValueText // ( cTxt ) -> NIL - METHOD setWrapping // ( lW ) -> NIL - METHOD specialValueText // ( ) -> cQString - METHOD stepBy // ( nSteps ) -> NIL - METHOD text // ( ) -> cQString - METHOD wrapping // ( ) -> lBool - METHOD clear // ( ) -> NIL - METHOD selectAll // ( ) -> NIL - METHOD stepDown // ( ) -> NIL - METHOD stepUp // ( ) -> NIL - - ENDCLASS - - -METHOD QAbstractSpinBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractSpinBox( ... ) - RETURN Self - - -METHOD QAbstractSpinBox:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:buttonSymbols( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_buttonSymbols( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:correctionMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_correctionMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:hasAcceptableInput( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_hasAcceptableInput( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:hasFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_hasFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:interpretText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_interpretText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:isAccelerated( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_isAccelerated( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:keyboardTracking( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_keyboardTracking( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setAccelerated( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setAccelerated( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setButtonSymbols( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setButtonSymbols( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setCorrectionMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setCorrectionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setFrame( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setKeyboardTracking( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setKeyboardTracking( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setSpecialValueText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setSpecialValueText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:setWrapping( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_setWrapping( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:specialValueText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_specialValueText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:stepBy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractSpinBox_stepBy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:wrapping( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_wrapping( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:selectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_selectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:stepDown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_stepDown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractSpinBox:stepUp( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractSpinBox_stepUp( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg deleted file mode 100644 index 9409f6933f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAbstractTextDocumentLayout.prg +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAbstractTextDocumentLayout( ... ) - RETURN HB_QAbstractTextDocumentLayout():new( ... ) - -FUNCTION QAbstractTextDocumentLayoutFromPointer( ... ) - RETURN HB_QAbstractTextDocumentLayout():fromPointer( ... ) - - -CREATE CLASS QAbstractTextDocumentLayout INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QAbstractTextDocumentLayout - - METHOD new( ... ) - - METHOD anchorAt // ( oQPointF ) -> cQString - METHOD blockBoundingRect // ( oQTextBlock ) -> oQRectF - METHOD document // ( ) -> oQTextDocument - METHOD documentSize // ( ) -> oQSizeF - METHOD frameBoundingRect // ( oQTextFrame ) -> oQRectF - METHOD hitTest // ( oQPointF, nAccuracy ) -> nInt - METHOD pageCount // ( ) -> nInt - METHOD paintDevice // ( ) -> oQPaintDevice - METHOD registerHandler // ( nObjectType, oQObject ) -> NIL - METHOD setPaintDevice // ( oQPaintDevice ) -> NIL - - ENDCLASS - - -METHOD QAbstractTextDocumentLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAbstractTextDocumentLayout( ... ) - RETURN Self - - -METHOD QAbstractTextDocumentLayout:anchorAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractTextDocumentLayout_anchorAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:blockBoundingRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QAbstractTextDocumentLayout_blockBoundingRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QAbstractTextDocumentLayout_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:documentSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QAbstractTextDocumentLayout_documentSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:frameBoundingRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QAbstractTextDocumentLayout_frameBoundingRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:hitTest( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractTextDocumentLayout_hitTest( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:pageCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAbstractTextDocumentLayout_pageCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:paintDevice( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintDeviceFromPointer( Qt_QAbstractTextDocumentLayout_paintDevice( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:registerHandler( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QAbstractTextDocumentLayout_registerHandler( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAbstractTextDocumentLayout:setPaintDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAbstractTextDocumentLayout_setPaintDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQAction.prg b/harbour/contrib/hbqt/qtgui/g/TQAction.prg deleted file mode 100644 index 88fdbeffab..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQAction.prg +++ /dev/null @@ -1,598 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QAction( ... ) - RETURN HB_QAction():new( ... ) - -FUNCTION QActionFromPointer( ... ) - RETURN HB_QAction():fromPointer( ... ) - - -CREATE CLASS QAction INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QAction - - METHOD new( ... ) - - METHOD actionGroup // ( ) -> oQActionGroup - METHOD activate // ( nEvent ) -> NIL - METHOD associatedWidgets // ( ) -> oQList_QWidget - METHOD autoRepeat // ( ) -> lBool - METHOD data // ( ) -> oQVariant - METHOD font // ( ) -> oQFont - METHOD icon // ( ) -> oQIcon - METHOD iconText // ( ) -> cQString - METHOD isCheckable // ( ) -> lBool - METHOD isChecked // ( ) -> lBool - METHOD isEnabled // ( ) -> lBool - METHOD isIconVisibleInMenu // ( ) -> lBool - METHOD isSeparator // ( ) -> lBool - METHOD isVisible // ( ) -> lBool - METHOD menu // ( ) -> oQMenu - METHOD menuRole // ( ) -> nMenuRole - METHOD parentWidget // ( ) -> oQWidget - METHOD setActionGroup // ( oQActionGroup ) -> NIL - METHOD setAutoRepeat // ( lBool ) -> NIL - METHOD setCheckable // ( lBool ) -> NIL - METHOD setData // ( oQVariant ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setIconText // ( cText ) -> NIL - METHOD setIconVisibleInMenu // ( lVisible ) -> NIL - METHOD setMenu // ( oQMenu ) -> NIL - METHOD setMenuRole // ( nMenuRole ) -> NIL - METHOD setSeparator // ( lB ) -> NIL - METHOD setShortcut // ( oQKeySequence ) -> NIL - METHOD setShortcutContext // ( nContext ) -> NIL - METHOD setShortcuts // ( nKey ) -> NIL - METHOD setStatusTip // ( cStatusTip ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setToolTip // ( cTip ) -> NIL - METHOD setWhatsThis // ( cWhat ) -> NIL - METHOD shortcut // ( ) -> oQKeySequence - METHOD shortcutContext // ( ) -> nQt_ShortcutContext - METHOD shortcuts // ( ) -> oQList_QKeySequence> - METHOD showStatusText // ( oQWidget ) -> lBool - METHOD statusTip // ( ) -> cQString - METHOD text // ( ) -> cQString - METHOD toolTip // ( ) -> cQString - METHOD whatsThis // ( ) -> cQString - METHOD hover // ( ) -> NIL - METHOD setChecked // ( lBool ) -> NIL - METHOD setDisabled // ( lB ) -> NIL - METHOD setEnabled // ( lBool ) -> NIL - METHOD setVisible // ( lBool ) -> NIL - METHOD toggle // ( ) -> NIL - METHOD trigger // ( ) -> NIL - - ENDCLASS - - -METHOD QAction:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QAction( ... ) - RETURN Self - - -METHOD QAction:actionGroup( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionGroupFromPointer( Qt_QAction_actionGroup( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:activate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAction_activate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:associatedWidgets( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QAction_associatedWidgets( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:autoRepeat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_autoRepeat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:data( ... ) - SWITCH PCount() - CASE 0 - RETURN QVariantFromPointer( Qt_QAction_data( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QAction_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QAction_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:iconText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_iconText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:isCheckable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_isCheckable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:isChecked( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_isChecked( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:isEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_isEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:isIconVisibleInMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_isIconVisibleInMenu( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:isSeparator( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_isSeparator( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:isVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_isVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:menu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QAction_menu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:menuRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_menuRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:parentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QAction_parentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setActionGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setActionGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setAutoRepeat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setAutoRepeat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setCheckable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setCheckable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QAction_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setIconText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setIconText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setIconVisibleInMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setIconVisibleInMenu( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setMenu( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setMenuRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setMenuRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setSeparator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setSeparator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setShortcut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setShortcut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setShortcutContext( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setShortcutContext( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setShortcuts( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setShortcuts( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setStatusTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setStatusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:shortcut( ... ) - SWITCH PCount() - CASE 0 - RETURN QKeySequenceFromPointer( Qt_QAction_shortcut( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:shortcutContext( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_shortcutContext( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:shortcuts( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QAction_shortcuts( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:showStatusText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QAction_showStatusText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QAction_showStatusText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:statusTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_statusTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:whatsThis( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_whatsThis( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:hover( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_hover( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setChecked( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setChecked( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setDisabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setDisabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QAction_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:toggle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_toggle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QAction:trigger( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QAction_trigger( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg deleted file mode 100644 index ce5adb1480..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQActionGroup.prg +++ /dev/null @@ -1,183 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QActionGroup( ... ) - RETURN HB_QActionGroup():new( ... ) - -FUNCTION QActionGroupFromPointer( ... ) - RETURN HB_QActionGroup():fromPointer( ... ) - - -CREATE CLASS QActionGroup INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QActionGroup - - METHOD new( ... ) - - METHOD actions // ( ) -> oQList_QAction - METHOD addAction // ( oQAction ) -> oQAction - // ( cText ) -> oQAction - // ( coQIcon, cText ) -> oQAction - METHOD checkedAction // ( ) -> oQAction - METHOD isEnabled // ( ) -> lBool - METHOD isExclusive // ( ) -> lBool - METHOD isVisible // ( ) -> lBool - METHOD removeAction // ( oQAction ) -> NIL - METHOD setDisabled // ( lB ) -> NIL - METHOD setEnabled // ( lBool ) -> NIL - METHOD setExclusive // ( lBool ) -> NIL - METHOD setVisible // ( lBool ) -> NIL - - ENDCLASS - - -METHOD QActionGroup:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QActionGroup( ... ) - RETURN Self - - -METHOD QActionGroup:actions( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QActionGroup_actions( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:addAction( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QActionGroup_addAction_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QActionGroup_addAction_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QActionGroup_addAction( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:checkedAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QActionGroup_checkedAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:isEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QActionGroup_isEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:isExclusive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QActionGroup_isExclusive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:isVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QActionGroup_isVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:removeAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QActionGroup_removeAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:setDisabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QActionGroup_setDisabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:setEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QActionGroup_setEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:setExclusive( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QActionGroup_setExclusive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QActionGroup:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QActionGroup_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQApplication.prg b/harbour/contrib/hbqt/qtgui/g/TQApplication.prg deleted file mode 100644 index 7324034aab..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQApplication.prg +++ /dev/null @@ -1,822 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QApplication( ... ) - RETURN HB_QApplication():new( ... ) - -FUNCTION QApplicationFromPointer( ... ) - RETURN HB_QApplication():fromPointer( ... ) - - -CREATE CLASS QApplication INHERIT HbQtObjectHandler, HB_QCoreApplication FUNCTION HB_QApplication - - METHOD new( ... ) - - METHOD commitData // ( oQSessionManager ) -> NIL - METHOD isSessionRestored // ( ) -> lBool - METHOD saveState // ( oQSessionManager ) -> NIL - METHOD sessionId // ( ) -> cQString - METHOD sessionKey // ( ) -> cQString - METHOD styleSheet // ( ) -> cQString - METHOD activeModalWidget // ( ) -> oQWidget - METHOD activePopupWidget // ( ) -> oQWidget - METHOD activeWindow // ( ) -> oQWidget - METHOD alert // ( oQWidget, nMsec ) -> NIL - METHOD beep // ( ) -> NIL - METHOD changeOverrideCursor // ( oQCursor ) -> NIL - METHOD clipboard // ( ) -> oQClipboard - METHOD colorSpec // ( ) -> nInt - METHOD cursorFlashTime // ( ) -> nInt - METHOD desktop // ( ) -> oQDesktopWidget - METHOD desktopSettingsAware // ( ) -> lBool - METHOD doubleClickInterval // ( ) -> nInt - METHOD exec // ( ) -> nInt - METHOD focusWidget // ( ) -> oQWidget - METHOD font // ( ) -> oQFont - // ( oQWidget ) -> oQFont - // ( cClassName ) -> oQFont - METHOD fontMetrics // ( ) -> oQFontMetrics - METHOD globalStrut // ( ) -> oQSize - METHOD isEffectEnabled // ( nEffect ) -> lBool - METHOD isLeftToRight // ( ) -> lBool - METHOD isRightToLeft // ( ) -> lBool - METHOD keyboardInputDirection // ( ) -> nQt_LayoutDirection - METHOD keyboardInputInterval // ( ) -> nInt - METHOD keyboardInputLocale // ( ) -> oQLocale - METHOD keyboardModifiers // ( ) -> nQt_KeyboardModifiers - METHOD layoutDirection // ( ) -> nQt_LayoutDirection - METHOD mouseButtons // ( ) -> nQt_MouseButtons - METHOD overrideCursor // ( ) -> oQCursor - METHOD palette // ( ) -> oQPalette - // ( oQWidget ) -> oQPalette - // ( cClassName ) -> oQPalette - METHOD quitOnLastWindowClosed // ( ) -> lBool - METHOD restoreOverrideCursor // ( ) -> NIL - METHOD setActiveWindow // ( oQWidget ) -> NIL - METHOD setColorSpec // ( nSpec ) -> NIL - METHOD setCursorFlashTime // ( nInt ) -> NIL - METHOD setDesktopSettingsAware // ( lOn ) -> NIL - METHOD setDoubleClickInterval // ( nInt ) -> NIL - METHOD setEffectEnabled // ( nEffect, lEnable ) -> NIL - METHOD setFont // ( oQFont, cClassName ) -> NIL - METHOD setGlobalStrut // ( oQSize ) -> NIL - METHOD setGraphicsSystem // ( cSystem ) -> NIL - METHOD setKeyboardInputInterval // ( nInt ) -> NIL - METHOD setLayoutDirection // ( nDirection ) -> NIL - METHOD setOverrideCursor // ( oQCursor ) -> NIL - METHOD setPalette // ( oQPalette, cClassName ) -> NIL - METHOD setQuitOnLastWindowClosed // ( lQuit ) -> NIL - METHOD setStartDragDistance // ( nL ) -> NIL - METHOD setStartDragTime // ( nMs ) -> NIL - METHOD setStyle // ( oQStyle ) -> NIL - // ( cStyle ) -> oQStyle - METHOD setWheelScrollLines // ( nInt ) -> NIL - METHOD setWindowIcon // ( coQIcon ) -> NIL - METHOD startDragDistance // ( ) -> nInt - METHOD startDragTime // ( ) -> nInt - METHOD style // ( ) -> oQStyle - METHOD syncX // ( ) -> NIL - METHOD topLevelAt // ( oQPoint ) -> oQWidget - // ( nX, nY ) -> oQWidget - METHOD type // ( ) -> nType - METHOD wheelScrollLines // ( ) -> nInt - METHOD widgetAt // ( oQPoint ) -> oQWidget - // ( nX, nY ) -> oQWidget - METHOD windowIcon // ( ) -> oQIcon - METHOD aboutQt // ( ) -> NIL - METHOD closeAllWindows // ( ) -> NIL - METHOD setStyleSheet // ( cSheet ) -> NIL - - ENDCLASS - - -METHOD QApplication:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QApplication( ... ) - RETURN Self - - -METHOD QApplication:commitData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_commitData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:isSessionRestored( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_isSessionRestored( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:saveState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_saveState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:sessionId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_sessionId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:sessionKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_sessionKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:styleSheet( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_styleSheet( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:activeModalWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QApplication_activeModalWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:activePopupWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QApplication_activePopupWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:activeWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QApplication_activeWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:alert( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QApplication_alert( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_alert( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:beep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_beep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:changeOverrideCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_changeOverrideCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:clipboard( ... ) - SWITCH PCount() - CASE 0 - RETURN QClipboardFromPointer( Qt_QApplication_clipboard( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:colorSpec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_colorSpec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:cursorFlashTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_cursorFlashTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:desktop( ... ) - SWITCH PCount() - CASE 0 - RETURN QDesktopWidgetFromPointer( Qt_QApplication_desktop( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:desktopSettingsAware( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_desktopSettingsAware( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:doubleClickInterval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_doubleClickInterval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:exec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:focusWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QApplication_focusWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:font( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QApplication_font_2( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QApplication_font_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QFontFromPointer( Qt_QApplication_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:fontMetrics( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontMetricsFromPointer( Qt_QApplication_fontMetrics( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:globalStrut( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QApplication_globalStrut( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:isEffectEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_isEffectEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:isLeftToRight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_isLeftToRight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:isRightToLeft( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_isRightToLeft( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:keyboardInputDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_keyboardInputDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:keyboardInputInterval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_keyboardInputInterval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:keyboardInputLocale( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QApplication_keyboardInputLocale( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:keyboardModifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_keyboardModifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:layoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_layoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:mouseButtons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_mouseButtons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:overrideCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QCursorFromPointer( Qt_QApplication_overrideCursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:palette( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QPaletteFromPointer( Qt_QApplication_palette_2( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPaletteFromPointer( Qt_QApplication_palette_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QPaletteFromPointer( Qt_QApplication_palette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:quitOnLastWindowClosed( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_quitOnLastWindowClosed( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:restoreOverrideCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_restoreOverrideCursor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setActiveWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setActiveWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setColorSpec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setColorSpec( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setCursorFlashTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setCursorFlashTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setDesktopSettingsAware( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setDesktopSettingsAware( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setDoubleClickInterval( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setDoubleClickInterval( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setEffectEnabled( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QApplication_setEffectEnabled( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setEffectEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setFont( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QApplication_setFont( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setGlobalStrut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setGlobalStrut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setGraphicsSystem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setGraphicsSystem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setKeyboardInputInterval( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setKeyboardInputInterval( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setLayoutDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setLayoutDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setOverrideCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setOverrideCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setPalette( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QApplication_setPalette( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setPalette( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setQuitOnLastWindowClosed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setQuitOnLastWindowClosed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setStartDragDistance( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setStartDragDistance( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setStartDragTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setStartDragTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStyleFromPointer( Qt_QApplication_setStyle_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setWheelScrollLines( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setWheelScrollLines( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setWindowIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QApplication_setWindowIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:startDragDistance( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_startDragDistance( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:startDragTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_startDragTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:style( ... ) - SWITCH PCount() - CASE 0 - RETURN QStyleFromPointer( Qt_QApplication_style( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:syncX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_syncX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:topLevelAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QApplication_topLevelAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QApplication_topLevelAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:wheelScrollLines( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_wheelScrollLines( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:widgetAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QApplication_widgetAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QApplication_widgetAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:windowIcon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QApplication_windowIcon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:aboutQt( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_aboutQt( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:closeAllWindows( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QApplication_closeAllWindows( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QApplication:setStyleSheet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QApplication_setStyleSheet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg b/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg deleted file mode 100644 index 7cb6e14eb1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQBitmap.prg +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QBitmap( ... ) - RETURN HB_QBitmap():new( ... ) - -FUNCTION QBitmapFromPointer( ... ) - RETURN HB_QBitmap():fromPointer( ... ) - - -CREATE CLASS QBitmap INHERIT HbQtObjectHandler, HB_QPixmap FUNCTION HB_QBitmap - - METHOD new( ... ) - - METHOD QBitmap // ( ) -> oQBitmap - // ( oQPixmap ) -> oQBitmap - // ( nWidth, nHeight ) -> oQBitmap - // ( oQSize ) -> oQBitmap - // ( cFileName, cFormat ) -> oQBitmap - METHOD clear // ( ) -> NIL - METHOD transformed // ( oQTransform ) -> oQBitmap - // ( oQMatrix ) -> oQBitmap - METHOD fromImage // ( oQImage, nFlags ) -> oQBitmap - - ENDCLASS - - -METHOD QBitmap:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QBitmap( ... ) - RETURN Self - - -METHOD QBitmap:QBitmap( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QBitmapFromPointer( Qt_QBitmap_QBitmap_4( ::pPtr, ... ) ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QBitmapFromPointer( Qt_QBitmap_QBitmap_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QBitmapFromPointer( Qt_QBitmap_QBitmap_4( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPIXMAP" - RETURN QBitmapFromPointer( Qt_QBitmap_QBitmap_1( ::pPtr, ... ) ) - CASE "QSIZE" - RETURN QBitmapFromPointer( Qt_QBitmap_QBitmap_3( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QBitmapFromPointer( Qt_QBitmap_QBitmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitmap:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBitmap_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitmap:transformed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QTRANSFORM" - RETURN QBitmapFromPointer( Qt_QBitmap_transformed( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QBitmapFromPointer( Qt_QBitmap_transformed_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBitmap:fromImage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QBitmapFromPointer( Qt_QBitmap_fromImage( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QBitmapFromPointer( Qt_QBitmap_fromImage( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg deleted file mode 100644 index 10e8c18323..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQBoxLayout.prg +++ /dev/null @@ -1,335 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QBoxLayout( ... ) - RETURN HB_QBoxLayout():new( ... ) - -FUNCTION QBoxLayoutFromPointer( ... ) - RETURN HB_QBoxLayout():fromPointer( ... ) - - -CREATE CLASS QBoxLayout INHERIT HbQtObjectHandler, HB_QLayout FUNCTION HB_QBoxLayout - - METHOD new( ... ) - - METHOD addLayout // ( oQLayout, nStretch ) -> NIL - METHOD addSpacerItem // ( oQSpacerItem ) -> NIL - METHOD addSpacing // ( nSize ) -> NIL - METHOD addStretch // ( nStretch ) -> NIL - METHOD addStrut // ( nSize ) -> NIL - METHOD addWidget // ( oQWidget, nStretch, nAlignment ) -> NIL - METHOD direction // ( ) -> nDirection - METHOD insertLayout // ( nIndex, oQLayout, nStretch ) -> NIL - METHOD insertSpacerItem // ( nIndex, oQSpacerItem ) -> NIL - METHOD insertSpacing // ( nIndex, nSize ) -> NIL - METHOD insertStretch // ( nIndex, nStretch ) -> NIL - METHOD insertWidget // ( nIndex, oQWidget, nStretch, nAlignment ) -> NIL - METHOD invalidate // ( ) -> NIL - METHOD setDirection // ( nDirection ) -> NIL - METHOD setSpacing // ( nSpacing ) -> NIL - METHOD setStretch // ( nIndex, nStretch ) -> NIL - METHOD setStretchFactor // ( oQWidget, nStretch ) -> lBool - // ( oQLayout, nStretch ) -> lBool - METHOD spacing // ( ) -> nInt - METHOD stretch // ( nIndex ) -> nInt - - ENDCLASS - - -METHOD QBoxLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QBoxLayout( ... ) - RETURN Self - - -METHOD QBoxLayout:addLayout( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_addLayout( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_addLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:addSpacerItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_addSpacerItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:addSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_addSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:addStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_addStretch( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QBoxLayout_addStretch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:addStrut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_addStrut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:addWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QBoxLayout_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:direction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBoxLayout_direction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:insertLayout( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QBoxLayout_insertLayout( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_insertLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:insertSpacerItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_insertSpacerItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:insertSpacing( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_insertSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:insertStretch( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_insertStretch( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_insertStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:insertWidget( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QBoxLayout_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QBoxLayout_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:invalidate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBoxLayout_invalidate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:setDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_setDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:setStretch( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QBoxLayout_setStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:setStretchFactor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:spacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBoxLayout_spacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBoxLayout:stretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBoxLayout_stretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQBrush.prg b/harbour/contrib/hbqt/qtgui/g/TQBrush.prg deleted file mode 100644 index 69c167d019..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQBrush.prg +++ /dev/null @@ -1,203 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QBrush( ... ) - RETURN HB_QBrush():new( ... ) - -FUNCTION QBrushFromPointer( ... ) - RETURN HB_QBrush():fromPointer( ... ) - - -CREATE CLASS QBrush INHERIT HbQtObjectHandler FUNCTION HB_QBrush - - METHOD new( ... ) - - METHOD color // ( ) -> oQColor - METHOD gradient // ( ) -> oQGradient - METHOD isOpaque // ( ) -> lBool - METHOD matrix // ( ) -> oQMatrix - METHOD setColor // ( oQColor ) -> NIL - // ( nColor ) -> NIL - METHOD setMatrix // ( oQMatrix ) -> NIL - METHOD setStyle // ( nStyle ) -> NIL - METHOD setTexture // ( oQPixmap ) -> NIL - METHOD setTextureImage // ( oQImage ) -> NIL - METHOD setTransform // ( oQTransform ) -> NIL - METHOD style // ( ) -> nQt_BrushStyle - METHOD texture // ( ) -> oQPixmap - METHOD textureImage // ( ) -> oQImage - METHOD transform // ( ) -> oQTransform - - ENDCLASS - - -METHOD QBrush:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QBrush( ... ) - RETURN Self - - -METHOD QBrush:color( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QBrush_color( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:gradient( ... ) - SWITCH PCount() - CASE 0 - RETURN QGradientFromPointer( Qt_QBrush_gradient( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:isOpaque( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBrush_isOpaque( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:matrix( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QBrush_matrix( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:setColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setColor_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:setMatrix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setMatrix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:setTexture( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setTexture( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:setTextureImage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setTextureImage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:setTransform( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QBrush_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QBrush_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:texture( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QBrush_texture( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:textureImage( ... ) - SWITCH PCount() - CASE 0 - RETURN QImageFromPointer( Qt_QBrush_textureImage( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QBrush:transform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QBrush_transform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg deleted file mode 100644 index c16eef2481..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQButtonGroup.prg +++ /dev/null @@ -1,171 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QButtonGroup( ... ) - RETURN HB_QButtonGroup():new( ... ) - -FUNCTION QButtonGroupFromPointer( ... ) - RETURN HB_QButtonGroup():fromPointer( ... ) - - -CREATE CLASS QButtonGroup INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QButtonGroup - - METHOD new( ... ) - - METHOD addButton // ( oQAbstractButton ) -> NIL - // ( oQAbstractButton, nId ) -> NIL - METHOD button // ( nId ) -> oQAbstractButton - METHOD buttons // ( ) -> oQList_QAbstractButton - METHOD checkedButton // ( ) -> oQAbstractButton - METHOD checkedId // ( ) -> nInt - METHOD exclusive // ( ) -> lBool - METHOD id // ( oQAbstractButton ) -> nInt - METHOD removeButton // ( oQAbstractButton ) -> NIL - METHOD setExclusive // ( lBool ) -> NIL - METHOD setId // ( oQAbstractButton, nId ) -> NIL - - ENDCLASS - - -METHOD QButtonGroup:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QButtonGroup( ... ) - RETURN Self - - -METHOD QButtonGroup:addButton( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QButtonGroup_addButton_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QButtonGroup_addButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:button( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QAbstractButtonFromPointer( Qt_QButtonGroup_button( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QButtonGroup_buttons( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:checkedButton( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractButtonFromPointer( Qt_QButtonGroup_checkedButton( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:checkedId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QButtonGroup_checkedId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:exclusive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QButtonGroup_exclusive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:id( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QButtonGroup_id( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:removeButton( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QButtonGroup_removeButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:setExclusive( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QButtonGroup_setExclusive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QButtonGroup:setId( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QButtonGroup_setId( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg deleted file mode 100644 index d27e3fab35..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQCalendarWidget.prg +++ /dev/null @@ -1,464 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QCalendarWidget( ... ) - RETURN HB_QCalendarWidget():new( ... ) - -FUNCTION QCalendarWidgetFromPointer( ... ) - RETURN HB_QCalendarWidget():fromPointer( ... ) - - -CREATE CLASS QCalendarWidget INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QCalendarWidget - - METHOD new( ... ) - - METHOD dateEditAcceptDelay // ( ) -> nInt - METHOD dateTextFormat // ( oQDate ) -> oQTextCharFormat - METHOD firstDayOfWeek // ( ) -> nQt_DayOfWeek - METHOD headerTextFormat // ( ) -> oQTextCharFormat - METHOD horizontalHeaderFormat // ( ) -> nHorizontalHeaderFormat - METHOD isDateEditEnabled // ( ) -> lBool - METHOD isGridVisible // ( ) -> lBool - METHOD isNavigationBarVisible // ( ) -> lBool - METHOD maximumDate // ( ) -> oQDate - METHOD minimumDate // ( ) -> oQDate - METHOD monthShown // ( ) -> nInt - METHOD selectedDate // ( ) -> oQDate - METHOD selectionMode // ( ) -> nSelectionMode - METHOD setDateEditAcceptDelay // ( nDelay ) -> NIL - METHOD setDateEditEnabled // ( lEnable ) -> NIL - METHOD setDateTextFormat // ( oQDate, oQTextCharFormat ) -> NIL - METHOD setFirstDayOfWeek // ( nDayOfWeek ) -> NIL - METHOD setHeaderTextFormat // ( oQTextCharFormat ) -> NIL - METHOD setHorizontalHeaderFormat // ( nFormat ) -> NIL - METHOD setMaximumDate // ( oQDate ) -> NIL - METHOD setMinimumDate // ( oQDate ) -> NIL - METHOD setSelectionMode // ( nMode ) -> NIL - METHOD setVerticalHeaderFormat // ( nFormat ) -> NIL - METHOD setWeekdayTextFormat // ( nDayOfWeek, oQTextCharFormat ) -> NIL - METHOD verticalHeaderFormat // ( ) -> nVerticalHeaderFormat - METHOD weekdayTextFormat // ( nDayOfWeek ) -> oQTextCharFormat - METHOD yearShown // ( ) -> nInt - METHOD setCurrentPage // ( nYear, nMonth ) -> NIL - METHOD setDateRange // ( oQDate, oQDate ) -> NIL - METHOD setGridVisible // ( lShow ) -> NIL - METHOD setNavigationBarVisible // ( lVisible ) -> NIL - METHOD setSelectedDate // ( oQDate ) -> NIL - METHOD showNextMonth // ( ) -> NIL - METHOD showNextYear // ( ) -> NIL - METHOD showPreviousMonth // ( ) -> NIL - METHOD showPreviousYear // ( ) -> NIL - METHOD showSelectedDate // ( ) -> NIL - METHOD showToday // ( ) -> NIL - - ENDCLASS - - -METHOD QCalendarWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCalendarWidget( ... ) - RETURN Self - - -METHOD QCalendarWidget:dateEditAcceptDelay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_dateEditAcceptDelay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:dateTextFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextCharFormatFromPointer( Qt_QCalendarWidget_dateTextFormat( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:firstDayOfWeek( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_firstDayOfWeek( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:headerTextFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QCalendarWidget_headerTextFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:horizontalHeaderFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_horizontalHeaderFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:isDateEditEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_isDateEditEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:isGridVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_isGridVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:isNavigationBarVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_isNavigationBarVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:maximumDate( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QCalendarWidget_maximumDate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:minimumDate( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QCalendarWidget_minimumDate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:monthShown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_monthShown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:selectedDate( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QCalendarWidget_selectedDate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:selectionMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_selectionMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setDateEditAcceptDelay( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setDateEditAcceptDelay( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setDateEditEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setDateEditEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setDateTextFormat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QCalendarWidget_setDateTextFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setFirstDayOfWeek( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setFirstDayOfWeek( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setHeaderTextFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setHeaderTextFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setHorizontalHeaderFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setHorizontalHeaderFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setMaximumDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setMaximumDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setMinimumDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setMinimumDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setSelectionMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setSelectionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setVerticalHeaderFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setVerticalHeaderFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setWeekdayTextFormat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QCalendarWidget_setWeekdayTextFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:verticalHeaderFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_verticalHeaderFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:weekdayTextFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextCharFormatFromPointer( Qt_QCalendarWidget_weekdayTextFormat( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:yearShown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_yearShown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setCurrentPage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QCalendarWidget_setCurrentPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setDateRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QCalendarWidget_setDateRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setGridVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setGridVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setNavigationBarVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setNavigationBarVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:setSelectedDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCalendarWidget_setSelectedDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:showNextMonth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_showNextMonth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:showNextYear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_showNextYear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:showPreviousMonth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_showPreviousMonth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:showPreviousYear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_showPreviousYear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:showSelectedDate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_showSelectedDate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCalendarWidget:showToday( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCalendarWidget_showToday( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg b/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg deleted file mode 100644 index b3f475d2a6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQCheckBox.prg +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QCheckBox( ... ) - RETURN HB_QCheckBox():new( ... ) - -FUNCTION QCheckBoxFromPointer( ... ) - RETURN HB_QCheckBox():fromPointer( ... ) - - -CREATE CLASS QCheckBox INHERIT HbQtObjectHandler, HB_QAbstractButton FUNCTION HB_QCheckBox - - METHOD new( ... ) - - METHOD checkState // ( ) -> nQt_CheckState - METHOD isTristate // ( ) -> lBool - METHOD setCheckState // ( nState ) -> NIL - METHOD setTristate // ( lY ) -> NIL - - ENDCLASS - - -METHOD QCheckBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCheckBox( ... ) - RETURN Self - - -METHOD QCheckBox:checkState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCheckBox_checkState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCheckBox:isTristate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCheckBox_isTristate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCheckBox:setCheckState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCheckBox_setCheckState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCheckBox:setTristate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QCheckBox_setTristate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QCheckBox_setTristate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg b/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg deleted file mode 100644 index 36afcbda35..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQClipboard.prg +++ /dev/null @@ -1,231 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QClipboard( ... ) - RETURN HB_QClipboard():new( ... ) - -FUNCTION QClipboardFromPointer( ... ) - RETURN HB_QClipboard():fromPointer( ... ) - - -CREATE CLASS QClipboard INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QClipboard - - METHOD new( ... ) - - METHOD clear // ( nMode ) -> NIL - METHOD image // ( nMode ) -> oQImage - METHOD ownsClipboard // ( ) -> lBool - METHOD ownsFindBuffer // ( ) -> lBool - METHOD ownsSelection // ( ) -> lBool - METHOD pixmap // ( nMode ) -> oQPixmap - METHOD setImage // ( oQImage, nMode ) -> NIL - METHOD setMimeData // ( oQMimeData, nMode ) -> NIL - METHOD setPixmap // ( oQPixmap, nMode ) -> NIL - METHOD setText // ( cText, nMode ) -> NIL - METHOD supportsFindBuffer // ( ) -> lBool - METHOD supportsSelection // ( ) -> lBool - METHOD text // ( nMode ) -> cQString - - ENDCLASS - - -METHOD QClipboard:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QClipboard( ... ) - RETURN Self - - -METHOD QClipboard:clear( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QClipboard_clear( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QClipboard_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:image( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QClipboard_image( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QImageFromPointer( Qt_QClipboard_image( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:ownsClipboard( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QClipboard_ownsClipboard( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:ownsFindBuffer( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QClipboard_ownsFindBuffer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:ownsSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QClipboard_ownsSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:pixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QClipboard_pixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QPixmapFromPointer( Qt_QClipboard_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:setImage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QClipboard_setImage( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QClipboard_setImage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:setMimeData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QClipboard_setMimeData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QClipboard_setMimeData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:setPixmap( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QClipboard_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QClipboard_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:setText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QClipboard_setText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QClipboard_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:supportsFindBuffer( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QClipboard_supportsFindBuffer( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:supportsSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QClipboard_supportsSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QClipboard:text( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QClipboard_text( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QClipboard_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQColor.prg b/harbour/contrib/hbqt/qtgui/g/TQColor.prg deleted file mode 100644 index 803d3c03f6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQColor.prg +++ /dev/null @@ -1,908 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QColor( ... ) - RETURN HB_QColor():new( ... ) - -FUNCTION QColorFromPointer( ... ) - RETURN HB_QColor():fromPointer( ... ) - - -CREATE CLASS QColor INHERIT HbQtObjectHandler FUNCTION HB_QColor - - METHOD new( ... ) - - METHOD QColor // ( ) -> oQColor - // ( nR, nG, nB, nA ) -> oQColor - // ( nColor ) -> oQColor - // ( nColor ) -> oQColor - // ( cName ) -> oQColor - // ( oQColor ) -> oQColor - METHOD alpha // ( ) -> nInt - METHOD alphaF // ( ) -> nQreal - METHOD black // ( ) -> nInt - METHOD blackF // ( ) -> nQreal - METHOD blue // ( ) -> nInt - METHOD blueF // ( ) -> nQreal - METHOD convertTo // ( nColorSpec ) -> oQColor - METHOD cyan // ( ) -> nInt - METHOD cyanF // ( ) -> nQreal - METHOD darker // ( nFactor ) -> oQColor - METHOD getCmyk // ( @nC, @nM, @nY, @nK, @nA ) -> NIL - METHOD getCmykF // ( @nC, @nM, @nY, @nK, @nA ) -> NIL - METHOD getHsv // ( @nH, @nS, @nV, @nA ) -> NIL - METHOD getHsvF // ( @nH, @nS, @nV, @nA ) -> NIL - METHOD getRgb // ( @nR, @nG, @nB, @nA ) -> NIL - METHOD getRgbF // ( @nR, @nG, @nB, @nA ) -> NIL - METHOD green // ( ) -> nInt - METHOD greenF // ( ) -> nQreal - METHOD hue // ( ) -> nInt - METHOD hueF // ( ) -> nQreal - METHOD isValid // ( ) -> lBool - METHOD lighter // ( nFactor ) -> oQColor - METHOD magenta // ( ) -> nInt - METHOD magentaF // ( ) -> nQreal - METHOD name // ( ) -> cQString - METHOD red // ( ) -> nInt - METHOD redF // ( ) -> nQreal - METHOD rgb // ( ) -> nQRgb - METHOD rgba // ( ) -> nQRgb - METHOD saturation // ( ) -> nInt - METHOD saturationF // ( ) -> nQreal - METHOD setAlpha // ( nAlpha ) -> NIL - METHOD setAlphaF // ( nAlpha ) -> NIL - METHOD setBlue // ( nBlue ) -> NIL - METHOD setBlueF // ( nBlue ) -> NIL - METHOD setCmyk // ( nC, nM, nY, nK, nA ) -> NIL - METHOD setCmykF // ( nC, nM, nY, nK, nA ) -> NIL - METHOD setGreen // ( nGreen ) -> NIL - METHOD setGreenF // ( nGreen ) -> NIL - METHOD setHsv // ( nH, nS, nV, nA ) -> NIL - METHOD setHsvF // ( nH, nS, nV, nA ) -> NIL - METHOD setNamedColor // ( cName ) -> NIL - METHOD setRed // ( nRed ) -> NIL - METHOD setRedF // ( nRed ) -> NIL - METHOD setRgb // ( nRgb ) -> NIL - // ( nR, nG, nB, nA ) -> NIL - METHOD setRgba // ( nRgba ) -> NIL - METHOD setRgbF // ( nR, nG, nB, nA ) -> NIL - METHOD spec // ( ) -> nSpec - METHOD toCmyk // ( ) -> oQColor - METHOD toHsv // ( ) -> oQColor - METHOD toRgb // ( ) -> oQColor - METHOD value // ( ) -> nInt - METHOD valueF // ( ) -> nQreal - METHOD yellow // ( ) -> nInt - METHOD yellowF // ( ) -> nQreal - METHOD colorNames // ( ) -> oQStringList - METHOD fromCmyk // ( nC, nM, nY, nK, nA ) -> oQColor - METHOD fromCmykF // ( nC, nM, nY, nK, nA ) -> oQColor - METHOD fromHsv // ( nH, nS, nV, nA ) -> oQColor - METHOD fromHsvF // ( nH, nS, nV, nA ) -> oQColor - METHOD fromRgb // ( nRgb ) -> oQColor - // ( nR, nG, nB, nA ) -> oQColor - METHOD fromRgbF // ( nR, nG, nB, nA ) -> oQColor - METHOD fromRgba // ( nRgba ) -> oQColor - - ENDCLASS - - -METHOD QColor:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QColor( ... ) - RETURN Self - - -METHOD QColor:QColor( ... ) - 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 QColorFromPointer( Qt_QColor_QColor_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QColorFromPointer( Qt_QColor_QColor_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_QColor_4( ::pPtr, ... ) ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_QColor_2( ::pPtr, ... ) ) - // RETURN QColorFromPointer( Qt_QColor_QColor_3( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_QColor_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QColorFromPointer( Qt_QColor_QColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:alpha( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_alpha( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:alphaF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_alphaF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:black( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_black( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:blackF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_blackF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:blue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_blue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:blueF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_blueF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:convertTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_convertTo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:cyan( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_cyan( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:cyanF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_cyanF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:darker( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_darker( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QColorFromPointer( Qt_QColor_darker( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:getCmyk( ... ) - 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_QColor_getCmyk( ::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_QColor_getCmyk( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:getCmykF( ... ) - 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_QColor_getCmykF( ::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_QColor_getCmykF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:getHsv( ... ) - 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_QColor_getHsv( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_getHsv( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:getHsvF( ... ) - 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_QColor_getHsvF( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_getHsvF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:getRgb( ... ) - 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_QColor_getRgb( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_getRgb( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:getRgbF( ... ) - 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_QColor_getRgbF( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_getRgbF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:green( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_green( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:greenF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_greenF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:hue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_hue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:hueF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_hueF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:lighter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_lighter( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QColorFromPointer( Qt_QColor_lighter( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:magenta( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_magenta( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:magentaF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_magentaF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:red( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_red( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:redF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_redF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:rgb( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_rgb( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:rgba( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_rgba( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:saturation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_saturation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:saturationF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_saturationF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setAlpha( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setAlpha( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setAlphaF( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setAlphaF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setBlue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setBlue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setBlueF( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setBlueF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setCmyk( ... ) - 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_QColor_setCmyk( ::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_QColor_setCmyk( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setCmykF( ... ) - 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_QColor_setCmykF( ::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_QColor_setCmykF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setGreen( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setGreen( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setGreenF( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setGreenF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setHsv( ... ) - 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_QColor_setHsv( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_setHsv( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setHsvF( ... ) - 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_QColor_setHsvF( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_setHsvF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setNamedColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setNamedColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setRed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setRed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setRedF( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setRedF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setRgb( ... ) - 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_QColor_setRgb_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - 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 - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setRgb( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setRgba( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColor_setRgba( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:setRgbF( ... ) - 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_QColor_setRgbF( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QColor_setRgbF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:spec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_spec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:toCmyk( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QColor_toCmyk( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:toHsv( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QColor_toHsv( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:toRgb( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QColor_toRgb( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:valueF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_valueF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:yellow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_yellow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:yellowF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColor_yellowF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:colorNames( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QColor_colorNames( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromCmyk( ... ) - 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 QColorFromPointer( Qt_QColor_fromCmyk( ::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 QColorFromPointer( Qt_QColor_fromCmyk( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromCmykF( ... ) - 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 QColorFromPointer( Qt_QColor_fromCmykF( ::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 QColorFromPointer( Qt_QColor_fromCmykF( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromHsv( ... ) - 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 QColorFromPointer( Qt_QColor_fromHsv( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QColorFromPointer( Qt_QColor_fromHsv( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromHsvF( ... ) - 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 QColorFromPointer( Qt_QColor_fromHsvF( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QColorFromPointer( Qt_QColor_fromHsvF( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromRgb( ... ) - 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 QColorFromPointer( Qt_QColor_fromRgb_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QColorFromPointer( Qt_QColor_fromRgb_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_fromRgb( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromRgbF( ... ) - 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 QColorFromPointer( Qt_QColor_fromRgbF( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QColorFromPointer( Qt_QColor_fromRgbF( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColor:fromRgba( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColor_fromRgba( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg deleted file mode 100644 index 09bdb874c0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQColorDialog.prg +++ /dev/null @@ -1,239 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QColorDialog( ... ) - RETURN HB_QColorDialog():new( ... ) - -FUNCTION QColorDialogFromPointer( ... ) - RETURN HB_QColorDialog():fromPointer( ... ) - - -CREATE CLASS QColorDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QColorDialog - - METHOD new( ... ) - - METHOD currentColor // ( ) -> oQColor - METHOD open // ( ) -> NIL - METHOD options // ( ) -> nColorDialogOptions - METHOD selectedColor // ( ) -> oQColor - METHOD setCurrentColor // ( oQColor ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD testOption // ( nOption ) -> lBool - METHOD customColor // ( nIndex ) -> nQRgb - METHOD customCount // ( ) -> nInt - METHOD getColor // ( oQColor, oQWidget, cTitle, nOptions ) -> oQColor - // ( oQColor, oQWidget ) -> oQColor - METHOD setCustomColor // ( nIndex, nColor ) -> NIL - METHOD setStandardColor // ( nIndex, nColor ) -> NIL - - ENDCLASS - - -METHOD QColorDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QColorDialog( ... ) - RETURN Self - - -METHOD QColorDialog:currentColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QColorDialog_currentColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:open( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColorDialog_open( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColorDialog_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:selectedColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QColorDialog_selectedColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:setCurrentColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QColorDialog_setCurrentColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QColorDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColorDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColorDialog_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QColorDialog_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColorDialog_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:customColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QColorDialog_customColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:customCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QColorDialog_customCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:getColor( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 QColorFromPointer( Qt_QColorDialog_getColor( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QColorFromPointer( Qt_QColorDialog_getColor( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QColorFromPointer( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QColorFromPointer( Qt_QColorDialog_getColor_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:setCustomColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QColorDialog_setCustomColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QColorDialog:setStandardColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QColorDialog_setStandardColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg b/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg deleted file mode 100644 index b260f08fec..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQComboBox.prg +++ /dev/null @@ -1,770 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QComboBox( ... ) - RETURN HB_QComboBox():new( ... ) - -FUNCTION QComboBoxFromPointer( ... ) - RETURN HB_QComboBox():fromPointer( ... ) - - -CREATE CLASS QComboBox INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QComboBox - - METHOD new( ... ) - - METHOD QComboBox // ( oQWidget ) -> oQComboBox - METHOD addItem // ( cText, oQVariant ) -> NIL - // ( coQIcon, cText, oQVariant ) -> NIL - METHOD addItems // ( oQStringList ) -> NIL - METHOD completer // ( ) -> oQCompleter - METHOD count // ( ) -> nInt - METHOD currentIndex // ( ) -> nInt - METHOD currentText // ( ) -> cQString - METHOD duplicatesEnabled // ( ) -> lBool - METHOD findData // ( oQVariant, nRole, nFlags ) -> nInt - METHOD findText // ( cText, nFlags ) -> nInt - METHOD hasFrame // ( ) -> lBool - METHOD hidePopup // ( ) -> NIL - METHOD iconSize // ( ) -> oQSize - METHOD insertItem // ( nIndex, cText, oQVariant ) -> NIL - // ( nIndex, coQIcon, cText, oQVariant ) -> NIL - METHOD insertItems // ( nIndex, oQStringList ) -> NIL - METHOD insertPolicy // ( ) -> nInsertPolicy - METHOD insertSeparator // ( nIndex ) -> NIL - METHOD isEditable // ( ) -> lBool - METHOD itemData // ( nIndex, nRole ) -> oQVariant - METHOD itemDelegate // ( ) -> oQAbstractItemDelegate - METHOD itemIcon // ( nIndex ) -> oQIcon - METHOD itemText // ( nIndex ) -> cQString - METHOD lineEdit // ( ) -> oQLineEdit - METHOD maxCount // ( ) -> nInt - METHOD maxVisibleItems // ( ) -> nInt - METHOD minimumContentsLength // ( ) -> nInt - METHOD model // ( ) -> oQAbstractItemModel - METHOD modelColumn // ( ) -> nInt - METHOD removeItem // ( nIndex ) -> NIL - METHOD rootModelIndex // ( ) -> oQModelIndex - METHOD setCompleter // ( oQCompleter ) -> NIL - METHOD setDuplicatesEnabled // ( lEnable ) -> NIL - METHOD setEditable // ( lEditable ) -> NIL - METHOD setFrame // ( lBool ) -> NIL - METHOD setIconSize // ( oQSize ) -> NIL - METHOD setInsertPolicy // ( nPolicy ) -> NIL - METHOD setItemData // ( nIndex, oQVariant, nRole ) -> NIL - METHOD setItemDelegate // ( oQAbstractItemDelegate ) -> NIL - METHOD setItemIcon // ( nIndex, coQIcon ) -> NIL - METHOD setItemText // ( nIndex, cText ) -> NIL - METHOD setLineEdit // ( oQLineEdit ) -> NIL - METHOD setMaxCount // ( nMax ) -> NIL - METHOD setMaxVisibleItems // ( nMaxItems ) -> NIL - METHOD setMinimumContentsLength // ( nCharacters ) -> NIL - METHOD setModel // ( oQAbstractItemModel ) -> NIL - METHOD setModelColumn // ( nVisibleColumn ) -> NIL - METHOD setRootModelIndex // ( oQModelIndex ) -> NIL - METHOD setSizeAdjustPolicy // ( nPolicy ) -> NIL - METHOD setValidator // ( oQValidator ) -> NIL - METHOD setView // ( oQAbstractItemView ) -> NIL - METHOD showPopup // ( ) -> NIL - METHOD sizeAdjustPolicy // ( ) -> nSizeAdjustPolicy - METHOD validator // ( ) -> oQValidator - METHOD view // ( ) -> oQAbstractItemView - METHOD clear // ( ) -> NIL - METHOD clearEditText // ( ) -> NIL - METHOD setCurrentIndex // ( nIndex ) -> NIL - METHOD setEditText // ( cText ) -> NIL - - ENDCLASS - - -METHOD QComboBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QComboBox( ... ) - RETURN Self - - -METHOD QComboBox:QComboBox( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QComboBoxFromPointer( Qt_QComboBox_QComboBox( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QComboBoxFromPointer( Qt_QComboBox_QComboBox( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:addItem( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_addItem( ::pPtr, ... ) - 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 - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_addItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:addItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_addItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:completer( ... ) - SWITCH PCount() - CASE 0 - RETURN QCompleterFromPointer( Qt_QComboBox_completer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_currentIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:currentText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_currentText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:duplicatesEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_duplicatesEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:findData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QComboBox_findData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_findData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_findData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:findText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_findText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_findText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:hasFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_hasFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:hidePopup( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_hidePopup( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QComboBox_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:insertItem( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QComboBox_insertItem( ::pPtr, ... ) - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_insertItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:insertItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_insertItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:insertPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_insertPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:insertSeparator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_insertSeparator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:isEditable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_isEditable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:itemData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QComboBox_itemData( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QComboBox_itemData( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:itemDelegate( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemDelegateFromPointer( Qt_QComboBox_itemDelegate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:itemIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QComboBox_itemIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:itemText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_itemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:lineEdit( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineEditFromPointer( Qt_QComboBox_lineEdit( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:maxCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_maxCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:maxVisibleItems( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_maxVisibleItems( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:minimumContentsLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_minimumContentsLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:model( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QComboBox_model( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:modelColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_modelColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:removeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_removeItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:rootModelIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QComboBox_rootModelIndex( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setCompleter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setCompleter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setDuplicatesEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setDuplicatesEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setEditable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setEditable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setFrame( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setInsertPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setInsertPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setItemData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QComboBox_setItemData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_setItemData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setItemDelegate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setItemDelegate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setItemIcon( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) - RETURN Qt_QComboBox_setItemIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setItemText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QComboBox_setItemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setLineEdit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setLineEdit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setMaxCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setMaxCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setMaxVisibleItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setMaxVisibleItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setMinimumContentsLength( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setMinimumContentsLength( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setModel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setModel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setModelColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setModelColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setRootModelIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setRootModelIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setSizeAdjustPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setSizeAdjustPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setValidator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setValidator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setView( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setView( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:showPopup( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_showPopup( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:sizeAdjustPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_sizeAdjustPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:validator( ... ) - SWITCH PCount() - CASE 0 - RETURN QValidatorFromPointer( Qt_QComboBox_validator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:view( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemViewFromPointer( Qt_QComboBox_view( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:clearEditText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QComboBox_clearEditText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setCurrentIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QComboBox:setEditText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QComboBox_setEditText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg b/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg deleted file mode 100644 index f63817d0b4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQCommandLinkButton.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QCommandLinkButton( ... ) - RETURN HB_QCommandLinkButton():new( ... ) - -FUNCTION QCommandLinkButtonFromPointer( ... ) - RETURN HB_QCommandLinkButton():fromPointer( ... ) - - -CREATE CLASS QCommandLinkButton INHERIT HbQtObjectHandler, HB_QPushButton FUNCTION HB_QCommandLinkButton - - METHOD new( ... ) - - METHOD description // ( ) -> cQString - METHOD setDescription // ( cDescription ) -> NIL - - ENDCLASS - - -METHOD QCommandLinkButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCommandLinkButton( ... ) - RETURN Self - - -METHOD QCommandLinkButton:description( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCommandLinkButton_description( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCommandLinkButton:setDescription( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCommandLinkButton_setDescription( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg b/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg deleted file mode 100644 index 70265c64ca..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQCommonStyle.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QCommonStyle( ... ) - RETURN HB_QCommonStyle():new( ... ) - -FUNCTION QCommonStyleFromPointer( ... ) - RETURN HB_QCommonStyle():fromPointer( ... ) - - -CREATE CLASS QCommonStyle INHERIT HbQtObjectHandler, HB_QStyle FUNCTION HB_QCommonStyle - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QCommonStyle:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCommonStyle( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg b/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg deleted file mode 100644 index c918aa2b67..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQCompleter.prg +++ /dev/null @@ -1,369 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QCompleter( ... ) - RETURN HB_QCompleter():new( ... ) - -FUNCTION QCompleterFromPointer( ... ) - RETURN HB_QCompleter():fromPointer( ... ) - - -CREATE CLASS QCompleter INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QCompleter - - METHOD new( ... ) - - METHOD caseSensitivity // ( ) -> nQt_CaseSensitivity - METHOD completionColumn // ( ) -> nInt - METHOD completionCount // ( ) -> nInt - METHOD completionMode // ( ) -> nCompletionMode - METHOD completionModel // ( ) -> oQAbstractItemModel - METHOD completionPrefix // ( ) -> cQString - METHOD completionRole // ( ) -> nInt - METHOD currentCompletion // ( ) -> cQString - METHOD currentIndex // ( ) -> oQModelIndex - METHOD currentRow // ( ) -> nInt - METHOD model // ( ) -> oQAbstractItemModel - METHOD modelSorting // ( ) -> nModelSorting - METHOD pathFromIndex // ( oQModelIndex ) -> cQString - METHOD popup // ( ) -> oQAbstractItemView - METHOD setCaseSensitivity // ( nCaseSensitivity ) -> NIL - METHOD setCompletionColumn // ( nColumn ) -> NIL - METHOD setCompletionMode // ( nMode ) -> NIL - METHOD setCompletionRole // ( nRole ) -> NIL - METHOD setCurrentRow // ( nRow ) -> lBool - METHOD setModel // ( oQAbstractItemModel ) -> NIL - METHOD setModelSorting // ( nSorting ) -> NIL - METHOD setPopup // ( oQAbstractItemView ) -> NIL - METHOD setWidget // ( oQWidget ) -> NIL - METHOD splitPath // ( cPath ) -> oQStringList - METHOD widget // ( ) -> oQWidget - METHOD wrapAround // ( ) -> lBool - METHOD complete // ( oQRect ) -> NIL - METHOD setCompletionPrefix // ( cPrefix ) -> NIL - METHOD setWrapAround // ( lWrap ) -> NIL - - ENDCLASS - - -METHOD QCompleter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCompleter( ... ) - RETURN Self - - -METHOD QCompleter:caseSensitivity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_caseSensitivity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:completionColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_completionColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:completionCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_completionCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:completionMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_completionMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:completionModel( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QCompleter_completionModel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:completionPrefix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_completionPrefix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:completionRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_completionRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:currentCompletion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_currentCompletion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QCompleter_currentIndex( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:currentRow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_currentRow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:model( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QCompleter_model( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:modelSorting( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_modelSorting( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:pathFromIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_pathFromIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:popup( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemViewFromPointer( Qt_QCompleter_popup( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setCaseSensitivity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setCaseSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setCompletionColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setCompletionColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setCompletionMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setCompletionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setCompletionRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setCompletionRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setCurrentRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setCurrentRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setModel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setModel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setModelSorting( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setModelSorting( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setPopup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setPopup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:splitPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QCompleter_splitPath( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QCompleter_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:wrapAround( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCompleter_wrapAround( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:complete( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_complete( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QCompleter_complete( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setCompletionPrefix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setCompletionPrefix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCompleter:setWrapAround( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QCompleter_setWrapAround( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg deleted file mode 100644 index 6a13ed3b46..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQConicalGradient.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QConicalGradient( ... ) - RETURN HB_QConicalGradient():new( ... ) - -FUNCTION QConicalGradientFromPointer( ... ) - RETURN HB_QConicalGradient():fromPointer( ... ) - - -CREATE CLASS QConicalGradient INHERIT HbQtObjectHandler, HB_QGradient FUNCTION HB_QConicalGradient - - METHOD new( ... ) - - METHOD angle // ( ) -> nQreal - METHOD center // ( ) -> oQPointF - METHOD setAngle // ( nAngle ) -> NIL - METHOD setCenter // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - - ENDCLASS - - -METHOD QConicalGradient:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QConicalGradient( ... ) - RETURN Self - - -METHOD QConicalGradient:angle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QConicalGradient_angle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QConicalGradient:center( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QConicalGradient_center( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QConicalGradient:setAngle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QConicalGradient_setAngle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QConicalGradient:setCenter( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QConicalGradient_setCenter_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QConicalGradient_setCenter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg deleted file mode 100644 index 03487e2b3d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQContextMenuEvent.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QContextMenuEvent( ... ) - RETURN HB_QContextMenuEvent():new( ... ) - -FUNCTION QContextMenuEventFromPointer( ... ) - RETURN HB_QContextMenuEvent():fromPointer( ... ) - - -CREATE CLASS QContextMenuEvent INHERIT HbQtObjectHandler, HB_QInputEvent FUNCTION HB_QContextMenuEvent - - METHOD new( ... ) - - METHOD globalPos // ( ) -> oQPoint - METHOD globalX // ( ) -> nInt - METHOD globalY // ( ) -> nInt - METHOD pos // ( ) -> oQPoint - METHOD reason // ( ) -> nReason - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - - ENDCLASS - - -METHOD QContextMenuEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QContextMenuEvent( ... ) - RETURN Self - - -METHOD QContextMenuEvent:globalPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QContextMenuEvent_globalPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QContextMenuEvent:globalX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QContextMenuEvent_globalX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QContextMenuEvent:globalY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QContextMenuEvent_globalY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QContextMenuEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QContextMenuEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QContextMenuEvent:reason( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QContextMenuEvent_reason( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QContextMenuEvent:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QContextMenuEvent_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QContextMenuEvent:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QContextMenuEvent_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQCursor.prg b/harbour/contrib/hbqt/qtgui/g/TQCursor.prg deleted file mode 100644 index be6fd05fc3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQCursor.prg +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QCursor( ... ) - RETURN HB_QCursor():new( ... ) - -FUNCTION QCursorFromPointer( ... ) - RETURN HB_QCursor():fromPointer( ... ) - - -CREATE CLASS QCursor INHERIT HbQtObjectHandler FUNCTION HB_QCursor - - METHOD new( ... ) - - METHOD bitmap // ( ) -> oQBitmap - METHOD hotSpot // ( ) -> oQPoint - METHOD mask // ( ) -> oQBitmap - METHOD pixmap // ( ) -> oQPixmap - METHOD setShape // ( nShape ) -> NIL - METHOD shape // ( ) -> nQt_CursorShape - METHOD pos // ( ) -> oQPoint - METHOD setPos // ( nX, nY ) -> NIL - // ( oQPoint ) -> NIL - - ENDCLASS - - -METHOD QCursor:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QCursor( ... ) - RETURN Self - - -METHOD QCursor:bitmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QBitmapFromPointer( Qt_QCursor_bitmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:hotSpot( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QCursor_hotSpot( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:mask( ... ) - SWITCH PCount() - CASE 0 - RETURN QBitmapFromPointer( Qt_QCursor_mask( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QCursor_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:setShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QCursor_setShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:shape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QCursor_shape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QCursor_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QCursor:setPos( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QCursor_setPos( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QCursor_setPos_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg deleted file mode 100644 index c7d5ec6197..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDateEdit.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDateEdit( ... ) - RETURN HB_QDateEdit():new( ... ) - -FUNCTION QDateEditFromPointer( ... ) - RETURN HB_QDateEdit():fromPointer( ... ) - - -CREATE CLASS QDateEdit INHERIT HbQtObjectHandler, HB_QDateTimeEdit FUNCTION HB_QDateEdit - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QDateEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDateEdit( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg deleted file mode 100644 index 8c7d4641cc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDateTimeEdit.prg +++ /dev/null @@ -1,530 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDateTimeEdit( ... ) - RETURN HB_QDateTimeEdit():new( ... ) - -FUNCTION QDateTimeEditFromPointer( ... ) - RETURN HB_QDateTimeEdit():fromPointer( ... ) - - -CREATE CLASS QDateTimeEdit INHERIT HbQtObjectHandler, HB_QAbstractSpinBox FUNCTION HB_QDateTimeEdit - - METHOD new( ... ) - - METHOD calendarPopup // ( ) -> lBool - METHOD calendarWidget // ( ) -> oQCalendarWidget - METHOD clearMaximumDate // ( ) -> NIL - METHOD clearMaximumDateTime // ( ) -> NIL - METHOD clearMaximumTime // ( ) -> NIL - METHOD clearMinimumDate // ( ) -> NIL - METHOD clearMinimumDateTime // ( ) -> NIL - METHOD clearMinimumTime // ( ) -> NIL - METHOD currentSection // ( ) -> nSection - METHOD currentSectionIndex // ( ) -> nInt - METHOD date // ( ) -> oQDate - METHOD dateTime // ( ) -> oQDateTime - METHOD displayFormat // ( ) -> cQString - METHOD displayedSections // ( ) -> nSections - METHOD maximumDate // ( ) -> oQDate - METHOD maximumDateTime // ( ) -> oQDateTime - METHOD maximumTime // ( ) -> oQTime - METHOD minimumDate // ( ) -> oQDate - METHOD minimumDateTime // ( ) -> oQDateTime - METHOD minimumTime // ( ) -> oQTime - METHOD sectionAt // ( nIndex ) -> nSection - METHOD sectionCount // ( ) -> nInt - METHOD sectionText // ( nSection ) -> cQString - METHOD setCalendarPopup // ( lEnable ) -> NIL - METHOD setCalendarWidget // ( oQCalendarWidget ) -> NIL - METHOD setCurrentSection // ( nSection ) -> NIL - METHOD setCurrentSectionIndex // ( nIndex ) -> NIL - METHOD setDateRange // ( oQDate, oQDate ) -> NIL - METHOD setDateTimeRange // ( oQDateTime, oQDateTime ) -> NIL - METHOD setDisplayFormat // ( cFormat ) -> NIL - METHOD setMaximumDate // ( oQDate ) -> NIL - METHOD setMaximumDateTime // ( oQDateTime ) -> NIL - METHOD setMaximumTime // ( oQTime ) -> NIL - METHOD setMinimumDate // ( oQDate ) -> NIL - METHOD setMinimumDateTime // ( oQDateTime ) -> NIL - METHOD setMinimumTime // ( oQTime ) -> NIL - METHOD setSelectedSection // ( nSection ) -> NIL - METHOD setTimeRange // ( oQTime, oQTime ) -> NIL - METHOD setTimeSpec // ( nSpec ) -> NIL - METHOD time // ( ) -> oQTime - METHOD timeSpec // ( ) -> nQt_TimeSpec - METHOD setDate // ( oQDate ) -> NIL - METHOD setDateTime // ( oQDateTime ) -> NIL - METHOD setTime // ( oQTime ) -> NIL - - ENDCLASS - - -METHOD QDateTimeEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDateTimeEdit( ... ) - RETURN Self - - -METHOD QDateTimeEdit:calendarPopup( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_calendarPopup( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:calendarWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QCalendarWidgetFromPointer( Qt_QDateTimeEdit_calendarWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:clearMaximumDate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_clearMaximumDate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:clearMaximumDateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_clearMaximumDateTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:clearMaximumTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_clearMaximumTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:clearMinimumDate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_clearMinimumDate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:clearMinimumDateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_clearMinimumDateTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:clearMinimumTime( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_clearMinimumTime( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:currentSection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_currentSection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:currentSectionIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_currentSectionIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:date( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QDateTimeEdit_date( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:dateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QDateTimeEdit_dateTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:displayFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_displayFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:displayedSections( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_displayedSections( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:maximumDate( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QDateTimeEdit_maximumDate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:maximumDateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QDateTimeEdit_maximumDateTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:maximumTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeFromPointer( Qt_QDateTimeEdit_maximumTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:minimumDate( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateFromPointer( Qt_QDateTimeEdit_minimumDate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:minimumDateTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QDateTimeEdit_minimumDateTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:minimumTime( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeFromPointer( Qt_QDateTimeEdit_minimumTime( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:sectionAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_sectionAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:sectionCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_sectionCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:sectionText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_sectionText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setCalendarPopup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setCalendarPopup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setCalendarWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setCalendarWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setCurrentSection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setCurrentSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setCurrentSectionIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setCurrentSectionIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setDateRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDateTimeEdit_setDateRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setDateTimeRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDateTimeEdit_setDateTimeRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setDisplayFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setDisplayFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setMaximumDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setMaximumDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setMaximumDateTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setMaximumDateTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setMaximumTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setMaximumTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setMinimumDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setMinimumDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setMinimumDateTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setMinimumDateTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setMinimumTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setMinimumTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setSelectedSection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setSelectedSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setTimeRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDateTimeEdit_setTimeRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setTimeSpec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setTimeSpec( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:time( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeFromPointer( Qt_QDateTimeEdit_time( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:timeSpec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDateTimeEdit_timeSpec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setDate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setDate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setDateTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setDateTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDateTimeEdit:setTime( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDateTimeEdit_setTime( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg b/harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg deleted file mode 100644 index b106db5438..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDesktopServices.prg +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDesktopServices( ... ) - RETURN HB_QDesktopServices():new( ... ) - -FUNCTION QDesktopServicesFromPointer( ... ) - RETURN HB_QDesktopServices():fromPointer( ... ) - - -CREATE CLASS QDesktopServices INHERIT HbQtObjectHandler FUNCTION HB_QDesktopServices - - METHOD new( ... ) - - METHOD displayName // ( nType ) -> cQString - METHOD openUrl // ( oQUrl ) -> lBool - METHOD setUrlHandler // ( cScheme, oQObject, cMethod ) -> NIL - METHOD storageLocation // ( nType ) -> cQString - METHOD unsetUrlHandler // ( cScheme ) -> NIL - - 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( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDesktopServices_displayName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopServices:openUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDesktopServices_openUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopServices:setUrlHandler( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QDesktopServices_setUrlHandler( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopServices:storageLocation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDesktopServices_storageLocation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopServices:unsetUrlHandler( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDesktopServices_unsetUrlHandler( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg deleted file mode 100644 index 01cd2f07ca..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDesktopWidget.prg +++ /dev/null @@ -1,161 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDesktopWidget( ... ) - RETURN HB_QDesktopWidget():new( ... ) - -FUNCTION QDesktopWidgetFromPointer( ... ) - RETURN HB_QDesktopWidget():fromPointer( ... ) - - -CREATE CLASS QDesktopWidget INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDesktopWidget - - METHOD new( ... ) - - METHOD availableGeometry // ( nScreen ) -> oQRect - // ( oQWidget ) -> oQRect - // ( oQPoint ) -> oQRect - METHOD isVirtualDesktop // ( ) -> lBool - METHOD numScreens // ( ) -> nInt - METHOD primaryScreen // ( ) -> nInt - METHOD screen // ( nScreen ) -> oQWidget - METHOD screenGeometry // ( nScreen ) -> oQRect - // ( oQWidget ) -> oQRect - // ( oQPoint ) -> oQRect - METHOD screenNumber // ( oQWidget ) -> nInt - // ( oQPoint ) -> nInt - - ENDCLASS - - -METHOD QDesktopWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDesktopWidget( ... ) - RETURN Self - - -METHOD QDesktopWidget:availableGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QDesktopWidget_availableGeometry( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QWIDGET" - RETURN QRectFromPointer( Qt_QDesktopWidget_availableGeometry_1( ::pPtr, ... ) ) - CASE "QPOINT" - RETURN QRectFromPointer( Qt_QDesktopWidget_availableGeometry_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QRectFromPointer( Qt_QDesktopWidget_availableGeometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopWidget:isVirtualDesktop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesktopWidget_isVirtualDesktop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopWidget:numScreens( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesktopWidget_numScreens( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopWidget:primaryScreen( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDesktopWidget_primaryScreen( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopWidget:screen( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QDesktopWidget_screen( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QWidgetFromPointer( Qt_QDesktopWidget_screen( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopWidget:screenGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QDesktopWidget_screenGeometry( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QWIDGET" - RETURN QRectFromPointer( Qt_QDesktopWidget_screenGeometry_1( ::pPtr, ... ) ) - CASE "QPOINT" - RETURN QRectFromPointer( Qt_QDesktopWidget_screenGeometry_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QRectFromPointer( Qt_QDesktopWidget_screenGeometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDesktopWidget:screenNumber( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - CASE 0 - RETURN Qt_QDesktopWidget_screenNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDial.prg b/harbour/contrib/hbqt/qtgui/g/TQDial.prg deleted file mode 100644 index 832351b648..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDial.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDial( ... ) - RETURN HB_QDial():new( ... ) - -FUNCTION QDialFromPointer( ... ) - RETURN HB_QDial():fromPointer( ... ) - - -CREATE CLASS QDial INHERIT HbQtObjectHandler, HB_QAbstractSlider FUNCTION HB_QDial - - METHOD new( ... ) - - METHOD notchSize // ( ) -> nInt - METHOD notchTarget // ( ) -> nQreal - METHOD notchesVisible // ( ) -> lBool - METHOD setNotchTarget // ( nTarget ) -> NIL - METHOD wrapping // ( ) -> lBool - METHOD setNotchesVisible // ( lVisible ) -> NIL - METHOD setWrapping // ( lOn ) -> NIL - - ENDCLASS - - -METHOD QDial:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDial( ... ) - RETURN Self - - -METHOD QDial:notchSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDial_notchSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDial:notchTarget( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDial_notchTarget( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDial:notchesVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDial_notchesVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDial:setNotchTarget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDial_setNotchTarget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDial:wrapping( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDial_wrapping( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDial:setNotchesVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDial_setNotchesVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDial:setWrapping( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDial_setWrapping( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQDialog.prg deleted file mode 100644 index 4203a9f1ae..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDialog.prg +++ /dev/null @@ -1,156 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDialog( ... ) - RETURN HB_QDialog():new( ... ) - -FUNCTION QDialogFromPointer( ... ) - RETURN HB_QDialog():fromPointer( ... ) - - -CREATE CLASS QDialog INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDialog - - METHOD new( ... ) - - METHOD isSizeGripEnabled // ( ) -> lBool - METHOD result // ( ) -> nInt - METHOD setModal // ( lModal ) -> NIL - METHOD setResult // ( nI ) -> NIL - METHOD setSizeGripEnabled // ( lBool ) -> NIL - METHOD accept // ( ) -> NIL - METHOD done // ( nR ) -> NIL - METHOD exec // ( ) -> nInt - METHOD open // ( ) -> NIL - METHOD reject // ( ) -> NIL - - ENDCLASS - - -METHOD QDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDialog( ... ) - RETURN Self - - -METHOD QDialog:isSizeGripEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDialog_isSizeGripEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:result( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDialog_result( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:setModal( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDialog_setModal( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:setResult( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDialog_setResult( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:setSizeGripEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDialog_setSizeGripEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:accept( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDialog_accept( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:done( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDialog_done( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:exec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDialog_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:open( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDialog_open( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDialog:reject( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDialog_reject( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg b/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg deleted file mode 100644 index 4d7ed41eb0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDirModel.prg +++ /dev/null @@ -1,529 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDirModel( ... ) - RETURN HB_QDirModel():new( ... ) - -FUNCTION QDirModelFromPointer( ... ) - RETURN HB_QDirModel():fromPointer( ... ) - - -CREATE CLASS QDirModel INHERIT HbQtObjectHandler, HB_QAbstractItemModel FUNCTION HB_QDirModel - - METHOD new( ... ) - - METHOD columnCount // ( oQModelIndex ) -> nInt - METHOD data // ( oQModelIndex, nRole ) -> oQVariant - METHOD dropMimeData // ( oQMimeData, nAction, nRow, nColumn, oQModelIndex ) -> lBool - METHOD fileIcon // ( oQModelIndex ) -> oQIcon - METHOD fileInfo // ( oQModelIndex ) -> oQFileInfo - METHOD fileName // ( oQModelIndex ) -> cQString - METHOD filePath // ( oQModelIndex ) -> cQString - METHOD filter // ( ) -> nQDir_Filters - METHOD flags // ( oQModelIndex ) -> nQt_ItemFlags - METHOD hasChildren // ( oQModelIndex ) -> lBool - METHOD headerData // ( nSection, nOrientation, nRole ) -> oQVariant - METHOD iconProvider // ( ) -> oQFileIconProvider - METHOD index // ( nRow, nColumn, oQModelIndex ) -> oQModelIndex - // ( cPath, nColumn ) -> oQModelIndex - METHOD isDir // ( oQModelIndex ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD lazyChildCount // ( ) -> lBool - METHOD mimeTypes // ( ) -> oQStringList - METHOD mkdir // ( oQModelIndex, cName ) -> oQModelIndex - METHOD nameFilters // ( ) -> oQStringList - METHOD parent // ( oQModelIndex ) -> oQModelIndex - METHOD remove // ( oQModelIndex ) -> lBool - METHOD resolveSymlinks // ( ) -> lBool - METHOD rmdir // ( oQModelIndex ) -> lBool - METHOD rowCount // ( oQModelIndex ) -> nInt - METHOD setData // ( oQModelIndex, oQVariant, nRole ) -> lBool - METHOD setFilter // ( nFilters ) -> NIL - METHOD setIconProvider // ( oQFileIconProvider ) -> NIL - METHOD setLazyChildCount // ( lEnable ) -> NIL - METHOD setNameFilters // ( oQStringList ) -> NIL - METHOD setReadOnly // ( lEnable ) -> NIL - METHOD setResolveSymlinks // ( lEnable ) -> NIL - METHOD setSorting // ( nSort ) -> NIL - METHOD sort // ( nColumn, nOrder ) -> NIL - METHOD sorting // ( ) -> nQDir_SortFlags - METHOD supportedDropActions // ( ) -> nQt_DropActions - METHOD refresh // ( oQModelIndex ) -> NIL - - ENDCLASS - - -METHOD QDirModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDirModel( ... ) - RETURN Self - - -METHOD QDirModel:columnCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_columnCount( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDirModel_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:data( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QDirModel_data( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QDirModel_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:dropMimeData( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) - RETURN Qt_QDirModel_dropMimeData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:fileIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QDirModel_fileIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:fileInfo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QFileInfoFromPointer( Qt_QDirModel_fileInfo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:fileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_fileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:filePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_filePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:filter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDirModel_filter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:flags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_flags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:hasChildren( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_hasChildren( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDirModel_hasChildren( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:headerData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QVariantFromPointer( Qt_QDirModel_headerData( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QDirModel_headerData( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:iconProvider( ... ) - SWITCH PCount() - CASE 0 - RETURN QFileIconProviderFromPointer( Qt_QDirModel_iconProvider( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:index( ... ) - 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 QModelIndexFromPointer( Qt_QDirModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QDirModel_index_1( ::pPtr, ... ) ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QDirModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QDirModel_index_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:isDir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_isDir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDirModel_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:lazyChildCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDirModel_lazyChildCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:mimeTypes( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QDirModel_mimeTypes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:mkdir( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QDirModel_mkdir( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:nameFilters( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QDirModel_nameFilters( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:parent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QDirModel_parent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:resolveSymlinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDirModel_resolveSymlinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:rmdir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_rmdir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:rowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_rowCount( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDirModel_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QDirModel_setData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QDirModel_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setIconProvider( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setIconProvider( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setLazyChildCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setLazyChildCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setNameFilters( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setNameFilters( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setResolveSymlinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setResolveSymlinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:setSorting( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_setSorting( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:sort( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDirModel_sort( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_sort( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:sorting( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDirModel_sorting( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:supportedDropActions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDirModel_supportedDropActions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDirModel:refresh( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDirModel_refresh( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDirModel_refresh( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg deleted file mode 100644 index fb88af1ad6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDockWidget.prg +++ /dev/null @@ -1,182 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDockWidget( ... ) - RETURN HB_QDockWidget():new( ... ) - -FUNCTION QDockWidgetFromPointer( ... ) - RETURN HB_QDockWidget():fromPointer( ... ) - - -CREATE CLASS QDockWidget INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QDockWidget - - METHOD new( ... ) - - METHOD allowedAreas // ( ) -> nQt_DockWidgetAreas - METHOD features // ( ) -> nDockWidgetFeatures - METHOD isAreaAllowed // ( nArea ) -> lBool - METHOD isFloating // ( ) -> lBool - METHOD setAllowedAreas // ( nAreas ) -> NIL - METHOD setFeatures // ( nFeatures ) -> NIL - METHOD setFloating // ( lFloating ) -> NIL - METHOD setTitleBarWidget // ( oQWidget ) -> NIL - METHOD setWidget // ( oQWidget ) -> NIL - METHOD titleBarWidget // ( ) -> oQWidget - METHOD toggleViewAction // ( ) -> oQAction - METHOD widget // ( ) -> oQWidget - - ENDCLASS - - -METHOD QDockWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDockWidget( ... ) - RETURN Self - - -METHOD QDockWidget:allowedAreas( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDockWidget_allowedAreas( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:features( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDockWidget_features( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:isAreaAllowed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDockWidget_isAreaAllowed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:isFloating( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDockWidget_isFloating( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:setAllowedAreas( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDockWidget_setAllowedAreas( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:setFeatures( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDockWidget_setFeatures( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:setFloating( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QDockWidget_setFloating( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:setTitleBarWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDockWidget_setTitleBarWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:setWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDockWidget_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:titleBarWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDockWidget_titleBarWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:toggleViewAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QDockWidget_toggleViewAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDockWidget:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDockWidget_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg deleted file mode 100644 index cf2be41f48..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDoubleSpinBox.prg +++ /dev/null @@ -1,252 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDoubleSpinBox( ... ) - RETURN HB_QDoubleSpinBox():new( ... ) - -FUNCTION QDoubleSpinBoxFromPointer( ... ) - RETURN HB_QDoubleSpinBox():fromPointer( ... ) - - -CREATE CLASS QDoubleSpinBox INHERIT HbQtObjectHandler, HB_QAbstractSpinBox FUNCTION HB_QDoubleSpinBox - - METHOD new( ... ) - - METHOD cleanText // ( ) -> cQString - METHOD decimals // ( ) -> nInt - METHOD maximum // ( ) -> nDouble - METHOD minimum // ( ) -> nDouble - METHOD prefix // ( ) -> cQString - METHOD setDecimals // ( nPrec ) -> NIL - METHOD setMaximum // ( nMax ) -> NIL - METHOD setMinimum // ( nMin ) -> NIL - METHOD setPrefix // ( cPrefix ) -> NIL - METHOD setRange // ( nMinimum, nMaximum ) -> NIL - METHOD setSingleStep // ( nVal ) -> NIL - METHOD setSuffix // ( cSuffix ) -> NIL - METHOD singleStep // ( ) -> nDouble - METHOD suffix // ( ) -> cQString - METHOD textFromValue // ( nValue ) -> cQString - METHOD value // ( ) -> nDouble - METHOD valueFromText // ( cText ) -> nDouble - METHOD setValue // ( nVal ) -> NIL - - ENDCLASS - - -METHOD QDoubleSpinBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDoubleSpinBox( ... ) - RETURN Self - - -METHOD QDoubleSpinBox:cleanText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_cleanText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:decimals( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_decimals( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:prefix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_prefix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setDecimals( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setDecimals( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setPrefix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setPrefix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDoubleSpinBox_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setSingleStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setSingleStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setSuffix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setSuffix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:singleStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_singleStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:suffix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_suffix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:textFromValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_textFromValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleSpinBox_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:valueFromText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_valueFromText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleSpinBox:setValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleSpinBox_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg deleted file mode 100644 index 114208518b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDoubleValidator( ... ) - RETURN HB_QDoubleValidator():new( ... ) - -FUNCTION QDoubleValidatorFromPointer( ... ) - RETURN HB_QDoubleValidator():fromPointer( ... ) - - -CREATE CLASS QDoubleValidator INHERIT HbQtObjectHandler, HB_QValidator FUNCTION HB_QDoubleValidator - - METHOD new( ... ) - - METHOD bottom // ( ) -> nDouble - METHOD decimals // ( ) -> nInt - METHOD notation // ( ) -> nNotation - METHOD setBottom // ( nDouble ) -> NIL - METHOD setDecimals // ( nInt ) -> NIL - METHOD setNotation // ( nNotation ) -> NIL - METHOD setRange // ( nMinimum, nMaximum, nDecimals ) -> NIL - METHOD setTop // ( nDouble ) -> NIL - METHOD top // ( ) -> nDouble - - ENDCLASS - - -METHOD QDoubleValidator:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDoubleValidator( ... ) - RETURN Self - - -METHOD QDoubleValidator:bottom( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleValidator_bottom( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:decimals( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleValidator_decimals( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:notation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleValidator_notation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:setBottom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleValidator_setBottom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:setDecimals( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleValidator_setDecimals( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:setNotation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleValidator_setNotation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:setRange( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QDoubleValidator_setRange( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDoubleValidator_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:setTop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDoubleValidator_setTop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDoubleValidator:top( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDoubleValidator_top( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDrag.prg b/harbour/contrib/hbqt/qtgui/g/TQDrag.prg deleted file mode 100644 index bba21179c5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDrag.prg +++ /dev/null @@ -1,169 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDrag( ... ) - RETURN HB_QDrag():new( ... ) - -FUNCTION QDragFromPointer( ... ) - RETURN HB_QDrag():fromPointer( ... ) - - -CREATE CLASS QDrag INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QDrag - - METHOD new( ... ) - - METHOD exec // ( nSupportedActions ) -> nQt_DropAction - // ( nSupportedActions, nDefaultDropAction ) -> nQt_DropAction - METHOD hotSpot // ( ) -> oQPoint - METHOD mimeData // ( ) -> oQMimeData - METHOD pixmap // ( ) -> oQPixmap - METHOD setDragCursor // ( oQPixmap, nAction ) -> NIL - METHOD setHotSpot // ( oQPoint ) -> NIL - METHOD setMimeData // ( oQMimeData ) -> NIL - METHOD setPixmap // ( oQPixmap ) -> NIL - METHOD source // ( ) -> oQWidget - METHOD target // ( ) -> oQWidget - - ENDCLASS - - -METHOD QDrag:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDrag( ... ) - RETURN Self - - -METHOD QDrag:exec( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDrag_exec_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDrag_exec( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDrag_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:hotSpot( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QDrag_hotSpot( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:mimeData( ... ) - SWITCH PCount() - CASE 0 - RETURN QMimeDataFromPointer( Qt_QDrag_mimeData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QDrag_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:setDragCursor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QDrag_setDragCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:setHotSpot( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDrag_setHotSpot( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:setMimeData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDrag_setMimeData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:setPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDrag_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:source( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDrag_source( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDrag:target( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDrag_target( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg deleted file mode 100644 index 306cf359f1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDragEnterEvent.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDragEnterEvent( ... ) - RETURN HB_QDragEnterEvent():new( ... ) - -FUNCTION QDragEnterEventFromPointer( ... ) - RETURN HB_QDragEnterEvent():fromPointer( ... ) - - -CREATE CLASS QDragEnterEvent INHERIT HbQtObjectHandler, HB_QDragMoveEvent FUNCTION HB_QDragEnterEvent - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QDragEnterEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDragEnterEvent( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg deleted file mode 100644 index bdd47f7537..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDragLeaveEvent.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDragLeaveEvent( ... ) - RETURN HB_QDragLeaveEvent():new( ... ) - -FUNCTION QDragLeaveEventFromPointer( ... ) - RETURN HB_QDragLeaveEvent():fromPointer( ... ) - - -CREATE CLASS QDragLeaveEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QDragLeaveEvent - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QDragLeaveEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDragLeaveEvent( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg deleted file mode 100644 index 028267c6c9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDragMoveEvent.prg +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDragMoveEvent( ... ) - RETURN HB_QDragMoveEvent():new( ... ) - -FUNCTION QDragMoveEventFromPointer( ... ) - RETURN HB_QDragMoveEvent():fromPointer( ... ) - - -CREATE CLASS QDragMoveEvent INHERIT HbQtObjectHandler, HB_QDropEvent FUNCTION HB_QDragMoveEvent - - METHOD new( ... ) - - METHOD accept // ( oQRect ) -> NIL - // ( ) -> NIL - METHOD answerRect // ( ) -> oQRect - METHOD ignore // ( oQRect ) -> NIL - // ( ) -> NIL - - ENDCLASS - - -METHOD QDragMoveEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDragMoveEvent( ... ) - RETURN Self - - -METHOD QDragMoveEvent:accept( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDragMoveEvent_accept( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDragMoveEvent_accept_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDragMoveEvent:answerRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QDragMoveEvent_answerRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDragMoveEvent:ignore( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QDragMoveEvent_ignore( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QDragMoveEvent_ignore_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg deleted file mode 100644 index d8b110ca8b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQDropEvent.prg +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QDropEvent( ... ) - RETURN HB_QDropEvent():new( ... ) - -FUNCTION QDropEventFromPointer( ... ) - RETURN HB_QDropEvent():fromPointer( ... ) - - -CREATE CLASS QDropEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QDropEvent - - METHOD new( ... ) - - METHOD acceptProposedAction // ( ) -> NIL - METHOD dropAction // ( ) -> nQt_DropAction - METHOD keyboardModifiers // ( ) -> nQt_KeyboardModifiers - METHOD mimeData // ( ) -> oQMimeData - METHOD mouseButtons // ( ) -> nQt_MouseButtons - METHOD pos // ( ) -> oQPoint - METHOD possibleActions // ( ) -> nQt_DropActions - METHOD proposedAction // ( ) -> nQt_DropAction - METHOD setDropAction // ( nAction ) -> NIL - METHOD source // ( ) -> oQWidget - - ENDCLASS - - -METHOD QDropEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QDropEvent( ... ) - RETURN Self - - -METHOD QDropEvent:acceptProposedAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDropEvent_acceptProposedAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:dropAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDropEvent_dropAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:keyboardModifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDropEvent_keyboardModifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:mimeData( ... ) - SWITCH PCount() - CASE 0 - RETURN QMimeDataFromPointer( Qt_QDropEvent_mimeData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:mouseButtons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDropEvent_mouseButtons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QDropEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:possibleActions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDropEvent_possibleActions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:proposedAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QDropEvent_proposedAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:setDropAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QDropEvent_setDropAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QDropEvent:source( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QDropEvent_source( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg b/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg deleted file mode 100644 index c9f6b5e29d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQErrorMessage.prg +++ /dev/null @@ -1,70 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QErrorMessage( ... ) - RETURN HB_QErrorMessage():new( ... ) - -FUNCTION QErrorMessageFromPointer( ... ) - RETURN HB_QErrorMessage():fromPointer( ... ) - - -CREATE CLASS QErrorMessage INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QErrorMessage - - METHOD new( ... ) - - METHOD showMessage // ( cMessage ) -> NIL - // ( cMessage, cType ) -> NIL - - ENDCLASS - - -METHOD QErrorMessage:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QErrorMessage( ... ) - RETURN Self - - -METHOD QErrorMessage:showMessage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QErrorMessage_showMessage_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QErrorMessage_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg deleted file mode 100644 index f9070b0835..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFileDialog.prg +++ /dev/null @@ -1,584 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFileDialog( ... ) - RETURN HB_QFileDialog():new( ... ) - -FUNCTION QFileDialogFromPointer( ... ) - RETURN HB_QFileDialog():fromPointer( ... ) - - -CREATE CLASS QFileDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QFileDialog - - METHOD new( ... ) - - METHOD acceptMode // ( ) -> nAcceptMode - METHOD confirmOverwrite // ( ) -> lBool - METHOD defaultSuffix // ( ) -> cQString - METHOD directory // ( ) -> oQDir - METHOD fileMode // ( ) -> nFileMode - METHOD filter // ( ) -> nQDir_Filters - METHOD history // ( ) -> oQStringList - METHOD iconProvider // ( ) -> oQFileIconProvider - METHOD isNameFilterDetailsVisible // ( ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD itemDelegate // ( ) -> oQAbstractItemDelegate - METHOD labelText // ( nLabel ) -> cQString - METHOD nameFilters // ( ) -> oQStringList - METHOD options // ( ) -> nOptions - METHOD proxyModel // ( ) -> oQAbstractProxyModel - METHOD resolveSymlinks // ( ) -> lBool - METHOD restoreState // ( oQByteArray ) -> lBool - METHOD saveState // ( ) -> oQByteArray - METHOD selectFile // ( cFilename ) -> NIL - METHOD selectNameFilter // ( cFilter ) -> NIL - METHOD selectedFiles // ( ) -> oQStringList - METHOD selectedNameFilter // ( ) -> cQString - METHOD setAcceptMode // ( nMode ) -> NIL - METHOD setConfirmOverwrite // ( lEnabled ) -> NIL - METHOD setDefaultSuffix // ( cSuffix ) -> NIL - METHOD setDirectory // ( cDirectory ) -> NIL - // ( oQDir ) -> NIL - METHOD setFileMode // ( nMode ) -> NIL - METHOD setFilter // ( nFilters ) -> NIL - METHOD setHistory // ( oQStringList ) -> NIL - METHOD setIconProvider // ( oQFileIconProvider ) -> NIL - METHOD setItemDelegate // ( oQAbstractItemDelegate ) -> NIL - METHOD setLabelText // ( nLabel, cText ) -> NIL - METHOD setNameFilter // ( cFilter ) -> NIL - METHOD setNameFilterDetailsVisible // ( lEnabled ) -> NIL - METHOD setNameFilters // ( oQStringList ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD setProxyModel // ( oQAbstractProxyModel ) -> NIL - METHOD setReadOnly // ( lEnabled ) -> NIL - METHOD setResolveSymlinks // ( lEnabled ) -> NIL - METHOD setViewMode // ( nMode ) -> NIL - METHOD sidebarUrls // ( ) -> oQList_QUrl> - METHOD testOption // ( nOption ) -> lBool - METHOD viewMode // ( ) -> nViewMode - METHOD getExistingDirectory // ( oQWidget, cCaption, cDir, nOptions ) -> cQString - - ENDCLASS - - -METHOD QFileDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFileDialog( ... ) - RETURN Self - - -METHOD QFileDialog:acceptMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_acceptMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:confirmOverwrite( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_confirmOverwrite( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:defaultSuffix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_defaultSuffix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:directory( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QFileDialog_directory( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:fileMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_fileMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:filter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_filter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:history( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QFileDialog_history( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:iconProvider( ... ) - SWITCH PCount() - CASE 0 - RETURN QFileIconProviderFromPointer( Qt_QFileDialog_iconProvider( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:isNameFilterDetailsVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_isNameFilterDetailsVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:itemDelegate( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemDelegateFromPointer( Qt_QFileDialog_itemDelegate( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:labelText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_labelText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:nameFilters( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QFileDialog_nameFilters( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:proxyModel( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractProxyModelFromPointer( Qt_QFileDialog_proxyModel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:resolveSymlinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_resolveSymlinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:restoreState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_restoreState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:saveState( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QFileDialog_saveState( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:selectFile( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_selectFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:selectNameFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_selectNameFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:selectedFiles( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QFileDialog_selectedFiles( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:selectedNameFilter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_selectedNameFilter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setAcceptMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setAcceptMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setConfirmOverwrite( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setConfirmOverwrite( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setDefaultSuffix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setDefaultSuffix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setDirectory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setDirectory( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setDirectory_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setFileMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setFileMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setHistory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setHistory( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setIconProvider( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setIconProvider( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setItemDelegate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setItemDelegate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setLabelText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFileDialog_setLabelText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setNameFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setNameFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setNameFilterDetailsVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setNameFilterDetailsVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setNameFilters( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setNameFilters( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QFileDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setProxyModel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setProxyModel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setResolveSymlinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setResolveSymlinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:setViewMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_setViewMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:sidebarUrls( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QFileDialog_sidebarUrls( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:viewMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileDialog_viewMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileDialog:getExistingDirectory( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QFileDialog_getExistingDirectory( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QFileDialog_getExistingDirectory( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFileDialog_getExistingDirectory( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileDialog_getExistingDirectory( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFileDialog_getExistingDirectory( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg b/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg deleted file mode 100644 index 927035ab78..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFileIconProvider.prg +++ /dev/null @@ -1,79 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFileIconProvider( ... ) - RETURN HB_QFileIconProvider():new( ... ) - -FUNCTION QFileIconProviderFromPointer( ... ) - RETURN HB_QFileIconProvider():fromPointer( ... ) - - -CREATE CLASS QFileIconProvider INHERIT HbQtObjectHandler FUNCTION HB_QFileIconProvider - - METHOD new( ... ) - - METHOD icon // ( nType ) -> oQIcon - // ( oQFileInfo ) -> oQIcon - METHOD type // ( oQFileInfo ) -> cQString - - ENDCLASS - - -METHOD QFileIconProvider:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFileIconProvider( ... ) - RETURN Self - - -METHOD QFileIconProvider:icon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QFileIconProvider_icon( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QFileIconProvider_icon_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileIconProvider:type( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileIconProvider_type( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg b/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg deleted file mode 100644 index 5f5bf27c39..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFileSystemModel.prg +++ /dev/null @@ -1,403 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFileSystemModel( ... ) - RETURN HB_QFileSystemModel():new( ... ) - -FUNCTION QFileSystemModelFromPointer( ... ) - RETURN HB_QFileSystemModel():fromPointer( ... ) - - -CREATE CLASS QFileSystemModel INHERIT HbQtObjectHandler, HB_QAbstractItemModel FUNCTION HB_QFileSystemModel - - METHOD new( ... ) - - METHOD dropMimeData // ( oQMimeData, nAction, nRow, nColumn, oQModelIndex ) -> lBool - METHOD fileIcon // ( oQModelIndex ) -> oQIcon - METHOD fileInfo // ( oQModelIndex ) -> oQFileInfo - METHOD fileName // ( oQModelIndex ) -> cQString - METHOD filePath // ( oQModelIndex ) -> cQString - METHOD filter // ( ) -> nQDir_Filters - METHOD index // ( cPath, nColumn ) -> oQModelIndex - METHOD isDir // ( oQModelIndex ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD lastModified // ( oQModelIndex ) -> oQDateTime - METHOD mimeTypes // ( ) -> oQStringList - METHOD mkdir // ( oQModelIndex, cName ) -> oQModelIndex - METHOD myComputer // ( nRole ) -> oQVariant - METHOD nameFilterDisables // ( ) -> lBool - METHOD nameFilters // ( ) -> oQStringList - METHOD permissions // ( oQModelIndex ) -> nQFile_Permissions - METHOD remove // ( oQModelIndex ) -> lBool - METHOD resolveSymlinks // ( ) -> lBool - METHOD rmdir // ( oQModelIndex ) -> lBool - METHOD rootDirectory // ( ) -> oQDir - METHOD rootPath // ( ) -> cQString - METHOD setFilter // ( nFilters ) -> NIL - METHOD setNameFilterDisables // ( lEnable ) -> NIL - METHOD setNameFilters // ( oQStringList ) -> NIL - METHOD setReadOnly // ( lEnable ) -> NIL - METHOD setResolveSymlinks // ( lEnable ) -> NIL - METHOD setRootPath // ( cNewPath ) -> oQModelIndex - METHOD size // ( oQModelIndex ) -> nQint64 - METHOD type // ( oQModelIndex ) -> cQString - - ENDCLASS - - -METHOD QFileSystemModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFileSystemModel( ... ) - RETURN Self - - -METHOD QFileSystemModel:dropMimeData( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) - RETURN Qt_QFileSystemModel_dropMimeData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:fileIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QFileSystemModel_fileIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:fileInfo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QFileInfoFromPointer( Qt_QFileSystemModel_fileInfo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:fileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_fileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:filePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_filePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:filter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileSystemModel_filter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:index( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QFileSystemModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QFileSystemModel_index( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:isDir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_isDir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileSystemModel_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:lastModified( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QDateTimeFromPointer( Qt_QFileSystemModel_lastModified( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:mimeTypes( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QFileSystemModel_mimeTypes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:mkdir( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QModelIndexFromPointer( Qt_QFileSystemModel_mkdir( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:myComputer( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QFileSystemModel_myComputer( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QVariantFromPointer( Qt_QFileSystemModel_myComputer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:nameFilterDisables( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileSystemModel_nameFilterDisables( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:nameFilters( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QFileSystemModel_nameFilters( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:permissions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_permissions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:resolveSymlinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileSystemModel_resolveSymlinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:rmdir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_rmdir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:rootDirectory( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QFileSystemModel_rootDirectory( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:rootPath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFileSystemModel_rootPath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:setFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_setFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:setNameFilterDisables( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_setNameFilterDisables( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:setNameFilters( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_setNameFilters( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:setResolveSymlinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_setResolveSymlinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:setRootPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QFileSystemModel_setRootPath( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:size( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_size( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFileSystemModel:type( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFileSystemModel_type( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg deleted file mode 100644 index 53251676dc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFocusEvent.prg +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFocusEvent( ... ) - RETURN HB_QFocusEvent():new( ... ) - -FUNCTION QFocusEventFromPointer( ... ) - RETURN HB_QFocusEvent():fromPointer( ... ) - - -CREATE CLASS QFocusEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QFocusEvent - - METHOD new( ... ) - - METHOD gotFocus // ( ) -> lBool - METHOD lostFocus // ( ) -> lBool - METHOD reason // ( ) -> nQt_FocusReason - - ENDCLASS - - -METHOD QFocusEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFocusEvent( ... ) - RETURN Self - - -METHOD QFocusEvent:gotFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFocusEvent_gotFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFocusEvent:lostFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFocusEvent_lostFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFocusEvent:reason( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFocusEvent_reason( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg deleted file mode 100644 index bfff9a441f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFocusFrame.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFocusFrame( ... ) - RETURN HB_QFocusFrame():new( ... ) - -FUNCTION QFocusFrameFromPointer( ... ) - RETURN HB_QFocusFrame():fromPointer( ... ) - - -CREATE CLASS QFocusFrame INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QFocusFrame - - METHOD new( ... ) - - METHOD setWidget // ( oQWidget ) -> NIL - METHOD widget // ( ) -> oQWidget - - ENDCLASS - - -METHOD QFocusFrame:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFocusFrame( ... ) - RETURN Self - - -METHOD QFocusFrame:setWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFocusFrame_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFocusFrame:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QFocusFrame_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFont.prg b/harbour/contrib/hbqt/qtgui/g/TQFont.prg deleted file mode 100644 index 563e63ea1b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFont.prg +++ /dev/null @@ -1,686 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFont( ... ) - RETURN HB_QFont():new( ... ) - -FUNCTION QFontFromPointer( ... ) - RETURN HB_QFont():fromPointer( ... ) - - -CREATE CLASS QFont INHERIT HbQtObjectHandler FUNCTION HB_QFont - - METHOD new( ... ) - - METHOD bold // ( ) -> lBool - METHOD capitalization // ( ) -> nCapitalization - METHOD defaultFamily // ( ) -> cQString - METHOD exactMatch // ( ) -> lBool - METHOD family // ( ) -> cQString - METHOD fixedPitch // ( ) -> lBool - METHOD fromString // ( cDescrip ) -> lBool - METHOD italic // ( ) -> lBool - METHOD kerning // ( ) -> lBool - METHOD key // ( ) -> cQString - METHOD lastResortFamily // ( ) -> cQString - METHOD lastResortFont // ( ) -> cQString - METHOD letterSpacing // ( ) -> nQreal - METHOD letterSpacingType // ( ) -> nSpacingType - METHOD overline // ( ) -> lBool - METHOD pixelSize // ( ) -> nInt - METHOD pointSize // ( ) -> nInt - METHOD pointSizeF // ( ) -> nQreal - METHOD rawMode // ( ) -> lBool - METHOD rawName // ( ) -> cQString - METHOD setBold // ( lEnable ) -> NIL - METHOD setCapitalization // ( nCaps ) -> NIL - METHOD setFamily // ( cFamily ) -> NIL - METHOD setFixedPitch // ( lEnable ) -> NIL - METHOD setItalic // ( lEnable ) -> NIL - METHOD setKerning // ( lEnable ) -> NIL - METHOD setLetterSpacing // ( nType, nSpacing ) -> NIL - METHOD setOverline // ( lEnable ) -> NIL - METHOD setPixelSize // ( nPixelSize ) -> NIL - METHOD setPointSize // ( nPointSize ) -> NIL - METHOD setPointSizeF // ( nPointSize ) -> NIL - METHOD setRawMode // ( lEnable ) -> NIL - METHOD setRawName // ( cName ) -> NIL - METHOD setStretch // ( nFactor ) -> NIL - METHOD setStrikeOut // ( lEnable ) -> NIL - METHOD setStyle // ( nStyle ) -> NIL - METHOD setStyleHint // ( nHint, nStrategy ) -> NIL - METHOD setStyleStrategy // ( nS ) -> NIL - METHOD setUnderline // ( lEnable ) -> NIL - METHOD setWeight // ( nWeight ) -> NIL - METHOD setWordSpacing // ( nSpacing ) -> NIL - METHOD stretch // ( ) -> nInt - METHOD strikeOut // ( ) -> lBool - METHOD style // ( ) -> nStyle - METHOD styleHint // ( ) -> nStyleHint - METHOD styleStrategy // ( ) -> nStyleStrategy - METHOD toString // ( ) -> cQString - METHOD underline // ( ) -> lBool - METHOD weight // ( ) -> nInt - METHOD wordSpacing // ( ) -> nQreal - METHOD cleanup // ( ) -> NIL - METHOD initialize // ( ) -> NIL - METHOD insertSubstitution // ( cFamilyName, cSubstituteName ) -> NIL - METHOD insertSubstitutions // ( cFamilyName, oQStringList ) -> NIL - METHOD removeSubstitution // ( cFamilyName ) -> NIL - METHOD substitute // ( cFamilyName ) -> cQString - METHOD substitutes // ( cFamilyName ) -> oQStringList - METHOD substitutions // ( ) -> oQStringList - - ENDCLASS - - -METHOD QFont:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFont( ... ) - RETURN Self - - -METHOD QFont:bold( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_bold( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:capitalization( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_capitalization( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:defaultFamily( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_defaultFamily( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:exactMatch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_exactMatch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:family( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_family( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:fixedPitch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_fixedPitch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:fromString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFont_fromString( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:italic( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_italic( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:kerning( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_kerning( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:key( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_key( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:lastResortFamily( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_lastResortFamily( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:lastResortFont( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_lastResortFont( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:letterSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_letterSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:letterSpacingType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_letterSpacingType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:overline( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_overline( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:pixelSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_pixelSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:pointSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_pointSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:pointSizeF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_pointSizeF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:rawMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_rawMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:rawName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_rawName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setBold( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setBold( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setCapitalization( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setCapitalization( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setFamily( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setFamily( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setFixedPitch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setFixedPitch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setItalic( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setItalic( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setKerning( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setKerning( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setLetterSpacing( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFont_setLetterSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setOverline( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setOverline( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setPixelSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setPixelSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setPointSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setPointSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setPointSizeF( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setPointSizeF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setRawMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setRawMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setRawName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setRawName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setStrikeOut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setStrikeOut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setStyleHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFont_setStyleHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setStyleHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setStyleStrategy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setStyleStrategy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setUnderline( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setUnderline( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setWeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setWeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:setWordSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFont_setWordSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:stretch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_stretch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:strikeOut( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_strikeOut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:styleHint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_styleHint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:styleStrategy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_styleStrategy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:toString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_toString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:underline( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_underline( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:weight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_weight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:wordSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_wordSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:cleanup( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_cleanup( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:initialize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFont_initialize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:insertSubstitution( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFont_insertSubstitution( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:insertSubstitutions( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QFont_insertSubstitutions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:removeSubstitution( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFont_removeSubstitution( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:substitute( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFont_substitute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:substitutes( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QFont_substitutes( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFont:substitutions( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QFont_substitutions( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg b/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg deleted file mode 100644 index 5cdc9cacf6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFontComboBox.prg +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFontComboBox( ... ) - RETURN HB_QFontComboBox():new( ... ) - -FUNCTION QFontComboBoxFromPointer( ... ) - RETURN HB_QFontComboBox():fromPointer( ... ) - - -CREATE CLASS QFontComboBox INHERIT HbQtObjectHandler, HB_QComboBox FUNCTION HB_QFontComboBox - - METHOD new( ... ) - - METHOD currentFont // ( ) -> oQFont - METHOD fontFilters // ( ) -> nFontFilters - METHOD setFontFilters // ( nFilters ) -> NIL - METHOD setWritingSystem // ( nScript ) -> NIL - METHOD writingSystem // ( ) -> nQFontDatabase_WritingSystem - METHOD setCurrentFont // ( oQFont ) -> NIL - - ENDCLASS - - -METHOD QFontComboBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFontComboBox( ... ) - RETURN Self - - -METHOD QFontComboBox:currentFont( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QFontComboBox_currentFont( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontComboBox:fontFilters( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontComboBox_fontFilters( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontComboBox:setFontFilters( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontComboBox_setFontFilters( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontComboBox:setWritingSystem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontComboBox_setWritingSystem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontComboBox:writingSystem( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontComboBox_writingSystem( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontComboBox:setCurrentFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontComboBox_setCurrentFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg b/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg deleted file mode 100644 index 5ef1ab2535..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFontDatabase.prg +++ /dev/null @@ -1,362 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFontDatabase( ... ) - RETURN HB_QFontDatabase():new( ... ) - -FUNCTION QFontDatabaseFromPointer( ... ) - RETURN HB_QFontDatabase():fromPointer( ... ) - - -CREATE CLASS QFontDatabase INHERIT HbQtObjectHandler FUNCTION HB_QFontDatabase - - METHOD new( ... ) - - METHOD bold // ( cFamily, cStyle ) -> lBool - METHOD families // ( nWritingSystem ) -> oQStringList - METHOD font // ( cFamily, cStyle, nPointSize ) -> oQFont - METHOD isBitmapScalable // ( cFamily, cStyle ) -> lBool - METHOD isFixedPitch // ( cFamily, cStyle ) -> lBool - METHOD isScalable // ( cFamily, cStyle ) -> lBool - METHOD isSmoothlyScalable // ( cFamily, cStyle ) -> lBool - METHOD italic // ( cFamily, cStyle ) -> lBool - METHOD pointSizes // ( cFamily, cStyle ) -> oQList_int> - METHOD smoothSizes // ( cFamily, cStyle ) -> oQList_int> - METHOD styleString // ( oQFont ) -> cQString - // ( oQFontInfo ) -> cQString - METHOD styles // ( cFamily ) -> oQStringList - METHOD weight // ( cFamily, cStyle ) -> nInt - METHOD addApplicationFont // ( cFileName ) -> nInt - METHOD addApplicationFontFromData // ( oQByteArray ) -> nInt - METHOD applicationFontFamilies // ( nId ) -> oQStringList - METHOD removeAllApplicationFonts // ( ) -> lBool - METHOD removeApplicationFont // ( nId ) -> lBool - METHOD standardSizes // ( ) -> oQList_int> - METHOD supportsThreadedFontRendering // ( ) -> lBool - METHOD writingSystemName // ( nWritingSystem ) -> cQString - METHOD writingSystemSample // ( nWritingSystem ) -> cQString - - ENDCLASS - - -METHOD QFontDatabase:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFontDatabase( ... ) - RETURN Self - - -METHOD QFontDatabase:bold( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_bold( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:families( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QFontDatabase_families( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QStringListFromPointer( Qt_QFontDatabase_families( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:font( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QFontFromPointer( Qt_QFontDatabase_font( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:isBitmapScalable( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_isBitmapScalable( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_isBitmapScalable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:isFixedPitch( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_isFixedPitch( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_isFixedPitch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:isScalable( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_isScalable( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_isScalable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:isSmoothlyScalable( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_isSmoothlyScalable( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_isSmoothlyScalable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:italic( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_italic( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:pointSizes( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QFontDatabase_pointSizes( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QFontDatabase_pointSizes( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:smoothSizes( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QFontDatabase_smoothSizes( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:styleString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:styles( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QFontDatabase_styles( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:weight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFontDatabase_weight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:addApplicationFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_addApplicationFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:addApplicationFontFromData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_addApplicationFontFromData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:applicationFontFamilies( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QFontDatabase_applicationFontFamilies( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:removeAllApplicationFonts( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontDatabase_removeAllApplicationFonts( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:removeApplicationFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_removeApplicationFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:standardSizes( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QFontDatabase_standardSizes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:supportsThreadedFontRendering( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontDatabase_supportsThreadedFontRendering( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:writingSystemName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_writingSystemName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDatabase:writingSystemSample( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontDatabase_writingSystemSample( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg deleted file mode 100644 index f1e15e6a69..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFontDialog.prg +++ /dev/null @@ -1,186 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFontDialog( ... ) - RETURN HB_QFontDialog():new( ... ) - -FUNCTION QFontDialogFromPointer( ... ) - RETURN HB_QFontDialog():fromPointer( ... ) - - -CREATE CLASS QFontDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QFontDialog - - METHOD new( ... ) - - METHOD currentFont // ( ) -> oQFont - METHOD options // ( ) -> nFontDialogOptions - METHOD selectedFont // ( ) -> oQFont - METHOD setCurrentFont // ( oQFont ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD testOption // ( nOption ) -> lBool - METHOD getFont // ( @lOk, oQFont, oQWidget, cTitle, nOptions ) -> oQFont - // ( @lOk, oQFont, oQWidget, cName ) -> oQFont - // ( @lOk, oQFont, oQWidget, cTitle ) -> oQFont - // ( @lOk, oQFont, oQWidget ) -> oQFont - // ( @lOk, oQWidget ) -> oQFont - - ENDCLASS - - -METHOD QFontDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFontDialog( ... ) - RETURN Self - - -METHOD QFontDialog:currentFont( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QFontDialog_currentFont( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontDialog_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:selectedFont( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QFontDialog_selectedFont( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:setCurrentFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontDialog_setCurrentFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QFontDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontDialog_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFontDialog_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontDialog:getFont( ... ) - SWITCH PCount() - CASE 5 - DO CASE - 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 QFontFromPointer( Qt_QFontDialog_getFont( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) - SWITCH __objGetClsName( hb_pvalue( 2 ) ) + __objGetClsName( hb_pvalue( 3 ) ) - CASE "QFONTQWIDGET" - RETURN QFontFromPointer( Qt_QFontDialog_getFont_1( ::pPtr, ... ) ) - CASE "QFONTQWIDGET" - RETURN QFontFromPointer( Qt_QFontDialog_getFont_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QFontFromPointer( Qt_QFontDialog_getFont_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - SWITCH __objGetClsName( hb_pvalue( 2 ) ) - CASE "QWIDGET" - RETURN QFontFromPointer( Qt_QFontDialog_getFont_4( ::pPtr, ... ) ) - CASE "QFONT" - RETURN QFontFromPointer( Qt_QFontDialog_getFont_3( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QFontDialog_getFont_4( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg b/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg deleted file mode 100644 index e93e83acac..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFontInfo.prg +++ /dev/null @@ -1,158 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFontInfo( ... ) - RETURN HB_QFontInfo():new( ... ) - -FUNCTION QFontInfoFromPointer( ... ) - RETURN HB_QFontInfo():fromPointer( ... ) - - -CREATE CLASS QFontInfo INHERIT HbQtObjectHandler FUNCTION HB_QFontInfo - - METHOD new( ... ) - - METHOD bold // ( ) -> lBool - METHOD exactMatch // ( ) -> lBool - METHOD family // ( ) -> cQString - METHOD fixedPitch // ( ) -> lBool - METHOD italic // ( ) -> lBool - METHOD pixelSize // ( ) -> nInt - METHOD pointSize // ( ) -> nInt - METHOD pointSizeF // ( ) -> nQreal - METHOD rawMode // ( ) -> lBool - METHOD style // ( ) -> nQFont_Style - METHOD styleHint // ( ) -> nQFont_StyleHint - METHOD weight // ( ) -> nInt - - ENDCLASS - - -METHOD QFontInfo:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFontInfo( ... ) - RETURN Self - - -METHOD QFontInfo:bold( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_bold( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:exactMatch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_exactMatch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:family( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_family( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:fixedPitch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_fixedPitch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:italic( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_italic( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:pixelSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_pixelSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:pointSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_pointSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:pointSizeF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_pointSizeF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:rawMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_rawMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:styleHint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_styleHint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontInfo:weight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontInfo_weight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg b/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg deleted file mode 100644 index 844a187ab7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFontMetrics.prg +++ /dev/null @@ -1,348 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFontMetrics( ... ) - RETURN HB_QFontMetrics():new( ... ) - -FUNCTION QFontMetricsFromPointer( ... ) - RETURN HB_QFontMetrics():fromPointer( ... ) - - -CREATE CLASS QFontMetrics INHERIT HbQtObjectHandler FUNCTION HB_QFontMetrics - - METHOD new( ... ) - - METHOD ascent // ( ) -> nInt - METHOD averageCharWidth // ( ) -> nInt - METHOD boundingRect // ( oQChar ) -> oQRect - // ( cText ) -> oQRect - // ( nX, nY, nWidth, nHeight, nFlags, cText, nTabStops, @nTabArray ) -> oQRect - // ( oQRect, nFlags, cText, nTabStops, @nTabArray ) -> oQRect - METHOD descent // ( ) -> nInt - METHOD elidedText // ( cText, nMode, nWidth, nFlags ) -> cQString - METHOD height // ( ) -> nInt - METHOD inFont // ( oQChar ) -> lBool - METHOD leading // ( ) -> nInt - METHOD leftBearing // ( oQChar ) -> nInt - METHOD lineSpacing // ( ) -> nInt - METHOD lineWidth // ( ) -> nInt - METHOD maxWidth // ( ) -> nInt - METHOD minLeftBearing // ( ) -> nInt - METHOD minRightBearing // ( ) -> nInt - METHOD overlinePos // ( ) -> nInt - METHOD rightBearing // ( oQChar ) -> nInt - METHOD size // ( nFlags, cText, nTabStops, @nTabArray ) -> oQSize - METHOD strikeOutPos // ( ) -> nInt - METHOD tightBoundingRect // ( cText ) -> oQRect - METHOD underlinePos // ( ) -> nInt - METHOD width // ( cText, nLen ) -> nInt - // ( oQChar ) -> nInt - METHOD xHeight // ( ) -> nInt - - ENDCLASS - - -METHOD QFontMetrics:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFontMetrics( ... ) - RETURN Self - - -METHOD QFontMetrics:ascent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_ascent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:averageCharWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_averageCharWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:boundingRect( ... ) - SWITCH PCount() - CASE 8 - 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_isNumeric( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect_2( ::pPtr, ... ) ) - ENDCASE - EXIT - 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_isNumeric( hb_pvalue( 7 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect_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_isChar( hb_pvalue( 6 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 5 - DO CASE - 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 QRectFromPointer( Qt_QFontMetrics_boundingRect_3( ::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_isNumeric( hb_pvalue( 4 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_boundingRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:descent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_descent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:elidedText( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QFontMetrics_elidedText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFontMetrics_elidedText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:inFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetrics_inFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:leading( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_leading( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:leftBearing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetrics_leftBearing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:lineSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_lineSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:maxWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_maxWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:minLeftBearing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_minLeftBearing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:minRightBearing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_minRightBearing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:overlinePos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_overlinePos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:rightBearing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetrics_rightBearing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:size( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN QSizeFromPointer( Qt_QFontMetrics_size( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QSizeFromPointer( Qt_QFontMetrics_size( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QSizeFromPointer( Qt_QFontMetrics_size( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:strikeOutPos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_strikeOutPos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:tightBoundingRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QFontMetrics_tightBoundingRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:underlinePos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_underlinePos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:width( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFontMetrics_width( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetrics_width( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetrics_width_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetrics:xHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetrics_xHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg b/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg deleted file mode 100644 index 83f30f12b9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFontMetricsF.prg +++ /dev/null @@ -1,323 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFontMetricsF( ... ) - RETURN HB_QFontMetricsF():new( ... ) - -FUNCTION QFontMetricsFFromPointer( ... ) - RETURN HB_QFontMetricsF():fromPointer( ... ) - - -CREATE CLASS QFontMetricsF INHERIT HbQtObjectHandler FUNCTION HB_QFontMetricsF - - METHOD new( ... ) - - METHOD ascent // ( ) -> nQreal - METHOD averageCharWidth // ( ) -> nQreal - METHOD boundingRect // ( cText ) -> oQRectF - // ( oQChar ) -> oQRectF - // ( oQRectF, nFlags, cText, nTabStops, @nTabArray ) -> oQRectF - METHOD descent // ( ) -> nQreal - METHOD elidedText // ( cText, nMode, nWidth, nFlags ) -> cQString - METHOD height // ( ) -> nQreal - METHOD inFont // ( oQChar ) -> lBool - METHOD leading // ( ) -> nQreal - METHOD leftBearing // ( oQChar ) -> nQreal - METHOD lineSpacing // ( ) -> nQreal - METHOD lineWidth // ( ) -> nQreal - METHOD maxWidth // ( ) -> nQreal - METHOD minLeftBearing // ( ) -> nQreal - METHOD minRightBearing // ( ) -> nQreal - METHOD overlinePos // ( ) -> nQreal - METHOD rightBearing // ( oQChar ) -> nQreal - METHOD size // ( nFlags, cText, nTabStops, @nTabArray ) -> oQSizeF - METHOD strikeOutPos // ( ) -> nQreal - METHOD tightBoundingRect // ( cText ) -> oQRectF - METHOD underlinePos // ( ) -> nQreal - METHOD width // ( cText ) -> nQreal - // ( oQChar ) -> nQreal - METHOD xHeight // ( ) -> nQreal - - ENDCLASS - - -METHOD QFontMetricsF:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFontMetricsF( ... ) - RETURN Self - - -METHOD QFontMetricsF:ascent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_ascent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:averageCharWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_averageCharWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:boundingRect( ... ) - SWITCH PCount() - CASE 5 - DO CASE - 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 QRectFFromPointer( Qt_QFontMetricsF_boundingRect_2( ::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_isNumeric( hb_pvalue( 4 ) ) - RETURN QRectFFromPointer( Qt_QFontMetricsF_boundingRect_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QRectFFromPointer( Qt_QFontMetricsF_boundingRect_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QFontMetricsF_boundingRect( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QFontMetricsF_boundingRect_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:descent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_descent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:elidedText( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QFontMetricsF_elidedText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFontMetricsF_elidedText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:inFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetricsF_inFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:leading( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_leading( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:leftBearing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetricsF_leftBearing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:lineSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_lineSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:maxWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_maxWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:minLeftBearing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_minLeftBearing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:minRightBearing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_minRightBearing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:overlinePos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_overlinePos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:rightBearing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetricsF_rightBearing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:size( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN QSizeFFromPointer( Qt_QFontMetricsF_size( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QSizeFFromPointer( Qt_QFontMetricsF_size( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QSizeFFromPointer( Qt_QFontMetricsF_size( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:strikeOutPos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_strikeOutPos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:tightBoundingRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QFontMetricsF_tightBoundingRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:underlinePos( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_underlinePos( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:width( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetricsF_width( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFontMetricsF_width_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFontMetricsF:xHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFontMetricsF_xHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg deleted file mode 100644 index d4703c30ab..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFormLayout.prg +++ /dev/null @@ -1,387 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFormLayout( ... ) - RETURN HB_QFormLayout():new( ... ) - -FUNCTION QFormLayoutFromPointer( ... ) - RETURN HB_QFormLayout():fromPointer( ... ) - - -CREATE CLASS QFormLayout INHERIT HbQtObjectHandler, HB_QLayout FUNCTION HB_QFormLayout - - METHOD new( ... ) - - METHOD addRow // ( oQWidget, oQWidget ) -> NIL - // ( oQWidget ) -> NIL - // ( cLabelText, oQWidget ) -> NIL - METHOD fieldGrowthPolicy // ( ) -> nFieldGrowthPolicy - METHOD formAlignment // ( ) -> nQt_Alignment - METHOD getItemPosition // ( nIndex, @nRowPtr, @nRolePtr ) -> NIL - METHOD getLayoutPosition // ( oQLayout, @nRowPtr, @nRolePtr ) -> NIL - METHOD getWidgetPosition // ( oQWidget, @nRowPtr, @nRolePtr ) -> NIL - METHOD horizontalSpacing // ( ) -> nInt - METHOD insertRow // ( nRow, oQWidget, oQWidget ) -> NIL - // ( nRow, oQWidget, oQLayout ) -> NIL - // ( nRow, oQWidget ) -> NIL - // ( nRow, cLabelText, oQWidget ) -> NIL - // ( nRow, cLabelText, oQLayout ) -> NIL - // ( nRow, oQLayout ) -> NIL - METHOD itemAt // ( nRow, nRole ) -> oQLayoutItem - METHOD labelAlignment // ( ) -> nQt_Alignment - METHOD labelForField // ( oQWidget ) -> oQWidget - // ( oQLayout ) -> oQWidget - METHOD rowCount // ( ) -> nInt - METHOD rowWrapPolicy // ( ) -> nRowWrapPolicy - METHOD setFieldGrowthPolicy // ( nPolicy ) -> NIL - METHOD setFormAlignment // ( nAlignment ) -> NIL - METHOD setHorizontalSpacing // ( nSpacing ) -> NIL - METHOD setItem // ( nRow, nRole, oQLayoutItem ) -> NIL - METHOD setLabelAlignment // ( nAlignment ) -> NIL - METHOD setLayout // ( nRow, nRole, oQLayout ) -> NIL - METHOD setRowWrapPolicy // ( nPolicy ) -> NIL - METHOD setSpacing // ( nSpacing ) -> NIL - METHOD setVerticalSpacing // ( nSpacing ) -> NIL - METHOD setWidget // ( nRow, nRole, oQWidget ) -> NIL - METHOD spacing // ( ) -> nInt - METHOD verticalSpacing // ( ) -> nInt - - ENDCLASS - - -METHOD QFormLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFormLayout( ... ) - RETURN Self - - -METHOD QFormLayout:addRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QFormLayout_addRow_2( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QFormLayout_addRow( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_addRow_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:fieldGrowthPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_fieldGrowthPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:formAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_formAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:getItemPosition( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFormLayout_getItemPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:getLayoutPosition( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFormLayout_getLayoutPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:getWidgetPosition( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFormLayout_getWidgetPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:horizontalSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_horizontalSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:insertRow( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - SWITCH __objGetClsName( hb_pvalue( 3 ) ) - CASE "QLAYOUT" - RETURN Qt_QFormLayout_insertRow_4( ::pPtr, ... ) - CASE "QWIDGET" - 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 ) ) + __objGetClsName( hb_pvalue( 3 ) ) - CASE "QWIDGETQLAYOUT" - RETURN Qt_QFormLayout_insertRow_1( ::pPtr, ... ) - CASE "QWIDGETQWIDGET" - RETURN Qt_QFormLayout_insertRow( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - CASE 2 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QLayoutItemFromPointer( Qt_QFormLayout_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:labelAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_labelAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:labelForField( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QWIDGET" - RETURN QWidgetFromPointer( Qt_QFormLayout_labelForField( ::pPtr, ... ) ) - CASE "QLAYOUT" - RETURN QWidgetFromPointer( Qt_QFormLayout_labelForField_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:rowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:rowWrapPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_rowWrapPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setFieldGrowthPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setFieldGrowthPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setFormAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setFormAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setHorizontalSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setHorizontalSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setItem( ... ) - 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_QFormLayout_setItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setLabelAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setLabelAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setLayout( ... ) - 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_QFormLayout_setLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setRowWrapPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setRowWrapPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setVerticalSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFormLayout_setVerticalSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:setWidget( ... ) - 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_QFormLayout_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:spacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_spacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFormLayout:verticalSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFormLayout_verticalSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQFrame.prg deleted file mode 100644 index 5c2d2605b4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQFrame.prg +++ /dev/null @@ -1,191 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QFrame( ... ) - RETURN HB_QFrame():new( ... ) - -FUNCTION QFrameFromPointer( ... ) - RETURN HB_QFrame():fromPointer( ... ) - - -CREATE CLASS QFrame INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QFrame - - METHOD new( ... ) - - METHOD frameRect // ( ) -> oQRect - METHOD frameShadow // ( ) -> nShadow - METHOD frameShape // ( ) -> nShape - METHOD frameStyle // ( ) -> nInt - METHOD frameWidth // ( ) -> nInt - METHOD lineWidth // ( ) -> nInt - METHOD midLineWidth // ( ) -> nInt - METHOD setFrameRect // ( oQRect ) -> NIL - METHOD setFrameShadow // ( nShadow ) -> NIL - METHOD setFrameShape // ( nShape ) -> NIL - METHOD setFrameStyle // ( nStyle ) -> NIL - METHOD setLineWidth // ( nInt ) -> NIL - METHOD setMidLineWidth // ( nInt ) -> NIL - - ENDCLASS - - -METHOD QFrame:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFrame( ... ) - RETURN Self - - -METHOD QFrame:frameRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QFrame_frameRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:frameShadow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFrame_frameShadow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:frameShape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFrame_frameShape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:frameStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFrame_frameStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:frameWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFrame_frameWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFrame_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:midLineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFrame_midLineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:setFrameRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QFrame_setFrameRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:setFrameShadow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFrame_setFrameShadow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:setFrameShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFrame_setFrameShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:setFrameStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFrame_setFrameStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:setLineWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFrame_setLineWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFrame:setMidLineWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFrame_setMidLineWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQGradient.prg deleted file mode 100644 index 2efbf21108..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGradient.prg +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGradient( ... ) - RETURN HB_QGradient():new( ... ) - -FUNCTION QGradientFromPointer( ... ) - RETURN HB_QGradient():fromPointer( ... ) - - -CREATE CLASS QGradient INHERIT HbQtObjectHandler FUNCTION HB_QGradient - - METHOD new( ... ) - - METHOD coordinateMode // ( ) -> nCoordinateMode - METHOD setColorAt // ( nPosition, oQColor ) -> NIL - METHOD setCoordinateMode // ( nMode ) -> NIL - METHOD setSpread // ( nMethod ) -> NIL - METHOD spread // ( ) -> nSpread - METHOD type // ( ) -> nType - - ENDCLASS - - -METHOD QGradient:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGradient( ... ) - RETURN Self - - -METHOD QGradient:coordinateMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGradient_coordinateMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGradient:setColorAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGradient_setColorAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGradient:setCoordinateMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGradient_setCoordinateMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGradient:setSpread( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGradient_setSpread( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGradient:spread( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGradient_spread( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGradient:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGradient_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg deleted file mode 100644 index 9d17efe2a1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsEllipseItem.prg +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsEllipseItem( ... ) - RETURN HB_QGraphicsEllipseItem():new( ... ) - -FUNCTION QGraphicsEllipseItemFromPointer( ... ) - RETURN HB_QGraphicsEllipseItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsEllipseItem INHERIT HbQtObjectHandler, HB_QAbstractGraphicsShapeItem FUNCTION HB_QGraphicsEllipseItem - - METHOD new( ... ) - - METHOD rect // ( ) -> oQRectF - METHOD setRect // ( oQRectF ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD setSpanAngle // ( nAngle ) -> NIL - METHOD setStartAngle // ( nAngle ) -> NIL - METHOD spanAngle // ( ) -> nInt - METHOD startAngle // ( ) -> nInt - - ENDCLASS - - -METHOD QGraphicsEllipseItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsEllipseItem( ... ) - RETURN Self - - -METHOD QGraphicsEllipseItem:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsEllipseItem_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsEllipseItem:setRect( ... ) - 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_QGraphicsEllipseItem_setRect_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsEllipseItem_setRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsEllipseItem:setSpanAngle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsEllipseItem_setSpanAngle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsEllipseItem:setStartAngle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsEllipseItem_setStartAngle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsEllipseItem:spanAngle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsEllipseItem_spanAngle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsEllipseItem:startAngle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsEllipseItem_startAngle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg deleted file mode 100644 index 13fd2b25c1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsGridLayout.prg +++ /dev/null @@ -1,576 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsGridLayout( ... ) - RETURN HB_QGraphicsGridLayout():new( ... ) - -FUNCTION QGraphicsGridLayoutFromPointer( ... ) - RETURN HB_QGraphicsGridLayout():fromPointer( ... ) - - -CREATE CLASS QGraphicsGridLayout INHERIT HbQtObjectHandler, HB_QGraphicsLayout FUNCTION HB_QGraphicsGridLayout - - METHOD new( ... ) - - METHOD addItem // ( oQGraphicsLayoutItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - // ( oQGraphicsLayoutItem, nRow, nColumn, nAlignment ) -> NIL - METHOD alignment // ( oQGraphicsLayoutItem ) -> nQt_Alignment - METHOD columnAlignment // ( nColumn ) -> nQt_Alignment - METHOD columnCount // ( ) -> nInt - METHOD columnMaximumWidth // ( nColumn ) -> nQreal - METHOD columnMinimumWidth // ( nColumn ) -> nQreal - METHOD columnPreferredWidth // ( nColumn ) -> nQreal - METHOD columnSpacing // ( nColumn ) -> nQreal - METHOD columnStretchFactor // ( nColumn ) -> nInt - METHOD count // ( ) -> nInt - METHOD horizontalSpacing // ( ) -> nQreal - METHOD itemAt // ( nRow, nColumn ) -> oQGraphicsLayoutItem - // ( nIndex ) -> oQGraphicsLayoutItem - METHOD removeAt // ( nIndex ) -> NIL - METHOD rowAlignment // ( nRow ) -> nQt_Alignment - METHOD rowCount // ( ) -> nInt - METHOD rowMaximumHeight // ( nRow ) -> nQreal - METHOD rowMinimumHeight // ( nRow ) -> nQreal - METHOD rowPreferredHeight // ( nRow ) -> nQreal - METHOD rowSpacing // ( nRow ) -> nQreal - METHOD rowStretchFactor // ( nRow ) -> nInt - METHOD setAlignment // ( oQGraphicsLayoutItem, nAlignment ) -> NIL - METHOD setColumnAlignment // ( nColumn, nAlignment ) -> NIL - METHOD setColumnFixedWidth // ( nColumn, nWidth ) -> NIL - METHOD setColumnMaximumWidth // ( nColumn, nWidth ) -> NIL - METHOD setColumnMinimumWidth // ( nColumn, nWidth ) -> NIL - METHOD setColumnPreferredWidth // ( nColumn, nWidth ) -> NIL - METHOD setColumnSpacing // ( nColumn, nSpacing ) -> NIL - METHOD setColumnStretchFactor // ( nColumn, nStretch ) -> NIL - METHOD setGeometry // ( oQRectF ) -> NIL - METHOD setHorizontalSpacing // ( nSpacing ) -> NIL - METHOD setRowAlignment // ( nRow, nAlignment ) -> NIL - METHOD setRowFixedHeight // ( nRow, nHeight ) -> NIL - METHOD setRowMaximumHeight // ( nRow, nHeight ) -> NIL - METHOD setRowMinimumHeight // ( nRow, nHeight ) -> NIL - METHOD setRowPreferredHeight // ( nRow, nHeight ) -> NIL - METHOD setRowSpacing // ( nRow, nSpacing ) -> NIL - METHOD setRowStretchFactor // ( nRow, nStretch ) -> NIL - METHOD setSpacing // ( nSpacing ) -> NIL - METHOD setVerticalSpacing // ( nSpacing ) -> NIL - METHOD verticalSpacing // ( ) -> nQreal - - ENDCLASS - - -METHOD QGraphicsGridLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsGridLayout( ... ) - RETURN Self - - -METHOD QGraphicsGridLayout:addItem( ... ) - SWITCH PCount() - CASE 6 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QGraphicsGridLayout_addItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QGraphicsGridLayout_addItem( ::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 ) ) - RETURN Qt_QGraphicsGridLayout_addItem_1( ::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 ) ) - RETURN Qt_QGraphicsGridLayout_addItem_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:alignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_alignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_columnAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsGridLayout_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnMaximumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_columnMaximumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnMinimumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_columnMinimumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnPreferredWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_columnPreferredWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_columnSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:columnStretchFactor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_columnStretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsGridLayout_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:horizontalSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsGridLayout_horizontalSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QGraphicsLayoutItemFromPointer( Qt_QGraphicsGridLayout_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QGraphicsLayoutItemFromPointer( Qt_QGraphicsGridLayout_itemAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:removeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_removeAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_rowAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsGridLayout_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowMaximumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_rowMaximumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowMinimumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_rowMinimumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowPreferredHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_rowPreferredHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_rowSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:rowStretchFactor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_rowStretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnFixedWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnFixedWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnMaximumWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnMaximumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnMinimumWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnMinimumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnPreferredWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnPreferredWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnSpacing( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setColumnStretchFactor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setColumnStretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setHorizontalSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_setHorizontalSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowFixedHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowFixedHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowMaximumHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowMaximumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowMinimumHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowMinimumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowPreferredHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowPreferredHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowSpacing( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setRowStretchFactor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsGridLayout_setRowStretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:setVerticalSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsGridLayout_setVerticalSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsGridLayout:verticalSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsGridLayout_verticalSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg deleted file mode 100644 index 95269a8533..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItem.prg +++ /dev/null @@ -1,1572 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsItem( ... ) - RETURN HB_QGraphicsItem():new( ... ) - -FUNCTION QGraphicsItemFromPointer( ... ) - RETURN HB_QGraphicsItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsItem INHERIT HbQtObjectHandler FUNCTION HB_QGraphicsItem - - METHOD new( ... ) - - METHOD acceptDrops // ( ) -> lBool - METHOD acceptHoverEvents // ( ) -> lBool - METHOD acceptedMouseButtons // ( ) -> nQt_MouseButtons - METHOD advance // ( nPhase ) -> NIL - METHOD boundingRect // ( ) -> oQRectF - METHOD boundingRegion // ( oQTransform ) -> oQRegion - METHOD boundingRegionGranularity // ( ) -> nQreal - METHOD cacheMode // ( ) -> nCacheMode - METHOD childItems // ( ) -> oQList_QGraphicsItem - METHOD childrenBoundingRect // ( ) -> oQRectF - METHOD clearFocus // ( ) -> NIL - METHOD clipPath // ( ) -> oQPainterPath - METHOD collidesWithItem // ( oQGraphicsItem, nMode ) -> lBool - METHOD collidesWithPath // ( oQPainterPath, nMode ) -> lBool - METHOD collidingItems // ( nMode ) -> oQList_QGraphicsItem - METHOD commonAncestorItem // ( oQGraphicsItem ) -> oQGraphicsItem - METHOD contains // ( oQPointF ) -> lBool - METHOD cursor // ( ) -> oQCursor - METHOD data // ( nKey ) -> oQVariant - METHOD deviceTransform // ( oQTransform ) -> oQTransform - METHOD effectiveOpacity // ( ) -> nQreal - METHOD ensureVisible // ( oQRectF, nXmargin, nYmargin ) -> NIL - // ( nX, nY, nW, nH, nXmargin, nYmargin ) -> NIL - METHOD flags // ( ) -> nGraphicsItemFlags - METHOD grabKeyboard // ( ) -> NIL - METHOD grabMouse // ( ) -> NIL - METHOD group // ( ) -> oQGraphicsItemGroup - METHOD handlesChildEvents // ( ) -> lBool - METHOD hasCursor // ( ) -> lBool - METHOD hasFocus // ( ) -> lBool - METHOD hide // ( ) -> NIL - METHOD installSceneEventFilter // ( oQGraphicsItem ) -> NIL - METHOD isAncestorOf // ( oQGraphicsItem ) -> lBool - METHOD isClipped // ( ) -> lBool - METHOD isEnabled // ( ) -> lBool - METHOD isObscured // ( ) -> lBool - // ( nX, nY, nW, nH ) -> lBool - // ( oQRectF ) -> lBool - METHOD isObscuredBy // ( oQGraphicsItem ) -> lBool - METHOD isSelected // ( ) -> lBool - METHOD isUnderMouse // ( ) -> lBool - METHOD isVisible // ( ) -> lBool - METHOD isVisibleTo // ( oQGraphicsItem ) -> lBool - METHOD isWidget // ( ) -> lBool - METHOD isWindow // ( ) -> lBool - METHOD itemTransform // ( oQGraphicsItem, @lOk ) -> oQTransform - METHOD mapFromItem // ( oQGraphicsItem, oQPointF ) -> oQPointF - // ( oQGraphicsItem, oQRectF ) -> oQPolygonF - // ( oQGraphicsItem, oQPolygonF ) -> oQPolygonF - // ( oQGraphicsItem, oQPainterPath ) -> oQPainterPath - // ( oQGraphicsItem, nX, nY, nW, nH ) -> oQPolygonF - // ( oQGraphicsItem, nX, nY ) -> oQPointF - METHOD mapFromParent // ( oQPointF ) -> oQPointF - // ( oQRectF ) -> oQPolygonF - // ( oQPolygonF ) -> oQPolygonF - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY, nW, nH ) -> oQPolygonF - // ( nX, nY ) -> oQPointF - METHOD mapFromScene // ( oQPointF ) -> oQPointF - // ( oQRectF ) -> oQPolygonF - // ( oQPolygonF ) -> oQPolygonF - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY, nW, nH ) -> oQPolygonF - // ( nX, nY ) -> oQPointF - METHOD mapRectFromItem // ( oQGraphicsItem, oQRectF ) -> oQRectF - // ( oQGraphicsItem, nX, nY, nW, nH ) -> oQRectF - METHOD mapRectFromParent // ( oQRectF ) -> oQRectF - // ( nX, nY, nW, nH ) -> oQRectF - METHOD mapRectFromScene // ( oQRectF ) -> oQRectF - // ( nX, nY, nW, nH ) -> oQRectF - METHOD mapRectToItem // ( oQGraphicsItem, oQRectF ) -> oQRectF - // ( oQGraphicsItem, nX, nY, nW, nH ) -> oQRectF - METHOD mapRectToParent // ( oQRectF ) -> oQRectF - // ( nX, nY, nW, nH ) -> oQRectF - METHOD mapRectToScene // ( oQRectF ) -> oQRectF - // ( nX, nY, nW, nH ) -> oQRectF - METHOD mapToItem // ( oQGraphicsItem, oQPointF ) -> oQPointF - // ( oQGraphicsItem, oQRectF ) -> oQPolygonF - // ( oQGraphicsItem, oQPolygonF ) -> oQPolygonF - // ( oQGraphicsItem, oQPainterPath ) -> oQPainterPath - // ( oQGraphicsItem, nX, nY, nW, nH ) -> oQPolygonF - // ( oQGraphicsItem, nX, nY ) -> oQPointF - METHOD mapToParent // ( oQPointF ) -> oQPointF - // ( oQRectF ) -> oQPolygonF - // ( oQPolygonF ) -> oQPolygonF - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY, nW, nH ) -> oQPolygonF - // ( nX, nY ) -> oQPointF - METHOD mapToScene // ( oQPointF ) -> oQPointF - // ( oQRectF ) -> oQPolygonF - // ( oQPolygonF ) -> oQPolygonF - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY, nW, nH ) -> oQPolygonF - // ( nX, nY ) -> oQPointF - METHOD moveBy // ( nDx, nDy ) -> NIL - METHOD opacity // ( ) -> nQreal - METHOD opaqueArea // ( ) -> oQPainterPath - METHOD paint // ( oQPainter, oQStyleOptionGraphicsItem, oQWidget ) -> NIL - METHOD parentItem // ( ) -> oQGraphicsItem - METHOD parentWidget // ( ) -> oQGraphicsWidget - METHOD pos // ( ) -> oQPointF - METHOD removeSceneEventFilter // ( oQGraphicsItem ) -> NIL - METHOD resetTransform // ( ) -> NIL - METHOD rotate // ( nAngle ) -> NIL - METHOD scale // ( nSx, nSy ) -> NIL - METHOD scene // ( ) -> oQGraphicsScene - METHOD sceneBoundingRect // ( ) -> oQRectF - METHOD scenePos // ( ) -> oQPointF - METHOD sceneTransform // ( ) -> oQTransform - METHOD scroll // ( nDx, nDy, oQRectF ) -> NIL - METHOD setAcceptDrops // ( lOn ) -> NIL - METHOD setAcceptHoverEvents // ( lEnabled ) -> NIL - METHOD setAcceptedMouseButtons // ( nButtons ) -> NIL - METHOD setBoundingRegionGranularity // ( nGranularity ) -> NIL - METHOD setCacheMode // ( nMode, oQSize ) -> NIL - METHOD setCursor // ( oQCursor ) -> NIL - METHOD setData // ( nKey, oQVariant ) -> NIL - METHOD setEnabled // ( lEnabled ) -> NIL - METHOD setFlag // ( nFlag, lEnabled ) -> NIL - METHOD setFlags // ( nFlags ) -> NIL - METHOD setFocus // ( nFocusReason ) -> NIL - METHOD setGroup // ( oQGraphicsItemGroup ) -> NIL - METHOD setHandlesChildEvents // ( lEnabled ) -> NIL - METHOD setOpacity // ( nOpacity ) -> NIL - METHOD setParentItem // ( oQGraphicsItem ) -> NIL - METHOD setPos // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD setSelected // ( lSelected ) -> NIL - METHOD setToolTip // ( cToolTip ) -> NIL - METHOD setTransform // ( oQTransform, lCombine ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD setZValue // ( nZ ) -> NIL - METHOD shape // ( ) -> oQPainterPath - METHOD shear // ( nSh, nSv ) -> NIL - METHOD show // ( ) -> NIL - METHOD toolTip // ( ) -> cQString - METHOD topLevelItem // ( ) -> oQGraphicsItem - METHOD topLevelWidget // ( ) -> oQGraphicsWidget - METHOD transform // ( ) -> oQTransform - METHOD translate // ( nDx, nDy ) -> NIL - METHOD type // ( ) -> nInt - METHOD ungrabKeyboard // ( ) -> NIL - METHOD ungrabMouse // ( ) -> NIL - METHOD unsetCursor // ( ) -> NIL - METHOD update // ( oQRectF ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD window // ( ) -> oQGraphicsWidget - METHOD x // ( ) -> nQreal - METHOD y // ( ) -> nQreal - METHOD zValue // ( ) -> nQreal - - ENDCLASS - - -METHOD QGraphicsItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsItem( ... ) - RETURN Self - - -METHOD QGraphicsItem:acceptDrops( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_acceptDrops( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:acceptHoverEvents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_acceptHoverEvents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:acceptedMouseButtons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_acceptedMouseButtons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:advance( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_advance( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsItem_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:boundingRegion( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRegionFromPointer( Qt_QGraphicsItem_boundingRegion( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:boundingRegionGranularity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_boundingRegionGranularity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:cacheMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_cacheMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:childItems( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsItem_childItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:childrenBoundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsItem_childrenBoundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:clearFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_clearFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:clipPath( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_clipPath( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:collidesWithItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_collidesWithItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_collidesWithItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:collidesWithPath( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_collidesWithPath( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_collidesWithPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:collidingItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QGraphicsItem_collidingItems( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsItem_collidingItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:commonAncestorItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsItemFromPointer( Qt_QGraphicsItem_commonAncestorItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:contains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_contains( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:cursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QCursorFromPointer( Qt_QGraphicsItem_cursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:data( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QGraphicsItem_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:deviceTransform( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTransformFromPointer( Qt_QGraphicsItem_deviceTransform( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:effectiveOpacity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_effectiveOpacity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:ensureVisible( ... ) - 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_QGraphicsItem_ensureVisible_1( ::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_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QGraphicsItem_ensureVisible_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_QGraphicsItem_ensureVisible_1( ::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 ) ) - RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:grabKeyboard( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_grabKeyboard( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:grabMouse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_grabMouse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:group( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemGroupFromPointer( Qt_QGraphicsItem_group( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:handlesChildEvents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_handlesChildEvents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:hasCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_hasCursor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:hasFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_hasFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:hide( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_hide( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:installSceneEventFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_installSceneEventFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isAncestorOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_isAncestorOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isClipped( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isClipped( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isObscured( ... ) - 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_QGraphicsItem_isObscured_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_isObscured_2( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsItem_isObscured( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isObscuredBy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_isObscuredBy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isSelected( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isSelected( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isUnderMouse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isUnderMouse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isVisibleTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_isVisibleTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isWidget( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:isWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_isWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:itemTransform( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QGraphicsItem_itemTransform( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTransformFromPointer( Qt_QGraphicsItem_itemTransform( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapFromItem( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromItem_4( ::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 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapFromItem_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QGRAPHICSITEMQPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_mapFromItem_3( ::pPtr, ... ) ) - CASE "QGRAPHICSITEMQPOINTF" - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapFromItem( ::pPtr, ... ) ) - CASE "QGRAPHICSITEMQRECTF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromItem_1( ::pPtr, ... ) ) - CASE "QGRAPHICSITEMQPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromItem_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapFromParent( ... ) - 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 QPolygonFFromPointer( Qt_QGraphicsItem_mapFromParent_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapFromParent_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_mapFromParent_3( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapFromParent( ::pPtr, ... ) ) - CASE "QRECTF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromParent_1( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromParent_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapFromScene( ... ) - 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 QPolygonFFromPointer( Qt_QGraphicsItem_mapFromScene_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapFromScene_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_mapFromScene_3( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapFromScene( ::pPtr, ... ) ) - CASE "QRECTF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromScene_1( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapFromScene_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapRectFromItem( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectFromItem_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectFromItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapRectFromParent( ... ) - 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 QRectFFromPointer( Qt_QGraphicsItem_mapRectFromParent_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectFromParent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapRectFromScene( ... ) - 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 QRectFFromPointer( Qt_QGraphicsItem_mapRectFromScene_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectFromScene( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapRectToItem( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectToItem_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectToItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapRectToParent( ... ) - 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 QRectFFromPointer( Qt_QGraphicsItem_mapRectToParent_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectToParent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapRectToScene( ... ) - 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 QRectFFromPointer( Qt_QGraphicsItem_mapRectToScene_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsItem_mapRectToScene( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapToItem( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToItem_4( ::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 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapToItem_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QGRAPHICSITEMQPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_mapToItem_3( ::pPtr, ... ) ) - CASE "QGRAPHICSITEMQPOINTF" - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapToItem( ::pPtr, ... ) ) - CASE "QGRAPHICSITEMQRECTF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToItem_1( ::pPtr, ... ) ) - CASE "QGRAPHICSITEMQPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToItem_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapToParent( ... ) - 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 QPolygonFFromPointer( Qt_QGraphicsItem_mapToParent_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapToParent_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_mapToParent_3( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapToParent( ::pPtr, ... ) ) - CASE "QRECTF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToParent_1( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToParent_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:mapToScene( ... ) - 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 QPolygonFFromPointer( Qt_QGraphicsItem_mapToScene_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapToScene_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_mapToScene_3( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QPointFFromPointer( Qt_QGraphicsItem_mapToScene( ::pPtr, ... ) ) - CASE "QRECTF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToScene_1( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QGraphicsItem_mapToScene_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:moveBy( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_moveBy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:opacity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_opacity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:opaqueArea( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_opaqueArea( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:paint( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QGraphicsItem_paint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_paint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:parentItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemFromPointer( Qt_QGraphicsItem_parentItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:parentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsWidgetFromPointer( Qt_QGraphicsItem_parentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsItem_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:removeSceneEventFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_removeSceneEventFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:resetTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_resetTransform( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:rotate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_rotate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:scale( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_scale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:scene( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsSceneFromPointer( Qt_QGraphicsItem_scene( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:sceneBoundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsItem_sceneBoundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsItem_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:sceneTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QGraphicsItem_sceneTransform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:scroll( ... ) - 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_QGraphicsItem_scroll( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_scroll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setAcceptDrops( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setAcceptDrops( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setAcceptHoverEvents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setAcceptHoverEvents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setAcceptedMouseButtons( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setAcceptedMouseButtons( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setBoundingRegionGranularity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setBoundingRegionGranularity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setCacheMode( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_setCacheMode( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setCacheMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setFlag( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_setFlag( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setFlag( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setFocus( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsItem_setFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setHandlesChildEvents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setHandlesChildEvents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setOpacity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setOpacity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setParentItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setParentItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setPos( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_setPos_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setPos( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setTransform( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:setZValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_setZValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:shape( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QGraphicsItem_shape( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:shear( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_shear( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:show( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_show( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:topLevelItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemFromPointer( Qt_QGraphicsItem_topLevelItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:topLevelWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsWidgetFromPointer( Qt_QGraphicsItem_topLevelWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:transform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QGraphicsItem_transform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItem_translate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:ungrabKeyboard( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_ungrabKeyboard( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:ungrabMouse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_ungrabMouse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:unsetCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_unsetCursor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:update( ... ) - 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_QGraphicsItem_update_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItem_update( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsItem_update( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:window( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsWidgetFromPointer( Qt_QGraphicsItem_window( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItem:zValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItem_zValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg deleted file mode 100644 index e73aefaaa6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemAnimation.prg +++ /dev/null @@ -1,298 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsItemAnimation( ... ) - RETURN HB_QGraphicsItemAnimation():new( ... ) - -FUNCTION QGraphicsItemAnimationFromPointer( ... ) - RETURN HB_QGraphicsItemAnimation():fromPointer( ... ) - - -CREATE CLASS QGraphicsItemAnimation INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QGraphicsItemAnimation - - METHOD new( ... ) - - METHOD clear // ( ) -> NIL - METHOD horizontalScaleAt // ( nStep ) -> nQreal - METHOD horizontalShearAt // ( nStep ) -> nQreal - METHOD item // ( ) -> oQGraphicsItem - METHOD matrixAt // ( nStep ) -> oQMatrix - METHOD posAt // ( nStep ) -> oQPointF - METHOD rotationAt // ( nStep ) -> nQreal - METHOD setItem // ( oQGraphicsItem ) -> NIL - METHOD setPosAt // ( nStep, oQPointF ) -> NIL - METHOD setRotationAt // ( nStep, nAngle ) -> NIL - METHOD setScaleAt // ( nStep, nSx, nSy ) -> NIL - METHOD setShearAt // ( nStep, nSh, nSv ) -> NIL - METHOD setTimeLine // ( oQTimeLine ) -> NIL - METHOD setTranslationAt // ( nStep, nDx, nDy ) -> NIL - METHOD timeLine // ( ) -> oQTimeLine - METHOD verticalScaleAt // ( nStep ) -> nQreal - METHOD verticalShearAt // ( nStep ) -> nQreal - METHOD xTranslationAt // ( nStep ) -> nQreal - METHOD yTranslationAt // ( nStep ) -> nQreal - METHOD setStep // ( nStep ) -> NIL - - ENDCLASS - - -METHOD QGraphicsItemAnimation:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsItemAnimation( ... ) - RETURN Self - - -METHOD QGraphicsItemAnimation:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsItemAnimation_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:horizontalScaleAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_horizontalScaleAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:horizontalShearAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_horizontalShearAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:item( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemFromPointer( Qt_QGraphicsItemAnimation_item( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:matrixAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMatrixFromPointer( Qt_QGraphicsItemAnimation_matrixAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:posAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsItemAnimation_posAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:rotationAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_rotationAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_setItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setPosAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItemAnimation_setPosAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setRotationAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsItemAnimation_setRotationAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setScaleAt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QGraphicsItemAnimation_setScaleAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setShearAt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QGraphicsItemAnimation_setShearAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setTimeLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_setTimeLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setTranslationAt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QGraphicsItemAnimation_setTranslationAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:timeLine( ... ) - SWITCH PCount() - CASE 0 - RETURN QTimeLineFromPointer( Qt_QGraphicsItemAnimation_timeLine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:verticalScaleAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_verticalScaleAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:verticalShearAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_verticalShearAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:xTranslationAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_xTranslationAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:yTranslationAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_yTranslationAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemAnimation:setStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemAnimation_setStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg deleted file mode 100644 index e6d2d05c8f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsItemGroup.prg +++ /dev/null @@ -1,76 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsItemGroup( ... ) - RETURN HB_QGraphicsItemGroup():new( ... ) - -FUNCTION QGraphicsItemGroupFromPointer( ... ) - RETURN HB_QGraphicsItemGroup():fromPointer( ... ) - - -CREATE CLASS QGraphicsItemGroup INHERIT HbQtObjectHandler, HB_QGraphicsItem FUNCTION HB_QGraphicsItemGroup - - METHOD new( ... ) - - METHOD addToGroup // ( oQGraphicsItem ) -> NIL - METHOD removeFromGroup // ( oQGraphicsItem ) -> NIL - - ENDCLASS - - -METHOD QGraphicsItemGroup:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsItemGroup( ... ) - RETURN Self - - -METHOD QGraphicsItemGroup:addToGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemGroup_addToGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsItemGroup:removeFromGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsItemGroup_removeFromGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg deleted file mode 100644 index b506e1f5bd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayout.prg +++ /dev/null @@ -1,138 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsLayout( ... ) - RETURN HB_QGraphicsLayout():new( ... ) - -FUNCTION QGraphicsLayoutFromPointer( ... ) - RETURN HB_QGraphicsLayout():fromPointer( ... ) - - -CREATE CLASS QGraphicsLayout INHERIT HbQtObjectHandler, HB_QGraphicsLayoutItem FUNCTION HB_QGraphicsLayout - - METHOD new( ... ) - - METHOD activate // ( ) -> NIL - METHOD count // ( ) -> nInt - METHOD invalidate // ( ) -> NIL - METHOD isActivated // ( ) -> lBool - METHOD itemAt // ( nI ) -> oQGraphicsLayoutItem - METHOD removeAt // ( nIndex ) -> NIL - METHOD setContentsMargins // ( nLeft, nTop, nRight, nBottom ) -> NIL - METHOD widgetEvent // ( oQEvent ) -> NIL - - ENDCLASS - - -METHOD QGraphicsLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsLayout( ... ) - RETURN Self - - -METHOD QGraphicsLayout:activate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayout_activate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayout_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:invalidate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayout_invalidate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:isActivated( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayout_isActivated( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:itemAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QGraphicsLayoutItemFromPointer( Qt_QGraphicsLayout_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:removeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayout_removeAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:setContentsMargins( ... ) - 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_QGraphicsLayout_setContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayout:widgetEvent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayout_widgetEvent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg deleted file mode 100644 index dfa2ae10ef..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLayoutItem.prg +++ /dev/null @@ -1,425 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsLayoutItem( ... ) - RETURN HB_QGraphicsLayoutItem():new( ... ) - -FUNCTION QGraphicsLayoutItemFromPointer( ... ) - RETURN HB_QGraphicsLayoutItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsLayoutItem INHERIT HbQtObjectHandler FUNCTION HB_QGraphicsLayoutItem - - METHOD new( ... ) - - METHOD contentsRect // ( ) -> oQRectF - METHOD effectiveSizeHint // ( nWhich, oQSizeF ) -> oQSizeF - METHOD geometry // ( ) -> oQRectF - METHOD getContentsMargins // ( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - METHOD graphicsItem // ( ) -> oQGraphicsItem - METHOD isLayout // ( ) -> lBool - METHOD maximumHeight // ( ) -> nQreal - METHOD maximumSize // ( ) -> oQSizeF - METHOD maximumWidth // ( ) -> nQreal - METHOD minimumHeight // ( ) -> nQreal - METHOD minimumSize // ( ) -> oQSizeF - METHOD minimumWidth // ( ) -> nQreal - METHOD ownedByLayout // ( ) -> lBool - METHOD parentLayoutItem // ( ) -> oQGraphicsLayoutItem - METHOD preferredHeight // ( ) -> nQreal - METHOD preferredSize // ( ) -> oQSizeF - METHOD preferredWidth // ( ) -> nQreal - METHOD setGeometry // ( oQRectF ) -> NIL - METHOD setMaximumHeight // ( nHeight ) -> NIL - METHOD setMaximumSize // ( oQSizeF ) -> NIL - // ( nW, nH ) -> NIL - METHOD setMaximumWidth // ( nWidth ) -> NIL - METHOD setMinimumHeight // ( nHeight ) -> NIL - METHOD setMinimumSize // ( oQSizeF ) -> NIL - // ( nW, nH ) -> NIL - METHOD setMinimumWidth // ( nWidth ) -> NIL - METHOD setParentLayoutItem // ( oQGraphicsLayoutItem ) -> NIL - METHOD setPreferredHeight // ( nHeight ) -> NIL - METHOD setPreferredSize // ( oQSizeF ) -> NIL - // ( nW, nH ) -> NIL - METHOD setPreferredWidth // ( nWidth ) -> NIL - METHOD setSizePolicy // ( oQSizePolicy ) -> NIL - // ( nHPolicy, nVPolicy, nControlType ) -> NIL - METHOD sizePolicy // ( ) -> oQSizePolicy - METHOD updateGeometry // ( ) -> NIL - - ENDCLASS - - -METHOD QGraphicsLayoutItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsLayoutItem( ... ) - RETURN Self - - -METHOD QGraphicsLayoutItem:contentsRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsLayoutItem_contentsRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:effectiveSizeHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QSizeFFromPointer( Qt_QGraphicsLayoutItem_effectiveSizeHint( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QSizeFFromPointer( Qt_QGraphicsLayoutItem_effectiveSizeHint( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsLayoutItem_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:getContentsMargins( ... ) - 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_QGraphicsLayoutItem_getContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:graphicsItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemFromPointer( Qt_QGraphicsLayoutItem_graphicsItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:isLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_isLayout( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:maximumHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_maximumHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:maximumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QGraphicsLayoutItem_maximumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:maximumWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_maximumWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:minimumHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_minimumHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:minimumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QGraphicsLayoutItem_minimumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:minimumWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_minimumWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:ownedByLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_ownedByLayout( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:parentLayoutItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsLayoutItemFromPointer( Qt_QGraphicsLayoutItem_parentLayoutItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:preferredHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_preferredHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:preferredSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QGraphicsLayoutItem_preferredSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:preferredWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_preferredWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setMaximumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setMaximumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setMaximumSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLayoutItem_setMaximumSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setMaximumSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setMaximumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setMaximumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setMinimumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setMinimumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setMinimumSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLayoutItem_setMinimumSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setMinimumSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setMinimumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setMinimumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setParentLayoutItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setParentLayoutItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setPreferredHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setPreferredHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setPreferredSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLayoutItem_setPreferredSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setPreferredSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setPreferredWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setPreferredWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:setSizePolicy( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLayoutItem_setSizePolicy_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLayoutItem_setSizePolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:sizePolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizePolicyFromPointer( Qt_QGraphicsLayoutItem_sizePolicy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLayoutItem:updateGeometry( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLayoutItem_updateGeometry( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg deleted file mode 100644 index 5c716ca85c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLineItem.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsLineItem( ... ) - RETURN HB_QGraphicsLineItem():new( ... ) - -FUNCTION QGraphicsLineItemFromPointer( ... ) - RETURN HB_QGraphicsLineItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsLineItem INHERIT HbQtObjectHandler, HB_QGraphicsItem FUNCTION HB_QGraphicsLineItem - - METHOD new( ... ) - - METHOD line // ( ) -> oQLineF - METHOD pen // ( ) -> oQPen - METHOD setLine // ( oQLineF ) -> NIL - // ( nX1, nY1, nX2, nY2 ) -> NIL - METHOD setPen // ( oQPen ) -> NIL - - ENDCLASS - - -METHOD QGraphicsLineItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsLineItem( ... ) - RETURN Self - - -METHOD QGraphicsLineItem:line( ... ) - SWITCH PCount() - CASE 0 - RETURN QLineFFromPointer( Qt_QGraphicsLineItem_line( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLineItem:pen( ... ) - SWITCH PCount() - CASE 0 - RETURN QPenFromPointer( Qt_QGraphicsLineItem_pen( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLineItem:setLine( ... ) - 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_QGraphicsLineItem_setLine_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLineItem_setLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLineItem:setPen( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLineItem_setPen( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg deleted file mode 100644 index 6fb838e80c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsLinearLayout.prg +++ /dev/null @@ -1,258 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsLinearLayout( ... ) - RETURN HB_QGraphicsLinearLayout():new( ... ) - -FUNCTION QGraphicsLinearLayoutFromPointer( ... ) - RETURN HB_QGraphicsLinearLayout():fromPointer( ... ) - - -CREATE CLASS QGraphicsLinearLayout INHERIT HbQtObjectHandler, HB_QGraphicsLayout FUNCTION HB_QGraphicsLinearLayout - - METHOD new( ... ) - - METHOD addItem // ( oQGraphicsLayoutItem ) -> NIL - METHOD addStretch // ( nStretch ) -> NIL - METHOD alignment // ( oQGraphicsLayoutItem ) -> nQt_Alignment - METHOD insertItem // ( nIndex, oQGraphicsLayoutItem ) -> NIL - METHOD insertStretch // ( nIndex, nStretch ) -> NIL - METHOD itemSpacing // ( nIndex ) -> nQreal - METHOD orientation // ( ) -> nQt_Orientation - METHOD removeAt // ( nIndex ) -> NIL - METHOD removeItem // ( oQGraphicsLayoutItem ) -> NIL - METHOD setAlignment // ( oQGraphicsLayoutItem, nAlignment ) -> NIL - METHOD setItemSpacing // ( nIndex, nSpacing ) -> NIL - METHOD setOrientation // ( nOrientation ) -> NIL - METHOD setSpacing // ( nSpacing ) -> NIL - METHOD setStretchFactor // ( oQGraphicsLayoutItem, nStretch ) -> NIL - METHOD spacing // ( ) -> nQreal - METHOD stretchFactor // ( oQGraphicsLayoutItem ) -> nInt - - ENDCLASS - - -METHOD QGraphicsLinearLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsLinearLayout( ... ) - RETURN Self - - -METHOD QGraphicsLinearLayout:addItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_addItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:addStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_addStretch( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsLinearLayout_addStretch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:alignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_alignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:insertItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLinearLayout_insertItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:insertStretch( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLinearLayout_insertStretch( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_insertStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:itemSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_itemSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLinearLayout_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:removeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_removeAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:removeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_removeItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:setAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLinearLayout_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:setItemSpacing( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLinearLayout_setItemSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:setStretchFactor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsLinearLayout_setStretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:spacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsLinearLayout_spacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsLinearLayout:stretchFactor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsLinearLayout_stretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg deleted file mode 100644 index 5779bdeb21..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPathItem.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsPathItem( ... ) - RETURN HB_QGraphicsPathItem():new( ... ) - -FUNCTION QGraphicsPathItemFromPointer( ... ) - RETURN HB_QGraphicsPathItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsPathItem INHERIT HbQtObjectHandler, HB_QAbstractGraphicsShapeItem FUNCTION HB_QGraphicsPathItem - - METHOD new( ... ) - - METHOD path // ( ) -> oQPainterPath - METHOD setPath // ( oQPainterPath ) -> NIL - - ENDCLASS - - -METHOD QGraphicsPathItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsPathItem( ... ) - RETURN Self - - -METHOD QGraphicsPathItem:path( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QGraphicsPathItem_path( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPathItem:setPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPathItem_setPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg deleted file mode 100644 index 7f5b3c7b4f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPixmapItem.prg +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsPixmapItem( ... ) - RETURN HB_QGraphicsPixmapItem():new( ... ) - -FUNCTION QGraphicsPixmapItemFromPointer( ... ) - RETURN HB_QGraphicsPixmapItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsPixmapItem INHERIT HbQtObjectHandler, HB_QGraphicsItem FUNCTION HB_QGraphicsPixmapItem - - METHOD new( ... ) - - METHOD offset // ( ) -> oQPointF - METHOD pixmap // ( ) -> oQPixmap - METHOD setOffset // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD setPixmap // ( oQPixmap ) -> NIL - METHOD setShapeMode // ( nMode ) -> NIL - METHOD setTransformationMode // ( nMode ) -> NIL - METHOD shapeMode // ( ) -> nShapeMode - METHOD transformationMode // ( ) -> nQt_TransformationMode - - ENDCLASS - - -METHOD QGraphicsPixmapItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsPixmapItem( ... ) - RETURN Self - - -METHOD QGraphicsPixmapItem:offset( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsPixmapItem_offset( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QGraphicsPixmapItem_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:setOffset( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsPixmapItem_setOffset_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPixmapItem_setOffset( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:setPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPixmapItem_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:setShapeMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPixmapItem_setShapeMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:setTransformationMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPixmapItem_setTransformationMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:shapeMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsPixmapItem_shapeMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPixmapItem:transformationMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsPixmapItem_transformationMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg deleted file mode 100644 index 5ad0c2986c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsPolygonItem.prg +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsPolygonItem( ... ) - RETURN HB_QGraphicsPolygonItem():new( ... ) - -FUNCTION QGraphicsPolygonItemFromPointer( ... ) - RETURN HB_QGraphicsPolygonItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsPolygonItem INHERIT HbQtObjectHandler, HB_QAbstractGraphicsShapeItem FUNCTION HB_QGraphicsPolygonItem - - METHOD new( ... ) - - METHOD fillRule // ( ) -> nQt_FillRule - METHOD polygon // ( ) -> oQPolygonF - METHOD setFillRule // ( nRule ) -> NIL - METHOD setPolygon // ( oQPolygonF ) -> NIL - - ENDCLASS - - -METHOD QGraphicsPolygonItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsPolygonItem( ... ) - RETURN Self - - -METHOD QGraphicsPolygonItem:fillRule( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsPolygonItem_fillRule( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPolygonItem:polygon( ... ) - SWITCH PCount() - CASE 0 - RETURN QPolygonFFromPointer( Qt_QGraphicsPolygonItem_polygon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPolygonItem:setFillRule( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPolygonItem_setFillRule( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsPolygonItem:setPolygon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsPolygonItem_setPolygon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg deleted file mode 100644 index a12c291971..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsProxyWidget.prg +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsProxyWidget( ... ) - RETURN HB_QGraphicsProxyWidget():new( ... ) - -FUNCTION QGraphicsProxyWidgetFromPointer( ... ) - RETURN HB_QGraphicsProxyWidget():fromPointer( ... ) - - -CREATE CLASS QGraphicsProxyWidget INHERIT HbQtObjectHandler, HB_QGraphicsWidget FUNCTION HB_QGraphicsProxyWidget - - METHOD new( ... ) - - METHOD createProxyForChildWidget // ( oQWidget ) -> oQGraphicsProxyWidget - METHOD setWidget // ( oQWidget ) -> NIL - METHOD subWidgetRect // ( oQWidget ) -> oQRectF - METHOD widget // ( ) -> oQWidget - - ENDCLASS - - -METHOD QGraphicsProxyWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsProxyWidget( ... ) - RETURN Self - - -METHOD QGraphicsProxyWidget:createProxyForChildWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsProxyWidgetFromPointer( Qt_QGraphicsProxyWidget_createProxyForChildWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsProxyWidget:setWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsProxyWidget_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsProxyWidget:subWidgetRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QGraphicsProxyWidget_subWidgetRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsProxyWidget:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QGraphicsProxyWidget_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg deleted file mode 100644 index d20b742757..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsRectItem.prg +++ /dev/null @@ -1,79 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsRectItem( ... ) - RETURN HB_QGraphicsRectItem():new( ... ) - -FUNCTION QGraphicsRectItemFromPointer( ... ) - RETURN HB_QGraphicsRectItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsRectItem INHERIT HbQtObjectHandler, HB_QAbstractGraphicsShapeItem FUNCTION HB_QGraphicsRectItem - - METHOD new( ... ) - - METHOD rect // ( ) -> oQRectF - METHOD setRect // ( oQRectF ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - - ENDCLASS - - -METHOD QGraphicsRectItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsRectItem( ... ) - RETURN Self - - -METHOD QGraphicsRectItem:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsRectItem_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsRectItem:setRect( ... ) - 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_QGraphicsRectItem_setRect_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsRectItem_setRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg deleted file mode 100644 index b280717f2c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsScene.prg +++ /dev/null @@ -1,929 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsScene( ... ) - RETURN HB_QGraphicsScene():new( ... ) - -FUNCTION QGraphicsSceneFromPointer( ... ) - RETURN HB_QGraphicsScene():fromPointer( ... ) - - -CREATE CLASS QGraphicsScene INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QGraphicsScene - - METHOD new( ... ) - - METHOD activeWindow // ( ) -> oQGraphicsWidget - METHOD addEllipse // ( oQRectF, oQPen, oQBrush ) -> oQGraphicsEllipseItem - // ( nX, nY, nW, nH, oQPen, oQBrush ) -> oQGraphicsEllipseItem - METHOD addItem // ( oQGraphicsItem ) -> NIL - METHOD addLine // ( oQLineF, oQPen ) -> oQGraphicsLineItem - // ( nX1, nY1, nX2, nY2, oQPen ) -> oQGraphicsLineItem - METHOD addPath // ( oQPainterPath, oQPen, oQBrush ) -> oQGraphicsPathItem - METHOD addPixmap // ( oQPixmap ) -> oQGraphicsPixmapItem - METHOD addPolygon // ( oQPolygonF, oQPen, oQBrush ) -> oQGraphicsPolygonItem - METHOD addRect // ( oQRectF, oQPen, oQBrush ) -> oQGraphicsRectItem - // ( nX, nY, nW, nH, oQPen, oQBrush ) -> oQGraphicsRectItem - METHOD addSimpleText // ( cText, oQFont ) -> oQGraphicsSimpleTextItem - METHOD addText // ( cText, oQFont ) -> oQGraphicsTextItem - METHOD addWidget // ( oQWidget, nWFlags ) -> oQGraphicsProxyWidget - METHOD backgroundBrush // ( ) -> oQBrush - METHOD bspTreeDepth // ( ) -> nInt - METHOD clearFocus // ( ) -> NIL - METHOD collidingItems // ( oQGraphicsItem, nMode ) -> oQList_QGraphicsItem - METHOD destroyItemGroup // ( oQGraphicsItemGroup ) -> NIL - METHOD focusItem // ( ) -> oQGraphicsItem - METHOD font // ( ) -> oQFont - METHOD foregroundBrush // ( ) -> oQBrush - METHOD hasFocus // ( ) -> lBool - METHOD height // ( ) -> nQreal - METHOD invalidate // ( nX, nY, nW, nH, nLayers ) -> NIL - METHOD isSortCacheEnabled // ( ) -> lBool - METHOD itemAt // ( oQPointF ) -> oQGraphicsItem - // ( nX, nY ) -> oQGraphicsItem - METHOD itemIndexMethod // ( ) -> nItemIndexMethod - METHOD items // ( ) -> oQList_QGraphicsItem - // ( oQPointF ) -> oQList_QGraphicsItem - // ( nX, nY, nW, nH, nMode ) -> oQList_QGraphicsItem - // ( oQRectF, nMode ) -> oQList_QGraphicsItem - // ( oQPolygonF, nMode ) -> oQList_QGraphicsItem - // ( oQPainterPath, nMode ) -> oQList_QGraphicsItem - METHOD itemsBoundingRect // ( ) -> oQRectF - METHOD mouseGrabberItem // ( ) -> oQGraphicsItem - METHOD palette // ( ) -> oQPalette - METHOD removeItem // ( oQGraphicsItem ) -> NIL - METHOD render // ( oQPainter, oQRectF, oQRectF, nAspectRatioMode ) -> NIL - METHOD sceneRect // ( ) -> oQRectF - METHOD selectedItems // ( ) -> oQList_QGraphicsItem - METHOD selectionArea // ( ) -> oQPainterPath - METHOD setActiveWindow // ( oQGraphicsWidget ) -> NIL - METHOD setBackgroundBrush // ( oQBrush ) -> NIL - METHOD setBspTreeDepth // ( nDepth ) -> NIL - METHOD setFocus // ( nFocusReason ) -> NIL - METHOD setFocusItem // ( oQGraphicsItem, nFocusReason ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setForegroundBrush // ( oQBrush ) -> NIL - METHOD setItemIndexMethod // ( nMethod ) -> NIL - METHOD setPalette // ( oQPalette ) -> NIL - METHOD setSceneRect // ( oQRectF ) -> NIL - // ( nX, nY, nW, nH ) -> NIL - METHOD setSelectionArea // ( oQPainterPath ) -> NIL - // ( oQPainterPath, nMode ) -> NIL - METHOD setSortCacheEnabled // ( lEnabled ) -> NIL - METHOD setStickyFocus // ( lEnabled ) -> NIL - METHOD setStyle // ( oQStyle ) -> NIL - METHOD stickyFocus // ( ) -> lBool - METHOD style // ( ) -> oQStyle - METHOD update // ( nX, nY, nW, nH ) -> NIL - METHOD views // ( ) -> oQList_QGraphicsView - METHOD width // ( ) -> nQreal - METHOD advance // ( ) -> NIL - METHOD clear // ( ) -> NIL - METHOD clearSelection // ( ) -> NIL - // ( oQRectF, nLayers ) -> NIL - // ( oQRectF ) -> NIL - - ENDCLASS - - -METHOD QGraphicsScene:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsScene( ... ) - RETURN Self - - -METHOD QGraphicsScene:activeWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsWidgetFromPointer( Qt_QGraphicsScene_activeWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addEllipse( ... ) - 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_isObject( hb_pvalue( 5 ) ) .AND. hb_isObject( hb_pvalue( 6 ) ) - RETURN QGraphicsEllipseItemFromPointer( Qt_QGraphicsScene_addEllipse_1( ::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 QGraphicsEllipseItemFromPointer( Qt_QGraphicsScene_addEllipse_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 QGraphicsEllipseItemFromPointer( Qt_QGraphicsScene_addEllipse_1( ::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 ) ) - RETURN QGraphicsEllipseItemFromPointer( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsEllipseItemFromPointer( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsEllipseItemFromPointer( Qt_QGraphicsScene_addEllipse( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_addItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addLine( ... ) - 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_isObject( hb_pvalue( 5 ) ) - RETURN QGraphicsLineItemFromPointer( Qt_QGraphicsScene_addLine_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 QGraphicsLineItemFromPointer( Qt_QGraphicsScene_addLine_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsLineItemFromPointer( Qt_QGraphicsScene_addLine( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsLineItemFromPointer( Qt_QGraphicsScene_addLine( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addPath( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QGraphicsPathItemFromPointer( Qt_QGraphicsScene_addPath( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsPathItemFromPointer( Qt_QGraphicsScene_addPath( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsPathItemFromPointer( Qt_QGraphicsScene_addPath( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsPixmapItemFromPointer( Qt_QGraphicsScene_addPixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addPolygon( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QGraphicsPolygonItemFromPointer( Qt_QGraphicsScene_addPolygon( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsPolygonItemFromPointer( Qt_QGraphicsScene_addPolygon( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsPolygonItemFromPointer( Qt_QGraphicsScene_addPolygon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addRect( ... ) - 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_isObject( hb_pvalue( 5 ) ) .AND. hb_isObject( hb_pvalue( 6 ) ) - RETURN QGraphicsRectItemFromPointer( Qt_QGraphicsScene_addRect_1( ::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 QGraphicsRectItemFromPointer( Qt_QGraphicsScene_addRect_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 QGraphicsRectItemFromPointer( Qt_QGraphicsScene_addRect_1( ::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 ) ) - RETURN QGraphicsRectItemFromPointer( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsRectItemFromPointer( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsRectItemFromPointer( Qt_QGraphicsScene_addRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addSimpleText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsSimpleTextItemFromPointer( Qt_QGraphicsScene_addSimpleText( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QGraphicsSimpleTextItemFromPointer( Qt_QGraphicsScene_addSimpleText( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QGraphicsTextItemFromPointer( Qt_QGraphicsScene_addText( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QGraphicsTextItemFromPointer( Qt_QGraphicsScene_addText( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:addWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QGraphicsProxyWidgetFromPointer( Qt_QGraphicsScene_addWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsProxyWidgetFromPointer( Qt_QGraphicsScene_addWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:backgroundBrush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QGraphicsScene_backgroundBrush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:bspTreeDepth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_bspTreeDepth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:clearFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_clearFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:collidingItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QGraphicsScene_collidingItems( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QGraphicsScene_collidingItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:destroyItemGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_destroyItemGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:focusItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemFromPointer( Qt_QGraphicsScene_focusItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QGraphicsScene_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:foregroundBrush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QGraphicsScene_foregroundBrush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:hasFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_hasFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:invalidate( ... ) - 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_QGraphicsScene_invalidate( ::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_QGraphicsScene_invalidate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsScene_invalidate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_invalidate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsScene_invalidate_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:isSortCacheEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_isSortCacheEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QGraphicsItemFromPointer( Qt_QGraphicsScene_itemAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsItemFromPointer( Qt_QGraphicsScene_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:itemIndexMethod( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_itemIndexMethod( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:items( ... ) - 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 QListFromPointer( Qt_QGraphicsScene_items_2( ::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 QListFromPointer( Qt_QGraphicsScene_items_2( ::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 "QPOLYGONF" - RETURN QListFromPointer( Qt_QGraphicsScene_items_4( ::pPtr, ... ) ) - CASE "QRECTF" - RETURN QListFromPointer( Qt_QGraphicsScene_items_3( ::pPtr, ... ) ) - CASE "QPAINTERPATH" - RETURN QListFromPointer( Qt_QGraphicsScene_items_5( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QRECTF" - RETURN QListFromPointer( Qt_QGraphicsScene_items_3( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QListFromPointer( Qt_QGraphicsScene_items_4( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QListFromPointer( Qt_QGraphicsScene_items_1( ::pPtr, ... ) ) - CASE "QPAINTERPATH" - RETURN QListFromPointer( Qt_QGraphicsScene_items_5( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsScene_items( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:itemsBoundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsScene_itemsBoundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:mouseGrabberItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsItemFromPointer( Qt_QGraphicsScene_mouseGrabberItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:palette( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaletteFromPointer( Qt_QGraphicsScene_palette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:removeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_removeItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:render( ... ) - SWITCH PCount() - 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 ) ) - RETURN Qt_QGraphicsScene_render( ::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 ) ) - RETURN Qt_QGraphicsScene_render( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsScene_render( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_render( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:sceneRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsScene_sceneRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:selectedItems( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsScene_selectedItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:selectionArea( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QGraphicsScene_selectionArea( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setActiveWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setActiveWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setBackgroundBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setBackgroundBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setBspTreeDepth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setBspTreeDepth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setFocus( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsScene_setFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setFocusItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsScene_setFocusItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setFocusItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setForegroundBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setForegroundBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setItemIndexMethod( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setItemIndexMethod( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setPalette( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setPalette( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setSceneRect( ... ) - 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_QGraphicsScene_setSceneRect_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setSceneRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setSelectionArea( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsScene_setSelectionArea_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setSelectionArea( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setSortCacheEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setSortCacheEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setStickyFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setStickyFocus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:stickyFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_stickyFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:style( ... ) - SWITCH PCount() - CASE 0 - RETURN QStyleFromPointer( Qt_QGraphicsScene_style( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:update( ... ) - 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_QGraphicsScene_update( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsScene_update_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsScene_update_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:views( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsScene_views( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:advance( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_advance( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsScene:clearSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsScene_clearSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg deleted file mode 100644 index f1b708e402..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneContextMenuEvent( ... ) - RETURN HB_QGraphicsSceneContextMenuEvent():new( ... ) - -FUNCTION QGraphicsSceneContextMenuEventFromPointer( ... ) - RETURN HB_QGraphicsSceneContextMenuEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneContextMenuEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneContextMenuEvent - - METHOD new( ... ) - - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - METHOD pos // ( ) -> oQPointF - METHOD reason // ( ) -> nReason - METHOD scenePos // ( ) -> oQPointF - METHOD screenPos // ( ) -> oQPoint - - ENDCLASS - - -METHOD QGraphicsSceneContextMenuEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneContextMenuEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneContextMenuEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneContextMenuEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneContextMenuEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneContextMenuEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneContextMenuEvent:reason( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneContextMenuEvent_reason( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneContextMenuEvent:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneContextMenuEvent_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneContextMenuEvent:screenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneContextMenuEvent_screenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg deleted file mode 100644 index 46781edd9f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg +++ /dev/null @@ -1,162 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneDragDropEvent( ... ) - RETURN HB_QGraphicsSceneDragDropEvent():new( ... ) - -FUNCTION QGraphicsSceneDragDropEventFromPointer( ... ) - RETURN HB_QGraphicsSceneDragDropEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneDragDropEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneDragDropEvent - - METHOD new( ... ) - - METHOD acceptProposedAction // ( ) -> NIL - METHOD buttons // ( ) -> nQt_MouseButtons - METHOD dropAction // ( ) -> nQt_DropAction - METHOD mimeData // ( ) -> oQMimeData - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - METHOD pos // ( ) -> oQPointF - METHOD possibleActions // ( ) -> nQt_DropActions - METHOD proposedAction // ( ) -> nQt_DropAction - METHOD scenePos // ( ) -> oQPointF - METHOD screenPos // ( ) -> oQPoint - METHOD setDropAction // ( nAction ) -> NIL - METHOD source // ( ) -> oQWidget - - ENDCLASS - - -METHOD QGraphicsSceneDragDropEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneDragDropEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneDragDropEvent:acceptProposedAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneDragDropEvent_acceptProposedAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneDragDropEvent_buttons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:dropAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneDragDropEvent_dropAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:mimeData( ... ) - SWITCH PCount() - CASE 0 - RETURN QMimeDataFromPointer( Qt_QGraphicsSceneDragDropEvent_mimeData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneDragDropEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneDragDropEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:possibleActions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneDragDropEvent_possibleActions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:proposedAction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneDragDropEvent_proposedAction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneDragDropEvent_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:screenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneDragDropEvent_screenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:setDropAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsSceneDragDropEvent_setDropAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneDragDropEvent:source( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QGraphicsSceneDragDropEvent_source( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg deleted file mode 100644 index 9cd076d8cd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneEvent( ... ) - RETURN HB_QGraphicsSceneEvent():new( ... ) - -FUNCTION QGraphicsSceneEventFromPointer( ... ) - RETURN HB_QGraphicsSceneEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QGraphicsSceneEvent - - METHOD new( ... ) - - METHOD widget // ( ) -> oQWidget - - ENDCLASS - - -METHOD QGraphicsSceneEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneEvent:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QGraphicsSceneEvent_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg deleted file mode 100644 index 8a03a8702a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneHelpEvent( ... ) - RETURN HB_QGraphicsSceneHelpEvent():new( ... ) - -FUNCTION QGraphicsSceneHelpEventFromPointer( ... ) - RETURN HB_QGraphicsSceneHelpEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneHelpEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneHelpEvent - - METHOD new( ... ) - - METHOD scenePos // ( ) -> oQPointF - METHOD screenPos // ( ) -> oQPoint - - ENDCLASS - - -METHOD QGraphicsSceneHelpEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneHelpEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneHelpEvent:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneHelpEvent_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHelpEvent:screenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneHelpEvent_screenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg deleted file mode 100644 index 6438fe1052..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneHoverEvent( ... ) - RETURN HB_QGraphicsSceneHoverEvent():new( ... ) - -FUNCTION QGraphicsSceneHoverEventFromPointer( ... ) - RETURN HB_QGraphicsSceneHoverEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneHoverEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneHoverEvent - - METHOD new( ... ) - - METHOD lastPos // ( ) -> oQPointF - METHOD lastScenePos // ( ) -> oQPointF - METHOD lastScreenPos // ( ) -> oQPoint - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - METHOD pos // ( ) -> oQPointF - METHOD scenePos // ( ) -> oQPointF - METHOD screenPos // ( ) -> oQPoint - - ENDCLASS - - -METHOD QGraphicsSceneHoverEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneHoverEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneHoverEvent:lastPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneHoverEvent_lastPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHoverEvent:lastScenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneHoverEvent_lastScenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHoverEvent:lastScreenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneHoverEvent_lastScreenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHoverEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneHoverEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHoverEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneHoverEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHoverEvent:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneHoverEvent_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneHoverEvent:screenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneHoverEvent_screenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg deleted file mode 100644 index 081a9566ea..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg +++ /dev/null @@ -1,170 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneMouseEvent( ... ) - RETURN HB_QGraphicsSceneMouseEvent():new( ... ) - -FUNCTION QGraphicsSceneMouseEventFromPointer( ... ) - RETURN HB_QGraphicsSceneMouseEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneMouseEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneMouseEvent - - METHOD new( ... ) - - METHOD button // ( ) -> nQt_MouseButton - METHOD buttonDownPos // ( nButton ) -> oQPointF - METHOD buttonDownScenePos // ( nButton ) -> oQPointF - METHOD buttonDownScreenPos // ( nButton ) -> oQPoint - METHOD buttons // ( ) -> nQt_MouseButtons - METHOD lastPos // ( ) -> oQPointF - METHOD lastScenePos // ( ) -> oQPointF - METHOD lastScreenPos // ( ) -> oQPoint - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - METHOD pos // ( ) -> oQPointF - METHOD scenePos // ( ) -> oQPointF - METHOD screenPos // ( ) -> oQPoint - - ENDCLASS - - -METHOD QGraphicsSceneMouseEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneMouseEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneMouseEvent:button( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneMouseEvent_button( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:buttonDownPos( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsSceneMouseEvent_buttonDownPos( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:buttonDownScenePos( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsSceneMouseEvent_buttonDownScenePos( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:buttonDownScreenPos( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFromPointer( Qt_QGraphicsSceneMouseEvent_buttonDownScreenPos( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneMouseEvent_buttons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:lastPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneMouseEvent_lastPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:lastScenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneMouseEvent_lastScenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:lastScreenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneMouseEvent_lastScreenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneMouseEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneMouseEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneMouseEvent_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMouseEvent:screenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneMouseEvent_screenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg deleted file mode 100644 index c2006799d4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneMoveEvent( ... ) - RETURN HB_QGraphicsSceneMoveEvent():new( ... ) - -FUNCTION QGraphicsSceneMoveEventFromPointer( ... ) - RETURN HB_QGraphicsSceneMoveEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneMoveEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneMoveEvent - - METHOD new( ... ) - - METHOD newPos // ( ) -> oQPointF - METHOD oldPos // ( ) -> oQPointF - - ENDCLASS - - -METHOD QGraphicsSceneMoveEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneMoveEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneMoveEvent:newPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneMoveEvent_newPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneMoveEvent:oldPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneMoveEvent_oldPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg deleted file mode 100644 index 684fd82971..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneResizeEvent( ... ) - RETURN HB_QGraphicsSceneResizeEvent():new( ... ) - -FUNCTION QGraphicsSceneResizeEventFromPointer( ... ) - RETURN HB_QGraphicsSceneResizeEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneResizeEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneResizeEvent - - METHOD new( ... ) - - METHOD newSize // ( ) -> oQSizeF - METHOD oldSize // ( ) -> oQSizeF - - ENDCLASS - - -METHOD QGraphicsSceneResizeEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneResizeEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneResizeEvent:newSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QGraphicsSceneResizeEvent_newSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneResizeEvent:oldSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QGraphicsSceneResizeEvent_oldSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg deleted file mode 100644 index 46aaaf7ffb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSceneWheelEvent( ... ) - RETURN HB_QGraphicsSceneWheelEvent():new( ... ) - -FUNCTION QGraphicsSceneWheelEventFromPointer( ... ) - RETURN HB_QGraphicsSceneWheelEvent():fromPointer( ... ) - - -CREATE CLASS QGraphicsSceneWheelEvent INHERIT HbQtObjectHandler, HB_QGraphicsSceneEvent FUNCTION HB_QGraphicsSceneWheelEvent - - METHOD new( ... ) - - METHOD buttons // ( ) -> nQt_MouseButtons - METHOD delta // ( ) -> nInt - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - METHOD orientation // ( ) -> nQt_Orientation - METHOD pos // ( ) -> oQPointF - METHOD scenePos // ( ) -> oQPointF - METHOD screenPos // ( ) -> oQPoint - - ENDCLASS - - -METHOD QGraphicsSceneWheelEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSceneWheelEvent( ... ) - RETURN Self - - -METHOD QGraphicsSceneWheelEvent:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneWheelEvent_buttons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneWheelEvent:delta( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneWheelEvent_delta( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneWheelEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneWheelEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneWheelEvent:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSceneWheelEvent_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneWheelEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneWheelEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneWheelEvent:scenePos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QGraphicsSceneWheelEvent_scenePos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSceneWheelEvent:screenPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QGraphicsSceneWheelEvent_screenPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg deleted file mode 100644 index ebc01d4578..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSimpleTextItem.prg +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsSimpleTextItem( ... ) - RETURN HB_QGraphicsSimpleTextItem():new( ... ) - -FUNCTION QGraphicsSimpleTextItemFromPointer( ... ) - RETURN HB_QGraphicsSimpleTextItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsSimpleTextItem INHERIT HbQtObjectHandler, HB_QAbstractGraphicsShapeItem FUNCTION HB_QGraphicsSimpleTextItem - - METHOD new( ... ) - - METHOD font // ( ) -> oQFont - METHOD setFont // ( oQFont ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QGraphicsSimpleTextItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsSimpleTextItem( ... ) - RETURN Self - - -METHOD QGraphicsSimpleTextItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QGraphicsSimpleTextItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSimpleTextItem:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsSimpleTextItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSimpleTextItem:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsSimpleTextItem_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsSimpleTextItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsSimpleTextItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg deleted file mode 100644 index d5f615d38f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsTextItem.prg +++ /dev/null @@ -1,279 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsTextItem( ... ) - RETURN HB_QGraphicsTextItem():new( ... ) - -FUNCTION QGraphicsTextItemFromPointer( ... ) - RETURN HB_QGraphicsTextItem():fromPointer( ... ) - - -CREATE CLASS QGraphicsTextItem INHERIT HbQtObjectHandler, HB_QObject, HB_QGraphicsItem FUNCTION HB_QGraphicsTextItem - - METHOD new( ... ) - - METHOD adjustSize // ( ) -> NIL - METHOD defaultTextColor // ( ) -> oQColor - METHOD document // ( ) -> oQTextDocument - METHOD font // ( ) -> oQFont - METHOD openExternalLinks // ( ) -> lBool - METHOD setDefaultTextColor // ( oQColor ) -> NIL - METHOD setDocument // ( oQTextDocument ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setHtml // ( cText ) -> NIL - METHOD setOpenExternalLinks // ( lOpen ) -> NIL - METHOD setPlainText // ( cText ) -> NIL - METHOD setTabChangesFocus // ( lB ) -> NIL - METHOD setTextCursor // ( oQTextCursor ) -> NIL - METHOD setTextInteractionFlags // ( nFlags ) -> NIL - METHOD setTextWidth // ( nWidth ) -> NIL - METHOD tabChangesFocus // ( ) -> lBool - METHOD textCursor // ( ) -> oQTextCursor - METHOD textInteractionFlags // ( ) -> nQt_TextInteractionFlags - METHOD textWidth // ( ) -> nQreal - METHOD toHtml // ( ) -> cQString - METHOD toPlainText // ( ) -> cQString - - ENDCLASS - - -METHOD QGraphicsTextItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsTextItem( ... ) - RETURN Self - - -METHOD QGraphicsTextItem:adjustSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_adjustSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:defaultTextColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QGraphicsTextItem_defaultTextColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QGraphicsTextItem_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QGraphicsTextItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:openExternalLinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_openExternalLinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setDefaultTextColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setDefaultTextColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setDocument( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setDocument( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setOpenExternalLinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setOpenExternalLinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setTabChangesFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setTabChangesFocus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setTextCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setTextCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setTextInteractionFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setTextInteractionFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:setTextWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsTextItem_setTextWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:tabChangesFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_tabChangesFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:textCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCursorFromPointer( Qt_QGraphicsTextItem_textCursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:textInteractionFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_textInteractionFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:textWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_textWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:toHtml( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_toHtml( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsTextItem:toPlainText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsTextItem_toPlainText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg deleted file mode 100644 index 51f15880cd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsView.prg +++ /dev/null @@ -1,896 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsView( ... ) - RETURN HB_QGraphicsView():new( ... ) - -FUNCTION QGraphicsViewFromPointer( ... ) - RETURN HB_QGraphicsView():fromPointer( ... ) - - -CREATE CLASS QGraphicsView INHERIT HbQtObjectHandler, HB_QAbstractScrollArea FUNCTION HB_QGraphicsView - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD backgroundBrush // ( ) -> oQBrush - METHOD cacheMode // ( ) -> nCacheMode - METHOD centerOn // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - // ( oQGraphicsItem ) -> NIL - METHOD dragMode // ( ) -> nDragMode - METHOD ensureVisible // ( oQRectF, nXmargin, nYmargin ) -> NIL - // ( nX, nY, nW, nH, nXmargin, nYmargin ) -> NIL - // ( oQGraphicsItem, nXmargin, nYmargin ) -> NIL - METHOD fitInView // ( oQRectF, nAspectRatioMode ) -> NIL - // ( nX, nY, nW, nH, nAspectRatioMode ) -> NIL - // ( oQGraphicsItem, nAspectRatioMode ) -> NIL - METHOD foregroundBrush // ( ) -> oQBrush - METHOD isInteractive // ( ) -> lBool - METHOD itemAt // ( oQPoint ) -> oQGraphicsItem - // ( nX, nY ) -> oQGraphicsItem - METHOD items // ( ) -> oQList_QGraphicsItem - // ( oQPoint ) -> oQList_QGraphicsItem - // ( nX, nY ) -> oQList_QGraphicsItem - // ( nX, nY, nW, nH, nMode ) -> oQList_QGraphicsItem - // ( oQRect, nMode ) -> oQList_QGraphicsItem - // ( oQPolygon, nMode ) -> oQList_QGraphicsItem - // ( oQPainterPath, nMode ) -> oQList_QGraphicsItem - METHOD mapFromScene // ( oQPointF ) -> oQPoint - // ( oQRectF ) -> oQPolygon - // ( oQPolygonF ) -> oQPolygon - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY ) -> oQPoint - // ( nX, nY, nW, nH ) -> oQPolygon - METHOD mapToScene // ( oQPoint ) -> oQPointF - // ( oQRect ) -> oQPolygonF - // ( oQPolygon ) -> oQPolygonF - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY ) -> oQPointF - // ( nX, nY, nW, nH ) -> oQPolygonF - METHOD matrix // ( ) -> oQMatrix - METHOD optimizationFlags // ( ) -> nOptimizationFlags - METHOD render // ( oQPainter, oQRectF, oQRect, nAspectRatioMode ) -> NIL - METHOD renderHints // ( ) -> nQPainter_RenderHints - METHOD resetCachedContent // ( ) -> NIL - METHOD resetMatrix // ( ) -> NIL - METHOD resetTransform // ( ) -> NIL - METHOD resizeAnchor // ( ) -> nViewportAnchor - METHOD rotate // ( nAngle ) -> NIL - METHOD rubberBandSelectionMode // ( ) -> nQt_ItemSelectionMode - METHOD scale // ( nSx, nSy ) -> NIL - METHOD scene // ( ) -> oQGraphicsScene - METHOD sceneRect // ( ) -> oQRectF - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setBackgroundBrush // ( oQBrush ) -> NIL - METHOD setCacheMode // ( nMode ) -> NIL - METHOD setDragMode // ( nMode ) -> NIL - METHOD setForegroundBrush // ( oQBrush ) -> NIL - METHOD setInteractive // ( lAllowed ) -> NIL - METHOD setMatrix // ( oQMatrix, lCombine ) -> NIL - METHOD setOptimizationFlag // ( nFlag, lEnabled ) -> NIL - METHOD setOptimizationFlags // ( nFlags ) -> NIL - METHOD setRenderHint // ( nHint, lEnabled ) -> NIL - METHOD setRenderHints // ( nHints ) -> NIL - METHOD setResizeAnchor // ( nAnchor ) -> NIL - METHOD setRubberBandSelectionMode // ( nMode ) -> NIL - METHOD setScene // ( oQGraphicsScene ) -> NIL - METHOD setSceneRect // ( oQRectF ) -> NIL - // ( nX, nY, nW, nH ) -> NIL - METHOD setTransform // ( oQTransform, lCombine ) -> NIL - METHOD setTransformationAnchor // ( nAnchor ) -> NIL - METHOD setViewportUpdateMode // ( nMode ) -> NIL - METHOD shear // ( nSh, nSv ) -> NIL - METHOD transform // ( ) -> oQTransform - METHOD transformationAnchor // ( ) -> nViewportAnchor - METHOD translate // ( nDx, nDy ) -> NIL - METHOD viewportTransform // ( ) -> oQTransform - METHOD viewportUpdateMode // ( ) -> nViewportUpdateMode - METHOD invalidateScene // ( oQRectF, nLayers ) -> NIL - METHOD updateSceneRect // ( oQRectF ) -> NIL - - ENDCLASS - - -METHOD QGraphicsView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsView( ... ) - RETURN Self - - -METHOD QGraphicsView:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:backgroundBrush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QGraphicsView_backgroundBrush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:cacheMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_cacheMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:centerOn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_centerOn_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:dragMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_dragMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:ensureVisible( ... ) - 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_QGraphicsView_ensureVisible_1( ::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_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QGraphicsView_ensureVisible_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_QGraphicsView_ensureVisible_1( ::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_QGraphicsView_ensureVisible( ::pPtr, ... ) - CASE "QGRAPHICSITEM" - RETURN Qt_QGraphicsView_ensureVisible_2( ::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_QGraphicsView_ensureVisible( ::pPtr, ... ) - CASE "QGRAPHICSITEM" - RETURN Qt_QGraphicsView_ensureVisible_2( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:fitInView( ... ) - 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_QGraphicsView_fitInView_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_QGraphicsView_fitInView_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_QGraphicsView_fitInView( ::pPtr, ... ) - CASE "QGRAPHICSITEM" - RETURN Qt_QGraphicsView_fitInView_2( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:foregroundBrush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QGraphicsView_foregroundBrush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:isInteractive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_isInteractive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QGraphicsItemFromPointer( Qt_QGraphicsView_itemAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QGraphicsItemFromPointer( Qt_QGraphicsView_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:items( ... ) - 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 QListFromPointer( Qt_QGraphicsView_items_3( ::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 QListFromPointer( Qt_QGraphicsView_items_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( 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 QListFromPointer( Qt_QGraphicsView_items_5( ::pPtr, ... ) ) - CASE "QPAINTERPATH" - RETURN QListFromPointer( Qt_QGraphicsView_items_6( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QListFromPointer( Qt_QGraphicsView_items_4( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPOLYGON" - RETURN QListFromPointer( Qt_QGraphicsView_items_5( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QListFromPointer( Qt_QGraphicsView_items_4( ::pPtr, ... ) ) - CASE "QPOINT" - RETURN QListFromPointer( Qt_QGraphicsView_items_1( ::pPtr, ... ) ) - CASE "QPAINTERPATH" - RETURN QListFromPointer( Qt_QGraphicsView_items_6( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsView_items( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:mapFromScene( ... ) - 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 QPolygonFromPointer( Qt_QGraphicsView_mapFromScene_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPointFromPointer( Qt_QGraphicsView_mapFromScene_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsView_mapFromScene_3( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QPointFromPointer( Qt_QGraphicsView_mapFromScene( ::pPtr, ... ) ) - CASE "QRECTF" - RETURN QPolygonFromPointer( Qt_QGraphicsView_mapFromScene_1( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFromPointer( Qt_QGraphicsView_mapFromScene_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:mapToScene( ... ) - 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 QPolygonFFromPointer( Qt_QGraphicsView_mapToScene_5( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPointFFromPointer( Qt_QGraphicsView_mapToScene_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QGraphicsView_mapToScene_3( ::pPtr, ... ) ) - CASE "QPOINT" - RETURN QPointFFromPointer( Qt_QGraphicsView_mapToScene( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QPolygonFFromPointer( Qt_QGraphicsView_mapToScene_1( ::pPtr, ... ) ) - CASE "QPOLYGON" - RETURN QPolygonFFromPointer( Qt_QGraphicsView_mapToScene_2( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:matrix( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QGraphicsView_matrix( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:optimizationFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_optimizationFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:render( ... ) - SWITCH PCount() - 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 ) ) - RETURN Qt_QGraphicsView_render( ::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 ) ) - RETURN Qt_QGraphicsView_render( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_render( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_render( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:renderHints( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_renderHints( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:resetCachedContent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_resetCachedContent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:resetMatrix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_resetMatrix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:resetTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_resetTransform( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:resizeAnchor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_resizeAnchor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:rotate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_rotate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:rubberBandSelectionMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_rubberBandSelectionMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:scale( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_scale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:scene( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsSceneFromPointer( Qt_QGraphicsView_scene( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:sceneRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsView_sceneRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setBackgroundBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setBackgroundBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setCacheMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setCacheMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setDragMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setDragMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setForegroundBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setForegroundBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setInteractive( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setInteractive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setMatrix( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_setMatrix( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setMatrix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setOptimizationFlag( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_setOptimizationFlag( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setOptimizationFlag( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setOptimizationFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setOptimizationFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setRenderHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_setRenderHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setRenderHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setRenderHints( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setRenderHints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setResizeAnchor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setResizeAnchor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setRubberBandSelectionMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setRubberBandSelectionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setScene( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setScene( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setSceneRect( ... ) - 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_QGraphicsView_setSceneRect_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setSceneRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setTransform( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setTransformationAnchor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setTransformationAnchor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:setViewportUpdateMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_setViewportUpdateMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:shear( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_shear( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:transform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QGraphicsView_transform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:transformationAnchor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_transformationAnchor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_translate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:viewportTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QGraphicsView_viewportTransform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:viewportUpdateMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsView_viewportUpdateMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:invalidateScene( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsView_invalidateScene( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_invalidateScene( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QGraphicsView_invalidateScene( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsView:updateSceneRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsView_updateSceneRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg deleted file mode 100644 index 7eb342a593..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGraphicsWidget.prg +++ /dev/null @@ -1,580 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGraphicsWidget( ... ) - RETURN HB_QGraphicsWidget():new( ... ) - -FUNCTION QGraphicsWidgetFromPointer( ... ) - RETURN HB_QGraphicsWidget():fromPointer( ... ) - - -CREATE CLASS QGraphicsWidget INHERIT HbQtObjectHandler, HB_QObject, HB_QGraphicsItem, HB_QGraphicsLayoutItem FUNCTION HB_QGraphicsWidget - - METHOD new( ... ) - - METHOD actions // ( ) -> oQList_QAction - METHOD addAction // ( oQAction ) -> NIL - METHOD adjustSize // ( ) -> NIL - METHOD focusPolicy // ( ) -> nQt_FocusPolicy - METHOD focusWidget // ( ) -> oQGraphicsWidget - METHOD font // ( ) -> oQFont - METHOD getContentsMargins // ( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - METHOD getWindowFrameMargins // ( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - METHOD grabShortcut // ( oQKeySequence, nContext ) -> nInt - METHOD insertAction // ( oQAction, oQAction ) -> NIL - METHOD isActiveWindow // ( ) -> lBool - METHOD layout // ( ) -> oQGraphicsLayout - METHOD layoutDirection // ( ) -> nQt_LayoutDirection - METHOD palette // ( ) -> oQPalette - METHOD rect // ( ) -> oQRectF - METHOD releaseShortcut // ( nId ) -> NIL - METHOD removeAction // ( oQAction ) -> NIL - METHOD resize // ( oQSizeF ) -> NIL - // ( nW, nH ) -> NIL - METHOD setAttribute // ( nAttribute, lOn ) -> NIL - METHOD setContentsMargins // ( nLeft, nTop, nRight, nBottom ) -> NIL - METHOD setFocusPolicy // ( nPolicy ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setGeometry // ( oQRectF ) -> NIL - // ( nX, nY, nW, nH ) -> NIL - METHOD setLayout // ( oQGraphicsLayout ) -> NIL - METHOD setLayoutDirection // ( nDirection ) -> NIL - METHOD setPalette // ( oQPalette ) -> NIL - METHOD setShortcutAutoRepeat // ( nId, lEnabled ) -> NIL - METHOD setShortcutEnabled // ( nId, lEnabled ) -> NIL - METHOD setStyle // ( oQStyle ) -> NIL - METHOD setWindowFlags // ( nWFlags ) -> NIL - METHOD setWindowFrameMargins // ( nLeft, nTop, nRight, nBottom ) -> NIL - METHOD setWindowTitle // ( cTitle ) -> NIL - METHOD size // ( ) -> oQSizeF - METHOD style // ( ) -> oQStyle - METHOD testAttribute // ( nAttribute ) -> lBool - METHOD unsetLayoutDirection // ( ) -> NIL - METHOD unsetWindowFrameMargins // ( ) -> NIL - METHOD windowFlags // ( ) -> nQt_WindowFlags - METHOD windowFrameGeometry // ( ) -> oQRectF - METHOD windowFrameRect // ( ) -> oQRectF - METHOD windowTitle // ( ) -> cQString - METHOD windowType // ( ) -> nQt_WindowType - METHOD setTabOrder // ( oQGraphicsWidget, oQGraphicsWidget ) -> NIL - METHOD close // ( ) -> lBool - - ENDCLASS - - -METHOD QGraphicsWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGraphicsWidget( ... ) - RETURN Self - - -METHOD QGraphicsWidget:actions( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QGraphicsWidget_actions( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:addAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_addAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:adjustSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_adjustSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:focusPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_focusPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:focusWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsWidgetFromPointer( Qt_QGraphicsWidget_focusWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QGraphicsWidget_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:getContentsMargins( ... ) - 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_QGraphicsWidget_getContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:getWindowFrameMargins( ... ) - 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_QGraphicsWidget_getWindowFrameMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:grabShortcut( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_grabShortcut( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_grabShortcut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:insertAction( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_insertAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:isActiveWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_isActiveWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:layout( ... ) - SWITCH PCount() - CASE 0 - RETURN QGraphicsLayoutFromPointer( Qt_QGraphicsWidget_layout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:layoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_layoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:palette( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaletteFromPointer( Qt_QGraphicsWidget_palette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsWidget_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:releaseShortcut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_releaseShortcut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:removeAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_removeAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:resize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_resize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_resize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setAttribute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setContentsMargins( ... ) - 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_QGraphicsWidget_setContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setFocusPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setFocusPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setGeometry( ... ) - 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_QGraphicsWidget_setGeometry_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setLayout( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setLayoutDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setLayoutDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setPalette( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setPalette( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setShortcutAutoRepeat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_setShortcutAutoRepeat( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setShortcutAutoRepeat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setShortcutEnabled( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_setShortcutEnabled( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setShortcutEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setWindowFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setWindowFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setWindowFrameMargins( ... ) - 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_QGraphicsWidget_setWindowFrameMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setWindowTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_setWindowTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QGraphicsWidget_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:style( ... ) - SWITCH PCount() - CASE 0 - RETURN QStyleFromPointer( Qt_QGraphicsWidget_style( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:testAttribute( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGraphicsWidget_testAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:unsetLayoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_unsetLayoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:unsetWindowFrameMargins( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_unsetWindowFrameMargins( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:windowFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_windowFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:windowFrameGeometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsWidget_windowFrameGeometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:windowFrameRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QGraphicsWidget_windowFrameRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:windowTitle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_windowTitle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:windowType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_windowType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:setTabOrder( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QGraphicsWidget_setTabOrder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGraphicsWidget:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGraphicsWidget_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg deleted file mode 100644 index d6b777a1ae..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGridLayout.prg +++ /dev/null @@ -1,394 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGridLayout( ... ) - RETURN HB_QGridLayout():new( ... ) - -FUNCTION QGridLayoutFromPointer( ... ) - RETURN HB_QGridLayout():fromPointer( ... ) - - -CREATE CLASS QGridLayout INHERIT HbQtObjectHandler, HB_QLayout FUNCTION HB_QGridLayout - - METHOD new( ... ) - - METHOD addItem // ( oQLayoutItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - METHOD addLayout // ( oQLayout, nRow, nColumn, nAlignment ) -> NIL - // ( oQLayout, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - METHOD addWidget // ( oQWidget, nRow, nColumn, nAlignment ) -> NIL - // ( oQWidget, nFromRow, nFromColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL - METHOD cellRect // ( nRow, nColumn ) -> oQRect - METHOD columnCount // ( ) -> nInt - METHOD columnMinimumWidth // ( nColumn ) -> nInt - METHOD columnStretch // ( nColumn ) -> nInt - METHOD getItemPosition // ( nIndex, @nRow, @nColumn, @nRowSpan, @nColumnSpan ) -> NIL - METHOD horizontalSpacing // ( ) -> nInt - METHOD itemAtPosition // ( nRow, nColumn ) -> oQLayoutItem - METHOD originCorner // ( ) -> nQt_Corner - METHOD rowCount // ( ) -> nInt - METHOD rowMinimumHeight // ( nRow ) -> nInt - METHOD rowStretch // ( nRow ) -> nInt - METHOD setColumnMinimumWidth // ( nColumn, nMinSize ) -> NIL - METHOD setColumnStretch // ( nColumn, nStretch ) -> NIL - METHOD setHorizontalSpacing // ( nSpacing ) -> NIL - METHOD setOriginCorner // ( nCorner ) -> NIL - METHOD setRowMinimumHeight // ( nRow, nMinSize ) -> NIL - METHOD setRowStretch // ( nRow, nStretch ) -> NIL - METHOD setSpacing // ( nSpacing ) -> NIL - METHOD setVerticalSpacing // ( nSpacing ) -> NIL - METHOD spacing // ( ) -> nInt - METHOD verticalSpacing // ( ) -> nInt - - ENDCLASS - - -METHOD QGridLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGridLayout( ... ) - RETURN Self - - -METHOD QGridLayout:addItem( ... ) - SWITCH PCount() - CASE 6 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QGridLayout_addItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QGridLayout_addItem( ::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 ) ) - RETURN Qt_QGridLayout_addItem( ::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 ) ) - RETURN Qt_QGridLayout_addItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:addLayout( ... ) - SWITCH PCount() - CASE 6 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QGridLayout_addLayout_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QGridLayout_addLayout_1( ::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 ) ) - RETURN Qt_QGridLayout_addLayout( ::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 ) ) - RETURN Qt_QGridLayout_addLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:addWidget( ... ) - SWITCH PCount() - CASE 6 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QGridLayout_addWidget_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QGridLayout_addWidget_1( ::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 ) ) - RETURN Qt_QGridLayout_addWidget( ::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 ) ) - RETURN Qt_QGridLayout_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:cellRect( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QRectFromPointer( Qt_QGridLayout_cellRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGridLayout_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:columnMinimumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_columnMinimumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:columnStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_columnStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:getItemPosition( ... ) - 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_QGridLayout_getItemPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:horizontalSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGridLayout_horizontalSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:itemAtPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QLayoutItemFromPointer( Qt_QGridLayout_itemAtPosition( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:originCorner( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGridLayout_originCorner( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:rowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGridLayout_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:rowMinimumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_rowMinimumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:rowStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_rowStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setColumnMinimumWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGridLayout_setColumnMinimumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setColumnStretch( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGridLayout_setColumnStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setHorizontalSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_setHorizontalSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setOriginCorner( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_setOriginCorner( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setRowMinimumHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGridLayout_setRowMinimumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setRowStretch( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QGridLayout_setRowStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:setVerticalSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGridLayout_setVerticalSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:spacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGridLayout_spacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGridLayout:verticalSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGridLayout_verticalSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg b/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg deleted file mode 100644 index f75dbf1945..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQGroupBox.prg +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QGroupBox( ... ) - RETURN HB_QGroupBox():new( ... ) - -FUNCTION QGroupBoxFromPointer( ... ) - RETURN HB_QGroupBox():fromPointer( ... ) - - -CREATE CLASS QGroupBox INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QGroupBox - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD isCheckable // ( ) -> lBool - METHOD isChecked // ( ) -> lBool - METHOD isFlat // ( ) -> lBool - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setCheckable // ( lCheckable ) -> NIL - METHOD setFlat // ( lFlat ) -> NIL - METHOD setTitle // ( cTitle ) -> NIL - METHOD title // ( ) -> cQString - METHOD setChecked // ( lChecked ) -> NIL - - ENDCLASS - - -METHOD QGroupBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QGroupBox( ... ) - RETURN Self - - -METHOD QGroupBox:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGroupBox_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:isCheckable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGroupBox_isCheckable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:isChecked( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGroupBox_isChecked( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:isFlat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGroupBox_isFlat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QGroupBox_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:setCheckable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGroupBox_setCheckable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:setFlat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGroupBox_setFlat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:setTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QGroupBox_setTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QGroupBox_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QGroupBox:setChecked( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QGroupBox_setChecked( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg deleted file mode 100644 index 6fdd71b3c7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQHBoxLayout.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QHBoxLayout( ... ) - RETURN HB_QHBoxLayout():new( ... ) - -FUNCTION QHBoxLayoutFromPointer( ... ) - RETURN HB_QHBoxLayout():fromPointer( ... ) - - -CREATE CLASS QHBoxLayout INHERIT HbQtObjectHandler, HB_QBoxLayout FUNCTION HB_QHBoxLayout - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QHBoxLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHBoxLayout( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg b/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg deleted file mode 100644 index bc3a94c7f9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQHeaderView.prg +++ /dev/null @@ -1,681 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QHeaderView( ... ) - RETURN HB_QHeaderView():new( ... ) - -FUNCTION QHeaderViewFromPointer( ... ) - RETURN HB_QHeaderView():fromPointer( ... ) - - -CREATE CLASS QHeaderView INHERIT HbQtObjectHandler, HB_QAbstractItemView FUNCTION HB_QHeaderView - - METHOD new( ... ) - - METHOD cascadingSectionResizes // ( ) -> lBool - METHOD count // ( ) -> nInt - METHOD defaultAlignment // ( ) -> nQt_Alignment - METHOD defaultSectionSize // ( ) -> nInt - METHOD hiddenSectionCount // ( ) -> nInt - METHOD hideSection // ( nLogicalIndex ) -> NIL - METHOD highlightSections // ( ) -> lBool - METHOD isClickable // ( ) -> lBool - METHOD isMovable // ( ) -> lBool - METHOD isSectionHidden // ( nLogicalIndex ) -> lBool - METHOD isSortIndicatorShown // ( ) -> lBool - METHOD length // ( ) -> nInt - METHOD logicalIndex // ( nVisualIndex ) -> nInt - METHOD logicalIndexAt // ( nPosition ) -> nInt - // ( nX, nY ) -> nInt - // ( oQPoint ) -> nInt - METHOD minimumSectionSize // ( ) -> nInt - METHOD moveSection // ( nFrom, nTo ) -> NIL - METHOD offset // ( ) -> nInt - METHOD orientation // ( ) -> nQt_Orientation - METHOD resizeMode // ( nLogicalIndex ) -> nResizeMode - METHOD resizeSection // ( nLogicalIndex, nSize ) -> NIL - METHOD resizeSections // ( nMode ) -> NIL - METHOD restoreState // ( oQByteArray ) -> lBool - METHOD saveState // ( ) -> oQByteArray - METHOD sectionPosition // ( nLogicalIndex ) -> nInt - METHOD sectionSize // ( nLogicalIndex ) -> nInt - METHOD sectionSizeHint // ( nLogicalIndex ) -> nInt - METHOD sectionViewportPosition // ( nLogicalIndex ) -> nInt - METHOD sectionsHidden // ( ) -> lBool - METHOD sectionsMoved // ( ) -> lBool - METHOD setCascadingSectionResizes // ( lEnable ) -> NIL - METHOD setClickable // ( lClickable ) -> NIL - METHOD setDefaultAlignment // ( nAlignment ) -> NIL - METHOD setDefaultSectionSize // ( nSize ) -> NIL - METHOD setHighlightSections // ( lHighlight ) -> NIL - METHOD setMinimumSectionSize // ( nSize ) -> NIL - METHOD setMovable // ( lMovable ) -> NIL - METHOD setResizeMode // ( nMode ) -> NIL - // ( nLogicalIndex, nMode ) -> NIL - METHOD setSectionHidden // ( nLogicalIndex, lHide ) -> NIL - METHOD setSortIndicator // ( nLogicalIndex, nOrder ) -> NIL - METHOD setSortIndicatorShown // ( lShow ) -> NIL - METHOD setStretchLastSection // ( lStretch ) -> NIL - METHOD showSection // ( nLogicalIndex ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD sortIndicatorOrder // ( ) -> nQt_SortOrder - METHOD sortIndicatorSection // ( ) -> nInt - METHOD stretchLastSection // ( ) -> lBool - METHOD stretchSectionCount // ( ) -> nInt - METHOD swapSections // ( nFirst, nSecond ) -> NIL - METHOD visualIndex // ( nLogicalIndex ) -> nInt - METHOD visualIndexAt // ( nPosition ) -> nInt - METHOD headerDataChanged // ( nOrientation, nLogicalFirst, nLogicalLast ) -> NIL - METHOD setOffset // ( nOffset ) -> NIL - METHOD setOffsetToLastSection // ( ) -> NIL - METHOD setOffsetToSectionPosition // ( nVisualIndex ) -> NIL - - ENDCLASS - - -METHOD QHeaderView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHeaderView( ... ) - RETURN Self - - -METHOD QHeaderView:cascadingSectionResizes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_cascadingSectionResizes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:defaultAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_defaultAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:defaultSectionSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_defaultSectionSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:hiddenSectionCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_hiddenSectionCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:hideSection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_hideSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:highlightSections( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_highlightSections( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:isClickable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_isClickable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:isMovable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_isMovable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:isSectionHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_isSectionHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:isSortIndicatorShown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_isSortIndicatorShown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:logicalIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_logicalIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:logicalIndexAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_logicalIndexAt_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_logicalIndexAt( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_logicalIndexAt_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:minimumSectionSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_minimumSectionSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:moveSection( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_moveSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:offset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_offset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:resizeMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_resizeMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:resizeSection( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_resizeSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:resizeSections( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_resizeSections( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:restoreState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_restoreState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:saveState( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QHeaderView_saveState( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sectionPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_sectionPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sectionSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_sectionSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sectionSizeHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_sectionSizeHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sectionViewportPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_sectionViewportPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sectionsHidden( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_sectionsHidden( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sectionsMoved( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_sectionsMoved( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setCascadingSectionResizes( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setCascadingSectionResizes( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setClickable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setClickable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setDefaultAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setDefaultAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setDefaultSectionSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setDefaultSectionSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setHighlightSections( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setHighlightSections( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setMinimumSectionSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setMinimumSectionSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setMovable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setMovable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setResizeMode( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_setResizeMode_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setResizeMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setSectionHidden( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_setSectionHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setSortIndicator( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_setSortIndicator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setSortIndicatorShown( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setSortIndicatorShown( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setStretchLastSection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setStretchLastSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:showSection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_showSection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QHeaderView_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sortIndicatorOrder( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_sortIndicatorOrder( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:sortIndicatorSection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_sortIndicatorSection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:stretchLastSection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_stretchLastSection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:stretchSectionCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_stretchSectionCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:swapSections( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHeaderView_swapSections( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:visualIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_visualIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:visualIndexAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_visualIndexAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:headerDataChanged( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QHeaderView_headerDataChanged( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setOffset( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setOffset( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setOffsetToLastSection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHeaderView_setOffsetToLastSection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHeaderView:setOffsetToSectionPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHeaderView_setOffsetToSectionPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg deleted file mode 100644 index 5834fa7917..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQHelpEvent.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QHelpEvent( ... ) - RETURN HB_QHelpEvent():new( ... ) - -FUNCTION QHelpEventFromPointer( ... ) - RETURN HB_QHelpEvent():fromPointer( ... ) - - -CREATE CLASS QHelpEvent INHERIT HbQtObjectHandler FUNCTION HB_QHelpEvent - - METHOD new( ... ) - - METHOD globalPos // ( ) -> oQPoint - METHOD globalX // ( ) -> nInt - METHOD globalY // ( ) -> nInt - METHOD pos // ( ) -> oQPoint - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - - ENDCLASS - - -METHOD QHelpEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHelpEvent( ... ) - RETURN Self - - -METHOD QHelpEvent:globalPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QHelpEvent_globalPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHelpEvent:globalX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHelpEvent_globalX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHelpEvent:globalY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHelpEvent_globalY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHelpEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QHelpEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHelpEvent:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHelpEvent_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHelpEvent:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHelpEvent_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg deleted file mode 100644 index c28d3a2616..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQHideEvent.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QHideEvent( ... ) - RETURN HB_QHideEvent():new( ... ) - -FUNCTION QHideEventFromPointer( ... ) - RETURN HB_QHideEvent():fromPointer( ... ) - - -CREATE CLASS QHideEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QHideEvent - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QHideEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHideEvent( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQIcon.prg b/harbour/contrib/hbqt/qtgui/g/TQIcon.prg deleted file mode 100644 index f1381af153..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQIcon.prg +++ /dev/null @@ -1,258 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QIcon( ... ) - RETURN HB_QIcon():new( ... ) - -FUNCTION QIconFromPointer( ... ) - RETURN HB_QIcon():fromPointer( ... ) - - -CREATE CLASS QIcon INHERIT HbQtObjectHandler FUNCTION HB_QIcon - - METHOD new( ... ) - - METHOD actualSize // ( oQSize, nMode, nState ) -> oQSize - METHOD addFile // ( cFileName, oQSize, nMode, nState ) -> NIL - METHOD addPixmap // ( oQPixmap, nMode, nState ) -> NIL - METHOD availableSizes // ( nMode, nState ) -> oQList_QSize> - METHOD cacheKey // ( ) -> nQint64 - METHOD isNull // ( ) -> lBool - METHOD paint // ( oQPainter, oQRect, nAlignment, nMode, nState ) -> NIL - // ( oQPainter, nX, nY, nW, nH, nAlignment, nMode, nState ) -> NIL - METHOD pixmap // ( oQSize, nMode, nState ) -> oQPixmap - // ( nW, nH, nMode, nState ) -> oQPixmap - - ENDCLASS - - -METHOD QIcon:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QIcon( ... ) - RETURN Self - - -METHOD QIcon:actualSize( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QSizeFromPointer( Qt_QIcon_actualSize( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QSizeFromPointer( Qt_QIcon_actualSize( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QSizeFromPointer( Qt_QIcon_actualSize( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:addFile( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QIcon_addFile( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QIcon_addFile( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QIcon_addFile( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QIcon_addFile( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:addPixmap( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QIcon_addPixmap( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QIcon_addPixmap( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QIcon_addPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:availableSizes( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QIcon_availableSizes( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QIcon_availableSizes( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QIcon_availableSizes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:cacheKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIcon_cacheKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIcon_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:paint( ... ) - SWITCH PCount() - CASE 8 - 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 ) ) .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 - EXIT - CASE 7 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) - RETURN Qt_QIcon_paint_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QIcon_paint_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QIcon_paint_1( ::pPtr, ... ) - 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 - EXIT - CASE 4 - DO CASE - 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_QIcon_paint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QIcon_paint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QIcon_paint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIcon:pixmap( ... ) - 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 QPixmapFromPointer( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QPixmapFromPointer( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QPixmapFromPointer( Qt_QIcon_pixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QIcon_pixmap_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QIcon_pixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QIcon_pixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQImage.prg b/harbour/contrib/hbqt/qtgui/g/TQImage.prg deleted file mode 100644 index a1486439e4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQImage.prg +++ /dev/null @@ -1,754 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QImage( ... ) - RETURN HB_QImage():new( ... ) - -FUNCTION QImageFromPointer( ... ) - RETURN HB_QImage():fromPointer( ... ) - - -CREATE CLASS QImage INHERIT HbQtObjectHandler FUNCTION HB_QImage - - METHOD new( ... ) - - METHOD allGray // ( ) -> lBool - METHOD alphaChannel // ( ) -> oQImage - METHOD bits // ( ) -> cUchar - METHOD bytesPerLine // ( ) -> nInt - METHOD cacheKey // ( ) -> nQint64 - METHOD color // ( nI ) -> nQRgb - METHOD convertToFormat // ( nFormat, nFlags ) -> oQImage - METHOD copy // ( oQRect ) -> oQImage - // ( nX, nY, nWidth, nHeight ) -> oQImage - METHOD createAlphaMask // ( nFlags ) -> oQImage - METHOD createHeuristicMask // ( lClipTight ) -> oQImage - METHOD createMaskFromColor // ( nColor, nMode ) -> oQImage - METHOD depth // ( ) -> nInt - METHOD dotsPerMeterX // ( ) -> nInt - METHOD dotsPerMeterY // ( ) -> nInt - METHOD fill // ( nPixelValue ) -> NIL - METHOD format // ( ) -> nFormat - METHOD hasAlphaChannel // ( ) -> lBool - METHOD height // ( ) -> nInt - METHOD invertPixels // ( nMode ) -> NIL - METHOD isGrayscale // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD load // ( cFileName, cFormat ) -> lBool - // ( oQIODevice, cFormat ) -> lBool - METHOD loadFromData // ( oQByteArray, cFormat ) -> lBool - METHOD mirrored // ( lHorizontal, lVertical ) -> oQImage - METHOD numBytes // ( ) -> nInt - METHOD numColors // ( ) -> nInt - METHOD offset // ( ) -> oQPoint - METHOD pixel // ( oQPoint ) -> nQRgb - // ( nX, nY ) -> nQRgb - METHOD pixelIndex // ( oQPoint ) -> nInt - // ( nX, nY ) -> nInt - METHOD rect // ( ) -> oQRect - METHOD rgbSwapped // ( ) -> oQImage - METHOD save // ( cFileName, cFormat, nQuality ) -> lBool - // ( oQIODevice, cFormat, nQuality ) -> lBool - METHOD scaled // ( oQSize, nAspectRatioMode, nTransformMode ) -> oQImage - // ( nWidth, nHeight, nAspectRatioMode, nTransformMode ) -> oQImage - METHOD scaledToHeight // ( nHeight, nMode ) -> oQImage - METHOD scaledToWidth // ( nWidth, nMode ) -> oQImage - METHOD scanLine // ( nI ) -> cUchar - METHOD setColor // ( nIndex, nColorValue ) -> NIL - METHOD setDotsPerMeterX // ( nX ) -> NIL - METHOD setDotsPerMeterY // ( nY ) -> NIL - METHOD setNumColors // ( nNumColors ) -> NIL - METHOD setOffset // ( oQPoint ) -> NIL - METHOD setPixel // ( oQPoint, nIndex_or_rgb ) -> NIL - // ( nX, nY, nIndex_or_rgb ) -> NIL - METHOD setText // ( cKey, cText ) -> NIL - METHOD size // ( ) -> oQSize - METHOD text // ( cKey ) -> cQString - METHOD textKeys // ( ) -> oQStringList - METHOD transformed // ( oQMatrix, nMode ) -> oQImage - // ( oQTransform, nMode ) -> oQImage - METHOD valid // ( oQPoint ) -> lBool - // ( nX, nY ) -> lBool - METHOD width // ( ) -> nInt - - ENDCLASS - - -METHOD QImage:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QImage( ... ) - RETURN Self - - -METHOD QImage:allGray( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_allGray( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:alphaChannel( ... ) - SWITCH PCount() - CASE 0 - RETURN QImageFromPointer( Qt_QImage_alphaChannel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:bits( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_bits( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:bytesPerLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_bytesPerLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:cacheKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_cacheKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:color( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_color( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:convertToFormat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_convertToFormat( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_convertToFormat( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:copy( ... ) - 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 QImageFromPointer( Qt_QImage_copy_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_copy( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QImageFromPointer( Qt_QImage_copy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:createAlphaMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_createAlphaMask( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QImageFromPointer( Qt_QImage_createAlphaMask( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:createHeuristicMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_createHeuristicMask( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QImageFromPointer( Qt_QImage_createHeuristicMask( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:createMaskFromColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_createMaskFromColor( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_createMaskFromColor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:depth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_depth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:dotsPerMeterX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_dotsPerMeterX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:dotsPerMeterY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_dotsPerMeterY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:fill( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_fill( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:format( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_format( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:hasAlphaChannel( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_hasAlphaChannel( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:invertPixels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_invertPixels( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QImage_invertPixels( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:isGrayscale( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_isGrayscale( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:load( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImage_load( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImage_load_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QImage_load( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:loadFromData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImage_loadFromData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImage_loadFromData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:mirrored( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_mirrored( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_mirrored( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QImageFromPointer( Qt_QImage_mirrored( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:numBytes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_numBytes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:numColors( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_numColors( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:offset( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QImage_offset( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:pixel( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QImage_pixel_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImage_pixel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:pixelIndex( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QImage_pixelIndex_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImage_pixelIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QImage_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:rgbSwapped( ... ) - SWITCH PCount() - CASE 0 - RETURN QImageFromPointer( Qt_QImage_rgbSwapped( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:save( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QImage_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QImage_save_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImage_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImage_save_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QImage_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImage_save_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:scaled( ... ) - 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 QImageFromPointer( Qt_QImage_scaled_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QImageFromPointer( Qt_QImage_scaled_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QImageFromPointer( Qt_QImage_scaled( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_scaled_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_scaled( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_scaled( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:scaledToHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_scaledToHeight( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_scaledToHeight( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:scaledToWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QImageFromPointer( Qt_QImage_scaledToWidth( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QImageFromPointer( Qt_QImage_scaledToWidth( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:scanLine( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_scanLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QImage_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setDotsPerMeterX( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_setDotsPerMeterX( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setDotsPerMeterY( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_setDotsPerMeterY( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setNumColors( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImage_setNumColors( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setOffset( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImage_setOffset( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setPixel( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QImage_setPixel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:setText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImage_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QImage_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:text( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QImage_text( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QImage_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:textKeys( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QImage_textKeys( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:transformed( ... ) - 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 QImageFromPointer( Qt_QImage_transformed( ::pPtr, ... ) ) - CASE "QTRANSFORM" - RETURN QImageFromPointer( 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 QImageFromPointer( Qt_QImage_transformed( ::pPtr, ... ) ) - CASE "QTRANSFORM" - RETURN QImageFromPointer( Qt_QImage_transformed_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:valid( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QImage_valid_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImage_valid( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImage:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImage_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg b/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg deleted file mode 100644 index 5127a032dc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQImageReader.prg +++ /dev/null @@ -1,439 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QImageReader( ... ) - RETURN HB_QImageReader():new( ... ) - -FUNCTION QImageReaderFromPointer( ... ) - RETURN HB_QImageReader():fromPointer( ... ) - - -CREATE CLASS QImageReader INHERIT HbQtObjectHandler FUNCTION HB_QImageReader - - METHOD new( ... ) - - METHOD autoDetectImageFormat // ( ) -> lBool - METHOD backgroundColor // ( ) -> oQColor - METHOD canRead // ( ) -> lBool - METHOD clipRect // ( ) -> oQRect - METHOD currentImageNumber // ( ) -> nInt - METHOD currentImageRect // ( ) -> oQRect - METHOD device // ( ) -> oQIODevice - METHOD error // ( ) -> nImageReaderError - METHOD errorString // ( ) -> cQString - METHOD fileName // ( ) -> cQString - METHOD format // ( ) -> oQByteArray - METHOD imageCount // ( ) -> nInt - METHOD imageFormat // ( ) -> nQImage_Format - METHOD jumpToImage // ( nImageNumber ) -> lBool - METHOD jumpToNextImage // ( ) -> lBool - METHOD loopCount // ( ) -> nInt - METHOD nextImageDelay // ( ) -> nInt - METHOD quality // ( ) -> nInt - METHOD read // ( ) -> oQImage - // ( oQImage ) -> lBool - METHOD scaledClipRect // ( ) -> oQRect - METHOD scaledSize // ( ) -> oQSize - METHOD setAutoDetectImageFormat // ( lEnabled ) -> NIL - METHOD setBackgroundColor // ( oQColor ) -> NIL - METHOD setClipRect // ( oQRect ) -> NIL - METHOD setDevice // ( oQIODevice ) -> NIL - METHOD setFileName // ( cFileName ) -> NIL - METHOD setFormat // ( oQByteArray ) -> NIL - METHOD setQuality // ( nQuality ) -> NIL - METHOD setScaledClipRect // ( oQRect ) -> NIL - METHOD setScaledSize // ( oQSize ) -> NIL - METHOD size // ( ) -> oQSize - METHOD supportsAnimation // ( ) -> lBool - METHOD supportsOption // ( nOption ) -> lBool - METHOD text // ( cKey ) -> cQString - METHOD textKeys // ( ) -> oQStringList - // ( cFileName ) -> oQByteArray - // ( oQIODevice ) -> oQByteArray - METHOD supportedImageFormats // ( ) -> oQList_QByteArray> - - ENDCLASS - - -METHOD QImageReader:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QImageReader( ... ) - RETURN Self - - -METHOD QImageReader:autoDetectImageFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_autoDetectImageFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:backgroundColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QImageReader_backgroundColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:canRead( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_canRead( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:clipRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QImageReader_clipRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:currentImageNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_currentImageNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:currentImageRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QImageReader_currentImageRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QImageReader_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:error( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_error( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QImageReader_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:imageCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_imageCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:imageFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QImageReader_imageFormat_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QImageReader_imageFormat_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QImageReader_imageFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:jumpToImage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_jumpToImage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:jumpToNextImage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_jumpToNextImage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:loopCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_loopCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:nextImageDelay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_nextImageDelay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:quality( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_quality( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_read_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN QImageFromPointer( Qt_QImageReader_read( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:scaledClipRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QImageReader_scaledClipRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:scaledSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QImageReader_scaledSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setAutoDetectImageFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setAutoDetectImageFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setClipRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setClipRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setQuality( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setQuality( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setScaledClipRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setScaledClipRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:setScaledSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_setScaledSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QImageReader_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:supportsAnimation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageReader_supportsAnimation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:supportsOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_supportsOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:text( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QImageReader_text( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:textKeys( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QImageReader_textKeys( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageReader:supportedImageFormats( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QImageReader_supportedImageFormats( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg b/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg deleted file mode 100644 index 322f279e56..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQImageWriter.prg +++ /dev/null @@ -1,257 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QImageWriter( ... ) - RETURN HB_QImageWriter():new( ... ) - -FUNCTION QImageWriterFromPointer( ... ) - RETURN HB_QImageWriter():fromPointer( ... ) - - -CREATE CLASS QImageWriter INHERIT HbQtObjectHandler FUNCTION HB_QImageWriter - - METHOD new( ... ) - - METHOD canWrite // ( ) -> lBool - METHOD compression // ( ) -> nInt - METHOD device // ( ) -> oQIODevice - METHOD error // ( ) -> nImageWriterError - METHOD errorString // ( ) -> cQString - METHOD fileName // ( ) -> cQString - METHOD format // ( ) -> oQByteArray - METHOD gamma // ( ) -> nFloat - METHOD quality // ( ) -> nInt - METHOD setCompression // ( nCompression ) -> NIL - METHOD setDevice // ( oQIODevice ) -> NIL - METHOD setFileName // ( cFileName ) -> NIL - METHOD setFormat // ( oQByteArray ) -> NIL - METHOD setGamma // ( nGamma ) -> NIL - METHOD setQuality // ( nQuality ) -> NIL - METHOD setText // ( cKey, cText ) -> NIL - METHOD supportsOption // ( nOption ) -> lBool - METHOD write // ( oQImage ) -> lBool - METHOD supportedImageFormats // ( ) -> oQList_QByteArray> - - ENDCLASS - - -METHOD QImageWriter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QImageWriter( ... ) - RETURN Self - - -METHOD QImageWriter:canWrite( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_canWrite( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:compression( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_compression( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QImageWriter_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:error( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_error( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QImageWriter_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:gamma( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_gamma( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:quality( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QImageWriter_quality( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setCompression( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_setCompression( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_setDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_setFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setGamma( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_setGamma( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setQuality( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_setQuality( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:setText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QImageWriter_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:supportsOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_supportsOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:write( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QImageWriter_write( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QImageWriter:supportedImageFormats( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QImageWriter_supportedImageFormats( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg deleted file mode 100644 index 384aa93aa9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQInputDialog.prg +++ /dev/null @@ -1,680 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QInputDialog( ... ) - RETURN HB_QInputDialog():new( ... ) - -FUNCTION QInputDialogFromPointer( ... ) - RETURN HB_QInputDialog():fromPointer( ... ) - - -CREATE CLASS QInputDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QInputDialog - - METHOD new( ... ) - - METHOD cancelButtonText // ( ) -> cQString - METHOD comboBoxItems // ( ) -> oQStringList - METHOD done // ( nResult ) -> NIL - METHOD doubleDecimals // ( ) -> nInt - METHOD doubleMaximum // ( ) -> nDouble - METHOD doubleMinimum // ( ) -> nDouble - METHOD doubleValue // ( ) -> nDouble - METHOD inputMode // ( ) -> nInputMode - METHOD intMaximum // ( ) -> nInt - METHOD intMinimum // ( ) -> nInt - METHOD intStep // ( ) -> nInt - METHOD intValue // ( ) -> nInt - METHOD isComboBoxEditable // ( ) -> lBool - METHOD labelText // ( ) -> cQString - METHOD okButtonText // ( ) -> cQString - METHOD open // ( oQObject, cMember ) -> NIL - METHOD options // ( ) -> nInputDialogOptions - METHOD setCancelButtonText // ( cText ) -> NIL - METHOD setComboBoxEditable // ( lEditable ) -> NIL - METHOD setComboBoxItems // ( oQStringList ) -> NIL - METHOD setDoubleDecimals // ( nDecimals ) -> NIL - METHOD setDoubleMaximum // ( nMax ) -> NIL - METHOD setDoubleMinimum // ( nMin ) -> NIL - METHOD setDoubleRange // ( nMin, nMax ) -> NIL - METHOD setDoubleValue // ( nValue ) -> NIL - METHOD setInputMode // ( nMode ) -> NIL - METHOD setIntMaximum // ( nMax ) -> NIL - METHOD setIntMinimum // ( nMin ) -> NIL - METHOD setIntRange // ( nMin, nMax ) -> NIL - METHOD setIntStep // ( nStep ) -> NIL - METHOD setIntValue // ( nValue ) -> NIL - METHOD setLabelText // ( cText ) -> NIL - METHOD setOkButtonText // ( cText ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD setTextEchoMode // ( nMode ) -> NIL - METHOD setTextValue // ( cText ) -> NIL - METHOD testOption // ( nOption ) -> lBool - METHOD textEchoMode // ( ) -> nQLineEdit_EchoMode - METHOD textValue // ( ) -> cQString - METHOD getDouble // ( oQWidget, cTitle, cLabel, nValue, nMin, nMax, nDecimals, @lOk, nFlags ) -> nDouble - METHOD getInt // ( oQWidget, cTitle, cLabel, nValue, nMin, nMax, nStep, @lOk, nFlags ) -> nInt - METHOD getItem // ( oQWidget, cTitle, cLabel, oQStringList, nCurrent, lEditable, @lOk, nFlags ) -> cQString - METHOD getText // ( oQWidget, cTitle, cLabel, nMode, cText, @lOk, nFlags ) -> cQString - - ENDCLASS - - -METHOD QInputDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QInputDialog( ... ) - RETURN Self - - -METHOD QInputDialog:cancelButtonText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_cancelButtonText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:comboBoxItems( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QInputDialog_comboBoxItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:done( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_done( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:doubleDecimals( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_doubleDecimals( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:doubleMaximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_doubleMaximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:doubleMinimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_doubleMinimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:doubleValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_doubleValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:inputMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_inputMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:intMaximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_intMaximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:intMinimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_intMinimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:intStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_intStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:intValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_intValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:isComboBoxEditable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_isComboBoxEditable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:labelText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_labelText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:okButtonText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_okButtonText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QInputDialog_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setCancelButtonText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setCancelButtonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setComboBoxEditable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setComboBoxEditable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setComboBoxItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setComboBoxItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setDoubleDecimals( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setDoubleDecimals( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setDoubleMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setDoubleMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setDoubleMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setDoubleMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setDoubleRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QInputDialog_setDoubleRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setDoubleValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setDoubleValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setInputMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setInputMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setIntMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setIntMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setIntMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setIntMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setIntRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QInputDialog_setIntRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setIntStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setIntStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setIntValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setIntValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setLabelText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setLabelText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setOkButtonText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setOkButtonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QInputDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setTextEchoMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setTextEchoMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:setTextValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_setTextValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QInputDialog_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:textEchoMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_textEchoMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:textValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputDialog_textValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:getDouble( ... ) - SWITCH PCount() - CASE 9 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( 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_isLogical( hb_pvalue( 8 ) ) .AND. hb_isNumeric( hb_pvalue( 9 ) ) - RETURN Qt_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 8 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( 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_isLogical( hb_pvalue( 8 ) ) - RETURN Qt_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 7 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( 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_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QInputDialog_getDouble( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:getInt( ... ) - SWITCH PCount() - CASE 9 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( 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_isLogical( hb_pvalue( 8 ) ) .AND. hb_isNumeric( hb_pvalue( 9 ) ) - RETURN Qt_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 8 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( 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_isLogical( hb_pvalue( 8 ) ) - RETURN Qt_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 7 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( 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_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QInputDialog_getInt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:getItem( ... ) - SWITCH PCount() - CASE 8 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) .AND. hb_isLogical( hb_pvalue( 7 ) ) .AND. hb_isNumeric( hb_pvalue( 8 ) ) - RETURN Qt_QInputDialog_getItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 7 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) .AND. hb_isLogical( hb_pvalue( 7 ) ) - RETURN Qt_QInputDialog_getItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) - RETURN Qt_QInputDialog_getItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QInputDialog_getItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QInputDialog_getItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputDialog:getText( ... ) - SWITCH PCount() - CASE 7 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isChar( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) - RETURN Qt_QInputDialog_getText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isChar( hb_pvalue( 5 ) ) .AND. hb_isLogical( hb_pvalue( 6 ) ) - RETURN Qt_QInputDialog_getText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isChar( hb_pvalue( 5 ) ) - RETURN Qt_QInputDialog_getText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QInputDialog_getText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QInputDialog_getText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg deleted file mode 100644 index 492709cce7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQInputEvent.prg +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QInputEvent( ... ) - RETURN HB_QInputEvent():new( ... ) - -FUNCTION QInputEventFromPointer( ... ) - RETURN HB_QInputEvent():fromPointer( ... ) - - -CREATE CLASS QInputEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QInputEvent - - METHOD new( ... ) - - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - - ENDCLASS - - -METHOD QInputEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QInputEvent( ... ) - RETURN Self - - -METHOD QInputEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg deleted file mode 100644 index 0b92bf2662..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQInputMethodEvent.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QInputMethodEvent( ... ) - RETURN HB_QInputMethodEvent():new( ... ) - -FUNCTION QInputMethodEventFromPointer( ... ) - RETURN HB_QInputMethodEvent():fromPointer( ... ) - - -CREATE CLASS QInputMethodEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QInputMethodEvent - - METHOD new( ... ) - - METHOD commitString // ( ) -> cQString - METHOD preeditString // ( ) -> cQString - METHOD replacementLength // ( ) -> nInt - METHOD replacementStart // ( ) -> nInt - METHOD setCommitString // ( cCommitString, nReplaceFrom, nReplaceLength ) -> NIL - - ENDCLASS - - -METHOD QInputMethodEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QInputMethodEvent( ... ) - RETURN Self - - -METHOD QInputMethodEvent:commitString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputMethodEvent_commitString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputMethodEvent:preeditString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputMethodEvent_preeditString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputMethodEvent:replacementLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputMethodEvent_replacementLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputMethodEvent:replacementStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QInputMethodEvent_replacementStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QInputMethodEvent:setCommitString( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QInputMethodEvent_setCommitString( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QInputMethodEvent_setCommitString( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QInputMethodEvent_setCommitString( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg deleted file mode 100644 index da0a55a872..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QIntValidator( ... ) - RETURN HB_QIntValidator():new( ... ) - -FUNCTION QIntValidatorFromPointer( ... ) - RETURN HB_QIntValidator():fromPointer( ... ) - - -CREATE CLASS QIntValidator INHERIT HbQtObjectHandler, HB_QValidator FUNCTION HB_QIntValidator - - METHOD new( ... ) - - METHOD bottom // ( ) -> nInt - METHOD setBottom // ( nInt ) -> NIL - METHOD setRange // ( nBottom, nTop ) -> NIL - METHOD setTop // ( nInt ) -> NIL - METHOD top // ( ) -> nInt - - ENDCLASS - - -METHOD QIntValidator:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QIntValidator( ... ) - RETURN Self - - -METHOD QIntValidator:bottom( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIntValidator_bottom( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIntValidator:setBottom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIntValidator_setBottom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIntValidator:setRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QIntValidator_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIntValidator:setTop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QIntValidator_setTop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QIntValidator:top( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QIntValidator_top( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg b/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg deleted file mode 100644 index a79da4a66d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQItemDelegate.prg +++ /dev/null @@ -1,172 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QItemDelegate( ... ) - RETURN HB_QItemDelegate():new( ... ) - -FUNCTION QItemDelegateFromPointer( ... ) - RETURN HB_QItemDelegate():fromPointer( ... ) - - -CREATE CLASS QItemDelegate INHERIT HbQtObjectHandler, HB_QAbstractItemDelegate FUNCTION HB_QItemDelegate - - METHOD new( ... ) - - METHOD hasClipping // ( ) -> lBool - METHOD itemEditorFactory // ( ) -> oQItemEditorFactory - METHOD setClipping // ( lClip ) -> NIL - METHOD setItemEditorFactory // ( oQItemEditorFactory ) -> NIL - METHOD createEditor // ( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> oQWidget - METHOD paint // ( oQPainter, oQStyleOptionViewItem, oQModelIndex ) -> NIL - METHOD setEditorData // ( oQWidget, oQModelIndex ) -> NIL - METHOD setModelData // ( oQWidget, oQAbstractItemModel, oQModelIndex ) -> NIL - METHOD sizeHint // ( oQStyleOptionViewItem, oQModelIndex ) -> oQSize - METHOD updateEditorGeometry // ( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> NIL - - ENDCLASS - - -METHOD QItemDelegate:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QItemDelegate( ... ) - RETURN Self - - -METHOD QItemDelegate:hasClipping( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QItemDelegate_hasClipping( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:itemEditorFactory( ... ) - SWITCH PCount() - CASE 0 - RETURN QItemEditorFactoryFromPointer( Qt_QItemDelegate_itemEditorFactory( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:setClipping( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QItemDelegate_setClipping( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:setItemEditorFactory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QItemDelegate_setItemEditorFactory( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:createEditor( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QWidgetFromPointer( Qt_QItemDelegate_createEditor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:paint( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QItemDelegate_paint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:setEditorData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemDelegate_setEditorData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:setModelData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QItemDelegate_setModelData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:sizeHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QSizeFromPointer( Qt_QItemDelegate_sizeHint( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemDelegate:updateEditorGeometry( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QItemDelegate_updateEditorGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg b/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg deleted file mode 100644 index 2008151bea..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQItemEditorCreatorBase.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QItemEditorCreatorBase( ... ) - RETURN HB_QItemEditorCreatorBase():new( ... ) - -FUNCTION QItemEditorCreatorBaseFromPointer( ... ) - RETURN HB_QItemEditorCreatorBase():fromPointer( ... ) - - -CREATE CLASS QItemEditorCreatorBase INHERIT HbQtObjectHandler FUNCTION HB_QItemEditorCreatorBase - - METHOD new( ... ) - - METHOD createWidget // ( oQWidget ) -> oQWidget - METHOD valuePropertyName // ( ) -> oQByteArray - - ENDCLASS - - -METHOD QItemEditorCreatorBase:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QItemEditorCreatorBase( ... ) - RETURN Self - - -METHOD QItemEditorCreatorBase:createWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QItemEditorCreatorBase_createWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemEditorCreatorBase:valuePropertyName( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QItemEditorCreatorBase_valuePropertyName( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg b/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg deleted file mode 100644 index 5733e1525e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQItemEditorFactory.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QItemEditorFactory( ... ) - RETURN HB_QItemEditorFactory():new( ... ) - -FUNCTION QItemEditorFactoryFromPointer( ... ) - RETURN HB_QItemEditorFactory():fromPointer( ... ) - - -CREATE CLASS QItemEditorFactory INHERIT HbQtObjectHandler FUNCTION HB_QItemEditorFactory - - METHOD new( ... ) - - METHOD createEditor // ( nType, oQWidget ) -> oQWidget - METHOD registerEditor // ( nType, oQItemEditorCreatorBase ) -> NIL - METHOD valuePropertyName // ( nType ) -> oQByteArray - METHOD setDefaultFactory // ( oQItemEditorFactory ) -> NIL - - ENDCLASS - - -METHOD QItemEditorFactory:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QItemEditorFactory( ... ) - RETURN Self - - -METHOD QItemEditorFactory:createEditor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QItemEditorFactory_createEditor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemEditorFactory:registerEditor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemEditorFactory_registerEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemEditorFactory:valuePropertyName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QItemEditorFactory_valuePropertyName( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemEditorFactory:setDefaultFactory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QItemEditorFactory_setDefaultFactory( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg b/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg deleted file mode 100644 index 250835b511..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQItemSelection.prg +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QItemSelection( ... ) - RETURN HB_QItemSelection():new( ... ) - -FUNCTION QItemSelectionFromPointer( ... ) - RETURN HB_QItemSelection():fromPointer( ... ) - - -CREATE CLASS QItemSelection INHERIT HbQtObjectHandler, HB_QList FUNCTION HB_QItemSelection - - METHOD new( ... ) - - METHOD contains // ( oQModelIndex ) -> lBool - METHOD merge // ( oQItemSelection, nCommand ) -> NIL - METHOD select // ( oQModelIndex, oQModelIndex ) -> NIL - - ENDCLASS - - -METHOD QItemSelection:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QItemSelection( ... ) - RETURN Self - - -METHOD QItemSelection:contains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QItemSelection_contains( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelection:merge( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelection_merge( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelection:select( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelection_select( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg b/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg deleted file mode 100644 index 659c674bb2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQItemSelectionModel.prg +++ /dev/null @@ -1,210 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QItemSelectionModel( ... ) - RETURN HB_QItemSelectionModel():new( ... ) - -FUNCTION QItemSelectionModelFromPointer( ... ) - RETURN HB_QItemSelectionModel():fromPointer( ... ) - - -CREATE CLASS QItemSelectionModel INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QItemSelectionModel - - METHOD new( ... ) - - METHOD columnIntersectsSelection // ( nColumn, oQModelIndex ) -> lBool - METHOD currentIndex // ( ) -> oQModelIndex - METHOD hasSelection // ( ) -> lBool - METHOD isColumnSelected // ( nColumn, oQModelIndex ) -> lBool - METHOD isRowSelected // ( nRow, oQModelIndex ) -> lBool - METHOD isSelected // ( oQModelIndex ) -> lBool - METHOD model // ( ) -> oQAbstractItemModel - METHOD rowIntersectsSelection // ( nRow, oQModelIndex ) -> lBool - METHOD selection // ( ) -> oQItemSelection - METHOD clear // ( ) -> NIL - METHOD clearSelection // ( ) -> NIL - METHOD reset // ( ) -> NIL - METHOD select // ( oQModelIndex, nCommand ) -> NIL - // ( oQItemSelection, nCommand ) -> NIL - METHOD setCurrentIndex // ( oQModelIndex, nCommand ) -> NIL - - ENDCLASS - - -METHOD QItemSelectionModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QItemSelectionModel( ... ) - RETURN Self - - -METHOD QItemSelectionModel:columnIntersectsSelection( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelectionModel_columnIntersectsSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QItemSelectionModel_currentIndex( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:hasSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QItemSelectionModel_hasSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:isColumnSelected( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelectionModel_isColumnSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:isRowSelected( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelectionModel_isRowSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:isSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QItemSelectionModel_isSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:model( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractItemModelFromPointer( Qt_QItemSelectionModel_model( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:rowIntersectsSelection( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelectionModel_rowIntersectsSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:selection( ... ) - SWITCH PCount() - CASE 0 - RETURN QItemSelectionFromPointer( Qt_QItemSelectionModel_selection( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QItemSelectionModel_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:clearSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QItemSelectionModel_clearSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QItemSelectionModel_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:select( ... ) - SWITCH PCount() - CASE 2 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QItemSelectionModel:setCurrentIndex( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QItemSelectionModel_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg deleted file mode 100644 index d05a0723eb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQKeyEvent.prg +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QKeyEvent( ... ) - RETURN HB_QKeyEvent():new( ... ) - -FUNCTION QKeyEventFromPointer( ... ) - RETURN HB_QKeyEvent():fromPointer( ... ) - - -CREATE CLASS QKeyEvent INHERIT HbQtObjectHandler, HB_QInputEvent FUNCTION HB_QKeyEvent - - METHOD new( ... ) - - METHOD count // ( ) -> nInt - METHOD isAutoRepeat // ( ) -> lBool - METHOD key // ( ) -> nInt - METHOD matches // ( nKey ) -> lBool - METHOD modifiers // ( ) -> nQt_KeyboardModifiers - METHOD nativeModifiers // ( ) -> nQuint32 - METHOD nativeScanCode // ( ) -> nQuint32 - METHOD nativeVirtualKey // ( ) -> nQuint32 - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QKeyEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QKeyEvent( ... ) - RETURN Self - - -METHOD QKeyEvent:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:isAutoRepeat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_isAutoRepeat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:key( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_key( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:matches( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QKeyEvent_matches( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:modifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_modifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:nativeModifiers( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_nativeModifiers( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:nativeScanCode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_nativeScanCode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:nativeVirtualKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_nativeVirtualKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeyEvent:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeyEvent_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg b/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg deleted file mode 100644 index bfca224e39..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQKeySequence.prg +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QKeySequence( ... ) - RETURN HB_QKeySequence():new( ... ) - -FUNCTION QKeySequenceFromPointer( ... ) - RETURN HB_QKeySequence():fromPointer( ... ) - - -CREATE CLASS QKeySequence INHERIT HbQtObjectHandler FUNCTION HB_QKeySequence - - METHOD new( ... ) - - METHOD count // ( ) -> nUint - METHOD isEmpty // ( ) -> lBool - METHOD matches // ( oQKeySequence ) -> nSequenceMatch - METHOD toString // ( nFormat ) -> cQString - METHOD fromString // ( cStr, nFormat ) -> oQKeySequence - METHOD keyBindings // ( nKey ) -> oQList_QKeySequence> - METHOD mnemonic // ( cText ) -> oQKeySequence - - ENDCLASS - - -METHOD QKeySequence:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QKeySequence( ... ) - RETURN Self - - -METHOD QKeySequence:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeySequence_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeySequence:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QKeySequence_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeySequence:matches( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QKeySequence_matches( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeySequence:toString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QKeySequence_toString( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QKeySequence_toString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeySequence:fromString( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QKeySequenceFromPointer( Qt_QKeySequence_fromString( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QKeySequenceFromPointer( Qt_QKeySequence_fromString( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeySequence:keyBindings( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QKeySequence_keyBindings( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QKeySequence:mnemonic( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QKeySequenceFromPointer( Qt_QKeySequence_mnemonic( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg b/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg deleted file mode 100644 index fe7121175e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQLCDNumber.prg +++ /dev/null @@ -1,225 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QLCDNumber( ... ) - RETURN HB_QLCDNumber():new( ... ) - -FUNCTION QLCDNumberFromPointer( ... ) - RETURN HB_QLCDNumber():fromPointer( ... ) - - -CREATE CLASS QLCDNumber INHERIT HbQtObjectHandler, HB_QFrame FUNCTION HB_QLCDNumber - - METHOD new( ... ) - - METHOD checkOverflow // ( nNum ) -> lBool - // ( nNum ) -> lBool - METHOD intValue // ( ) -> nInt - METHOD mode // ( ) -> nMode - METHOD numDigits // ( ) -> nInt - METHOD segmentStyle // ( ) -> nSegmentStyle - METHOD setMode // ( nMode ) -> NIL - METHOD setNumDigits // ( nNDigits ) -> NIL - METHOD setSegmentStyle // ( nSegmentStyle ) -> NIL - METHOD smallDecimalPoint // ( ) -> lBool - METHOD value // ( ) -> nDouble - METHOD display // ( cS ) -> NIL - // ( nNum ) -> NIL - // ( nNum ) -> NIL - METHOD setBinMode // ( ) -> NIL - METHOD setDecMode // ( ) -> NIL - METHOD setHexMode // ( ) -> NIL - METHOD setOctMode // ( ) -> NIL - METHOD setSmallDecimalPoint // ( lBool ) -> NIL - - ENDCLASS - - -METHOD QLCDNumber:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLCDNumber( ... ) - RETURN Self - - -METHOD QLCDNumber:checkOverflow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_checkOverflow( ::pPtr, ... ) - // RETURN Qt_QLCDNumber_checkOverflow_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:intValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_intValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:mode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_mode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:numDigits( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_numDigits( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:segmentStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_segmentStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_setMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setNumDigits( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_setNumDigits( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setSegmentStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_setSegmentStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:smallDecimalPoint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_smallDecimalPoint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:display( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_display( ::pPtr, ... ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_display_1( ::pPtr, ... ) - // RETURN Qt_QLCDNumber_display_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setBinMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_setBinMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setDecMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_setDecMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setHexMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_setHexMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setOctMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLCDNumber_setOctMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLCDNumber:setSmallDecimalPoint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLCDNumber_setSmallDecimalPoint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQLabel.prg b/harbour/contrib/hbqt/qtgui/g/TQLabel.prg deleted file mode 100644 index 39e9af534c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQLabel.prg +++ /dev/null @@ -1,360 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QLabel( ... ) - RETURN HB_QLabel():new( ... ) - -FUNCTION QLabelFromPointer( ... ) - RETURN HB_QLabel():fromPointer( ... ) - - -CREATE CLASS QLabel INHERIT HbQtObjectHandler, HB_QFrame FUNCTION HB_QLabel - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD buddy // ( ) -> oQWidget - METHOD hasScaledContents // ( ) -> lBool - METHOD indent // ( ) -> nInt - METHOD margin // ( ) -> nInt - METHOD movie // ( ) -> oQMovie - METHOD openExternalLinks // ( ) -> lBool - METHOD picture // ( ) -> oQPicture - METHOD pixmap // ( ) -> oQPixmap - METHOD setAlignment // ( nQt::Alignment ) -> NIL - METHOD setBuddy // ( oQWidget ) -> NIL - METHOD setIndent // ( nInt ) -> NIL - METHOD setMargin // ( nInt ) -> NIL - METHOD setOpenExternalLinks // ( lOpen ) -> NIL - METHOD setScaledContents // ( lBool ) -> NIL - METHOD setTextFormat // ( nQt::TextFormat ) -> NIL - METHOD setTextInteractionFlags // ( nFlags ) -> NIL - METHOD setWordWrap // ( lOn ) -> NIL - METHOD text // ( ) -> cQString - METHOD textFormat // ( ) -> nQt_TextFormat - METHOD textInteractionFlags // ( ) -> nQt_TextInteractionFlags - METHOD wordWrap // ( ) -> lBool - METHOD clear // ( ) -> NIL - METHOD setMovie // ( oQMovie ) -> NIL - METHOD setNum // ( nNum ) -> NIL - // ( nNum ) -> NIL - METHOD setPicture // ( oQPicture ) -> NIL - METHOD setPixmap // ( oQPixmap ) -> NIL - METHOD setText // ( cQString ) -> NIL - - ENDCLASS - - -METHOD QLabel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLabel( ... ) - RETURN Self - - -METHOD QLabel:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:buddy( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QLabel_buddy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:hasScaledContents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_hasScaledContents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:indent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_indent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:margin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_margin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:movie( ... ) - SWITCH PCount() - CASE 0 - RETURN QMovieFromPointer( Qt_QLabel_movie( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:openExternalLinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_openExternalLinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:picture( ... ) - SWITCH PCount() - CASE 0 - RETURN QPictureFromPointer( Qt_QLabel_picture( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QLabel_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setBuddy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setBuddy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setIndent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setIndent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setOpenExternalLinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setOpenExternalLinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setScaledContents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setScaledContents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setTextFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setTextFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setTextInteractionFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setTextInteractionFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setWordWrap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setWordWrap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:textFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_textFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:textInteractionFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_textInteractionFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:wordWrap( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_wordWrap( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLabel_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setMovie( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setMovie( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setNum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setNum( ::pPtr, ... ) - // RETURN Qt_QLabel_setNum_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setPicture( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setPicture( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLabel:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLabel_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQLayout.prg deleted file mode 100644 index 838938ae88..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQLayout.prg +++ /dev/null @@ -1,366 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QLayout( ... ) - RETURN HB_QLayout():new( ... ) - -FUNCTION QLayoutFromPointer( ... ) - RETURN HB_QLayout():fromPointer( ... ) - - -CREATE CLASS QLayout INHERIT HbQtObjectHandler, HB_QObject, HB_QLayoutItem FUNCTION HB_QLayout - - METHOD new( ... ) - - METHOD activate // ( ) -> lBool - METHOD addItem // ( oQLayoutItem ) -> NIL - METHOD addWidget // ( oQWidget ) -> NIL - METHOD contentsRect // ( ) -> oQRect - METHOD count // ( ) -> nInt - METHOD expandingDirections // ( ) -> nQt_Orientations - METHOD getContentsMargins // ( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - METHOD indexOf // ( oQWidget ) -> nInt - METHOD isEnabled // ( ) -> lBool - METHOD itemAt // ( nIndex ) -> oQLayoutItem - METHOD maximumSize // ( ) -> oQSize - METHOD menuBar // ( ) -> oQWidget - METHOD minimumSize // ( ) -> oQSize - METHOD parentWidget // ( ) -> oQWidget - METHOD removeItem // ( oQLayoutItem ) -> NIL - METHOD removeWidget // ( oQWidget ) -> NIL - METHOD setAlignment // ( oQWidget, nAlignment ) -> lBool - // ( nAlignment ) -> NIL - // ( oQLayout, nAlignment ) -> lBool - METHOD setContentsMargins // ( nLeft, nTop, nRight, nBottom ) -> NIL - METHOD setEnabled // ( lEnable ) -> NIL - METHOD setMenuBar // ( oQWidget ) -> NIL - METHOD setSizeConstraint // ( nSizeConstraint ) -> NIL - METHOD setSpacing // ( nInt ) -> NIL - METHOD sizeConstraint // ( ) -> nSizeConstraint - METHOD spacing // ( ) -> nInt - METHOD takeAt // ( nIndex ) -> oQLayoutItem - METHOD update // ( ) -> NIL - METHOD closestAcceptableSize // ( oQWidget, oQSize ) -> oQSize - - ENDCLASS - - -METHOD QLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLayout( ... ) - RETURN Self - - -METHOD QLayout:activate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_activate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:addItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_addItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:addWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:contentsRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QLayout_contentsRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:expandingDirections( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_expandingDirections( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:getContentsMargins( ... ) - 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_QLayout_getContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:indexOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:isEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_isEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:itemAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QLayoutItemFromPointer( Qt_QLayout_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:maximumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLayout_maximumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:menuBar( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QLayout_menuBar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:minimumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLayout_minimumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:parentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QLayout_parentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:removeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_removeItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:removeWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_removeWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:setAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - 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 - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_setAlignment_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:setContentsMargins( ... ) - 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_QLayout_setContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:setEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_setEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:setMenuBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_setMenuBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:setSizeConstraint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_setSizeConstraint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLayout_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:sizeConstraint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_sizeConstraint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:spacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_spacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:takeAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QLayoutItemFromPointer( Qt_QLayout_takeAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:update( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayout_update( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayout:closestAcceptableSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QSizeFromPointer( Qt_QLayout_closestAcceptableSize( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg b/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg deleted file mode 100644 index 71982979ec..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQLayoutItem.prg +++ /dev/null @@ -1,219 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QLayoutItem( ... ) - RETURN HB_QLayoutItem():new( ... ) - -FUNCTION QLayoutItemFromPointer( ... ) - RETURN HB_QLayoutItem():fromPointer( ... ) - - -CREATE CLASS QLayoutItem INHERIT HbQtObjectHandler FUNCTION HB_QLayoutItem - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD controlTypes // ( ) -> nQSizePolicy_ControlTypes - METHOD expandingDirections // ( ) -> nQt_Orientations - METHOD geometry // ( ) -> oQRect - METHOD hasHeightForWidth // ( ) -> lBool - METHOD heightForWidth // ( nW ) -> nInt - METHOD invalidate // ( ) -> NIL - METHOD isEmpty // ( ) -> lBool - METHOD layout // ( ) -> oQLayout - METHOD maximumSize // ( ) -> oQSize - METHOD minimumHeightForWidth // ( nW ) -> nInt - METHOD minimumSize // ( ) -> oQSize - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setGeometry // ( oQRect ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD spacerItem // ( ) -> oQSpacerItem - METHOD widget // ( ) -> oQWidget - - ENDCLASS - - -METHOD QLayoutItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLayoutItem( ... ) - RETURN Self - - -METHOD QLayoutItem:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayoutItem_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:controlTypes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayoutItem_controlTypes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:expandingDirections( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayoutItem_expandingDirections( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QLayoutItem_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:hasHeightForWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayoutItem_hasHeightForWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:heightForWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLayoutItem_heightForWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:invalidate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayoutItem_invalidate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLayoutItem_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:layout( ... ) - SWITCH PCount() - CASE 0 - RETURN QLayoutFromPointer( Qt_QLayoutItem_layout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:maximumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLayoutItem_maximumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:minimumHeightForWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLayoutItem_minimumHeightForWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:minimumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLayoutItem_minimumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLayoutItem_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:setGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLayoutItem_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLayoutItem_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:spacerItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QSpacerItemFromPointer( Qt_QLayoutItem_spacerItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLayoutItem:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QLayoutItem_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg deleted file mode 100644 index 4f663a97dd..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQLineEdit.prg +++ /dev/null @@ -1,649 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QLineEdit( ... ) - RETURN HB_QLineEdit():new( ... ) - -FUNCTION QLineEditFromPointer( ... ) - RETURN HB_QLineEdit():fromPointer( ... ) - - -CREATE CLASS QLineEdit INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QLineEdit - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD backspace // ( ) -> NIL - METHOD completer // ( ) -> oQCompleter - METHOD createStandardContextMenu // ( ) -> oQMenu - METHOD cursorBackward // ( lMark, nSteps ) -> NIL - METHOD cursorForward // ( lMark, nSteps ) -> NIL - METHOD cursorPosition // ( ) -> nInt - METHOD cursorPositionAt // ( oQPoint ) -> nInt - METHOD cursorWordBackward // ( lMark ) -> NIL - METHOD cursorWordForward // ( lMark ) -> NIL - METHOD del // ( ) -> NIL - METHOD deselect // ( ) -> NIL - METHOD displayText // ( ) -> cQString - METHOD dragEnabled // ( ) -> lBool - METHOD echoMode // ( ) -> nEchoMode - METHOD end // ( lMark ) -> NIL - METHOD getTextMargins // ( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - METHOD hasAcceptableInput // ( ) -> lBool - METHOD hasFrame // ( ) -> lBool - METHOD hasSelectedText // ( ) -> lBool - METHOD home // ( lMark ) -> NIL - METHOD inputMask // ( ) -> cQString - METHOD insert // ( cNewText ) -> NIL - METHOD isModified // ( ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD isRedoAvailable // ( ) -> lBool - METHOD isUndoAvailable // ( ) -> lBool - METHOD maxLength // ( ) -> nInt - METHOD minimumSizeHint // ( ) -> oQSize - METHOD selectedText // ( ) -> cQString - METHOD selectionStart // ( ) -> nInt - METHOD setAlignment // ( nFlag ) -> NIL - METHOD setCompleter // ( oQCompleter ) -> NIL - METHOD setCursorPosition // ( nInt ) -> NIL - METHOD setDragEnabled // ( lB ) -> NIL - METHOD setEchoMode // ( nEchoMode ) -> NIL - METHOD setFrame // ( lBool ) -> NIL - METHOD setInputMask // ( cInputMask ) -> NIL - METHOD setMaxLength // ( nInt ) -> NIL - METHOD setModified // ( lBool ) -> NIL - METHOD setReadOnly // ( lBool ) -> NIL - METHOD setSelection // ( nStart, nLength ) -> NIL - METHOD setTextMargins // ( nLeft, nTop, nRight, nBottom ) -> NIL - METHOD setValidator // ( oQValidator ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD text // ( ) -> cQString - METHOD validator // ( ) -> oQValidator - METHOD clear // ( ) -> NIL - METHOD copy // ( ) -> NIL - METHOD cut // ( ) -> NIL - METHOD paste // ( ) -> NIL - METHOD redo // ( ) -> NIL - METHOD selectAll // ( ) -> NIL - METHOD setText // ( cQString ) -> NIL - METHOD undo // ( ) -> NIL - - ENDCLASS - - -METHOD QLineEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLineEdit( ... ) - RETURN Self - - -METHOD QLineEdit:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:backspace( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_backspace( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:completer( ... ) - SWITCH PCount() - CASE 0 - RETURN QCompleterFromPointer( Qt_QLineEdit_completer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:createStandardContextMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QLineEdit_createStandardContextMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cursorBackward( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLineEdit_cursorBackward( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_cursorBackward( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cursorForward( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLineEdit_cursorForward( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_cursorForward( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cursorPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_cursorPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cursorPositionAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_cursorPositionAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cursorWordBackward( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_cursorWordBackward( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cursorWordForward( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_cursorWordForward( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:del( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_del( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:deselect( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_deselect( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:displayText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_displayText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:dragEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_dragEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:echoMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_echoMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:end( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_end( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:getTextMargins( ... ) - 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_QLineEdit_getTextMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:hasAcceptableInput( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_hasAcceptableInput( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:hasFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_hasFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:hasSelectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_hasSelectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:home( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_home( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:inputMask( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_inputMask( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:insert( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_insert( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:isModified( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_isModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:isRedoAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_isRedoAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:isUndoAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_isUndoAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:maxLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_maxLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:minimumSizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLineEdit_minimumSizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:selectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_selectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:selectionStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_selectionStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setCompleter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setCompleter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setCursorPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setDragEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setDragEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setEchoMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setEchoMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setFrame( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setInputMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setInputMask( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setMaxLength( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setMaxLength( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setModified( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setModified( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setSelection( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLineEdit_setSelection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setTextMargins( ... ) - 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_QLineEdit_setTextMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setValidator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setValidator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QLineEdit_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:validator( ... ) - SWITCH PCount() - CASE 0 - RETURN QValidatorFromPointer( Qt_QLineEdit_validator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:copy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_copy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:cut( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_cut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:paste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_paste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:redo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_redo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:selectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_selectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QLineEdit_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLineEdit:undo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QLineEdit_undo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg deleted file mode 100644 index eb03e5c6f4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQLinearGradient.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QLinearGradient( ... ) - RETURN HB_QLinearGradient():new( ... ) - -FUNCTION QLinearGradientFromPointer( ... ) - RETURN HB_QLinearGradient():fromPointer( ... ) - - -CREATE CLASS QLinearGradient INHERIT HbQtObjectHandler, HB_QGradient FUNCTION HB_QLinearGradient - - METHOD new( ... ) - - METHOD finalStop // ( ) -> oQPointF - METHOD setFinalStop // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD setStart // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD start // ( ) -> oQPointF - - ENDCLASS - - -METHOD QLinearGradient:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QLinearGradient( ... ) - RETURN Self - - -METHOD QLinearGradient:finalStop( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QLinearGradient_finalStop( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLinearGradient:setFinalStop( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLinearGradient_setFinalStop_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLinearGradient_setFinalStop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLinearGradient:setStart( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QLinearGradient_setStart_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QLinearGradient_setStart( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QLinearGradient:start( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QLinearGradient_start( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQListView.prg b/harbour/contrib/hbqt/qtgui/g/TQListView.prg deleted file mode 100644 index 980cf841b5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQListView.prg +++ /dev/null @@ -1,371 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QListView( ... ) - RETURN HB_QListView():new( ... ) - -FUNCTION QListViewFromPointer( ... ) - RETURN HB_QListView():fromPointer( ... ) - - -CREATE CLASS QListView INHERIT HbQtObjectHandler, HB_QAbstractItemView FUNCTION HB_QListView - - METHOD new( ... ) - - METHOD batchSize // ( ) -> nInt - METHOD clearPropertyFlags // ( ) -> NIL - METHOD flow // ( ) -> nFlow - METHOD gridSize // ( ) -> oQSize - METHOD isRowHidden // ( nRow ) -> lBool - METHOD isSelectionRectVisible // ( ) -> lBool - METHOD isWrapping // ( ) -> lBool - METHOD layoutMode // ( ) -> nLayoutMode - METHOD modelColumn // ( ) -> nInt - METHOD movement // ( ) -> nMovement - METHOD resizeMode // ( ) -> nResizeMode - METHOD setBatchSize // ( nBatchSize ) -> NIL - METHOD setFlow // ( nFlow ) -> NIL - METHOD setGridSize // ( oQSize ) -> NIL - METHOD setLayoutMode // ( nMode ) -> NIL - METHOD setModelColumn // ( nColumn ) -> NIL - METHOD setMovement // ( nMovement ) -> NIL - METHOD setResizeMode // ( nMode ) -> NIL - METHOD setRowHidden // ( nRow, lHide ) -> NIL - METHOD setSelectionRectVisible // ( lShow ) -> NIL - METHOD setSpacing // ( nSpace ) -> NIL - METHOD setUniformItemSizes // ( lEnable ) -> NIL - METHOD setViewMode // ( nMode ) -> NIL - METHOD setWordWrap // ( lOn ) -> NIL - METHOD setWrapping // ( lEnable ) -> NIL - METHOD spacing // ( ) -> nInt - METHOD uniformItemSizes // ( ) -> lBool - METHOD viewMode // ( ) -> nViewMode - METHOD wordWrap // ( ) -> lBool - - ENDCLASS - - -METHOD QListView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QListView( ... ) - RETURN Self - - -METHOD QListView:batchSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_batchSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:clearPropertyFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_clearPropertyFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:flow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_flow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:gridSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QListView_gridSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:isRowHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_isRowHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:isSelectionRectVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_isSelectionRectVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:isWrapping( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_isWrapping( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:layoutMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_layoutMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:modelColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_modelColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:movement( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_movement( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:resizeMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_resizeMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setBatchSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setBatchSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setFlow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setFlow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setGridSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setGridSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setLayoutMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setLayoutMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setModelColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setModelColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setMovement( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setMovement( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setResizeMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setResizeMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setRowHidden( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QListView_setRowHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setSelectionRectVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setSelectionRectVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setUniformItemSizes( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setUniformItemSizes( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setViewMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setViewMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setWordWrap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setWordWrap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:setWrapping( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListView_setWrapping( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:spacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_spacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:uniformItemSizes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_uniformItemSizes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:viewMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_viewMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListView:wordWrap( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListView_wordWrap( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg deleted file mode 100644 index ad7c0216c4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQListWidget.prg +++ /dev/null @@ -1,412 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QListWidget( ... ) - RETURN HB_QListWidget():new( ... ) - -FUNCTION QListWidgetFromPointer( ... ) - RETURN HB_QListWidget():fromPointer( ... ) - - -CREATE CLASS QListWidget INHERIT HbQtObjectHandler, HB_QListView FUNCTION HB_QListWidget - - METHOD new( ... ) - - METHOD addItem // ( cLabel ) -> NIL - // ( oQListWidgetItem ) -> NIL - METHOD addItems // ( oQStringList ) -> NIL - METHOD closePersistentEditor // ( oQListWidgetItem ) -> NIL - METHOD count // ( ) -> nInt - METHOD currentItem // ( ) -> oQListWidgetItem - METHOD currentRow // ( ) -> nInt - METHOD editItem // ( oQListWidgetItem ) -> NIL - METHOD findItems // ( cText, nFlags ) -> oQList_QListWidgetItem - METHOD insertItem // ( nRow, oQListWidgetItem ) -> NIL - // ( nRow, cLabel ) -> NIL - METHOD insertItems // ( nRow, oQStringList ) -> NIL - METHOD isSortingEnabled // ( ) -> lBool - METHOD item // ( nRow ) -> oQListWidgetItem - METHOD itemAt // ( oQPoint ) -> oQListWidgetItem - // ( nX, nY ) -> oQListWidgetItem - METHOD itemWidget // ( oQListWidgetItem ) -> oQWidget - METHOD openPersistentEditor // ( oQListWidgetItem ) -> NIL - METHOD removeItemWidget // ( oQListWidgetItem ) -> NIL - METHOD row // ( oQListWidgetItem ) -> nInt - METHOD selectedItems // ( ) -> oQList_QListWidgetItem - METHOD setCurrentItem // ( oQListWidgetItem ) -> NIL - // ( oQListWidgetItem, nCommand ) -> NIL - METHOD setCurrentRow // ( nRow ) -> NIL - // ( nRow, nCommand ) -> NIL - METHOD setItemWidget // ( oQListWidgetItem, oQWidget ) -> NIL - METHOD setSortingEnabled // ( lEnable ) -> NIL - METHOD sortItems // ( nOrder ) -> NIL - METHOD takeItem // ( nRow ) -> oQListWidgetItem - METHOD visualItemRect // ( oQListWidgetItem ) -> oQRect - METHOD clear // ( ) -> NIL - METHOD scrollToItem // ( oQListWidgetItem, nHint ) -> NIL - - ENDCLASS - - -METHOD QListWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QListWidget( ... ) - RETURN Self - - -METHOD QListWidget:addItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_addItem( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_addItem_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:addItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_addItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:closePersistentEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_closePersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidget_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:currentItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QListWidgetItemFromPointer( Qt_QListWidget_currentItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:currentRow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidget_currentRow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:editItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_editItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:findItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QListWidget_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:insertItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_insertItem_1( ::pPtr, ... ) - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_insertItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:insertItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_insertItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:isSortingEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidget_isSortingEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:item( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListWidgetItemFromPointer( Qt_QListWidget_item( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListWidgetItemFromPointer( Qt_QListWidget_itemAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QListWidgetItemFromPointer( Qt_QListWidget_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:itemWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QListWidget_itemWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:openPersistentEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_openPersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:removeItemWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_removeItemWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:row( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_row( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:selectedItems( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QListWidget_selectedItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:setCurrentItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_setCurrentItem_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_setCurrentItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:setCurrentRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_setCurrentRow_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_setCurrentRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:setItemWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_setItemWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:setSortingEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_setSortingEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:sortItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_sortItems( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QListWidget_sortItems( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:takeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListWidgetItemFromPointer( Qt_QListWidget_takeItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:visualItemRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QListWidget_visualItemRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidget_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidget:scrollToItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QListWidget_scrollToItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidget_scrollToItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg deleted file mode 100644 index 373cc8f8eb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQListWidgetItem.prg +++ /dev/null @@ -1,437 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QListWidgetItem( ... ) - RETURN HB_QListWidgetItem():new( ... ) - -FUNCTION QListWidgetItemFromPointer( ... ) - RETURN HB_QListWidgetItem():fromPointer( ... ) - - -CREATE CLASS QListWidgetItem INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QListWidgetItem - - METHOD new( ... ) - - METHOD background // ( ) -> oQBrush - METHOD checkState // ( ) -> nQt_CheckState - METHOD clone // ( ) -> oQListWidgetItem - METHOD data // ( nRole ) -> oQVariant - METHOD flags // ( ) -> nQt_ItemFlags - METHOD font // ( ) -> oQFont - METHOD foreground // ( ) -> oQBrush - METHOD icon // ( ) -> oQIcon - METHOD isHidden // ( ) -> lBool - METHOD isSelected // ( ) -> lBool - METHOD listWidget // ( ) -> oQListWidget - METHOD read // ( oQDataStream ) -> NIL - METHOD setBackground // ( oQBrush ) -> NIL - METHOD setCheckState // ( nState ) -> NIL - METHOD setData // ( nRole, oQVariant ) -> NIL - METHOD setFlags // ( nFlags ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setForeground // ( oQBrush ) -> NIL - METHOD setHidden // ( lHide ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setSelected // ( lSelect ) -> NIL - METHOD setSizeHint // ( oQSize ) -> NIL - METHOD setStatusTip // ( cStatusTip ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setTextAlignment // ( nAlignment ) -> NIL - METHOD setToolTip // ( cToolTip ) -> NIL - METHOD setWhatsThis // ( cWhatsThis ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD statusTip // ( ) -> cQString - METHOD text // ( ) -> cQString - METHOD textAlignment // ( ) -> nInt - METHOD toolTip // ( ) -> cQString - METHOD type // ( ) -> nInt - METHOD whatsThis // ( ) -> cQString - METHOD write // ( oQDataStream ) -> NIL - - ENDCLASS - - -METHOD QListWidgetItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QListWidgetItem( ... ) - RETURN Self - - -METHOD QListWidgetItem:background( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QListWidgetItem_background( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:checkState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_checkState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:clone( ... ) - SWITCH PCount() - CASE 0 - RETURN QListWidgetItemFromPointer( Qt_QListWidgetItem_clone( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:data( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QListWidgetItem_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QListWidgetItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:foreground( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QListWidgetItem_foreground( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QListWidgetItem_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:isHidden( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_isHidden( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:isSelected( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_isSelected( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:listWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QListWidgetFromPointer( Qt_QListWidgetItem_listWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_read( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setCheckState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setCheckState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QListWidgetItem_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setForeground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setForeground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QListWidgetItem_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setSizeHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setSizeHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setStatusTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setStatusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setTextAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setTextAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:setWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_setWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QListWidgetItem_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:statusTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_statusTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:textAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_textAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:whatsThis( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QListWidgetItem_whatsThis( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QListWidgetItem:write( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QListWidgetItem_write( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg b/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg deleted file mode 100644 index 9c2bda9d90..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMainWindow.prg +++ /dev/null @@ -1,623 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMainWindow( ... ) - RETURN HB_QMainWindow():new( ... ) - -FUNCTION QMainWindowFromPointer( ... ) - RETURN HB_QMainWindow():fromPointer( ... ) - - -CREATE CLASS QMainWindow INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QMainWindow - - METHOD new( ... ) - - METHOD addDockWidget // ( nArea, oQDockWidget ) -> NIL - // ( nArea, oQDockWidget, nOrientation ) -> NIL - METHOD addToolBar // ( nArea, oQToolBar ) -> NIL - // ( oQToolBar ) -> NIL - // ( cTitle ) -> oQToolBar - METHOD addToolBarBreak // ( nArea ) -> NIL - METHOD centralWidget // ( ) -> oQWidget - METHOD corner // ( nCorner ) -> nQt_DockWidgetArea - METHOD createPopupMenu // ( ) -> oQMenu - METHOD dockOptions // ( ) -> nDockOptions - METHOD dockWidgetArea // ( oQDockWidget ) -> nQt_DockWidgetArea - METHOD documentMode // ( ) -> lBool - METHOD iconSize // ( ) -> oQSize - METHOD insertToolBar // ( oQToolBar, oQToolBar ) -> NIL - METHOD insertToolBarBreak // ( oQToolBar ) -> NIL - METHOD isAnimated // ( ) -> lBool - METHOD isDockNestingEnabled // ( ) -> lBool - METHOD menuBar // ( ) -> oQMenuBar - METHOD menuWidget // ( ) -> oQWidget - METHOD removeDockWidget // ( oQDockWidget ) -> NIL - METHOD removeToolBar // ( oQToolBar ) -> NIL - METHOD removeToolBarBreak // ( oQToolBar ) -> NIL - METHOD restoreDockWidget // ( oQDockWidget ) -> lBool - METHOD restoreState // ( oQByteArray, nVersion ) -> lBool - METHOD saveState // ( nVersion ) -> oQByteArray - METHOD setCentralWidget // ( oQWidget ) -> NIL - METHOD setCorner // ( nCorner, nArea ) -> NIL - METHOD setDockOptions // ( nOptions ) -> NIL - METHOD setDocumentMode // ( lEnabled ) -> NIL - METHOD setIconSize // ( oQSize ) -> NIL - METHOD setMenuBar // ( oQMenuBar ) -> NIL - METHOD setMenuWidget // ( oQWidget ) -> NIL - METHOD setStatusBar // ( oQStatusBar ) -> NIL - METHOD setTabPosition // ( nAreas, nTabPosition ) -> NIL - METHOD setTabShape // ( nTabShape ) -> NIL - METHOD setToolButtonStyle // ( nToolButtonStyle ) -> NIL - METHOD setUnifiedTitleAndToolBarOnMac // ( lSet ) -> NIL - METHOD splitDockWidget // ( oQDockWidget, oQDockWidget, nOrientation ) -> NIL - METHOD statusBar // ( ) -> oQStatusBar - METHOD tabPosition // ( nArea ) -> nQTabWidget_TabPosition - METHOD tabShape // ( ) -> nQTabWidget_TabShape - METHOD tabifiedDockWidgets // ( oQDockWidget ) -> oQList_QDockWidget - METHOD tabifyDockWidget // ( oQDockWidget, oQDockWidget ) -> NIL - METHOD toolBarArea // ( oQToolBar ) -> nQt_ToolBarArea - METHOD toolBarBreak // ( oQToolBar ) -> lBool - METHOD toolButtonStyle // ( ) -> nQt_ToolButtonStyle - METHOD unifiedTitleAndToolBarOnMac // ( ) -> lBool - METHOD setAnimated // ( lEnabled ) -> NIL - METHOD setDockNestingEnabled // ( lEnabled ) -> NIL - - ENDCLASS - - -METHOD QMainWindow:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMainWindow( ... ) - RETURN Self - - -METHOD QMainWindow:addDockWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_addDockWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:addToolBar( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_addToolBar( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QToolBarFromPointer( Qt_QMainWindow_addToolBar_2( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_addToolBar_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:addToolBarBreak( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_addToolBarBreak( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QMainWindow_addToolBarBreak( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:centralWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QMainWindow_centralWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:corner( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_corner( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:createPopupMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QMainWindow_createPopupMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:dockOptions( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_dockOptions( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:dockWidgetArea( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_dockWidgetArea( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:documentMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_documentMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QMainWindow_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:insertToolBar( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_insertToolBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:insertToolBarBreak( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_insertToolBarBreak( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:isAnimated( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_isAnimated( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:isDockNestingEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_isDockNestingEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:menuBar( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuBarFromPointer( Qt_QMainWindow_menuBar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:menuWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QMainWindow_menuWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:removeDockWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_removeDockWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:removeToolBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_removeToolBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:removeToolBarBreak( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_removeToolBarBreak( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:restoreDockWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_restoreDockWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:restoreState( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_restoreState( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_restoreState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:saveState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QMainWindow_saveState( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QByteArrayFromPointer( Qt_QMainWindow_saveState( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setCentralWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setCentralWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setCorner( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_setCorner( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setDockOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setDockOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setDocumentMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setDocumentMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setMenuBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setMenuBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setMenuWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setMenuWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setStatusBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setStatusBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setTabPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_setTabPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setTabShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setTabShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setToolButtonStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setToolButtonStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setUnifiedTitleAndToolBarOnMac( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setUnifiedTitleAndToolBarOnMac( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:splitDockWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QMainWindow_splitDockWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:statusBar( ... ) - SWITCH PCount() - CASE 0 - RETURN QStatusBarFromPointer( Qt_QMainWindow_statusBar( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:tabPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_tabPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:tabShape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_tabShape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:tabifiedDockWidgets( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QMainWindow_tabifiedDockWidgets( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:tabifyDockWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMainWindow_tabifyDockWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:toolBarArea( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_toolBarArea( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:toolBarBreak( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_toolBarBreak( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:toolButtonStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_toolButtonStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:unifiedTitleAndToolBarOnMac( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMainWindow_unifiedTitleAndToolBarOnMac( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setAnimated( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setAnimated( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMainWindow:setDockNestingEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMainWindow_setDockNestingEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg b/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg deleted file mode 100644 index 5dc580b030..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMatrix.prg +++ /dev/null @@ -1,298 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMatrix( ... ) - RETURN HB_QMatrix():new( ... ) - -FUNCTION QMatrixFromPointer( ... ) - RETURN HB_QMatrix():fromPointer( ... ) - - -CREATE CLASS QMatrix INHERIT HbQtObjectHandler FUNCTION HB_QMatrix - - METHOD new( ... ) - - METHOD m11 // ( ) -> nQreal - METHOD m12 // ( ) -> nQreal - METHOD m21 // ( ) -> nQreal - METHOD m22 // ( ) -> nQreal - METHOD det // ( ) -> nQreal - METHOD dx // ( ) -> nQreal - METHOD dy // ( ) -> nQreal - METHOD inverted // ( @lInvertible ) -> oQMatrix - METHOD isIdentity // ( ) -> lBool - METHOD isInvertible // ( ) -> lBool - METHOD map // ( nX, nY, @nTx, @nTy ) -> NIL - // ( nX, nY, @nTx, @nTy ) -> NIL - // ( oQPointF ) -> oQPointF - // ( oQPoint ) -> oQPoint - // ( oQLineF ) -> oQLineF - // ( oQLine ) -> oQLine - // ( oQPolygonF ) -> oQPolygonF - // ( oQPolygon ) -> oQPolygon - // ( oQRegion ) -> oQRegion - // ( oQPainterPath ) -> oQPainterPath - METHOD mapRect // ( oQRectF ) -> oQRectF - // ( oQRect ) -> oQRect - METHOD mapToPolygon // ( oQRect ) -> oQPolygon - METHOD reset // ( ) -> NIL - METHOD rotate // ( nDegrees ) -> oQMatrix - METHOD scale // ( nSx, nSy ) -> oQMatrix - METHOD setMatrix // ( nM11, nM12, nM21, nM22, nDx, nDy ) -> NIL - METHOD shear // ( nSh, nSv ) -> oQMatrix - METHOD translate // ( nDx, nDy ) -> oQMatrix - - ENDCLASS - - -METHOD QMatrix:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMatrix( ... ) - RETURN Self - - -METHOD QMatrix:m11( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_m11( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:m12( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_m12( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:m21( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_m21( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:m22( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_m22( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:det( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_det( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:dx( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_dx( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:dy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_dy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:inverted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN QMatrixFromPointer( Qt_QMatrix_inverted( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QMatrixFromPointer( Qt_QMatrix_inverted( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:isIdentity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_isIdentity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:isInvertible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_isInvertible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:map( ... ) - 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_QMatrix_map_1( ::pPtr, ... ) - // RETURN Qt_QMatrix_map( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPOLYGON" - RETURN QPolygonFromPointer( Qt_QMatrix_map_7( ::pPtr, ... ) ) - CASE "QLINE" - RETURN QLineFromPointer( Qt_QMatrix_map_5( ::pPtr, ... ) ) - CASE "QPOINT" - RETURN QPointFromPointer( Qt_QMatrix_map_3( ::pPtr, ... ) ) - CASE "QREGION" - RETURN QRegionFromPointer( Qt_QMatrix_map_8( ::pPtr, ... ) ) - CASE "QPOINTF" - RETURN QPointFFromPointer( Qt_QMatrix_map_2( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QMatrix_map_6( ::pPtr, ... ) ) - CASE "QLINEF" - RETURN QLineFFromPointer( Qt_QMatrix_map_4( ::pPtr, ... ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QMatrix_map_9( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:mapRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QRECTF" - RETURN QRectFFromPointer( Qt_QMatrix_mapRect( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QRectFromPointer( Qt_QMatrix_mapRect_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:mapToPolygon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFromPointer( Qt_QMatrix_mapToPolygon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMatrix_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:rotate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QMatrixFromPointer( Qt_QMatrix_rotate( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:scale( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QMatrixFromPointer( Qt_QMatrix_scale( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:setMatrix( ... ) - 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_QMatrix_setMatrix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:shear( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QMatrixFromPointer( Qt_QMatrix_shear( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMatrix:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QMatrixFromPointer( Qt_QMatrix_translate( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg b/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg deleted file mode 100644 index 18e04d5734..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMdiArea.prg +++ /dev/null @@ -1,346 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMdiArea( ... ) - RETURN HB_QMdiArea():new( ... ) - -FUNCTION QMdiAreaFromPointer( ... ) - RETURN HB_QMdiArea():fromPointer( ... ) - - -CREATE CLASS QMdiArea INHERIT HbQtObjectHandler, HB_QAbstractScrollArea FUNCTION HB_QMdiArea - - METHOD new( ... ) - - METHOD activationOrder // ( ) -> nWindowOrder - METHOD activeSubWindow // ( ) -> oQMdiSubWindow - METHOD addSubWindow // ( oQWidget, nWindowFlags ) -> oQMdiSubWindow - METHOD background // ( ) -> oQBrush - METHOD currentSubWindow // ( ) -> oQMdiSubWindow - METHOD documentMode // ( ) -> lBool - METHOD removeSubWindow // ( oQWidget ) -> NIL - METHOD setActivationOrder // ( nOrder ) -> NIL - METHOD setBackground // ( oQBrush ) -> NIL - METHOD setDocumentMode // ( lEnabled ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setTabPosition // ( nPosition ) -> NIL - METHOD setTabShape // ( nShape ) -> NIL - METHOD setViewMode // ( nMode ) -> NIL - METHOD subWindowList // ( nOrder ) -> oQList_QMdiSubWindow - METHOD tabPosition // ( ) -> nQTabWidget_TabPosition - METHOD tabShape // ( ) -> nQTabWidget_TabShape - METHOD testOption // ( nOption ) -> lBool - METHOD viewMode // ( ) -> nViewMode - METHOD activateNextSubWindow // ( ) -> NIL - METHOD activatePreviousSubWindow // ( ) -> NIL - METHOD cascadeSubWindows // ( ) -> NIL - METHOD closeActiveSubWindow // ( ) -> NIL - METHOD closeAllSubWindows // ( ) -> NIL - METHOD setActiveSubWindow // ( oQMdiSubWindow ) -> NIL - METHOD tileSubWindows // ( ) -> NIL - - ENDCLASS - - -METHOD QMdiArea:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMdiArea( ... ) - RETURN Self - - -METHOD QMdiArea:activationOrder( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_activationOrder( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:activeSubWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN QMdiSubWindowFromPointer( Qt_QMdiArea_activeSubWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:addSubWindow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QMdiSubWindowFromPointer( Qt_QMdiArea_addSubWindow( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QMdiSubWindowFromPointer( Qt_QMdiArea_addSubWindow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:background( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QMdiArea_background( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:currentSubWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN QMdiSubWindowFromPointer( Qt_QMdiArea_currentSubWindow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:documentMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_documentMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:removeSubWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_removeSubWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setActivationOrder( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setActivationOrder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setDocumentMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setDocumentMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QMdiArea_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setTabPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setTabPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setTabShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setTabShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setViewMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setViewMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:subWindowList( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QMdiArea_subWindowList( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QMdiArea_subWindowList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:tabPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_tabPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:tabShape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_tabShape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:viewMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_viewMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:activateNextSubWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_activateNextSubWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:activatePreviousSubWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_activatePreviousSubWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:cascadeSubWindows( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_cascadeSubWindows( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:closeActiveSubWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_closeActiveSubWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:closeAllSubWindows( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_closeAllSubWindows( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:setActiveSubWindow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMdiArea_setActiveSubWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiArea:tileSubWindows( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiArea_tileSubWindows( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg b/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg deleted file mode 100644 index d140053bf9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMdiSubWindow.prg +++ /dev/null @@ -1,206 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMdiSubWindow( ... ) - RETURN HB_QMdiSubWindow():new( ... ) - -FUNCTION QMdiSubWindowFromPointer( ... ) - RETURN HB_QMdiSubWindow():fromPointer( ... ) - - -CREATE CLASS QMdiSubWindow INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QMdiSubWindow - - METHOD new( ... ) - - METHOD isShaded // ( ) -> lBool - METHOD keyboardPageStep // ( ) -> nInt - METHOD keyboardSingleStep // ( ) -> nInt - METHOD mdiArea // ( ) -> oQMdiArea - METHOD setKeyboardPageStep // ( nStep ) -> NIL - METHOD setKeyboardSingleStep // ( nStep ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setSystemMenu // ( oQMenu ) -> NIL - METHOD setWidget // ( oQWidget ) -> NIL - METHOD systemMenu // ( ) -> oQMenu - METHOD testOption // ( nOption ) -> lBool - METHOD widget // ( ) -> oQWidget - METHOD showShaded // ( ) -> NIL - METHOD showSystemMenu // ( ) -> NIL - - ENDCLASS - - -METHOD QMdiSubWindow:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMdiSubWindow( ... ) - RETURN Self - - -METHOD QMdiSubWindow:isShaded( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiSubWindow_isShaded( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:keyboardPageStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiSubWindow_keyboardPageStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:keyboardSingleStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiSubWindow_keyboardSingleStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:mdiArea( ... ) - SWITCH PCount() - CASE 0 - RETURN QMdiAreaFromPointer( Qt_QMdiSubWindow_mdiArea( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:setKeyboardPageStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiSubWindow_setKeyboardPageStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:setKeyboardSingleStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiSubWindow_setKeyboardSingleStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QMdiSubWindow_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiSubWindow_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:setSystemMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMdiSubWindow_setSystemMenu( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:setWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMdiSubWindow_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:systemMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QMdiSubWindow_systemMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMdiSubWindow_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QMdiSubWindow_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:showShaded( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiSubWindow_showShaded( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMdiSubWindow:showSystemMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMdiSubWindow_showSystemMenu( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMenu.prg b/harbour/contrib/hbqt/qtgui/g/TQMenu.prg deleted file mode 100644 index 29f8773078..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMenu.prg +++ /dev/null @@ -1,397 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMenu( ... ) - RETURN HB_QMenu():new( ... ) - -FUNCTION QMenuFromPointer( ... ) - RETURN HB_QMenu():fromPointer( ... ) - - -CREATE CLASS QMenu INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QMenu - - METHOD new( ... ) - - METHOD actionAt // ( oQPoint ) -> oQAction - METHOD actionGeometry // ( oQAction ) -> oQRect - METHOD activeAction // ( ) -> oQAction - METHOD addAction // ( cText ) -> oQAction - // ( coQIcon, cText ) -> oQAction - // ( cText, oQObject, cMember, oQKeySequence ) -> oQAction - // ( coQIcon, cText, oQObject, cMember, oQKeySequence ) -> oQAction - // ( oQAction ) -> NIL - METHOD addMenu // ( oQMenu ) -> oQAction - // ( cTitle ) -> oQMenu - // ( coQIcon, cTitle ) -> oQMenu - METHOD addSeparator // ( ) -> oQAction - METHOD clear // ( ) -> NIL - METHOD defaultAction // ( ) -> oQAction - METHOD exec // ( ) -> oQAction - // ( oQPoint, oQAction ) -> oQAction - METHOD hideTearOffMenu // ( ) -> NIL - METHOD icon // ( ) -> oQIcon - METHOD insertMenu // ( oQAction, oQMenu ) -> oQAction - METHOD insertSeparator // ( oQAction ) -> oQAction - METHOD isEmpty // ( ) -> lBool - METHOD isTearOffEnabled // ( ) -> lBool - METHOD isTearOffMenuVisible // ( ) -> lBool - METHOD menuAction // ( ) -> oQAction - METHOD popup // ( oQPoint, oQAction ) -> NIL - METHOD separatorsCollapsible // ( ) -> lBool - METHOD setActiveAction // ( oQAction ) -> NIL - METHOD setDefaultAction // ( oQAction ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setSeparatorsCollapsible // ( lCollapse ) -> NIL - METHOD setTearOffEnabled // ( lBool ) -> NIL - METHOD setTitle // ( cTitle ) -> NIL - METHOD title // ( ) -> cQString - - ENDCLASS - - -METHOD QMenu:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMenu( ... ) - RETURN Self - - -METHOD QMenu:actionAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenu_actionAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:actionGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QMenu_actionGeometry( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:activeAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QMenu_activeAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:addAction( ... ) - SWITCH PCount() - CASE 5 - DO CASE - 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_isChar( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) - RETURN QActionFromPointer( Qt_QMenu_addAction_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN QActionFromPointer( 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_isChar( hb_pvalue( 4 ) ) - RETURN QActionFromPointer( Qt_QMenu_addAction_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QActionFromPointer( Qt_QMenu_addAction_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QMenu_addAction_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenu_addAction( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_addAction_4( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:addMenu( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QMenuFromPointer( Qt_QMenu_addMenu_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QMenuFromPointer( Qt_QMenu_addMenu_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenu_addMenu( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:addSeparator( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QMenu_addSeparator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:defaultAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QMenu_defaultAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:exec( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QMenu_exec_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenu_exec_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QActionFromPointer( Qt_QMenu_exec( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:hideTearOffMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_hideTearOffMenu( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QMenu_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:insertMenu( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QMenu_insertMenu( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:insertSeparator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenu_insertSeparator( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:isTearOffEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_isTearOffEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:isTearOffMenuVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_isTearOffMenuVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:menuAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QMenu_menuAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:popup( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QMenu_popup( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_popup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:separatorsCollapsible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_separatorsCollapsible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:setActiveAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_setActiveAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:setDefaultAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_setDefaultAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QMenu_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:setSeparatorsCollapsible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_setSeparatorsCollapsible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:setTearOffEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_setTearOffEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:setTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMenu_setTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenu:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenu_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg b/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg deleted file mode 100644 index d0ad341f62..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMenuBar.prg +++ /dev/null @@ -1,184 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMenuBar( ... ) - RETURN HB_QMenuBar():new( ... ) - -FUNCTION QMenuBarFromPointer( ... ) - RETURN HB_QMenuBar():fromPointer( ... ) - - -CREATE CLASS QMenuBar INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QMenuBar - - METHOD new( ... ) - - METHOD activeAction // ( ) -> oQAction - METHOD addAction // ( cText ) -> oQAction - // ( cText, oQObject, cMember ) -> oQAction - // ( oQAction ) -> NIL - METHOD addMenu // ( oQMenu ) -> oQAction - // ( cTitle ) -> oQMenu - // ( coQIcon, cTitle ) -> oQMenu - METHOD addSeparator // ( ) -> oQAction - METHOD clear // ( ) -> NIL - METHOD insertMenu // ( oQAction, oQMenu ) -> oQAction - METHOD insertSeparator // ( oQAction ) -> oQAction - METHOD isDefaultUp // ( ) -> lBool - METHOD setActiveAction // ( oQAction ) -> NIL - METHOD setDefaultUp // ( lBool ) -> NIL - - ENDCLASS - - -METHOD QMenuBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMenuBar( ... ) - RETURN Self - - -METHOD QMenuBar:activeAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QMenuBar_activeAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:addAction( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QActionFromPointer( Qt_QMenuBar_addAction_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenuBar_addAction( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMenuBar_addAction_2( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:addMenu( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QMenuFromPointer( Qt_QMenuBar_addMenu_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QMenuFromPointer( Qt_QMenuBar_addMenu_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenuBar_addMenu( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:addSeparator( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QMenuBar_addSeparator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenuBar_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:insertMenu( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QMenuBar_insertMenu( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:insertSeparator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QMenuBar_insertSeparator( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:isDefaultUp( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMenuBar_isDefaultUp( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:setActiveAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMenuBar_setActiveAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMenuBar:setDefaultUp( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMenuBar_setDefaultUp( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg b/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg deleted file mode 100644 index 4dbe727bdb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMessageBox.prg +++ /dev/null @@ -1,527 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMessageBox( ... ) - RETURN HB_QMessageBox():new( ... ) - -FUNCTION QMessageBoxFromPointer( ... ) - RETURN HB_QMessageBox():fromPointer( ... ) - - -CREATE CLASS QMessageBox INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QMessageBox - - METHOD new( ... ) - - METHOD addButton // ( oQAbstractButton, nRole ) -> NIL - // ( cText, nRole ) -> oQPushButton - // ( nButton ) -> oQPushButton - METHOD button // ( nWhich ) -> oQAbstractButton - METHOD buttonRole // ( oQAbstractButton ) -> nButtonRole - METHOD buttons // ( ) -> oQList_QAbstractButton - METHOD clickedButton // ( ) -> oQAbstractButton - METHOD defaultButton // ( ) -> oQPushButton - METHOD detailedText // ( ) -> cQString - METHOD escapeButton // ( ) -> oQAbstractButton - METHOD icon // ( ) -> nIcon - METHOD iconPixmap // ( ) -> oQPixmap - METHOD informativeText // ( ) -> cQString - METHOD open // ( oQObject, cMember ) -> NIL - METHOD removeButton // ( oQAbstractButton ) -> NIL - METHOD setDefaultButton // ( oQPushButton ) -> NIL - // ( nButton ) -> NIL - METHOD setDetailedText // ( cText ) -> NIL - METHOD setEscapeButton // ( oQAbstractButton ) -> NIL - // ( nButton ) -> NIL - METHOD setIcon // ( nIcon ) -> NIL - METHOD setIconPixmap // ( oQPixmap ) -> NIL - METHOD setInformativeText // ( cText ) -> NIL - METHOD setStandardButtons // ( nButtons ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setTextFormat // ( nFormat ) -> NIL - METHOD setWindowModality // ( nWindowModality ) -> NIL - METHOD setWindowTitle // ( cTitle ) -> NIL - METHOD standardButton // ( oQAbstractButton ) -> nStandardButton - METHOD standardButtons // ( ) -> nStandardButtons - METHOD text // ( ) -> cQString - METHOD textFormat // ( ) -> nQt_TextFormat - METHOD about // ( oQWidget, cTitle, cText ) -> NIL - METHOD aboutQt // ( oQWidget, cTitle ) -> NIL - METHOD critical // ( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - METHOD information // ( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - METHOD question // ( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - METHOD warning // ( oQWidget, cTitle, cText, nButtons, nDefaultButton ) -> nStandardButton - METHOD exec // ( ) -> nInt - - ENDCLASS - - -METHOD QMessageBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMessageBox( ... ) - RETURN Self - - -METHOD QMessageBox:addButton( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPushButtonFromPointer( Qt_QMessageBox_addButton_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QMessageBox_addButton( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPushButtonFromPointer( Qt_QMessageBox_addButton_2( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:button( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QAbstractButtonFromPointer( Qt_QMessageBox_button( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:buttonRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_buttonRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QMessageBox_buttons( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:clickedButton( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractButtonFromPointer( Qt_QMessageBox_clickedButton( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:defaultButton( ... ) - SWITCH PCount() - CASE 0 - RETURN QPushButtonFromPointer( Qt_QMessageBox_defaultButton( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:detailedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_detailedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:escapeButton( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractButtonFromPointer( Qt_QMessageBox_escapeButton( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_icon( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:iconPixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QMessageBox_iconPixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:informativeText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_informativeText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QMessageBox_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:removeButton( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_removeButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setDefaultButton( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setDefaultButton_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setDefaultButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setDetailedText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setDetailedText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setEscapeButton( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setEscapeButton_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setEscapeButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setIconPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setIconPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setInformativeText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setInformativeText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setStandardButtons( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setStandardButtons( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setTextFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setTextFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setWindowModality( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setWindowModality( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:setWindowTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_setWindowTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:standardButton( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_standardButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:standardButtons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_standardButtons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:textFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_textFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:about( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QMessageBox_about( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:aboutQt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QMessageBox_aboutQt( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMessageBox_aboutQt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:critical( ... ) - SWITCH PCount() - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QMessageBox_critical( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QMessageBox_critical( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QMessageBox_critical( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:information( ... ) - SWITCH PCount() - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QMessageBox_information( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QMessageBox_information( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QMessageBox_information( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:question( ... ) - SWITCH PCount() - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QMessageBox_question( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QMessageBox_question( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QMessageBox_question( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:warning( ... ) - SWITCH PCount() - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN Qt_QMessageBox_warning( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QMessageBox_warning( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QMessageBox_warning( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMessageBox:exec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMessageBox_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg deleted file mode 100644 index 0ec7dad519..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMouseEvent.prg +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMouseEvent( ... ) - RETURN HB_QMouseEvent():new( ... ) - -FUNCTION QMouseEventFromPointer( ... ) - RETURN HB_QMouseEvent():fromPointer( ... ) - - -CREATE CLASS QMouseEvent INHERIT HbQtObjectHandler, HB_QInputEvent FUNCTION HB_QMouseEvent - - METHOD new( ... ) - - METHOD button // ( ) -> nQt_MouseButton - METHOD buttons // ( ) -> nQt_MouseButtons - METHOD globalPos // ( ) -> oQPoint - METHOD globalX // ( ) -> nInt - METHOD globalY // ( ) -> nInt - METHOD pos // ( ) -> oQPoint - METHOD posF // ( ) -> oQPointF - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - - ENDCLASS - - -METHOD QMouseEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMouseEvent( ... ) - RETURN Self - - -METHOD QMouseEvent:button( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMouseEvent_button( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMouseEvent_buttons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:globalPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QMouseEvent_globalPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:globalX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMouseEvent_globalX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:globalY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMouseEvent_globalY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QMouseEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:posF( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QMouseEvent_posF( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMouseEvent_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMouseEvent:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMouseEvent_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg deleted file mode 100644 index 722b59acf4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMoveEvent.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMoveEvent( ... ) - RETURN HB_QMoveEvent():new( ... ) - -FUNCTION QMoveEventFromPointer( ... ) - RETURN HB_QMoveEvent():fromPointer( ... ) - - -CREATE CLASS QMoveEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QMoveEvent - - METHOD new( ... ) - - METHOD oldPos // ( ) -> oQPoint - METHOD pos // ( ) -> oQPoint - - ENDCLASS - - -METHOD QMoveEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMoveEvent( ... ) - RETURN Self - - -METHOD QMoveEvent:oldPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QMoveEvent_oldPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMoveEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QMoveEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQMovie.prg b/harbour/contrib/hbqt/qtgui/g/TQMovie.prg deleted file mode 100644 index 01becb75a5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQMovie.prg +++ /dev/null @@ -1,338 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QMovie( ... ) - RETURN HB_QMovie():new( ... ) - -FUNCTION QMovieFromPointer( ... ) - RETURN HB_QMovie():fromPointer( ... ) - - -CREATE CLASS QMovie INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QMovie - - METHOD new( ... ) - - METHOD backgroundColor // ( ) -> oQColor - METHOD cacheMode // ( ) -> nCacheMode - METHOD currentFrameNumber // ( ) -> nInt - METHOD currentImage // ( ) -> oQImage - METHOD currentPixmap // ( ) -> oQPixmap - METHOD device // ( ) -> oQIODevice - METHOD fileName // ( ) -> cQString - METHOD format // ( ) -> oQByteArray - METHOD frameCount // ( ) -> nInt - METHOD frameRect // ( ) -> oQRect - METHOD isValid // ( ) -> lBool - METHOD jumpToFrame // ( nFrameNumber ) -> lBool - METHOD loopCount // ( ) -> nInt - METHOD nextFrameDelay // ( ) -> nInt - METHOD scaledSize // ( ) -> oQSize - METHOD setBackgroundColor // ( oQColor ) -> NIL - METHOD setCacheMode // ( nMode ) -> NIL - METHOD setDevice // ( oQIODevice ) -> NIL - METHOD setFileName // ( cFileName ) -> NIL - METHOD setFormat // ( oQByteArray ) -> NIL - METHOD setScaledSize // ( oQSize ) -> NIL - METHOD speed // ( ) -> nInt - METHOD state // ( ) -> nMovieState - METHOD jumpToNextFrame // ( ) -> lBool - METHOD setPaused // ( lPaused ) -> NIL - METHOD setSpeed // ( nPercentSpeed ) -> NIL - METHOD start // ( ) -> NIL - METHOD stop // ( ) -> NIL - - ENDCLASS - - -METHOD QMovie:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QMovie( ... ) - RETURN Self - - -METHOD QMovie:backgroundColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QMovie_backgroundColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:cacheMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_cacheMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:currentFrameNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_currentFrameNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:currentImage( ... ) - SWITCH PCount() - CASE 0 - RETURN QImageFromPointer( Qt_QMovie_currentImage( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:currentPixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QMovie_currentPixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QMovie_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QMovie_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:frameCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_frameCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:frameRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QMovie_frameRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:jumpToFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_jumpToFrame( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:loopCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_loopCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:nextFrameDelay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_nextFrameDelay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:scaledSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QMovie_scaledSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setCacheMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setCacheMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setScaledSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setScaledSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:speed( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_speed( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:state( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_state( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:jumpToNextFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_jumpToNextFrame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setPaused( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setPaused( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:setSpeed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QMovie_setSpeed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:start( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_start( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QMovie:stop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QMovie_stop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg deleted file mode 100644 index 5ce1e24a9d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPageSetupDialog.prg +++ /dev/null @@ -1,148 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPageSetupDialog( ... ) - RETURN HB_QPageSetupDialog():new( ... ) - -FUNCTION QPageSetupDialogFromPointer( ... ) - RETURN HB_QPageSetupDialog():fromPointer( ... ) - - -CREATE CLASS QPageSetupDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QPageSetupDialog - - METHOD new( ... ) - - METHOD exec // ( ) -> nInt - METHOD open // ( oQObject, cMember ) -> NIL - METHOD options // ( ) -> nPageSetupDialogOptions - METHOD printer // ( ) -> oQPrinter - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD testOption // ( nOption ) -> lBool - - ENDCLASS - - -METHOD QPageSetupDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPageSetupDialog( ... ) - RETURN Self - - -METHOD QPageSetupDialog:exec( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPageSetupDialog_exec( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPageSetupDialog_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPageSetupDialog_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:printer( ... ) - SWITCH PCount() - CASE 0 - RETURN QPrinterFromPointer( Qt_QPageSetupDialog_printer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPageSetupDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPageSetupDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPageSetupDialog_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPageSetupDialog_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPageSetupDialog:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPageSetupDialog_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg b/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg deleted file mode 100644 index e4fceff701..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPaintDevice.prg +++ /dev/null @@ -1,158 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPaintDevice( ... ) - RETURN HB_QPaintDevice():new( ... ) - -FUNCTION QPaintDeviceFromPointer( ... ) - RETURN HB_QPaintDevice():fromPointer( ... ) - - -CREATE CLASS QPaintDevice INHERIT HbQtObjectHandler FUNCTION HB_QPaintDevice - - METHOD new( ... ) - - METHOD depth // ( ) -> nInt - METHOD height // ( ) -> nInt - METHOD heightMM // ( ) -> nInt - METHOD logicalDpiX // ( ) -> nInt - METHOD logicalDpiY // ( ) -> nInt - METHOD numColors // ( ) -> nInt - METHOD paintEngine // ( ) -> oQPaintEngine - METHOD paintingActive // ( ) -> lBool - METHOD physicalDpiX // ( ) -> nInt - METHOD physicalDpiY // ( ) -> nInt - METHOD width // ( ) -> nInt - METHOD widthMM // ( ) -> nInt - - ENDCLASS - - -METHOD QPaintDevice:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPaintDevice( ... ) - RETURN Self - - -METHOD QPaintDevice:depth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_depth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:heightMM( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_heightMM( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:logicalDpiX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_logicalDpiX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:logicalDpiY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_logicalDpiY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:numColors( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_numColors( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:paintEngine( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintEngineFromPointer( Qt_QPaintDevice_paintEngine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:paintingActive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_paintingActive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:physicalDpiX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_physicalDpiX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:physicalDpiY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_physicalDpiY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintDevice:widthMM( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintDevice_widthMM( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg b/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg deleted file mode 100644 index c7a1dcb10c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPaintEngine.prg +++ /dev/null @@ -1,300 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPaintEngine( ... ) - RETURN HB_QPaintEngine():new( ... ) - -FUNCTION QPaintEngineFromPointer( ... ) - RETURN HB_QPaintEngine():fromPointer( ... ) - - -CREATE CLASS QPaintEngine INHERIT HbQtObjectHandler FUNCTION HB_QPaintEngine - - METHOD new( ... ) - - METHOD begin // ( oQPaintDevice ) -> lBool - METHOD drawEllipse // ( oQRectF ) -> NIL - // ( oQRect ) -> NIL - METHOD drawImage // ( oQRectF, oQImage, oQRectF, nFlags ) -> NIL - METHOD drawLines // ( oQLineF, nLineCount ) -> NIL - // ( oQLine, nLineCount ) -> NIL - METHOD drawPath // ( oQPainterPath ) -> NIL - METHOD drawPixmap // ( oQRectF, oQPixmap, oQRectF ) -> NIL - METHOD drawPoints // ( oQPointF, nPointCount ) -> NIL - // ( oQPoint, nPointCount ) -> NIL - METHOD drawPolygon // ( oQPointF, nPointCount, nMode ) -> NIL - // ( oQPoint, nPointCount, nMode ) -> NIL - METHOD drawRects // ( oQRectF, nRectCount ) -> NIL - // ( oQRect, nRectCount ) -> NIL - METHOD drawTextItem // ( oQPointF, oQTextItem ) -> NIL - METHOD drawTiledPixmap // ( oQRectF, oQPixmap, oQPointF ) -> NIL - METHOD end // ( ) -> lBool - METHOD hasFeature // ( nFeature ) -> lBool - METHOD isActive // ( ) -> lBool - METHOD paintDevice // ( ) -> oQPaintDevice - METHOD painter // ( ) -> oQPainter - METHOD setActive // ( lState ) -> NIL - METHOD type // ( ) -> nType - - ENDCLASS - - -METHOD QPaintEngine:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPaintEngine( ... ) - RETURN Self - - -METHOD QPaintEngine:begin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPaintEngine_begin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawEllipse( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawImage( ... ) - SWITCH PCount() - 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 ) ) - RETURN Qt_QPaintEngine_drawImage( ::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 ) ) - RETURN Qt_QPaintEngine_drawImage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawLines( ... ) - SWITCH PCount() - CASE 2 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPaintEngine_drawPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawPixmap( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QPaintEngine_drawPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawPoints( ... ) - 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_QPaintEngine_drawPoints( ::pPtr, ... ) - CASE "QPOINT" - RETURN Qt_QPaintEngine_drawPoints_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawPolygon( ... ) - 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 "QPOINTF" - RETURN Qt_QPaintEngine_drawPolygon( ::pPtr, ... ) - CASE "QPOINT" - RETURN Qt_QPaintEngine_drawPolygon_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawRects( ... ) - 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_QPaintEngine_drawRects( ::pPtr, ... ) - CASE "QRECT" - RETURN Qt_QPaintEngine_drawRects_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawTextItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPaintEngine_drawTextItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:drawTiledPixmap( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QPaintEngine_drawTiledPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:end( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintEngine_end( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:hasFeature( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPaintEngine_hasFeature( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:isActive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintEngine_isActive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:paintDevice( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintDeviceFromPointer( Qt_QPaintEngine_paintDevice( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:painter( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterFromPointer( Qt_QPaintEngine_painter( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:setActive( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPaintEngine_setActive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEngine:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPaintEngine_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg deleted file mode 100644 index 9ea7326b8c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPaintEvent.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPaintEvent( ... ) - RETURN HB_QPaintEvent():new( ... ) - -FUNCTION QPaintEventFromPointer( ... ) - RETURN HB_QPaintEvent():fromPointer( ... ) - - -CREATE CLASS QPaintEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QPaintEvent - - METHOD new( ... ) - - METHOD rect // ( ) -> oQRect - METHOD region // ( ) -> oQRegion - - ENDCLASS - - -METHOD QPaintEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPaintEvent( ... ) - RETURN Self - - -METHOD QPaintEvent:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QPaintEvent_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPaintEvent:region( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegionFromPointer( Qt_QPaintEvent_region( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPainter.prg b/harbour/contrib/hbqt/qtgui/g/TQPainter.prg deleted file mode 100644 index 8e202558bc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPainter.prg +++ /dev/null @@ -1,1788 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPainter( ... ) - RETURN HB_QPainter():new( ... ) - -FUNCTION QPainterFromPointer( ... ) - RETURN HB_QPainter():fromPointer( ... ) - - -CREATE CLASS QPainter INHERIT HbQtObjectHandler FUNCTION HB_QPainter - - METHOD new( ... ) - - METHOD background // ( ) -> oQBrush - METHOD backgroundMode // ( ) -> nQt_BGMode - METHOD begin // ( oQPaintDevice ) -> lBool - METHOD boundingRect // ( oQRectF, nFlags, cText ) -> oQRectF - // ( oQRect, nFlags, cText ) -> oQRect - // ( nX, nY, nW, nH, nFlags, cText ) -> oQRect - // ( oQRectF, cText, oQTextOption ) -> oQRectF - METHOD brush // ( ) -> oQBrush - METHOD brushOrigin // ( ) -> oQPoint - METHOD clipPath // ( ) -> oQPainterPath - METHOD clipRegion // ( ) -> oQRegion - METHOD combinedMatrix // ( ) -> oQMatrix - METHOD combinedTransform // ( ) -> oQTransform - METHOD compositionMode // ( ) -> nCompositionMode - METHOD device // ( ) -> oQPaintDevice - METHOD deviceMatrix // ( ) -> oQMatrix - METHOD deviceTransform // ( ) -> oQTransform - METHOD drawArc // ( oQRectF, nStartAngle, nSpanAngle ) -> NIL - // ( oQRect, nStartAngle, nSpanAngle ) -> NIL - // ( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL - METHOD drawChord // ( oQRectF, nStartAngle, nSpanAngle ) -> NIL - // ( oQRect, nStartAngle, nSpanAngle ) -> NIL - // ( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL - METHOD drawConvexPolygon // ( oQPointF, nPointCount ) -> NIL - // ( oQPoint, nPointCount ) -> NIL - // ( oQPolygonF ) -> NIL - // ( oQPolygon ) -> NIL - METHOD drawEllipse // ( oQRectF ) -> NIL - // ( oQRect ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - // ( oQPointF, nRx, nRy ) -> NIL - // ( oQPoint, nRx, nRy ) -> NIL - METHOD drawImage // ( oQRectF, oQImage, oQRectF, nFlags ) -> NIL - // ( oQRect, oQImage, oQRect, nFlags ) -> NIL - // ( oQPointF, oQImage ) -> NIL - // ( oQPoint, oQImage ) -> NIL - // ( oQPointF, oQImage, oQRectF, nFlags ) -> NIL - // ( oQPoint, oQImage, oQRect, nFlags ) -> NIL - // ( oQRectF, oQImage ) -> NIL - // ( oQRect, oQImage ) -> NIL - // ( nX, nY, oQImage, nSx, nSy, nSw, nSh, nFlags ) -> NIL - METHOD drawLine // ( oQLineF ) -> NIL - // ( oQLine ) -> NIL - // ( oQPoint, oQPoint ) -> NIL - // ( oQPointF, oQPointF ) -> NIL - // ( nX1, nY1, nX2, nY2 ) -> NIL - METHOD drawLines // ( oQLineF, nLineCount ) -> NIL - // ( oQLine, nLineCount ) -> NIL - // ( oQPointF, nLineCount ) -> NIL - // ( oQPoint, nLineCount ) -> NIL - METHOD drawPath // ( oQPainterPath ) -> NIL - METHOD drawPicture // ( oQPointF, oQPicture ) -> NIL - // ( oQPoint, oQPicture ) -> NIL - // ( nX, nY, oQPicture ) -> NIL - METHOD drawPie // ( oQRectF, nStartAngle, nSpanAngle ) -> NIL - // ( oQRect, nStartAngle, nSpanAngle ) -> NIL - // ( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) -> NIL - METHOD drawPixmap // ( oQRectF, oQPixmap, oQRectF ) -> NIL - // ( oQRect, oQPixmap, oQRect ) -> NIL - // ( oQPointF, oQPixmap, oQRectF ) -> NIL - // ( oQPoint, oQPixmap, oQRect ) -> NIL - // ( oQPointF, oQPixmap ) -> NIL - // ( oQPoint, oQPixmap ) -> NIL - // ( nX, nY, oQPixmap ) -> NIL - // ( oQRect, oQPixmap ) -> NIL - // ( nX, nY, nWidth, nHeight, oQPixmap ) -> NIL - // ( nX, nY, nW, nH, oQPixmap, nSx, nSy, nSw, nSh ) -> NIL - // ( nX, nY, oQPixmap, nSx, nSy, nSw, nSh ) -> NIL - METHOD drawPoint // ( oQPointF ) -> NIL - // ( oQPoint ) -> NIL - // ( nX, nY ) -> NIL - METHOD drawPoints // ( oQPointF, nPointCount ) -> NIL - // ( oQPoint, nPointCount ) -> NIL - // ( oQPolygonF ) -> NIL - // ( oQPolygon ) -> NIL - METHOD drawPolygon // ( oQPointF, nPointCount, nFillRule ) -> NIL - // ( oQPoint, nPointCount, nFillRule ) -> NIL - // ( oQPolygonF, nFillRule ) -> NIL - // ( oQPolygon, nFillRule ) -> NIL - METHOD drawPolyline // ( oQPointF, nPointCount ) -> NIL - // ( oQPoint, nPointCount ) -> NIL - // ( oQPolygonF ) -> NIL - // ( oQPolygon ) -> NIL - METHOD drawRect // ( oQRectF ) -> NIL - // ( oQRect ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD drawRects // ( oQRectF, nRectCount ) -> NIL - // ( oQRect, nRectCount ) -> NIL - METHOD drawRoundedRect // ( oQRectF, nXRadius, nYRadius, nMode ) -> NIL - // ( oQRect, nXRadius, nYRadius, nMode ) -> NIL - // ( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) -> NIL - METHOD drawText // ( oQPointF, cText ) -> NIL - // ( oQPoint, cText ) -> NIL - // ( oQRectF, nFlags, cText, oQRectF ) -> NIL - // ( oQRect, nFlags, cText, oQRect ) -> NIL - // ( nX, nY, cText ) -> NIL - // ( nX, nY, nWidth, nHeight, nFlags, cText, oQRect ) -> NIL - // ( oQRectF, cText, oQTextOption ) -> NIL - METHOD drawTiledPixmap // ( oQRectF, oQPixmap, oQPointF ) -> NIL - // ( oQRect, oQPixmap, oQPoint ) -> NIL - // ( nX, nY, nWidth, nHeight, oQPixmap, nSx, nSy ) -> NIL - METHOD end // ( ) -> lBool - METHOD eraseRect // ( oQRectF ) -> NIL - // ( oQRect ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD fillPath // ( oQPainterPath, oQBrush ) -> NIL - METHOD fillRect // ( oQRectF, oQBrush ) -> NIL - // ( oQRect, oQBrush ) -> NIL - // ( oQRect, oQColor ) -> NIL - // ( oQRectF, oQColor ) -> NIL - // ( nX, nY, nWidth, nHeight, oQBrush ) -> NIL - // ( nX, nY, nWidth, nHeight, oQColor ) -> NIL - // ( nX, nY, nWidth, nHeight, nColor ) -> NIL - // ( oQRect, nColor ) -> NIL - // ( oQRectF, nColor ) -> NIL - METHOD font // ( ) -> oQFont - METHOD fontInfo // ( ) -> oQFontInfo - METHOD fontMetrics // ( ) -> oQFontMetrics - METHOD hasClipping // ( ) -> lBool - METHOD initFrom // ( oQWidget ) -> NIL - METHOD isActive // ( ) -> lBool - METHOD layoutDirection // ( ) -> nQt_LayoutDirection - METHOD opacity // ( ) -> nQreal - METHOD paintEngine // ( ) -> oQPaintEngine - METHOD pen // ( ) -> oQPen - METHOD renderHints // ( ) -> nRenderHints - METHOD resetMatrix // ( ) -> NIL - METHOD resetTransform // ( ) -> NIL - METHOD restore // ( ) -> NIL - METHOD rotate // ( nAngle ) -> NIL - METHOD save // ( ) -> NIL - METHOD scale // ( nSx, nSy ) -> NIL - METHOD setBackground // ( oQBrush ) -> NIL - METHOD setBackgroundMode // ( nMode ) -> NIL - METHOD setBrush // ( oQBrush ) -> NIL - // ( nStyle ) -> NIL - METHOD setBrushOrigin // ( oQPointF ) -> NIL - // ( oQPoint ) -> NIL - // ( nX, nY ) -> NIL - METHOD setClipPath // ( oQPainterPath, nOperation ) -> NIL - METHOD setClipRect // ( oQRectF, nOperation ) -> NIL - // ( nX, nY, nWidth, nHeight, nOperation ) -> NIL - // ( oQRect, nOperation ) -> NIL - METHOD setClipRegion // ( oQRegion, nOperation ) -> NIL - METHOD setClipping // ( lEnable ) -> NIL - METHOD setCompositionMode // ( nMode ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setLayoutDirection // ( nDirection ) -> NIL - METHOD setOpacity // ( nOpacity ) -> NIL - METHOD setPen // ( oQPen ) -> NIL - // ( oQColor ) -> NIL - // ( nStyle ) -> NIL - METHOD setRenderHint // ( nHint, lOn ) -> NIL - METHOD setRenderHints // ( nHints, lOn ) -> NIL - METHOD setTransform // ( oQTransform, lCombine ) -> NIL - METHOD setViewTransformEnabled // ( lEnable ) -> NIL - METHOD setViewport // ( oQRect ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD setWindow // ( oQRect ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD setWorldMatrix // ( oQMatrix, lCombine ) -> NIL - METHOD setWorldMatrixEnabled // ( lEnable ) -> NIL - METHOD setWorldTransform // ( oQTransform, lCombine ) -> NIL - METHOD shear // ( nSh, nSv ) -> NIL - METHOD strokePath // ( oQPainterPath, oQPen ) -> NIL - METHOD testRenderHint // ( nHint ) -> lBool - METHOD transform // ( ) -> oQTransform - METHOD translate // ( oQPointF ) -> NIL - // ( oQPoint ) -> NIL - // ( nDx, nDy ) -> NIL - METHOD viewTransformEnabled // ( ) -> lBool - METHOD viewport // ( ) -> oQRect - METHOD window // ( ) -> oQRect - METHOD worldMatrix // ( ) -> oQMatrix - METHOD worldMatrixEnabled // ( ) -> lBool - METHOD worldTransform // ( ) -> oQTransform - METHOD redirected // ( oQPaintDevice, oQPoint ) -> oQPaintDevice - METHOD restoreRedirected // ( oQPaintDevice ) -> NIL - METHOD setRedirected // ( oQPaintDevice, oQPaintDevice, oQPoint ) -> NIL - - ENDCLASS - - -METHOD QPainter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPainter( ... ) - RETURN Self - - -METHOD QPainter:background( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPainter_background( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:backgroundMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_backgroundMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:begin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_begin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:boundingRect( ... ) - 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 QRectFromPointer( 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 QRectFFromPointer( 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 QRectFFromPointer( Qt_QPainter_boundingRect( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QRectFromPointer( 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 QRectFFromPointer( Qt_QPainter_boundingRect_3( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:brush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPainter_brush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:brushOrigin( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QPainter_brushOrigin( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:clipPath( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QPainter_clipPath( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:clipRegion( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegionFromPointer( Qt_QPainter_clipRegion( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:combinedMatrix( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QPainter_combinedMatrix( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:combinedTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QPainter_combinedTransform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:compositionMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_compositionMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintDeviceFromPointer( Qt_QPainter_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:deviceMatrix( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QPainter_deviceMatrix( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:deviceTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QPainter_deviceTransform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:drawArc( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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 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_drawImage_8( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - 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 ) ) - RETURN Qt_QPainter_drawImage_8( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - 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 ) ) - RETURN Qt_QPainter_drawImage_8( ::pPtr, ... ) - ENDCASE - EXIT - CASE 4 - 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 ) ) - RETURN Qt_QPainter_drawImage_8( ::pPtr, ... ) - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QPOINTFQIMAGE" - RETURN Qt_QPainter_drawImage_4( ::pPtr, ... ) - CASE "QRECTQIMAGE" - RETURN Qt_QPainter_drawImage_1( ::pPtr, ... ) - CASE "QRECTFQIMAGE" - RETURN Qt_QPainter_drawImage( ::pPtr, ... ) - CASE "QPOINTQIMAGE" - RETURN Qt_QPainter_drawImage_5( ::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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QRECTQIMAGE" - RETURN Qt_QPainter_drawImage_1( ::pPtr, ... ) - CASE "QPOINTFQIMAGE" - RETURN Qt_QPainter_drawImage_4( ::pPtr, ... ) - CASE "QPOINTQIMAGE" - RETURN Qt_QPainter_drawImage_5( ::pPtr, ... ) - CASE "QRECTFQIMAGE" - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QRECTFQIMAGE" - RETURN Qt_QPainter_drawImage_6( ::pPtr, ... ) - CASE "QRECTQIMAGE" - RETURN Qt_QPainter_drawImage_7( ::pPtr, ... ) - CASE "QPOINTQIMAGE" - RETURN Qt_QPainter_drawImage_3( ::pPtr, ... ) - CASE "QPOINTFQIMAGE" - RETURN Qt_QPainter_drawImage_2( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:drawLine( ... ) - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QPOINTQPOINT" - RETURN Qt_QPainter_drawLine_2( ::pPtr, ... ) - CASE "QPOINTFQPOINTF" - 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( ... ) - 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( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_drawPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:drawPicture( ... ) - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QPOINTFQPICTURE" - RETURN Qt_QPainter_drawPicture( ::pPtr, ... ) - CASE "QPOINTQPICTURE" - RETURN Qt_QPainter_drawPicture_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:drawPie( ... ) - 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( ... ) - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QRECTQPIXMAP" - RETURN Qt_QPainter_drawPixmap_1( ::pPtr, ... ) - CASE "QPOINTQPIXMAP" - RETURN Qt_QPainter_drawPixmap_3( ::pPtr, ... ) - CASE "QRECTFQPIXMAP" - RETURN Qt_QPainter_drawPixmap( ::pPtr, ... ) - CASE "QPOINTFQPIXMAP" - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QPOINTFQPIXMAP" - RETURN Qt_QPainter_drawPixmap_4( ::pPtr, ... ) - CASE "QRECTQPIXMAP" - RETURN Qt_QPainter_drawPixmap_7( ::pPtr, ... ) - CASE "QPOINTQPIXMAP" - RETURN Qt_QPainter_drawPixmap_5( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:drawPoint( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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( ... ) - 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 ) ) + __objGetClsName( hb_pvalue( 4 ) ) - CASE "QRECTQRECT" - RETURN Qt_QPainter_drawText_3( ::pPtr, ... ) - CASE "QRECTFQRECTF" - 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( ... ) - 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 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_isObject( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QRECTFQPIXMAP" - RETURN Qt_QPainter_drawTiledPixmap( ::pPtr, ... ) - CASE "QRECTQPIXMAP" - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QRECTFQPIXMAP" - RETURN Qt_QPainter_drawTiledPixmap( ::pPtr, ... ) - CASE "QRECTQPIXMAP" - RETURN Qt_QPainter_drawTiledPixmap_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:end( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_end( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:eraseRect( ... ) - 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( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_fillPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:fillRect( ... ) - 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_fillRect_6( ::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 ) ) - SWITCH __objGetClsName( hb_pvalue( 5 ) ) - CASE "QBRUSH" - RETURN Qt_QPainter_fillRect_4( ::pPtr, ... ) - CASE "QCOLOR" - RETURN Qt_QPainter_fillRect_5( ::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_8( ::pPtr, ... ) - CASE "QRECT" - RETURN Qt_QPainter_fillRect_7( ::pPtr, ... ) - ENDSWITCH - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QRECTQBRUSH" - RETURN Qt_QPainter_fillRect_1( ::pPtr, ... ) - CASE "QRECTFQBRUSH" - RETURN Qt_QPainter_fillRect( ::pPtr, ... ) - CASE "QRECTQCOLOR" - RETURN Qt_QPainter_fillRect_2( ::pPtr, ... ) - CASE "QRECTFQCOLOR" - RETURN Qt_QPainter_fillRect_3( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QPainter_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:fontInfo( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontInfoFromPointer( Qt_QPainter_fontInfo( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:fontMetrics( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontMetricsFromPointer( Qt_QPainter_fontMetrics( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:hasClipping( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_hasClipping( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:initFrom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_initFrom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:isActive( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_isActive( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:layoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_layoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:opacity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_opacity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:paintEngine( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintEngineFromPointer( Qt_QPainter_paintEngine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:pen( ... ) - SWITCH PCount() - CASE 0 - RETURN QPenFromPointer( Qt_QPainter_pen( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:renderHints( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_renderHints( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:resetMatrix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_resetMatrix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:resetTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_resetTransform( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:restore( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_restore( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:rotate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_rotate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:save( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_save( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:scale( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_scale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setBackgroundMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setBackgroundMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setBrush_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setBrushOrigin( ... ) - 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( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setClipPath( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setClipPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setClipRect( ... ) - 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( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setClipRegion( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setClipRegion( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setClipping( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setClipping( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setCompositionMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setCompositionMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setLayoutDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setLayoutDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setOpacity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setOpacity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setPen( ... ) - 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( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setRenderHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setRenderHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setRenderHints( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setRenderHints( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setRenderHints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setTransform( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setTransform( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setViewTransformEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setViewTransformEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setViewport( ... ) - 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_setViewport_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setViewport( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setWindow( ... ) - 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_setWindow_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setWindow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setWorldMatrix( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setWorldMatrix( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setWorldMatrix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setWorldMatrixEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setWorldMatrixEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setWorldTransform( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setWorldTransform( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_setWorldTransform( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:shear( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_shear( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:strokePath( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_strokePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:testRenderHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_testRenderHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:transform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QPainter_transform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:translate( ... ) - 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( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_viewTransformEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:viewport( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QPainter_viewport( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:window( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QPainter_window( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:worldMatrix( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QPainter_worldMatrix( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:worldMatrixEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainter_worldMatrixEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:worldTransform( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QPainter_worldTransform( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:redirected( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QPaintDeviceFromPointer( Qt_QPainter_redirected( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPaintDeviceFromPointer( Qt_QPainter_redirected( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:restoreRedirected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainter_restoreRedirected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainter:setRedirected( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QPainter_setRedirected( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPainter_setRedirected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg b/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg deleted file mode 100644 index f95fa3e72e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPainterPath.prg +++ /dev/null @@ -1,632 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPainterPath( ... ) - RETURN HB_QPainterPath():new( ... ) - -FUNCTION QPainterPathFromPointer( ... ) - RETURN HB_QPainterPath():fromPointer( ... ) - - -CREATE CLASS QPainterPath INHERIT HbQtObjectHandler FUNCTION HB_QPainterPath - - METHOD new( ... ) - - METHOD addEllipse // ( oQRectF ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - // ( oQPointF, nRx, nRy ) -> NIL - METHOD addPath // ( oQPainterPath ) -> NIL - METHOD addPolygon // ( oQPolygonF ) -> NIL - METHOD addRect // ( oQRectF ) -> NIL - // ( nX, nY, nWidth, nHeight ) -> NIL - METHOD addRegion // ( oQRegion ) -> NIL - METHOD addRoundedRect // ( oQRectF, nXRadius, nYRadius, nMode ) -> NIL - // ( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) -> NIL - METHOD addText // ( oQPointF, oQFont, cText ) -> NIL - // ( nX, nY, oQFont, cText ) -> NIL - METHOD angleAtPercent // ( nT ) -> nQreal - METHOD arcMoveTo // ( oQRectF, nAngle ) -> NIL - // ( nX, nY, nWidth, nHeight, nAngle ) -> NIL - METHOD arcTo // ( oQRectF, nStartAngle, nSweepLength ) -> NIL - // ( nX, nY, nWidth, nHeight, nStartAngle, nSweepLength ) -> NIL - METHOD boundingRect // ( ) -> oQRectF - METHOD closeSubpath // ( ) -> NIL - METHOD connectPath // ( oQPainterPath ) -> NIL - METHOD contains // ( oQPointF ) -> lBool - // ( oQRectF ) -> lBool - // ( oQPainterPath ) -> lBool - METHOD controlPointRect // ( ) -> oQRectF - METHOD cubicTo // ( oQPointF, oQPointF, oQPointF ) -> NIL - // ( nC1X, nC1Y, nC2X, nC2Y, nEndPointX, nEndPointY ) -> NIL - METHOD currentPosition // ( ) -> oQPointF - METHOD elementCount // ( ) -> nInt - METHOD fillRule // ( ) -> nQt_FillRule - METHOD intersected // ( oQPainterPath ) -> oQPainterPath - METHOD intersects // ( oQRectF ) -> lBool - // ( oQPainterPath ) -> lBool - METHOD isEmpty // ( ) -> lBool - METHOD length // ( ) -> nQreal - METHOD lineTo // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD moveTo // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD percentAtLength // ( nLen ) -> nQreal - METHOD pointAtPercent // ( nT ) -> oQPointF - METHOD quadTo // ( oQPointF, oQPointF ) -> NIL - // ( nCx, nCy, nEndPointX, nEndPointY ) -> NIL - METHOD setElementPositionAt // ( nIndex, nX, nY ) -> NIL - METHOD setFillRule // ( nFillRule ) -> NIL - METHOD simplified // ( ) -> oQPainterPath - METHOD slopeAtPercent // ( nT ) -> nQreal - METHOD subtracted // ( oQPainterPath ) -> oQPainterPath - METHOD toFillPolygon // ( oQTransform ) -> oQPolygonF - // ( oQMatrix ) -> oQPolygonF - METHOD toFillPolygons // ( oQTransform ) -> oQList_QPolygonF> - // ( oQMatrix ) -> oQList_QPolygonF> - METHOD toReversed // ( ) -> oQPainterPath - METHOD toSubpathPolygons // ( oQTransform ) -> oQList_QPolygonF> - // ( oQMatrix ) -> oQList_QPolygonF> - METHOD united // ( oQPainterPath ) -> oQPainterPath - - ENDCLASS - - -METHOD QPainterPath:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPainterPath( ... ) - RETURN Self - - -METHOD QPainterPath:addEllipse( ... ) - 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_QPainterPath_addEllipse_1( ::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 ) ) - RETURN Qt_QPainterPath_addEllipse_2( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_addEllipse( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:addPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_addPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:addPolygon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_addPolygon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:addRect( ... ) - 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_QPainterPath_addRect_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_addRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:addRegion( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_addRegion( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:addRoundedRect( ... ) - 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_QPainterPath_addRoundedRect_1( ::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_QPainterPath_addRoundedRect_1( ::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 ) ) - RETURN Qt_QPainterPath_addRoundedRect( ::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 ) ) - RETURN Qt_QPainterPath_addRoundedRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:addText( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 - EXIT - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QPainterPath_addText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:angleAtPercent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_angleAtPercent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:arcMoveTo( ... ) - 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_QPainterPath_arcMoveTo_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainterPath_arcMoveTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:arcTo( ... ) - 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_QPainterPath_arcTo_1( ::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 ) ) - RETURN Qt_QPainterPath_arcTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QPainterPath_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:closeSubpath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainterPath_closeSubpath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:connectPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_connectPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:contains( ... ) - 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( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QPainterPath_controlPointRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:cubicTo( ... ) - 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_QPainterPath_cubicTo_1( ::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 ) ) - RETURN Qt_QPainterPath_cubicTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:currentPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QPainterPath_currentPosition( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:elementCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainterPath_elementCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:fillRule( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainterPath_fillRule( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:intersected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPainterPathFromPointer( Qt_QPainterPath_intersected( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:intersects( ... ) - 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( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainterPath_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPainterPath_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:lineTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainterPath_lineTo_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_lineTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:moveTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPainterPath_moveTo_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_moveTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:percentAtLength( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_percentAtLength( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:pointAtPercent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFFromPointer( Qt_QPainterPath_pointAtPercent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:quadTo( ... ) - 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_QPainterPath_quadTo_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPainterPath_quadTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:setElementPositionAt( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPainterPath_setElementPositionAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:setFillRule( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_setFillRule( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:simplified( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QPainterPath_simplified( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:slopeAtPercent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPainterPath_slopeAtPercent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:subtracted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPainterPathFromPointer( Qt_QPainterPath_subtracted( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:toFillPolygon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QTRANSFORM" - RETURN QPolygonFFromPointer( Qt_QPainterPath_toFillPolygon( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QPolygonFFromPointer( Qt_QPainterPath_toFillPolygon_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QPolygonFFromPointer( Qt_QPainterPath_toFillPolygon_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:toFillPolygons( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QTRANSFORM" - RETURN QListFromPointer( Qt_QPainterPath_toFillPolygons( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QListFromPointer( Qt_QPainterPath_toFillPolygons_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QPainterPath_toFillPolygons_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:toReversed( ... ) - SWITCH PCount() - CASE 0 - RETURN QPainterPathFromPointer( Qt_QPainterPath_toReversed( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:toSubpathPolygons( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QTRANSFORM" - RETURN QListFromPointer( Qt_QPainterPath_toSubpathPolygons( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QListFromPointer( Qt_QPainterPath_toSubpathPolygons_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - CASE 0 - RETURN QListFromPointer( Qt_QPainterPath_toSubpathPolygons_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPainterPath:united( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPainterPathFromPointer( Qt_QPainterPath_united( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPalette.prg b/harbour/contrib/hbqt/qtgui/g/TQPalette.prg deleted file mode 100644 index f036e57dfe..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPalette.prg +++ /dev/null @@ -1,397 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPalette( ... ) - RETURN HB_QPalette():new( ... ) - -FUNCTION QPaletteFromPointer( ... ) - RETURN HB_QPalette():fromPointer( ... ) - - -CREATE CLASS QPalette INHERIT HbQtObjectHandler FUNCTION HB_QPalette - - METHOD new( ... ) - - METHOD alternateBase // ( ) -> oQBrush - METHOD base // ( ) -> oQBrush - METHOD brightText // ( ) -> oQBrush - METHOD brush // ( nGroup, nRole ) -> oQBrush - // ( nRole ) -> oQBrush - METHOD button // ( ) -> oQBrush - METHOD buttonText // ( ) -> oQBrush - METHOD cacheKey // ( ) -> nQint64 - METHOD color // ( nGroup, nRole ) -> oQColor - // ( nRole ) -> oQColor - METHOD currentColorGroup // ( ) -> nColorGroup - METHOD dark // ( ) -> oQBrush - METHOD highlight // ( ) -> oQBrush - METHOD highlightedText // ( ) -> oQBrush - METHOD isBrushSet // ( nCg, nCr ) -> lBool - METHOD isCopyOf // ( oQPalette ) -> lBool - METHOD isEqual // ( nCg1, nCg2 ) -> lBool - METHOD light // ( ) -> oQBrush - METHOD link // ( ) -> oQBrush - METHOD linkVisited // ( ) -> oQBrush - METHOD mid // ( ) -> oQBrush - METHOD midlight // ( ) -> oQBrush - METHOD resolve // ( oQPalette ) -> oQPalette - METHOD setBrush // ( nRole, oQBrush ) -> NIL - // ( nGroup, nRole, oQBrush ) -> NIL - METHOD setColor // ( nRole, oQColor ) -> NIL - // ( nGroup, nRole, oQColor ) -> NIL - METHOD setColorGroup // ( nCg, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush, oQBrush ) -> NIL - METHOD setCurrentColorGroup // ( nCg ) -> NIL - METHOD shadow // ( ) -> oQBrush - METHOD text // ( ) -> oQBrush - METHOD toolTipBase // ( ) -> oQBrush - METHOD toolTipText // ( ) -> oQBrush - METHOD window // ( ) -> oQBrush - METHOD windowText // ( ) -> oQBrush - - ENDCLASS - - -METHOD QPalette:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPalette( ... ) - RETURN Self - - -METHOD QPalette:alternateBase( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_alternateBase( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:base( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_base( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:brightText( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_brightText( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:brush( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QBrushFromPointer( Qt_QPalette_brush( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QBrushFromPointer( Qt_QPalette_brush_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:button( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_button( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:buttonText( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_buttonText( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:cacheKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPalette_cacheKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:color( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QColorFromPointer( Qt_QPalette_color( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QPalette_color_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:currentColorGroup( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPalette_currentColorGroup( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:dark( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_dark( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:highlight( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_highlight( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:highlightedText( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_highlightedText( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:isBrushSet( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPalette_isBrushSet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:isCopyOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPalette_isCopyOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:isEqual( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPalette_isEqual( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:light( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_light( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:link( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_link( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:linkVisited( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_linkVisited( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:mid( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_mid( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:midlight( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_midlight( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:resolve( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPaletteFromPointer( Qt_QPalette_resolve( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:setBrush( ... ) - 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_QPalette_setBrush_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPalette_setBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:setColor( ... ) - 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_QPalette_setColor_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPalette_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:setColorGroup( ... ) - SWITCH PCount() - CASE 10 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) .AND. hb_isObject( hb_pvalue( 6 ) ) .AND. hb_isObject( hb_pvalue( 7 ) ) .AND. hb_isObject( hb_pvalue( 8 ) ) .AND. hb_isObject( hb_pvalue( 9 ) ) .AND. hb_isObject( hb_pvalue( 10 ) ) - RETURN Qt_QPalette_setColorGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:setCurrentColorGroup( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPalette_setCurrentColorGroup( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:shadow( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_shadow( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:text( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_text( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:toolTipBase( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_toolTipBase( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:toolTipText( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_toolTipText( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:window( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_window( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPalette:windowText( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPalette_windowText( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPen.prg b/harbour/contrib/hbqt/qtgui/g/TQPen.prg deleted file mode 100644 index 7d6ce9ee09..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPen.prg +++ /dev/null @@ -1,279 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPen( ... ) - RETURN HB_QPen():new( ... ) - -FUNCTION QPenFromPointer( ... ) - RETURN HB_QPen():fromPointer( ... ) - - -CREATE CLASS QPen INHERIT HbQtObjectHandler FUNCTION HB_QPen - - METHOD new( ... ) - - METHOD brush // ( ) -> oQBrush - METHOD capStyle // ( ) -> nQt_PenCapStyle - METHOD color // ( ) -> oQColor - METHOD dashOffset // ( ) -> nQreal - METHOD isCosmetic // ( ) -> lBool - METHOD isSolid // ( ) -> lBool - METHOD joinStyle // ( ) -> nQt_PenJoinStyle - METHOD miterLimit // ( ) -> nQreal - METHOD setBrush // ( oQBrush ) -> NIL - METHOD setCapStyle // ( nStyle ) -> NIL - METHOD setColor // ( oQColor ) -> NIL - METHOD setCosmetic // ( lCosmetic ) -> NIL - METHOD setDashOffset // ( nOffset ) -> NIL - METHOD setJoinStyle // ( nStyle ) -> NIL - METHOD setMiterLimit // ( nLimit ) -> NIL - METHOD setStyle // ( nStyle ) -> NIL - METHOD setWidth // ( nWidth ) -> NIL - METHOD setWidthF // ( nWidth ) -> NIL - METHOD style // ( ) -> nQt_PenStyle - METHOD width // ( ) -> nInt - METHOD widthF // ( ) -> nQreal - - ENDCLASS - - -METHOD QPen:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPen( ... ) - RETURN Self - - -METHOD QPen:brush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QPen_brush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:capStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_capStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:color( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QPen_color( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:dashOffset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_dashOffset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:isCosmetic( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_isCosmetic( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:isSolid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_isSolid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:joinStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_joinStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:miterLimit( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_miterLimit( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setCapStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setCapStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setCosmetic( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setCosmetic( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setDashOffset( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setDashOffset( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setJoinStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setJoinStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setMiterLimit( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setMiterLimit( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:setWidthF( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPen_setWidthF( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPen:widthF( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPen_widthF( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPicture.prg b/harbour/contrib/hbqt/qtgui/g/TQPicture.prg deleted file mode 100644 index a4041efece..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPicture.prg +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPicture( ... ) - RETURN HB_QPicture():new( ... ) - -FUNCTION QPictureFromPointer( ... ) - RETURN HB_QPicture():fromPointer( ... ) - - -CREATE CLASS QPicture INHERIT HbQtObjectHandler, HB_QPaintDevice FUNCTION HB_QPicture - - METHOD new( ... ) - - METHOD boundingRect // ( ) -> oQRect - METHOD data // ( ) -> cChar - METHOD isNull // ( ) -> lBool - METHOD load // ( cFileName, cFormat ) -> lBool - // ( oQIODevice, cFormat ) -> lBool - METHOD play // ( oQPainter ) -> lBool - METHOD save // ( cFileName, cFormat ) -> lBool - // ( oQIODevice, cFormat ) -> lBool - METHOD setBoundingRect // ( oQRect ) -> NIL - METHOD setData // ( cData, nSize ) -> NIL - METHOD size // ( ) -> nUint - - ENDCLASS - - -METHOD QPicture:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPicture( ... ) - RETURN Self - - -METHOD QPicture:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QPicture_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:data( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPicture_data( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPicture_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:load( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPicture_load( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPicture_load_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPicture_load( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPicture_load_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:play( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPicture_play( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:save( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPicture_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPicture_save_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPicture_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPicture_save_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:setBoundingRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPicture_setBoundingRect( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPicture_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPicture:size( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPicture_size( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg b/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg deleted file mode 100644 index 638416ce46..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPixmap.prg +++ /dev/null @@ -1,561 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPixmap( ... ) - RETURN HB_QPixmap():new( ... ) - -FUNCTION QPixmapFromPointer( ... ) - RETURN HB_QPixmap():fromPointer( ... ) - - -CREATE CLASS QPixmap INHERIT HbQtObjectHandler, HB_QPaintDevice FUNCTION HB_QPixmap - - METHOD new( ... ) - - METHOD alphaChannel // ( ) -> oQPixmap - METHOD cacheKey // ( ) -> nQint64 - METHOD copy // ( oQRect ) -> oQPixmap - // ( nX, nY, nWidth, nHeight ) -> oQPixmap - METHOD createHeuristicMask // ( lClipTight ) -> oQBitmap - METHOD createMaskFromColor // ( oQColor, nMode ) -> oQBitmap - // ( oQColor ) -> oQBitmap - METHOD depth // ( ) -> nInt - METHOD detach // ( ) -> NIL - METHOD fill // ( oQColor ) -> NIL - // ( oQWidget, oQPoint ) -> NIL - // ( oQWidget, nX, nY ) -> NIL - METHOD hasAlpha // ( ) -> lBool - METHOD hasAlphaChannel // ( ) -> lBool - METHOD height // ( ) -> nInt - METHOD isNull // ( ) -> lBool - METHOD isQBitmap // ( ) -> lBool - METHOD load // ( cFileName, cFormat, nFlags ) -> lBool - METHOD loadFromData // ( oQByteArray, cFormat, nFlags ) -> lBool - METHOD mask // ( ) -> oQBitmap - METHOD rect // ( ) -> oQRect - METHOD save // ( cFileName, cFormat, nQuality ) -> lBool - // ( oQIODevice, cFormat, nQuality ) -> lBool - METHOD scaled // ( nWidth, nHeight, nAspectRatioMode, nTransformMode ) -> oQPixmap - // ( oQSize, nAspectRatioMode, nTransformMode ) -> oQPixmap - METHOD scaledToHeight // ( nHeight, nMode ) -> oQPixmap - METHOD scaledToWidth // ( nWidth, nMode ) -> oQPixmap - METHOD setAlphaChannel // ( oQPixmap ) -> NIL - METHOD setMask // ( oQBitmap ) -> NIL - METHOD size // ( ) -> oQSize - METHOD toImage // ( ) -> oQImage - METHOD transformed // ( oQTransform, nMode ) -> oQPixmap - // ( oQMatrix, nMode ) -> oQPixmap - METHOD width // ( ) -> nInt - METHOD defaultDepth // ( ) -> nInt - METHOD fromImage // ( oQImage, nFlags ) -> oQPixmap - METHOD grabWidget // ( oQWidget, oQRect ) -> oQPixmap - // ( oQWidget, nX, nY, nWidth, nHeight ) -> oQPixmap - METHOD trueMatrix // ( oQTransform, nWidth, nHeight ) -> oQTransform - // ( oQMatrix, nW, nH ) -> oQMatrix - - ENDCLASS - - -METHOD QPixmap:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPixmap( ... ) - RETURN Self - - -METHOD QPixmap:alphaChannel( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QPixmap_alphaChannel( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:cacheKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_cacheKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:copy( ... ) - 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 QPixmapFromPointer( Qt_QPixmap_copy_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_copy( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QPixmapFromPointer( Qt_QPixmap_copy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:createHeuristicMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN QBitmapFromPointer( Qt_QPixmap_createHeuristicMask( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QBitmapFromPointer( Qt_QPixmap_createHeuristicMask( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:createMaskFromColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QBitmapFromPointer( Qt_QPixmap_createMaskFromColor( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QBitmapFromPointer( Qt_QPixmap_createMaskFromColor_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:depth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_depth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:detach( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_detach( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:fill( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPixmap_fill_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_fill( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QPixmap_fill( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:hasAlpha( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_hasAlpha( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:hasAlphaChannel( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_hasAlphaChannel( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:isQBitmap( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_isQBitmap( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:load( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPixmap_load( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPixmap_load( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_load( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:loadFromData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPixmap_loadFromData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPixmap_loadFromData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_loadFromData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:mask( ... ) - SWITCH PCount() - CASE 0 - RETURN QBitmapFromPointer( Qt_QPixmap_mask( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QPixmap_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:save( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPixmap_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPixmap_save_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPixmap_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPixmap_save_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_save( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_save_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:scaled( ... ) - 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 QPixmapFromPointer( Qt_QPixmap_scaled( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaled( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaled( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaled_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:scaledToHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaledToHeight( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaledToHeight( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:scaledToWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaledToWidth( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_scaledToWidth( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:setAlphaChannel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_setAlphaChannel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:setMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPixmap_setMask( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QPixmap_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:toImage( ... ) - SWITCH PCount() - CASE 0 - RETURN QImageFromPointer( Qt_QPixmap_toImage( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:transformed( ... ) - 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 QPixmapFromPointer( Qt_QPixmap_transformed( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QPixmapFromPointer( 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 QPixmapFromPointer( Qt_QPixmap_transformed( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QPixmapFromPointer( Qt_QPixmap_transformed_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:defaultDepth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPixmap_defaultDepth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:fromImage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_fromImage( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_fromImage( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:grabWidget( ... ) - SWITCH PCount() - CASE 5 - 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 ) ) .AND. hb_isNumeric( hb_pvalue( 5 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_grabWidget_1( ::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 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_grabWidget_1( ::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 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_grabWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QPixmap_grabWidget_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPixmap:trueMatrix( ... ) - 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 "QTRANSFORM" - RETURN QTransformFromPointer( Qt_QPixmap_trueMatrix( ::pPtr, ... ) ) - CASE "QMATRIX" - RETURN QMatrixFromPointer( Qt_QPixmap_trueMatrix_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg deleted file mode 100644 index 22bbce2251..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPlainTextDocumentLayout.prg +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPlainTextDocumentLayout( ... ) - RETURN HB_QPlainTextDocumentLayout():new( ... ) - -FUNCTION QPlainTextDocumentLayoutFromPointer( ... ) - RETURN HB_QPlainTextDocumentLayout():fromPointer( ... ) - - -CREATE CLASS QPlainTextDocumentLayout INHERIT HbQtObjectHandler, HB_QAbstractTextDocumentLayout FUNCTION HB_QPlainTextDocumentLayout - - METHOD new( ... ) - - METHOD cursorWidth // ( ) -> nInt - METHOD ensureBlockLayout // ( oQTextBlock ) -> NIL - METHOD requestUpdate // ( ) -> NIL - METHOD setCursorWidth // ( nWidth ) -> NIL - - ENDCLASS - - -METHOD QPlainTextDocumentLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPlainTextDocumentLayout( ... ) - RETURN Self - - -METHOD QPlainTextDocumentLayout:cursorWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextDocumentLayout_cursorWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextDocumentLayout:ensureBlockLayout( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextDocumentLayout_ensureBlockLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextDocumentLayout:requestUpdate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextDocumentLayout_requestUpdate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextDocumentLayout:setCursorWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextDocumentLayout_setCursorWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg deleted file mode 100644 index 2e65c5d9a1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPlainTextEdit.prg +++ /dev/null @@ -1,677 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPlainTextEdit( ... ) - RETURN HB_QPlainTextEdit():new( ... ) - -FUNCTION QPlainTextEditFromPointer( ... ) - RETURN HB_QPlainTextEdit():fromPointer( ... ) - - -CREATE CLASS QPlainTextEdit INHERIT HbQtObjectHandler, HB_QAbstractScrollArea FUNCTION HB_QPlainTextEdit - - METHOD new( ... ) - - METHOD backgroundVisible // ( ) -> lBool - METHOD blockCount // ( ) -> nInt - METHOD canPaste // ( ) -> lBool - METHOD centerOnScroll // ( ) -> lBool - METHOD createStandardContextMenu // ( ) -> oQMenu - METHOD currentCharFormat // ( ) -> oQTextCharFormat - METHOD cursorForPosition // ( oQPoint ) -> oQTextCursor - METHOD cursorRect // ( oQTextCursor ) -> oQRect - // ( ) -> oQRect - METHOD cursorWidth // ( ) -> nInt - METHOD document // ( ) -> oQTextDocument - METHOD documentTitle // ( ) -> cQString - METHOD ensureCursorVisible // ( ) -> NIL - METHOD find // ( cExp, nOptions ) -> lBool - METHOD isReadOnly // ( ) -> lBool - METHOD isUndoRedoEnabled // ( ) -> lBool - METHOD lineWrapMode // ( ) -> nLineWrapMode - METHOD loadResource // ( nType, oQUrl ) -> oQVariant - METHOD maximumBlockCount // ( ) -> nInt - METHOD mergeCurrentCharFormat // ( oQTextCharFormat ) -> NIL - METHOD moveCursor // ( nOperation, nMode ) -> NIL - METHOD overwriteMode // ( ) -> lBool - METHOD print // ( oQPrinter ) -> NIL - METHOD setBackgroundVisible // ( lVisible ) -> NIL - METHOD setCenterOnScroll // ( lEnabled ) -> NIL - METHOD setCurrentCharFormat // ( oQTextCharFormat ) -> NIL - METHOD setCursorWidth // ( nWidth ) -> NIL - METHOD setDocument // ( oQTextDocument ) -> NIL - METHOD setDocumentTitle // ( cTitle ) -> NIL - METHOD setLineWrapMode // ( nMode ) -> NIL - METHOD setMaximumBlockCount // ( nMaximum ) -> NIL - METHOD setOverwriteMode // ( lOverwrite ) -> NIL - METHOD setReadOnly // ( lRo ) -> NIL - METHOD setTabChangesFocus // ( lB ) -> NIL - METHOD setTabStopWidth // ( nWidth ) -> NIL - METHOD setTextCursor // ( oQTextCursor ) -> NIL - METHOD setTextInteractionFlags // ( nFlags ) -> NIL - METHOD setUndoRedoEnabled // ( lEnable ) -> NIL - METHOD setWordWrapMode // ( nPolicy ) -> NIL - METHOD tabChangesFocus // ( ) -> lBool - METHOD tabStopWidth // ( ) -> nInt - METHOD textCursor // ( ) -> oQTextCursor - METHOD textInteractionFlags // ( ) -> nQt_TextInteractionFlags - METHOD toPlainText // ( ) -> cQString - METHOD wordWrapMode // ( ) -> nQTextOption_WrapMode - METHOD appendHtml // ( cHtml ) -> NIL - METHOD appendPlainText // ( cText ) -> NIL - METHOD centerCursor // ( ) -> NIL - METHOD clear // ( ) -> NIL - METHOD copy // ( ) -> NIL - METHOD cut // ( ) -> NIL - METHOD insertPlainText // ( cText ) -> NIL - METHOD paste // ( ) -> NIL - METHOD redo // ( ) -> NIL - METHOD selectAll // ( ) -> NIL - METHOD setPlainText // ( cText ) -> NIL - METHOD undo // ( ) -> NIL - - ENDCLASS - - -METHOD QPlainTextEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPlainTextEdit( ... ) - RETURN Self - - -METHOD QPlainTextEdit:backgroundVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_backgroundVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:blockCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_blockCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:canPaste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_canPaste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:centerOnScroll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_centerOnScroll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:createStandardContextMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QPlainTextEdit_createStandardContextMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:currentCharFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QPlainTextEdit_currentCharFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:cursorForPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextCursorFromPointer( Qt_QPlainTextEdit_cursorForPosition( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:cursorRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QPlainTextEdit_cursorRect( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QRectFromPointer( Qt_QPlainTextEdit_cursorRect_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:cursorWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_cursorWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QPlainTextEdit_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:documentTitle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_documentTitle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:ensureCursorVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_ensureCursorVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:find( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPlainTextEdit_find( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_find( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:isUndoRedoEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_isUndoRedoEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:lineWrapMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_lineWrapMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:loadResource( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QPlainTextEdit_loadResource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:maximumBlockCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_maximumBlockCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:mergeCurrentCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_mergeCurrentCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:moveCursor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPlainTextEdit_moveCursor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_moveCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:overwriteMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_overwriteMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:print( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_print( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setBackgroundVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setBackgroundVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setCenterOnScroll( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setCenterOnScroll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setCurrentCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setCurrentCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setCursorWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setCursorWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setDocument( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setDocument( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setDocumentTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setDocumentTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setLineWrapMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setLineWrapMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setMaximumBlockCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setMaximumBlockCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setOverwriteMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setOverwriteMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setTabChangesFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setTabChangesFocus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setTabStopWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setTabStopWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setTextCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setTextCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setTextInteractionFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setTextInteractionFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setUndoRedoEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setUndoRedoEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setWordWrapMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setWordWrapMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:tabChangesFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_tabChangesFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:tabStopWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_tabStopWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:textCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCursorFromPointer( Qt_QPlainTextEdit_textCursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:textInteractionFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_textInteractionFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:toPlainText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_toPlainText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:wordWrapMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_wordWrapMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:appendHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_appendHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:appendPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_appendPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:centerCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_centerCursor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:copy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_copy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:cut( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_cut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:insertPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_insertPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:paste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_paste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:redo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_redo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:selectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_selectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:setPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPlainTextEdit_setPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPlainTextEdit:undo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPlainTextEdit_undo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg b/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg deleted file mode 100644 index 590170850e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPolygon.prg +++ /dev/null @@ -1,203 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPolygon( ... ) - RETURN HB_QPolygon():new( ... ) - -FUNCTION QPolygonFromPointer( ... ) - RETURN HB_QPolygon():fromPointer( ... ) - - -CREATE CLASS QPolygon INHERIT HbQtObjectHandler FUNCTION HB_QPolygon - - METHOD new( ... ) - - METHOD boundingRect // ( ) -> oQRect - METHOD containsPoint // ( oQPoint, nFillRule ) -> lBool - METHOD intersected // ( oQPolygon ) -> oQPolygon - METHOD point // ( nIndex, @nX, @nY ) -> NIL - // ( nIndex ) -> oQPoint - METHOD putPoints // ( nIndex, nNPoints, oQPolygon, nFromIndex ) -> NIL - METHOD setPoint // ( nIndex, nX, nY ) -> NIL - // ( nIndex, oQPoint ) -> NIL - METHOD setPoints // ( nNPoints, @nPoints ) -> NIL - METHOD subtracted // ( oQPolygon ) -> oQPolygon - METHOD translate // ( nDx, nDy ) -> NIL - // ( oQPoint ) -> NIL - METHOD united // ( oQPolygon ) -> oQPolygon - - ENDCLASS - - -METHOD QPolygon:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPolygon( ... ) - RETURN Self - - -METHOD QPolygon:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QPolygon_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:containsPoint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPolygon_containsPoint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:intersected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFromPointer( Qt_QPolygon_intersected( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:point( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPolygon_point( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPointFromPointer( Qt_QPolygon_point_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:putPoints( ... ) - SWITCH PCount() - CASE 4 - 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 ) ) - RETURN Qt_QPolygon_putPoints( ::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_QPolygon_putPoints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:setPoint( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QPolygon_setPoint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPolygon_setPoint_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:setPoints( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPolygon_setPoints( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:subtracted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFromPointer( Qt_QPolygon_subtracted( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPolygon_translate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPolygon_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygon:united( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFromPointer( Qt_QPolygon_united( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg b/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg deleted file mode 100644 index 3be126514f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPolygonF.prg +++ /dev/null @@ -1,149 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPolygonF( ... ) - RETURN HB_QPolygonF():new( ... ) - -FUNCTION QPolygonFFromPointer( ... ) - RETURN HB_QPolygonF():fromPointer( ... ) - - -CREATE CLASS QPolygonF INHERIT HbQtObjectHandler FUNCTION HB_QPolygonF - - METHOD new( ... ) - - METHOD boundingRect // ( ) -> oQRectF - METHOD containsPoint // ( oQPointF, nFillRule ) -> lBool - METHOD intersected // ( oQPolygonF ) -> oQPolygonF - METHOD isClosed // ( ) -> lBool - METHOD subtracted // ( oQPolygonF ) -> oQPolygonF - METHOD toPolygon // ( ) -> oQPolygon - METHOD translate // ( oQPointF ) -> NIL - // ( nDx, nDy ) -> NIL - METHOD united // ( oQPolygonF ) -> oQPolygonF - - ENDCLASS - - -METHOD QPolygonF:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPolygonF( ... ) - RETURN Self - - -METHOD QPolygonF:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QPolygonF_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:containsPoint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPolygonF_containsPoint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:intersected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFFromPointer( Qt_QPolygonF_intersected( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:isClosed( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPolygonF_isClosed( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:subtracted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFFromPointer( Qt_QPolygonF_subtracted( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:toPolygon( ... ) - SWITCH PCount() - CASE 0 - RETURN QPolygonFromPointer( Qt_QPolygonF_toPolygon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPolygonF_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPolygonF_translate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPolygonF:united( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFFromPointer( Qt_QPolygonF_united( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg deleted file mode 100644 index dfbdbb6e96..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPrintDialog.prg +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPrintDialog( ... ) - RETURN HB_QPrintDialog():new( ... ) - -FUNCTION QPrintDialogFromPointer( ... ) - RETURN HB_QPrintDialog():fromPointer( ... ) - - -CREATE CLASS QPrintDialog INHERIT HbQtObjectHandler, HB_QAbstractPrintDialog FUNCTION HB_QPrintDialog - - METHOD new( ... ) - - METHOD done // ( nResult ) -> NIL - METHOD open // ( oQObject, cMember ) -> NIL - METHOD options // ( ) -> nPrintDialogOptions - METHOD printer // ( ) -> oQPrinter - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD testOption // ( nOption ) -> lBool - - ENDCLASS - - -METHOD QPrintDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPrintDialog( ... ) - RETURN Self - - -METHOD QPrintDialog:done( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrintDialog_done( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPrintDialog_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrintDialog_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:printer( ... ) - SWITCH PCount() - CASE 0 - RETURN QPrinterFromPointer( Qt_QPrintDialog_printer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QPrintDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrintDialog_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrintDialog_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPrintDialog_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintDialog:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrintDialog_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg b/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg deleted file mode 100644 index 3eee4269e0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPrintEngine.prg +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPrintEngine( ... ) - RETURN HB_QPrintEngine():new( ... ) - -FUNCTION QPrintEngineFromPointer( ... ) - RETURN HB_QPrintEngine():fromPointer( ... ) - - -CREATE CLASS QPrintEngine INHERIT HbQtObjectHandler FUNCTION HB_QPrintEngine - - METHOD new( ... ) - - METHOD abort // ( ) -> lBool - METHOD metric // ( nId ) -> nInt - METHOD newPage // ( ) -> lBool - METHOD printerState // ( ) -> nQPrinter_PrinterState - METHOD property // ( nKey ) -> oQVariant - METHOD setProperty // ( nKey, oQVariant ) -> NIL - - ENDCLASS - - -METHOD QPrintEngine:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPrintEngine( ... ) - RETURN Self - - -METHOD QPrintEngine:abort( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrintEngine_abort( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintEngine:metric( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrintEngine_metric( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintEngine:newPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrintEngine_newPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintEngine:printerState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrintEngine_printerState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintEngine:property( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QPrintEngine_property( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintEngine:setProperty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QPrintEngine_setProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg deleted file mode 100644 index da1b293e1d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPrintPreviewDialog.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPrintPreviewDialog( ... ) - RETURN HB_QPrintPreviewDialog():new( ... ) - -FUNCTION QPrintPreviewDialogFromPointer( ... ) - RETURN HB_QPrintPreviewDialog():fromPointer( ... ) - - -CREATE CLASS QPrintPreviewDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QPrintPreviewDialog - - METHOD new( ... ) - - METHOD open // ( oQObject, cMember ) -> NIL - METHOD printer // ( ) -> oQPrinter - - ENDCLASS - - -METHOD QPrintPreviewDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPrintPreviewDialog( ... ) - RETURN Self - - -METHOD QPrintPreviewDialog:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QPrintPreviewDialog_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrintPreviewDialog:printer( ... ) - SWITCH PCount() - CASE 0 - RETURN QPrinterFromPointer( Qt_QPrintPreviewDialog_printer( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg b/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg deleted file mode 100644 index 0e5a25044d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPrinter.prg +++ /dev/null @@ -1,634 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPrinter( ... ) - RETURN HB_QPrinter():new( ... ) - -FUNCTION QPrinterFromPointer( ... ) - RETURN HB_QPrinter():fromPointer( ... ) - - -CREATE CLASS QPrinter INHERIT HbQtObjectHandler, HB_QPaintDevice FUNCTION HB_QPrinter - - METHOD new( ... ) - - METHOD abort // ( ) -> lBool - METHOD collateCopies // ( ) -> lBool - METHOD colorMode // ( ) -> nColorMode - METHOD creator // ( ) -> cQString - METHOD docName // ( ) -> cQString - METHOD doubleSidedPrinting // ( ) -> lBool - METHOD duplex // ( ) -> nDuplexMode - METHOD fontEmbeddingEnabled // ( ) -> lBool - METHOD fromPage // ( ) -> nInt - METHOD fullPage // ( ) -> lBool - METHOD getPageMargins // ( @nLeft, @nTop, @nRight, @nBottom, nUnit ) -> NIL - METHOD isValid // ( ) -> lBool - METHOD newPage // ( ) -> lBool - METHOD numCopies // ( ) -> nInt - METHOD orientation // ( ) -> nOrientation - METHOD outputFileName // ( ) -> cQString - METHOD outputFormat // ( ) -> nOutputFormat - METHOD pageOrder // ( ) -> nPageOrder - METHOD pageRect // ( ) -> oQRect - // ( nUnit ) -> oQRectF - METHOD paintEngine // ( ) -> oQPaintEngine - METHOD paperRect // ( ) -> oQRect - // ( nUnit ) -> oQRectF - METHOD paperSize // ( ) -> nPaperSize - // ( nUnit ) -> oQSizeF - METHOD paperSource // ( ) -> nPaperSource - METHOD printEngine // ( ) -> oQPrintEngine - METHOD printProgram // ( ) -> cQString - METHOD printRange // ( ) -> nPrintRange - METHOD printerName // ( ) -> cQString - METHOD printerState // ( ) -> nPrinterState - METHOD resolution // ( ) -> nInt - METHOD setCollateCopies // ( lCollate ) -> NIL - METHOD setColorMode // ( nNewColorMode ) -> NIL - METHOD setCreator // ( cCreator ) -> NIL - METHOD setDocName // ( cName ) -> NIL - METHOD setDoubleSidedPrinting // ( lDoubleSided ) -> NIL - METHOD setDuplex // ( nDuplex ) -> NIL - METHOD setFontEmbeddingEnabled // ( lEnable ) -> NIL - METHOD setFromTo // ( nFrom, nTo ) -> NIL - METHOD setFullPage // ( lFp ) -> NIL - METHOD setNumCopies // ( nNumCopies ) -> NIL - METHOD setOrientation // ( nOrientation ) -> NIL - METHOD setOutputFileName // ( cFileName ) -> NIL - METHOD setOutputFormat // ( nFormat ) -> NIL - METHOD setPageMargins // ( nLeft, nTop, nRight, nBottom, nUnit ) -> NIL - METHOD setPageOrder // ( nPageOrder ) -> NIL - METHOD setPaperSize // ( nNewPaperSize ) -> NIL - // ( oQSizeF, nUnit ) -> NIL - METHOD setPaperSource // ( nSource ) -> NIL - METHOD setPrintProgram // ( cPrintProg ) -> NIL - METHOD setPrintRange // ( nRange ) -> NIL - METHOD setPrinterName // ( cName ) -> NIL - METHOD setResolution // ( nDpi ) -> NIL - METHOD supportedResolutions // ( ) -> oQList_int> - METHOD toPage // ( ) -> nInt - - ENDCLASS - - -METHOD QPrinter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPrinter( ... ) - RETURN Self - - -METHOD QPrinter:abort( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_abort( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:collateCopies( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_collateCopies( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:colorMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_colorMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:creator( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_creator( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:docName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_docName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:doubleSidedPrinting( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_doubleSidedPrinting( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:duplex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_duplex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:fontEmbeddingEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_fontEmbeddingEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:fromPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_fromPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:fullPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_fullPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:getPageMargins( ... ) - 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_QPrinter_getPageMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:newPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_newPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:numCopies( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_numCopies( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:outputFileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_outputFileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:outputFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_outputFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:pageOrder( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_pageOrder( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:pageRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QPrinter_pageRect_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QRectFromPointer( Qt_QPrinter_pageRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:paintEngine( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintEngineFromPointer( Qt_QPrinter_paintEngine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:paperRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QRectFFromPointer( Qt_QPrinter_paperRect_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QRectFromPointer( Qt_QPrinter_paperRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:paperSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QSizeFFromPointer( Qt_QPrinter_paperSize_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QPrinter_paperSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:paperSource( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_paperSource( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:printEngine( ... ) - SWITCH PCount() - CASE 0 - RETURN QPrintEngineFromPointer( Qt_QPrinter_printEngine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:printProgram( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_printProgram( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:printRange( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_printRange( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:printerName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_printerName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:printerState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_printerState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:resolution( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_resolution( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setCollateCopies( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setCollateCopies( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setColorMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setColorMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setCreator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setCreator( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setDocName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setDocName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setDoubleSidedPrinting( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setDoubleSidedPrinting( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setDuplex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setDuplex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setFontEmbeddingEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setFontEmbeddingEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setFromTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPrinter_setFromTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setFullPage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setFullPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setNumCopies( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setNumCopies( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setOutputFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setOutputFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setOutputFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setOutputFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPageMargins( ... ) - 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_QPrinter_setPageMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPageOrder( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setPageOrder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPaperSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QPrinter_setPaperSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setPaperSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPaperSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setPaperSource( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPrintProgram( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setPrintProgram( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPrintRange( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setPrintRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setPrinterName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setPrinterName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:setResolution( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QPrinter_setResolution( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:supportedResolutions( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QPrinter_supportedResolutions( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinter:toPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinter_toPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg b/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg deleted file mode 100644 index 6668fd23fb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPrinterInfo.prg +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPrinterInfo( ... ) - RETURN HB_QPrinterInfo():new( ... ) - -FUNCTION QPrinterInfoFromPointer( ... ) - RETURN HB_QPrinterInfo():fromPointer( ... ) - - -CREATE CLASS QPrinterInfo INHERIT HbQtObjectHandler FUNCTION HB_QPrinterInfo - - METHOD new( ... ) - - METHOD isDefault // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD printerName // ( ) -> cQString - METHOD availablePrinters // ( ) -> oQList_QPrinterInfo> - METHOD defaultPrinter // ( ) -> oQPrinterInfo - - ENDCLASS - - -METHOD QPrinterInfo:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPrinterInfo( ... ) - RETURN Self - - -METHOD QPrinterInfo:isDefault( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinterInfo_isDefault( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinterInfo:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinterInfo_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinterInfo:printerName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPrinterInfo_printerName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinterInfo:availablePrinters( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QPrinterInfo_availablePrinters( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPrinterInfo:defaultPrinter( ... ) - SWITCH PCount() - CASE 0 - RETURN QPrinterInfoFromPointer( Qt_QPrinterInfo_defaultPrinter( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg b/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg deleted file mode 100644 index 0606631e85..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQProgressBar.prg +++ /dev/null @@ -1,279 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QProgressBar( ... ) - RETURN HB_QProgressBar():new( ... ) - -FUNCTION QProgressBarFromPointer( ... ) - RETURN HB_QProgressBar():fromPointer( ... ) - - -CREATE CLASS QProgressBar INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QProgressBar - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD format // ( ) -> cQString - METHOD invertedAppearance // ( ) -> lBool - METHOD isTextVisible // ( ) -> lBool - METHOD maximum // ( ) -> nInt - METHOD minimum // ( ) -> nInt - METHOD orientation // ( ) -> nQt_Orientation - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setFormat // ( cFormat ) -> NIL - METHOD setInvertedAppearance // ( lInvert ) -> NIL - METHOD setTextDirection // ( nTextDirection ) -> NIL - METHOD setTextVisible // ( lVisible ) -> NIL - METHOD text // ( ) -> cQString - METHOD textDirection // ( ) -> nQProgressBar_Direction - METHOD value // ( ) -> nInt - METHOD reset // ( ) -> NIL - METHOD setMaximum // ( nMaximum ) -> NIL - METHOD setMinimum // ( nMinimum ) -> NIL - METHOD setOrientation // ( nQt::Orientation ) -> NIL - METHOD setRange // ( nMinimum, nMaximum ) -> NIL - METHOD setValue // ( nValue ) -> NIL - - ENDCLASS - - -METHOD QProgressBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QProgressBar( ... ) - RETURN Self - - -METHOD QProgressBar:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:format( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_format( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:invertedAppearance( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_invertedAppearance( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:isTextVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_isTextVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setInvertedAppearance( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setInvertedAppearance( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setTextDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setTextDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setTextVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setTextVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:textDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_textDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressBar_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QProgressBar_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressBar:setValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressBar_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg b/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg deleted file mode 100644 index e847837984..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQProgressDialog.prg +++ /dev/null @@ -1,318 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QProgressDialog( ... ) - RETURN HB_QProgressDialog():new( ... ) - -FUNCTION QProgressDialogFromPointer( ... ) - RETURN HB_QProgressDialog():fromPointer( ... ) - - -CREATE CLASS QProgressDialog INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QProgressDialog - - METHOD new( ... ) - - METHOD autoClose // ( ) -> lBool - METHOD autoReset // ( ) -> lBool - METHOD labelText // ( ) -> cQString - METHOD maximum // ( ) -> nInt - METHOD minimum // ( ) -> nInt - METHOD minimumDuration // ( ) -> nInt - METHOD open // ( oQObject, cMember ) -> NIL - METHOD setAutoClose // ( lClose ) -> NIL - METHOD setAutoReset // ( lReset ) -> NIL - METHOD setBar // ( oQProgressBar ) -> NIL - METHOD setCancelButton // ( oQPushButton ) -> NIL - METHOD setLabel // ( oQLabel ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD value // ( ) -> nInt - METHOD wasCanceled // ( ) -> lBool - METHOD cancel // ( ) -> NIL - METHOD reset // ( ) -> NIL - METHOD setCancelButtonText // ( cCancelButtonText ) -> NIL - METHOD setLabelText // ( cText ) -> NIL - METHOD setMaximum // ( nMaximum ) -> NIL - METHOD setMinimum // ( nMinimum ) -> NIL - METHOD setMinimumDuration // ( nMs ) -> NIL - METHOD setRange // ( nMinimum, nMaximum ) -> NIL - METHOD setValue // ( nProgress ) -> NIL - - ENDCLASS - - -METHOD QProgressDialog:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QProgressDialog( ... ) - RETURN Self - - -METHOD QProgressDialog:autoClose( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_autoClose( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:autoReset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_autoReset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:labelText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_labelText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:minimumDuration( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_minimumDuration( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:open( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QProgressDialog_open( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setAutoClose( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setAutoClose( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setAutoReset( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setAutoReset( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setBar( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setBar( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setCancelButton( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setCancelButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setLabel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setLabel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QProgressDialog_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:wasCanceled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_wasCanceled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:cancel( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_cancel( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QProgressDialog_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setCancelButtonText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setCancelButtonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setLabelText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setLabelText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setMinimumDuration( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setMinimumDuration( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QProgressDialog_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QProgressDialog:setValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QProgressDialog_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg b/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg deleted file mode 100644 index e2dcf28ef9..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQPushButton.prg +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QPushButton( ... ) - RETURN HB_QPushButton():new( ... ) - -FUNCTION QPushButtonFromPointer( ... ) - RETURN HB_QPushButton():fromPointer( ... ) - - -CREATE CLASS QPushButton INHERIT HbQtObjectHandler, HB_QAbstractButton FUNCTION HB_QPushButton - - METHOD new( ... ) - - METHOD autoDefault // ( ) -> lBool - METHOD isDefault // ( ) -> lBool - METHOD isFlat // ( ) -> lBool - METHOD menu // ( ) -> oQMenu - METHOD setAutoDefault // ( lBool ) -> NIL - METHOD setDefault // ( lBool ) -> NIL - METHOD setFlat // ( lBool ) -> NIL - METHOD setMenu // ( oQMenu ) -> NIL - METHOD showMenu // ( ) -> NIL - - ENDCLASS - - -METHOD QPushButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QPushButton( ... ) - RETURN Self - - -METHOD QPushButton:autoDefault( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPushButton_autoDefault( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:isDefault( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPushButton_isDefault( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:isFlat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPushButton_isFlat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:menu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QPushButton_menu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:setAutoDefault( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPushButton_setAutoDefault( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:setDefault( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPushButton_setDefault( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:setFlat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QPushButton_setFlat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:setMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QPushButton_setMenu( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QPushButton:showMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QPushButton_showMenu( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg b/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg deleted file mode 100644 index c81b6a31eb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQRadialGradient.prg +++ /dev/null @@ -1,130 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QRadialGradient( ... ) - RETURN HB_QRadialGradient():new( ... ) - -FUNCTION QRadialGradientFromPointer( ... ) - RETURN HB_QRadialGradient():fromPointer( ... ) - - -CREATE CLASS QRadialGradient INHERIT HbQtObjectHandler, HB_QGradient FUNCTION HB_QRadialGradient - - METHOD new( ... ) - - METHOD center // ( ) -> oQPointF - METHOD focalPoint // ( ) -> oQPointF - METHOD radius // ( ) -> nQreal - METHOD setCenter // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD setFocalPoint // ( oQPointF ) -> NIL - // ( nX, nY ) -> NIL - METHOD setRadius // ( nRadius ) -> NIL - - ENDCLASS - - -METHOD QRadialGradient:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRadialGradient( ... ) - RETURN Self - - -METHOD QRadialGradient:center( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRadialGradient_center( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRadialGradient:focalPoint( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QRadialGradient_focalPoint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRadialGradient:radius( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRadialGradient_radius( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRadialGradient:setCenter( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRadialGradient_setCenter_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRadialGradient_setCenter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRadialGradient:setFocalPoint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRadialGradient_setFocalPoint_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRadialGradient_setFocalPoint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRadialGradient:setRadius( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QRadialGradient_setRadius( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg b/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg deleted file mode 100644 index 14608f5f23..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQRadioButton.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QRadioButton( ... ) - RETURN HB_QRadioButton():new( ... ) - -FUNCTION QRadioButtonFromPointer( ... ) - RETURN HB_QRadioButton():fromPointer( ... ) - - -CREATE CLASS QRadioButton INHERIT HbQtObjectHandler, HB_QAbstractButton FUNCTION HB_QRadioButton - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QRadioButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRadioButton( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg deleted file mode 100644 index e8e7d87562..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QRegExpValidator( ... ) - RETURN HB_QRegExpValidator():new( ... ) - -FUNCTION QRegExpValidatorFromPointer( ... ) - RETURN HB_QRegExpValidator():fromPointer( ... ) - - -CREATE CLASS QRegExpValidator INHERIT HbQtObjectHandler, HB_QValidator FUNCTION HB_QRegExpValidator - - METHOD new( ... ) - - METHOD regExp // ( ) -> oQRegExp - METHOD setRegExp // ( oQRegExp ) -> NIL - - ENDCLASS - - -METHOD QRegExpValidator:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRegExpValidator( ... ) - RETURN Self - - -METHOD QRegExpValidator:regExp( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegExpFromPointer( Qt_QRegExpValidator_regExp( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegExpValidator:setRegExp( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRegExpValidator_setRegExp( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQRegion.prg b/harbour/contrib/hbqt/qtgui/g/TQRegion.prg deleted file mode 100644 index 73e94b178e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQRegion.prg +++ /dev/null @@ -1,232 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QRegion( ... ) - RETURN HB_QRegion():new( ... ) - -FUNCTION QRegionFromPointer( ... ) - RETURN HB_QRegion():fromPointer( ... ) - - -CREATE CLASS QRegion INHERIT HbQtObjectHandler FUNCTION HB_QRegion - - METHOD new( ... ) - - METHOD boundingRect // ( ) -> oQRect - METHOD contains // ( oQPoint ) -> lBool - // ( oQRect ) -> lBool - METHOD intersected // ( oQRegion ) -> oQRegion - // ( oQRect ) -> oQRegion - METHOD intersects // ( oQRegion ) -> lBool - // ( oQRect ) -> lBool - METHOD isEmpty // ( ) -> lBool - METHOD numRects // ( ) -> nInt - METHOD setRects // ( oQRect, nNumber ) -> NIL - METHOD subtracted // ( oQRegion ) -> oQRegion - METHOD translate // ( nDx, nDy ) -> NIL - // ( oQPoint ) -> NIL - METHOD translated // ( nDx, nDy ) -> oQRegion - // ( oQPoint ) -> oQRegion - METHOD united // ( oQRegion ) -> oQRegion - // ( oQRect ) -> oQRegion - METHOD xored // ( oQRegion ) -> oQRegion - - ENDCLASS - - -METHOD QRegion:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QRegion( ... ) - RETURN Self - - -METHOD QRegion:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QRegion_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:contains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:intersected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QREGION" - RETURN QRegionFromPointer( Qt_QRegion_intersected( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QRegionFromPointer( Qt_QRegion_intersected_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:intersects( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegion_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:numRects( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QRegion_numRects( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:setRects( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRegion_setRects( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:subtracted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRegionFromPointer( Qt_QRegion_subtracted( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QRegion_translate( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QRegion_translate_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:translated( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QRegionFromPointer( Qt_QRegion_translated( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRegionFromPointer( Qt_QRegion_translated_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:united( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QREGION" - RETURN QRegionFromPointer( Qt_QRegion_united( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QRegionFromPointer( Qt_QRegion_united_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QRegion:xored( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRegionFromPointer( Qt_QRegion_xored( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg deleted file mode 100644 index 7e40aa4931..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQResizeEvent.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QResizeEvent( ... ) - RETURN HB_QResizeEvent():new( ... ) - -FUNCTION QResizeEventFromPointer( ... ) - RETURN HB_QResizeEvent():fromPointer( ... ) - - -CREATE CLASS QResizeEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QResizeEvent - - METHOD new( ... ) - - METHOD oldSize // ( ) -> oQSize - METHOD size // ( ) -> oQSize - - ENDCLASS - - -METHOD QResizeEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QResizeEvent( ... ) - RETURN Self - - -METHOD QResizeEvent:oldSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QResizeEvent_oldSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QResizeEvent:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QResizeEvent_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg b/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg deleted file mode 100644 index b3334e1447..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQScrollArea.prg +++ /dev/null @@ -1,175 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QScrollArea( ... ) - RETURN HB_QScrollArea():new( ... ) - -FUNCTION QScrollAreaFromPointer( ... ) - RETURN HB_QScrollArea():fromPointer( ... ) - - -CREATE CLASS QScrollArea INHERIT HbQtObjectHandler, HB_QAbstractScrollArea FUNCTION HB_QScrollArea - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD ensureVisible // ( nX, nY, nXmargin, nYmargin ) -> NIL - METHOD ensureWidgetVisible // ( oQWidget, nXmargin, nYmargin ) -> NIL - METHOD setAlignment // ( nQt::Alignment ) -> NIL - METHOD setWidget // ( oQWidget ) -> NIL - METHOD setWidgetResizable // ( lResizable ) -> NIL - METHOD takeWidget // ( ) -> oQWidget - METHOD widget // ( ) -> oQWidget - METHOD widgetResizable // ( ) -> lBool - - ENDCLASS - - -METHOD QScrollArea:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QScrollArea( ... ) - RETURN Self - - -METHOD QScrollArea:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QScrollArea_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:ensureVisible( ... ) - 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_QScrollArea_ensureVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QScrollArea_ensureVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QScrollArea_ensureVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:ensureWidgetVisible( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QScrollArea_ensureWidgetVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QScrollArea_ensureWidgetVisible( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QScrollArea_ensureWidgetVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QScrollArea_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:setWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QScrollArea_setWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:setWidgetResizable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QScrollArea_setWidgetResizable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:takeWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QScrollArea_takeWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QScrollArea_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QScrollArea:widgetResizable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QScrollArea_widgetResizable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg b/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg deleted file mode 100644 index 520ad2a1a1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQScrollBar.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QScrollBar( ... ) - RETURN HB_QScrollBar():new( ... ) - -FUNCTION QScrollBarFromPointer( ... ) - RETURN HB_QScrollBar():fromPointer( ... ) - - -CREATE CLASS QScrollBar INHERIT HbQtObjectHandler, HB_QAbstractSlider FUNCTION HB_QScrollBar - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QScrollBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QScrollBar( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg b/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg deleted file mode 100644 index f349345f33..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSessionManager.prg +++ /dev/null @@ -1,204 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSessionManager( ... ) - RETURN HB_QSessionManager():new( ... ) - -FUNCTION QSessionManagerFromPointer( ... ) - RETURN HB_QSessionManager():fromPointer( ... ) - - -CREATE CLASS QSessionManager INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QSessionManager - - METHOD new( ... ) - - METHOD allowsErrorInteraction // ( ) -> lBool - METHOD allowsInteraction // ( ) -> lBool - METHOD cancel // ( ) -> NIL - METHOD discardCommand // ( ) -> oQStringList - METHOD isPhase2 // ( ) -> lBool - METHOD release // ( ) -> NIL - METHOD requestPhase2 // ( ) -> NIL - METHOD restartCommand // ( ) -> oQStringList - METHOD restartHint // ( ) -> nRestartHint - METHOD sessionId // ( ) -> cQString - METHOD sessionKey // ( ) -> cQString - METHOD setDiscardCommand // ( oQStringList ) -> NIL - METHOD setManagerProperty // ( cName, oQStringList ) -> NIL - // ( cName, cValue ) -> NIL - METHOD setRestartCommand // ( oQStringList ) -> NIL - METHOD setRestartHint // ( nHint ) -> NIL - - ENDCLASS - - -METHOD QSessionManager:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSessionManager( ... ) - RETURN Self - - -METHOD QSessionManager:allowsErrorInteraction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_allowsErrorInteraction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:allowsInteraction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_allowsInteraction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:cancel( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_cancel( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:discardCommand( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QSessionManager_discardCommand( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:isPhase2( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_isPhase2( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:release( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_release( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:requestPhase2( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_requestPhase2( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:restartCommand( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QSessionManager_restartCommand( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:restartHint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_restartHint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:sessionId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_sessionId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:sessionKey( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSessionManager_sessionKey( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:setDiscardCommand( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSessionManager_setDiscardCommand( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:setManagerProperty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QSessionManager_setManagerProperty_1( ::pPtr, ... ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QSessionManager_setManagerProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:setRestartCommand( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSessionManager_setRestartCommand( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSessionManager:setRestartHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSessionManager_setRestartHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg deleted file mode 100644 index 5905aeb1b2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQShowEvent.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QShowEvent( ... ) - RETURN HB_QShowEvent():new( ... ) - -FUNCTION QShowEventFromPointer( ... ) - RETURN HB_QShowEvent():fromPointer( ... ) - - -CREATE CLASS QShowEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QShowEvent - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QShowEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QShowEvent( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg b/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg deleted file mode 100644 index cccf694e9e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSizeGrip.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSizeGrip( ... ) - RETURN HB_QSizeGrip():new( ... ) - -FUNCTION QSizeGripFromPointer( ... ) - RETURN HB_QSizeGrip():fromPointer( ... ) - - -CREATE CLASS QSizeGrip INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QSizeGrip - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QSizeGrip:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSizeGrip( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg b/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg deleted file mode 100644 index 04da4d592a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSizePolicy.prg +++ /dev/null @@ -1,200 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSizePolicy( ... ) - RETURN HB_QSizePolicy():new( ... ) - -FUNCTION QSizePolicyFromPointer( ... ) - RETURN HB_QSizePolicy():fromPointer( ... ) - - -CREATE CLASS QSizePolicy INHERIT HbQtObjectHandler FUNCTION HB_QSizePolicy - - METHOD new( ... ) - - METHOD controlType // ( ) -> nControlType - METHOD expandingDirections // ( ) -> nQt_Orientations - METHOD hasHeightForWidth // ( ) -> lBool - METHOD horizontalPolicy // ( ) -> nPolicy - METHOD horizontalStretch // ( ) -> nInt - METHOD setControlType // ( nType ) -> NIL - METHOD setHeightForWidth // ( lDependent ) -> NIL - METHOD setHorizontalPolicy // ( nPolicy ) -> NIL - METHOD setHorizontalStretch // ( nStretchFactor ) -> NIL - METHOD setVerticalPolicy // ( nPolicy ) -> NIL - METHOD setVerticalStretch // ( nStretchFactor ) -> NIL - METHOD transpose // ( ) -> NIL - METHOD verticalPolicy // ( ) -> nPolicy - METHOD verticalStretch // ( ) -> nInt - - ENDCLASS - - -METHOD QSizePolicy:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSizePolicy( ... ) - RETURN Self - - -METHOD QSizePolicy:controlType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_controlType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:expandingDirections( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_expandingDirections( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:hasHeightForWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_hasHeightForWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:horizontalPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_horizontalPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:horizontalStretch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_horizontalStretch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:setControlType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizePolicy_setControlType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:setHeightForWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSizePolicy_setHeightForWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:setHorizontalPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizePolicy_setHorizontalPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:setHorizontalStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizePolicy_setHorizontalStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:setVerticalPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizePolicy_setVerticalPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:setVerticalStretch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSizePolicy_setVerticalStretch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:transpose( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_transpose( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:verticalPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_verticalPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSizePolicy:verticalStretch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSizePolicy_verticalStretch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSlider.prg b/harbour/contrib/hbqt/qtgui/g/TQSlider.prg deleted file mode 100644 index 1739a8d266..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSlider.prg +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSlider( ... ) - RETURN HB_QSlider():new( ... ) - -FUNCTION QSliderFromPointer( ... ) - RETURN HB_QSlider():fromPointer( ... ) - - -CREATE CLASS QSlider INHERIT HbQtObjectHandler, HB_QAbstractSlider FUNCTION HB_QSlider - - METHOD new( ... ) - - METHOD setTickInterval // ( nTi ) -> NIL - METHOD setTickPosition // ( nPosition ) -> NIL - METHOD tickInterval // ( ) -> nInt - METHOD tickPosition // ( ) -> nTickPosition - - ENDCLASS - - -METHOD QSlider:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSlider( ... ) - RETURN Self - - -METHOD QSlider:setTickInterval( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSlider_setTickInterval( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSlider:setTickPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSlider_setTickPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSlider:tickInterval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSlider_tickInterval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSlider:tickPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSlider_tickPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg b/harbour/contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg deleted file mode 100644 index 17bf30321f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg +++ /dev/null @@ -1,308 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSortFilterProxyModel( ... ) - RETURN HB_QSortFilterProxyModel():new( ... ) - -FUNCTION QSortFilterProxyModelFromPointer( ... ) - RETURN HB_QSortFilterProxyModel():fromPointer( ... ) - - -CREATE CLASS QSortFilterProxyModel INHERIT HbQtObjectHandler, HB_QAbstractProxyModel FUNCTION HB_QSortFilterProxyModel - - METHOD new( ... ) - - METHOD dynamicSortFilter // ( ) -> lBool - METHOD filterCaseSensitivity // ( ) -> nQt_CaseSensitivity - METHOD filterKeyColumn // ( ) -> nInt - METHOD filterRegExp // ( ) -> oQRegExp - METHOD filterRole // ( ) -> nInt - METHOD isSortLocaleAware // ( ) -> lBool - METHOD mapFromSource // ( oQModelIndex ) -> oQModelIndex - METHOD mapToSource // ( oQModelIndex ) -> oQModelIndex - METHOD setDynamicSortFilter // ( lEnable ) -> NIL - METHOD setFilterCaseSensitivity // ( nCs ) -> NIL - METHOD setFilterKeyColumn // ( nColumn ) -> NIL - METHOD setFilterRegExp // ( oQRegExp ) -> NIL - METHOD setFilterRole // ( nRole ) -> NIL - METHOD setSortCaseSensitivity // ( nCs ) -> NIL - METHOD setSortLocaleAware // ( lOn ) -> NIL - METHOD setSortRole // ( nRole ) -> NIL - METHOD sortCaseSensitivity // ( ) -> nQt_CaseSensitivity - METHOD sortColumn // ( ) -> nInt - METHOD sortOrder // ( ) -> nQt_SortOrder - METHOD sortRole // ( ) -> nInt - METHOD invalidate // ( ) -> NIL - METHOD setFilterFixedString // ( cPattern ) -> NIL - // ( cPattern ) -> NIL - METHOD setFilterWildcard // ( cPattern ) -> NIL - - ENDCLASS - - -METHOD QSortFilterProxyModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSortFilterProxyModel( ... ) - RETURN Self - - -METHOD QSortFilterProxyModel:dynamicSortFilter( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_dynamicSortFilter( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:filterCaseSensitivity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_filterCaseSensitivity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:filterKeyColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_filterKeyColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:filterRegExp( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegExpFromPointer( Qt_QSortFilterProxyModel_filterRegExp( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:filterRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_filterRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:isSortLocaleAware( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_isSortLocaleAware( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:mapFromSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QSortFilterProxyModel_mapFromSource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:mapToSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QSortFilterProxyModel_mapToSource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setDynamicSortFilter( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setDynamicSortFilter( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setFilterCaseSensitivity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterCaseSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setFilterKeyColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterKeyColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setFilterRegExp( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterRegExp_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterRegExp( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setFilterRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setSortCaseSensitivity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setSortCaseSensitivity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setSortLocaleAware( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setSortLocaleAware( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setSortRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setSortRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:sortCaseSensitivity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_sortCaseSensitivity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:sortColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_sortColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:sortOrder( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_sortOrder( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:sortRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_sortRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:invalidate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSortFilterProxyModel_invalidate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setFilterFixedString( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterFixedString( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSortFilterProxyModel:setFilterWildcard( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSortFilterProxyModel_setFilterWildcard( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSound.prg b/harbour/contrib/hbqt/qtgui/g/TQSound.prg deleted file mode 100644 index 31b727def8..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSound.prg +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSound( ... ) - RETURN HB_QSound():new( ... ) - -FUNCTION QSoundFromPointer( ... ) - RETURN HB_QSound():fromPointer( ... ) - - -CREATE CLASS QSound INHERIT HbQtObjectHandler FUNCTION HB_QSound - - METHOD new( ... ) - - METHOD fileName // ( ) -> cQString - METHOD isFinished // ( ) -> lBool - METHOD loops // ( ) -> nInt - METHOD loopsRemaining // ( ) -> nInt - METHOD setLoops // ( nNumber ) -> NIL - METHOD isAvailable // ( ) -> lBool - METHOD play // ( cFilename ) -> NIL - - ENDCLASS - - -METHOD QSound:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSound( ... ) - RETURN Self - - -METHOD QSound:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSound_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSound:isFinished( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSound_isFinished( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSound:loops( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSound_loops( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSound:loopsRemaining( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSound_loopsRemaining( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSound:setLoops( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSound_setLoops( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSound:isAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSound_isAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSound:play( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSound_play( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg b/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg deleted file mode 100644 index 0f4f1c2c16..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSpacerItem.prg +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSpacerItem( ... ) - RETURN HB_QSpacerItem():new( ... ) - -FUNCTION QSpacerItemFromPointer( ... ) - RETURN HB_QSpacerItem():fromPointer( ... ) - - -CREATE CLASS QSpacerItem INHERIT HbQtObjectHandler, HB_QLayoutItem FUNCTION HB_QSpacerItem - - METHOD new( ... ) - - METHOD changeSize // ( nW, nH, nHPolicy, nVPolicy ) -> NIL - METHOD isEmpty // ( ) -> lBool - METHOD spacerItem // ( ) -> oQSpacerItem - - ENDCLASS - - -METHOD QSpacerItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSpacerItem( ... ) - RETURN Self - - -METHOD QSpacerItem:changeSize( ... ) - 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_QSpacerItem_changeSize( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QSpacerItem_changeSize( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSpacerItem_changeSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpacerItem:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpacerItem_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpacerItem:spacerItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QSpacerItemFromPointer( Qt_QSpacerItem_spacerItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg deleted file mode 100644 index 8ef215a987..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSpinBox.prg +++ /dev/null @@ -1,204 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSpinBox( ... ) - RETURN HB_QSpinBox():new( ... ) - -FUNCTION QSpinBoxFromPointer( ... ) - RETURN HB_QSpinBox():fromPointer( ... ) - - -CREATE CLASS QSpinBox INHERIT HbQtObjectHandler, HB_QAbstractSpinBox FUNCTION HB_QSpinBox - - METHOD new( ... ) - - METHOD cleanText // ( ) -> cQString - METHOD maximum // ( ) -> nInt - METHOD minimum // ( ) -> nInt - METHOD prefix // ( ) -> cQString - METHOD setMaximum // ( nMax ) -> NIL - METHOD setMinimum // ( nMin ) -> NIL - METHOD setPrefix // ( cPrefix ) -> NIL - METHOD setRange // ( nMinimum, nMaximum ) -> NIL - METHOD setSingleStep // ( nVal ) -> NIL - METHOD setSuffix // ( cSuffix ) -> NIL - METHOD singleStep // ( ) -> nInt - METHOD suffix // ( ) -> cQString - METHOD value // ( ) -> nInt - METHOD setValue // ( nVal ) -> NIL - - ENDCLASS - - -METHOD QSpinBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSpinBox( ... ) - RETURN Self - - -METHOD QSpinBox:cleanText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_cleanText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:prefix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_prefix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSpinBox_setMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSpinBox_setMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setPrefix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSpinBox_setPrefix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setRange( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSpinBox_setRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setSingleStep( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSpinBox_setSingleStep( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setSuffix( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSpinBox_setSuffix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:singleStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_singleStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:suffix( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_suffix( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:value( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSpinBox_value( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSpinBox:setValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSpinBox_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg b/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg deleted file mode 100644 index b58fbe1e7d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSplashScreen.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSplashScreen( ... ) - RETURN HB_QSplashScreen():new( ... ) - -FUNCTION QSplashScreenFromPointer( ... ) - RETURN HB_QSplashScreen():fromPointer( ... ) - - -CREATE CLASS QSplashScreen INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QSplashScreen - - METHOD new( ... ) - - METHOD finish // ( oQWidget ) -> NIL - METHOD pixmap // ( ) -> oQPixmap - METHOD repaint // ( ) -> NIL - METHOD setPixmap // ( oQPixmap ) -> NIL - METHOD clearMessage // ( ) -> NIL - METHOD showMessage // ( cMessage, nAlignment, oQColor ) -> NIL - - ENDCLASS - - -METHOD QSplashScreen:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSplashScreen( ... ) - RETURN Self - - -METHOD QSplashScreen:finish( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSplashScreen_finish( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplashScreen:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QSplashScreen_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplashScreen:repaint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplashScreen_repaint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplashScreen:setPixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSplashScreen_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplashScreen:clearMessage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplashScreen_clearMessage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplashScreen:showMessage( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QSplashScreen_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSplashScreen_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSplashScreen_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg b/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg deleted file mode 100644 index a87d78939f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSplitter.prg +++ /dev/null @@ -1,293 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSplitter( ... ) - RETURN HB_QSplitter():new( ... ) - -FUNCTION QSplitterFromPointer( ... ) - RETURN HB_QSplitter():fromPointer( ... ) - - -CREATE CLASS QSplitter INHERIT HbQtObjectHandler, HB_QFrame FUNCTION HB_QSplitter - - METHOD new( ... ) - - METHOD addWidget // ( oQWidget ) -> NIL - METHOD childrenCollapsible // ( ) -> lBool - METHOD count // ( ) -> nInt - METHOD getRange // ( nIndex, @nMin, @nMax ) -> NIL - METHOD handleWidth // ( ) -> nInt - METHOD indexOf // ( oQWidget ) -> nInt - METHOD insertWidget // ( nIndex, oQWidget ) -> NIL - METHOD isCollapsible // ( nIndex ) -> lBool - METHOD opaqueResize // ( ) -> lBool - METHOD orientation // ( ) -> nQt_Orientation - METHOD refresh // ( ) -> NIL - METHOD restoreState // ( oQByteArray ) -> lBool - METHOD saveState // ( ) -> oQByteArray - METHOD setChildrenCollapsible // ( lBool ) -> NIL - METHOD setCollapsible // ( nIndex, lCollapse ) -> NIL - METHOD setHandleWidth // ( nInt ) -> NIL - METHOD setOpaqueResize // ( lOpaque ) -> NIL - METHOD setOrientation // ( nQt::Orientation ) -> NIL - METHOD setStretchFactor // ( nIndex, nStretch ) -> NIL - METHOD sizes // ( ) -> oQList_int> - METHOD widget // ( nIndex ) -> oQWidget - - ENDCLASS - - -METHOD QSplitter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSplitter( ... ) - RETURN Self - - -METHOD QSplitter:addWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:childrenCollapsible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplitter_childrenCollapsible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplitter_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:getRange( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QSplitter_getRange( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:handleWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplitter_handleWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:indexOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:insertWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QSplitter_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:isCollapsible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_isCollapsible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:opaqueResize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplitter_opaqueResize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplitter_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:refresh( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSplitter_refresh( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:restoreState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_restoreState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:saveState( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QSplitter_saveState( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:setChildrenCollapsible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_setChildrenCollapsible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:setCollapsible( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QSplitter_setCollapsible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:setHandleWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_setHandleWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:setOpaqueResize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_setOpaqueResize( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QSplitter_setOpaqueResize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QSplitter_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:setStretchFactor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QSplitter_setStretchFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:sizes( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QSplitter_sizes( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSplitter:widget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QSplitter_widget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg deleted file mode 100644 index d1fb197baa..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStackedWidget.prg +++ /dev/null @@ -1,168 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStackedWidget( ... ) - RETURN HB_QStackedWidget():new( ... ) - -FUNCTION QStackedWidgetFromPointer( ... ) - RETURN HB_QStackedWidget():fromPointer( ... ) - - -CREATE CLASS QStackedWidget INHERIT HbQtObjectHandler, HB_QFrame FUNCTION HB_QStackedWidget - - METHOD new( ... ) - - METHOD addWidget // ( oQWidget ) -> nInt - METHOD count // ( ) -> nInt - METHOD currentIndex // ( ) -> nInt - METHOD currentWidget // ( ) -> oQWidget - METHOD indexOf // ( oQWidget ) -> nInt - METHOD insertWidget // ( nIndex, oQWidget ) -> nInt - METHOD removeWidget // ( oQWidget ) -> NIL - METHOD widget // ( nIndex ) -> oQWidget - METHOD setCurrentIndex // ( nIndex ) -> NIL - METHOD setCurrentWidget // ( oQWidget ) -> NIL - - ENDCLASS - - -METHOD QStackedWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStackedWidget( ... ) - RETURN Self - - -METHOD QStackedWidget:addWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStackedWidget_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStackedWidget_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStackedWidget_currentIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:currentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QStackedWidget_currentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:indexOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStackedWidget_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:insertWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStackedWidget_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:removeWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStackedWidget_removeWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:widget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QStackedWidget_widget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:setCurrentIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStackedWidget_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStackedWidget:setCurrentWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStackedWidget_setCurrentWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg deleted file mode 100644 index ddf9298322..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStandardItem.prg +++ /dev/null @@ -1,895 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStandardItem( ... ) - RETURN HB_QStandardItem():new( ... ) - -FUNCTION QStandardItemFromPointer( ... ) - RETURN HB_QStandardItem():fromPointer( ... ) - - -CREATE CLASS QStandardItem INHERIT HbQtObjectHandler FUNCTION HB_QStandardItem - - METHOD new( ... ) - - METHOD accessibleDescription // ( ) -> cQString - METHOD accessibleText // ( ) -> cQString - METHOD appendRow // ( oQStandardItem ) -> NIL - METHOD background // ( ) -> oQBrush - METHOD checkState // ( ) -> nQt_CheckState - METHOD child // ( nRow, nColumn ) -> oQStandardItem - METHOD clone // ( ) -> oQStandardItem - METHOD column // ( ) -> nInt - METHOD columnCount // ( ) -> nInt - METHOD data // ( nRole ) -> oQVariant - METHOD flags // ( ) -> nQt_ItemFlags - METHOD font // ( ) -> oQFont - METHOD foreground // ( ) -> oQBrush - METHOD hasChildren // ( ) -> lBool - METHOD icon // ( ) -> oQIcon - METHOD index // ( ) -> oQModelIndex - METHOD insertColumns // ( nColumn, nCount ) -> NIL - METHOD insertRow // ( nRow, oQStandardItem ) -> NIL - METHOD insertRows // ( nRow, nCount ) -> NIL - METHOD isCheckable // ( ) -> lBool - METHOD isDragEnabled // ( ) -> lBool - METHOD isDropEnabled // ( ) -> lBool - METHOD isEditable // ( ) -> lBool - METHOD isEnabled // ( ) -> lBool - METHOD isSelectable // ( ) -> lBool - METHOD isTristate // ( ) -> lBool - METHOD model // ( ) -> oQStandardItemModel - METHOD parent // ( ) -> oQStandardItem - METHOD read // ( oQDataStream ) -> NIL - METHOD removeColumn // ( nColumn ) -> NIL - METHOD removeColumns // ( nColumn, nCount ) -> NIL - METHOD removeRow // ( nRow ) -> NIL - METHOD removeRows // ( nRow, nCount ) -> NIL - METHOD row // ( ) -> nInt - METHOD rowCount // ( ) -> nInt - METHOD setAccessibleDescription // ( cAccessibleDescription ) -> NIL - METHOD setAccessibleText // ( cAccessibleText ) -> NIL - METHOD setBackground // ( oQBrush ) -> NIL - METHOD setCheckState // ( nState ) -> NIL - METHOD setCheckable // ( lCheckable ) -> NIL - METHOD setChild // ( nRow, nColumn, oQStandardItem ) -> NIL - // ( nRow, oQStandardItem ) -> NIL - METHOD setColumnCount // ( nColumns ) -> NIL - METHOD setData // ( oQVariant, nRole ) -> NIL - METHOD setDragEnabled // ( lDragEnabled ) -> NIL - METHOD setDropEnabled // ( lDropEnabled ) -> NIL - METHOD setEditable // ( lEditable ) -> NIL - METHOD setEnabled // ( lEnabled ) -> NIL - METHOD setFlags // ( nFlags ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setForeground // ( oQBrush ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setRowCount // ( nRows ) -> NIL - METHOD setSelectable // ( lSelectable ) -> NIL - METHOD setSizeHint // ( oQSize ) -> NIL - METHOD setStatusTip // ( cStatusTip ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setTextAlignment // ( nAlignment ) -> NIL - METHOD setToolTip // ( cToolTip ) -> NIL - METHOD setTristate // ( lTristate ) -> NIL - METHOD setWhatsThis // ( cWhatsThis ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD sortChildren // ( nColumn, nOrder ) -> NIL - METHOD statusTip // ( ) -> cQString - METHOD takeChild // ( nRow, nColumn ) -> oQStandardItem - METHOD takeColumn // ( nColumn ) -> oQList_QStandardItem - METHOD takeRow // ( nRow ) -> oQList_QStandardItem - METHOD text // ( ) -> cQString - METHOD textAlignment // ( ) -> nQt_Alignment - METHOD toolTip // ( ) -> cQString - METHOD type // ( ) -> nInt - METHOD whatsThis // ( ) -> cQString - METHOD write // ( oQDataStream ) -> NIL - - ENDCLASS - - -METHOD QStandardItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStandardItem( ... ) - RETURN Self - - -METHOD QStandardItem:accessibleDescription( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_accessibleDescription( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:accessibleText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_accessibleText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:appendRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_appendRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:background( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QStandardItem_background( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:checkState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_checkState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:child( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItem_child( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItem_child( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:clone( ... ) - SWITCH PCount() - CASE 0 - RETURN QStandardItemFromPointer( Qt_QStandardItem_clone( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:column( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_column( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:data( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QStandardItem_data( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QVariantFromPointer( Qt_QStandardItem_data( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QStandardItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:foreground( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QStandardItem_foreground( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:hasChildren( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_hasChildren( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStandardItem_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:index( ... ) - SWITCH PCount() - CASE 0 - RETURN QModelIndexFromPointer( Qt_QStandardItem_index( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:insertColumns( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_insertColumns( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:insertRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_insertRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:insertRows( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_insertRows( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isCheckable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isCheckable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isDragEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isDragEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isDropEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isDropEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isEditable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isEditable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isSelectable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isSelectable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:isTristate( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_isTristate( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:model( ... ) - SWITCH PCount() - CASE 0 - RETURN QStandardItemModelFromPointer( Qt_QStandardItem_model( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:parent( ... ) - SWITCH PCount() - CASE 0 - RETURN QStandardItemFromPointer( Qt_QStandardItem_parent( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_read( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:removeColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_removeColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:removeColumns( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_removeColumns( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:removeRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_removeRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:removeRows( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_removeRows( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:row( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_row( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:rowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setAccessibleDescription( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setAccessibleDescription( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setAccessibleText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setAccessibleText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setCheckState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setCheckState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setCheckable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setCheckable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setChild( ... ) - 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_QStandardItem_setChild( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_setChild_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setColumnCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setColumnCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_setData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setDragEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setDragEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setDropEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setDropEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setEditable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setEditable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setForeground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setForeground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QStandardItem_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setRowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setRowCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setSelectable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setSelectable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setSizeHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setSizeHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setStatusTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setStatusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setTextAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setTextAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setTristate( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setTristate( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:setWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_setWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStandardItem_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:sortChildren( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItem_sortChildren( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_sortChildren( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:statusTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_statusTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:takeChild( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItem_takeChild( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItem_takeChild( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:takeColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QStandardItem_takeColumn( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:takeRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QStandardItem_takeRow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:textAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_textAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:whatsThis( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItem_whatsThis( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItem:write( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItem_write( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg b/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg deleted file mode 100644 index c2828abf92..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStandardItemModel.prg +++ /dev/null @@ -1,425 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStandardItemModel( ... ) - RETURN HB_QStandardItemModel():new( ... ) - -FUNCTION QStandardItemModelFromPointer( ... ) - RETURN HB_QStandardItemModel():fromPointer( ... ) - - -CREATE CLASS QStandardItemModel INHERIT HbQtObjectHandler, HB_QAbstractItemModeL FUNCTION HB_QStandardItemModel - - METHOD new( ... ) - - METHOD appendRow // ( oQStandardItem ) -> NIL - METHOD clear // ( ) -> NIL - METHOD findItems // ( cText, nFlags, nColumn ) -> oQList_QStandardItem - METHOD horizontalHeaderItem // ( nColumn ) -> oQStandardItem - METHOD indexFromItem // ( oQStandardItem ) -> oQModelIndex - METHOD insertColumn // ( nColumn, oQModelIndex ) -> lBool - METHOD insertRow // ( nRow, oQModelIndex ) -> lBool - // ( nRow, oQStandardItem ) -> NIL - METHOD invisibleRootItem // ( ) -> oQStandardItem - METHOD item // ( nRow, nColumn ) -> oQStandardItem - METHOD itemFromIndex // ( oQModelIndex ) -> oQStandardItem - METHOD setColumnCount // ( nColumns ) -> NIL - METHOD setHorizontalHeaderItem // ( nColumn, oQStandardItem ) -> NIL - METHOD setHorizontalHeaderLabels // ( oQStringList ) -> NIL - METHOD setItem // ( nRow, nColumn, oQStandardItem ) -> NIL - // ( nRow, oQStandardItem ) -> NIL - METHOD setItemPrototype // ( oQStandardItem ) -> NIL - METHOD setRowCount // ( nRows ) -> NIL - METHOD setSortRole // ( nRole ) -> NIL - METHOD setVerticalHeaderItem // ( nRow, oQStandardItem ) -> NIL - METHOD setVerticalHeaderLabels // ( oQStringList ) -> NIL - METHOD sortRole // ( ) -> nInt - METHOD takeColumn // ( nColumn ) -> oQList_QStandardItem - METHOD takeHorizontalHeaderItem // ( nColumn ) -> oQStandardItem - METHOD takeItem // ( nRow, nColumn ) -> oQStandardItem - METHOD takeRow // ( nRow ) -> oQList_QStandardItem - METHOD takeVerticalHeaderItem // ( nRow ) -> oQStandardItem - METHOD verticalHeaderItem // ( nRow ) -> oQStandardItem - - ENDCLASS - - -METHOD QStandardItemModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStandardItemModel( ... ) - RETURN Self - - -METHOD QStandardItemModel:appendRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_appendRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItemModel_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:findItems( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QListFromPointer( Qt_QStandardItemModel_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QStandardItemModel_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QStandardItemModel_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:horizontalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_horizontalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:indexFromItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QStandardItemModel_indexFromItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:insertColumn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItemModel_insertColumn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_insertColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:insertRow( ... ) - SWITCH PCount() - CASE 2 - DO CASE - 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 - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_insertRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:invisibleRootItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_invisibleRootItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:item( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_item( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_item( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:itemFromIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_itemFromIndex( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setColumnCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_setColumnCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setHorizontalHeaderItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItemModel_setHorizontalHeaderItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setHorizontalHeaderLabels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_setHorizontalHeaderLabels( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setItem( ... ) - 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_QStandardItemModel_setItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItemModel_setItem_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setItemPrototype( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_setItemPrototype( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setRowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_setRowCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setSortRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_setSortRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setVerticalHeaderItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStandardItemModel_setVerticalHeaderItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:setVerticalHeaderLabels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStandardItemModel_setVerticalHeaderLabels( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:sortRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStandardItemModel_sortRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:takeColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QStandardItemModel_takeColumn( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:takeHorizontalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_takeHorizontalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:takeItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_takeItem( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_takeItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:takeRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QStandardItemModel_takeRow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:takeVerticalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_takeVerticalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStandardItemModel:verticalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QStandardItemFromPointer( Qt_QStandardItemModel_verticalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg deleted file mode 100644 index 30bf147301..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStatusBar.prg +++ /dev/null @@ -1,198 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStatusBar( ... ) - RETURN HB_QStatusBar():new( ... ) - -FUNCTION QStatusBarFromPointer( ... ) - RETURN HB_QStatusBar():fromPointer( ... ) - - -CREATE CLASS QStatusBar INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QStatusBar - - METHOD new( ... ) - - METHOD addPermanentWidget // ( oQWidget, nStretch ) -> NIL - METHOD addWidget // ( oQWidget, nStretch ) -> NIL - METHOD currentMessage // ( ) -> cQString - METHOD insertPermanentWidget // ( nIndex, oQWidget, nStretch ) -> nInt - METHOD insertWidget // ( nIndex, oQWidget, nStretch ) -> nInt - METHOD isSizeGripEnabled // ( ) -> lBool - METHOD removeWidget // ( oQWidget ) -> NIL - METHOD setSizeGripEnabled // ( lBool ) -> NIL - METHOD clearMessage // ( ) -> NIL - METHOD showMessage // ( cMessage, nTimeout ) -> NIL - - ENDCLASS - - -METHOD QStatusBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStatusBar( ... ) - RETURN Self - - -METHOD QStatusBar:addPermanentWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStatusBar_addPermanentWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStatusBar_addPermanentWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:addWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStatusBar_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStatusBar_addWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:currentMessage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStatusBar_currentMessage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:insertPermanentWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QStatusBar_insertPermanentWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStatusBar_insertPermanentWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:insertWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QStatusBar_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStatusBar_insertWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:isSizeGripEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStatusBar_isSizeGripEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:removeWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStatusBar_removeWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:setSizeGripEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QStatusBar_setSizeGripEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:clearMessage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStatusBar_clearMessage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStatusBar:showMessage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStatusBar_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QStatusBar_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg b/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg deleted file mode 100644 index 3a422d5801..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStringListModel.prg +++ /dev/null @@ -1,170 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStringListModel( ... ) - RETURN HB_QStringListModel():new( ... ) - -FUNCTION QStringListModelFromPointer( ... ) - RETURN HB_QStringListModel():fromPointer( ... ) - - -CREATE CLASS QStringListModel INHERIT HbQtObjectHandler, HB_QAbstractListModel FUNCTION HB_QStringListModel - - METHOD new( ... ) - - METHOD data // ( oQModelIndex, nRole ) -> oQVariant - METHOD flags // ( oQModelIndex ) -> nQt_ItemFlags - METHOD insertRows // ( nRow, nCount, oQModelIndex ) -> lBool - METHOD removeRows // ( nRow, nCount, oQModelIndex ) -> lBool - METHOD rowCount // ( oQModelIndex ) -> nInt - METHOD setData // ( oQModelIndex, oQVariant, nRole ) -> lBool - METHOD setStringList // ( oQStringList ) -> NIL - METHOD stringList // ( ) -> oQStringList - - ENDCLASS - - -METHOD QStringListModel:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStringListModel( ... ) - RETURN Self - - -METHOD QStringListModel:data( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QStringListModel_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:flags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStringListModel_flags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:insertRows( ... ) - 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_QStringListModel_insertRows( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStringListModel_insertRows( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:removeRows( ... ) - 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_QStringListModel_removeRows( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStringListModel_removeRows( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:rowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStringListModel_rowCount( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QStringListModel_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:setData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QStringListModel_setData( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStringListModel_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:setStringList( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStringListModel_setStringList( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStringListModel:stringList( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QStringListModel_stringList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyle.prg b/harbour/contrib/hbqt/qtgui/g/TQStyle.prg deleted file mode 100644 index c48989786b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyle.prg +++ /dev/null @@ -1,525 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyle( ... ) - RETURN HB_QStyle():new( ... ) - -FUNCTION QStyleFromPointer( ... ) - RETURN HB_QStyle():fromPointer( ... ) - - -CREATE CLASS QStyle INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QStyle - - METHOD new( ... ) - - METHOD combinedLayoutSpacing // ( nControls1, nControls2, nOrientation, oQStyleOption, oQWidget ) -> nInt - METHOD drawComplexControl // ( nControl, oQStyleOptionComplex, oQPainter, oQWidget ) -> NIL - METHOD drawControl // ( nElement, oQStyleOption, oQPainter, oQWidget ) -> NIL - METHOD drawItemPixmap // ( oQPainter, oQRect, nAlignment, oQPixmap ) -> NIL - METHOD drawItemText // ( oQPainter, oQRect, nAlignment, oQPalette, lEnabled, cText, nTextRole ) -> NIL - METHOD drawPrimitive // ( nElement, oQStyleOption, oQPainter, oQWidget ) -> NIL - METHOD generatedIconPixmap // ( nIconMode, oQPixmap, oQStyleOption ) -> oQPixmap - METHOD hitTestComplexControl // ( nControl, oQStyleOptionComplex, oQPoint, oQWidget ) -> nSubControl - METHOD itemPixmapRect // ( oQRect, nAlignment, oQPixmap ) -> oQRect - METHOD itemTextRect // ( oQFontMetrics, oQRect, nAlignment, lEnabled, cText ) -> oQRect - METHOD layoutSpacing // ( nControl1, nControl2, nOrientation, oQStyleOption, oQWidget ) -> nInt - METHOD pixelMetric // ( nMetric, oQStyleOption, oQWidget ) -> nInt - METHOD polish // ( oQWidget ) -> NIL - // ( oQApplication ) -> NIL - // ( oQPalette ) -> NIL - METHOD sizeFromContents // ( nType, oQStyleOption, oQSize, oQWidget ) -> oQSize - METHOD standardIcon // ( nStandardIcon, oQStyleOption, oQWidget ) -> oQIcon - METHOD standardPalette // ( ) -> oQPalette - METHOD styleHint // ( nHint, oQStyleOption, oQWidget, oQStyleHintReturn ) -> nInt - METHOD subControlRect // ( nControl, oQStyleOptionComplex, nSubControl, oQWidget ) -> oQRect - METHOD subElementRect // ( nElement, oQStyleOption, oQWidget ) -> oQRect - METHOD unpolish // ( oQWidget ) -> NIL - // ( oQApplication ) -> NIL - METHOD alignedRect // ( nDirection, nAlignment, oQSize, oQRect ) -> oQRect - METHOD sliderPositionFromValue // ( nMin, nMax, nLogicalValue, nSpan, lUpsideDown ) -> nInt - METHOD sliderValueFromPosition // ( nMin, nMax, nPosition, nSpan, lUpsideDown ) -> nInt - METHOD visualAlignment // ( nDirection, nAlignment ) -> nQt_Alignment - METHOD visualPos // ( nDirection, oQRect, oQPoint ) -> oQPoint - METHOD visualRect // ( nDirection, oQRect, oQRect ) -> oQRect - - ENDCLASS - - -METHOD QStyle:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyle( ... ) - RETURN Self - - -METHOD QStyle:combinedLayoutSpacing( ... ) - 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_isObject( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) - RETURN Qt_QStyle_combinedLayoutSpacing( ::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_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_combinedLayoutSpacing( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_combinedLayoutSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:drawComplexControl( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_drawComplexControl( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_drawComplexControl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:drawControl( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_drawControl( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_drawControl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:drawItemPixmap( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_drawItemPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:drawItemText( ... ) - SWITCH PCount() - CASE 7 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) .AND. hb_isNumeric( hb_pvalue( 7 ) ) - RETURN Qt_QStyle_drawItemText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 6 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) .AND. hb_isLogical( hb_pvalue( 5 ) ) .AND. hb_isChar( hb_pvalue( 6 ) ) - RETURN Qt_QStyle_drawItemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:drawPrimitive( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_drawPrimitive( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_drawPrimitive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:generatedIconPixmap( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QPixmapFromPointer( Qt_QStyle_generatedIconPixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:hitTestComplexControl( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_hitTestComplexControl( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_hitTestComplexControl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:itemPixmapRect( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QRectFromPointer( Qt_QStyle_itemPixmapRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:itemTextRect( ... ) - SWITCH PCount() - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isChar( hb_pvalue( 5 ) ) - RETURN QRectFromPointer( Qt_QStyle_itemTextRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:layoutSpacing( ... ) - 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_isObject( hb_pvalue( 4 ) ) .AND. hb_isObject( hb_pvalue( 5 ) ) - RETURN Qt_QStyle_layoutSpacing( ::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_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_layoutSpacing( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_layoutSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:pixelMetric( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_pixelMetric( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStyle_pixelMetric( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStyle_pixelMetric( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:polish( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:sizeFromContents( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN QSizeFromPointer( Qt_QStyle_sizeFromContents( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QSizeFromPointer( Qt_QStyle_sizeFromContents( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:standardIcon( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QIconFromPointer( Qt_QStyle_standardIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QIconFromPointer( Qt_QStyle_standardIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QStyle_standardIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:standardPalette( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaletteFromPointer( Qt_QStyle_standardPalette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:styleHint( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN Qt_QStyle_styleHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyle_styleHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStyle_styleHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QStyle_styleHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:subControlRect( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN QRectFromPointer( Qt_QStyle_subControlRect( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QRectFromPointer( Qt_QStyle_subControlRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:subElementRect( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QRectFromPointer( Qt_QStyle_subElementRect( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QRectFromPointer( Qt_QStyle_subElementRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:unpolish( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:alignedRect( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isObject( hb_pvalue( 4 ) ) - RETURN QRectFromPointer( Qt_QStyle_alignedRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:sliderPositionFromValue( ... ) - 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_isLogical( hb_pvalue( 5 ) ) - RETURN Qt_QStyle_sliderPositionFromValue( ::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_QStyle_sliderPositionFromValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:sliderValueFromPosition( ... ) - 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_isLogical( hb_pvalue( 5 ) ) - RETURN Qt_QStyle_sliderValueFromPosition( ::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_QStyle_sliderValueFromPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:visualAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QStyle_visualAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:visualPos( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QPointFromPointer( Qt_QStyle_visualPos( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyle:visualRect( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QRectFromPointer( Qt_QStyle_visualRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg deleted file mode 100644 index bc06a1a049..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleFactory.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleFactory( ... ) - RETURN HB_QStyleFactory():new( ... ) - -FUNCTION QStyleFactoryFromPointer( ... ) - RETURN HB_QStyleFactory():fromPointer( ... ) - - -CREATE CLASS QStyleFactory INHERIT HbQtObjectHandler FUNCTION HB_QStyleFactory - - METHOD new( ... ) - - METHOD create // ( cKey ) -> oQStyle - METHOD keys // ( ) -> oQStringList - - ENDCLASS - - -METHOD QStyleFactory:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleFactory( ... ) - RETURN Self - - -METHOD QStyleFactory:create( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStyleFromPointer( Qt_QStyleFactory_create( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleFactory:keys( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QStyleFactory_keys( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg deleted file mode 100644 index 3463eb62d1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturn.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleHintReturn( ... ) - RETURN HB_QStyleHintReturn():new( ... ) - -FUNCTION QStyleHintReturnFromPointer( ... ) - RETURN HB_QStyleHintReturn():fromPointer( ... ) - - -CREATE CLASS QStyleHintReturn INHERIT HbQtObjectHandler FUNCTION HB_QStyleHintReturn - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QStyleHintReturn:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleHintReturn( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg deleted file mode 100644 index 2dd360a73f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnMask.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleHintReturnMask( ... ) - RETURN HB_QStyleHintReturnMask():new( ... ) - -FUNCTION QStyleHintReturnMaskFromPointer( ... ) - RETURN HB_QStyleHintReturnMask():fromPointer( ... ) - - -CREATE CLASS QStyleHintReturnMask INHERIT HbQtObjectHandler, HB_QStyleHintReturn FUNCTION HB_QStyleHintReturnMask - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QStyleHintReturnMask:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleHintReturnMask( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg deleted file mode 100644 index 2955b6ce9e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleHintReturnVariant.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleHintReturnVariant( ... ) - RETURN HB_QStyleHintReturnVariant():new( ... ) - -FUNCTION QStyleHintReturnVariantFromPointer( ... ) - RETURN HB_QStyleHintReturnVariant():fromPointer( ... ) - - -CREATE CLASS QStyleHintReturnVariant INHERIT HbQtObjectHandler, HB_QStyleHintReturn FUNCTION HB_QStyleHintReturnVariant - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QStyleHintReturnVariant:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleHintReturnVariant( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg deleted file mode 100644 index 08b65ee9f4..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOption.prg +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOption( ... ) - RETURN HB_QStyleOption():new( ... ) - -FUNCTION QStyleOptionFromPointer( ... ) - RETURN HB_QStyleOption():fromPointer( ... ) - - -CREATE CLASS QStyleOption INHERIT HbQtObjectHandler FUNCTION HB_QStyleOption - - METHOD new( ... ) - - METHOD initFrom // ( oQWidget ) -> NIL - METHOD direction // ( ) -> nQt_LayoutDirection - METHOD fontMetrics // ( ) -> oQFontMetrics - METHOD palette // ( ) -> oQPalette - METHOD rect // ( ) -> oQRect - METHOD state // ( ) -> nQStyle_State - METHOD type // ( ) -> nInt - METHOD version // ( ) -> nInt - - ENDCLASS - - -METHOD QStyleOption:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOption( ... ) - RETURN Self - - -METHOD QStyleOption:initFrom( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStyleOption_initFrom( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:direction( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOption_direction( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:fontMetrics( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontMetricsFromPointer( Qt_QStyleOption_fontMetrics( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:palette( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaletteFromPointer( Qt_QStyleOption_palette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QStyleOption_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:state( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOption_state( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOption_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOption:version( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOption_version( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg deleted file mode 100644 index fa3be4d8ce..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionButton.prg +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionButton( ... ) - RETURN HB_QStyleOptionButton():new( ... ) - -FUNCTION QStyleOptionButtonFromPointer( ... ) - RETURN HB_QStyleOptionButton():fromPointer( ... ) - - -CREATE CLASS QStyleOptionButton INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionButton - - METHOD new( ... ) - - METHOD features // ( ) -> nButtonFeatures - METHOD icon // ( ) -> oQIcon - METHOD iconSize // ( ) -> oQSize - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QStyleOptionButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionButton( ... ) - RETURN Self - - -METHOD QStyleOptionButton:features( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionButton_features( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionButton:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionButton_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionButton:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionButton_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionButton:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionButton_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg deleted file mode 100644 index 07550488e0..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComboBox.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionComboBox( ... ) - RETURN HB_QStyleOptionComboBox():new( ... ) - -FUNCTION QStyleOptionComboBoxFromPointer( ... ) - RETURN HB_QStyleOptionComboBox():fromPointer( ... ) - - -CREATE CLASS QStyleOptionComboBox INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionComboBox - - METHOD new( ... ) - - METHOD currentIcon // ( ) -> oQIcon - METHOD currentText // ( ) -> cQString - METHOD editable // ( ) -> lBool - METHOD frame // ( ) -> lBool - METHOD iconSize // ( ) -> oQSize - METHOD popupRect // ( ) -> oQRect - - ENDCLASS - - -METHOD QStyleOptionComboBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionComboBox( ... ) - RETURN Self - - -METHOD QStyleOptionComboBox:currentIcon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionComboBox_currentIcon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionComboBox:currentText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionComboBox_currentText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionComboBox:editable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionComboBox_editable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionComboBox:frame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionComboBox_frame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionComboBox:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionComboBox_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionComboBox:popupRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QStyleOptionComboBox_popupRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg deleted file mode 100644 index 514f3cf127..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionComplex.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionComplex( ... ) - RETURN HB_QStyleOptionComplex():new( ... ) - -FUNCTION QStyleOptionComplexFromPointer( ... ) - RETURN HB_QStyleOptionComplex():fromPointer( ... ) - - -CREATE CLASS QStyleOptionComplex INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionComplex - - METHOD new( ... ) - - METHOD activeSubControls // ( ) -> nQStyle_SubControls - METHOD subControls // ( ) -> nQStyle_SubControls - - ENDCLASS - - -METHOD QStyleOptionComplex:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionComplex( ... ) - RETURN Self - - -METHOD QStyleOptionComplex:activeSubControls( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionComplex_activeSubControls( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionComplex:subControls( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionComplex_subControls( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg deleted file mode 100644 index 45f5affd6d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionDockWidget.prg +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionDockWidget( ... ) - RETURN HB_QStyleOptionDockWidget():new( ... ) - -FUNCTION QStyleOptionDockWidgetFromPointer( ... ) - RETURN HB_QStyleOptionDockWidget():fromPointer( ... ) - - -CREATE CLASS QStyleOptionDockWidget INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionDockWidget - - METHOD new( ... ) - - METHOD closable // ( ) -> lBool - METHOD floatable // ( ) -> lBool - METHOD movable // ( ) -> lBool - METHOD title // ( ) -> cQString - - ENDCLASS - - -METHOD QStyleOptionDockWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionDockWidget( ... ) - RETURN Self - - -METHOD QStyleOptionDockWidget:closable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionDockWidget_closable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionDockWidget:floatable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionDockWidget_floatable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionDockWidget:movable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionDockWidget_movable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionDockWidget:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionDockWidget_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg deleted file mode 100644 index d71c7f3f8f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFocusRect.prg +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionFocusRect( ... ) - RETURN HB_QStyleOptionFocusRect():new( ... ) - -FUNCTION QStyleOptionFocusRectFromPointer( ... ) - RETURN HB_QStyleOptionFocusRect():fromPointer( ... ) - - -CREATE CLASS QStyleOptionFocusRect INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionFocusRect - - METHOD new( ... ) - - METHOD backgroundColor // ( ) -> oQColor - - ENDCLASS - - -METHOD QStyleOptionFocusRect:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionFocusRect( ... ) - RETURN Self - - -METHOD QStyleOptionFocusRect:backgroundColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QStyleOptionFocusRect_backgroundColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg deleted file mode 100644 index a3b1e2c060..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionFrame.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionFrame( ... ) - RETURN HB_QStyleOptionFrame():new( ... ) - -FUNCTION QStyleOptionFrameFromPointer( ... ) - RETURN HB_QStyleOptionFrame():fromPointer( ... ) - - -CREATE CLASS QStyleOptionFrame INHERIT HbQtObjectHandler, qStyleOption FUNCTION HB_QStyleOptionFrame - - METHOD new( ... ) - - METHOD lineWidth // ( ) -> nInt - METHOD midLineWidth // ( ) -> nInt - - ENDCLASS - - -METHOD QStyleOptionFrame:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionFrame( ... ) - RETURN Self - - -METHOD QStyleOptionFrame:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionFrame_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionFrame:midLineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionFrame_midLineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg deleted file mode 100644 index 00c2203304..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGraphicsItem.prg +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionGraphicsItem( ... ) - RETURN HB_QStyleOptionGraphicsItem():new( ... ) - -FUNCTION QStyleOptionGraphicsItemFromPointer( ... ) - RETURN HB_QStyleOptionGraphicsItem():fromPointer( ... ) - - -CREATE CLASS QStyleOptionGraphicsItem INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionGraphicsItem - - METHOD new( ... ) - - METHOD exposedRect // ( ) -> oQRectF - METHOD levelOfDetail // ( ) -> nQreal - METHOD matrix // ( ) -> oQMatrix - - ENDCLASS - - -METHOD QStyleOptionGraphicsItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionGraphicsItem( ... ) - RETURN Self - - -METHOD QStyleOptionGraphicsItem:exposedRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QStyleOptionGraphicsItem_exposedRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGraphicsItem:levelOfDetail( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionGraphicsItem_levelOfDetail( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGraphicsItem:matrix( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QStyleOptionGraphicsItem_matrix( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg deleted file mode 100644 index b59293a664..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionGroupBox.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionGroupBox( ... ) - RETURN HB_QStyleOptionGroupBox():new( ... ) - -FUNCTION QStyleOptionGroupBoxFromPointer( ... ) - RETURN HB_QStyleOptionGroupBox():fromPointer( ... ) - - -CREATE CLASS QStyleOptionGroupBox INHERIT HbQtObjectHandler, HB_QStyleOptionComplex FUNCTION HB_QStyleOptionGroupBox - - METHOD new( ... ) - - METHOD features // ( ) -> nQStyleOptionFrameV2_FrameFeatures - METHOD lineWidth // ( ) -> nInt - METHOD midLineWidth // ( ) -> nInt - METHOD text // ( ) -> cQString - METHOD textAlignment // ( ) -> nQt_Alignment - METHOD textColor // ( ) -> oQColor - - ENDCLASS - - -METHOD QStyleOptionGroupBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionGroupBox( ... ) - RETURN Self - - -METHOD QStyleOptionGroupBox:features( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionGroupBox_features( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGroupBox:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionGroupBox_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGroupBox:midLineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionGroupBox_midLineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGroupBox:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionGroupBox_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGroupBox:textAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionGroupBox_textAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionGroupBox:textColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QStyleOptionGroupBox_textColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg deleted file mode 100644 index ba4d893987..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionHeader.prg +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionHeader( ... ) - RETURN HB_QStyleOptionHeader():new( ... ) - -FUNCTION QStyleOptionHeaderFromPointer( ... ) - RETURN HB_QStyleOptionHeader():fromPointer( ... ) - - -CREATE CLASS QStyleOptionHeader INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionHeader - - METHOD new( ... ) - - METHOD icon // ( ) -> oQIcon - METHOD iconAlignment // ( ) -> nQt_Alignment - METHOD orientation // ( ) -> nQt_Orientation - METHOD position // ( ) -> nSectionPosition - METHOD section // ( ) -> nInt - METHOD selectedPosition // ( ) -> nSelectedPosition - METHOD sortIndicator // ( ) -> nSortIndicator - METHOD text // ( ) -> cQString - METHOD textAlignment // ( ) -> nQt_Alignment - - ENDCLASS - - -METHOD QStyleOptionHeader:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionHeader( ... ) - RETURN Self - - -METHOD QStyleOptionHeader:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionHeader_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:iconAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_iconAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:section( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_section( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:selectedPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_selectedPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:sortIndicator( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_sortIndicator( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionHeader:textAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionHeader_textAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg deleted file mode 100644 index 4c92180093..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionMenuItem.prg +++ /dev/null @@ -1,140 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionMenuItem( ... ) - RETURN HB_QStyleOptionMenuItem():new( ... ) - -FUNCTION QStyleOptionMenuItemFromPointer( ... ) - RETURN HB_QStyleOptionMenuItem():fromPointer( ... ) - - -CREATE CLASS QStyleOptionMenuItem INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionMenuItem - - METHOD new( ... ) - - METHOD checkType // ( ) -> nCheckType - METHOD checked // ( ) -> lBool - METHOD font // ( ) -> oQFont - METHOD icon // ( ) -> oQIcon - METHOD maxIconWidth // ( ) -> nInt - METHOD menuHasCheckableItems // ( ) -> lBool - METHOD menuItemType // ( ) -> nMenuItemType - METHOD menuRect // ( ) -> oQRect - METHOD tabWidth // ( ) -> nInt - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QStyleOptionMenuItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionMenuItem( ... ) - RETURN Self - - -METHOD QStyleOptionMenuItem:checkType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_checkType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:checked( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_checked( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QStyleOptionMenuItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionMenuItem_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:maxIconWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_maxIconWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:menuHasCheckableItems( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_menuHasCheckableItems( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:menuItemType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_menuItemType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:menuRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QStyleOptionMenuItem_menuRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:tabWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_tabWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionMenuItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionMenuItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg deleted file mode 100644 index 017258d646..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionProgressBar.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionProgressBar( ... ) - RETURN HB_QStyleOptionProgressBar():new( ... ) - -FUNCTION QStyleOptionProgressBarFromPointer( ... ) - RETURN HB_QStyleOptionProgressBar():fromPointer( ... ) - - -CREATE CLASS QStyleOptionProgressBar INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionProgressBar - - METHOD new( ... ) - - METHOD maximum // ( ) -> nInt - METHOD minimum // ( ) -> nInt - METHOD progress // ( ) -> nInt - METHOD text // ( ) -> cQString - METHOD textAlignment // ( ) -> nQt_Alignment - METHOD textVisible // ( ) -> lBool - - ENDCLASS - - -METHOD QStyleOptionProgressBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionProgressBar( ... ) - RETURN Self - - -METHOD QStyleOptionProgressBar:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionProgressBar_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionProgressBar:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionProgressBar_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionProgressBar:progress( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionProgressBar_progress( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionProgressBar:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionProgressBar_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionProgressBar:textAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionProgressBar_textAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionProgressBar:textVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionProgressBar_textVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg deleted file mode 100644 index 9de965f8c2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSizeGrip.prg +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionSizeGrip( ... ) - RETURN HB_QStyleOptionSizeGrip():new( ... ) - -FUNCTION QStyleOptionSizeGripFromPointer( ... ) - RETURN HB_QStyleOptionSizeGrip():fromPointer( ... ) - - -CREATE CLASS QStyleOptionSizeGrip INHERIT HbQtObjectHandler, HB_QStyleOptionComplex FUNCTION HB_QStyleOptionSizeGrip - - METHOD new( ... ) - - METHOD corner // ( ) -> nQt_Corner - - ENDCLASS - - -METHOD QStyleOptionSizeGrip:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionSizeGrip( ... ) - RETURN Self - - -METHOD QStyleOptionSizeGrip:corner( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSizeGrip_corner( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg deleted file mode 100644 index 5eaafe9f79..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSlider.prg +++ /dev/null @@ -1,158 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionSlider( ... ) - RETURN HB_QStyleOptionSlider():new( ... ) - -FUNCTION QStyleOptionSliderFromPointer( ... ) - RETURN HB_QStyleOptionSlider():fromPointer( ... ) - - -CREATE CLASS QStyleOptionSlider INHERIT HbQtObjectHandler, HB_QStyleOptionComplex FUNCTION HB_QStyleOptionSlider - - METHOD new( ... ) - - METHOD dialWrapping // ( ) -> lBool - METHOD maximum // ( ) -> nInt - METHOD minimum // ( ) -> nInt - METHOD notchTarget // ( ) -> nQreal - METHOD orientation // ( ) -> nQt_Orientation - METHOD pageStep // ( ) -> nInt - METHOD singleStep // ( ) -> nInt - METHOD sliderPosition // ( ) -> nInt - METHOD sliderValue // ( ) -> nInt - METHOD tickInterval // ( ) -> nInt - METHOD tickPosition // ( ) -> nQSlider_TickPosition - METHOD upsideDown // ( ) -> lBool - - ENDCLASS - - -METHOD QStyleOptionSlider:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionSlider( ... ) - RETURN Self - - -METHOD QStyleOptionSlider:dialWrapping( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_dialWrapping( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:maximum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_maximum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:minimum( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_minimum( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:notchTarget( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_notchTarget( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:pageStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_pageStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:singleStep( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_singleStep( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:sliderPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_sliderPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:sliderValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_sliderValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:tickInterval( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_tickInterval( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:tickPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_tickPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSlider:upsideDown( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSlider_upsideDown( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg deleted file mode 100644 index d98adcec0b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionSpinBox.prg +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionSpinBox( ... ) - RETURN HB_QStyleOptionSpinBox():new( ... ) - -FUNCTION QStyleOptionSpinBoxFromPointer( ... ) - RETURN HB_QStyleOptionSpinBox():fromPointer( ... ) - - -CREATE CLASS QStyleOptionSpinBox INHERIT HbQtObjectHandler, HB_QStyleOptionComplex FUNCTION HB_QStyleOptionSpinBox - - METHOD new( ... ) - - METHOD buttonSymbols // ( ) -> nQAbstractSpinBox_ButtonSymbols - METHOD frame // ( ) -> lBool - METHOD stepEnabled // ( ) -> nQAbstractSpinBox_StepEnabled - - ENDCLASS - - -METHOD QStyleOptionSpinBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionSpinBox( ... ) - RETURN Self - - -METHOD QStyleOptionSpinBox:buttonSymbols( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSpinBox_buttonSymbols( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSpinBox:frame( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSpinBox_frame( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionSpinBox:stepEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionSpinBox_stepEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg deleted file mode 100644 index 1ca5b06d58..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTab.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionTab( ... ) - RETURN HB_QStyleOptionTab():new( ... ) - -FUNCTION QStyleOptionTabFromPointer( ... ) - RETURN HB_QStyleOptionTab():fromPointer( ... ) - - -CREATE CLASS QStyleOptionTab INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionTab - - METHOD new( ... ) - - METHOD cornerWidgets // ( ) -> nCornerWidgets - METHOD icon // ( ) -> oQIcon - METHOD position // ( ) -> nTabPosition - METHOD row // ( ) -> nInt - METHOD selectedPosition // ( ) -> nSelectedPosition - METHOD shape // ( ) -> nQTabBar_Shape - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QStyleOptionTab:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionTab( ... ) - RETURN Self - - -METHOD QStyleOptionTab:cornerWidgets( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTab_cornerWidgets( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTab:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionTab_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTab:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTab_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTab:row( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTab_row( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTab:selectedPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTab_selectedPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTab:shape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTab_shape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTab:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTab_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg deleted file mode 100644 index 732e59d3d2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabBarBase.prg +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionTabBarBase( ... ) - RETURN HB_QStyleOptionTabBarBase():new( ... ) - -FUNCTION QStyleOptionTabBarBaseFromPointer( ... ) - RETURN HB_QStyleOptionTabBarBase():fromPointer( ... ) - - -CREATE CLASS QStyleOptionTabBarBase INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionTabBarBase - - METHOD new( ... ) - - METHOD selectedTabRect // ( ) -> oQRect - METHOD shape // ( ) -> nQTabBar_Shape - METHOD tabBarRect // ( ) -> oQRect - - ENDCLASS - - -METHOD QStyleOptionTabBarBase:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionTabBarBase( ... ) - RETURN Self - - -METHOD QStyleOptionTabBarBase:selectedTabRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QStyleOptionTabBarBase_selectedTabRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabBarBase:shape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTabBarBase_shape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabBarBase:tabBarRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QStyleOptionTabBarBase_tabBarRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg deleted file mode 100644 index 16693695e5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTabWidgetFrame.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionTabWidgetFrame( ... ) - RETURN HB_QStyleOptionTabWidgetFrame():new( ... ) - -FUNCTION QStyleOptionTabWidgetFrameFromPointer( ... ) - RETURN HB_QStyleOptionTabWidgetFrame():fromPointer( ... ) - - -CREATE CLASS QStyleOptionTabWidgetFrame INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionTabWidgetFrame - - METHOD new( ... ) - - METHOD leftCornerWidgetSize // ( ) -> oQSize - METHOD lineWidth // ( ) -> nInt - METHOD midLineWidth // ( ) -> nInt - METHOD rightCornerWidgetSize // ( ) -> oQSize - METHOD shape // ( ) -> nQTabBar_Shape - METHOD tabBarSize // ( ) -> oQSize - - ENDCLASS - - -METHOD QStyleOptionTabWidgetFrame:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionTabWidgetFrame( ... ) - RETURN Self - - -METHOD QStyleOptionTabWidgetFrame:leftCornerWidgetSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionTabWidgetFrame_leftCornerWidgetSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabWidgetFrame:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTabWidgetFrame_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabWidgetFrame:midLineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTabWidgetFrame_midLineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabWidgetFrame:rightCornerWidgetSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionTabWidgetFrame_rightCornerWidgetSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabWidgetFrame:shape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTabWidgetFrame_shape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTabWidgetFrame:tabBarSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionTabWidgetFrame_tabBarSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg deleted file mode 100644 index 4b4ade5d11..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionTitleBar.prg +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionTitleBar( ... ) - RETURN HB_QStyleOptionTitleBar():new( ... ) - -FUNCTION QStyleOptionTitleBarFromPointer( ... ) - RETURN HB_QStyleOptionTitleBar():fromPointer( ... ) - - -CREATE CLASS QStyleOptionTitleBar INHERIT HbQtObjectHandler, HB_QStyleOptionComplex FUNCTION HB_QStyleOptionTitleBar - - METHOD new( ... ) - - METHOD icon // ( ) -> oQIcon - METHOD text // ( ) -> cQString - METHOD titleBarFlags // ( ) -> nQt_WindowFlags - METHOD titleBarState // ( ) -> nInt - - ENDCLASS - - -METHOD QStyleOptionTitleBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionTitleBar( ... ) - RETURN Self - - -METHOD QStyleOptionTitleBar:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionTitleBar_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTitleBar:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTitleBar_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTitleBar:titleBarFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTitleBar_titleBarFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionTitleBar:titleBarState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionTitleBar_titleBarState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg deleted file mode 100644 index 5e4a0ab190..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBar.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionToolBar( ... ) - RETURN HB_QStyleOptionToolBar():new( ... ) - -FUNCTION QStyleOptionToolBarFromPointer( ... ) - RETURN HB_QStyleOptionToolBar():fromPointer( ... ) - - -CREATE CLASS QStyleOptionToolBar INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionToolBar - - METHOD new( ... ) - - METHOD features // ( ) -> nToolBarFeatures - METHOD lineWidth // ( ) -> nInt - METHOD midLineWidth // ( ) -> nInt - METHOD positionOfLine // ( ) -> nToolBarPosition - METHOD positionWithinLine // ( ) -> nToolBarPosition - METHOD toolBarArea // ( ) -> nQt_ToolBarArea - - ENDCLASS - - -METHOD QStyleOptionToolBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionToolBar( ... ) - RETURN Self - - -METHOD QStyleOptionToolBar:features( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBar_features( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolBar:lineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBar_lineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolBar:midLineWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBar_midLineWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolBar:positionOfLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBar_positionOfLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolBar:positionWithinLine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBar_positionWithinLine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolBar:toolBarArea( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBar_toolBarArea( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg deleted file mode 100644 index 1f8594e87d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolBox.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionToolBox( ... ) - RETURN HB_QStyleOptionToolBox():new( ... ) - -FUNCTION QStyleOptionToolBoxFromPointer( ... ) - RETURN HB_QStyleOptionToolBox():fromPointer( ... ) - - -CREATE CLASS QStyleOptionToolBox INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionToolBox - - METHOD new( ... ) - - METHOD icon // ( ) -> oQIcon - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QStyleOptionToolBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionToolBox( ... ) - RETURN Self - - -METHOD QStyleOptionToolBox:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionToolBox_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolBox:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolBox_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg deleted file mode 100644 index 802af51941..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionToolButton.prg +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionToolButton( ... ) - RETURN HB_QStyleOptionToolButton():new( ... ) - -FUNCTION QStyleOptionToolButtonFromPointer( ... ) - RETURN HB_QStyleOptionToolButton():fromPointer( ... ) - - -CREATE CLASS QStyleOptionToolButton INHERIT HbQtObjectHandler, HB_QStyleOptionComplex FUNCTION HB_QStyleOptionToolButton - - METHOD new( ... ) - - METHOD arrowType // ( ) -> nQt_ArrowType - METHOD features // ( ) -> nToolButtonFeatures - METHOD font // ( ) -> oQFont - METHOD icon // ( ) -> oQIcon - METHOD iconSize // ( ) -> oQSize - METHOD pos // ( ) -> oQPoint - METHOD text // ( ) -> cQString - METHOD toolButtonStyle // ( ) -> nQt_ToolButtonStyle - - ENDCLASS - - -METHOD QStyleOptionToolButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionToolButton( ... ) - RETURN Self - - -METHOD QStyleOptionToolButton:arrowType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolButton_arrowType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:features( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolButton_features( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QStyleOptionToolButton_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QStyleOptionToolButton_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionToolButton_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QStyleOptionToolButton_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolButton_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionToolButton:toolButtonStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionToolButton_toolButtonStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg b/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg deleted file mode 100644 index 015eae215d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyleOptionViewItem.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyleOptionViewItem( ... ) - RETURN HB_QStyleOptionViewItem():new( ... ) - -FUNCTION QStyleOptionViewItemFromPointer( ... ) - RETURN HB_QStyleOptionViewItem():fromPointer( ... ) - - -CREATE CLASS QStyleOptionViewItem INHERIT HbQtObjectHandler, HB_QStyleOption FUNCTION HB_QStyleOptionViewItem - - METHOD new( ... ) - - METHOD decorationAlignment // ( ) -> nQt_Alignment - METHOD decorationPosition // ( ) -> nPosition - METHOD decorationSize // ( ) -> oQSize - METHOD displayAlignment // ( ) -> nQt_Alignment - METHOD font // ( ) -> oQFont - METHOD showDecorationSelected // ( ) -> lBool - METHOD textElideMode // ( ) -> nQt_TextElideMode - - ENDCLASS - - -METHOD QStyleOptionViewItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyleOptionViewItem( ... ) - RETURN Self - - -METHOD QStyleOptionViewItem:decorationAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionViewItem_decorationAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionViewItem:decorationPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionViewItem_decorationPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionViewItem:decorationSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QStyleOptionViewItem_decorationSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionViewItem:displayAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionViewItem_displayAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionViewItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QStyleOptionViewItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionViewItem:showDecorationSelected( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionViewItem_showDecorationSelected( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyleOptionViewItem:textElideMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QStyleOptionViewItem_textElideMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg b/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg deleted file mode 100644 index 69a00b2101..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStylePainter.prg +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStylePainter( ... ) - RETURN HB_QStylePainter():new( ... ) - -FUNCTION QStylePainterFromPointer( ... ) - RETURN HB_QStylePainter():fromPointer( ... ) - - -CREATE CLASS QStylePainter INHERIT HbQtObjectHandler, HB_QPainter FUNCTION HB_QStylePainter - - METHOD new( ... ) - - METHOD begin // ( oQWidget ) -> lBool - // ( oQPaintDevice, oQWidget ) -> lBool - METHOD drawComplexControl // ( nCc, oQStyleOptionComplex ) -> NIL - METHOD drawControl // ( nCe, oQStyleOption ) -> NIL - METHOD drawItemPixmap // ( oQRect, nFlags, oQPixmap ) -> NIL - METHOD drawItemText // ( oQRect, nFlags, oQPalette, lEnabled, cText, nTextRole ) -> NIL - METHOD drawPrimitive // ( nPe, oQStyleOption ) -> NIL - METHOD style // ( ) -> oQStyle - - ENDCLASS - - -METHOD QStylePainter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStylePainter( ... ) - RETURN Self - - -METHOD QStylePainter:begin( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStylePainter_begin_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QStylePainter_begin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStylePainter:drawComplexControl( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStylePainter_drawComplexControl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStylePainter:drawControl( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStylePainter_drawControl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStylePainter:drawItemPixmap( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStylePainter_drawItemPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStylePainter:drawItemText( ... ) - SWITCH PCount() - CASE 6 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isChar( hb_pvalue( 5 ) ) .AND. hb_isNumeric( hb_pvalue( 6 ) ) - RETURN Qt_QStylePainter_drawItemText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 5 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) .AND. hb_isLogical( hb_pvalue( 4 ) ) .AND. hb_isChar( hb_pvalue( 5 ) ) - RETURN Qt_QStylePainter_drawItemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStylePainter:drawPrimitive( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStylePainter_drawPrimitive( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStylePainter:style( ... ) - SWITCH PCount() - CASE 0 - RETURN QStyleFromPointer( Qt_QStylePainter_style( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg b/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg deleted file mode 100644 index 0196924046..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQStyledItemDelegate.prg +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QStyledItemDelegate( ... ) - RETURN HB_QStyledItemDelegate():new( ... ) - -FUNCTION QStyledItemDelegateFromPointer( ... ) - RETURN HB_QStyledItemDelegate():fromPointer( ... ) - - -CREATE CLASS QStyledItemDelegate INHERIT HbQtObjectHandler FUNCTION HB_QStyledItemDelegate - - METHOD new( ... ) - - METHOD createEditor // ( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> oQWidget - METHOD displayText // ( oQVariant, oQLocale ) -> cQString - METHOD paint // ( oQPainter, oQStyleOptionViewItem, oQModelIndex ) -> NIL - METHOD setEditorData // ( oQWidget, oQModelIndex ) -> NIL - METHOD setModelData // ( oQWidget, oQAbstractItemModel, oQModelIndex ) -> NIL - METHOD sizeHint // ( oQStyleOptionViewItem, oQModelIndex ) -> oQSize - METHOD updateEditorGeometry // ( oQWidget, oQStyleOptionViewItem, oQModelIndex ) -> NIL - - ENDCLASS - - -METHOD QStyledItemDelegate:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QStyledItemDelegate( ... ) - RETURN Self - - -METHOD QStyledItemDelegate:createEditor( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN QWidgetFromPointer( Qt_QStyledItemDelegate_createEditor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyledItemDelegate:displayText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStyledItemDelegate_displayText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyledItemDelegate:paint( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyledItemDelegate_paint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyledItemDelegate:setEditorData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QStyledItemDelegate_setEditorData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyledItemDelegate:setModelData( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyledItemDelegate_setModelData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyledItemDelegate:sizeHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QSizeFromPointer( Qt_QStyledItemDelegate_sizeHint( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QStyledItemDelegate:updateEditorGeometry( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QStyledItemDelegate_updateEditorGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg b/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg deleted file mode 100644 index dd86afcb8e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSyntaxHighlighter.prg +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSyntaxHighlighter( ... ) - RETURN HB_QSyntaxHighlighter():new( ... ) - -FUNCTION QSyntaxHighlighterFromPointer( ... ) - RETURN HB_QSyntaxHighlighter():fromPointer( ... ) - - -CREATE CLASS QSyntaxHighlighter INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QSyntaxHighlighter - - METHOD new( ... ) - - METHOD document // ( ) -> oQTextDocument - METHOD setDocument // ( oQTextDocument ) -> NIL - METHOD rehighlight // ( ) -> NIL - - ENDCLASS - - -METHOD QSyntaxHighlighter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSyntaxHighlighter( ... ) - RETURN Self - - -METHOD QSyntaxHighlighter:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QSyntaxHighlighter_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSyntaxHighlighter:setDocument( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSyntaxHighlighter_setDocument( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSyntaxHighlighter:rehighlight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSyntaxHighlighter_rehighlight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg b/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg deleted file mode 100644 index 530ada545e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQSystemTrayIcon.prg +++ /dev/null @@ -1,208 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QSystemTrayIcon( ... ) - RETURN HB_QSystemTrayIcon():new( ... ) - -FUNCTION QSystemTrayIconFromPointer( ... ) - RETURN HB_QSystemTrayIcon():fromPointer( ... ) - - -CREATE CLASS QSystemTrayIcon INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QSystemTrayIcon - - METHOD new( ... ) - - METHOD contextMenu // ( ) -> oQMenu - METHOD geometry // ( ) -> oQRect - METHOD icon // ( ) -> oQIcon - METHOD isVisible // ( ) -> lBool - METHOD setContextMenu // ( oQMenu ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setToolTip // ( cTip ) -> NIL - METHOD showMessage // ( cTitle, cMessage, nIcon, nMillisecondsTimeoutHint ) -> NIL - METHOD toolTip // ( ) -> cQString - METHOD isSystemTrayAvailable // ( ) -> lBool - METHOD supportsMessages // ( ) -> lBool - METHOD hide // ( ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD show // ( ) -> NIL - - ENDCLASS - - -METHOD QSystemTrayIcon:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QSystemTrayIcon( ... ) - RETURN Self - - -METHOD QSystemTrayIcon:contextMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QSystemTrayIcon_contextMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QSystemTrayIcon_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QSystemTrayIcon_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:isVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSystemTrayIcon_isVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:setContextMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QSystemTrayIcon_setContextMenu( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QSystemTrayIcon_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QSystemTrayIcon_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:showMessage( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QSystemTrayIcon_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QSystemTrayIcon_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QSystemTrayIcon_showMessage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSystemTrayIcon_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:isSystemTrayAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSystemTrayIcon_isSystemTrayAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:supportsMessages( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSystemTrayIcon_supportsMessages( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:hide( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSystemTrayIcon_hide( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QSystemTrayIcon_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QSystemTrayIcon:show( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QSystemTrayIcon_show( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg b/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg deleted file mode 100644 index 454494405f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTabBar.prg +++ /dev/null @@ -1,574 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTabBar( ... ) - RETURN HB_QTabBar():new( ... ) - -FUNCTION QTabBarFromPointer( ... ) - RETURN HB_QTabBar():fromPointer( ... ) - - -CREATE CLASS QTabBar INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QTabBar - - METHOD new( ... ) - - METHOD addTab // ( cText ) -> nInt - METHOD count // ( ) -> nInt - METHOD currentIndex // ( ) -> nInt - METHOD documentMode // ( ) -> lBool - METHOD drawBase // ( ) -> lBool - METHOD elideMode // ( ) -> nQt_TextElideMode - METHOD expanding // ( ) -> lBool - METHOD iconSize // ( ) -> oQSize - METHOD insertTab // ( nIndex, cText ) -> nInt - METHOD isMovable // ( ) -> lBool - METHOD isTabEnabled // ( nIndex ) -> lBool - METHOD moveTab // ( nFrom, nTo ) -> NIL - METHOD removeTab // ( nIndex ) -> NIL - METHOD selectionBehaviorOnRemove // ( ) -> nSelectionBehavior - METHOD setDocumentMode // ( lSet ) -> NIL - METHOD setDrawBase // ( lDrawTheBase ) -> NIL - METHOD setElideMode // ( nQt::TextElideMode ) -> NIL - METHOD setExpanding // ( lEnabled ) -> NIL - METHOD setIconSize // ( oQSize ) -> NIL - METHOD setMovable // ( lMovable ) -> NIL - METHOD setSelectionBehaviorOnRemove // ( nBehavior ) -> NIL - METHOD setShape // ( nShape ) -> NIL - METHOD setTabButton // ( nIndex, nPosition, oQWidget ) -> NIL - METHOD setTabData // ( nIndex, oQVariant ) -> NIL - METHOD setTabEnabled // ( nIndex, lEnabled ) -> NIL - METHOD setTabText // ( nIndex, cText ) -> NIL - METHOD setTabTextColor // ( nIndex, oQColor ) -> NIL - METHOD setTabToolTip // ( nIndex, cTip ) -> NIL - METHOD setTabWhatsThis // ( nIndex, cText ) -> NIL - METHOD setTabsClosable // ( lClosable ) -> NIL - METHOD setUsesScrollButtons // ( lUseButtons ) -> NIL - METHOD shape // ( ) -> nShape - METHOD tabAt // ( oQPoint ) -> nInt - METHOD tabButton // ( nIndex, nPosition ) -> oQWidget - METHOD tabData // ( nIndex ) -> oQVariant - METHOD tabIcon // ( nIndex ) -> oQIcon - METHOD tabRect // ( nIndex ) -> oQRect - METHOD tabText // ( nIndex ) -> cQString - METHOD tabTextColor // ( nIndex ) -> oQColor - METHOD tabToolTip // ( nIndex ) -> cQString - METHOD tabWhatsThis // ( nIndex ) -> cQString - METHOD tabsClosable // ( ) -> lBool - METHOD usesScrollButtons // ( ) -> lBool - METHOD setCurrentIndex // ( nIndex ) -> NIL - - ENDCLASS - - -METHOD QTabBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTabBar( ... ) - RETURN Self - - -METHOD QTabBar:addTab( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_addTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_currentIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:documentMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_documentMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:drawBase( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_drawBase( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:elideMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_elideMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:expanding( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_expanding( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QTabBar_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:insertTab( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_insertTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:isMovable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_isMovable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:isTabEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_isTabEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:moveTab( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_moveTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:removeTab( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_removeTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:selectionBehaviorOnRemove( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_selectionBehaviorOnRemove( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setDocumentMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setDocumentMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setDrawBase( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setDrawBase( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setElideMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setElideMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setExpanding( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setExpanding( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setMovable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setMovable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setSelectionBehaviorOnRemove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setSelectionBehaviorOnRemove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabButton( ... ) - 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_QTabBar_setTabButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_setTabData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabEnabled( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_setTabEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_setTabText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabTextColor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_setTabTextColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabToolTip( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_setTabToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabWhatsThis( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabBar_setTabWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setTabsClosable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setTabsClosable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setUsesScrollButtons( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setUsesScrollButtons( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:shape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_shape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_tabAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabButton( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QTabBar_tabButton( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QTabBar_tabData( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QTabBar_tabIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QTabBar_tabRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_tabText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabTextColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QTabBar_tabTextColor( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_tabToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_tabWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:tabsClosable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_tabsClosable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:usesScrollButtons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabBar_usesScrollButtons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabBar:setCurrentIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabBar_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg deleted file mode 100644 index 7deaddf1d7..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTabWidget.prg +++ /dev/null @@ -1,531 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTabWidget( ... ) - RETURN HB_QTabWidget():new( ... ) - -FUNCTION QTabWidgetFromPointer( ... ) - RETURN HB_QTabWidget():fromPointer( ... ) - - -CREATE CLASS QTabWidget INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QTabWidget - - METHOD new( ... ) - - METHOD addTab // ( oQWidget, cLabel ) -> nInt - // ( oQWidget, coQIcon, cLabel ) -> nInt - METHOD clear // ( ) -> NIL - METHOD cornerWidget // ( nCorner ) -> oQWidget - METHOD count // ( ) -> nInt - METHOD currentIndex // ( ) -> nInt - METHOD currentWidget // ( ) -> oQWidget - METHOD documentMode // ( ) -> lBool - METHOD elideMode // ( ) -> nQt_TextElideMode - METHOD iconSize // ( ) -> oQSize - METHOD indexOf // ( oQWidget ) -> nInt - METHOD insertTab // ( nIndex, oQWidget, cLabel ) -> nInt - // ( nIndex, oQWidget, coQIcon, cLabel ) -> nInt - METHOD isMovable // ( ) -> lBool - METHOD isTabEnabled // ( nIndex ) -> lBool - METHOD removeTab // ( nIndex ) -> NIL - METHOD setCornerWidget // ( oQWidget, nCorner ) -> NIL - METHOD setDocumentMode // ( lSet ) -> NIL - METHOD setElideMode // ( nQt::TextElideMode ) -> NIL - METHOD setIconSize // ( oQSize ) -> NIL - METHOD setMovable // ( lMovable ) -> NIL - METHOD setTabEnabled // ( nIndex, lEnable ) -> NIL - METHOD setTabIcon // ( nIndex, coQIcon ) -> NIL - METHOD setTabPosition // ( nTabPosition ) -> NIL - METHOD setTabShape // ( nS ) -> NIL - METHOD setTabText // ( nIndex, cLabel ) -> NIL - METHOD setTabToolTip // ( nIndex, cTip ) -> NIL - METHOD setTabWhatsThis // ( nIndex, cText ) -> NIL - METHOD setTabsClosable // ( lCloseable ) -> NIL - METHOD setUsesScrollButtons // ( lUseButtons ) -> NIL - METHOD tabIcon // ( nIndex ) -> oQIcon - METHOD tabPosition // ( ) -> nTabPosition - METHOD tabShape // ( ) -> nTabShape - METHOD tabText // ( nIndex ) -> cQString - METHOD tabToolTip // ( nIndex ) -> cQString - METHOD tabWhatsThis // ( nIndex ) -> cQString - METHOD tabsClosable // ( ) -> lBool - METHOD usesScrollButtons // ( ) -> lBool - METHOD widget // ( nIndex ) -> oQWidget - METHOD setCurrentIndex // ( nIndex ) -> NIL - METHOD setCurrentWidget // ( oQWidget ) -> NIL - - ENDCLASS - - -METHOD QTabWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTabWidget( ... ) - RETURN Self - - -METHOD QTabWidget:addTab( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabWidget_addTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:cornerWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QTabWidget_cornerWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QWidgetFromPointer( Qt_QTabWidget_cornerWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_currentIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:currentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QTabWidget_currentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:documentMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_documentMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:elideMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_elideMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QTabWidget_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:indexOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:insertTab( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QTabWidget_insertTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:isMovable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_isMovable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:isTabEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_isTabEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:removeTab( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_removeTab( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setCornerWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTabWidget_setCornerWidget( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setCornerWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setDocumentMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setDocumentMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setElideMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setElideMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setMovable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setMovable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabEnabled( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTabWidget_setTabEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabIcon( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) - RETURN Qt_QTabWidget_setTabIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setTabPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabShape( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setTabShape( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabWidget_setTabText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabToolTip( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabWidget_setTabToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabWhatsThis( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTabWidget_setTabWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setTabsClosable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setTabsClosable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setUsesScrollButtons( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setUsesScrollButtons( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QTabWidget_tabIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_tabPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabShape( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_tabShape( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_tabText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_tabToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_tabWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:tabsClosable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_tabsClosable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:usesScrollButtons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTabWidget_usesScrollButtons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:widget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QTabWidget_widget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setCurrentIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTabWidget:setCurrentWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTabWidget_setCurrentWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableView.prg b/harbour/contrib/hbqt/qtgui/g/TQTableView.prg deleted file mode 100644 index 2c1a485888..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTableView.prg +++ /dev/null @@ -1,556 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTableView( ... ) - RETURN HB_QTableView():new( ... ) - -FUNCTION QTableViewFromPointer( ... ) - RETURN HB_QTableView():fromPointer( ... ) - - -CREATE CLASS QTableView INHERIT HbQtObjectHandler, HB_QAbstractItemView FUNCTION HB_QTableView - - METHOD new( ... ) - - METHOD clearSpans // ( ) -> NIL - METHOD columnAt // ( nX ) -> nInt - METHOD columnSpan // ( nRow, nColumn ) -> nInt - METHOD columnViewportPosition // ( nColumn ) -> nInt - METHOD columnWidth // ( nColumn ) -> nInt - METHOD gridStyle // ( ) -> nQt_PenStyle - METHOD horizontalHeader // ( ) -> oQHeaderView - METHOD indexAt // ( oQPoint ) -> oQModelIndex - METHOD isColumnHidden // ( nColumn ) -> lBool - METHOD isCornerButtonEnabled // ( ) -> lBool - METHOD isRowHidden // ( nRow ) -> lBool - METHOD isSortingEnabled // ( ) -> lBool - METHOD rowAt // ( nY ) -> nInt - METHOD rowHeight // ( nRow ) -> nInt - METHOD rowSpan // ( nRow, nColumn ) -> nInt - METHOD rowViewportPosition // ( nRow ) -> nInt - METHOD setColumnHidden // ( nColumn, lHide ) -> NIL - METHOD setColumnWidth // ( nColumn, nWidth ) -> NIL - METHOD setCornerButtonEnabled // ( lEnable ) -> NIL - METHOD setGridStyle // ( nStyle ) -> NIL - METHOD setHorizontalHeader // ( oQHeaderView ) -> NIL - METHOD setRowHeight // ( nRow, nHeight ) -> NIL - METHOD setRowHidden // ( nRow, lHide ) -> NIL - METHOD setSortingEnabled // ( lEnable ) -> NIL - METHOD setSpan // ( nRow, nColumn, nRowSpanCount, nColumnSpanCount ) -> NIL - METHOD setVerticalHeader // ( oQHeaderView ) -> NIL - METHOD setWordWrap // ( lOn ) -> NIL - METHOD showGrid // ( ) -> lBool - METHOD sortByColumn // ( nColumn, nOrder ) -> NIL - METHOD verticalHeader // ( ) -> oQHeaderView - METHOD wordWrap // ( ) -> lBool - METHOD hideColumn // ( nColumn ) -> NIL - METHOD hideRow // ( nRow ) -> NIL - METHOD resizeColumnToContents // ( nColumn ) -> NIL - METHOD resizeColumnsToContents // ( ) -> NIL - METHOD resizeRowToContents // ( nRow ) -> NIL - METHOD resizeRowsToContents // ( ) -> NIL - METHOD selectColumn // ( nColumn ) -> NIL - METHOD selectRow // ( nRow ) -> NIL - METHOD setShowGrid // ( lShow ) -> NIL - METHOD showColumn // ( nColumn ) -> NIL - METHOD showRow // ( nRow ) -> NIL - - ENDCLASS - - -METHOD QTableView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTableView( ... ) - RETURN Self - - -METHOD QTableView:clearSpans( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_clearSpans( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:columnAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_columnAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:columnSpan( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_columnSpan( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:columnViewportPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_columnViewportPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:columnWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_columnWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:gridStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_gridStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:horizontalHeader( ... ) - SWITCH PCount() - CASE 0 - RETURN QHeaderViewFromPointer( Qt_QTableView_horizontalHeader( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:indexAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QTableView_indexAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:isColumnHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_isColumnHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:isCornerButtonEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_isCornerButtonEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:isRowHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_isRowHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:isSortingEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_isSortingEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:rowAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_rowAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:rowHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_rowHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:rowSpan( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_rowSpan( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:rowViewportPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_rowViewportPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setColumnHidden( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_setColumnHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setColumnWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_setColumnWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setCornerButtonEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setCornerButtonEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setGridStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setGridStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setHorizontalHeader( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setHorizontalHeader( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setRowHeight( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_setRowHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setRowHidden( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_setRowHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setSortingEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setSortingEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setSpan( ... ) - 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_QTableView_setSpan( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setVerticalHeader( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setVerticalHeader( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setWordWrap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setWordWrap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:showGrid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_showGrid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:sortByColumn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableView_sortByColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:verticalHeader( ... ) - SWITCH PCount() - CASE 0 - RETURN QHeaderViewFromPointer( Qt_QTableView_verticalHeader( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:wordWrap( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_wordWrap( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:hideColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_hideColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:hideRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_hideRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:resizeColumnToContents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_resizeColumnToContents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:resizeColumnsToContents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_resizeColumnsToContents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:resizeRowToContents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_resizeRowToContents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:resizeRowsToContents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableView_resizeRowsToContents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:selectColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_selectColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:selectRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_selectRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:setShowGrid( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_setShowGrid( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:showColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_showColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableView:showRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableView_showRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg deleted file mode 100644 index 7f3588d1a3..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTableWidget.prg +++ /dev/null @@ -1,641 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTableWidget( ... ) - RETURN HB_QTableWidget():new( ... ) - -FUNCTION QTableWidgetFromPointer( ... ) - RETURN HB_QTableWidget():fromPointer( ... ) - - -CREATE CLASS QTableWidget INHERIT HbQtObjectHandler, HB_QTableView FUNCTION HB_QTableWidget - - METHOD new( ... ) - - METHOD cellWidget // ( nRow, nColumn ) -> oQWidget - METHOD closePersistentEditor // ( oQTableWidgetItem ) -> NIL - METHOD column // ( oQTableWidgetItem ) -> nInt - METHOD columnCount // ( ) -> nInt - METHOD currentColumn // ( ) -> nInt - METHOD currentItem // ( ) -> oQTableWidgetItem - METHOD currentRow // ( ) -> nInt - METHOD editItem // ( oQTableWidgetItem ) -> NIL - METHOD findItems // ( cText, nFlags ) -> oQList_QTableWidgetItem - METHOD horizontalHeaderItem // ( nColumn ) -> oQTableWidgetItem - METHOD item // ( nRow, nColumn ) -> oQTableWidgetItem - METHOD itemAt // ( oQPoint ) -> oQTableWidgetItem - // ( nAx, nAy ) -> oQTableWidgetItem - METHOD itemPrototype // ( ) -> oQTableWidgetItem - METHOD openPersistentEditor // ( oQTableWidgetItem ) -> NIL - METHOD removeCellWidget // ( nRow, nColumn ) -> NIL - METHOD row // ( oQTableWidgetItem ) -> nInt - METHOD rowCount // ( ) -> nInt - METHOD selectedItems // ( ) -> oQList_QTableWidgetItem - METHOD selectedRanges // ( ) -> oQList_QTableWidgetSelectionRange> - METHOD setCellWidget // ( nRow, nColumn, oQWidget ) -> NIL - METHOD setColumnCount // ( nColumns ) -> NIL - METHOD setCurrentCell // ( nRow, nColumn ) -> NIL - // ( nRow, nColumn, nCommand ) -> NIL - METHOD setCurrentItem // ( oQTableWidgetItem ) -> NIL - // ( oQTableWidgetItem, nCommand ) -> NIL - METHOD setHorizontalHeaderItem // ( nColumn, oQTableWidgetItem ) -> NIL - METHOD setHorizontalHeaderLabels // ( oQStringList ) -> NIL - METHOD setItem // ( nRow, nColumn, oQTableWidgetItem ) -> NIL - METHOD setItemPrototype // ( oQTableWidgetItem ) -> NIL - METHOD setRangeSelected // ( oQTableWidgetSelectionRange, lSelect ) -> NIL - METHOD setRowCount // ( nRows ) -> NIL - METHOD setVerticalHeaderItem // ( nRow, oQTableWidgetItem ) -> NIL - METHOD setVerticalHeaderLabels // ( oQStringList ) -> NIL - METHOD sortItems // ( nColumn, nOrder ) -> NIL - METHOD takeHorizontalHeaderItem // ( nColumn ) -> oQTableWidgetItem - METHOD takeItem // ( nRow, nColumn ) -> oQTableWidgetItem - METHOD takeVerticalHeaderItem // ( nRow ) -> oQTableWidgetItem - METHOD verticalHeaderItem // ( nRow ) -> oQTableWidgetItem - METHOD visualColumn // ( nLogicalColumn ) -> nInt - METHOD visualItemRect // ( oQTableWidgetItem ) -> oQRect - METHOD visualRow // ( nLogicalRow ) -> nInt - METHOD clear // ( ) -> NIL - METHOD clearContents // ( ) -> NIL - METHOD insertColumn // ( nColumn ) -> NIL - METHOD insertRow // ( nRow ) -> NIL - METHOD removeColumn // ( nColumn ) -> NIL - METHOD removeRow // ( nRow ) -> NIL - METHOD scrollToItem // ( oQTableWidgetItem, nHint ) -> NIL - - ENDCLASS - - -METHOD QTableWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTableWidget( ... ) - RETURN Self - - -METHOD QTableWidget:cellWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QTableWidget_cellWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:closePersistentEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_closePersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:column( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_column( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidget_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:currentColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidget_currentColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:currentItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_currentItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:currentRow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidget_currentRow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:editItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_editItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:findItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QTableWidget_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:horizontalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_horizontalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:item( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_item( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_itemAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:itemPrototype( ... ) - SWITCH PCount() - CASE 0 - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_itemPrototype( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:openPersistentEditor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_openPersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:removeCellWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_removeCellWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:row( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_row( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:rowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidget_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:selectedItems( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTableWidget_selectedItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:selectedRanges( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTableWidget_selectedRanges( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setCellWidget( ... ) - 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_QTableWidget_setCellWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setColumnCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_setColumnCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setCurrentCell( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_setCurrentCell( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setCurrentItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_setCurrentItem_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_setCurrentItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setHorizontalHeaderItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_setHorizontalHeaderItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setHorizontalHeaderLabels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_setHorizontalHeaderLabels( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setItem( ... ) - 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_QTableWidget_setItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setItemPrototype( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_setItemPrototype( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setRangeSelected( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_setRangeSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setRowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_setRowCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setVerticalHeaderItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_setVerticalHeaderItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:setVerticalHeaderLabels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_setVerticalHeaderLabels( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:sortItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_sortItems( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_sortItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:takeHorizontalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_takeHorizontalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:takeItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_takeItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:takeVerticalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_takeVerticalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:verticalHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTableWidgetItemFromPointer( Qt_QTableWidget_verticalHeaderItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:visualColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_visualColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:visualItemRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QTableWidget_visualItemRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:visualRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_visualRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidget_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:clearContents( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidget_clearContents( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:insertColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_insertColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:insertRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_insertRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:removeColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_removeColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:removeRow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_removeRow( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidget:scrollToItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidget_scrollToItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidget_scrollToItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg deleted file mode 100644 index bdb8c400f1..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetItem.prg +++ /dev/null @@ -1,433 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTableWidgetItem( ... ) - RETURN HB_QTableWidgetItem():new( ... ) - -FUNCTION QTableWidgetItemFromPointer( ... ) - RETURN HB_QTableWidgetItem():fromPointer( ... ) - - -CREATE CLASS QTableWidgetItem INHERIT HbQtObjectHandler FUNCTION HB_QTableWidgetItem - - METHOD new( ... ) - - METHOD background // ( ) -> oQBrush - METHOD checkState // ( ) -> nQt_CheckState - METHOD clone // ( ) -> oQTableWidgetItem - METHOD column // ( ) -> nInt - METHOD data // ( nRole ) -> oQVariant - METHOD flags // ( ) -> nQt_ItemFlags - METHOD font // ( ) -> oQFont - METHOD foreground // ( ) -> oQBrush - METHOD icon // ( ) -> oQIcon - METHOD isSelected // ( ) -> lBool - METHOD read // ( oQDataStream ) -> NIL - METHOD row // ( ) -> nInt - METHOD setBackground // ( oQBrush ) -> NIL - METHOD setCheckState // ( nState ) -> NIL - METHOD setData // ( nRole, oQVariant ) -> NIL - METHOD setFlags // ( nFlags ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setForeground // ( oQBrush ) -> NIL - METHOD setIcon // ( coQIcon ) -> NIL - METHOD setSelected // ( lSelect ) -> NIL - METHOD setSizeHint // ( oQSize ) -> NIL - METHOD setStatusTip // ( cStatusTip ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setTextAlignment // ( nAlignment ) -> NIL - METHOD setToolTip // ( cToolTip ) -> NIL - METHOD setWhatsThis // ( cWhatsThis ) -> NIL - METHOD sizeHint // ( ) -> oQSize - METHOD statusTip // ( ) -> cQString - METHOD tableWidget // ( ) -> oQTableWidget - METHOD text // ( ) -> cQString - METHOD textAlignment // ( ) -> nInt - METHOD toolTip // ( ) -> cQString - METHOD type // ( ) -> nInt - METHOD whatsThis // ( ) -> cQString - METHOD write // ( oQDataStream ) -> NIL - - ENDCLASS - - -METHOD QTableWidgetItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTableWidgetItem( ... ) - RETURN Self - - -METHOD QTableWidgetItem:background( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QTableWidgetItem_background( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:checkState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_checkState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:clone( ... ) - SWITCH PCount() - CASE 0 - RETURN QTableWidgetItemFromPointer( Qt_QTableWidgetItem_clone( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:column( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_column( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:data( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QTableWidgetItem_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QTableWidgetItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:foreground( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QTableWidgetItem_foreground( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QTableWidgetItem_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:isSelected( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_isSelected( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_read( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:row( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_row( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setCheckState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setCheckState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setData( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTableWidgetItem_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setForeground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setForeground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QTableWidgetItem_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setSizeHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setSizeHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setStatusTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setStatusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setTextAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setTextAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:setWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_setWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QTableWidgetItem_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:statusTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_statusTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:tableWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QTableWidgetFromPointer( Qt_QTableWidgetItem_tableWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:textAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_textAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:whatsThis( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetItem_whatsThis( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetItem:write( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTableWidgetItem_write( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg b/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg deleted file mode 100644 index 1779936552..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTableWidgetSelectionRange.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTableWidgetSelectionRange( ... ) - RETURN HB_QTableWidgetSelectionRange():new( ... ) - -FUNCTION QTableWidgetSelectionRangeFromPointer( ... ) - RETURN HB_QTableWidgetSelectionRange():fromPointer( ... ) - - -CREATE CLASS QTableWidgetSelectionRange INHERIT HbQtObjectHandler FUNCTION HB_QTableWidgetSelectionRange - - METHOD new( ... ) - - METHOD bottomRow // ( ) -> nInt - METHOD columnCount // ( ) -> nInt - METHOD leftColumn // ( ) -> nInt - METHOD rightColumn // ( ) -> nInt - METHOD rowCount // ( ) -> nInt - METHOD topRow // ( ) -> nInt - - ENDCLASS - - -METHOD QTableWidgetSelectionRange:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTableWidgetSelectionRange( ... ) - RETURN Self - - -METHOD QTableWidgetSelectionRange:bottomRow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetSelectionRange_bottomRow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetSelectionRange:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetSelectionRange_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetSelectionRange:leftColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetSelectionRange_leftColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetSelectionRange:rightColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetSelectionRange_rightColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetSelectionRange:rowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetSelectionRange_rowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTableWidgetSelectionRange:topRow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTableWidgetSelectionRange_topRow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg deleted file mode 100644 index 50dbce750b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBlock.prg +++ /dev/null @@ -1,317 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextBlock( ... ) - RETURN HB_QTextBlock():new( ... ) - -FUNCTION QTextBlockFromPointer( ... ) - RETURN HB_QTextBlock():fromPointer( ... ) - - -CREATE CLASS QTextBlock INHERIT HbQtObjectHandler FUNCTION HB_QTextBlock - - METHOD new( ... ) - - METHOD blockFormat // ( ) -> oQTextBlockFormat - METHOD blockFormatIndex // ( ) -> nInt - METHOD blockNumber // ( ) -> nInt - METHOD charFormat // ( ) -> oQTextCharFormat - METHOD charFormatIndex // ( ) -> nInt - METHOD clearLayout // ( ) -> NIL - METHOD contains // ( nPosition ) -> lBool - METHOD document // ( ) -> oQTextDocument - METHOD firstLineNumber // ( ) -> nInt - METHOD isValid // ( ) -> lBool - METHOD isVisible // ( ) -> lBool - METHOD layout // ( ) -> oQTextLayout - METHOD length // ( ) -> nInt - METHOD lineCount // ( ) -> nInt - METHOD next // ( ) -> oQTextBlock - METHOD position // ( ) -> nInt - METHOD previous // ( ) -> oQTextBlock - METHOD revision // ( ) -> nInt - METHOD setLineCount // ( nCount ) -> NIL - METHOD setRevision // ( nRev ) -> NIL - METHOD setUserData // ( oHBQTextBlockUserData ) -> NIL - METHOD setUserState // ( nState ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD text // ( ) -> cQString - METHOD textList // ( ) -> oQTextList - METHOD userData // ( ) -> oHBQTextBlockUserData - METHOD userState // ( ) -> nInt - - ENDCLASS - - -METHOD QTextBlock:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextBlock( ... ) - RETURN Self - - -METHOD QTextBlock:blockFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFormatFromPointer( Qt_QTextBlock_blockFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:blockFormatIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_blockFormatIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:blockNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_blockNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:charFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QTextBlock_charFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:charFormatIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_charFormatIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:clearLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_clearLayout( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:contains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlock_contains( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QTextBlock_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:firstLineNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_firstLineNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:isVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_isVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:layout( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextLayoutFromPointer( Qt_QTextBlock_layout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:lineCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_lineCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:next( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextBlock_next( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:previous( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextBlock_previous( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:revision( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_revision( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:setLineCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlock_setLineCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:setRevision( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlock_setRevision( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:setUserData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlock_setUserData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:setUserState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlock_setUserState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlock_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:textList( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextListFromPointer( Qt_QTextBlock_textList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:userData( ... ) - SWITCH PCount() - CASE 0 - RETURN HBQTextBlockUserDataFromPointer( Qt_QTextBlock_userData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlock:userState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlock_userState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg deleted file mode 100644 index 88aacb5c0d..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBlockFormat.prg +++ /dev/null @@ -1,257 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextBlockFormat( ... ) - RETURN HB_QTextBlockFormat():new( ... ) - -FUNCTION QTextBlockFormatFromPointer( ... ) - RETURN HB_QTextBlockFormat():fromPointer( ... ) - - -CREATE CLASS QTextBlockFormat INHERIT HbQtObjectHandler, HB_QTextFormat FUNCTION HB_QTextBlockFormat - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD bottomMargin // ( ) -> nQreal - METHOD indent // ( ) -> nInt - METHOD isValid // ( ) -> lBool - METHOD leftMargin // ( ) -> nQreal - METHOD nonBreakableLines // ( ) -> lBool - METHOD pageBreakPolicy // ( ) -> nPageBreakFlags - METHOD rightMargin // ( ) -> nQreal - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setBottomMargin // ( nMargin ) -> NIL - METHOD setIndent // ( nIndentation ) -> NIL - METHOD setLeftMargin // ( nMargin ) -> NIL - METHOD setNonBreakableLines // ( lB ) -> NIL - METHOD setPageBreakPolicy // ( nPolicy ) -> NIL - METHOD setRightMargin // ( nMargin ) -> NIL - METHOD setTextIndent // ( nIndent ) -> NIL - METHOD setTopMargin // ( nMargin ) -> NIL - METHOD textIndent // ( ) -> nQreal - METHOD topMargin // ( ) -> nQreal - - ENDCLASS - - -METHOD QTextBlockFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextBlockFormat( ... ) - RETURN Self - - -METHOD QTextBlockFormat:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:bottomMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_bottomMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:indent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_indent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:leftMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_leftMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:nonBreakableLines( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_nonBreakableLines( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:pageBreakPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_pageBreakPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:rightMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_rightMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setBottomMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setBottomMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setIndent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setIndent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setLeftMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setLeftMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setNonBreakableLines( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setNonBreakableLines( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setPageBreakPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setPageBreakPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setRightMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setRightMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setTextIndent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setTextIndent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:setTopMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBlockFormat_setTopMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:textIndent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_textIndent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBlockFormat:topMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBlockFormat_topMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg deleted file mode 100644 index 86c0ed1c41..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBlockGroup.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextBlockGroup( ... ) - RETURN HB_QTextBlockGroup():new( ... ) - -FUNCTION QTextBlockGroupFromPointer( ... ) - RETURN HB_QTextBlockGroup():fromPointer( ... ) - - -CREATE CLASS QTextBlockGroup INHERIT HbQtObjectHandler, HB_QTextObject FUNCTION HB_QTextBlockGroup - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QTextBlockGroup:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextBlockGroup( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg b/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg deleted file mode 100644 index c9f7e49f0c..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextBrowser.prg +++ /dev/null @@ -1,258 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextBrowser( ... ) - RETURN HB_QTextBrowser():new( ... ) - -FUNCTION QTextBrowserFromPointer( ... ) - RETURN HB_QTextBrowser():fromPointer( ... ) - - -CREATE CLASS QTextBrowser INHERIT HbQtObjectHandler, HB_QTextEdit FUNCTION HB_QTextBrowser - - METHOD new( ... ) - - METHOD backwardHistoryCount // ( ) -> nInt - METHOD clearHistory // ( ) -> NIL - METHOD forwardHistoryCount // ( ) -> nInt - METHOD historyTitle // ( nI ) -> cQString - METHOD historyUrl // ( nI ) -> oQUrl - METHOD isBackwardAvailable // ( ) -> lBool - METHOD isForwardAvailable // ( ) -> lBool - METHOD loadResource // ( nType, oQUrl ) -> oQVariant - METHOD openExternalLinks // ( ) -> lBool - METHOD openLinks // ( ) -> lBool - METHOD searchPaths // ( ) -> oQStringList - METHOD setOpenExternalLinks // ( lOpen ) -> NIL - METHOD setOpenLinks // ( lOpen ) -> NIL - METHOD setSearchPaths // ( oQStringList ) -> NIL - METHOD source // ( ) -> oQUrl - METHOD backward // ( ) -> NIL - METHOD forward // ( ) -> NIL - METHOD home // ( ) -> NIL - METHOD reload // ( ) -> NIL - METHOD setSource // ( oQUrl ) -> NIL - - ENDCLASS - - -METHOD QTextBrowser:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextBrowser( ... ) - RETURN Self - - -METHOD QTextBrowser:backwardHistoryCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_backwardHistoryCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:clearHistory( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_clearHistory( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:forwardHistoryCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_forwardHistoryCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:historyTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextBrowser_historyTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:historyUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QUrlFromPointer( Qt_QTextBrowser_historyUrl( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:isBackwardAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_isBackwardAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:isForwardAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_isForwardAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:loadResource( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QTextBrowser_loadResource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:openExternalLinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_openExternalLinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:openLinks( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_openLinks( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:searchPaths( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QTextBrowser_searchPaths( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:setOpenExternalLinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextBrowser_setOpenExternalLinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:setOpenLinks( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextBrowser_setOpenLinks( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:setSearchPaths( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextBrowser_setSearchPaths( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:source( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QTextBrowser_source( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:backward( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_backward( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:forward( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_forward( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:home( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_home( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:reload( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextBrowser_reload( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextBrowser:setSource( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextBrowser_setSource( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg deleted file mode 100644 index db67e8a052..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextCharFormat.prg +++ /dev/null @@ -1,571 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextCharFormat( ... ) - RETURN HB_QTextCharFormat():new( ... ) - -FUNCTION QTextCharFormatFromPointer( ... ) - RETURN HB_QTextCharFormat():fromPointer( ... ) - - -CREATE CLASS QTextCharFormat INHERIT HbQtObjectHandler, HB_QTextFormat FUNCTION HB_QTextCharFormat - - METHOD new( ... ) - - METHOD anchorHref // ( ) -> cQString - METHOD anchorNames // ( ) -> oQStringList - METHOD font // ( ) -> oQFont - METHOD fontCapitalization // ( ) -> nQFont_Capitalization - METHOD fontFamily // ( ) -> cQString - METHOD fontFixedPitch // ( ) -> lBool - METHOD fontItalic // ( ) -> lBool - METHOD fontKerning // ( ) -> lBool - METHOD fontLetterSpacing // ( ) -> nQreal - METHOD fontOverline // ( ) -> lBool - METHOD fontPointSize // ( ) -> nQreal - METHOD fontStrikeOut // ( ) -> lBool - METHOD fontStyleHint // ( ) -> nQFont_StyleHint - METHOD fontStyleStrategy // ( ) -> nQFont_StyleStrategy - METHOD fontUnderline // ( ) -> lBool - METHOD fontWeight // ( ) -> nInt - METHOD fontWordSpacing // ( ) -> nQreal - METHOD isAnchor // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD setAnchor // ( lAnchor ) -> NIL - METHOD setAnchorHref // ( cValue ) -> NIL - METHOD setAnchorNames // ( oQStringList ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setFontCapitalization // ( nCapitalization ) -> NIL - METHOD setFontFamily // ( cFamily ) -> NIL - METHOD setFontFixedPitch // ( lFixedPitch ) -> NIL - METHOD setFontItalic // ( lItalic ) -> NIL - METHOD setFontKerning // ( lEnable ) -> NIL - METHOD setFontLetterSpacing // ( nSpacing ) -> NIL - METHOD setFontOverline // ( lOverline ) -> NIL - METHOD setFontPointSize // ( nSize ) -> NIL - METHOD setFontStrikeOut // ( lStrikeOut ) -> NIL - METHOD setFontStyleHint // ( nHint, nStrategy ) -> NIL - METHOD setFontStyleStrategy // ( nStrategy ) -> NIL - METHOD setFontUnderline // ( lUnderline ) -> NIL - METHOD setFontWeight // ( nWeight ) -> NIL - METHOD setFontWordSpacing // ( nSpacing ) -> NIL - METHOD setTextOutline // ( oQPen ) -> NIL - METHOD setToolTip // ( cText ) -> NIL - METHOD setUnderlineColor // ( oQColor ) -> NIL - METHOD setUnderlineStyle // ( nStyle ) -> NIL - METHOD setVerticalAlignment // ( nAlignment ) -> NIL - METHOD textOutline // ( ) -> oQPen - METHOD toolTip // ( ) -> cQString - METHOD underlineColor // ( ) -> oQColor - METHOD underlineStyle // ( ) -> nUnderlineStyle - METHOD verticalAlignment // ( ) -> nVerticalAlignment - - ENDCLASS - - -METHOD QTextCharFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextCharFormat( ... ) - RETURN Self - - -METHOD QTextCharFormat:anchorHref( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_anchorHref( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:anchorNames( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QTextCharFormat_anchorNames( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QTextCharFormat_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontCapitalization( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontCapitalization( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontFamily( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontFamily( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontFixedPitch( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontFixedPitch( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontItalic( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontItalic( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontKerning( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontKerning( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontLetterSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontLetterSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontOverline( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontOverline( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontPointSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontPointSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontStrikeOut( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontStrikeOut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontStyleHint( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontStyleHint( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontStyleStrategy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontStyleStrategy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontUnderline( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontUnderline( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontWeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontWeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:fontWordSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_fontWordSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:isAnchor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_isAnchor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setAnchor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setAnchor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setAnchorHref( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setAnchorHref( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setAnchorNames( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setAnchorNames( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontCapitalization( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontCapitalization( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontFamily( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontFamily( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontFixedPitch( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontFixedPitch( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontItalic( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontItalic( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontKerning( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontKerning( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontLetterSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontLetterSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontOverline( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontOverline( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontPointSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontPointSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontStrikeOut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontStrikeOut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontStyleHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextCharFormat_setFontStyleHint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontStyleHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontStyleStrategy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontStyleStrategy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontUnderline( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontUnderline( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontWeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontWeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setFontWordSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setFontWordSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setTextOutline( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setTextOutline( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setUnderlineColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setUnderlineColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setUnderlineStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setUnderlineStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:setVerticalAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCharFormat_setVerticalAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:textOutline( ... ) - SWITCH PCount() - CASE 0 - RETURN QPenFromPointer( Qt_QTextCharFormat_textOutline( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:underlineColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QTextCharFormat_underlineColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:underlineStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_underlineStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCharFormat:verticalAlignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCharFormat_verticalAlignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg b/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg deleted file mode 100644 index 7c6f552c43..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextCursor.prg +++ /dev/null @@ -1,639 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextCursor( ... ) - RETURN HB_QTextCursor():new( ... ) - -FUNCTION QTextCursorFromPointer( ... ) - RETURN HB_QTextCursor():fromPointer( ... ) - - -CREATE CLASS QTextCursor INHERIT HbQtObjectHandler FUNCTION HB_QTextCursor - - METHOD new( ... ) - - METHOD anchor // ( ) -> nInt - METHOD atBlockEnd // ( ) -> lBool - METHOD atBlockStart // ( ) -> lBool - METHOD atEnd // ( ) -> lBool - METHOD atStart // ( ) -> lBool - METHOD beginEditBlock // ( ) -> NIL - METHOD block // ( ) -> oQTextBlock - METHOD blockCharFormat // ( ) -> oQTextCharFormat - METHOD blockFormat // ( ) -> oQTextBlockFormat - METHOD blockNumber // ( ) -> nInt - METHOD charFormat // ( ) -> oQTextCharFormat - METHOD clearSelection // ( ) -> NIL - METHOD columnNumber // ( ) -> nInt - METHOD createList // ( oQTextListFormat ) -> oQTextList - // ( nStyle ) -> oQTextList - METHOD currentFrame // ( ) -> oQTextFrame - METHOD currentList // ( ) -> oQTextList - METHOD deleteChar // ( ) -> NIL - METHOD deletePreviousChar // ( ) -> NIL - METHOD document // ( ) -> oQTextDocument - METHOD endEditBlock // ( ) -> NIL - METHOD hasComplexSelection // ( ) -> lBool - METHOD hasSelection // ( ) -> lBool - METHOD insertBlock // ( ) -> NIL - // ( oQTextBlockFormat ) -> NIL - // ( oQTextBlockFormat, oQTextCharFormat ) -> NIL - METHOD insertFragment // ( oQTextDocumentFragment ) -> NIL - METHOD insertFrame // ( oQTextFrameFormat ) -> oQTextFrame - METHOD insertHtml // ( cHtml ) -> NIL - METHOD insertImage // ( cName ) -> NIL - // ( oQTextImageFormat ) -> NIL - // ( oQTextImageFormat, nAlignment ) -> NIL - // ( oQImage, cName ) -> NIL - METHOD insertList // ( oQTextListFormat ) -> oQTextList - // ( nStyle ) -> oQTextList - METHOD insertText // ( cText ) -> NIL - // ( cText, oQTextCharFormat ) -> NIL - METHOD isCopyOf // ( oQTextCursor ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD joinPreviousEditBlock // ( ) -> NIL - METHOD mergeBlockCharFormat // ( oQTextCharFormat ) -> NIL - METHOD mergeBlockFormat // ( oQTextBlockFormat ) -> NIL - METHOD mergeCharFormat // ( oQTextCharFormat ) -> NIL - METHOD movePosition // ( nOperation, nMode, nN ) -> lBool - METHOD position // ( ) -> nInt - METHOD removeSelectedText // ( ) -> NIL - METHOD select // ( nSelection ) -> NIL - METHOD selectedTableCells // ( @nFirstRow, @nNumRows, @nFirstColumn, @nNumColumns ) -> NIL - METHOD selectedText // ( ) -> cQString - METHOD selection // ( ) -> oQTextDocumentFragment - METHOD selectionEnd // ( ) -> nInt - METHOD selectionStart // ( ) -> nInt - METHOD setBlockCharFormat // ( oQTextCharFormat ) -> NIL - METHOD setBlockFormat // ( oQTextBlockFormat ) -> NIL - METHOD setCharFormat // ( oQTextCharFormat ) -> NIL - METHOD setPosition // ( nPos, nM ) -> NIL - METHOD setVisualNavigation // ( lB ) -> NIL - METHOD visualNavigation // ( ) -> lBool - - ENDCLASS - - -METHOD QTextCursor:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextCursor( ... ) - RETURN Self - - -METHOD QTextCursor:anchor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_anchor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:atBlockEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_atBlockEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:atBlockStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_atBlockStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:atEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_atEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:atStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_atStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:beginEditBlock( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_beginEditBlock( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:block( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextCursor_block( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:blockCharFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QTextCursor_blockCharFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:blockFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFormatFromPointer( Qt_QTextCursor_blockFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:blockNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_blockNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:charFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QTextCursor_charFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:clearSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_clearSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:columnNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_columnNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:createList( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextListFromPointer( Qt_QTextCursor_createList_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextListFromPointer( Qt_QTextCursor_createList( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:currentFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFrameFromPointer( Qt_QTextCursor_currentFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:currentList( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextListFromPointer( Qt_QTextCursor_currentList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:deleteChar( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_deleteChar( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:deletePreviousChar( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_deletePreviousChar( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QTextCursor_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:endEditBlock( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_endEditBlock( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:hasComplexSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_hasComplexSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:hasSelection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_hasSelection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertBlock( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTextCursor_insertBlock_2( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_insertBlock_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextCursor_insertBlock( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertFragment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_insertFragment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertFrame( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextFrameFromPointer( Qt_QTextCursor_insertFrame( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_insertHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertImage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTextCursor_insertImage_3( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextCursor_insertImage_2( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_insertImage( ::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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertList( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextListFromPointer( Qt_QTextCursor_insertList_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextListFromPointer( Qt_QTextCursor_insertList( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:insertText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTextCursor_insertText_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_insertText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:isCopyOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_isCopyOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:joinPreviousEditBlock( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_joinPreviousEditBlock( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:mergeBlockCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_mergeBlockCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:mergeBlockFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_mergeBlockFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:mergeCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_mergeCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:movePosition( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QTextCursor_movePosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextCursor_movePosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_movePosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:removeSelectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_removeSelectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:select( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_select( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:selectedTableCells( ... ) - 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_QTextCursor_selectedTableCells( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:selectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_selectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:selection( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFragmentFromPointer( Qt_QTextCursor_selection( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:selectionEnd( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_selectionEnd( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:selectionStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_selectionStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:setBlockCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_setBlockCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:setBlockFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_setBlockFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:setCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_setCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:setPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextCursor_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:setVisualNavigation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextCursor_setVisualNavigation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextCursor:visualNavigation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextCursor_visualNavigation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg b/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg deleted file mode 100644 index c2f254f1e6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextDocument.prg +++ /dev/null @@ -1,783 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextDocument( ... ) - RETURN HB_QTextDocument():new( ... ) - -FUNCTION QTextDocumentFromPointer( ... ) - RETURN HB_QTextDocument():fromPointer( ... ) - - -CREATE CLASS QTextDocument INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QTextDocument - - METHOD new( ... ) - - METHOD addResource // ( nType, oQUrl, oQVariant ) -> NIL - METHOD adjustSize // ( ) -> NIL - METHOD begin // ( ) -> oQTextBlock - METHOD blockCount // ( ) -> nInt - METHOD characterAt // ( nPos ) -> oQChar - METHOD characterCount // ( ) -> nInt - METHOD clear // ( ) -> NIL - METHOD clone // ( oQObject ) -> oQTextDocument - METHOD defaultFont // ( ) -> oQFont - METHOD defaultStyleSheet // ( ) -> cQString - METHOD defaultTextOption // ( ) -> oQTextOption - METHOD documentLayout // ( ) -> oQAbstractTextDocumentLayout - METHOD documentMargin // ( ) -> nQreal - METHOD drawContents // ( oQPainter, oQRectF ) -> NIL - METHOD end // ( ) -> oQTextBlock - METHOD find // ( cSubString, oQTextCursor, nOptions ) -> oQTextCursor - // ( oQRegExp, oQTextCursor, nOptions ) -> oQTextCursor - // ( cSubString, nPosition, nOptions ) -> oQTextCursor - // ( oQRegExp, nPosition, nOptions ) -> oQTextCursor - METHOD findBlock // ( nPos ) -> oQTextBlock - METHOD findBlockByLineNumber // ( nLineNumber ) -> oQTextBlock - METHOD findBlockByNumber // ( nBlockNumber ) -> oQTextBlock - METHOD firstBlock // ( ) -> oQTextBlock - METHOD idealWidth // ( ) -> nQreal - METHOD indentWidth // ( ) -> nQreal - METHOD isEmpty // ( ) -> lBool - METHOD isModified // ( ) -> lBool - METHOD isRedoAvailable // ( ) -> lBool - METHOD isUndoAvailable // ( ) -> lBool - METHOD isUndoRedoEnabled // ( ) -> lBool - METHOD lastBlock // ( ) -> oQTextBlock - METHOD lineCount // ( ) -> nInt - METHOD markContentsDirty // ( nPosition, nLength ) -> NIL - METHOD maximumBlockCount // ( ) -> nInt - METHOD metaInformation // ( nInfo ) -> cQString - METHOD object // ( nObjectIndex ) -> oQTextObject - METHOD objectForFormat // ( oQTextFormat ) -> oQTextObject - METHOD pageCount // ( ) -> nInt - METHOD pageSize // ( ) -> oQSizeF - METHOD print // ( oQPrinter ) -> NIL - METHOD redo // ( oQTextCursor ) -> NIL - METHOD resource // ( nType, oQUrl ) -> oQVariant - METHOD revision // ( ) -> nInt - METHOD rootFrame // ( ) -> oQTextFrame - METHOD setDefaultFont // ( oQFont ) -> NIL - METHOD setDefaultStyleSheet // ( cSheet ) -> NIL - METHOD setDefaultTextOption // ( oQTextOption ) -> NIL - METHOD setDocumentLayout // ( oQAbstractTextDocumentLayout ) -> NIL - METHOD setDocumentMargin // ( nMargin ) -> NIL - METHOD setHtml // ( cHtml ) -> NIL - METHOD setIndentWidth // ( nWidth ) -> NIL - METHOD setMaximumBlockCount // ( nMaximum ) -> NIL - METHOD setMetaInformation // ( nInfo, cString ) -> NIL - METHOD setPageSize // ( oQSizeF ) -> NIL - METHOD setPlainText // ( cText ) -> NIL - METHOD setTextWidth // ( nWidth ) -> NIL - METHOD setUndoRedoEnabled // ( lEnable ) -> NIL - METHOD setUseDesignMetrics // ( lB ) -> NIL - METHOD size // ( ) -> oQSizeF - METHOD textWidth // ( ) -> nQreal - METHOD toHtml // ( oQByteArray ) -> cQString - METHOD toPlainText // ( ) -> cQString - METHOD undo // ( oQTextCursor ) -> NIL - METHOD useDesignMetrics // ( ) -> lBool - // ( ) -> NIL - METHOD setModified // ( lM ) -> NIL - // ( ) -> NIL - - ENDCLASS - - -METHOD QTextDocument:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextDocument( ... ) - RETURN Self - - -METHOD QTextDocument:addResource( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QTextDocument_addResource( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:adjustSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_adjustSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:begin( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextDocument_begin( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:blockCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_blockCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:characterAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QCharFromPointer( Qt_QTextDocument_characterAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:characterCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_characterCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:clone( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextDocumentFromPointer( Qt_QTextDocument_clone( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QTextDocument_clone( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:defaultFont( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QTextDocument_defaultFont( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:defaultStyleSheet( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_defaultStyleSheet( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:defaultTextOption( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextOptionFromPointer( Qt_QTextDocument_defaultTextOption( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:documentLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN QAbstractTextDocumentLayoutFromPointer( Qt_QTextDocument_documentLayout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:documentMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_documentMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:drawContents( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTextDocument_drawContents( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_drawContents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:end( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextDocument_end( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:find( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_2( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_3( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_2( ::pPtr, ... ) ) - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_3( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_2( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextCursorFromPointer( Qt_QTextDocument_find_3( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:findBlock( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextBlockFromPointer( Qt_QTextDocument_findBlock( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:findBlockByLineNumber( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextBlockFromPointer( Qt_QTextDocument_findBlockByLineNumber( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:findBlockByNumber( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextBlockFromPointer( Qt_QTextDocument_findBlockByNumber( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:firstBlock( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextDocument_firstBlock( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:idealWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_idealWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:indentWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_indentWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:isModified( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_isModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:isRedoAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_isRedoAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:isUndoAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_isUndoAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:isUndoRedoEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_isUndoRedoEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:lastBlock( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFromPointer( Qt_QTextDocument_lastBlock( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:lineCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_lineCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:markContentsDirty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextDocument_markContentsDirty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:maximumBlockCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_maximumBlockCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:metaInformation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_metaInformation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:object( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextObjectFromPointer( Qt_QTextDocument_object( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:objectForFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextObjectFromPointer( Qt_QTextDocument_objectForFormat( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:pageCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_pageCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:pageSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QTextDocument_pageSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:print( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_print( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:redo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_redo( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextDocument_redo_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:resource( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QTextDocument_resource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:revision( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_revision( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:rootFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFrameFromPointer( Qt_QTextDocument_rootFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setDefaultFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setDefaultFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setDefaultStyleSheet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setDefaultStyleSheet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setDefaultTextOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setDefaultTextOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setDocumentLayout( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setDocumentLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setDocumentMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setDocumentMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setIndentWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setIndentWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setMaximumBlockCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setMaximumBlockCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setMetaInformation( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTextDocument_setMetaInformation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setPageSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setPageSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setTextWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setTextWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setUndoRedoEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setUndoRedoEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setUseDesignMetrics( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setUseDesignMetrics( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFFromPointer( Qt_QTextDocument_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:textWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_textWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:toHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_toHtml( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextDocument_toHtml( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:toPlainText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_toPlainText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:undo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_undo( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextDocument_undo_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:useDesignMetrics( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocument_useDesignMetrics( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocument:setModified( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocument_setModified( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextDocument_setModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg b/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg deleted file mode 100644 index de46294bee..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentFragment.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextDocumentFragment( ... ) - RETURN HB_QTextDocumentFragment():new( ... ) - -FUNCTION QTextDocumentFragmentFromPointer( ... ) - RETURN HB_QTextDocumentFragment():fromPointer( ... ) - - -CREATE CLASS QTextDocumentFragment INHERIT HbQtObjectHandler FUNCTION HB_QTextDocumentFragment - - METHOD new( ... ) - - METHOD isEmpty // ( ) -> lBool - METHOD toHtml // ( oQByteArray ) -> cQString - // ( ) -> cQString - METHOD toPlainText // ( ) -> cQString - METHOD fromHtml // ( cText ) -> oQTextDocumentFragment - // ( cText, oQTextDocument ) -> oQTextDocumentFragment - METHOD fromPlainText // ( cPlainText ) -> oQTextDocumentFragment - - ENDCLASS - - -METHOD QTextDocumentFragment:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextDocumentFragment( ... ) - RETURN Self - - -METHOD QTextDocumentFragment:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocumentFragment_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentFragment:toHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocumentFragment_toHtml( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextDocumentFragment_toHtml_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentFragment:toPlainText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocumentFragment_toPlainText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentFragment:fromHtml( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QTextDocumentFragmentFromPointer( Qt_QTextDocumentFragment_fromHtml_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QTextDocumentFragmentFromPointer( Qt_QTextDocumentFragment_fromHtml( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentFragment:fromPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QTextDocumentFragmentFromPointer( Qt_QTextDocumentFragment_fromPlainText( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg b/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg deleted file mode 100644 index 8c8119c7f2..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextDocumentWriter.prg +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextDocumentWriter( ... ) - RETURN HB_QTextDocumentWriter():new( ... ) - -FUNCTION QTextDocumentWriterFromPointer( ... ) - RETURN HB_QTextDocumentWriter():fromPointer( ... ) - - -CREATE CLASS QTextDocumentWriter INHERIT HbQtObjectHandler FUNCTION HB_QTextDocumentWriter - - METHOD new( ... ) - - METHOD codec // ( ) -> oQTextCodec - METHOD device // ( ) -> oQIODevice - METHOD fileName // ( ) -> cQString - METHOD format // ( ) -> oQByteArray - METHOD setCodec // ( oQTextCodec ) -> NIL - METHOD setDevice // ( oQIODevice ) -> NIL - METHOD setFileName // ( cFileName ) -> NIL - METHOD setFormat // ( oQByteArray ) -> NIL - METHOD write // ( oQTextDocument ) -> lBool - // ( oQTextDocumentFragment ) -> lBool - - ENDCLASS - - -METHOD QTextDocumentWriter:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextDocumentWriter( ... ) - RETURN Self - - -METHOD QTextDocumentWriter:codec( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCodecFromPointer( Qt_QTextDocumentWriter_codec( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:device( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QTextDocumentWriter_device( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:fileName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextDocumentWriter_fileName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QTextDocumentWriter_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:setCodec( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocumentWriter_setCodec( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:setDevice( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocumentWriter_setDevice( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:setFileName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocumentWriter_setFileName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:setFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextDocumentWriter_setFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextDocumentWriter:write( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg deleted file mode 100644 index a9ff6c818e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextEdit.prg +++ /dev/null @@ -1,955 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextEdit( ... ) - RETURN HB_QTextEdit():new( ... ) - -FUNCTION QTextEditFromPointer( ... ) - RETURN HB_QTextEdit():fromPointer( ... ) - - -CREATE CLASS QTextEdit INHERIT HbQtObjectHandler, HB_QAbstractScrollArea FUNCTION HB_QTextEdit - - METHOD new( ... ) - - METHOD acceptRichText // ( ) -> lBool - METHOD alignment // ( ) -> nQt_Alignment - METHOD anchorAt // ( oQPoint ) -> cQString - METHOD autoFormatting // ( ) -> nAutoFormatting - METHOD canPaste // ( ) -> lBool - METHOD createStandardContextMenu // ( ) -> oQMenu - // ( oQPoint ) -> oQMenu - METHOD currentCharFormat // ( ) -> oQTextCharFormat - METHOD currentFont // ( ) -> oQFont - METHOD cursorForPosition // ( oQPoint ) -> oQTextCursor - METHOD cursorRect // ( oQTextCursor ) -> oQRect - // ( ) -> oQRect - METHOD cursorWidth // ( ) -> nInt - METHOD document // ( ) -> oQTextDocument - METHOD documentTitle // ( ) -> cQString - METHOD ensureCursorVisible // ( ) -> NIL - METHOD find // ( cExp, nOptions ) -> lBool - METHOD fontFamily // ( ) -> cQString - METHOD fontItalic // ( ) -> lBool - METHOD fontPointSize // ( ) -> nQreal - METHOD fontUnderline // ( ) -> lBool - METHOD fontWeight // ( ) -> nInt - METHOD isReadOnly // ( ) -> lBool - METHOD isUndoRedoEnabled // ( ) -> lBool - METHOD lineWrapColumnOrWidth // ( ) -> nInt - METHOD lineWrapMode // ( ) -> nLineWrapMode - METHOD loadResource // ( nType, oQUrl ) -> oQVariant - METHOD mergeCurrentCharFormat // ( oQTextCharFormat ) -> NIL - METHOD moveCursor // ( nOperation, nMode ) -> NIL - METHOD overwriteMode // ( ) -> lBool - METHOD print // ( oQPrinter ) -> NIL - METHOD setAcceptRichText // ( lAccept ) -> NIL - METHOD setAutoFormatting // ( nFeatures ) -> NIL - METHOD setCurrentCharFormat // ( oQTextCharFormat ) -> NIL - METHOD setCursorWidth // ( nWidth ) -> NIL - METHOD setDocument // ( oQTextDocument ) -> NIL - METHOD setDocumentTitle // ( cTitle ) -> NIL - METHOD setLineWrapColumnOrWidth // ( nW ) -> NIL - METHOD setLineWrapMode // ( nMode ) -> NIL - METHOD setOverwriteMode // ( lOverwrite ) -> NIL - METHOD setReadOnly // ( lRo ) -> NIL - METHOD setTabChangesFocus // ( lB ) -> NIL - METHOD setTabStopWidth // ( nWidth ) -> NIL - METHOD setTextCursor // ( oQTextCursor ) -> NIL - METHOD setTextInteractionFlags // ( nFlags ) -> NIL - METHOD setUndoRedoEnabled // ( lEnable ) -> NIL - METHOD setWordWrapMode // ( nPolicy ) -> NIL - METHOD tabChangesFocus // ( ) -> lBool - METHOD tabStopWidth // ( ) -> nInt - METHOD textBackgroundColor // ( ) -> oQColor - METHOD textColor // ( ) -> oQColor - METHOD textCursor // ( ) -> oQTextCursor - METHOD textInteractionFlags // ( ) -> nQt_TextInteractionFlags - METHOD toHtml // ( ) -> cQString - METHOD toPlainText // ( ) -> cQString - METHOD wordWrapMode // ( ) -> nQTextOption_WrapMode - METHOD append // ( cText ) -> NIL - METHOD clear // ( ) -> NIL - METHOD copy // ( ) -> NIL - METHOD cut // ( ) -> NIL - METHOD insertHtml // ( cText ) -> NIL - METHOD insertPlainText // ( cText ) -> NIL - METHOD paste // ( ) -> NIL - METHOD redo // ( ) -> NIL - METHOD scrollToAnchor // ( cName ) -> NIL - METHOD selectAll // ( ) -> NIL - METHOD setAlignment // ( nA ) -> NIL - METHOD setCurrentFont // ( oQFont ) -> NIL - METHOD setFontFamily // ( cFontFamily ) -> NIL - METHOD setFontItalic // ( lItalic ) -> NIL - METHOD setFontPointSize // ( nS ) -> NIL - METHOD setFontUnderline // ( lUnderline ) -> NIL - METHOD setFontWeight // ( nWeight ) -> NIL - METHOD setHtml // ( cText ) -> NIL - METHOD setPlainText // ( cText ) -> NIL - METHOD setText // ( cText ) -> NIL - METHOD setTextBackgroundColor // ( oQColor ) -> NIL - METHOD setTextColor // ( oQColor ) -> NIL - METHOD undo // ( ) -> NIL - METHOD zoomIn // ( nRange ) -> NIL - METHOD zoomOut // ( nRange ) -> NIL - - ENDCLASS - - -METHOD QTextEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextEdit( ... ) - RETURN Self - - -METHOD QTextEdit:acceptRichText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_acceptRichText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:anchorAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_anchorAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:autoFormatting( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_autoFormatting( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:canPaste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_canPaste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:createStandardContextMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QMenuFromPointer( Qt_QTextEdit_createStandardContextMenu_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QMenuFromPointer( Qt_QTextEdit_createStandardContextMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:currentCharFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QTextEdit_currentCharFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:currentFont( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QTextEdit_currentFont( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:cursorForPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTextCursorFromPointer( Qt_QTextEdit_cursorForPosition( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:cursorRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QTextEdit_cursorRect( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QRectFromPointer( Qt_QTextEdit_cursorRect_1( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:cursorWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_cursorWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QTextEdit_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:documentTitle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_documentTitle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:ensureCursorVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_ensureCursorVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:find( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextEdit_find( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_find( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:fontFamily( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_fontFamily( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:fontItalic( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_fontItalic( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:fontPointSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_fontPointSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:fontUnderline( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_fontUnderline( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:fontWeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_fontWeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:isReadOnly( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_isReadOnly( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:isUndoRedoEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_isUndoRedoEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:lineWrapColumnOrWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_lineWrapColumnOrWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:lineWrapMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_lineWrapMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:loadResource( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QTextEdit_loadResource( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:mergeCurrentCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_mergeCurrentCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:moveCursor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextEdit_moveCursor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_moveCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:overwriteMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_overwriteMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:print( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_print( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setAcceptRichText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setAcceptRichText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setAutoFormatting( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setAutoFormatting( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setCurrentCharFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setCurrentCharFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setCursorWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setCursorWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setDocument( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setDocument( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setDocumentTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setDocumentTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setLineWrapColumnOrWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setLineWrapColumnOrWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setLineWrapMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setLineWrapMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setOverwriteMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setOverwriteMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setReadOnly( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setReadOnly( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setTabChangesFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setTabChangesFocus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setTabStopWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setTabStopWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setTextCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setTextCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setTextInteractionFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setTextInteractionFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setUndoRedoEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setUndoRedoEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setWordWrapMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setWordWrapMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:tabChangesFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_tabChangesFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:tabStopWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_tabStopWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:textBackgroundColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QTextEdit_textBackgroundColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:textColor( ... ) - SWITCH PCount() - CASE 0 - RETURN QColorFromPointer( Qt_QTextEdit_textColor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:textCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCursorFromPointer( Qt_QTextEdit_textCursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:textInteractionFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_textInteractionFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:toHtml( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_toHtml( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:toPlainText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_toPlainText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:wordWrapMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_wordWrapMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:append( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_append( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:copy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_copy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:cut( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_cut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:insertHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_insertHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:insertPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_insertPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:paste( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_paste( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:redo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_redo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:scrollToAnchor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_scrollToAnchor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:selectAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_selectAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setCurrentFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setCurrentFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setFontFamily( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setFontFamily( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setFontItalic( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setFontItalic( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setFontPointSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setFontPointSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setFontUnderline( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setFontUnderline( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setFontWeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setFontWeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setHtml( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setPlainText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setPlainText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setTextBackgroundColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setTextBackgroundColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:setTextColor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_setTextColor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:undo( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextEdit_undo( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:zoomIn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_zoomIn( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextEdit_zoomIn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextEdit:zoomOut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextEdit_zoomOut( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QTextEdit_zoomOut( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg deleted file mode 100644 index 999c4691df..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFormat.prg +++ /dev/null @@ -1,491 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextFormat( ... ) - RETURN HB_QTextFormat():new( ... ) - -FUNCTION QTextFormatFromPointer( ... ) - RETURN HB_QTextFormat():fromPointer( ... ) - - -CREATE CLASS QTextFormat INHERIT HbQtObjectHandler FUNCTION HB_QTextFormat - - METHOD new( ... ) - - METHOD background // ( ) -> oQBrush - METHOD boolProperty // ( nPropertyId ) -> lBool - METHOD brushProperty // ( nPropertyId ) -> oQBrush - METHOD clearBackground // ( ) -> NIL - METHOD clearForeground // ( ) -> NIL - METHOD clearProperty // ( nPropertyId ) -> NIL - METHOD colorProperty // ( nPropertyId ) -> oQColor - METHOD doubleProperty // ( nPropertyId ) -> nQreal - METHOD foreground // ( ) -> oQBrush - METHOD hasProperty // ( nPropertyId ) -> lBool - METHOD intProperty // ( nPropertyId ) -> nInt - METHOD isBlockFormat // ( ) -> lBool - METHOD isCharFormat // ( ) -> lBool - METHOD isFrameFormat // ( ) -> lBool - METHOD isImageFormat // ( ) -> lBool - METHOD isListFormat // ( ) -> lBool - METHOD isTableCellFormat // ( ) -> lBool - METHOD isTableFormat // ( ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD layoutDirection // ( ) -> nQt_LayoutDirection - METHOD lengthProperty // ( nPropertyId ) -> oQTextLength - METHOD merge // ( oQTextFormat ) -> NIL - METHOD objectIndex // ( ) -> nInt - METHOD objectType // ( ) -> nInt - METHOD penProperty // ( nPropertyId ) -> oQPen - METHOD property // ( nPropertyId ) -> oQVariant - METHOD propertyCount // ( ) -> nInt - METHOD setBackground // ( oQBrush ) -> NIL - METHOD setForeground // ( oQBrush ) -> NIL - METHOD setLayoutDirection // ( nDirection ) -> NIL - METHOD setObjectIndex // ( nIndex ) -> NIL - METHOD setObjectType // ( nType ) -> NIL - METHOD setProperty // ( nPropertyId, oQVariant ) -> NIL - METHOD stringProperty // ( nPropertyId ) -> cQString - METHOD toBlockFormat // ( ) -> oQTextBlockFormat - METHOD toCharFormat // ( ) -> oQTextCharFormat - METHOD toFrameFormat // ( ) -> oQTextFrameFormat - METHOD toImageFormat // ( ) -> oQTextImageFormat - METHOD toListFormat // ( ) -> oQTextListFormat - METHOD toTableFormat // ( ) -> oQTextTableFormat - METHOD type // ( ) -> nInt - - ENDCLASS - - -METHOD QTextFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextFormat( ... ) - RETURN Self - - -METHOD QTextFormat:background( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QTextFormat_background( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:boolProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_boolProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:brushProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QBrushFromPointer( Qt_QTextFormat_brushProperty( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:clearBackground( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_clearBackground( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:clearForeground( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_clearForeground( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:clearProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_clearProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:colorProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QColorFromPointer( Qt_QTextFormat_colorProperty( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:doubleProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_doubleProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:foreground( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QTextFormat_foreground( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:hasProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_hasProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:intProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_intProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isBlockFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isBlockFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isCharFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isCharFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isFrameFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isFrameFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isImageFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isImageFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isListFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isListFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isTableCellFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isTableCellFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isTableFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isTableFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:layoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_layoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:lengthProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextLengthFromPointer( Qt_QTextFormat_lengthProperty( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:merge( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_merge( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:objectIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_objectIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:objectType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_objectType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:penProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPenFromPointer( Qt_QTextFormat_penProperty( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:property( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QTextFormat_property( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:propertyCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_propertyCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:setBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:setForeground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_setForeground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:setLayoutDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_setLayoutDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:setObjectIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_setObjectIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:setObjectType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_setObjectType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:setProperty( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTextFormat_setProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:stringProperty( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFormat_stringProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:toBlockFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextBlockFormatFromPointer( Qt_QTextFormat_toBlockFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:toCharFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QTextFormat_toCharFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:toFrameFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFrameFormatFromPointer( Qt_QTextFormat_toFrameFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:toImageFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextImageFormatFromPointer( Qt_QTextFormat_toImageFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:toListFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextListFormatFromPointer( Qt_QTextFormat_toListFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:toTableFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextTableFormatFromPointer( Qt_QTextFormat_toTableFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFormat:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFormat_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg deleted file mode 100644 index 29e5aca6af..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFragment.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextFragment( ... ) - RETURN HB_QTextFragment():new( ... ) - -FUNCTION QTextFragmentFromPointer( ... ) - RETURN HB_QTextFragment():fromPointer( ... ) - - -CREATE CLASS QTextFragment INHERIT HbQtObjectHandler FUNCTION HB_QTextFragment - - METHOD new( ... ) - - METHOD charFormat // ( ) -> oQTextCharFormat - METHOD charFormatIndex // ( ) -> nInt - METHOD contains // ( nPosition ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD length // ( ) -> nInt - METHOD position // ( ) -> nInt - METHOD text // ( ) -> cQString - - ENDCLASS - - -METHOD QTextFragment:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextFragment( ... ) - RETURN Self - - -METHOD QTextFragment:charFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCharFormatFromPointer( Qt_QTextFragment_charFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFragment:charFormatIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFragment_charFormatIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFragment:contains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFragment_contains( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFragment:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFragment_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFragment:length( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFragment_length( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFragment:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFragment_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFragment:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFragment_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg deleted file mode 100644 index 1f1e051f6b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFrame.prg +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextFrame( ... ) - RETURN HB_QTextFrame():new( ... ) - -FUNCTION QTextFrameFromPointer( ... ) - RETURN HB_QTextFrame():fromPointer( ... ) - - -CREATE CLASS QTextFrame INHERIT HbQtObjectHandler, HB_QTextObject FUNCTION HB_QTextFrame - - METHOD new( ... ) - - METHOD childFrames // ( ) -> oQList_QTextFrame - METHOD firstCursorPosition // ( ) -> oQTextCursor - METHOD firstPosition // ( ) -> nInt - METHOD frameFormat // ( ) -> oQTextFrameFormat - METHOD lastCursorPosition // ( ) -> oQTextCursor - METHOD lastPosition // ( ) -> nInt - METHOD parentFrame // ( ) -> oQTextFrame - METHOD setFrameFormat // ( oQTextFrameFormat ) -> NIL - - ENDCLASS - - -METHOD QTextFrame:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextFrame( ... ) - RETURN Self - - -METHOD QTextFrame:childFrames( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTextFrame_childFrames( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:firstCursorPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCursorFromPointer( Qt_QTextFrame_firstCursorPosition( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:firstPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrame_firstPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:frameFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFrameFormatFromPointer( Qt_QTextFrame_frameFormat( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:lastCursorPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextCursorFromPointer( Qt_QTextFrame_lastCursorPosition( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:lastPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrame_lastPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:parentFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFrameFromPointer( Qt_QTextFrame_parentFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrame:setFrameFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrame_setFrameFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg deleted file mode 100644 index b77d723dfb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextFrameFormat.prg +++ /dev/null @@ -1,351 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextFrameFormat( ... ) - RETURN HB_QTextFrameFormat():new( ... ) - -FUNCTION QTextFrameFormatFromPointer( ... ) - RETURN HB_QTextFrameFormat():fromPointer( ... ) - - -CREATE CLASS QTextFrameFormat INHERIT HbQtObjectHandler, HB_QTextFormat FUNCTION HB_QTextFrameFormat - - METHOD new( ... ) - - METHOD border // ( ) -> nQreal - METHOD borderBrush // ( ) -> oQBrush - METHOD borderStyle // ( ) -> nBorderStyle - METHOD bottomMargin // ( ) -> nQreal - METHOD height // ( ) -> oQTextLength - METHOD isValid // ( ) -> lBool - METHOD leftMargin // ( ) -> nQreal - METHOD margin // ( ) -> nQreal - METHOD padding // ( ) -> nQreal - METHOD pageBreakPolicy // ( ) -> nPageBreakFlags - METHOD position // ( ) -> nPosition - METHOD rightMargin // ( ) -> nQreal - METHOD setBorder // ( nWidth ) -> NIL - METHOD setBorderBrush // ( oQBrush ) -> NIL - METHOD setBorderStyle // ( nStyle ) -> NIL - METHOD setBottomMargin // ( nMargin ) -> NIL - METHOD setHeight // ( oQTextLength ) -> NIL - // ( nHeight ) -> NIL - METHOD setLeftMargin // ( nMargin ) -> NIL - METHOD setMargin // ( nMargin ) -> NIL - METHOD setPadding // ( nWidth ) -> NIL - METHOD setPageBreakPolicy // ( nPolicy ) -> NIL - METHOD setPosition // ( nPolicy ) -> NIL - METHOD setRightMargin // ( nMargin ) -> NIL - METHOD setTopMargin // ( nMargin ) -> NIL - METHOD setWidth // ( oQTextLength ) -> NIL - // ( nWidth ) -> NIL - METHOD topMargin // ( ) -> nQreal - METHOD width // ( ) -> oQTextLength - - ENDCLASS - - -METHOD QTextFrameFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextFrameFormat( ... ) - RETURN Self - - -METHOD QTextFrameFormat:border( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_border( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:borderBrush( ... ) - SWITCH PCount() - CASE 0 - RETURN QBrushFromPointer( Qt_QTextFrameFormat_borderBrush( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:borderStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_borderStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:bottomMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_bottomMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:height( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextLengthFromPointer( Qt_QTextFrameFormat_height( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:leftMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_leftMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:margin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_margin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:padding( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_padding( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:pageBreakPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_pageBreakPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:position( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_position( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:rightMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_rightMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setBorder( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setBorder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setBorderBrush( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setBorderBrush( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setBorderStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setBorderStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setBottomMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setBottomMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setHeight_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setLeftMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setLeftMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setPadding( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setPadding( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setPageBreakPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setPageBreakPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setRightMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setRightMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setTopMargin( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setTopMargin( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setWidth_1( ::pPtr, ... ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextFrameFormat_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:topMargin( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextFrameFormat_topMargin( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextFrameFormat:width( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextLengthFromPointer( Qt_QTextFrameFormat_width( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg deleted file mode 100644 index fcc2e97160..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextImageFormat.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextImageFormat( ... ) - RETURN HB_QTextImageFormat():new( ... ) - -FUNCTION QTextImageFormatFromPointer( ... ) - RETURN HB_QTextImageFormat():fromPointer( ... ) - - -CREATE CLASS QTextImageFormat INHERIT HbQtObjectHandler, HB_QTextCharFormat FUNCTION HB_QTextImageFormat - - METHOD new( ... ) - - METHOD height // ( ) -> nQreal - METHOD isValid // ( ) -> lBool - METHOD name // ( ) -> cQString - METHOD setHeight // ( nHeight ) -> NIL - METHOD setName // ( cName ) -> NIL - METHOD setWidth // ( nWidth ) -> NIL - METHOD width // ( ) -> nQreal - - ENDCLASS - - -METHOD QTextImageFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextImageFormat( ... ) - RETURN Self - - -METHOD QTextImageFormat:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextImageFormat_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextImageFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextImageFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextImageFormat:name( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextImageFormat_name( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextImageFormat:setHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextImageFormat_setHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextImageFormat:setName( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextImageFormat_setName( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextImageFormat:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextImageFormat_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextImageFormat:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextImageFormat_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg b/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg deleted file mode 100644 index b4a0c72b5e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextInlineObject.prg +++ /dev/null @@ -1,179 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextInlineObject( ... ) - RETURN HB_QTextInlineObject():new( ... ) - -FUNCTION QTextInlineObjectFromPointer( ... ) - RETURN HB_QTextInlineObject():fromPointer( ... ) - - -CREATE CLASS QTextInlineObject INHERIT HbQtObjectHandler FUNCTION HB_QTextInlineObject - - METHOD new( ... ) - - METHOD ascent // ( ) -> nQreal - METHOD descent // ( ) -> nQreal - METHOD format // ( ) -> oQTextFormat - METHOD formatIndex // ( ) -> nInt - METHOD height // ( ) -> nQreal - METHOD isValid // ( ) -> lBool - METHOD rect // ( ) -> oQRectF - METHOD setAscent // ( nA ) -> NIL - METHOD setDescent // ( nD ) -> NIL - METHOD setWidth // ( nW ) -> NIL - METHOD textDirection // ( ) -> nQt_LayoutDirection - METHOD textPosition // ( ) -> nInt - METHOD width // ( ) -> nQreal - - ENDCLASS - - -METHOD QTextInlineObject:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextInlineObject( ... ) - RETURN Self - - -METHOD QTextInlineObject:ascent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_ascent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:descent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_descent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFormatFromPointer( Qt_QTextInlineObject_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:formatIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_formatIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QTextInlineObject_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:setAscent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextInlineObject_setAscent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:setDescent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextInlineObject_setDescent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:setWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextInlineObject_setWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:textDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_textDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:textPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_textPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextInlineObject:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextInlineObject_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg b/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg deleted file mode 100644 index 705d944b77..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextItem.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextItem( ... ) - RETURN HB_QTextItem():new( ... ) - -FUNCTION QTextItemFromPointer( ... ) - RETURN HB_QTextItem():fromPointer( ... ) - - -CREATE CLASS QTextItem INHERIT HbQtObjectHandler FUNCTION HB_QTextItem - - METHOD new( ... ) - - METHOD ascent // ( ) -> nQreal - METHOD descent // ( ) -> nQreal - METHOD font // ( ) -> oQFont - METHOD renderFlags // ( ) -> nRenderFlags - METHOD text // ( ) -> cQString - METHOD width // ( ) -> nQreal - - ENDCLASS - - -METHOD QTextItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextItem( ... ) - RETURN Self - - -METHOD QTextItem:ascent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextItem_ascent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextItem:descent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextItem_descent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextItem:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QTextItem_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextItem:renderFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextItem_renderFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextItem:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextItem_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextItem:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextItem_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg deleted file mode 100644 index cbad972d09..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextLayout.prg +++ /dev/null @@ -1,369 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextLayout( ... ) - RETURN HB_QTextLayout():new( ... ) - -FUNCTION QTextLayoutFromPointer( ... ) - RETURN HB_QTextLayout():fromPointer( ... ) - - -CREATE CLASS QTextLayout INHERIT HbQtObjectHandler FUNCTION HB_QTextLayout - - METHOD new( ... ) - - METHOD beginLayout // ( ) -> NIL - METHOD boundingRect // ( ) -> oQRectF - METHOD cacheEnabled // ( ) -> lBool - METHOD clearAdditionalFormats // ( ) -> NIL - METHOD clearLayout // ( ) -> NIL - METHOD createLine // ( ) -> oQTextLine - METHOD drawCursor // ( oQPainter, oQPointF, nCursorPosition, nWidth ) -> NIL - // ( oQPainter, oQPointF, nCursorPosition ) -> NIL - METHOD endLayout // ( ) -> NIL - METHOD font // ( ) -> oQFont - METHOD isValidCursorPosition // ( nPos ) -> lBool - METHOD lineAt // ( nI ) -> oQTextLine - METHOD lineCount // ( ) -> nInt - METHOD lineForTextPosition // ( nPos ) -> oQTextLine - METHOD maximumWidth // ( ) -> nQreal - METHOD minimumWidth // ( ) -> nQreal - METHOD nextCursorPosition // ( nOldPos, nMode ) -> nInt - METHOD position // ( ) -> oQPointF - METHOD preeditAreaPosition // ( ) -> nInt - METHOD preeditAreaText // ( ) -> cQString - METHOD previousCursorPosition // ( nOldPos, nMode ) -> nInt - METHOD setCacheEnabled // ( lEnable ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setPosition // ( oQPointF ) -> NIL - METHOD setPreeditArea // ( nPosition, cText ) -> NIL - METHOD setText // ( cString ) -> NIL - METHOD setTextOption // ( oQTextOption ) -> NIL - METHOD text // ( ) -> cQString - METHOD textOption // ( ) -> oQTextOption - - ENDCLASS - - -METHOD QTextLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextLayout( ... ) - RETURN Self - - -METHOD QTextLayout:beginLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_beginLayout( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QTextLayout_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:cacheEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_cacheEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:clearAdditionalFormats( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_clearAdditionalFormats( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:clearLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_clearLayout( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:createLine( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextLineFromPointer( Qt_QTextLayout_createLine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:drawCursor( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 - EXIT - CASE 3 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:endLayout( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_endLayout( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QTextLayout_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:isValidCursorPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_isValidCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:lineAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextLineFromPointer( Qt_QTextLayout_lineAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:lineCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_lineCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:lineForTextPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextLineFromPointer( Qt_QTextLayout_lineForTextPosition( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:maximumWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_maximumWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:minimumWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_minimumWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:nextCursorPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextLayout_nextCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_nextCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:position( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QTextLayout_position( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:preeditAreaPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_preeditAreaPosition( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:preeditAreaText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_preeditAreaText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:previousCursorPosition( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextLayout_previousCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_previousCursorPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:setCacheEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_setCacheEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:setPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:setPreeditArea( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTextLayout_setPreeditArea( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:setText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:setTextOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextLayout_setTextOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:text( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLayout_text( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLayout:textOption( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextOptionFromPointer( Qt_QTextLayout_textOption( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg b/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg deleted file mode 100644 index b2becea1df..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextLength.prg +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextLength( ... ) - RETURN HB_QTextLength():new( ... ) - -FUNCTION QTextLengthFromPointer( ... ) - RETURN HB_QTextLength():fromPointer( ... ) - - -CREATE CLASS QTextLength INHERIT HbQtObjectHandler FUNCTION HB_QTextLength - - METHOD new( ... ) - - METHOD rawValue // ( ) -> nQreal - METHOD type // ( ) -> nType - METHOD value // ( nMaximumLength ) -> nQreal - - ENDCLASS - - -METHOD QTextLength:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextLength( ... ) - RETURN Self - - -METHOD QTextLength:rawValue( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLength_rawValue( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLength:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLength_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLength:value( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLength_value( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg b/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg deleted file mode 100644 index ddbd88ebfb..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextLine.prg +++ /dev/null @@ -1,263 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextLine( ... ) - RETURN HB_QTextLine():new( ... ) - -FUNCTION QTextLineFromPointer( ... ) - RETURN HB_QTextLine():fromPointer( ... ) - - -CREATE CLASS QTextLine INHERIT HbQtObjectHandler FUNCTION HB_QTextLine - - METHOD new( ... ) - - METHOD ascent // ( ) -> nQreal - METHOD cursorToX // ( @nCursorPos, nEdge ) -> nQreal - // ( nCursorPos, nEdge ) -> nQreal - METHOD descent // ( ) -> nQreal - METHOD height // ( ) -> nQreal - METHOD isValid // ( ) -> lBool - METHOD lineNumber // ( ) -> nInt - METHOD naturalTextRect // ( ) -> oQRectF - METHOD naturalTextWidth // ( ) -> nQreal - METHOD position // ( ) -> oQPointF - METHOD rect // ( ) -> oQRectF - METHOD setLineWidth // ( nWidth ) -> NIL - METHOD setNumColumns // ( nNumColumns ) -> NIL - // ( nNumColumns, nAlignmentWidth ) -> NIL - METHOD setPosition // ( oQPointF ) -> NIL - METHOD textLength // ( ) -> nInt - METHOD textStart // ( ) -> nInt - METHOD width // ( ) -> nQreal - METHOD x // ( ) -> nQreal - METHOD xToCursor // ( nX, nCpos ) -> nInt - METHOD y // ( ) -> nQreal - - ENDCLASS - - -METHOD QTextLine:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextLine( ... ) - RETURN Self - - -METHOD QTextLine:ascent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_ascent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:cursorToX( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextLine_cursorToX( ::pPtr, ... ) - // RETURN Qt_QTextLine_cursorToX_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLine_cursorToX( ::pPtr, ... ) - // RETURN Qt_QTextLine_cursorToX_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:descent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_descent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:lineNumber( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_lineNumber( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:naturalTextRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QTextLine_naturalTextRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:naturalTextWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_naturalTextWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:position( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFFromPointer( Qt_QTextLine_position( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFFromPointer( Qt_QTextLine_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:setLineWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLine_setLineWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:setNumColumns( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextLine_setNumColumns_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLine_setNumColumns( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:setPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextLine_setPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:textLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_textLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:textStart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_textStart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:xToCursor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTextLine_xToCursor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextLine_xToCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextLine:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextLine_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextList.prg b/harbour/contrib/hbqt/qtgui/g/TQTextList.prg deleted file mode 100644 index 8895737d96..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextList.prg +++ /dev/null @@ -1,159 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextList( ... ) - RETURN HB_QTextList():new( ... ) - -FUNCTION QTextListFromPointer( ... ) - RETURN HB_QTextList():fromPointer( ... ) - - -CREATE CLASS QTextList INHERIT HbQtObjectHandler, HB_QTextBlockGroup FUNCTION HB_QTextList - - METHOD new( ... ) - - METHOD add // ( oQTextBlock ) -> NIL - METHOD count // ( ) -> nInt - METHOD format // ( ) -> oQTextListFormat - METHOD item // ( nI ) -> oQTextBlock - METHOD itemNumber // ( oQTextBlock ) -> nInt - METHOD itemText // ( oQTextBlock ) -> cQString - METHOD remove // ( oQTextBlock ) -> NIL - METHOD removeItem // ( nI ) -> NIL - METHOD setFormat // ( oQTextListFormat ) -> NIL - - ENDCLASS - - -METHOD QTextList:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextList( ... ) - RETURN Self - - -METHOD QTextList:add( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextList_add( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextList_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextListFormatFromPointer( Qt_QTextList_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:item( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTextBlockFromPointer( Qt_QTextList_item( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:itemNumber( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextList_itemNumber( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:itemText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextList_itemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextList_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:removeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextList_removeItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextList:setFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTextList_setFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg deleted file mode 100644 index 3ba7c8214b..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextListFormat.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextListFormat( ... ) - RETURN HB_QTextListFormat():new( ... ) - -FUNCTION QTextListFormatFromPointer( ... ) - RETURN HB_QTextListFormat():fromPointer( ... ) - - -CREATE CLASS QTextListFormat INHERIT HbQtObjectHandler, HB_QTextFormat FUNCTION HB_QTextListFormat - - METHOD new( ... ) - - METHOD indent // ( ) -> nInt - METHOD isValid // ( ) -> lBool - METHOD setIndent // ( nIndentation ) -> NIL - METHOD setStyle // ( nStyle ) -> NIL - METHOD style // ( ) -> nStyle - - ENDCLASS - - -METHOD QTextListFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextListFormat( ... ) - RETURN Self - - -METHOD QTextListFormat:indent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextListFormat_indent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextListFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextListFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextListFormat:setIndent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextListFormat_setIndent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextListFormat:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextListFormat_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextListFormat:style( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextListFormat_style( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg b/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg deleted file mode 100644 index 1e44c538dc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextObject.prg +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextObject( ... ) - RETURN HB_QTextObject():new( ... ) - -FUNCTION QTextObjectFromPointer( ... ) - RETURN HB_QTextObject():fromPointer( ... ) - - -CREATE CLASS QTextObject INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QTextObject - - METHOD new( ... ) - - METHOD document // ( ) -> oQTextDocument - METHOD format // ( ) -> oQTextFormat - METHOD formatIndex // ( ) -> nInt - METHOD objectIndex // ( ) -> nInt - - ENDCLASS - - -METHOD QTextObject:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextObject( ... ) - RETURN Self - - -METHOD QTextObject:document( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextDocumentFromPointer( Qt_QTextObject_document( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextObject:format( ... ) - SWITCH PCount() - CASE 0 - RETURN QTextFormatFromPointer( Qt_QTextObject_format( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextObject:formatIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextObject_formatIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextObject:objectIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextObject_objectIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg b/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg deleted file mode 100644 index a4dc01679a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextOption.prg +++ /dev/null @@ -1,191 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextOption( ... ) - RETURN HB_QTextOption():new( ... ) - -FUNCTION QTextOptionFromPointer( ... ) - RETURN HB_QTextOption():fromPointer( ... ) - - -CREATE CLASS QTextOption INHERIT HbQtObjectHandler FUNCTION HB_QTextOption - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD flags // ( ) -> nFlags - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setFlags // ( nFlags ) -> NIL - METHOD setTabStop // ( nTabStop ) -> NIL - METHOD setTextDirection // ( nDirection ) -> NIL - METHOD setUseDesignMetrics // ( lEnable ) -> NIL - METHOD setWrapMode // ( nMode ) -> NIL - METHOD tabArray // ( ) -> oQList_qreal> - METHOD tabStop // ( ) -> nQreal - METHOD textDirection // ( ) -> nQt_LayoutDirection - METHOD useDesignMetrics // ( ) -> lBool - METHOD wrapMode // ( ) -> nWrapMode - - ENDCLASS - - -METHOD QTextOption:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextOption( ... ) - RETURN Self - - -METHOD QTextOption:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextOption_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextOption_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextOption_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:setFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextOption_setFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:setTabStop( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextOption_setTabStop( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:setTextDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextOption_setTextDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:setUseDesignMetrics( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTextOption_setUseDesignMetrics( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:setWrapMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextOption_setWrapMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:tabArray( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTextOption_tabArray( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:tabStop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextOption_tabStop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:textDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextOption_textDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:useDesignMetrics( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextOption_useDesignMetrics( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextOption:wrapMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextOption_wrapMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg b/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg deleted file mode 100644 index 10f551cd56..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTextTableFormat.prg +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTextTableFormat( ... ) - RETURN HB_QTextTableFormat():new( ... ) - -FUNCTION QTextTableFormatFromPointer( ... ) - RETURN HB_QTextTableFormat():fromPointer( ... ) - - -CREATE CLASS QTextTableFormat INHERIT HbQtObjectHandler, HB_QTextFrameFormat FUNCTION HB_QTextTableFormat - - METHOD new( ... ) - - METHOD alignment // ( ) -> nQt_Alignment - METHOD cellPadding // ( ) -> nQreal - METHOD cellSpacing // ( ) -> nQreal - METHOD clearColumnWidthConstraints // ( ) -> NIL - METHOD columns // ( ) -> nInt - METHOD headerRowCount // ( ) -> nInt - METHOD isValid // ( ) -> lBool - METHOD setAlignment // ( nAlignment ) -> NIL - METHOD setCellPadding // ( nPadding ) -> NIL - METHOD setCellSpacing // ( nSpacing ) -> NIL - METHOD setHeaderRowCount // ( nCount ) -> NIL - - ENDCLASS - - -METHOD QTextTableFormat:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTextTableFormat( ... ) - RETURN Self - - -METHOD QTextTableFormat:alignment( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_alignment( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:cellPadding( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_cellPadding( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:cellSpacing( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_cellSpacing( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:clearColumnWidthConstraints( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_clearColumnWidthConstraints( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:columns( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_columns( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:headerRowCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_headerRowCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTextTableFormat_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:setAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextTableFormat_setAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:setCellPadding( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextTableFormat_setCellPadding( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:setCellSpacing( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextTableFormat_setCellSpacing( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTextTableFormat:setHeaderRowCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTextTableFormat_setHeaderRowCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg b/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg deleted file mode 100644 index a80383c546..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTimeEdit.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTimeEdit( ... ) - RETURN HB_QTimeEdit():new( ... ) - -FUNCTION QTimeEditFromPointer( ... ) - RETURN HB_QTimeEdit():fromPointer( ... ) - - -CREATE CLASS QTimeEdit INHERIT HbQtObjectHandler, HB_QDateTimeEdit FUNCTION HB_QTimeEdit - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QTimeEdit:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTimeEdit( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg b/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg deleted file mode 100644 index 427e733e33..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQToolBar.prg +++ /dev/null @@ -1,340 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QToolBar( ... ) - RETURN HB_QToolBar():new( ... ) - -FUNCTION QToolBarFromPointer( ... ) - RETURN HB_QToolBar():fromPointer( ... ) - - -CREATE CLASS QToolBar INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QToolBar - - METHOD new( ... ) - - METHOD actionAt // ( oQPoint ) -> oQAction - // ( nX, nY ) -> oQAction - METHOD addAction // ( oQAction ) -> NIL - // ( cText ) -> oQAction - // ( coQIcon, cText ) -> oQAction - // ( cText, oQObject, cMember ) -> oQAction - // ( coQIcon, cText, oQObject, cMember ) -> oQAction - METHOD addSeparator // ( ) -> oQAction - METHOD addWidget // ( oQWidget ) -> oQAction - METHOD allowedAreas // ( ) -> nQt_ToolBarAreas - METHOD clear // ( ) -> NIL - METHOD iconSize // ( ) -> oQSize - METHOD insertSeparator // ( oQAction ) -> oQAction - METHOD insertWidget // ( oQAction, oQWidget ) -> oQAction - METHOD isAreaAllowed // ( nArea ) -> lBool - METHOD isFloatable // ( ) -> lBool - METHOD isFloating // ( ) -> lBool - METHOD isMovable // ( ) -> lBool - METHOD orientation // ( ) -> nQt_Orientation - METHOD setAllowedAreas // ( nAreas ) -> NIL - METHOD setFloatable // ( lFloatable ) -> NIL - METHOD setMovable // ( lMovable ) -> NIL - METHOD setOrientation // ( nOrientation ) -> NIL - METHOD toggleViewAction // ( ) -> oQAction - METHOD toolButtonStyle // ( ) -> nQt_ToolButtonStyle - METHOD widgetForAction // ( oQAction ) -> oQWidget - METHOD setIconSize // ( oQSize ) -> NIL - METHOD setToolButtonStyle // ( nToolButtonStyle ) -> NIL - - ENDCLASS - - -METHOD QToolBar:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QToolBar( ... ) - RETURN Self - - -METHOD QToolBar:actionAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QToolBar_actionAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QToolBar_actionAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:addAction( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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_isChar( hb_pvalue( 4 ) ) - RETURN QActionFromPointer( Qt_QToolBar_addAction_4( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QActionFromPointer( Qt_QToolBar_addAction_3( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QToolBar_addAction_2( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QToolBar_addAction_1( ::pPtr, ... ) ) - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_addAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:addSeparator( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QToolBar_addSeparator( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:addWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QToolBar_addWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:allowedAreas( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_allowedAreas( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:iconSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QToolBar_iconSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:insertSeparator( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QToolBar_insertSeparator( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:insertWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QToolBar_insertWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:isAreaAllowed( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_isAreaAllowed( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:isFloatable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_isFloatable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:isFloating( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_isFloating( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:isMovable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_isMovable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:setAllowedAreas( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_setAllowedAreas( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:setFloatable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_setFloatable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:setMovable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_setMovable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:setOrientation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_setOrientation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:toggleViewAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QToolBar_toggleViewAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:toolButtonStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBar_toolButtonStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:widgetForAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QToolBar_widgetForAction( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:setIconSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_setIconSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBar:setToolButtonStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBar_setToolButtonStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg b/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg deleted file mode 100644 index bf98cef5fe..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQToolBox.prg +++ /dev/null @@ -1,286 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QToolBox( ... ) - RETURN HB_QToolBox():new( ... ) - -FUNCTION QToolBoxFromPointer( ... ) - RETURN HB_QToolBox():fromPointer( ... ) - - -CREATE CLASS QToolBox INHERIT HbQtObjectHandler, HB_QFrame FUNCTION HB_QToolBox - - METHOD new( ... ) - - METHOD addItem // ( oQWidget, coQIcon, cText ) -> nInt - // ( oQWidget, cText ) -> nInt - METHOD count // ( ) -> nInt - METHOD currentIndex // ( ) -> nInt - METHOD currentWidget // ( ) -> oQWidget - METHOD indexOf // ( oQWidget ) -> nInt - METHOD insertItem // ( nIndex, oQWidget, coQIcon, cText ) -> nInt - // ( nIndex, oQWidget, cText ) -> nInt - METHOD isItemEnabled // ( nIndex ) -> lBool - METHOD itemIcon // ( nIndex ) -> oQIcon - METHOD itemText // ( nIndex ) -> cQString - METHOD itemToolTip // ( nIndex ) -> cQString - METHOD removeItem // ( nIndex ) -> NIL - METHOD setItemEnabled // ( nIndex, lEnabled ) -> NIL - METHOD setItemIcon // ( nIndex, coQIcon ) -> NIL - METHOD setItemText // ( nIndex, cText ) -> NIL - METHOD setItemToolTip // ( nIndex, cToolTip ) -> NIL - METHOD widget // ( nIndex ) -> oQWidget - METHOD setCurrentIndex // ( nIndex ) -> NIL - METHOD setCurrentWidget // ( oQWidget ) -> NIL - - ENDCLASS - - -METHOD QToolBox:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QToolBox( ... ) - RETURN Self - - -METHOD QToolBox:addItem( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QToolBox_addItem_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBox_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:currentIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolBox_currentIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:currentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QToolBox_currentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:indexOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_indexOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:insertItem( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 - EXIT - CASE 3 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:isItemEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_isItemEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:itemIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QToolBox_itemIcon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:itemText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_itemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:itemToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_itemToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:removeItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_removeItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:setItemEnabled( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QToolBox_setItemEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:setItemIcon( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) - RETURN Qt_QToolBox_setItemIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:setItemText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QToolBox_setItemText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:setItemToolTip( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QToolBox_setItemToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:widget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QToolBox_widget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:setCurrentIndex( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_setCurrentIndex( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolBox:setCurrentWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QToolBox_setCurrentWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg b/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg deleted file mode 100644 index 888ec36abc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQToolButton.prg +++ /dev/null @@ -1,191 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QToolButton( ... ) - RETURN HB_QToolButton():new( ... ) - -FUNCTION QToolButtonFromPointer( ... ) - RETURN HB_QToolButton():fromPointer( ... ) - - -CREATE CLASS QToolButton INHERIT HbQtObjectHandler, HB_QAbstractButton FUNCTION HB_QToolButton - - METHOD new( ... ) - - METHOD arrowType // ( ) -> nQt_ArrowType - METHOD autoRaise // ( ) -> lBool - METHOD defaultAction // ( ) -> oQAction - METHOD menu // ( ) -> oQMenu - METHOD popupMode // ( ) -> nToolButtonPopupMode - METHOD setArrowType // ( nType ) -> NIL - METHOD setAutoRaise // ( lEnable ) -> NIL - METHOD setMenu // ( oQMenu ) -> NIL - METHOD setPopupMode // ( nMode ) -> NIL - METHOD toolButtonStyle // ( ) -> nQt_ToolButtonStyle - METHOD setDefaultAction // ( oQAction ) -> NIL - METHOD setToolButtonStyle // ( nStyle ) -> NIL - METHOD showMenu // ( ) -> NIL - - ENDCLASS - - -METHOD QToolButton:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QToolButton( ... ) - RETURN Self - - -METHOD QToolButton:arrowType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolButton_arrowType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:autoRaise( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolButton_autoRaise( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:defaultAction( ... ) - SWITCH PCount() - CASE 0 - RETURN QActionFromPointer( Qt_QToolButton_defaultAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:menu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QToolButton_menu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:popupMode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolButton_popupMode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:setArrowType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolButton_setArrowType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:setAutoRaise( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QToolButton_setAutoRaise( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:setMenu( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QToolButton_setMenu( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:setPopupMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolButton_setPopupMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:toolButtonStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolButton_toolButtonStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:setDefaultAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QToolButton_setDefaultAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:setToolButtonStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QToolButton_setToolButtonStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QToolButton:showMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QToolButton_showMenu( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTransform.prg b/harbour/contrib/hbqt/qtgui/g/TQTransform.prg deleted file mode 100644 index 72ab13e917..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTransform.prg +++ /dev/null @@ -1,514 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTransform( ... ) - RETURN HB_QTransform():new( ... ) - -FUNCTION QTransformFromPointer( ... ) - RETURN HB_QTransform():fromPointer( ... ) - - -CREATE CLASS QTransform INHERIT HbQtObjectHandler FUNCTION HB_QTransform - - METHOD new( ... ) - - METHOD m11 // ( ) -> nQreal - METHOD m12 // ( ) -> nQreal - METHOD m13 // ( ) -> nQreal - METHOD m21 // ( ) -> nQreal - METHOD m22 // ( ) -> nQreal - METHOD m23 // ( ) -> nQreal - METHOD m31 // ( ) -> nQreal - METHOD m32 // ( ) -> nQreal - METHOD m33 // ( ) -> nQreal - METHOD adjoint // ( ) -> oQTransform - METHOD det // ( ) -> nQreal - METHOD determinant // ( ) -> nQreal - METHOD dx // ( ) -> nQreal - METHOD dy // ( ) -> nQreal - METHOD inverted // ( @lInvertible ) -> oQTransform - METHOD isAffine // ( ) -> lBool - METHOD isIdentity // ( ) -> lBool - METHOD isInvertible // ( ) -> lBool - METHOD isRotating // ( ) -> lBool - METHOD isScaling // ( ) -> lBool - METHOD isTranslating // ( ) -> lBool - METHOD map // ( nX, nY, @nTx, @nTy ) -> NIL - // ( oQPointF ) -> oQPointF - // ( oQPoint ) -> oQPoint - // ( oQLine ) -> oQLine - // ( oQLineF ) -> oQLineF - // ( oQPolygonF ) -> oQPolygonF - // ( oQPolygon ) -> oQPolygon - // ( oQRegion ) -> oQRegion - // ( oQPainterPath ) -> oQPainterPath - // ( nX, nY, @nTx, @nTy ) -> NIL - METHOD mapRect // ( oQRectF ) -> oQRectF - // ( oQRect ) -> oQRect - METHOD mapToPolygon // ( oQRect ) -> oQPolygon - METHOD reset // ( ) -> NIL - METHOD rotate // ( nAngle, nAxis ) -> oQTransform - METHOD rotateRadians // ( nAngle, nAxis ) -> oQTransform - METHOD scale // ( nSx, nSy ) -> oQTransform - METHOD setMatrix // ( nM11, nM12, nM13, nM21, nM22, nM23, nM31, nM32, nM33 ) -> NIL - METHOD shear // ( nSh, nSv ) -> oQTransform - METHOD toAffine // ( ) -> oQMatrix - METHOD translate // ( nDx, nDy ) -> oQTransform - METHOD transposed // ( ) -> oQTransform - METHOD type // ( ) -> nTransformationType - METHOD fromScale // ( nSx, nSy ) -> oQTransform - METHOD fromTranslate // ( nDx, nDy ) -> oQTransform - METHOD quadToQuad // ( oQPolygonF, oQPolygonF, oQTransform ) -> lBool - METHOD quadToSquare // ( oQPolygonF, oQTransform ) -> lBool - METHOD squareToQuad // ( oQPolygonF, oQTransform ) -> lBool - - ENDCLASS - - -METHOD QTransform:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTransform( ... ) - RETURN Self - - -METHOD QTransform:m11( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m11( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m12( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m12( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m13( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m13( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m21( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m21( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m22( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m22( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m23( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m23( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m31( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m31( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m32( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m32( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:m33( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_m33( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:adjoint( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QTransform_adjoint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:det( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_det( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:determinant( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_determinant( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:dx( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_dx( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:dy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_dy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:inverted( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN QTransformFromPointer( Qt_QTransform_inverted( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QTransformFromPointer( Qt_QTransform_inverted( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:isAffine( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_isAffine( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:isIdentity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_isIdentity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:isInvertible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_isInvertible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:isRotating( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_isRotating( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:isScaling( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_isScaling( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:isTranslating( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_isTranslating( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:map( ... ) - 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_QTransform_map( ::pPtr, ... ) - // RETURN Qt_QTransform_map_9( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QPOINTF" - RETURN QPointFFromPointer( Qt_QTransform_map_1( ::pPtr, ... ) ) - CASE "QREGION" - RETURN QRegionFromPointer( Qt_QTransform_map_7( ::pPtr, ... ) ) - CASE "QPOINT" - RETURN QPointFromPointer( Qt_QTransform_map_2( ::pPtr, ... ) ) - CASE "QLINE" - RETURN QLineFromPointer( Qt_QTransform_map_3( ::pPtr, ... ) ) - CASE "QPOLYGONF" - RETURN QPolygonFFromPointer( Qt_QTransform_map_5( ::pPtr, ... ) ) - CASE "QPAINTERPATH" - RETURN QPainterPathFromPointer( Qt_QTransform_map_8( ::pPtr, ... ) ) - CASE "QPOLYGON" - RETURN QPolygonFromPointer( Qt_QTransform_map_6( ::pPtr, ... ) ) - CASE "QLINEF" - RETURN QLineFFromPointer( Qt_QTransform_map_4( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:mapRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QRECTF" - RETURN QRectFFromPointer( Qt_QTransform_mapRect( ::pPtr, ... ) ) - CASE "QRECT" - RETURN QRectFromPointer( Qt_QTransform_mapRect_1( ::pPtr, ... ) ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:mapToPolygon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPolygonFromPointer( Qt_QTransform_mapToPolygon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:reset( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_reset( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:rotate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_rotate( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTransformFromPointer( Qt_QTransform_rotate( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:rotateRadians( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_rotateRadians( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTransformFromPointer( Qt_QTransform_rotateRadians( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:scale( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_scale( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:setMatrix( ... ) - 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_isNumeric( 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_QTransform_setMatrix( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:shear( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_shear( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:toAffine( ... ) - SWITCH PCount() - CASE 0 - RETURN QMatrixFromPointer( Qt_QTransform_toAffine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:translate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_translate( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:transposed( ... ) - SWITCH PCount() - CASE 0 - RETURN QTransformFromPointer( Qt_QTransform_transposed( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTransform_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:fromScale( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_fromScale( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:fromTranslate( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTransformFromPointer( Qt_QTransform_fromTranslate( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:quadToQuad( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QTransform_quadToQuad( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:quadToSquare( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTransform_quadToSquare( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTransform:squareToQuad( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTransform_squareToQuad( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg b/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg deleted file mode 100644 index a94c9bdaa5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTreeView.prg +++ /dev/null @@ -1,637 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTreeView( ... ) - RETURN HB_QTreeView():new( ... ) - -FUNCTION QTreeViewFromPointer( ... ) - RETURN HB_QTreeView():fromPointer( ... ) - - -CREATE CLASS QTreeView INHERIT HbQtObjectHandler, HB_QAbstractItemView FUNCTION HB_QTreeView - - METHOD new( ... ) - - METHOD allColumnsShowFocus // ( ) -> lBool - METHOD autoExpandDelay // ( ) -> nInt - METHOD columnAt // ( nX ) -> nInt - METHOD columnViewportPosition // ( nColumn ) -> nInt - METHOD columnWidth // ( nColumn ) -> nInt - METHOD expandsOnDoubleClick // ( ) -> lBool - METHOD header // ( ) -> oQHeaderView - METHOD indentation // ( ) -> nInt - METHOD indexAbove // ( oQModelIndex ) -> oQModelIndex - METHOD indexBelow // ( oQModelIndex ) -> oQModelIndex - METHOD isAnimated // ( ) -> lBool - METHOD isColumnHidden // ( nColumn ) -> lBool - METHOD isExpanded // ( oQModelIndex ) -> lBool - METHOD isFirstColumnSpanned // ( nRow, oQModelIndex ) -> lBool - METHOD isHeaderHidden // ( ) -> lBool - METHOD isRowHidden // ( nRow, oQModelIndex ) -> lBool - METHOD isSortingEnabled // ( ) -> lBool - METHOD itemsExpandable // ( ) -> lBool - METHOD rootIsDecorated // ( ) -> lBool - METHOD scrollTo // ( oQModelIndex, nHint ) -> NIL - METHOD setAllColumnsShowFocus // ( lEnable ) -> NIL - METHOD setAnimated // ( lEnable ) -> NIL - METHOD setAutoExpandDelay // ( nDelay ) -> NIL - METHOD setColumnHidden // ( nColumn, lHide ) -> NIL - METHOD setColumnWidth // ( nColumn, nWidth ) -> NIL - METHOD setExpanded // ( oQModelIndex, lExpanded ) -> NIL - METHOD setExpandsOnDoubleClick // ( lEnable ) -> NIL - METHOD setFirstColumnSpanned // ( nRow, oQModelIndex, lSpan ) -> NIL - METHOD setHeader // ( oQHeaderView ) -> NIL - METHOD setHeaderHidden // ( lHide ) -> NIL - METHOD setIndentation // ( nI ) -> NIL - METHOD setItemsExpandable // ( lEnable ) -> NIL - METHOD setRootIsDecorated // ( lShow ) -> NIL - METHOD setRowHidden // ( nRow, oQModelIndex, lHide ) -> NIL - METHOD setSortingEnabled // ( lEnable ) -> NIL - METHOD setUniformRowHeights // ( lUniform ) -> NIL - METHOD setWordWrap // ( lOn ) -> NIL - METHOD sortByColumn // ( nColumn, nOrder ) -> NIL - METHOD uniformRowHeights // ( ) -> lBool - METHOD visualRect // ( oQModelIndex ) -> oQRect - METHOD wordWrap // ( ) -> lBool - METHOD collapse // ( oQModelIndex ) -> NIL - METHOD collapseAll // ( ) -> NIL - METHOD expand // ( oQModelIndex ) -> NIL - METHOD expandAll // ( ) -> NIL - METHOD expandToDepth // ( nDepth ) -> NIL - METHOD hideColumn // ( nColumn ) -> NIL - METHOD resizeColumnToContents // ( nColumn ) -> NIL - METHOD showColumn // ( nColumn ) -> NIL - - ENDCLASS - - -METHOD QTreeView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTreeView( ... ) - RETURN Self - - -METHOD QTreeView:allColumnsShowFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_allColumnsShowFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:autoExpandDelay( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_autoExpandDelay( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:columnAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_columnAt( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:columnViewportPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_columnViewportPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:columnWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_columnWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:expandsOnDoubleClick( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_expandsOnDoubleClick( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:header( ... ) - SWITCH PCount() - CASE 0 - RETURN QHeaderViewFromPointer( Qt_QTreeView_header( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:indentation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_indentation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:indexAbove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QTreeView_indexAbove( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:indexBelow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QModelIndexFromPointer( Qt_QTreeView_indexBelow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isAnimated( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_isAnimated( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isColumnHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_isColumnHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isExpanded( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_isExpanded( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isFirstColumnSpanned( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_isFirstColumnSpanned( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isHeaderHidden( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_isHeaderHidden( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isRowHidden( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_isRowHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:isSortingEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_isSortingEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:itemsExpandable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_itemsExpandable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:rootIsDecorated( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_rootIsDecorated( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:scrollTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_scrollTo( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_scrollTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setAllColumnsShowFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setAllColumnsShowFocus( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setAnimated( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setAnimated( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setAutoExpandDelay( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setAutoExpandDelay( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setColumnHidden( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_setColumnHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setColumnWidth( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_setColumnWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setExpanded( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_setExpanded( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setExpandsOnDoubleClick( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setExpandsOnDoubleClick( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setFirstColumnSpanned( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) - RETURN Qt_QTreeView_setFirstColumnSpanned( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setHeader( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setHeader( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setHeaderHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setHeaderHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setIndentation( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setIndentation( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setItemsExpandable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setItemsExpandable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setRootIsDecorated( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setRootIsDecorated( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setRowHidden( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isLogical( hb_pvalue( 3 ) ) - RETURN Qt_QTreeView_setRowHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setSortingEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setSortingEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setUniformRowHeights( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setUniformRowHeights( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:setWordWrap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_setWordWrap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:sortByColumn( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeView_sortByColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:uniformRowHeights( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_uniformRowHeights( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:visualRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QTreeView_visualRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:wordWrap( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_wordWrap( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:collapse( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_collapse( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:collapseAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_collapseAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:expand( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_expand( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:expandAll( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeView_expandAll( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:expandToDepth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_expandToDepth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:hideColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_hideColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:resizeColumnToContents( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_resizeColumnToContents( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeView:showColumn( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeView_showColumn( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg deleted file mode 100644 index 97736d403a..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTreeWidget.prg +++ /dev/null @@ -1,533 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTreeWidget( ... ) - RETURN HB_QTreeWidget():new( ... ) - -FUNCTION QTreeWidgetFromPointer( ... ) - RETURN HB_QTreeWidget():fromPointer( ... ) - - -CREATE CLASS QTreeWidget INHERIT HbQtObjectHandler, HB_QTreeView FUNCTION HB_QTreeWidget - - METHOD new( ... ) - - METHOD addTopLevelItem // ( oQTreeWidgetItem ) -> NIL - METHOD closePersistentEditor // ( oQTreeWidgetItem, nColumn ) -> NIL - METHOD columnCount // ( ) -> nInt - METHOD currentColumn // ( ) -> nInt - METHOD currentItem // ( ) -> oQTreeWidgetItem - METHOD editItem // ( oQTreeWidgetItem, nColumn ) -> NIL - METHOD findItems // ( cText, nFlags, nColumn ) -> oQList_QTreeWidgetItem - METHOD headerItem // ( ) -> oQTreeWidgetItem - METHOD indexOfTopLevelItem // ( oQTreeWidgetItem ) -> nInt - METHOD insertTopLevelItem // ( nIndex, oQTreeWidgetItem ) -> NIL - METHOD invisibleRootItem // ( ) -> oQTreeWidgetItem - METHOD isFirstItemColumnSpanned // ( oQTreeWidgetItem ) -> lBool - METHOD itemAbove // ( oQTreeWidgetItem ) -> oQTreeWidgetItem - METHOD itemAt // ( oQPoint ) -> oQTreeWidgetItem - // ( nX, nY ) -> oQTreeWidgetItem - METHOD itemBelow // ( oQTreeWidgetItem ) -> oQTreeWidgetItem - METHOD itemWidget // ( oQTreeWidgetItem, nColumn ) -> oQWidget - METHOD openPersistentEditor // ( oQTreeWidgetItem, nColumn ) -> NIL - METHOD removeItemWidget // ( oQTreeWidgetItem, nColumn ) -> NIL - METHOD selectedItems // ( ) -> oQList_QTreeWidgetItem - METHOD setColumnCount // ( nColumns ) -> NIL - METHOD setCurrentItem // ( oQTreeWidgetItem ) -> NIL - // ( oQTreeWidgetItem, nColumn ) -> NIL - // ( oQTreeWidgetItem, nColumn, nCommand ) -> NIL - METHOD setFirstItemColumnSpanned // ( oQTreeWidgetItem, lSpan ) -> NIL - METHOD setHeaderItem // ( oQTreeWidgetItem ) -> NIL - METHOD setHeaderLabel // ( cLabel ) -> NIL - METHOD setHeaderLabels // ( oQStringList ) -> NIL - METHOD setItemWidget // ( oQTreeWidgetItem, nColumn, oQWidget ) -> NIL - METHOD sortColumn // ( ) -> nInt - METHOD sortItems // ( nColumn, nOrder ) -> NIL - METHOD takeTopLevelItem // ( nIndex ) -> oQTreeWidgetItem - METHOD topLevelItem // ( nIndex ) -> oQTreeWidgetItem - METHOD topLevelItemCount // ( ) -> nInt - METHOD visualItemRect // ( oQTreeWidgetItem ) -> oQRect - METHOD clear // ( ) -> NIL - METHOD collapseItem // ( oQTreeWidgetItem ) -> NIL - METHOD expandItem // ( oQTreeWidgetItem ) -> NIL - METHOD scrollToItem // ( oQTreeWidgetItem, nHint ) -> NIL - - ENDCLASS - - -METHOD QTreeWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTreeWidget( ... ) - RETURN Self - - -METHOD QTreeWidget:addTopLevelItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_addTopLevelItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:closePersistentEditor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_closePersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_closePersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidget_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:currentColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidget_currentColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:currentItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_currentItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:editItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_editItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_editItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:findItems( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN QListFromPointer( Qt_QTreeWidget_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QListFromPointer( Qt_QTreeWidget_findItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:headerItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_headerItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:indexOfTopLevelItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_indexOfTopLevelItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:insertTopLevelItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_insertTopLevelItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:invisibleRootItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_invisibleRootItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:isFirstItemColumnSpanned( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_isFirstItemColumnSpanned( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:itemAbove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_itemAbove( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:itemAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_itemAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:itemBelow( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_itemBelow( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:itemWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QTreeWidget_itemWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:openPersistentEditor( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_openPersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_openPersistentEditor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:removeItemWidget( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_removeItemWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:selectedItems( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTreeWidget_selectedItems( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setColumnCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_setColumnCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setCurrentItem( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_setCurrentItem_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_setCurrentItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setFirstItemColumnSpanned( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_setFirstItemColumnSpanned( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setHeaderItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_setHeaderItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setHeaderLabel( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_setHeaderLabel( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setHeaderLabels( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_setHeaderLabels( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:setItemWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QTreeWidget_setItemWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:sortColumn( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidget_sortColumn( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:sortItems( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_sortItems( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:takeTopLevelItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_takeTopLevelItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:topLevelItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidget_topLevelItem( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:topLevelItemCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidget_topLevelItemCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:visualItemRect( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QRectFromPointer( Qt_QTreeWidget_visualItemRect( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidget_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:collapseItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_collapseItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:expandItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_expandItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidget:scrollToItem( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidget_scrollToItem( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidget_scrollToItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg deleted file mode 100644 index b948fd8148..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQTreeWidgetItem.prg +++ /dev/null @@ -1,683 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QTreeWidgetItem( ... ) - RETURN HB_QTreeWidgetItem():new( ... ) - -FUNCTION QTreeWidgetItemFromPointer( ... ) - RETURN HB_QTreeWidgetItem():fromPointer( ... ) - - -CREATE CLASS QTreeWidgetItem INHERIT HbQtObjectHandler FUNCTION HB_QTreeWidgetItem - - METHOD new( ... ) - - METHOD addChild // ( oQTreeWidgetItem ) -> NIL - METHOD background // ( nColumn ) -> oQBrush - METHOD checkState // ( nColumn ) -> nQt_CheckState - METHOD child // ( nIndex ) -> oQTreeWidgetItem - METHOD childCount // ( ) -> nInt - METHOD childIndicatorPolicy // ( ) -> nQTreeWidgetItem_ChildIndicatorPolicy - METHOD clone // ( ) -> oQTreeWidgetItem - METHOD columnCount // ( ) -> nInt - METHOD data // ( nColumn, nRole ) -> oQVariant - METHOD flags // ( ) -> nQt_ItemFlags - METHOD font // ( nColumn ) -> oQFont - METHOD foreground // ( nColumn ) -> oQBrush - METHOD icon // ( nColumn ) -> oQIcon - METHOD indexOfChild // ( oQTreeWidgetItem ) -> nInt - METHOD insertChild // ( nIndex, oQTreeWidgetItem ) -> NIL - METHOD isDisabled // ( ) -> lBool - METHOD isExpanded // ( ) -> lBool - METHOD isFirstColumnSpanned // ( ) -> lBool - METHOD isHidden // ( ) -> lBool - METHOD isSelected // ( ) -> lBool - METHOD parent // ( ) -> oQTreeWidgetItem - METHOD read // ( oQDataStream ) -> NIL - METHOD removeChild // ( oQTreeWidgetItem ) -> NIL - METHOD setBackground // ( nColumn, oQBrush ) -> NIL - METHOD setCheckState // ( nColumn, nState ) -> NIL - METHOD setChildIndicatorPolicy // ( nPolicy ) -> NIL - METHOD setData // ( nColumn, nRole, oQVariant ) -> NIL - METHOD setDisabled // ( lDisabled ) -> NIL - METHOD setExpanded // ( lExpand ) -> NIL - METHOD setFirstColumnSpanned // ( lSpan ) -> NIL - METHOD setFlags // ( nFlags ) -> NIL - METHOD setFont // ( nColumn, oQFont ) -> NIL - METHOD setForeground // ( nColumn, oQBrush ) -> NIL - METHOD setHidden // ( lHide ) -> NIL - METHOD setIcon // ( nColumn, coQIcon ) -> NIL - METHOD setSelected // ( lSelect ) -> NIL - METHOD setSizeHint // ( nColumn, oQSize ) -> NIL - METHOD setStatusTip // ( nColumn, cStatusTip ) -> NIL - METHOD setText // ( nColumn, cText ) -> NIL - METHOD setTextAlignment // ( nColumn, nAlignment ) -> NIL - METHOD setToolTip // ( nColumn, cToolTip ) -> NIL - METHOD setWhatsThis // ( nColumn, cWhatsThis ) -> NIL - METHOD sizeHint // ( nColumn ) -> oQSize - METHOD sortChildren // ( nColumn, nOrder ) -> NIL - METHOD statusTip // ( nColumn ) -> cQString - METHOD takeChild // ( nIndex ) -> oQTreeWidgetItem - METHOD takeChildren // ( ) -> oQList_QTreeWidgetItem - METHOD text // ( nColumn ) -> cQString - METHOD textAlignment // ( nColumn ) -> nInt - METHOD toolTip // ( nColumn ) -> cQString - METHOD treeWidget // ( ) -> oQTreeWidget - METHOD type // ( ) -> nInt - METHOD whatsThis // ( nColumn ) -> cQString - - ENDCLASS - - -METHOD QTreeWidgetItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QTreeWidgetItem( ... ) - RETURN Self - - -METHOD QTreeWidgetItem:addChild( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_addChild( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:background( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QBrushFromPointer( Qt_QTreeWidgetItem_background( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:checkState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_checkState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:child( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidgetItem_child( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:childCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_childCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:childIndicatorPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_childIndicatorPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:clone( ... ) - SWITCH PCount() - CASE 0 - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidgetItem_clone( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:columnCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_columnCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:data( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QTreeWidgetItem_data( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:flags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_flags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:font( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QFontFromPointer( Qt_QTreeWidgetItem_font( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:foreground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QBrushFromPointer( Qt_QTreeWidgetItem_foreground( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:icon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QTreeWidgetItem_icon( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:indexOfChild( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_indexOfChild( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:insertChild( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_insertChild( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:isDisabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_isDisabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:isExpanded( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_isExpanded( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:isFirstColumnSpanned( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_isFirstColumnSpanned( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:isHidden( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_isHidden( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:isSelected( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_isSelected( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:parent( ... ) - SWITCH PCount() - CASE 0 - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidgetItem_parent( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:read( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_read( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:removeChild( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_removeChild( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setBackground( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setCheckState( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setCheckState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setChildIndicatorPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setChildIndicatorPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setData( ... ) - 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_QTreeWidgetItem_setData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setDisabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setDisabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setExpanded( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setExpanded( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setFirstColumnSpanned( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setFirstColumnSpanned( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setFont( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setForeground( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setForeground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setIcon( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. ( hb_isObject( hb_pvalue( 2 ) ) .OR. hb_isChar( hb_pvalue( 2 ) ) ) - RETURN Qt_QTreeWidgetItem_setIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setSelected( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_setSelected( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setSizeHint( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setSizeHint( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setStatusTip( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setStatusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setTextAlignment( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setTextAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setToolTip( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:setWhatsThis( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_setWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:sizeHint( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QSizeFromPointer( Qt_QTreeWidgetItem_sizeHint( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:sortChildren( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QTreeWidgetItem_sortChildren( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:statusTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_statusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:takeChild( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QTreeWidgetItemFromPointer( Qt_QTreeWidgetItem_takeChild( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:takeChildren( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QTreeWidgetItem_takeChildren( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:text( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_text( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:textAlignment( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_textAlignment( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:toolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_toolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:treeWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QTreeWidgetFromPointer( Qt_QTreeWidgetItem_treeWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:type( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QTreeWidgetItem_type( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QTreeWidgetItem:whatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QTreeWidgetItem_whatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg b/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg deleted file mode 100644 index a2e9fcfb22..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQVBoxLayout.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QVBoxLayout( ... ) - RETURN HB_QVBoxLayout():new( ... ) - -FUNCTION QVBoxLayoutFromPointer( ... ) - RETURN HB_QVBoxLayout():fromPointer( ... ) - - -CREATE CLASS QVBoxLayout INHERIT HbQtObjectHandler, HB_QBoxLayout FUNCTION HB_QVBoxLayout - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QVBoxLayout:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QVBoxLayout( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQValidator.prg deleted file mode 100644 index 6604798521..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQValidator.prg +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QValidator( ... ) - RETURN HB_QValidator():new( ... ) - -FUNCTION QValidatorFromPointer( ... ) - RETURN HB_QValidator():fromPointer( ... ) - - -CREATE CLASS QValidator INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QValidator - - METHOD new( ... ) - - METHOD locale // ( ) -> oQLocale - METHOD setLocale // ( oQLocale ) -> NIL - - ENDCLASS - - -METHOD QValidator:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QValidator( ... ) - RETURN Self - - -METHOD QValidator:locale( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QValidator_locale( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QValidator:setLocale( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QValidator_setLocale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg deleted file mode 100644 index 950314670e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWheelEvent.prg +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWheelEvent( ... ) - RETURN HB_QWheelEvent():new( ... ) - -FUNCTION QWheelEventFromPointer( ... ) - RETURN HB_QWheelEvent():fromPointer( ... ) - - -CREATE CLASS QWheelEvent INHERIT HbQtObjectHandler, HB_QInputEvent FUNCTION HB_QWheelEvent - - METHOD new( ... ) - - METHOD buttons // ( ) -> nQt_MouseButtons - METHOD delta // ( ) -> nInt - METHOD globalPos // ( ) -> oQPoint - METHOD globalX // ( ) -> nInt - METHOD globalY // ( ) -> nInt - METHOD orientation // ( ) -> nQt_Orientation - METHOD pos // ( ) -> oQPoint - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - - ENDCLASS - - -METHOD QWheelEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWheelEvent( ... ) - RETURN Self - - -METHOD QWheelEvent:buttons( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_buttons( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:delta( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_delta( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:globalPos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QWheelEvent_globalPos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:globalX( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_globalX( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:globalY( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_globalY( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:orientation( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_orientation( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QWheelEvent_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWheelEvent:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWheelEvent_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWidget.prg b/harbour/contrib/hbqt/qtgui/g/TQWidget.prg deleted file mode 100644 index 88b6be53e6..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWidget.prg +++ /dev/null @@ -1,2199 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWidget( ... ) - RETURN HB_QWidget():new( ... ) - -FUNCTION QWidgetFromPointer( ... ) - RETURN HB_QWidget():fromPointer( ... ) - - -CREATE CLASS QWidget INHERIT HbQtObjectHandler, HB_QObject, HB_QPaintDevice FUNCTION HB_QWidget - - METHOD new( ... ) - - METHOD acceptDrops // ( ) -> lBool - METHOD actions // ( ) -> oQList_QAction - METHOD activateWindow // ( ) -> NIL - METHOD addAction // ( oQAction ) -> NIL - METHOD adjustSize // ( ) -> NIL - METHOD autoFillBackground // ( ) -> lBool - METHOD backgroundRole // ( ) -> nQPalette_ColorRole - METHOD baseSize // ( ) -> oQSize - METHOD childAt // ( nX, nY ) -> oQWidget - // ( oQPoint ) -> oQWidget - METHOD childrenRect // ( ) -> oQRect - METHOD childrenRegion // ( ) -> oQRegion - METHOD clearFocus // ( ) -> NIL - METHOD clearMask // ( ) -> NIL - METHOD contentsRect // ( ) -> oQRect - METHOD contextMenuPolicy // ( ) -> nQt_ContextMenuPolicy - METHOD cursor // ( ) -> oQCursor - METHOD ensurePolished // ( ) -> NIL - METHOD focusPolicy // ( ) -> nQt_FocusPolicy - METHOD focusProxy // ( ) -> oQWidget - METHOD focusWidget // ( ) -> oQWidget - METHOD font // ( ) -> oQFont - METHOD fontInfo // ( ) -> oQFontInfo - METHOD fontMetrics // ( ) -> oQFontMetrics - METHOD foregroundRole // ( ) -> nQPalette_ColorRole - METHOD frameGeometry // ( ) -> oQRect - METHOD frameSize // ( ) -> oQSize - METHOD geometry // ( ) -> oQRect - METHOD getContentsMargins // ( @nLeft, @nTop, @nRight, @nBottom ) -> NIL - METHOD grabKeyboard // ( ) -> NIL - METHOD grabMouse // ( ) -> NIL - // ( oQCursor ) -> NIL - METHOD grabShortcut // ( oQKeySequence, nContext ) -> nInt - METHOD hasFocus // ( ) -> lBool - METHOD hasMouseTracking // ( ) -> lBool - METHOD height // ( ) -> nInt - METHOD heightForWidth // ( nW ) -> nInt - METHOD inputMethodQuery // ( nQuery ) -> oQVariant - METHOD insertAction // ( oQAction, oQAction ) -> NIL - METHOD isActiveWindow // ( ) -> lBool - METHOD isAncestorOf // ( oQWidget ) -> lBool - METHOD isEnabled // ( ) -> lBool - METHOD isEnabledTo // ( oQWidget ) -> lBool - METHOD isFullScreen // ( ) -> lBool - METHOD isHidden // ( ) -> lBool - METHOD isMaximized // ( ) -> lBool - METHOD isMinimized // ( ) -> lBool - METHOD isModal // ( ) -> lBool - METHOD isVisible // ( ) -> lBool - METHOD isVisibleTo // ( oQWidget ) -> lBool - METHOD isWindow // ( ) -> lBool - METHOD isWindowModified // ( ) -> lBool - METHOD layout // ( ) -> oQLayout - METHOD layoutDirection // ( ) -> nQt_LayoutDirection - METHOD locale // ( ) -> oQLocale - METHOD mapFrom // ( oQWidget, oQPoint ) -> oQPoint - METHOD mapFromGlobal // ( oQPoint ) -> oQPoint - METHOD mapFromParent // ( oQPoint ) -> oQPoint - METHOD mapTo // ( oQWidget, oQPoint ) -> oQPoint - METHOD mapToGlobal // ( oQPoint ) -> oQPoint - METHOD mapToParent // ( oQPoint ) -> oQPoint - METHOD mask // ( ) -> oQRegion - METHOD maximumHeight // ( ) -> nInt - METHOD maximumSize // ( ) -> oQSize - METHOD maximumWidth // ( ) -> nInt - METHOD minimumHeight // ( ) -> nInt - METHOD minimumSize // ( ) -> oQSize - METHOD minimumSizeHint // ( ) -> oQSize - METHOD minimumWidth // ( ) -> nInt - METHOD move // ( nX, nY ) -> NIL - // ( oQPoint ) -> NIL - METHOD nativeParentWidget // ( ) -> oQWidget - METHOD nextInFocusChain // ( ) -> oQWidget - METHOD normalGeometry // ( ) -> oQRect - METHOD overrideWindowFlags // ( nFlags ) -> NIL - METHOD paintEngine // ( ) -> oQPaintEngine - METHOD palette // ( ) -> oQPalette - METHOD parentWidget // ( ) -> oQWidget - METHOD pos // ( ) -> oQPoint - METHOD rect // ( ) -> oQRect - METHOD releaseKeyboard // ( ) -> NIL - METHOD releaseMouse // ( ) -> NIL - METHOD releaseShortcut // ( nId ) -> NIL - METHOD removeAction // ( oQAction ) -> NIL - METHOD repaint // ( nX, nY, nW, nH ) -> NIL - // ( oQRect ) -> NIL - // ( oQRegion ) -> NIL - METHOD resize // ( nW, nH ) -> NIL - // ( oQSize ) -> NIL - METHOD restoreGeometry // ( oQByteArray ) -> lBool - METHOD saveGeometry // ( ) -> oQByteArray - METHOD scroll // ( nDx, nDy ) -> NIL - // ( nDx, nDy, oQRect ) -> NIL - METHOD setAcceptDrops // ( lOn ) -> NIL - METHOD setAttribute // ( nAttribute, lOn ) -> NIL - METHOD setAutoFillBackground // ( lEnabled ) -> NIL - METHOD setBackgroundRole // ( nRole ) -> NIL - METHOD setBaseSize // ( oQSize ) -> NIL - // ( nBasew, nBaseh ) -> NIL - METHOD setContentsMargins // ( nLeft, nTop, nRight, nBottom ) -> NIL - METHOD setContextMenuPolicy // ( nPolicy ) -> NIL - METHOD setCursor // ( oQCursor ) -> NIL - METHOD setFixedHeight // ( nH ) -> NIL - METHOD setFixedSize // ( oQSize ) -> NIL - // ( nW, nH ) -> NIL - METHOD setFixedWidth // ( nW ) -> NIL - METHOD setFocus // ( nReason ) -> NIL - METHOD setFocusPolicy // ( nPolicy ) -> NIL - METHOD setFocusProxy // ( oQWidget ) -> NIL - METHOD setFont // ( oQFont ) -> NIL - METHOD setForegroundRole // ( nRole ) -> NIL - METHOD setGeometry // ( oQRect ) -> NIL - // ( nX, nY, nW, nH ) -> NIL - METHOD setLayout // ( oQLayout ) -> NIL - METHOD setLayoutDirection // ( nDirection ) -> NIL - METHOD setLocale // ( oQLocale ) -> NIL - METHOD setMask // ( oQBitmap ) -> NIL - // ( oQRegion ) -> NIL - METHOD setMaximumHeight // ( nMaxh ) -> NIL - METHOD setMaximumSize // ( oQSize ) -> NIL - // ( nMaxw, nMaxh ) -> NIL - METHOD setMaximumWidth // ( nMaxw ) -> NIL - METHOD setMinimumHeight // ( nMinh ) -> NIL - METHOD setMinimumSize // ( oQSize ) -> NIL - // ( nMinw, nMinh ) -> NIL - METHOD setMinimumWidth // ( nMinw ) -> NIL - METHOD setMouseTracking // ( lEnable ) -> NIL - METHOD setPalette // ( oQPalette ) -> NIL - METHOD setParent // ( oQWidget ) -> NIL - // ( oQWidget, nF ) -> NIL - METHOD setShortcutAutoRepeat // ( nId, lEnable ) -> NIL - METHOD setShortcutEnabled // ( nId, lEnable ) -> NIL - METHOD setSizeIncrement // ( oQSize ) -> NIL - // ( nW, nH ) -> NIL - METHOD setSizePolicy // ( oQSizePolicy ) -> NIL - // ( nHorizontal, nVertical ) -> NIL - METHOD setStatusTip // ( cQString ) -> NIL - METHOD setStyle // ( oQStyle ) -> NIL - METHOD setToolTip // ( cQString ) -> NIL - METHOD setUpdatesEnabled // ( lEnable ) -> NIL - METHOD setWhatsThis // ( cQString ) -> NIL - METHOD setWindowFilePath // ( cFilePath ) -> NIL - METHOD setWindowFlags // ( nType ) -> NIL - METHOD setWindowIcon // ( coQIcon ) -> NIL - METHOD setWindowIconText // ( cQString ) -> NIL - METHOD setWindowModality // ( nWindowModality ) -> NIL - METHOD setWindowOpacity // ( nLevel ) -> NIL - METHOD setWindowRole // ( cRole ) -> NIL - METHOD setWindowState // ( nWindowState ) -> NIL - METHOD size // ( ) -> oQSize - METHOD sizeHint // ( ) -> oQSize - METHOD sizeIncrement // ( ) -> oQSize - METHOD sizePolicy // ( ) -> oQSizePolicy - METHOD stackUnder // ( oQWidget ) -> NIL - METHOD statusTip // ( ) -> cQString - METHOD style // ( ) -> oQStyle - METHOD styleSheet // ( ) -> cQString - METHOD testAttribute // ( nAttribute ) -> lBool - METHOD toolTip // ( ) -> cQString - METHOD underMouse // ( ) -> lBool - METHOD unsetCursor // ( ) -> NIL - METHOD unsetLayoutDirection // ( ) -> NIL - METHOD unsetLocale // ( ) -> NIL - METHOD update // ( nX, nY, nW, nH ) -> NIL - // ( oQRect ) -> NIL - // ( oQRegion ) -> NIL - METHOD updateGeometry // ( ) -> NIL - METHOD updatesEnabled // ( ) -> lBool - METHOD visibleRegion // ( ) -> oQRegion - METHOD whatsThis // ( ) -> cQString - METHOD width // ( ) -> nInt - METHOD window // ( ) -> oQWidget - METHOD windowFilePath // ( ) -> cQString - METHOD windowFlags // ( ) -> nQt_WindowFlags - METHOD windowIcon // ( ) -> oQIcon - METHOD windowIconText // ( ) -> cQString - METHOD windowModality // ( ) -> nQt_WindowModality - METHOD windowOpacity // ( ) -> nQreal - METHOD windowRole // ( ) -> cQString - METHOD windowState // ( ) -> nQt_WindowStates - METHOD windowTitle // ( ) -> cQString - METHOD windowType // ( ) -> nQt_WindowType - METHOD x // ( ) -> nInt - METHOD y // ( ) -> nInt - METHOD keyboardGrabber // ( ) -> oQWidget - METHOD mouseGrabber // ( ) -> oQWidget - METHOD setTabOrder // ( oQWidget, oQWidget ) -> NIL - METHOD close // ( ) -> lBool - METHOD hide // ( ) -> NIL - METHOD lower // ( ) -> NIL - METHOD raise // ( ) -> NIL - // ( ) -> NIL - METHOD setDisabled // ( lDisable ) -> NIL - METHOD setEnabled // ( lEnable ) -> NIL - // ( ) -> NIL - METHOD setHidden // ( lHidden ) -> NIL - METHOD setStyleSheet // ( cStyleSheet ) -> NIL - METHOD setVisible // ( lVisible ) -> NIL - METHOD setWindowModified // ( lModified ) -> NIL - METHOD setWindowTitle // ( cTitle ) -> NIL - METHOD show // ( ) -> NIL - METHOD showFullScreen // ( ) -> NIL - METHOD showMaximized // ( ) -> NIL - METHOD showMinimized // ( ) -> NIL - METHOD showNormal // ( ) -> NIL - // ( ) -> NIL - - ENDCLASS - - -METHOD QWidget:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWidget( ... ) - RETURN Self - - -METHOD QWidget:acceptDrops( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_acceptDrops( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:actions( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QWidget_actions( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:activateWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_activateWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:addAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_addAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:adjustSize( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_adjustSize( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:autoFillBackground( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_autoFillBackground( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:backgroundRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_backgroundRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:baseSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_baseSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:childAt( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QWidget_childAt( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QWidget_childAt_1( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:childrenRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWidget_childrenRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:childrenRegion( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegionFromPointer( Qt_QWidget_childrenRegion( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:clearFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_clearFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:clearMask( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_clearMask( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:contentsRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWidget_contentsRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:contextMenuPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_contextMenuPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:cursor( ... ) - SWITCH PCount() - CASE 0 - RETURN QCursorFromPointer( Qt_QWidget_cursor( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:ensurePolished( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_ensurePolished( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:focusPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_focusPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:focusProxy( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_focusProxy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:focusWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_focusWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:font( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontFromPointer( Qt_QWidget_font( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:fontInfo( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontInfoFromPointer( Qt_QWidget_fontInfo( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:fontMetrics( ... ) - SWITCH PCount() - CASE 0 - RETURN QFontMetricsFromPointer( Qt_QWidget_fontMetrics( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:foregroundRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_foregroundRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:frameGeometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWidget_frameGeometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:frameSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_frameSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWidget_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:getContentsMargins( ... ) - 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_QWidget_getContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:grabKeyboard( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_grabKeyboard( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:grabMouse( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_grabMouse_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QWidget_grabMouse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:grabShortcut( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_grabShortcut( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_grabShortcut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:hasFocus( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_hasFocus( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:hasMouseTracking( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_hasMouseTracking( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:height( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_height( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:heightForWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_heightForWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:inputMethodQuery( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QWidget_inputMethodQuery( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:insertAction( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_insertAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isActiveWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isActiveWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isAncestorOf( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_isAncestorOf( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isEnabledTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_isEnabledTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isFullScreen( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isFullScreen( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isHidden( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isHidden( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isMaximized( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isMaximized( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isMinimized( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isMinimized( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isModal( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isModal( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isVisible( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isVisible( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isVisibleTo( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_isVisibleTo( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isWindow( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isWindow( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:isWindowModified( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_isWindowModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:layout( ... ) - SWITCH PCount() - CASE 0 - RETURN QLayoutFromPointer( Qt_QWidget_layout( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:layoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_layoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:locale( ... ) - SWITCH PCount() - CASE 0 - RETURN QLocaleFromPointer( Qt_QWidget_locale( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mapFrom( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QPointFromPointer( Qt_QWidget_mapFrom( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mapFromGlobal( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPointFromPointer( Qt_QWidget_mapFromGlobal( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mapFromParent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPointFromPointer( Qt_QWidget_mapFromParent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mapTo( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QPointFromPointer( Qt_QWidget_mapTo( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mapToGlobal( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPointFromPointer( Qt_QWidget_mapToGlobal( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mapToParent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QPointFromPointer( Qt_QWidget_mapToParent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mask( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegionFromPointer( Qt_QWidget_mask( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:maximumHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_maximumHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:maximumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_maximumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:maximumWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_maximumWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:minimumHeight( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_minimumHeight( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:minimumSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_minimumSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:minimumSizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_minimumSizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:minimumWidth( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_minimumWidth( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:move( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_move( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_move_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:nativeParentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_nativeParentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:nextInFocusChain( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_nextInFocusChain( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:normalGeometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWidget_normalGeometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:overrideWindowFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_overrideWindowFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:paintEngine( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaintEngineFromPointer( Qt_QWidget_paintEngine( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:palette( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaletteFromPointer( Qt_QWidget_palette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:parentWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_parentWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QWidget_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:rect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWidget_rect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:releaseKeyboard( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_releaseKeyboard( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:releaseMouse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_releaseMouse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:releaseShortcut( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_releaseShortcut( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:removeAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_removeAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:repaint( ... ) - 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_QWidget_repaint( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - 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 - EXIT - CASE 0 - RETURN Qt_QWidget_repaint_3( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:resize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_resize( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_resize_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:restoreGeometry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_restoreGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:saveGeometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QWidget_saveGeometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:scroll( ... ) - 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_QWidget_scroll_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_scroll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setAcceptDrops( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setAcceptDrops( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setAttribute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setAutoFillBackground( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setAutoFillBackground( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setBackgroundRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setBackgroundRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setBaseSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setBaseSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setBaseSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setContentsMargins( ... ) - 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_QWidget_setContentsMargins( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setContextMenuPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setContextMenuPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setCursor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setCursor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFixedHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFixedHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFixedSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setFixedSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFixedSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFixedWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFixedWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFocus( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFocus( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QWidget_setFocus_1( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFocusPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFocusPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFocusProxy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFocusProxy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setFont( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setFont( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setForegroundRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setForegroundRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setGeometry( ... ) - 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_QWidget_setGeometry_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setGeometry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setLayout( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setLayout( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setLayoutDirection( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setLayoutDirection( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setLocale( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setLocale( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMask( ... ) - SWITCH PCount() - CASE 1 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMaximumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMaximumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMaximumSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setMaximumSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMaximumSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMaximumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMaximumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMinimumHeight( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMinimumHeight( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMinimumSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setMinimumSize_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMinimumSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMinimumWidth( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMinimumWidth( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setMouseTracking( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setMouseTracking( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setPalette( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setPalette( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setParent( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setParent_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setParent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setShortcutAutoRepeat( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setShortcutAutoRepeat( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setShortcutAutoRepeat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setShortcutEnabled( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setShortcutEnabled( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setShortcutEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setSizeIncrement( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setSizeIncrement_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setSizeIncrement( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setSizePolicy( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setSizePolicy_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setSizePolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setStatusTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setStatusTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setToolTip( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setToolTip( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setUpdatesEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setUpdatesEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWhatsThis( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWhatsThis( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowFilePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowFilePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowFlags( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowFlags( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowIcon( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE ( hb_isObject( hb_pvalue( 1 ) ) .OR. hb_isChar( hb_pvalue( 1 ) ) ) - RETURN Qt_QWidget_setWindowIcon( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowIconText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowIconText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowModality( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowModality( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowOpacity( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowOpacity( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowRole( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowRole( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowState( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowState( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:size( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_size( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:sizeHint( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_sizeHint( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:sizeIncrement( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWidget_sizeIncrement( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:sizePolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizePolicyFromPointer( Qt_QWidget_sizePolicy( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:stackUnder( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_stackUnder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:statusTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_statusTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:style( ... ) - SWITCH PCount() - CASE 0 - RETURN QStyleFromPointer( Qt_QWidget_style( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:styleSheet( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_styleSheet( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:testAttribute( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_testAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:toolTip( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_toolTip( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:underMouse( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_underMouse( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:unsetCursor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_unsetCursor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:unsetLayoutDirection( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_unsetLayoutDirection( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:unsetLocale( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_unsetLocale( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:update( ... ) - 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_QWidget_update( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - 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 - EXIT - CASE 0 - RETURN Qt_QWidget_update_3( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:updateGeometry( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_updateGeometry( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:updatesEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_updatesEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:visibleRegion( ... ) - SWITCH PCount() - CASE 0 - RETURN QRegionFromPointer( Qt_QWidget_visibleRegion( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:whatsThis( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_whatsThis( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:width( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_width( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:window( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_window( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowFilePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowFilePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowFlags( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowFlags( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowIcon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QWidget_windowIcon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowIconText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowIconText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowModality( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowModality( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowOpacity( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowOpacity( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowRole( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowRole( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowTitle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowTitle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:windowType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_windowType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:x( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_x( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:y( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_y( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:keyboardGrabber( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_keyboardGrabber( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:mouseGrabber( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidget_mouseGrabber( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setTabOrder( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWidget_setTabOrder( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:hide( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_hide( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:lower( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_lower( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:raise( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_raise( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setDisabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setDisabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setHidden( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setHidden( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setStyleSheet( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setStyleSheet( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setVisible( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setVisible( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowModified( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowModified( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:setWindowTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWidget_setWindowTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:show( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_show( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:showFullScreen( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_showFullScreen( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:showMaximized( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_showMaximized( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:showMinimized( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_showMinimized( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidget:showNormal( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidget_showNormal( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg b/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg deleted file mode 100644 index 15dbf3e32e..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWidgetAction.prg +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWidgetAction( ... ) - RETURN HB_QWidgetAction():new( ... ) - -FUNCTION QWidgetActionFromPointer( ... ) - RETURN HB_QWidgetAction():fromPointer( ... ) - - -CREATE CLASS QWidgetAction INHERIT HbQtObjectHandler, HB_QAction FUNCTION HB_QWidgetAction - - METHOD new( ... ) - - METHOD defaultWidget // ( ) -> oQWidget - METHOD releaseWidget // ( oQWidget ) -> NIL - METHOD requestWidget // ( oQWidget ) -> oQWidget - METHOD setDefaultWidget // ( oQWidget ) -> NIL - - ENDCLASS - - -METHOD QWidgetAction:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWidgetAction( ... ) - RETURN Self - - -METHOD QWidgetAction:defaultWidget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidgetAction_defaultWidget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidgetAction:releaseWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidgetAction_releaseWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidgetAction:requestWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QWidgetAction_requestWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidgetAction:setDefaultWidget( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWidgetAction_setDefaultWidget( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg b/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg deleted file mode 100644 index 35a3d1cdfc..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWidgetItem.prg +++ /dev/null @@ -1,68 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWidgetItem( ... ) - RETURN HB_QWidgetItem():new( ... ) - -FUNCTION QWidgetItemFromPointer( ... ) - RETURN HB_QWidgetItem():fromPointer( ... ) - - -CREATE CLASS QWidgetItem INHERIT HbQtObjectHandler, HB_QLayoutItem FUNCTION HB_QWidgetItem - - METHOD new( ... ) - - METHOD isEmpty // ( ) -> lBool - METHOD widget // ( ) -> oQWidget - - ENDCLASS - - -METHOD QWidgetItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWidgetItem( ... ) - RETURN Self - - -METHOD QWidgetItem:isEmpty( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWidgetItem_isEmpty( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWidgetItem:widget( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWidgetItem_widget( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg deleted file mode 100644 index be4ab7842f..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWindowStateChangeEvent.prg +++ /dev/null @@ -1,59 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWindowStateChangeEvent( ... ) - RETURN HB_QWindowStateChangeEvent():new( ... ) - -FUNCTION QWindowStateChangeEventFromPointer( ... ) - RETURN HB_QWindowStateChangeEvent():fromPointer( ... ) - - -CREATE CLASS QWindowStateChangeEvent INHERIT HbQtObjectHandler, HB_QEvent FUNCTION HB_QWindowStateChangeEvent - - METHOD new( ... ) - - METHOD oldState // ( ) -> nQt_WindowStates - - ENDCLASS - - -METHOD QWindowStateChangeEvent:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWindowStateChangeEvent( ... ) - RETURN Self - - -METHOD QWindowStateChangeEvent:oldState( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWindowStateChangeEvent_oldState( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg b/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg deleted file mode 100644 index f4c3371bce..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWindowsStyle.prg +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWindowsStyle( ... ) - RETURN HB_QWindowsStyle():new( ... ) - -FUNCTION QWindowsStyleFromPointer( ... ) - RETURN HB_QWindowsStyle():fromPointer( ... ) - - -CREATE CLASS QWindowsStyle INHERIT HbQtObjectHandler, HB_QCommonStyle FUNCTION HB_QWindowsStyle - - METHOD new( ... ) - - - ENDCLASS - - -METHOD QWindowsStyle:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWindowsStyle( ... ) - RETURN Self - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWizard.prg b/harbour/contrib/hbqt/qtgui/g/TQWizard.prg deleted file mode 100644 index b8a691a349..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWizard.prg +++ /dev/null @@ -1,455 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWizard( ... ) - RETURN HB_QWizard():new( ... ) - -FUNCTION QWizardFromPointer( ... ) - RETURN HB_QWizard():fromPointer( ... ) - - -CREATE CLASS QWizard INHERIT HbQtObjectHandler, HB_QDialog FUNCTION HB_QWizard - - METHOD new( ... ) - - METHOD addPage // ( oQWizardPage ) -> nInt - METHOD button // ( nWhich ) -> oQAbstractButton - METHOD buttonText // ( nWhich ) -> cQString - METHOD currentId // ( ) -> nInt - METHOD currentPage // ( ) -> oQWizardPage - METHOD field // ( cName ) -> oQVariant - METHOD hasVisitedPage // ( nId ) -> lBool - METHOD nextId // ( ) -> nInt - METHOD options // ( ) -> nWizardOptions - METHOD page // ( nId ) -> oQWizardPage - METHOD pageIds // ( ) -> oQList_int> - METHOD pixmap // ( nWhich ) -> oQPixmap - METHOD removePage // ( nId ) -> NIL - METHOD setButton // ( nWhich, oQAbstractButton ) -> NIL - METHOD setButtonText // ( nWhich, cText ) -> NIL - METHOD setDefaultProperty // ( cClassName, cProperty, cChangedSignal ) -> NIL - METHOD setField // ( cName, oQVariant ) -> NIL - METHOD setOption // ( nOption, lOn ) -> NIL - METHOD setOptions // ( nOptions ) -> NIL - METHOD setPage // ( nId, oQWizardPage ) -> NIL - METHOD setPixmap // ( nWhich, oQPixmap ) -> NIL - METHOD setStartId // ( nId ) -> NIL - METHOD setSubTitleFormat // ( nFormat ) -> NIL - METHOD setTitleFormat // ( nFormat ) -> NIL - METHOD setWizardStyle // ( nStyle ) -> NIL - METHOD startId // ( ) -> nInt - METHOD subTitleFormat // ( ) -> nQt_TextFormat - METHOD testOption // ( nOption ) -> lBool - METHOD titleFormat // ( ) -> nQt_TextFormat - METHOD validateCurrentPage // ( ) -> lBool - METHOD visitedPages // ( ) -> oQList_int> - METHOD wizardStyle // ( ) -> nWizardStyle - METHOD back // ( ) -> NIL - METHOD next // ( ) -> NIL - METHOD restart // ( ) -> NIL - - ENDCLASS - - -METHOD QWizard:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWizard( ... ) - RETURN Self - - -METHOD QWizard:addPage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_addPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:button( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QAbstractButtonFromPointer( Qt_QWizard_button( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:buttonText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_buttonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:currentId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_currentId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:currentPage( ... ) - SWITCH PCount() - CASE 0 - RETURN QWizardPageFromPointer( Qt_QWizard_currentPage( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:field( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QWizard_field( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:hasVisitedPage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_hasVisitedPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:nextId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_nextId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:options( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_options( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:page( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWizardPageFromPointer( Qt_QWizard_page( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:pageIds( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QWizard_pageIds( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:pixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QWizard_pixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:removePage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_removePage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setButton( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWizard_setButton( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setButtonText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QWizard_setButtonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setDefaultProperty( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QWizard_setDefaultProperty( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setField( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWizard_setField( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setOption( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWizard_setOption( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_setOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setOptions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_setOptions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setPage( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWizard_setPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setPixmap( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWizard_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setStartId( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_setStartId( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setSubTitleFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_setSubTitleFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setTitleFormat( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_setTitleFormat( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:setWizardStyle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_setWizardStyle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:startId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_startId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:subTitleFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_subTitleFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:testOption( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizard_testOption( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:titleFormat( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_titleFormat( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:validateCurrentPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_validateCurrentPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:visitedPages( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QWizard_visitedPages( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:wizardStyle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_wizardStyle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:back( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_back( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:next( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_next( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizard:restart( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizard_restart( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg b/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg deleted file mode 100644 index e6d9410658..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/TQWizardPage.prg +++ /dev/null @@ -1,235 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTGUI - - -FUNCTION QWizardPage( ... ) - RETURN HB_QWizardPage():new( ... ) - -FUNCTION QWizardPageFromPointer( ... ) - RETURN HB_QWizardPage():fromPointer( ... ) - - -CREATE CLASS QWizardPage INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QWizardPage - - METHOD new( ... ) - - METHOD buttonText // ( nWhich ) -> cQString - METHOD cleanupPage // ( ) -> NIL - METHOD initializePage // ( ) -> NIL - METHOD isCommitPage // ( ) -> lBool - METHOD isComplete // ( ) -> lBool - METHOD isFinalPage // ( ) -> lBool - METHOD nextId // ( ) -> nInt - METHOD pixmap // ( nWhich ) -> oQPixmap - METHOD setButtonText // ( nWhich, cText ) -> NIL - METHOD setCommitPage // ( lCommitPage ) -> NIL - METHOD setFinalPage // ( lFinalPage ) -> NIL - METHOD setPixmap // ( nWhich, oQPixmap ) -> NIL - METHOD setSubTitle // ( cSubTitle ) -> NIL - METHOD setTitle // ( cTitle ) -> NIL - METHOD subTitle // ( ) -> cQString - METHOD title // ( ) -> cQString - METHOD validatePage // ( ) -> lBool - - ENDCLASS - - -METHOD QWizardPage:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWizardPage( ... ) - RETURN Self - - -METHOD QWizardPage:buttonText( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWizardPage_buttonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:cleanupPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_cleanupPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:initializePage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_initializePage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:isCommitPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_isCommitPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:isComplete( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_isComplete( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:isFinalPage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_isFinalPage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:nextId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_nextId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:pixmap( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QWizardPage_pixmap( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:setButtonText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QWizardPage_setButtonText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:setCommitPage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWizardPage_setCommitPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:setFinalPage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWizardPage_setFinalPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:setPixmap( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWizardPage_setPixmap( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:setSubTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWizardPage_setSubTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:setTitle( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWizardPage_setTitle( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:subTitle( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_subTitle( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWizardPage:validatePage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWizardPage_validatePage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtgui/g/filelist.hbm b/harbour/contrib/hbqt/qtgui/g/filelist.hbm deleted file mode 100644 index cca3b03be8..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/filelist.hbm +++ /dev/null @@ -1,533 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -HBQAbstractItemModel.cpp -HBQGraphicsItem.cpp -HBQGraphicsScene.cpp -HBQPlainTextEdit.cpp -HBQSyntaxHighlighter.cpp -HBQTableView.cpp -HBQTextBlockUserData.cpp -QAbstractButton.cpp -QAbstractGraphicsShapeItem.cpp -QAbstractItemDelegate.cpp -QAbstractItemView.cpp -QAbstractPrintDialog.cpp -QAbstractProxyModel.cpp -QAbstractScrollArea.cpp -QAbstractSlider.cpp -QAbstractSpinBox.cpp -QAbstractTextDocumentLayout.cpp -QAction.cpp -QActionGroup.cpp -QApplication.cpp -QBitmap.cpp -QBoxLayout.cpp -QBrush.cpp -QButtonGroup.cpp -QCalendarWidget.cpp -QCheckBox.cpp -QClipboard.cpp -QColor.cpp -QColorDialog.cpp -QComboBox.cpp -QCommandLinkButton.cpp -QCommonStyle.cpp -QCompleter.cpp -QConicalGradient.cpp -QContextMenuEvent.cpp -QCursor.cpp -QDateEdit.cpp -QDateTimeEdit.cpp -QDesktopServices.cpp -QDesktopWidget.cpp -QDial.cpp -QDialog.cpp -QDirModel.cpp -QDockWidget.cpp -QDoubleSpinBox.cpp -QDoubleValidator.cpp -QDrag.cpp -QDragEnterEvent.cpp -QDragLeaveEvent.cpp -QDragMoveEvent.cpp -QDropEvent.cpp -QErrorMessage.cpp -QFileDialog.cpp -QFileIconProvider.cpp -QFileSystemModel.cpp -QFocusEvent.cpp -QFocusFrame.cpp -QFont.cpp -QFontComboBox.cpp -QFontDatabase.cpp -QFontDialog.cpp -QFontInfo.cpp -QFontMetrics.cpp -QFontMetricsF.cpp -QFormLayout.cpp -QFrame.cpp -QGradient.cpp -QGraphicsEllipseItem.cpp -QGraphicsGridLayout.cpp -QGraphicsItem.cpp -QGraphicsItemAnimation.cpp -QGraphicsItemGroup.cpp -QGraphicsLayout.cpp -QGraphicsLayoutItem.cpp -QGraphicsLinearLayout.cpp -QGraphicsLineItem.cpp -QGraphicsPathItem.cpp -QGraphicsPixmapItem.cpp -QGraphicsPolygonItem.cpp -QGraphicsProxyWidget.cpp -QGraphicsRectItem.cpp -QGraphicsScene.cpp -QGraphicsSceneContextMenuEvent.cpp -QGraphicsSceneDragDropEvent.cpp -QGraphicsSceneEvent.cpp -QGraphicsSceneHelpEvent.cpp -QGraphicsSceneHoverEvent.cpp -QGraphicsSceneMouseEvent.cpp -QGraphicsSceneMoveEvent.cpp -QGraphicsSceneResizeEvent.cpp -QGraphicsSceneWheelEvent.cpp -QGraphicsSimpleTextItem.cpp -QGraphicsTextItem.cpp -QGraphicsView.cpp -QGraphicsWidget.cpp -QGridLayout.cpp -QGroupBox.cpp -QHBoxLayout.cpp -QHeaderView.cpp -QHelpEvent.cpp -QHideEvent.cpp -QIcon.cpp -QImage.cpp -QImageReader.cpp -QImageWriter.cpp -QInputDialog.cpp -QInputEvent.cpp -QInputMethodEvent.cpp -QIntValidator.cpp -QItemDelegate.cpp -QItemEditorCreatorBase.cpp -QItemEditorFactory.cpp -QItemSelection.cpp -QItemSelectionModel.cpp -QKeyEvent.cpp -QKeySequence.cpp -QLabel.cpp -QLayout.cpp -QLayoutItem.cpp -QLCDNumber.cpp -QLinearGradient.cpp -QLineEdit.cpp -QListView.cpp -QListWidget.cpp -QListWidgetItem.cpp -QMainWindow.cpp -QMatrix.cpp -QMdiArea.cpp -QMdiSubWindow.cpp -QMenu.cpp -QMenuBar.cpp -QMessageBox.cpp -QMouseEvent.cpp -QMoveEvent.cpp -QMovie.cpp -QPageSetupDialog.cpp -QPaintDevice.cpp -QPaintEngine.cpp -QPainter.cpp -QPainterPath.cpp -QPaintEvent.cpp -QPalette.cpp -QPen.cpp -QPicture.cpp -QPixmap.cpp -QPlainTextDocumentLayout.cpp -QPlainTextEdit.cpp -QPolygon.cpp -QPolygonF.cpp -QPrintDialog.cpp -QPrintEngine.cpp -QPrinter.cpp -QPrinterInfo.cpp -QPrintPreviewDialog.cpp -QProgressBar.cpp -QProgressDialog.cpp -QPushButton.cpp -QRadialGradient.cpp -QRadioButton.cpp -QRegExpValidator.cpp -QRegion.cpp -QResizeEvent.cpp -QScrollArea.cpp -QScrollBar.cpp -QSessionManager.cpp -QShowEvent.cpp -QSizeGrip.cpp -QSizePolicy.cpp -QSlider.cpp -QSortFilterProxyModel.cpp -QSound.cpp -QSpacerItem.cpp -QSpinBox.cpp -QSplashScreen.cpp -QSplitter.cpp -QStackedWidget.cpp -QStandardItem.cpp -QStandardItemModel.cpp -QStatusBar.cpp -QStringListModel.cpp -QStyle.cpp -QStyledItemDelegate.cpp -QStyleFactory.cpp -QStyleHintReturn.cpp -QStyleHintReturnMask.cpp -QStyleHintReturnVariant.cpp -QStyleOption.cpp -QStyleOptionButton.cpp -QStyleOptionComboBox.cpp -QStyleOptionComplex.cpp -QStyleOptionDockWidget.cpp -QStyleOptionFocusRect.cpp -QStyleOptionFrame.cpp -QStyleOptionGraphicsItem.cpp -QStyleOptionGroupBox.cpp -QStyleOptionHeader.cpp -QStyleOptionMenuItem.cpp -QStyleOptionProgressBar.cpp -QStyleOptionSizeGrip.cpp -QStyleOptionSlider.cpp -QStyleOptionSpinBox.cpp -QStyleOptionTab.cpp -QStyleOptionTabBarBase.cpp -QStyleOptionTabWidgetFrame.cpp -QStyleOptionTitleBar.cpp -QStyleOptionToolBar.cpp -QStyleOptionToolBox.cpp -QStyleOptionToolButton.cpp -QStyleOptionViewItem.cpp -QStylePainter.cpp -QSyntaxHighlighter.cpp -QSystemTrayIcon.cpp -QTabBar.cpp -QTableView.cpp -QTableWidget.cpp -QTableWidgetItem.cpp -QTableWidgetSelectionRange.cpp -QTabWidget.cpp -QTextBlock.cpp -QTextBlockFormat.cpp -QTextBlockGroup.cpp -QTextBrowser.cpp -QTextCharFormat.cpp -QTextCursor.cpp -QTextDocument.cpp -QTextDocumentFragment.cpp -QTextDocumentWriter.cpp -QTextEdit.cpp -QTextFormat.cpp -QTextFragment.cpp -QTextFrame.cpp -QTextFrameFormat.cpp -QTextImageFormat.cpp -QTextInlineObject.cpp -QTextItem.cpp -QTextLayout.cpp -QTextLength.cpp -QTextLine.cpp -QTextList.cpp -QTextListFormat.cpp -QTextObject.cpp -QTextOption.cpp -QTextTableFormat.cpp -QTimeEdit.cpp -QToolBar.cpp -QToolBox.cpp -QToolButton.cpp -QTransform.cpp -QTreeView.cpp -QTreeWidget.cpp -QTreeWidgetItem.cpp -QValidator.cpp -QVBoxLayout.cpp -QWheelEvent.cpp -QWidget.cpp -QWidgetAction.cpp -QWidgetItem.cpp -QWindowsStyle.cpp -QWindowStateChangeEvent.cpp -QWizard.cpp -QWizardPage.cpp - -THBQAbstractItemModel.prg -THBQGraphicsItem.prg -THBQGraphicsScene.prg -THBQPlainTextEdit.prg -THBQSyntaxHighlighter.prg -THBQTableView.prg -THBQTextBlockUserData.prg -TQAbstractButton.prg -TQAbstractGraphicsShapeItem.prg -TQAbstractItemDelegate.prg -TQAbstractItemView.prg -TQAbstractPrintDialog.prg -TQAbstractProxyModel.prg -TQAbstractScrollArea.prg -TQAbstractSlider.prg -TQAbstractSpinBox.prg -TQAbstractTextDocumentLayout.prg -TQAction.prg -TQActionGroup.prg -TQApplication.prg -TQBitmap.prg -TQBoxLayout.prg -TQBrush.prg -TQButtonGroup.prg -TQCalendarWidget.prg -TQCheckBox.prg -TQClipboard.prg -TQColor.prg -TQColorDialog.prg -TQComboBox.prg -TQCommandLinkButton.prg -TQCommonStyle.prg -TQCompleter.prg -TQConicalGradient.prg -TQContextMenuEvent.prg -TQCursor.prg -TQDateEdit.prg -TQDateTimeEdit.prg -TQDesktopServices.prg -TQDesktopWidget.prg -TQDial.prg -TQDialog.prg -TQDirModel.prg -TQDockWidget.prg -TQDoubleSpinBox.prg -TQDoubleValidator.prg -TQDrag.prg -TQDragEnterEvent.prg -TQDragLeaveEvent.prg -TQDragMoveEvent.prg -TQDropEvent.prg -TQErrorMessage.prg -TQFileDialog.prg -TQFileIconProvider.prg -TQFileSystemModel.prg -TQFocusEvent.prg -TQFocusFrame.prg -TQFont.prg -TQFontComboBox.prg -TQFontDatabase.prg -TQFontDialog.prg -TQFontInfo.prg -TQFontMetrics.prg -TQFontMetricsF.prg -TQFormLayout.prg -TQFrame.prg -TQGradient.prg -TQGraphicsEllipseItem.prg -TQGraphicsGridLayout.prg -TQGraphicsItem.prg -TQGraphicsItemAnimation.prg -TQGraphicsItemGroup.prg -TQGraphicsLayout.prg -TQGraphicsLayoutItem.prg -TQGraphicsLinearLayout.prg -TQGraphicsLineItem.prg -TQGraphicsPathItem.prg -TQGraphicsPixmapItem.prg -TQGraphicsPolygonItem.prg -TQGraphicsProxyWidget.prg -TQGraphicsRectItem.prg -TQGraphicsScene.prg -TQGraphicsSceneContextMenuEvent.prg -TQGraphicsSceneDragDropEvent.prg -TQGraphicsSceneEvent.prg -TQGraphicsSceneHelpEvent.prg -TQGraphicsSceneHoverEvent.prg -TQGraphicsSceneMouseEvent.prg -TQGraphicsSceneMoveEvent.prg -TQGraphicsSceneResizeEvent.prg -TQGraphicsSceneWheelEvent.prg -TQGraphicsSimpleTextItem.prg -TQGraphicsTextItem.prg -TQGraphicsView.prg -TQGraphicsWidget.prg -TQGridLayout.prg -TQGroupBox.prg -TQHBoxLayout.prg -TQHeaderView.prg -TQHelpEvent.prg -TQHideEvent.prg -TQIcon.prg -TQImage.prg -TQImageReader.prg -TQImageWriter.prg -TQInputDialog.prg -TQInputEvent.prg -TQInputMethodEvent.prg -TQIntValidator.prg -TQItemDelegate.prg -TQItemEditorCreatorBase.prg -TQItemEditorFactory.prg -TQItemSelection.prg -TQItemSelectionModel.prg -TQKeyEvent.prg -TQKeySequence.prg -TQLabel.prg -TQLayout.prg -TQLayoutItem.prg -TQLCDNumber.prg -TQLinearGradient.prg -TQLineEdit.prg -TQListView.prg -TQListWidget.prg -TQListWidgetItem.prg -TQMainWindow.prg -TQMatrix.prg -TQMdiArea.prg -TQMdiSubWindow.prg -TQMenu.prg -TQMenuBar.prg -TQMessageBox.prg -TQMouseEvent.prg -TQMoveEvent.prg -TQMovie.prg -TQPageSetupDialog.prg -TQPaintDevice.prg -TQPaintEngine.prg -TQPainter.prg -TQPainterPath.prg -TQPaintEvent.prg -TQPalette.prg -TQPen.prg -TQPicture.prg -TQPixmap.prg -TQPlainTextDocumentLayout.prg -TQPlainTextEdit.prg -TQPolygon.prg -TQPolygonF.prg -TQPrintDialog.prg -TQPrintEngine.prg -TQPrinter.prg -TQPrinterInfo.prg -TQPrintPreviewDialog.prg -TQProgressBar.prg -TQProgressDialog.prg -TQPushButton.prg -TQRadialGradient.prg -TQRadioButton.prg -TQRegExpValidator.prg -TQRegion.prg -TQResizeEvent.prg -TQScrollArea.prg -TQScrollBar.prg -TQSessionManager.prg -TQShowEvent.prg -TQSizeGrip.prg -TQSizePolicy.prg -TQSlider.prg -TQSortFilterProxyModel.prg -TQSound.prg -TQSpacerItem.prg -TQSpinBox.prg -TQSplashScreen.prg -TQSplitter.prg -TQStackedWidget.prg -TQStandardItem.prg -TQStandardItemModel.prg -TQStatusBar.prg -TQStringListModel.prg -TQStyle.prg -TQStyledItemDelegate.prg -TQStyleFactory.prg -TQStyleHintReturn.prg -TQStyleHintReturnMask.prg -TQStyleHintReturnVariant.prg -TQStyleOption.prg -TQStyleOptionButton.prg -TQStyleOptionComboBox.prg -TQStyleOptionComplex.prg -TQStyleOptionDockWidget.prg -TQStyleOptionFocusRect.prg -TQStyleOptionFrame.prg -TQStyleOptionGraphicsItem.prg -TQStyleOptionGroupBox.prg -TQStyleOptionHeader.prg -TQStyleOptionMenuItem.prg -TQStyleOptionProgressBar.prg -TQStyleOptionSizeGrip.prg -TQStyleOptionSlider.prg -TQStyleOptionSpinBox.prg -TQStyleOptionTab.prg -TQStyleOptionTabBarBase.prg -TQStyleOptionTabWidgetFrame.prg -TQStyleOptionTitleBar.prg -TQStyleOptionToolBar.prg -TQStyleOptionToolBox.prg -TQStyleOptionToolButton.prg -TQStyleOptionViewItem.prg -TQStylePainter.prg -TQSyntaxHighlighter.prg -TQSystemTrayIcon.prg -TQTabBar.prg -TQTableView.prg -TQTableWidget.prg -TQTableWidgetItem.prg -TQTableWidgetSelectionRange.prg -TQTabWidget.prg -TQTextBlock.prg -TQTextBlockFormat.prg -TQTextBlockGroup.prg -TQTextBrowser.prg -TQTextCharFormat.prg -TQTextCursor.prg -TQTextDocument.prg -TQTextDocumentFragment.prg -TQTextDocumentWriter.prg -TQTextEdit.prg -TQTextFormat.prg -TQTextFragment.prg -TQTextFrame.prg -TQTextFrameFormat.prg -TQTextImageFormat.prg -TQTextInlineObject.prg -TQTextItem.prg -TQTextLayout.prg -TQTextLength.prg -TQTextLine.prg -TQTextList.prg -TQTextListFormat.prg -TQTextObject.prg -TQTextOption.prg -TQTextTableFormat.prg -TQTimeEdit.prg -TQToolBar.prg -TQToolBox.prg -TQToolButton.prg -TQTransform.prg -TQTreeView.prg -TQTreeWidget.prg -TQTreeWidgetItem.prg -TQValidator.prg -TQVBoxLayout.prg -TQWheelEvent.prg -TQWidget.prg -TQWidgetAction.prg -TQWidgetItem.prg -TQWindowsStyle.prg -TQWindowStateChangeEvent.prg -TQWizard.prg -TQWizardPage.prg diff --git a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h deleted file mode 100644 index 23640adce5..0000000000 --- a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h +++ /dev/null @@ -1,1068 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQTGUI_H -#define __HBQTGUI_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQAbstractItemModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQGraphicsItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQGraphicsScene ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQPlainTextEdit ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQSyntaxHighlighter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQTableView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQTextBlockUserData ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractGraphicsShapeItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemDelegate ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractPrintDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractProxyModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractScrollArea ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractSlider ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractSpinBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractTextDocumentLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAction ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QActionGroup ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QApplication ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QBitmap ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QBoxLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QBrush ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QButtonGroup ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCalendarWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCheckBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QClipboard ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QColor ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QColorDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QComboBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCommandLinkButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCommonStyle ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QCompleter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QConicalGradient ); -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 ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDirModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDockWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDoubleSpinBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDoubleValidator ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDrag ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDragEnterEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDragLeaveEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDragMoveEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDropEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QErrorMessage ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFileDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFileIconProvider ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFileSystemModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFocusEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFocusFrame ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFont ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontComboBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontDatabase ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontInfo ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontMetrics ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontMetricsF ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFormLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFrame ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGradient ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsEllipseItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsGridLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemAnimation ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemGroup ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayoutItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLinearLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLineItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPathItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPixmapItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPolygonItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsProxyWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsRectItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsScene ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneContextMenuEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneDragDropEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHelpEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHoverEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMouseEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMoveEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneResizeEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneWheelEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSimpleTextItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsTextItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGridLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGroupBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHBoxLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHeaderView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHelpEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHideEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QIcon ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QImage ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QImageReader ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QImageWriter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QInputDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QInputEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QInputMethodEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QIntValidator ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemDelegate ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemEditorCreatorBase ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemEditorFactory ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemSelection ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemSelectionModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QKeyEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QKeySequence ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLabel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLayoutItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLCDNumber ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLinearGradient ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLineEdit ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QListView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QListWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QListWidgetItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMainWindow ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMatrix ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMdiArea ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMdiSubWindow ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMenu ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMenuBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMessageBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMouseEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMoveEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMovie ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPageSetupDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPaintDevice ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPaintEngine ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPainter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPainterPath ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPaintEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPalette ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPen ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPicture ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPixmap ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPlainTextDocumentLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPlainTextEdit ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPolygon ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPolygonF ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPrintDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPrintEngine ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPrinter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPrinterInfo ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPrintPreviewDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QProgressBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QProgressDialog ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPushButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRadialGradient ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRadioButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRegExpValidator ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRegion ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QResizeEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QScrollArea ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QScrollBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSessionManager ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QShowEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSizeGrip ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSizePolicy ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSlider ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSortFilterProxyModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSound ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSpacerItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSpinBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSplashScreen ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSplitter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStackedWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStandardItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStandardItemModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStatusBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStringListModel ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyle ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyledItemDelegate ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleFactory ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleHintReturn ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleHintReturnMask ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleHintReturnVariant ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOption ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionComboBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionComplex ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionDockWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionFocusRect ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionFrame ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGraphicsItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGroupBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionHeader ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionMenuItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionProgressBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionSizeGrip ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionSlider ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionSpinBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTab ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTabBarBase ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTabWidgetFrame ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionTitleBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionToolBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionToolBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionToolButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionViewItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStylePainter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSyntaxHighlighter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSystemTrayIcon ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTabBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTableView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTableWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTableWidgetItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTableWidgetSelectionRange ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTabWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextBlock ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextBlockFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextBlockGroup ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextBrowser ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextCharFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextCursor ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextDocument ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextDocumentFragment ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextDocumentWriter ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextEdit ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextFragment ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextFrame ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextFrameFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextImageFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextInlineObject ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextLength ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextLine ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextList ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextListFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextObject ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextOption ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextTableFormat ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTimeEdit ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QToolBar ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QToolBox ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QToolButton ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTransform ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTreeView ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTreeWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTreeWidgetItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QValidator ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QVBoxLayout ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWheelEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWidget ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWidgetAction ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWidgetItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWindowsStyle ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWindowStateChangeEvent ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWizard ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWizardPage ); - -extern HB_EXPORT void * hbqt_gcAllocate_HBQAbstractItemModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQGraphicsItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQGraphicsScene( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQPlainTextEdit( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQSyntaxHighlighter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQTableView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_HBQTextBlockUserData( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractGraphicsShapeItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractItemDelegate( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractItemView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractPrintDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractProxyModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractScrollArea( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractSlider( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractSpinBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAbstractTextDocumentLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QAction( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QActionGroup( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QApplication( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QBitmap( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QBoxLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QBrush( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QButtonGroup( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QCalendarWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QCheckBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QClipboard( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QColor( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QColorDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QComboBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QCommandLinkButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QCommonStyle( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QCompleter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QConicalGradient( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QContextMenuEvent( void * pObj, bool bNew ); -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 ); -extern HB_EXPORT void * hbqt_gcAllocate_QDirModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDockWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDoubleSpinBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDoubleValidator( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDrag( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDragEnterEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDragLeaveEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDragMoveEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QDropEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QErrorMessage( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFileDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFileIconProvider( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFileSystemModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFocusEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFocusFrame( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFont( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFontComboBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFontDatabase( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFontDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFontInfo( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFontMetrics( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFontMetricsF( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFormLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QFrame( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGradient( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsEllipseItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsGridLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsItemAnimation( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsItemGroup( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLayoutItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLinearLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLineItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPathItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPixmapItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPolygonItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsProxyWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsRectItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsScene( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneContextMenuEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneDragDropEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneHelpEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneHoverEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneMouseEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneMoveEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneResizeEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneWheelEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSimpleTextItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsTextItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGridLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QGroupBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHBoxLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHeaderView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHelpEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHideEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QIcon( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QImage( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QImageReader( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QImageWriter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QInputDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QInputEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QInputMethodEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QIntValidator( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QItemDelegate( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QItemEditorCreatorBase( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QItemEditorFactory( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QItemSelection( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QItemSelectionModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QKeyEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QKeySequence( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLabel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLayoutItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLCDNumber( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLinearGradient( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QLineEdit( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QListView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QListWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QListWidgetItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMainWindow( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMatrix( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMdiArea( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMdiSubWindow( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMenu( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMenuBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMessageBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMouseEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMoveEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QMovie( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPageSetupDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPaintDevice( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPaintEngine( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPainter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPainterPath( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPaintEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPalette( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPen( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPicture( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPixmap( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPlainTextDocumentLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPlainTextEdit( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPolygon( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPolygonF( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPrintDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPrintEngine( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPrinter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPrinterInfo( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPrintPreviewDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QProgressBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QProgressDialog( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QPushButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRadialGradient( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRadioButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRegExpValidator( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QRegion( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QResizeEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QScrollArea( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QScrollBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSessionManager( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QShowEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSizeGrip( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSizePolicy( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSlider( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSortFilterProxyModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSound( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSpacerItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSpinBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSplashScreen( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSplitter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStackedWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStandardItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStandardItemModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStatusBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStringListModel( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyle( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyledItemDelegate( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleFactory( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleHintReturn( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleHintReturnMask( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleHintReturnVariant( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOption( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionComboBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionComplex( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionDockWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionFocusRect( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionFrame( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionGraphicsItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionGroupBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionHeader( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionMenuItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionProgressBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionSizeGrip( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionSlider( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionSpinBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionTab( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionTabBarBase( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionTabWidgetFrame( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionTitleBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionToolBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionToolBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionToolButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionViewItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QStylePainter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSyntaxHighlighter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QSystemTrayIcon( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTabBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTableView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTableWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTableWidgetItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTableWidgetSelectionRange( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTabWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextBlock( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextBlockFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextBlockGroup( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextBrowser( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextCharFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextCursor( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextDocument( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextDocumentFragment( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextDocumentWriter( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextEdit( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextFragment( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextFrame( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextFrameFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextImageFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextInlineObject( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextLength( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextLine( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextList( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextListFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextObject( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextOption( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTextTableFormat( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTimeEdit( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QToolBar( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QToolBox( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QToolButton( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTransform( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTreeView( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTreeWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QTreeWidgetItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QValidator( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QVBoxLayout( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWheelEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWidget( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWidgetAction( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWidgetItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWindowsStyle( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWindowStateChangeEvent( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWizard( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWizardPage( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_HBQAbstractItemModel( n ) ( ( HBQAbstractItemModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQGraphicsItem( n ) ( ( HBQGraphicsItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQGraphicsScene( n ) ( ( HBQGraphicsScene * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQPlainTextEdit( n ) ( ( HBQPlainTextEdit * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQSyntaxHighlighter( n ) ( ( HBQSyntaxHighlighter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQTableView( n ) ( ( HBQTableView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_HBQTextBlockUserData( n ) ( ( HBQTextBlockUserData * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractButton( n ) ( ( QAbstractButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractGraphicsShapeItem( n ) ( ( QAbstractGraphicsShapeItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractItemDelegate( n ) ( ( QAbstractItemDelegate * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractItemView( n ) ( ( QAbstractItemView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractPrintDialog( n ) ( ( QAbstractPrintDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractProxyModel( n ) ( ( QAbstractProxyModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractScrollArea( n ) ( ( QAbstractScrollArea * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractSlider( n ) ( ( QAbstractSlider * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractSpinBox( n ) ( ( QAbstractSpinBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAbstractTextDocumentLayout( n ) ( ( QAbstractTextDocumentLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QAction( n ) ( ( QAction * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QActionGroup( n ) ( ( QActionGroup * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QApplication( n ) ( ( QApplication * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QBitmap( n ) ( ( QBitmap * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QBoxLayout( n ) ( ( QBoxLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QBrush( n ) ( ( QBrush * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QButtonGroup( n ) ( ( QButtonGroup * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QCalendarWidget( n ) ( ( QCalendarWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QCheckBox( n ) ( ( QCheckBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QClipboard( n ) ( ( QClipboard * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QColor( n ) ( ( QColor * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QColorDialog( n ) ( ( QColorDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QComboBox( n ) ( ( QComboBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QCommandLinkButton( n ) ( ( QCommandLinkButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QCommonStyle( n ) ( ( QCommonStyle * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QCompleter( n ) ( ( QCompleter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QConicalGradient( n ) ( ( QConicalGradient * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QContextMenuEvent( n ) ( ( QContextMenuEvent * ) hbqt_gcpointer( n ) ) -#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 ) ) -#define hbqt_par_QDirModel( n ) ( ( QDirModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDockWidget( n ) ( ( QDockWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDoubleSpinBox( n ) ( ( QDoubleSpinBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDoubleValidator( n ) ( ( QDoubleValidator * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDrag( n ) ( ( QDrag * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDragEnterEvent( n ) ( ( QDragEnterEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDragLeaveEvent( n ) ( ( QDragLeaveEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDragMoveEvent( n ) ( ( QDragMoveEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QDropEvent( n ) ( ( QDropEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QErrorMessage( n ) ( ( QErrorMessage * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFileDialog( n ) ( ( QFileDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFileIconProvider( n ) ( ( QFileIconProvider * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFileSystemModel( n ) ( ( QFileSystemModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFocusEvent( n ) ( ( QFocusEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFocusFrame( n ) ( ( QFocusFrame * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFont( n ) ( ( QFont * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFontComboBox( n ) ( ( QFontComboBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFontDatabase( n ) ( ( QFontDatabase * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFontDialog( n ) ( ( QFontDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFontInfo( n ) ( ( QFontInfo * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFontMetrics( n ) ( ( QFontMetrics * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFontMetricsF( n ) ( ( QFontMetricsF * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFormLayout( n ) ( ( QFormLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QFrame( n ) ( ( QFrame * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGradient( n ) ( ( QGradient * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsEllipseItem( n ) ( ( QGraphicsEllipseItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsGridLayout( n ) ( ( QGraphicsGridLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsItem( n ) ( ( QGraphicsItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsItemAnimation( n ) ( ( QGraphicsItemAnimation * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsItemGroup( n ) ( ( QGraphicsItemGroup * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsLayout( n ) ( ( QGraphicsLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsLayoutItem( n ) ( ( QGraphicsLayoutItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsLinearLayout( n ) ( ( QGraphicsLinearLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsLineItem( n ) ( ( QGraphicsLineItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsPathItem( n ) ( ( QGraphicsPathItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsPixmapItem( n ) ( ( QGraphicsPixmapItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsPolygonItem( n ) ( ( QGraphicsPolygonItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsProxyWidget( n ) ( ( QGraphicsProxyWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsRectItem( n ) ( ( QGraphicsRectItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsScene( n ) ( ( QGraphicsScene * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneContextMenuEvent( n ) ( ( QGraphicsSceneContextMenuEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneDragDropEvent( n ) ( ( QGraphicsSceneDragDropEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneEvent( n ) ( ( QGraphicsSceneEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneHelpEvent( n ) ( ( QGraphicsSceneHelpEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneHoverEvent( n ) ( ( QGraphicsSceneHoverEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneMouseEvent( n ) ( ( QGraphicsSceneMouseEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneMoveEvent( n ) ( ( QGraphicsSceneMoveEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneResizeEvent( n ) ( ( QGraphicsSceneResizeEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSceneWheelEvent( n ) ( ( QGraphicsSceneWheelEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsSimpleTextItem( n ) ( ( QGraphicsSimpleTextItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsTextItem( n ) ( ( QGraphicsTextItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsView( n ) ( ( QGraphicsView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGraphicsWidget( n ) ( ( QGraphicsWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGridLayout( n ) ( ( QGridLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QGroupBox( n ) ( ( QGroupBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHBoxLayout( n ) ( ( QHBoxLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHeaderView( n ) ( ( QHeaderView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHelpEvent( n ) ( ( QHelpEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHideEvent( n ) ( ( QHideEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QIcon( n ) ( ( QIcon * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QImage( n ) ( ( QImage * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QImageReader( n ) ( ( QImageReader * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QImageWriter( n ) ( ( QImageWriter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QInputDialog( n ) ( ( QInputDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QInputEvent( n ) ( ( QInputEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QInputMethodEvent( n ) ( ( QInputMethodEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QIntValidator( n ) ( ( QIntValidator * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QItemDelegate( n ) ( ( QItemDelegate * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QItemEditorCreatorBase( n ) ( ( QItemEditorCreatorBase * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QItemEditorFactory( n ) ( ( QItemEditorFactory * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QItemSelection( n ) ( ( QItemSelection * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QItemSelectionModel( n ) ( ( QItemSelectionModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QKeyEvent( n ) ( ( QKeyEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QKeySequence( n ) ( ( QKeySequence * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLabel( n ) ( ( QLabel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLayout( n ) ( ( QLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLayoutItem( n ) ( ( QLayoutItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLCDNumber( n ) ( ( QLCDNumber * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLinearGradient( n ) ( ( QLinearGradient * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QLineEdit( n ) ( ( QLineEdit * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QListView( n ) ( ( QListView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QListWidget( n ) ( ( QListWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QListWidgetItem( n ) ( ( QListWidgetItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMainWindow( n ) ( ( QMainWindow * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMatrix( n ) ( ( QMatrix * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMdiArea( n ) ( ( QMdiArea * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMdiSubWindow( n ) ( ( QMdiSubWindow * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMenu( n ) ( ( QMenu * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMenuBar( n ) ( ( QMenuBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMessageBox( n ) ( ( QMessageBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMouseEvent( n ) ( ( QMouseEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMoveEvent( n ) ( ( QMoveEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QMovie( n ) ( ( QMovie * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPageSetupDialog( n ) ( ( QPageSetupDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPaintDevice( n ) ( ( QPaintDevice * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPaintEngine( n ) ( ( QPaintEngine * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPainter( n ) ( ( QPainter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPainterPath( n ) ( ( QPainterPath * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPaintEvent( n ) ( ( QPaintEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPalette( n ) ( ( QPalette * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPen( n ) ( ( QPen * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPicture( n ) ( ( QPicture * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPixmap( n ) ( ( QPixmap * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPlainTextDocumentLayout( n ) ( ( QPlainTextDocumentLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPlainTextEdit( n ) ( ( QPlainTextEdit * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPolygon( n ) ( ( QPolygon * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPolygonF( n ) ( ( QPolygonF * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPrintDialog( n ) ( ( QPrintDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPrintEngine( n ) ( ( QPrintEngine * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPrinter( n ) ( ( QPrinter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPrinterInfo( n ) ( ( QPrinterInfo * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPrintPreviewDialog( n ) ( ( QPrintPreviewDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QProgressBar( n ) ( ( QProgressBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QProgressDialog( n ) ( ( QProgressDialog * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QPushButton( n ) ( ( QPushButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRadialGradient( n ) ( ( QRadialGradient * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRadioButton( n ) ( ( QRadioButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRegExpValidator( n ) ( ( QRegExpValidator * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QRegion( n ) ( ( QRegion * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QResizeEvent( n ) ( ( QResizeEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QScrollArea( n ) ( ( QScrollArea * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QScrollBar( n ) ( ( QScrollBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSessionManager( n ) ( ( QSessionManager * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QShowEvent( n ) ( ( QShowEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSizeGrip( n ) ( ( QSizeGrip * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSizePolicy( n ) ( ( QSizePolicy * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSlider( n ) ( ( QSlider * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSortFilterProxyModel( n ) ( ( QSortFilterProxyModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSound( n ) ( ( QSound * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSpacerItem( n ) ( ( QSpacerItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSpinBox( n ) ( ( QSpinBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSplashScreen( n ) ( ( QSplashScreen * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSplitter( n ) ( ( QSplitter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStackedWidget( n ) ( ( QStackedWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStandardItem( n ) ( ( QStandardItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStandardItemModel( n ) ( ( QStandardItemModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStatusBar( n ) ( ( QStatusBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStringListModel( n ) ( ( QStringListModel * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyle( n ) ( ( QStyle * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyledItemDelegate( n ) ( ( QStyledItemDelegate * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleFactory( n ) ( ( QStyleFactory * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleHintReturn( n ) ( ( QStyleHintReturn * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleHintReturnMask( n ) ( ( QStyleHintReturnMask * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleHintReturnVariant( n ) ( ( QStyleHintReturnVariant * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOption( n ) ( ( QStyleOption * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionButton( n ) ( ( QStyleOptionButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionComboBox( n ) ( ( QStyleOptionComboBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionComplex( n ) ( ( QStyleOptionComplex * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionDockWidget( n ) ( ( QStyleOptionDockWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionFocusRect( n ) ( ( QStyleOptionFocusRect * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionFrame( n ) ( ( QStyleOptionFrame * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionGraphicsItem( n ) ( ( QStyleOptionGraphicsItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionGroupBox( n ) ( ( QStyleOptionGroupBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionHeader( n ) ( ( QStyleOptionHeader * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionMenuItem( n ) ( ( QStyleOptionMenuItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionProgressBar( n ) ( ( QStyleOptionProgressBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionSizeGrip( n ) ( ( QStyleOptionSizeGrip * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionSlider( n ) ( ( QStyleOptionSlider * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionSpinBox( n ) ( ( QStyleOptionSpinBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionTab( n ) ( ( QStyleOptionTab * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionTabBarBase( n ) ( ( QStyleOptionTabBarBase * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionTabWidgetFrame( n ) ( ( QStyleOptionTabWidgetFrame * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionTitleBar( n ) ( ( QStyleOptionTitleBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionToolBar( n ) ( ( QStyleOptionToolBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionToolBox( n ) ( ( QStyleOptionToolBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionToolButton( n ) ( ( QStyleOptionToolButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStyleOptionViewItem( n ) ( ( QStyleOptionViewItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QStylePainter( n ) ( ( QStylePainter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSyntaxHighlighter( n ) ( ( QSyntaxHighlighter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QSystemTrayIcon( n ) ( ( QSystemTrayIcon * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTabBar( n ) ( ( QTabBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTableView( n ) ( ( QTableView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTableWidget( n ) ( ( QTableWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTableWidgetItem( n ) ( ( QTableWidgetItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTableWidgetSelectionRange( n ) ( ( QTableWidgetSelectionRange * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTabWidget( n ) ( ( QTabWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextBlock( n ) ( ( QTextBlock * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextBlockFormat( n ) ( ( QTextBlockFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextBlockGroup( n ) ( ( QTextBlockGroup * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextBrowser( n ) ( ( QTextBrowser * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextCharFormat( n ) ( ( QTextCharFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextCursor( n ) ( ( QTextCursor * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextDocument( n ) ( ( QTextDocument * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextDocumentFragment( n ) ( ( QTextDocumentFragment * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextDocumentWriter( n ) ( ( QTextDocumentWriter * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextEdit( n ) ( ( QTextEdit * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextFormat( n ) ( ( QTextFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextFragment( n ) ( ( QTextFragment * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextFrame( n ) ( ( QTextFrame * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextFrameFormat( n ) ( ( QTextFrameFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextImageFormat( n ) ( ( QTextImageFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextInlineObject( n ) ( ( QTextInlineObject * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextItem( n ) ( ( QTextItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextLayout( n ) ( ( QTextLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextLength( n ) ( ( QTextLength * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextLine( n ) ( ( QTextLine * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextList( n ) ( ( QTextList * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextListFormat( n ) ( ( QTextListFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextObject( n ) ( ( QTextObject * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextOption( n ) ( ( QTextOption * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTextTableFormat( n ) ( ( QTextTableFormat * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTimeEdit( n ) ( ( QTimeEdit * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QToolBar( n ) ( ( QToolBar * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QToolBox( n ) ( ( QToolBox * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QToolButton( n ) ( ( QToolButton * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTransform( n ) ( ( QTransform * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTreeView( n ) ( ( QTreeView * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTreeWidget( n ) ( ( QTreeWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QTreeWidgetItem( n ) ( ( QTreeWidgetItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QValidator( n ) ( ( QValidator * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QVBoxLayout( n ) ( ( QVBoxLayout * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWheelEvent( n ) ( ( QWheelEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWidget( n ) ( ( QWidget * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWidgetAction( n ) ( ( QWidgetAction * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWidgetItem( n ) ( ( QWidgetItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWindowsStyle( n ) ( ( QWindowsStyle * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWindowStateChangeEvent( n ) ( ( QWindowStateChangeEvent * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWizard( n ) ( ( QWizard * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWizardPage( n ) ( ( QWizardPage * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_HBQAbstractItemModel 0x4C8E7C31 -#define HBQT_TYPE_HBQGraphicsItem 0x02AA8AE5 -#define HBQT_TYPE_HBQGraphicsScene 0xF30B75E1 -#define HBQT_TYPE_HBQPlainTextEdit 0xB2A36488 -#define HBQT_TYPE_HBQSyntaxHighlighter 0xFB4379C6 -#define HBQT_TYPE_HBQTableView 0xD81CC990 -#define HBQT_TYPE_HBQTextBlockUserData 0xD4A5CA86 -#define HBQT_TYPE_QAbstractButton 0x07A45639 -#define HBQT_TYPE_QAbstractGraphicsShapeItem 0x241752FC -#define HBQT_TYPE_QAbstractItemDelegate 0x8B216A26 -#define HBQT_TYPE_QAbstractItemView 0xCDB585DC -#define HBQT_TYPE_QAbstractPrintDialog 0x15DF2AB0 -#define HBQT_TYPE_QAbstractProxyModel 0x12E92F04 -#define HBQT_TYPE_QAbstractScrollArea 0x8EEFAA61 -#define HBQT_TYPE_QAbstractSlider 0xF265EA03 -#define HBQT_TYPE_QAbstractSpinBox 0xCCE03C2E -#define HBQT_TYPE_QAbstractTextDocumentLayout 0xDAACA8C3 -#define HBQT_TYPE_QAction 0x8EA7ABFF -#define HBQT_TYPE_QActionGroup 0x8538CC69 -#define HBQT_TYPE_QApplication 0xA6A6B17C -#define HBQT_TYPE_QBitmap 0x210679C1 -#define HBQT_TYPE_QBoxLayout 0x8E2E0CAF -#define HBQT_TYPE_QBrush 0x96A039B0 -#define HBQT_TYPE_QButtonGroup 0xD1D47F3D -#define HBQT_TYPE_QCalendarWidget 0xA3FB335F -#define HBQT_TYPE_QCheckBox 0x536F27E7 -#define HBQT_TYPE_QClipboard 0xCF719699 -#define HBQT_TYPE_QColor 0x0151A39A -#define HBQT_TYPE_QColorDialog 0xBBC40FC7 -#define HBQT_TYPE_QComboBox 0xC89925E3 -#define HBQT_TYPE_QCommandLinkButton 0x10C7747C -#define HBQT_TYPE_QCommonStyle 0x1D3C9359 -#define HBQT_TYPE_QCompleter 0x8E86BB30 -#define HBQT_TYPE_QConicalGradient 0xE02B6507 -#define HBQT_TYPE_QContextMenuEvent 0xC14D804D -#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 -#define HBQT_TYPE_QDirModel 0xCC6817FE -#define HBQT_TYPE_QDockWidget 0xCCE130C8 -#define HBQT_TYPE_QDoubleSpinBox 0x6FCDB0F4 -#define HBQT_TYPE_QDoubleValidator 0xB4F9B269 -#define HBQT_TYPE_QDrag 0xB7E412F0 -#define HBQT_TYPE_QDragEnterEvent 0xF4B9C023 -#define HBQT_TYPE_QDragLeaveEvent 0xF647FE0B -#define HBQT_TYPE_QDragMoveEvent 0x739BBFAA -#define HBQT_TYPE_QDropEvent 0x03C8E397 -#define HBQT_TYPE_QErrorMessage 0xA3C75FB8 -#define HBQT_TYPE_QFileDialog 0xF289363C -#define HBQT_TYPE_QFileIconProvider 0xCF7F3ADC -#define HBQT_TYPE_QFileSystemModel 0xE74B60F6 -#define HBQT_TYPE_QFocusEvent 0x7D9910F2 -#define HBQT_TYPE_QFocusFrame 0xF3CF2698 -#define HBQT_TYPE_QFont 0x0A35B749 -#define HBQT_TYPE_QFontComboBox 0x89B10808 -#define HBQT_TYPE_QFontDatabase 0xFD22422F -#define HBQT_TYPE_QFontDialog 0x021FDFB1 -#define HBQT_TYPE_QFontInfo 0x0F524AE3 -#define HBQT_TYPE_QFontMetrics 0x3D17578E -#define HBQT_TYPE_QFontMetricsF 0x4780B258 -#define HBQT_TYPE_QFormLayout 0xA4169148 -#define HBQT_TYPE_QFrame 0xD2FFD7BE -#define HBQT_TYPE_QGradient 0xBA9C911F -#define HBQT_TYPE_QGraphicsEllipseItem 0x368D3268 -#define HBQT_TYPE_QGraphicsGridLayout 0xF4EE0869 -#define HBQT_TYPE_QGraphicsItem 0x495A36F3 -#define HBQT_TYPE_QGraphicsItemAnimation 0x4C884E87 -#define HBQT_TYPE_QGraphicsItemGroup 0x3645B91B -#define HBQT_TYPE_QGraphicsLayout 0x5554F1DC -#define HBQT_TYPE_QGraphicsLayoutItem 0xA27BA8CD -#define HBQT_TYPE_QGraphicsLinearLayout 0x72984462 -#define HBQT_TYPE_QGraphicsLineItem 0x5016AEC9 -#define HBQT_TYPE_QGraphicsPathItem 0x12302186 -#define HBQT_TYPE_QGraphicsPixmapItem 0x12C39C49 -#define HBQT_TYPE_QGraphicsPolygonItem 0xDF1D8178 -#define HBQT_TYPE_QGraphicsProxyWidget 0xBDD1CB32 -#define HBQT_TYPE_QGraphicsRectItem 0x1F994A48 -#define HBQT_TYPE_QGraphicsScene 0x0794300C -#define HBQT_TYPE_QGraphicsSceneContextMenuEvent 0x2A64D5FB -#define HBQT_TYPE_QGraphicsSceneDragDropEvent 0x3A4BC5E0 -#define HBQT_TYPE_QGraphicsSceneEvent 0x7AEFB6E8 -#define HBQT_TYPE_QGraphicsSceneHelpEvent 0x054A207E -#define HBQT_TYPE_QGraphicsSceneHoverEvent 0x7E4B40AF -#define HBQT_TYPE_QGraphicsSceneMouseEvent 0x0C3017DF -#define HBQT_TYPE_QGraphicsSceneMoveEvent 0x4EA82951 -#define HBQT_TYPE_QGraphicsSceneResizeEvent 0xA928975B -#define HBQT_TYPE_QGraphicsSceneWheelEvent 0x0767A220 -#define HBQT_TYPE_QGraphicsSimpleTextItem 0xD4ECC485 -#define HBQT_TYPE_QGraphicsTextItem 0xB0E7B197 -#define HBQT_TYPE_QGraphicsView 0xA8BCB863 -#define HBQT_TYPE_QGraphicsWidget 0xEA9784EE -#define HBQT_TYPE_QGridLayout 0xA21237FE -#define HBQT_TYPE_QGroupBox 0xDDA87B47 -#define HBQT_TYPE_QHBoxLayout 0x1B39539C -#define HBQT_TYPE_QHeaderView 0x60A961E3 -#define HBQT_TYPE_QHelpEvent 0xA26A322C -#define HBQT_TYPE_QHideEvent 0x9531FA2C -#define HBQT_TYPE_QIcon 0xBF359640 -#define HBQT_TYPE_QImage 0xA23AEF2C -#define HBQT_TYPE_QImageReader 0x54138882 -#define HBQT_TYPE_QImageWriter 0x0F8CD93C -#define HBQT_TYPE_QInputDialog 0x72F695C1 -#define HBQT_TYPE_QInputEvent 0x74D8594C -#define HBQT_TYPE_QInputMethodEvent 0x8D3C4429 -#define HBQT_TYPE_QIntValidator 0x18A63CB2 -#define HBQT_TYPE_QItemDelegate 0x6C37F5DC -#define HBQT_TYPE_QItemEditorCreatorBase 0x9CF1E9E9 -#define HBQT_TYPE_QItemEditorFactory 0x8CEE810A -#define HBQT_TYPE_QItemSelection 0x43F6FCA4 -#define HBQT_TYPE_QItemSelectionModel 0x355EDE30 -#define HBQT_TYPE_QKeyEvent 0x5414E79B -#define HBQT_TYPE_QKeySequence 0xBF931C83 -#define HBQT_TYPE_QLabel 0x69A0BB9B -#define HBQT_TYPE_QLayout 0xF3514C8F -#define HBQT_TYPE_QLayoutItem 0xF487975A -#define HBQT_TYPE_QLCDNumber 0x2B5C1BB4 -#define HBQT_TYPE_QLinearGradient 0x6A363485 -#define HBQT_TYPE_QLineEdit 0xEA7E326E -#define HBQT_TYPE_QListView 0x777EE88D -#define HBQT_TYPE_QListWidget 0x4101D4BA -#define HBQT_TYPE_QListWidgetItem 0x5FA6F975 -#define HBQT_TYPE_QMainWindow 0x35D314F2 -#define HBQT_TYPE_QMatrix 0x315866A2 -#define HBQT_TYPE_QMdiArea 0x156291A3 -#define HBQT_TYPE_QMdiSubWindow 0x3BC9B117 -#define HBQT_TYPE_QMenu 0xA7A48508 -#define HBQT_TYPE_QMenuBar 0xD7EE90AA -#define HBQT_TYPE_QMessageBox 0x95206F00 -#define HBQT_TYPE_QMouseEvent 0x89F20715 -#define HBQT_TYPE_QMoveEvent 0xE9883B03 -#define HBQT_TYPE_QMovie 0x7A59191C -#define HBQT_TYPE_QPageSetupDialog 0x62EFFF35 -#define HBQT_TYPE_QPaintDevice 0x3BBA83B9 -#define HBQT_TYPE_QPaintEngine 0xDA3D2FBA -#define HBQT_TYPE_QPainter 0x3BC47F1A -#define HBQT_TYPE_QPainterPath 0xD5F247C9 -#define HBQT_TYPE_QPaintEvent 0x76F7DE8B -#define HBQT_TYPE_QPalette 0xF42FD1BC -#define HBQT_TYPE_QPen 0xD8372994 -#define HBQT_TYPE_QPicture 0x2511394B -#define HBQT_TYPE_QPixmap 0x25CE65E9 -#define HBQT_TYPE_QPlainTextDocumentLayout 0x86F79C4A -#define HBQT_TYPE_QPlainTextEdit 0x463C2165 -#define HBQT_TYPE_QPolygon 0xF46E57D0 -#define HBQT_TYPE_QPolygonF 0xCB9AB7AB -#define HBQT_TYPE_QPrintDialog 0xBB6DD7BE -#define HBQT_TYPE_QPrintEngine 0x16A41551 -#define HBQT_TYPE_QPrinter 0xBE860F2F -#define HBQT_TYPE_QPrinterInfo 0xD9B6C77A -#define HBQT_TYPE_QPrintPreviewDialog 0x2B52B6CB -#define HBQT_TYPE_QProgressBar 0x69D5E40E -#define HBQT_TYPE_QProgressDialog 0xED8F05B8 -#define HBQT_TYPE_QPushButton 0x29E640EE -#define HBQT_TYPE_QRadialGradient 0x19336D41 -#define HBQT_TYPE_QRadioButton 0xCEAC06B1 -#define HBQT_TYPE_QRegExpValidator 0x670CFF4C -#define HBQT_TYPE_QRegion 0xC609D61B -#define HBQT_TYPE_QResizeEvent 0xD21C7EE5 -#define HBQT_TYPE_QScrollArea 0xED78EE89 -#define HBQT_TYPE_QScrollBar 0x2F7DA3CB -#define HBQT_TYPE_QSessionManager 0x640336B4 -#define HBQT_TYPE_QShowEvent 0x3B17D174 -#define HBQT_TYPE_QSizeGrip 0x626D8234 -#define HBQT_TYPE_QSizePolicy 0x3CC69948 -#define HBQT_TYPE_QSlider 0x06AC376A -#define HBQT_TYPE_QSortFilterProxyModel 0x248C7DF1 -#define HBQT_TYPE_QSound 0x9F8928F7 -#define HBQT_TYPE_QSpacerItem 0x7DF1ACDC -#define HBQT_TYPE_QSpinBox 0xF87A2C0F -#define HBQT_TYPE_QSplashScreen 0x1096D588 -#define HBQT_TYPE_QSplitter 0x24FC5273 -#define HBQT_TYPE_QStackedWidget 0x9BB086A6 -#define HBQT_TYPE_QStandardItem 0xB4F97254 -#define HBQT_TYPE_QStandardItemModel 0x204D7F22 -#define HBQT_TYPE_QStatusBar 0x03AE5DC8 -#define HBQT_TYPE_QStringListModel 0xE6758CF0 -#define HBQT_TYPE_QStyle 0x54BA5319 -#define HBQT_TYPE_QStyledItemDelegate 0x0E9308A7 -#define HBQT_TYPE_QStyleFactory 0x52CF0C61 -#define HBQT_TYPE_QStyleHintReturn 0x525915AC -#define HBQT_TYPE_QStyleHintReturnMask 0x2C117DED -#define HBQT_TYPE_QStyleHintReturnVariant 0xB9E9C690 -#define HBQT_TYPE_QStyleOption 0x1F3ACB5C -#define HBQT_TYPE_QStyleOptionButton 0x50CF44C5 -#define HBQT_TYPE_QStyleOptionComboBox 0xCF74273F -#define HBQT_TYPE_QStyleOptionComplex 0x6098C087 -#define HBQT_TYPE_QStyleOptionDockWidget 0x0F62DC1A -#define HBQT_TYPE_QStyleOptionFocusRect 0x66106CD3 -#define HBQT_TYPE_QStyleOptionFrame 0xCC3036DC -#define HBQT_TYPE_QStyleOptionGraphicsItem 0x53E8FCBE -#define HBQT_TYPE_QStyleOptionGroupBox 0xDA45799B -#define HBQT_TYPE_QStyleOptionHeader 0x04BB4039 -#define HBQT_TYPE_QStyleOptionMenuItem 0x185736DE -#define HBQT_TYPE_QStyleOptionProgressBar 0x01CBD41A -#define HBQT_TYPE_QStyleOptionSizeGrip 0x658080E8 -#define HBQT_TYPE_QStyleOptionSlider 0xA50EF8FF -#define HBQT_TYPE_QStyleOptionSpinBox 0x78BCE90B -#define HBQT_TYPE_QStyleOptionTab 0xC00A0510 -#define HBQT_TYPE_QStyleOptionTabBarBase 0x446EA1E7 -#define HBQT_TYPE_QStyleOptionTabWidgetFrame 0x9020259C -#define HBQT_TYPE_QStyleOptionTitleBar 0x50D8E3F1 -#define HBQT_TYPE_QStyleOptionToolBar 0x14849E70 -#define HBQT_TYPE_QStyleOptionToolBox 0x6AD25AE0 -#define HBQT_TYPE_QStyleOptionToolButton 0x053BC4DE -#define HBQT_TYPE_QStyleOptionViewItem 0xEE21D274 -#define HBQT_TYPE_QStylePainter 0xA1F71B40 -#define HBQT_TYPE_QSyntaxHighlighter 0xE50E0FD8 -#define HBQT_TYPE_QSystemTrayIcon 0x43C8BE4A -#define HBQT_TYPE_QTabBar 0x6C94BB34 -#define HBQT_TYPE_QTableView 0x5AEBC521 -#define HBQT_TYPE_QTableWidget 0x066C56BF -#define HBQT_TYPE_QTableWidgetItem 0xB2220770 -#define HBQT_TYPE_QTableWidgetSelectionRange 0x043ABFB5 -#define HBQT_TYPE_QTabWidget 0x381393D4 -#define HBQT_TYPE_QTextBlock 0x582BE407 -#define HBQT_TYPE_QTextBlockFormat 0x0CDB7179 -#define HBQT_TYPE_QTextBlockGroup 0x01461FE3 -#define HBQT_TYPE_QTextBrowser 0xFBEC246B -#define HBQT_TYPE_QTextCharFormat 0x078F1596 -#define HBQT_TYPE_QTextCursor 0x8EA08EBA -#define HBQT_TYPE_QTextDocument 0xC424143F -#define HBQT_TYPE_QTextDocumentFragment 0x7D0F878D -#define HBQT_TYPE_QTextDocumentWriter 0x49B65F7B -#define HBQT_TYPE_QTextEdit 0x0A8F2D30 -#define HBQT_TYPE_QTextFormat 0x956596EB -#define HBQT_TYPE_QTextFragment 0xD7E08BA5 -#define HBQT_TYPE_QTextFrame 0x6EC84FE8 -#define HBQT_TYPE_QTextFrameFormat 0x0812015D -#define HBQT_TYPE_QTextImageFormat 0xDC8F3336 -#define HBQT_TYPE_QTextInlineObject 0xB5FCCF31 -#define HBQT_TYPE_QTextItem 0x94A1D634 -#define HBQT_TYPE_QTextLayout 0x71E58FD6 -#define HBQT_TYPE_QTextLength 0x4AA27A86 -#define HBQT_TYPE_QTextLine 0x5AAE47DC -#define HBQT_TYPE_QTextList 0xCF720B32 -#define HBQT_TYPE_QTextListFormat 0xBCB15934 -#define HBQT_TYPE_QTextObject 0xE3724FD8 -#define HBQT_TYPE_QTextOption 0x1159E484 -#define HBQT_TYPE_QTextTableFormat 0xC7367AE7 -#define HBQT_TYPE_QTimeEdit 0xC3B46A5E -#define HBQT_TYPE_QToolBar 0x94425B74 -#define HBQT_TYPE_QToolBox 0xEA149FE4 -#define HBQT_TYPE_QToolButton 0xC6B8280C -#define HBQT_TYPE_QTransform 0x3718D3A2 -#define HBQT_TYPE_QTreeView 0x35F65593 -#define HBQT_TYPE_QTreeWidget 0x209066DC -#define HBQT_TYPE_QTreeWidgetItem 0xD5DE9141 -#define HBQT_TYPE_QValidator 0xBA08C2C7 -#define HBQT_TYPE_QVBoxLayout 0x225EE2C7 -#define HBQT_TYPE_QWheelEvent 0x82A5B2EA -#define HBQT_TYPE_QWidget 0x4C9239BD -#define HBQT_TYPE_QWidgetAction 0x24CC0E73 -#define HBQT_TYPE_QWidgetItem 0x4796275B -#define HBQT_TYPE_QWindowsStyle 0xE2019331 -#define HBQT_TYPE_QWindowStateChangeEvent 0xFB5C127E -#define HBQT_TYPE_QWizard 0xE0EDF151 -#define HBQT_TYPE_QWizardPage 0x385507E7 - -#endif /* __HBQTGUI_H */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt deleted file mode 100644 index cae98d455b..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qftp.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QFtp() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qftp.html - * $ONELINER$ - * Creates a new QFtp object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QFtp( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QFtp - * $METHODS$ - * :bytesAvailable() -> nQint64 - * :cd( cDir ) -> nInt - * :clearPendingCommands() -> NIL - * :close() -> nInt - * :connectToHost( cHost, nPort ) -> nInt - * :currentCommand() -> nCommand - * :currentDevice() -> oQIODevice - * :currentId() -> nInt - * :error() -> nError - * :errorString() -> cQString - * :get( cFile, oQIODevice, nType ) -> nInt - * :hasPendingCommands() -> lBool - * :list( cDir ) -> nInt - * :login( cUser, cPassword ) -> nInt - * :mkdir( cDir ) -> nInt - * :put( oQIODevice, cFile, nType ) -> nInt - * :put( oQByteArray, cFile, nType ) -> nInt - * :rawCommand( cCommand ) -> nInt - * :readAll() -> oQByteArray - * :remove( cFile ) -> nInt - * :rename( cOldname, cNewname ) -> nInt - * :rmdir( cDir ) -> nInt - * :setProxy( cHost, nPort ) -> nInt - * :setTransferMode( nMode ) -> nInt - * :state() -> nState - * :abort() -> 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/qtnetwork/TQFtp.prg - * C++ wrappers : contrib/hbqt/qtnetwork/QFtp.cpp - * Library : hbqtnetwork - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt deleted file mode 100644 index d33179faa4..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttp.txt +++ /dev/null @@ -1,72 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHttp() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhttp.html - * $ONELINER$ - * Creates a new QHttp object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QHttp( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHttp - * $METHODS$ - * :bytesAvailable() -> nQint64 - * :clearPendingRequests() -> NIL - * :close() -> nInt - * :currentDestinationDevice() -> oQIODevice - * :currentId() -> nInt - * :currentRequest() -> oQHttpRequestHeader - * :currentSourceDevice() -> oQIODevice - * :error() -> nError - * :errorString() -> cQString - * :get( cPath, oQIODevice ) -> nInt - * :hasPendingRequests() -> lBool - * :head( cPath ) -> nInt - * :lastResponse() -> oQHttpResponseHeader - * :post( cPath, oQIODevice, oQIODevice ) -> nInt - * :post( cPath, oQByteArray, oQIODevice ) -> nInt - * :readAll() -> oQByteArray - * :request( oQHttpRequestHeader, oQIODevice, oQIODevice ) -> nInt - * :request( oQHttpRequestHeader, oQByteArray, oQIODevice ) -> nInt - * :setHost( cHostName, nPort ) -> nInt - * :setHost( cHostName, nMode, nPort ) -> nInt - * :setProxy( cHost, nPort, cUsername, cPassword ) -> nInt - * :setUser( cUserName, cPassword ) -> nInt - * :state() -> nState - * :abort() -> 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/qtnetwork/TQHttp.prg - * C++ wrappers : contrib/hbqt/qtnetwork/QHttp.cpp - * Library : hbqtnetwork - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt deleted file mode 100644 index afcf6a658c..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpheader.txt +++ /dev/null @@ -1,66 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHttpHeader() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhttpheader.html - * $ONELINER$ - * Creates a new QHttpHeader object. - * $INHERITS$ - * - * $SYNTAX$ - * QHttpHeader( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHttpHeader - * $METHODS$ - * :addValue( cKey, cValue ) -> NIL - * :allValues( cKey ) -> oQStringList - * :contentLength() -> nUint - * :contentType() -> cQString - * :hasContentLength() -> lBool - * :hasContentType() -> lBool - * :hasKey( cKey ) -> lBool - * :isValid() -> lBool - * :keys() -> oQStringList - * :majorVersion() -> nInt - * :minorVersion() -> nInt - * :removeAllValues( cKey ) -> NIL - * :removeValue( cKey ) -> NIL - * :setContentLength( nLen ) -> NIL - * :setContentType( cType ) -> NIL - * :setValue( cKey, cValue ) -> NIL - * :toString() -> cQString - * :value( cKey ) -> cQString - * - * $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/qtnetwork/TQHttpHeader.prg - * C++ wrappers : contrib/hbqt/qtnetwork/QHttpHeader.cpp - * Library : hbqtnetwork - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt deleted file mode 100644 index c3a354416a..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttprequestheader.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHttpRequestHeader() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhttprequestheader.html - * $ONELINER$ - * Creates a new QHttpRequestHeader object. - * $INHERITS$ - * QHttpHeader - * $SYNTAX$ - * QHttpRequestHeader( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHttpRequestHeader - * $METHODS$ - * :majorVersion() -> nInt - * :method() -> cQString - * :minorVersion() -> nInt - * :path() -> cQString - * :setRequest( cMethod, cPath, nMajorVer, nMinorVer ) -> 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/qtnetwork/TQHttpRequestHeader.prg - * C++ wrappers : contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp - * Library : hbqtnetwork - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt deleted file mode 100644 index 881c37f46d..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qhttpresponseheader.txt +++ /dev/null @@ -1,53 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QHttpResponseHeader() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qhttpresponseheader.html - * $ONELINER$ - * Creates a new QHttpResponseHeader object. - * $INHERITS$ - * QHttpHeader - * $SYNTAX$ - * QHttpResponseHeader( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QHttpResponseHeader - * $METHODS$ - * :majorVersion() -> nInt - * :minorVersion() -> nInt - * :reasonPhrase() -> cQString - * :setStatusLine( nCode, cText, nMajorVer, nMinorVer ) -> NIL - * :statusCode() -> nInt - * - * $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/qtnetwork/TQHttpResponseHeader.prg - * C++ wrappers : contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp - * Library : hbqtnetwork - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt b/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt deleted file mode 100644 index 635056f771..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/doc/en/class_qnetworkrequest.txt +++ /dev/null @@ -1,58 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QNetworkRequest() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qnetworkrequest.html - * $ONELINER$ - * Creates a new QNetworkRequest object. - * $INHERITS$ - * - * $SYNTAX$ - * QNetworkRequest( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QNetworkRequest - * $METHODS$ - * :attribute( nCode, oQVariant ) -> oQVariant - * :hasRawHeader( oQByteArray ) -> lBool - * :header( nHeader ) -> oQVariant - * :rawHeader( oQByteArray ) -> oQByteArray - * :rawHeaderList() -> oQList_QByteArray> - * :setAttribute( nCode, oQVariant ) -> NIL - * :setHeader( nHeader, oQVariant ) -> NIL - * :setRawHeader( oQByteArray, oQByteArray ) -> NIL - * :setUrl( oQUrl ) -> NIL - * :url() -> oQUrl - * - * $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/qtnetwork/TQNetworkRequest.prg - * C++ wrappers : contrib/hbqt/qtnetwork/QNetworkRequest.cpp - * Library : hbqtnetwork - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp b/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp deleted file mode 100644 index d06802197d..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/QFtp.cpp +++ /dev/null @@ -1,375 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtnetwork.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Command { None, SetTransferMode, SetProxy, ConnectToHost, ..., RawCommand } - * enum Error { NoError, HostNotFound, ConnectionRefused, NotConnected, UnknownError } - * enum State { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing } - * enum TransferMode { Passive, Active } - * enum TransferType { Binary, Ascii } - */ - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // qint64 read ( char * data, qint64 maxlen ) - */ - -#include - -#include - - -/* - * QFtp ( QObject * parent = 0 ) - * virtual ~QFtp () - */ - -/* - * qint64 read ( char * data, qint64 maxlen ) - */ -HB_FUNC( QT_QFTP_READ ) -{ - char * iData = ( char * ) hb_xgrab( hb_parnint( 3 ) + 1 ); - qint64 iRead; - - iRead = hbqt_par_QFtp( 1 )->read( iData, hb_parnint( 3 ) ); - - hb_retnint( iRead ); - if( ! hb_storclen_buffer( iData, iRead, 2 ) ) - hb_xfree( iData ); -} - -typedef struct -{ - QPointer< QFtp > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QFtp; - -HBQT_GC_FUNC( hbqt_gcRelease_QFtp ) -{ - HBQT_GC_T_QFtp * p = ( HBQT_GC_T_QFtp * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QFtp * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QFtp( void * pObj, bool bNew ) -{ - HBQT_GC_T_QFtp * p = ( HBQT_GC_T_QFtp * ) hb_gcAllocate( sizeof( HBQT_GC_T_QFtp ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QFtp >( ( QFtp * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QFtp; - p->type = HBQT_TYPE_QFtp; - - return p; -} - -HB_FUNC( QT_QFTP ) -{ - QFtp * pObj = NULL; - - pObj = new QFtp( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QFtp( ( void * ) pObj, true ) ); -} - -/* qint64 bytesAvailable () const */ -HB_FUNC( QT_QFTP_BYTESAVAILABLE ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retnint( ( p )->bytesAvailable() ); -} - -/* int cd ( const QString & dir ) */ -HB_FUNC( QT_QFTP_CD ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->cd( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* void clearPendingCommands () */ -HB_FUNC( QT_QFTP_CLEARPENDINGCOMMANDS ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - ( p )->clearPendingCommands(); -} - -/* int close () */ -HB_FUNC( QT_QFTP_CLOSE ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retni( ( p )->close() ); -} - -/* int connectToHost ( const QString & host, quint16 port = 21 ) */ -HB_FUNC( QT_QFTP_CONNECTTOHOST ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->connectToHost( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, 21 ) ) ); - hb_strfree( pText ); - } -} - -/* Command currentCommand () const */ -HB_FUNC( QT_QFTP_CURRENTCOMMAND ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retni( ( QFtp::Command ) ( p )->currentCommand() ); -} - -/* QIODevice * currentDevice () const */ -HB_FUNC( QT_QFTP_CURRENTDEVICE ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->currentDevice(), false ) ); -} - -/* int currentId () const */ -HB_FUNC( QT_QFTP_CURRENTID ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retni( ( p )->currentId() ); -} - -/* Error error () const */ -HB_FUNC( QT_QFTP_ERROR ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retni( ( QFtp::Error ) ( p )->error() ); -} - -/* QString errorString () const */ -HB_FUNC( QT_QFTP_ERRORSTRING ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* int get ( const QString & file, QIODevice * dev = 0, TransferType type = Binary ) */ -HB_FUNC( QT_QFTP_GET ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->get( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QIODevice( 3 ), ( HB_ISNUM( 4 ) ? ( QFtp::TransferType ) hb_parni( 4 ) : ( QFtp::TransferType ) QFtp::Binary ) ) ); - hb_strfree( pText ); - } -} - -/* bool hasPendingCommands () const */ -HB_FUNC( QT_QFTP_HASPENDINGCOMMANDS ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retl( ( p )->hasPendingCommands() ); -} - -/* int list ( const QString & dir = QString() ) */ -HB_FUNC( QT_QFTP_LIST ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->list( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int login ( const QString & user = QString(), const QString & password = QString() ) */ -HB_FUNC( QT_QFTP_LOGIN ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->login( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int mkdir ( const QString & dir ) */ -HB_FUNC( QT_QFTP_MKDIR ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->mkdir( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int put ( QIODevice * dev, const QString & file, TransferType type = Binary ) */ -HB_FUNC( QT_QFTP_PUT ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->put( hbqt_par_QIODevice( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( QFtp::TransferType ) hb_parni( 4 ) : ( QFtp::TransferType ) QFtp::Binary ) ) ); - hb_strfree( pText ); - } -} - -/* int put ( const QByteArray & data, const QString & file, TransferType type = Binary ) */ -HB_FUNC( QT_QFTP_PUT_1 ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->put( *hbqt_par_QByteArray( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISNUM( 4 ) ? ( QFtp::TransferType ) hb_parni( 4 ) : ( QFtp::TransferType ) QFtp::Binary ) ) ); - hb_strfree( pText ); - } -} - -/* int rawCommand ( const QString & command ) */ -HB_FUNC( QT_QFTP_RAWCOMMAND ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->rawCommand( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QByteArray readAll () */ -HB_FUNC( QT_QFTP_READALL ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->readAll() ), true ) ); -} - -/* int remove ( const QString & file ) */ -HB_FUNC( QT_QFTP_REMOVE ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->remove( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int rename ( const QString & oldname, const QString & newname ) */ -HB_FUNC( QT_QFTP_RENAME ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->rename( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int rmdir ( const QString & dir ) */ -HB_FUNC( QT_QFTP_RMDIR ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->rmdir( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int setProxy ( const QString & host, quint16 port ) */ -HB_FUNC( QT_QFTP_SETPROXY ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->setProxy( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* int setTransferMode ( TransferMode mode ) */ -HB_FUNC( QT_QFTP_SETTRANSFERMODE ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retni( ( p )->setTransferMode( ( QFtp::TransferMode ) hb_parni( 2 ) ) ); -} - -/* State state () const */ -HB_FUNC( QT_QFTP_STATE ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - hb_retni( ( QFtp::State ) ( p )->state() ); -} - -/* void abort () */ -HB_FUNC( QT_QFTP_ABORT ) -{ - QFtp * p = hbqt_par_QFtp( 1 ); - if( p ) - ( p )->abort(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp deleted file mode 100644 index 9e1ccf6017..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttp.cpp +++ /dev/null @@ -1,342 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtnetwork.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum ConnectionMode { ConnectionModeHttp, ConnectionModeHttps } - * enum Error { NoError, HostNotFound, ConnectionRefused, UnexpectedClose, ..., UnknownError } - * enum State { Unconnected, HostLookup, Connecting, Sending, ..., Closing } - */ - -/* - * Constructed[ 24/24 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // qint64 read ( char * data, qint64 maxlen ) - * // int setProxy ( const QNetworkProxy & proxy ) - * // int setSocket ( QTcpSocket * socket ) - * //void ignoreSslErrors () - */ - -#include - -#include - - -/* - * QHttp ( QObject * parent = 0 ) - * QHttp ( const QString & hostName, quint16 port = 80, QObject * parent = 0 ) - * QHttp ( const QString & hostName, ConnectionMode mode, quint16 port = 0, QObject * parent = 0 ) - * virtual ~QHttp () - */ - -/* - * qint64 read ( char * data, qint64 maxlen ) - */ -HB_FUNC( QT_QHTTP_READ ) -{ - char * iData = ( char * ) hb_xgrab( hb_parnint( 3 ) + 1 ); - qint64 iRead; - - iRead = hbqt_par_QHttp( 1 )->read( iData, hb_parnint( 3 ) ); - - hb_retnint( iRead ); - if( ! hb_storclen_buffer( iData, iRead, 2 ) ) - hb_xfree( iData ); -} - -typedef struct -{ - QPointer< QHttp > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHttp; - -HBQT_GC_FUNC( hbqt_gcRelease_QHttp ) -{ - HBQT_GC_T_QHttp * p = ( HBQT_GC_T_QHttp * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QHttp * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QHttp( void * pObj, bool bNew ) -{ - HBQT_GC_T_QHttp * p = ( HBQT_GC_T_QHttp * ) hb_gcAllocate( sizeof( HBQT_GC_T_QHttp ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QHttp >( ( QHttp * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QHttp; - p->type = HBQT_TYPE_QHttp; - - return p; -} - -HB_FUNC( QT_QHTTP ) -{ - QHttp * pObj = NULL; - - pObj = new QHttp( hbqt_par_QObject( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QHttp( ( void * ) pObj, true ) ); -} - -/* qint64 bytesAvailable () const */ -HB_FUNC( QT_QHTTP_BYTESAVAILABLE ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retnint( ( p )->bytesAvailable() ); -} - -/* void clearPendingRequests () */ -HB_FUNC( QT_QHTTP_CLEARPENDINGREQUESTS ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - ( p )->clearPendingRequests(); -} - -/* int close () */ -HB_FUNC( QT_QHTTP_CLOSE ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retni( ( p )->close() ); -} - -/* QIODevice * currentDestinationDevice () const */ -HB_FUNC( QT_QHTTP_CURRENTDESTINATIONDEVICE ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->currentDestinationDevice(), false ) ); -} - -/* int currentId () const */ -HB_FUNC( QT_QHTTP_CURRENTID ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retni( ( p )->currentId() ); -} - -/* QHttpRequestHeader currentRequest () const */ -HB_FUNC( QT_QHTTP_CURRENTREQUEST ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QHttpRequestHeader( new QHttpRequestHeader( ( p )->currentRequest() ), true ) ); -} - -/* QIODevice * currentSourceDevice () const */ -HB_FUNC( QT_QHTTP_CURRENTSOURCEDEVICE ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIODevice( ( p )->currentSourceDevice(), false ) ); -} - -/* Error error () const */ -HB_FUNC( QT_QHTTP_ERROR ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retni( ( QHttp::Error ) ( p )->error() ); -} - -/* QString errorString () const */ -HB_FUNC( QT_QHTTP_ERRORSTRING ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retstr_utf8( ( p )->errorString().toUtf8().data() ); -} - -/* int get ( const QString & path, QIODevice * to = 0 ) */ -HB_FUNC( QT_QHTTP_GET ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->get( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QIODevice( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool hasPendingRequests () const */ -HB_FUNC( QT_QHTTP_HASPENDINGREQUESTS ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retl( ( p )->hasPendingRequests() ); -} - -/* int head ( const QString & path ) */ -HB_FUNC( QT_QHTTP_HEAD ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->head( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QHttpResponseHeader lastResponse () const */ -HB_FUNC( QT_QHTTP_LASTRESPONSE ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QHttpResponseHeader( new QHttpResponseHeader( ( p )->lastResponse() ), true ) ); -} - -/* int post ( const QString & path, QIODevice * data, QIODevice * to = 0 ) */ -HB_FUNC( QT_QHTTP_POST ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->post( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QIODevice( 3 ), hbqt_par_QIODevice( 4 ) ) ); - hb_strfree( pText ); - } -} - -/* int post ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) */ -HB_FUNC( QT_QHTTP_POST_1 ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->post( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QByteArray( 3 ), hbqt_par_QIODevice( 4 ) ) ); - hb_strfree( pText ); - } -} - -/* QByteArray readAll () */ -HB_FUNC( QT_QHTTP_READALL ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->readAll() ), true ) ); -} - -/* int request ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) */ -HB_FUNC( QT_QHTTP_REQUEST ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retni( ( p )->request( *hbqt_par_QHttpRequestHeader( 2 ), hbqt_par_QIODevice( 3 ), hbqt_par_QIODevice( 4 ) ) ); -} - -/* int request ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) */ -HB_FUNC( QT_QHTTP_REQUEST_1 ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retni( ( p )->request( *hbqt_par_QHttpRequestHeader( 2 ), *hbqt_par_QByteArray( 3 ), hbqt_par_QIODevice( 4 ) ) ); -} - -/* int setHost ( const QString & hostName, quint16 port = 80 ) */ -HB_FUNC( QT_QHTTP_SETHOST ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->setHost( hb_parstr_utf8( 2, &pText, NULL ), hb_parnidef( 3, 80 ) ) ); - hb_strfree( pText ); - } -} - -/* int setHost ( const QString & hostName, ConnectionMode mode, quint16 port = 0 ) */ -HB_FUNC( QT_QHTTP_SETHOST_1 ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->setHost( hb_parstr_utf8( 2, &pText, NULL ), ( QHttp::ConnectionMode ) hb_parni( 3 ), hb_parni( 4 ) ) ); - hb_strfree( pText ); - } -} - -/* int setProxy ( const QString & host, int port, const QString & username = QString(), const QString & password = QString() ) */ -HB_FUNC( QT_QHTTP_SETPROXY ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->setProxy( hb_parstr_utf8( 2, &pText, NULL ), hb_parni( 3 ), hb_parstr_utf8( 4, &pText, NULL ), hb_parstr_utf8( 5, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* int setUser ( const QString & userName, const QString & password = QString() ) */ -HB_FUNC( QT_QHTTP_SETUSER ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - { - void * pText; - hb_retni( ( p )->setUser( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* State state () const */ -HB_FUNC( QT_QHTTP_STATE ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - hb_retni( ( QHttp::State ) ( p )->state() ); -} - -/* void abort () */ -HB_FUNC( QT_QHTTP_ABORT ) -{ - QHttp * p = hbqt_par_QHttp( 1 ); - if( p ) - ( p )->abort(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp deleted file mode 100644 index 8a86f739f7..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttpHeader.cpp +++ /dev/null @@ -1,256 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtnetwork.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 18/19 [ 94.74% ] ] - * - * *** Unconvered Prototypes *** - * - * void setValues ( const QList > & values ) - */ - -#include - -#include - - -/* - * QHttpHeader () - * QHttpHeader ( const QHttpHeader & header ) - * QHttpHeader ( const QString & str ) - * virtual ~QHttpHeader () - */ - -typedef struct -{ - QHttpHeader * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHttpHeader; - -HBQT_GC_FUNC( hbqt_gcRelease_QHttpHeader ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QHttpHeader( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QHttpHeader * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QHttpHeader; - p->type = HBQT_TYPE_QHttpHeader; - - return p; -} - -HB_FUNC( QT_QHTTPHEADER ) -{ - -} - -/* void addValue ( const QString & key, const QString & value ) */ -HB_FUNC( QT_QHTTPHEADER_ADDVALUE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - ( p )->addValue( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QStringList allValues ( const QString & key ) const */ -HB_FUNC( QT_QHTTPHEADER_ALLVALUES ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->allValues( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* uint contentLength () const */ -HB_FUNC( QT_QHTTPHEADER_CONTENTLENGTH ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retni( ( p )->contentLength() ); -} - -/* QString contentType () const */ -HB_FUNC( QT_QHTTPHEADER_CONTENTTYPE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->contentType().toUtf8().data() ); -} - -/* bool hasContentLength () const */ -HB_FUNC( QT_QHTTPHEADER_HASCONTENTLENGTH ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retl( ( p )->hasContentLength() ); -} - -/* bool hasContentType () const */ -HB_FUNC( QT_QHTTPHEADER_HASCONTENTTYPE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retl( ( p )->hasContentType() ); -} - -/* bool hasKey ( const QString & key ) const */ -HB_FUNC( QT_QHTTPHEADER_HASKEY ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->hasKey( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* bool isValid () const */ -HB_FUNC( QT_QHTTPHEADER_ISVALID ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QStringList keys () const */ -HB_FUNC( QT_QHTTPHEADER_KEYS ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->keys() ), true ) ); -} - -/* virtual int majorVersion () const = 0 */ -HB_FUNC( QT_QHTTPHEADER_MAJORVERSION ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retni( ( p )->majorVersion() ); -} - -/* virtual int minorVersion () const = 0 */ -HB_FUNC( QT_QHTTPHEADER_MINORVERSION ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retni( ( p )->minorVersion() ); -} - -/* void removeAllValues ( const QString & key ) */ -HB_FUNC( QT_QHTTPHEADER_REMOVEALLVALUES ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - ( p )->removeAllValues( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void removeValue ( const QString & key ) */ -HB_FUNC( QT_QHTTPHEADER_REMOVEVALUE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - ( p )->removeValue( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setContentLength ( int len ) */ -HB_FUNC( QT_QHTTPHEADER_SETCONTENTLENGTH ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - ( p )->setContentLength( hb_parni( 2 ) ); -} - -/* void setContentType ( const QString & type ) */ -HB_FUNC( QT_QHTTPHEADER_SETCONTENTTYPE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - ( p )->setContentType( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setValue ( const QString & key, const QString & value ) */ -HB_FUNC( QT_QHTTPHEADER_SETVALUE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - ( p )->setValue( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual QString toString () const */ -HB_FUNC( QT_QHTTPHEADER_TOSTRING ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toString().toUtf8().data() ); -} - -/* QString value ( const QString & key ) const */ -HB_FUNC( QT_QHTTPHEADER_VALUE ) -{ - QHttpHeader * p = hbqt_par_QHttpHeader( 1 ); - if( p ) - { - void * pText; - hb_retstr_utf8( ( p )->value( hb_parstr_utf8( 2, &pText, NULL ) ).toUtf8().data() ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp deleted file mode 100644 index 725efe849a..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttpRequestHeader.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtnetwork.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QHttpRequestHeader () - * QHttpRequestHeader ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - * QHttpRequestHeader ( const QHttpRequestHeader & header ) - * QHttpRequestHeader ( const QString & str ) - */ - -typedef struct -{ - QHttpRequestHeader * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHttpRequestHeader; - -HBQT_GC_FUNC( hbqt_gcRelease_QHttpRequestHeader ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QHttpRequestHeader * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QHttpRequestHeader( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QHttpRequestHeader * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QHttpRequestHeader; - p->type = HBQT_TYPE_QHttpRequestHeader; - - return p; -} - -HB_FUNC( QT_QHTTPREQUESTHEADER ) -{ - QHttpRequestHeader * pObj = NULL; - - pObj = new QHttpRequestHeader() ; - - hb_retptrGC( hbqt_gcAllocate_QHttpRequestHeader( ( void * ) pObj, true ) ); -} - -/* virtual int majorVersion () const */ -HB_FUNC( QT_QHTTPREQUESTHEADER_MAJORVERSION ) -{ - QHttpRequestHeader * p = hbqt_par_QHttpRequestHeader( 1 ); - if( p ) - hb_retni( ( p )->majorVersion() ); -} - -/* QString method () const */ -HB_FUNC( QT_QHTTPREQUESTHEADER_METHOD ) -{ - QHttpRequestHeader * p = hbqt_par_QHttpRequestHeader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->method().toUtf8().data() ); -} - -/* virtual int minorVersion () const */ -HB_FUNC( QT_QHTTPREQUESTHEADER_MINORVERSION ) -{ - QHttpRequestHeader * p = hbqt_par_QHttpRequestHeader( 1 ); - if( p ) - hb_retni( ( p )->minorVersion() ); -} - -/* QString path () const */ -HB_FUNC( QT_QHTTPREQUESTHEADER_PATH ) -{ - QHttpRequestHeader * p = hbqt_par_QHttpRequestHeader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->path().toUtf8().data() ); -} - -/* void setRequest ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) */ -HB_FUNC( QT_QHTTPREQUESTHEADER_SETREQUEST ) -{ - QHttpRequestHeader * p = hbqt_par_QHttpRequestHeader( 1 ); - if( p ) - { - void * pText; - ( p )->setRequest( hb_parstr_utf8( 2, &pText, NULL ), hb_parstr_utf8( 3, &pText, NULL ), hb_parnidef( 4, 1 ), hb_parnidef( 5, 1 ) ); - hb_strfree( pText ); - } -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp b/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp deleted file mode 100644 index 9d2a8365b8..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/QHttpResponseHeader.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtnetwork.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 5/5 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* QHttpResponseHeader () - * QHttpResponseHeader ( const QHttpResponseHeader & header ) - * QHttpResponseHeader ( const QString & str ) - * QHttpResponseHeader ( int code, const QString & text = QString(), int majorVer = 1, int minorVer = 1 ) - */ - -typedef struct -{ - QHttpResponseHeader * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QHttpResponseHeader; - -HBQT_GC_FUNC( hbqt_gcRelease_QHttpResponseHeader ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QHttpResponseHeader * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QHttpResponseHeader( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QHttpResponseHeader * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QHttpResponseHeader; - p->type = HBQT_TYPE_QHttpResponseHeader; - - return p; -} - -HB_FUNC( QT_QHTTPRESPONSEHEADER ) -{ - QHttpResponseHeader * pObj = NULL; - - pObj = new QHttpResponseHeader() ; - - hb_retptrGC( hbqt_gcAllocate_QHttpResponseHeader( ( void * ) pObj, true ) ); -} - -/* virtual int majorVersion () const */ -HB_FUNC( QT_QHTTPRESPONSEHEADER_MAJORVERSION ) -{ - QHttpResponseHeader * p = hbqt_par_QHttpResponseHeader( 1 ); - if( p ) - hb_retni( ( p )->majorVersion() ); -} - -/* virtual int minorVersion () const */ -HB_FUNC( QT_QHTTPRESPONSEHEADER_MINORVERSION ) -{ - QHttpResponseHeader * p = hbqt_par_QHttpResponseHeader( 1 ); - if( p ) - hb_retni( ( p )->minorVersion() ); -} - -/* QString reasonPhrase () const */ -HB_FUNC( QT_QHTTPRESPONSEHEADER_REASONPHRASE ) -{ - QHttpResponseHeader * p = hbqt_par_QHttpResponseHeader( 1 ); - if( p ) - hb_retstr_utf8( ( p )->reasonPhrase().toUtf8().data() ); -} - -/* void setStatusLine ( int code, const QString & text = QString(), int majorVer = 1, int minorVer = 1 ) */ -HB_FUNC( QT_QHTTPRESPONSEHEADER_SETSTATUSLINE ) -{ - QHttpResponseHeader * p = hbqt_par_QHttpResponseHeader( 1 ); - if( p ) - { - void * pText; - ( p )->setStatusLine( hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ), hb_parnidef( 4, 1 ), hb_parnidef( 5, 1 ) ); - hb_strfree( pText ); - } -} - -/* int statusCode () const */ -HB_FUNC( QT_QHTTPRESPONSEHEADER_STATUSCODE ) -{ - QHttpResponseHeader * p = hbqt_par_QHttpResponseHeader( 1 ); - if( p ) - hb_retni( ( p )->statusCode() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp b/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp deleted file mode 100644 index 788f9b711b..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp +++ /dev/null @@ -1,174 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtnetwork.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Attribute { HttpStatusCodeAttribute, HttpReasonPhraseAttribute, RedirectionTargetAttribute, ConnectionEncryptedAttribute, ..., UserMax } - * enum CacheLoadControl { AlwaysNetwork, PreferNetwork, PreferCache, AlwaysCache } - * enum KnownHeaders { ContentTypeHeader, ContentLengthHeader, LocationHeader, LastModifiedHeader, CookieHeader, SetCookieHeader } - */ - -/* - * Constructed[ 10/10 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // void setSslConfiguration ( const QSslConfiguration & config ) - * // QSslConfiguration sslConfiguration () const - */ - -#include - -#include - - -/* QNetworkRequest ( const QUrl & url = QUrl() ) - * QNetworkRequest ( const QNetworkRequest & other ) - * ~QNetworkRequest () - */ - -typedef struct -{ - QNetworkRequest * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QNetworkRequest; - -HBQT_GC_FUNC( hbqt_gcRelease_QNetworkRequest ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QNetworkRequest * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QNetworkRequest( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QNetworkRequest * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QNetworkRequest; - p->type = HBQT_TYPE_QNetworkRequest; - - return p; -} - -HB_FUNC( QT_QNETWORKREQUEST ) -{ - QNetworkRequest * pObj = NULL; - - pObj = new QNetworkRequest() ; - - hb_retptrGC( hbqt_gcAllocate_QNetworkRequest( ( void * ) pObj, true ) ); -} - -/* QVariant attribute ( Attribute code, const QVariant & defaultValue = QVariant() ) const */ -HB_FUNC( QT_QNETWORKREQUEST_ATTRIBUTE ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->attribute( ( QNetworkRequest::Attribute ) hb_parni( 2 ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QVariant( 3 ) : QVariant() ) ) ), true ) ); -} - -/* bool hasRawHeader ( const QByteArray & headerName ) const */ -HB_FUNC( QT_QNETWORKREQUEST_HASRAWHEADER ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - hb_retl( ( p )->hasRawHeader( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* QVariant header ( KnownHeaders header ) const */ -HB_FUNC( QT_QNETWORKREQUEST_HEADER ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->header( ( QNetworkRequest::KnownHeaders ) hb_parni( 2 ) ) ), true ) ); -} - -/* QByteArray rawHeader ( const QByteArray & headerName ) const */ -HB_FUNC( QT_QNETWORKREQUEST_RAWHEADER ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QByteArray( new QByteArray( ( p )->rawHeader( *hbqt_par_QByteArray( 2 ) ) ), true ) ); -} - -/* QList rawHeaderList () const */ -HB_FUNC( QT_QNETWORKREQUEST_RAWHEADERLIST ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->rawHeaderList() ), true ) ); -} - -/* void setAttribute ( Attribute code, const QVariant & value ) */ -HB_FUNC( QT_QNETWORKREQUEST_SETATTRIBUTE ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - ( p )->setAttribute( ( QNetworkRequest::Attribute ) hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* void setHeader ( KnownHeaders header, const QVariant & value ) */ -HB_FUNC( QT_QNETWORKREQUEST_SETHEADER ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - ( p )->setHeader( ( QNetworkRequest::KnownHeaders ) hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* void setRawHeader ( const QByteArray & headerName, const QByteArray & headerValue ) */ -HB_FUNC( QT_QNETWORKREQUEST_SETRAWHEADER ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - ( p )->setRawHeader( *hbqt_par_QByteArray( 2 ), *hbqt_par_QByteArray( 3 ) ); -} - -/* void setUrl ( const QUrl & url ) */ -HB_FUNC( QT_QNETWORKREQUEST_SETURL ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - ( p )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* QUrl url () const */ -HB_FUNC( QT_QNETWORKREQUEST_URL ) -{ - QNetworkRequest * p = hbqt_par_QNetworkRequest( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg b/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg deleted file mode 100644 index 1a4d54d844..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/TQFtp.prg +++ /dev/null @@ -1,372 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTNETWORK - - -FUNCTION QFtp( ... ) - RETURN HB_QFtp():new( ... ) - -FUNCTION QFtpFromPointer( ... ) - RETURN HB_QFtp():fromPointer( ... ) - - -CREATE CLASS QFtp INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QFtp - - METHOD new( ... ) - - METHOD bytesAvailable // ( ) -> nQint64 - METHOD cd // ( cDir ) -> nInt - METHOD clearPendingCommands // ( ) -> NIL - METHOD close // ( ) -> nInt - METHOD connectToHost // ( cHost, nPort ) -> nInt - METHOD currentCommand // ( ) -> nCommand - METHOD currentDevice // ( ) -> oQIODevice - METHOD currentId // ( ) -> nInt - METHOD error // ( ) -> nError - METHOD errorString // ( ) -> cQString - METHOD get // ( cFile, oQIODevice, nType ) -> nInt - METHOD hasPendingCommands // ( ) -> lBool - METHOD list // ( cDir ) -> nInt - METHOD login // ( cUser, cPassword ) -> nInt - METHOD mkdir // ( cDir ) -> nInt - METHOD put // ( oQIODevice, cFile, nType ) -> nInt - // ( oQByteArray, cFile, nType ) -> nInt - METHOD rawCommand // ( cCommand ) -> nInt - METHOD readAll // ( ) -> oQByteArray - METHOD remove // ( cFile ) -> nInt - METHOD rename // ( cOldname, cNewname ) -> nInt - METHOD rmdir // ( cDir ) -> nInt - METHOD setProxy // ( cHost, nPort ) -> nInt - METHOD setTransferMode // ( nMode ) -> nInt - METHOD state // ( ) -> nState - METHOD abort // ( ) -> NIL - - ENDCLASS - - -METHOD QFtp:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QFtp( ... ) - RETURN Self - - -METHOD QFtp:bytesAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_bytesAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:cd( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_cd( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:clearPendingCommands( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_clearPendingCommands( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:connectToHost( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFtp_connectToHost( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_connectToHost( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:currentCommand( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_currentCommand( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:currentDevice( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QFtp_currentDevice( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:currentId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_currentId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:error( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_error( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:get( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QFtp_get( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QFtp_get( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_get( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:hasPendingCommands( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_hasPendingCommands( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:list( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_list( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFtp_list( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:login( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFtp_login( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_login( ::pPtr, ... ) - ENDCASE - EXIT - CASE 0 - RETURN Qt_QFtp_login( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:mkdir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_mkdir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:put( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - 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 - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:rawCommand( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_rawCommand( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:readAll( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QFtp_readAll( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:remove( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_remove( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:rename( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QFtp_rename( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:rmdir( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_rmdir( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:setProxy( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QFtp_setProxy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:setTransferMode( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QFtp_setTransferMode( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:state( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_state( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QFtp:abort( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QFtp_abort( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg deleted file mode 100644 index 6449ba73d1..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttp.prg +++ /dev/null @@ -1,345 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTNETWORK - - -FUNCTION QHttp( ... ) - RETURN HB_QHttp():new( ... ) - -FUNCTION QHttpFromPointer( ... ) - RETURN HB_QHttp():fromPointer( ... ) - - -CREATE CLASS QHttp INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QHttp - - METHOD new( ... ) - - METHOD bytesAvailable // ( ) -> nQint64 - METHOD clearPendingRequests // ( ) -> NIL - METHOD close // ( ) -> nInt - METHOD currentDestinationDevice // ( ) -> oQIODevice - METHOD currentId // ( ) -> nInt - METHOD currentRequest // ( ) -> oQHttpRequestHeader - METHOD currentSourceDevice // ( ) -> oQIODevice - METHOD error // ( ) -> nError - METHOD errorString // ( ) -> cQString - METHOD get // ( cPath, oQIODevice ) -> nInt - METHOD hasPendingRequests // ( ) -> lBool - METHOD head // ( cPath ) -> nInt - METHOD lastResponse // ( ) -> oQHttpResponseHeader - METHOD post // ( cPath, oQIODevice, oQIODevice ) -> nInt - // ( cPath, oQByteArray, oQIODevice ) -> nInt - METHOD readAll // ( ) -> oQByteArray - METHOD request // ( oQHttpRequestHeader, oQIODevice, oQIODevice ) -> nInt - // ( oQHttpRequestHeader, oQByteArray, oQIODevice ) -> nInt - METHOD setHost // ( cHostName, nPort ) -> nInt - // ( cHostName, nMode, nPort ) -> nInt - METHOD setProxy // ( cHost, nPort, cUsername, cPassword ) -> nInt - METHOD setUser // ( cUserName, cPassword ) -> nInt - METHOD state // ( ) -> nState - METHOD abort // ( ) -> NIL - - ENDCLASS - - -METHOD QHttp:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHttp( ... ) - RETURN Self - - -METHOD QHttp:bytesAvailable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_bytesAvailable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:clearPendingRequests( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_clearPendingRequests( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:close( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_close( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:currentDestinationDevice( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QHttp_currentDestinationDevice( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:currentId( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_currentId( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:currentRequest( ... ) - SWITCH PCount() - CASE 0 - RETURN QHttpRequestHeaderFromPointer( Qt_QHttp_currentRequest( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:currentSourceDevice( ... ) - SWITCH PCount() - CASE 0 - RETURN QIODeviceFromPointer( Qt_QHttp_currentSourceDevice( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:error( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_error( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:errorString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_errorString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:get( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QHttp_get( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttp_get( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:hasPendingRequests( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_hasPendingRequests( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:head( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttp_head( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:lastResponse( ... ) - SWITCH PCount() - CASE 0 - RETURN QHttpResponseHeaderFromPointer( Qt_QHttp_lastResponse( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:post( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - SWITCH __objGetClsName( hb_pvalue( 2 ) ) + __objGetClsName( hb_pvalue( 3 ) ) - CASE "QIODEVICEQIODEVICE" - RETURN Qt_QHttp_post( ::pPtr, ... ) - CASE "QBYTEARRAYQIODEVICE" - RETURN Qt_QHttp_post_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - SWITCH __objGetClsName( hb_pvalue( 2 ) ) - CASE "QIODEVICE" - RETURN Qt_QHttp_post( ::pPtr, ... ) - CASE "QBYTEARRAY" - RETURN Qt_QHttp_post_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:readAll( ... ) - SWITCH PCount() - CASE 0 - RETURN QByteArrayFromPointer( Qt_QHttp_readAll( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:request( ... ) - SWITCH PCount() - 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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QHTTPREQUESTHEADERQIODEVICE" - RETURN Qt_QHttp_request( ::pPtr, ... ) - CASE "QHTTPREQUESTHEADERQBYTEARRAY" - RETURN Qt_QHttp_request_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 ) ) + __objGetClsName( hb_pvalue( 2 ) ) - CASE "QHTTPREQUESTHEADERQIODEVICE" - RETURN Qt_QHttp_request( ::pPtr, ... ) - CASE "QHTTPREQUESTHEADERQBYTEARRAY" - RETURN Qt_QHttp_request_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QHttp_request( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:setHost( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHttp_setHost( ::pPtr, ... ) - // RETURN Qt_QHttp_setHost_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttp_setHost( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:setProxy( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) .AND. hb_isChar( hb_pvalue( 4 ) ) - RETURN Qt_QHttp_setProxy( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN Qt_QHttp_setProxy( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QHttp_setProxy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:setUser( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QHttp_setUser( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttp_setUser( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:state( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_state( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttp:abort( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttp_abort( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg deleted file mode 100644 index 1e3711a4be..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttpHeader.prg +++ /dev/null @@ -1,248 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTNETWORK - - -FUNCTION QHttpHeader( ... ) - RETURN HB_QHttpHeader():new( ... ) - -FUNCTION QHttpHeaderFromPointer( ... ) - RETURN HB_QHttpHeader():fromPointer( ... ) - - -CREATE CLASS QHttpHeader INHERIT HbQtObjectHandler FUNCTION HB_QHttpHeader - - METHOD new( ... ) - - METHOD addValue // ( cKey, cValue ) -> NIL - METHOD allValues // ( cKey ) -> oQStringList - METHOD contentLength // ( ) -> nUint - METHOD contentType // ( ) -> cQString - METHOD hasContentLength // ( ) -> lBool - METHOD hasContentType // ( ) -> lBool - METHOD hasKey // ( cKey ) -> lBool - METHOD isValid // ( ) -> lBool - METHOD keys // ( ) -> oQStringList - METHOD majorVersion // ( ) -> nInt - METHOD minorVersion // ( ) -> nInt - METHOD removeAllValues // ( cKey ) -> NIL - METHOD removeValue // ( cKey ) -> NIL - METHOD setContentLength // ( nLen ) -> NIL - METHOD setContentType // ( cType ) -> NIL - METHOD setValue // ( cKey, cValue ) -> NIL - METHOD toString // ( ) -> cQString - METHOD value // ( cKey ) -> cQString - - ENDCLASS - - -METHOD QHttpHeader:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHttpHeader( ... ) - RETURN Self - - -METHOD QHttpHeader:addValue( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QHttpHeader_addValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:allValues( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QStringListFromPointer( Qt_QHttpHeader_allValues( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:contentLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_contentLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:contentType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_contentType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:hasContentLength( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_hasContentLength( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:hasContentType( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_hasContentType( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:hasKey( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttpHeader_hasKey( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:keys( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QHttpHeader_keys( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:majorVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_majorVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:minorVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_minorVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:removeAllValues( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttpHeader_removeAllValues( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:removeValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttpHeader_removeValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:setContentLength( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHttpHeader_setContentLength( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:setContentType( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttpHeader_setContentType( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:setValue( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QHttpHeader_setValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:toString( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpHeader_toString( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpHeader:value( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QHttpHeader_value( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg deleted file mode 100644 index 13bf8673f8..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttpRequestHeader.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTNETWORK - - -FUNCTION QHttpRequestHeader( ... ) - RETURN HB_QHttpRequestHeader():new( ... ) - -FUNCTION QHttpRequestHeaderFromPointer( ... ) - RETURN HB_QHttpRequestHeader():fromPointer( ... ) - - -CREATE CLASS QHttpRequestHeader INHERIT HbQtObjectHandler, HB_QHttpHeader FUNCTION HB_QHttpRequestHeader - - METHOD new( ... ) - - METHOD majorVersion // ( ) -> nInt - METHOD method // ( ) -> cQString - METHOD minorVersion // ( ) -> nInt - METHOD path // ( ) -> cQString - METHOD setRequest // ( cMethod, cPath, nMajorVer, nMinorVer ) -> NIL - - ENDCLASS - - -METHOD QHttpRequestHeader:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHttpRequestHeader( ... ) - RETURN Self - - -METHOD QHttpRequestHeader:majorVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpRequestHeader_majorVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpRequestHeader:method( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpRequestHeader_method( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpRequestHeader:minorVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpRequestHeader_minorVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpRequestHeader:path( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpRequestHeader_path( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpRequestHeader:setRequest( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QHttpRequestHeader_setRequest( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QHttpRequestHeader_setRequest( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QHttpRequestHeader_setRequest( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg b/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg deleted file mode 100644 index 79a053c7ca..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/TQHttpResponseHeader.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTNETWORK - - -FUNCTION QHttpResponseHeader( ... ) - RETURN HB_QHttpResponseHeader():new( ... ) - -FUNCTION QHttpResponseHeaderFromPointer( ... ) - RETURN HB_QHttpResponseHeader():fromPointer( ... ) - - -CREATE CLASS QHttpResponseHeader INHERIT HbQtObjectHandler, HB_QHttpHeader FUNCTION HB_QHttpResponseHeader - - METHOD new( ... ) - - METHOD majorVersion // ( ) -> nInt - METHOD minorVersion // ( ) -> nInt - METHOD reasonPhrase // ( ) -> cQString - METHOD setStatusLine // ( nCode, cText, nMajorVer, nMinorVer ) -> NIL - METHOD statusCode // ( ) -> nInt - - ENDCLASS - - -METHOD QHttpResponseHeader:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QHttpResponseHeader( ... ) - RETURN Self - - -METHOD QHttpResponseHeader:majorVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpResponseHeader_majorVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpResponseHeader:minorVersion( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpResponseHeader_minorVersion( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpResponseHeader:reasonPhrase( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpResponseHeader_reasonPhrase( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpResponseHeader:setStatusLine( ... ) - SWITCH PCount() - CASE 4 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) .AND. hb_isNumeric( hb_pvalue( 4 ) ) - RETURN Qt_QHttpResponseHeader_setStatusLine( ::pPtr, ... ) - ENDCASE - EXIT - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QHttpResponseHeader_setStatusLine( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QHttpResponseHeader_setStatusLine( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QHttpResponseHeader_setStatusLine( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QHttpResponseHeader:statusCode( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QHttpResponseHeader_statusCode( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg b/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg deleted file mode 100644 index 2a1a9ec6e8..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/TQNetworkRequest.prg +++ /dev/null @@ -1,178 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTNETWORK - - -FUNCTION QNetworkRequest( ... ) - RETURN HB_QNetworkRequest():new( ... ) - -FUNCTION QNetworkRequestFromPointer( ... ) - RETURN HB_QNetworkRequest():fromPointer( ... ) - - -CREATE CLASS QNetworkRequest INHERIT HbQtObjectHandler FUNCTION HB_QNetworkRequest - - METHOD new( ... ) - - METHOD attribute // ( nCode, oQVariant ) -> oQVariant - METHOD hasRawHeader // ( oQByteArray ) -> lBool - METHOD header // ( nHeader ) -> oQVariant - METHOD rawHeader // ( oQByteArray ) -> oQByteArray - METHOD rawHeaderList // ( ) -> oQList_QByteArray> - METHOD setAttribute // ( nCode, oQVariant ) -> NIL - METHOD setHeader // ( nHeader, oQVariant ) -> NIL - METHOD setRawHeader // ( oQByteArray, oQByteArray ) -> NIL - METHOD setUrl // ( oQUrl ) -> NIL - METHOD url // ( ) -> oQUrl - - ENDCLASS - - -METHOD QNetworkRequest:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QNetworkRequest( ... ) - RETURN Self - - -METHOD QNetworkRequest:attribute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QVariantFromPointer( Qt_QNetworkRequest_attribute( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QNetworkRequest_attribute( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:hasRawHeader( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QNetworkRequest_hasRawHeader( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:header( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QNetworkRequest_header( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:rawHeader( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QByteArrayFromPointer( Qt_QNetworkRequest_rawHeader( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:rawHeaderList( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QNetworkRequest_rawHeaderList( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:setAttribute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QNetworkRequest_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:setHeader( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QNetworkRequest_setHeader( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:setRawHeader( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QNetworkRequest_setRawHeader( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:setUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QNetworkRequest_setUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QNetworkRequest:url( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QNetworkRequest_url( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtnetwork/g/filelist.hbm b/harbour/contrib/hbqt/qtnetwork/g/filelist.hbm deleted file mode 100644 index 966c37a746..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/filelist.hbm +++ /dev/null @@ -1,23 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -QFtp.cpp -QHttp.cpp -QHttpHeader.cpp -QHttpRequestHeader.cpp -QHttpResponseHeader.cpp -QNetworkRequest.cpp - -TQFtp.prg -TQHttp.prg -TQHttpHeader.prg -TQHttpRequestHeader.prg -TQHttpResponseHeader.prg -TQNetworkRequest.prg diff --git a/harbour/contrib/hbqt/qtnetwork/g/hbqtnetwork.h b/harbour/contrib/hbqt/qtnetwork/g/hbqtnetwork.h deleted file mode 100644 index a840b10300..0000000000 --- a/harbour/contrib/hbqt/qtnetwork/g/hbqtnetwork.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQTNETWORK_H -#define __HBQTNETWORK_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFtp ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHttp ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHttpHeader ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHttpRequestHeader ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHttpResponseHeader ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QNetworkRequest ); - -extern HB_EXPORT void * hbqt_gcAllocate_QFtp( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHttp( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHttpHeader( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHttpRequestHeader( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QHttpResponseHeader( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QNetworkRequest( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_QFtp( n ) ( ( QFtp * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHttp( n ) ( ( QHttp * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHttpHeader( n ) ( ( QHttpHeader * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHttpRequestHeader( n ) ( ( QHttpRequestHeader * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QHttpResponseHeader( n ) ( ( QHttpResponseHeader * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QNetworkRequest( n ) ( ( QNetworkRequest * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_QFtp 0x66CE12A3 -#define HBQT_TYPE_QHttp 0x490D10C6 -#define HBQT_TYPE_QHttpHeader 0x43AEA94E -#define HBQT_TYPE_QHttpRequestHeader 0x15AE514B -#define HBQT_TYPE_QHttpResponseHeader 0x83513118 -#define HBQT_TYPE_QNetworkRequest 0xD26B31CE - -#endif /* __HBQTNETWORK_H */ diff --git a/harbour/contrib/hbqt/qtuitools/doc/en/class_quiloader.txt b/harbour/contrib/hbqt/qtuitools/doc/en/class_quiloader.txt deleted file mode 100644 index 24b39d0a22..0000000000 --- a/harbour/contrib/hbqt/qtuitools/doc/en/class_quiloader.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QUiLoader() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/quiloader.html - * $ONELINER$ - * Creates a new QUiLoader object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QUiLoader( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QUiLoader - * $METHODS$ - * :addPluginPath( cPath ) -> NIL - * :availableLayouts() -> oQStringList - * :availableWidgets() -> oQStringList - * :clearPluginPaths() -> NIL - * :createAction( oQObject, cName ) -> oQAction - * :createActionGroup( oQObject, cName ) -> oQActionGroup - * :createLayout( cClassName, oQObject, cName ) -> oQLayout - * :createWidget( cClassName, oQWidget, cName ) -> oQWidget - * :isLanguageChangeEnabled() -> lBool - * :load( oQIODevice, oQWidget ) -> oQWidget - * :pluginPaths() -> oQStringList - * :setLanguageChangeEnabled( lEnabled ) -> NIL - * :setWorkingDirectory( oQDir ) -> NIL - * :workingDirectory() -> oQDir - * - * $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/qtuitools/TQUiLoader.prg - * C++ wrappers : contrib/hbqt/qtuitools/QUiLoader.cpp - * Library : hbqtuitools - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtuitools/g/QUiLoader.cpp b/harbour/contrib/hbqt/qtuitools/g/QUiLoader.cpp deleted file mode 100644 index b6cbb6a7f1..0000000000 --- a/harbour/contrib/hbqt/qtuitools/g/QUiLoader.cpp +++ /dev/null @@ -1,230 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtuitools.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include -#include -#include - -/* - * QUiLoader ( QObject * parent = 0 ) - * virtual ~QUiLoader () - */ - -typedef struct -{ - QPointer< QUiLoader > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QUiLoader; - -HBQT_GC_FUNC( hbqt_gcRelease_QUiLoader ) -{ - HBQT_GC_T_QUiLoader * p = ( HBQT_GC_T_QUiLoader * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QUiLoader * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QUiLoader( void * pObj, bool bNew ) -{ - HBQT_GC_T_QUiLoader * p = ( HBQT_GC_T_QUiLoader * ) hb_gcAllocate( sizeof( HBQT_GC_T_QUiLoader ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QUiLoader >( ( QUiLoader * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QUiLoader; - p->type = HBQT_TYPE_QUiLoader; - - return p; -} - -HB_FUNC( QT_QUILOADER ) -{ - QUiLoader * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QUiLoader( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = new QUiLoader() ; - } - - hb_retptrGC( hbqt_gcAllocate_QUiLoader( ( void * ) pObj, true ) ); -} - -/* void addPluginPath ( const QString & path ) */ -HB_FUNC( QT_QUILOADER_ADDPLUGINPATH ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - { - void * pText; - ( p )->addPluginPath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* QStringList availableLayouts () const */ -HB_FUNC( QT_QUILOADER_AVAILABLELAYOUTS ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->availableLayouts() ), true ) ); -} - -/* QStringList availableWidgets () const */ -HB_FUNC( QT_QUILOADER_AVAILABLEWIDGETS ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->availableWidgets() ), true ) ); -} - -/* void clearPluginPaths () */ -HB_FUNC( QT_QUILOADER_CLEARPLUGINPATHS ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - ( p )->clearPluginPaths(); -} - -/* virtual QAction * createAction ( QObject * parent = 0, const QString & name = QString() ) */ -HB_FUNC( QT_QUILOADER_CREATEACTION ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->createAction( hbqt_par_QObject( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* virtual QActionGroup * createActionGroup ( QObject * parent = 0, const QString & name = QString() ) */ -HB_FUNC( QT_QUILOADER_CREATEACTIONGROUP ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QActionGroup( ( p )->createActionGroup( hbqt_par_QObject( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* virtual QLayout * createLayout ( const QString & className, QObject * parent = 0, const QString & name = QString() ) */ -HB_FUNC( QT_QUILOADER_CREATELAYOUT ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QLayout( ( p )->createLayout( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* virtual QWidget * createWidget ( const QString & className, QWidget * parent = 0, const QString & name = QString() ) */ -HB_FUNC( QT_QUILOADER_CREATEWIDGET ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->createWidget( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QWidget( 3 ), hb_parstr_utf8( 4, &pText, NULL ) ), false ) ); - hb_strfree( pText ); - } -} - -/* bool isLanguageChangeEnabled () const */ -HB_FUNC( QT_QUILOADER_ISLANGUAGECHANGEENABLED ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - hb_retl( ( p )->isLanguageChangeEnabled() ); -} - -/* QWidget * load ( QIODevice * device, QWidget * parentWidget = 0 ) */ -HB_FUNC( QT_QUILOADER_LOAD ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->load( hbqt_par_QIODevice( 2 ), hbqt_par_QWidget( 3 ) ), false ) ); -} - -/* QStringList pluginPaths () const */ -HB_FUNC( QT_QUILOADER_PLUGINPATHS ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QStringList( new QStringList( ( p )->pluginPaths() ), true ) ); -} - -/* void setLanguageChangeEnabled ( bool enabled ) */ -HB_FUNC( QT_QUILOADER_SETLANGUAGECHANGEENABLED ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - ( p )->setLanguageChangeEnabled( hb_parl( 2 ) ); -} - -/* void setWorkingDirectory ( const QDir & dir ) */ -HB_FUNC( QT_QUILOADER_SETWORKINGDIRECTORY ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - ( p )->setWorkingDirectory( *hbqt_par_QDir( 2 ) ); -} - -/* QDir workingDirectory () const */ -HB_FUNC( QT_QUILOADER_WORKINGDIRECTORY ) -{ - QUiLoader * p = hbqt_par_QUiLoader( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDir( new QDir( ( p )->workingDirectory() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtuitools/g/TQUiLoader.prg b/harbour/contrib/hbqt/qtuitools/g/TQUiLoader.prg deleted file mode 100644 index b653033784..0000000000 --- a/harbour/contrib/hbqt/qtuitools/g/TQUiLoader.prg +++ /dev/null @@ -1,254 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTUITOOLS - - -FUNCTION QUiLoader( ... ) - RETURN HB_QUiLoader():new( ... ) - -FUNCTION QUiLoaderFromPointer( ... ) - RETURN HB_QUiLoader():fromPointer( ... ) - - -CREATE CLASS QUiLoader INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QUiLoader - - METHOD new( ... ) - - METHOD addPluginPath // ( cPath ) -> NIL - METHOD availableLayouts // ( ) -> oQStringList - METHOD availableWidgets // ( ) -> oQStringList - METHOD clearPluginPaths // ( ) -> NIL - METHOD createAction // ( oQObject, cName ) -> oQAction - METHOD createActionGroup // ( oQObject, cName ) -> oQActionGroup - METHOD createLayout // ( cClassName, oQObject, cName ) -> oQLayout - METHOD createWidget // ( cClassName, oQWidget, cName ) -> oQWidget - METHOD isLanguageChangeEnabled // ( ) -> lBool - METHOD load // ( oQIODevice, oQWidget ) -> oQWidget - METHOD pluginPaths // ( ) -> oQStringList - METHOD setLanguageChangeEnabled // ( lEnabled ) -> NIL - METHOD setWorkingDirectory // ( oQDir ) -> NIL - METHOD workingDirectory // ( ) -> oQDir - - ENDCLASS - - -METHOD QUiLoader:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QUiLoader( ... ) - RETURN Self - - -METHOD QUiLoader:addPluginPath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QUiLoader_addPluginPath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:availableLayouts( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QUiLoader_availableLayouts( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:availableWidgets( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QUiLoader_availableWidgets( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:clearPluginPaths( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUiLoader_clearPluginPaths( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:createAction( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QActionFromPointer( Qt_QUiLoader_createAction( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QUiLoader_createAction( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QActionFromPointer( Qt_QUiLoader_createAction( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:createActionGroup( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN QActionGroupFromPointer( Qt_QUiLoader_createActionGroup( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QActionGroupFromPointer( Qt_QUiLoader_createActionGroup( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 0 - RETURN QActionGroupFromPointer( Qt_QUiLoader_createActionGroup( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:createLayout( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QLayoutFromPointer( Qt_QUiLoader_createLayout( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QLayoutFromPointer( Qt_QUiLoader_createLayout( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QLayoutFromPointer( Qt_QUiLoader_createLayout( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:createWidget( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) .AND. hb_isChar( hb_pvalue( 3 ) ) - RETURN QWidgetFromPointer( Qt_QUiLoader_createWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QUiLoader_createWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QUiLoader_createWidget( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:isLanguageChangeEnabled( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QUiLoader_isLanguageChangeEnabled( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:load( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN QWidgetFromPointer( Qt_QUiLoader_load( ::pPtr, ... ) ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWidgetFromPointer( Qt_QUiLoader_load( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:pluginPaths( ... ) - SWITCH PCount() - CASE 0 - RETURN QStringListFromPointer( Qt_QUiLoader_pluginPaths( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:setLanguageChangeEnabled( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QUiLoader_setLanguageChangeEnabled( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:setWorkingDirectory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QUiLoader_setWorkingDirectory( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QUiLoader:workingDirectory( ... ) - SWITCH PCount() - CASE 0 - RETURN QDirFromPointer( Qt_QUiLoader_workingDirectory( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtuitools/g/filelist.hbm b/harbour/contrib/hbqt/qtuitools/g/filelist.hbm deleted file mode 100644 index 0064c5345e..0000000000 --- a/harbour/contrib/hbqt/qtuitools/g/filelist.hbm +++ /dev/null @@ -1,13 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -QUiLoader.cpp - -TQUiLoader.prg diff --git a/harbour/contrib/hbqt/qtuitools/g/hbqtuitools.h b/harbour/contrib/hbqt/qtuitools/g/hbqtuitools.h deleted file mode 100644 index d95314e252..0000000000 --- a/harbour/contrib/hbqt/qtuitools/g/hbqtuitools.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQTUITOOLS_H -#define __HBQTUITOOLS_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QUiLoader ); - -extern HB_EXPORT void * hbqt_gcAllocate_QUiLoader( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_QUiLoader( n ) ( ( QUiLoader * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_QUiLoader 0x8AF58D61 - -#endif /* __HBQTUITOOLS_H */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt deleted file mode 100644 index c32ce4a746..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt +++ /dev/null @@ -1,86 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebFrame() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebframe.html - * $ONELINER$ - * Creates a new QWebFrame object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QWebFrame( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebFrame - * $METHODS$ - * :addToJavaScriptWindowObject( cName, oQObject ) -> NIL - * :addToJavaScriptWindowObject( cName, oQObject, nOwn ) -> NIL - * :childFrames() -> oQList_QWebFrame - * :contentsSize() -> oQSize - * :frameName() -> cQString - * :geometry() -> oQRect - * :hitTestContent( oQPoint ) -> oQWebHitTestResult - * :icon() -> oQIcon - * :load( oQUrl ) -> NIL - * :page() -> oQWebPage - * :parentFrame() -> oQWebFrame - * :pos() -> oQPoint - * :render( oQPainter, oQRegion ) -> NIL - * :render( oQPainter ) -> NIL - * :renderTreeDump() -> cQString - * :scroll( nDx, nDy ) -> NIL - * :scrollBarMaximum( nOrientation ) -> nInt - * :scrollBarMinimum( nOrientation ) -> nInt - * :scrollBarPolicy( nOrientation ) -> nQt_ScrollBarPolicy - * :scrollBarValue( nOrientation ) -> nInt - * :scrollPosition() -> oQPoint - * :securityOrigin() -> oQWebSecurityOrigin - * :setContent( oQByteArray, cMimeType, oQUrl ) -> NIL - * :setHtml( cHtml, oQUrl ) -> NIL - * :setScrollBarPolicy( nOrientation, nPolicy ) -> NIL - * :setScrollBarValue( nOrientation, nValue ) -> NIL - * :setScrollPosition( oQPoint ) -> NIL - * :setTextSizeMultiplier( nFactor ) -> NIL - * :setUrl( oQUrl ) -> NIL - * :setZoomFactor( nFactor ) -> NIL - * :textSizeMultiplier() -> nQreal - * :title() -> cQString - * :toHtml() -> cQString - * :toPlainText() -> cQString - * :url() -> oQUrl - * :zoomFactor() -> nQreal - * :evaluateJavaScript( cScriptSource ) -> oQVariant - * :print( oQPrinter ) -> 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/qtwebkit/TQWebFrame.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebFrame.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt deleted file mode 100644 index 74ee712cd1..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt +++ /dev/null @@ -1,65 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebHistory() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebhistory.html - * $ONELINER$ - * Creates a new QWebHistory object. - * $INHERITS$ - * - * $SYNTAX$ - * QWebHistory( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebHistory - * $METHODS$ - * :back() -> NIL - * :backItem() -> oQWebHistoryItem - * :backItems( nMaxItems ) -> oQList_QWebHistoryItem> - * :canGoBack() -> lBool - * :canGoForward() -> lBool - * :clear() -> NIL - * :count() -> nInt - * :currentItem() -> oQWebHistoryItem - * :currentItemIndex() -> nInt - * :forward() -> NIL - * :forwardItem() -> oQWebHistoryItem - * :forwardItems( nMaxItems ) -> oQList_QWebHistoryItem> - * :goToItem( oQWebHistoryItem ) -> NIL - * :itemAt( nI ) -> oQWebHistoryItem - * :items() -> oQList_QWebHistoryItem> - * :maximumItemCount() -> nInt - * :setMaximumItemCount( nCount ) -> 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/qtwebkit/TQWebHistory.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebHistory.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt deleted file mode 100644 index eeb1aacf7d..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt +++ /dev/null @@ -1,52 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebHistoryInterface() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebhistoryinterface.html - * $ONELINER$ - * Creates a new QWebHistoryInterface object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QWebHistoryInterface( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebHistoryInterface - * $METHODS$ - * :addHistoryEntry( cUrl ) -> NIL - * :historyContains( cUrl ) -> lBool - * :defaultInterface() -> oQWebHistoryInterface - * :setDefaultInterface( oQWebHistoryInterface ) -> 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/qtwebkit/TQWebHistoryInterface.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt deleted file mode 100644 index da9e8491cc..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt +++ /dev/null @@ -1,56 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebHistoryItem() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebhistoryitem.html - * $ONELINER$ - * Creates a new QWebHistoryItem object. - * $INHERITS$ - * - * $SYNTAX$ - * QWebHistoryItem( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebHistoryItem - * $METHODS$ - * :icon() -> oQIcon - * :isValid() -> lBool - * :lastVisited() -> oQDateTime - * :originalUrl() -> oQUrl - * :setUserData( oQVariant ) -> NIL - * :title() -> cQString - * :url() -> oQUrl - * :userData() -> oQVariant - * - * $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/qtwebkit/TQWebHistoryItem.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebHistoryItem.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt deleted file mode 100644 index 79ce64e870..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt +++ /dev/null @@ -1,62 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebHitTestResult() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebhittestresult.html - * $ONELINER$ - * Creates a new QWebHitTestResult object. - * $INHERITS$ - * - * $SYNTAX$ - * QWebHitTestResult( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebHitTestResult - * $METHODS$ - * :alternateText() -> cQString - * :boundingRect() -> oQRect - * :frame() -> oQWebFrame - * :imageUrl() -> oQUrl - * :isContentEditable() -> lBool - * :isContentSelected() -> lBool - * :isNull() -> lBool - * :linkTargetFrame() -> oQWebFrame - * :linkText() -> cQString - * :linkTitle() -> oQUrl - * :linkUrl() -> oQUrl - * :pixmap() -> oQPixmap - * :pos() -> oQPoint - * :title() -> cQString - * - * $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/qtwebkit/TQWebHitTestResult.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebHitTestResult.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt deleted file mode 100644 index bc0cbcc89f..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt +++ /dev/null @@ -1,79 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebPage() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebpage.html - * $ONELINER$ - * Creates a new QWebPage object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QWebPage( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebPage - * $METHODS$ - * :action( nAction ) -> oQAction - * :bytesReceived() -> nQuint64 - * :createStandardContextMenu() -> oQMenu - * :currentFrame() -> oQWebFrame - * :findText( cSubString, nOptions ) -> lBool - * :focusNextPrevChild( lNext ) -> lBool - * :forwardUnsupportedContent() -> lBool - * :history() -> oQWebHistory - * :inputMethodQuery( nProperty ) -> oQVariant - * :isContentEditable() -> lBool - * :isModified() -> lBool - * :linkDelegationPolicy() -> nLinkDelegationPolicy - * :mainFrame() -> oQWebFrame - * :palette() -> oQPalette - * :pluginFactory() -> oQWebPluginFactory - * :selectedText() -> cQString - * :setContentEditable( lEditable ) -> NIL - * :setForwardUnsupportedContent( lForward ) -> NIL - * :setLinkDelegationPolicy( nPolicy ) -> NIL - * :setPalette( oQPalette ) -> NIL - * :setPluginFactory( oQWebPluginFactory ) -> NIL - * :setView( oQWidget ) -> NIL - * :setViewportSize( oQSize ) -> NIL - * :settings() -> oQWebSettings - * :supportsExtension( nExtension ) -> lBool - * :swallowContextMenuEvent( oQContextMenuEvent ) -> lBool - * :totalBytes() -> nQuint64 - * :triggerAction( nAction, lChecked ) -> NIL - * :updatePositionDependentActions( oQPoint ) -> NIL - * :view() -> oQWidget - * :viewportSize() -> oQSize - * - * $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/qtwebkit/TQWebPage.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebPage.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt deleted file mode 100644 index c9c4e22269..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt +++ /dev/null @@ -1,51 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebPluginFactory() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebpluginfactory.html - * $ONELINER$ - * Creates a new QWebPluginFactory object. - * $INHERITS$ - * QObject - * $SYNTAX$ - * QWebPluginFactory( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebPluginFactory - * $METHODS$ - * :create( cMimeType, oQUrl, oQStringList, oQStringList ) -> oQObject - * :refreshPlugins() -> NIL - * :supportsExtension( nExtension ) -> lBool - * - * $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/qtwebkit/TQWebPluginFactory.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebPluginFactory.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt deleted file mode 100644 index 1f0576e6a1..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebSecurityOrigin() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebsecurityorigin.html - * $ONELINER$ - * Creates a new QWebSecurityOrigin object. - * $INHERITS$ - * - * $SYNTAX$ - * QWebSecurityOrigin( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebSecurityOrigin - * $METHODS$ - * :databaseQuota() -> nQint64 - * :databaseUsage() -> nQint64 - * :host() -> cQString - * :port() -> nInt - * :scheme() -> cQString - * :setDatabaseQuota( nQuota ) -> NIL - * :allOrigins() -> oQList_QWebSecurityOrigin> - * - * $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/qtwebkit/TQWebSecurityOrigin.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt deleted file mode 100644 index c8c2423b97..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt +++ /dev/null @@ -1,73 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebSettings() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebsettings.html - * $ONELINER$ - * Creates a new QWebSettings object. - * $INHERITS$ - * - * $SYNTAX$ - * QWebSettings( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebSettings - * $METHODS$ - * :fontFamily( nWhich ) -> cQString - * :fontSize( nType ) -> nInt - * :resetAttribute( nAttribute ) -> NIL - * :resetFontFamily( nWhich ) -> NIL - * :resetFontSize( nType ) -> NIL - * :setAttribute( nAttribute, lOn ) -> NIL - * :setFontFamily( nWhich, cFamily ) -> NIL - * :setFontSize( nType, nSize ) -> NIL - * :setUserStyleSheetUrl( oQUrl ) -> NIL - * :testAttribute( nAttribute ) -> lBool - * :userStyleSheetUrl() -> oQUrl - * :clearIconDatabase() -> NIL - * :globalSettings() -> oQWebSettings - * :iconDatabasePath() -> cQString - * :iconForUrl( oQUrl ) -> oQIcon - * :maximumPagesInCache() -> nInt - * :offlineStorageDefaultQuota() -> nQint64 - * :offlineStoragePath() -> cQString - * :setIconDatabasePath( cPath ) -> NIL - * :setMaximumPagesInCache( nPages ) -> NIL - * :setObjectCacheCapacities( nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity ) -> NIL - * :setOfflineStorageDefaultQuota( nMaximumSize ) -> NIL - * :setOfflineStoragePath( cPath ) -> NIL - * :setWebGraphic( nType, oQPixmap ) -> NIL - * :webGraphic( nType ) -> oQPixmap - * - * $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/qtwebkit/TQWebSettings.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebSettings.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt b/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt deleted file mode 100644 index 6e4a0fe1b9..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $Id$ - */ - -/* $DOC$ - * $TEMPLATE$ - * Class - * $NAME$ - * QWebView() - * $CATEGORY$ - * Harbour Bindings for Qt - * $SUBCATEGORY$ - * GUI - * $EXTERNALLINK$ - * http://doc.trolltech.com/4.5/qwebview.html - * $ONELINER$ - * Creates a new QWebView object. - * $INHERITS$ - * QWidget - * $SYNTAX$ - * QWebView( ... ) - * - * $ARGUMENTS$ - * - * $RETURNS$ - * An instance of the object of type QWebView - * $METHODS$ - * :findText( cSubString, nOptions ) -> lBool - * :history() -> oQWebHistory - * :icon() -> oQIcon - * :isModified() -> lBool - * :load( oQUrl ) -> NIL - * :load( oQNetworkRequest, nOperation, oQByteArray ) -> NIL - * :page() -> oQWebPage - * :pageAction( nAction ) -> oQAction - * :selectedText() -> cQString - * :setContent( oQByteArray, cMimeType, oQUrl ) -> NIL - * :setHtml( cHtml, oQUrl ) -> NIL - * :setPage( oQWebPage ) -> NIL - * :setTextSizeMultiplier( nFactor ) -> NIL - * :setUrl( oQUrl ) -> NIL - * :setZoomFactor( nFactor ) -> NIL - * :settings() -> oQWebSettings - * :textSizeMultiplier() -> nQreal - * :title() -> cQString - * :triggerPageAction( nAction, lChecked ) -> NIL - * :url() -> oQUrl - * :zoomFactor() -> nQreal - * :back() -> NIL - * :forward() -> NIL - * :print( oQPrinter ) -> NIL - * :reload() -> NIL - * :stop() -> 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/qtwebkit/TQWebView.prg - * C++ wrappers : contrib/hbqt/qtwebkit/QWebView.cpp - * Library : hbqtwebkit - * $END$ - */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp deleted file mode 100644 index 3f4fa3f52e..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebFrame.cpp +++ /dev/null @@ -1,407 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 38/39 [ 97.44% ] ] - * - * *** Unconvered Prototypes *** - * - * QMultiMap metaData () const - * - * *** Commented out protostypes *** - * - * // void load ( const QWebNetworkRequest & req ) - */ - -#include - -#include "hbqtgui.h" - -#include -#include - -/* - * - */ - -typedef struct -{ - QPointer< QWebFrame > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebFrame; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebFrame ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWebFrame * p = ( HBQT_GC_T_QWebFrame * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWebFrame ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWebFrame >( ( QWebFrame * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebFrame; - p->type = HBQT_TYPE_QWebFrame; - - return p; -} - -HB_FUNC( QT_QWEBFRAME ) -{ - // __HB_RETPTRGC__( new QWebFrame() ); -} - -/* void addToJavaScriptWindowObject ( const QString & name, QObject * object ) */ -HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - { - void * pText; - ( p )->addToJavaScriptWindowObject( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ) ); - hb_strfree( pText ); - } -} - -/* void addToJavaScriptWindowObject ( const QString & name, QObject * object, QScriptEngine::ValueOwnership own ) */ -HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT_1 ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - { - void * pText; - ( p )->addToJavaScriptWindowObject( hb_parstr_utf8( 2, &pText, NULL ), hbqt_par_QObject( 3 ), ( QScriptEngine::ValueOwnership ) hb_parni( 4 ) ); - hb_strfree( pText ); - } -} - -/* QList childFrames () const */ -HB_FUNC( QT_QWEBFRAME_CHILDFRAMES ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->childFrames() ), true ) ); -} - -/* QSize contentsSize () const */ -HB_FUNC( QT_QWEBFRAME_CONTENTSSIZE ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->contentsSize() ), true ) ); -} - -/* QString frameName () const */ -HB_FUNC( QT_QWEBFRAME_FRAMENAME ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retstr_utf8( ( p )->frameName().toUtf8().data() ); -} - -/* QRect geometry () const */ -HB_FUNC( QT_QWEBFRAME_GEOMETRY ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->geometry() ), true ) ); -} - -/* QWebHitTestResult hitTestContent ( const QPoint & pos ) const */ -HB_FUNC( QT_QWEBFRAME_HITTESTCONTENT ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHitTestResult( new QWebHitTestResult( ( p )->hitTestContent( *hbqt_par_QPoint( 2 ) ) ), true ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QWEBFRAME_ICON ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* void load ( const QUrl & url ) */ -HB_FUNC( QT_QWEBFRAME_LOAD ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->load( *hbqt_par_QUrl( 2 ) ); -} - -/* QWebPage * page () const */ -HB_FUNC( QT_QWEBFRAME_PAGE ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebPage( ( p )->page(), false ) ); -} - -/* QWebFrame * parentFrame () const */ -HB_FUNC( QT_QWEBFRAME_PARENTFRAME ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->parentFrame(), false ) ); -} - -/* QPoint pos () const */ -HB_FUNC( QT_QWEBFRAME_POS ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* void render ( QPainter * painter, const QRegion & clip ) */ -HB_FUNC( QT_QWEBFRAME_RENDER ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->render( hbqt_par_QPainter( 2 ), *hbqt_par_QRegion( 3 ) ); -} - -/* void render ( QPainter * painter ) */ -HB_FUNC( QT_QWEBFRAME_RENDER_1 ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->render( hbqt_par_QPainter( 2 ) ); -} - -/* QString renderTreeDump () const */ -HB_FUNC( QT_QWEBFRAME_RENDERTREEDUMP ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retstr_utf8( ( p )->renderTreeDump().toUtf8().data() ); -} - -/* void scroll ( int dx, int dy ) */ -HB_FUNC( QT_QWEBFRAME_SCROLL ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->scroll( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* int scrollBarMaximum ( Qt::Orientation orientation ) const */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARMAXIMUM ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retni( ( p )->scrollBarMaximum( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* int scrollBarMinimum ( Qt::Orientation orientation ) const */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARMINIMUM ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retni( ( p )->scrollBarMinimum( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* Qt::ScrollBarPolicy scrollBarPolicy ( Qt::Orientation orientation ) const */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARPOLICY ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retni( ( Qt::ScrollBarPolicy ) ( p )->scrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* int scrollBarValue ( Qt::Orientation orientation ) const */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARVALUE ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retni( ( p )->scrollBarValue( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* QPoint scrollPosition () const */ -HB_FUNC( QT_QWEBFRAME_SCROLLPOSITION ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->scrollPosition() ), true ) ); -} - -/* QWebSecurityOrigin securityOrigin () const */ -HB_FUNC( QT_QWEBFRAME_SECURITYORIGIN ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebSecurityOrigin( new QWebSecurityOrigin( ( p )->securityOrigin() ), true ) ); -} - -/* void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) */ -HB_FUNC( QT_QWEBFRAME_SETCONTENT ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - { - void * pText; - ( p )->setContent( *hbqt_par_QByteArray( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); - hb_strfree( pText ); - } -} - -/* void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) */ -HB_FUNC( QT_QWEBFRAME_SETHTML ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - { - void * pText; - ( p )->setHtml( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); - hb_strfree( pText ); - } -} - -/* void setScrollBarPolicy ( Qt::Orientation orientation, Qt::ScrollBarPolicy policy ) */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLBARPOLICY ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->setScrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ), ( Qt::ScrollBarPolicy ) hb_parni( 3 ) ); -} - -/* void setScrollBarValue ( Qt::Orientation orientation, int value ) */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLBARVALUE ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->setScrollBarValue( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setScrollPosition ( const QPoint & pos ) */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLPOSITION ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->setScrollPosition( *hbqt_par_QPoint( 2 ) ); -} - -/* void setTextSizeMultiplier ( qreal factor ) */ -HB_FUNC( QT_QWEBFRAME_SETTEXTSIZEMULTIPLIER ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->setTextSizeMultiplier( hb_parnd( 2 ) ); -} - -/* void setUrl ( const QUrl & url ) */ -HB_FUNC( QT_QWEBFRAME_SETURL ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* void setZoomFactor ( qreal factor ) */ -HB_FUNC( QT_QWEBFRAME_SETZOOMFACTOR ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->setZoomFactor( hb_parnd( 2 ) ); -} - -/* qreal textSizeMultiplier () const */ -HB_FUNC( QT_QWEBFRAME_TEXTSIZEMULTIPLIER ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retnd( ( p )->textSizeMultiplier() ); -} - -/* QString title () const */ -HB_FUNC( QT_QWEBFRAME_TITLE ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - -/* QString toHtml () const */ -HB_FUNC( QT_QWEBFRAME_TOHTML ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toHtml().toUtf8().data() ); -} - -/* QString toPlainText () const */ -HB_FUNC( QT_QWEBFRAME_TOPLAINTEXT ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retstr_utf8( ( p )->toPlainText().toUtf8().data() ); -} - -/* QUrl url () const */ -HB_FUNC( QT_QWEBFRAME_URL ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); -} - -/* qreal zoomFactor () const */ -HB_FUNC( QT_QWEBFRAME_ZOOMFACTOR ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - hb_retnd( ( p )->zoomFactor() ); -} - -/* QVariant evaluateJavaScript ( const QString & scriptSource ) */ -HB_FUNC( QT_QWEBFRAME_EVALUATEJAVASCRIPT ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->evaluateJavaScript( hb_parstr_utf8( 2, &pText, NULL ) ) ), true ) ); - hb_strfree( pText ); - } -} - -/* void print ( QPrinter * printer ) const */ -HB_FUNC( QT_QWEBFRAME_PRINT ) -{ - QWebFrame * p = hbqt_par_QWebFrame( 1 ); - if( p ) - ( p )->print( hbqt_par_QPrinter( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp deleted file mode 100644 index fe5ee9aaca..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHistory.cpp +++ /dev/null @@ -1,210 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 17/17 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QWebHistory () - */ - -typedef struct -{ - QWebHistory * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebHistory; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebHistory ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWebHistory * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebHistory; - p->type = HBQT_TYPE_QWebHistory; - - return p; -} - -HB_FUNC( QT_QWEBHISTORY ) -{ - //__HB_RETPTRGC__( new QWebHistory () ); -} - -/* void back () */ -HB_FUNC( QT_QWEBHISTORY_BACK ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - ( p )->back(); -} - -/* QWebHistoryItem backItem () const */ -HB_FUNC( QT_QWEBHISTORY_BACKITEM ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->backItem() ), true ) ); -} - -/* QList backItems ( int maxItems ) const */ -HB_FUNC( QT_QWEBHISTORY_BACKITEMS ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->backItems( hb_parni( 2 ) ) ), true ) ); -} - -/* bool canGoBack () const */ -HB_FUNC( QT_QWEBHISTORY_CANGOBACK ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retl( ( p )->canGoBack() ); -} - -/* bool canGoForward () const */ -HB_FUNC( QT_QWEBHISTORY_CANGOFORWARD ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retl( ( p )->canGoForward() ); -} - -/* void clear () */ -HB_FUNC( QT_QWEBHISTORY_CLEAR ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - ( p )->clear(); -} - -/* int count () const */ -HB_FUNC( QT_QWEBHISTORY_COUNT ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retni( ( p )->count() ); -} - -/* QWebHistoryItem currentItem () const */ -HB_FUNC( QT_QWEBHISTORY_CURRENTITEM ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->currentItem() ), true ) ); -} - -/* int currentItemIndex () const */ -HB_FUNC( QT_QWEBHISTORY_CURRENTITEMINDEX ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retni( ( p )->currentItemIndex() ); -} - -/* void forward () */ -HB_FUNC( QT_QWEBHISTORY_FORWARD ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - ( p )->forward(); -} - -/* QWebHistoryItem forwardItem () const */ -HB_FUNC( QT_QWEBHISTORY_FORWARDITEM ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->forwardItem() ), true ) ); -} - -/* QList forwardItems ( int maxItems ) const */ -HB_FUNC( QT_QWEBHISTORY_FORWARDITEMS ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->forwardItems( hb_parni( 2 ) ) ), true ) ); -} - -/* void goToItem ( const QWebHistoryItem & item ) */ -HB_FUNC( QT_QWEBHISTORY_GOTOITEM ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - ( p )->goToItem( *hbqt_par_QWebHistoryItem( 2 ) ); -} - -/* QWebHistoryItem itemAt ( int i ) const */ -HB_FUNC( QT_QWEBHISTORY_ITEMAT ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( new QWebHistoryItem( ( p )->itemAt( hb_parni( 2 ) ) ), true ) ); -} - -/* QList items () const */ -HB_FUNC( QT_QWEBHISTORY_ITEMS ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->items() ), true ) ); -} - -/* int maximumItemCount () const */ -HB_FUNC( QT_QWEBHISTORY_MAXIMUMITEMCOUNT ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - hb_retni( ( p )->maximumItemCount() ); -} - -/* void setMaximumItemCount ( int count ) */ -HB_FUNC( QT_QWEBHISTORY_SETMAXIMUMITEMCOUNT ) -{ - QWebHistory * p = hbqt_par_QWebHistory( 1 ); - if( p ) - ( p )->setMaximumItemCount( hb_parni( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp deleted file mode 100644 index 81a4d783ac..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryInterface.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 4/4 [ 100.00% ] ] - * - */ - -#include - -#include - - -/* - * QWebHistoryInterface ( QObject * parent = 0 ) - * ~QWebHistoryInterface () - */ - -typedef struct -{ - QPointer< QWebHistoryInterface > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebHistoryInterface; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryInterface ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWebHistoryInterface * p = ( HBQT_GC_T_QWebHistoryInterface * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWebHistoryInterface ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWebHistoryInterface >( ( QWebHistoryInterface * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebHistoryInterface; - p->type = HBQT_TYPE_QWebHistoryInterface; - - return p; -} - -HB_FUNC( QT_QWEBHISTORYINTERFACE ) -{ - //__HB_RETPTRGC__( new QWebHistoryInterface( hbqt_par_QObject( 1 ) ) ); -} - -/* virtual void addHistoryEntry ( const QString & url ) = 0 */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_ADDHISTORYENTRY ) -{ - QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 ); - if( p ) - { - void * pText; - ( p )->addHistoryEntry( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* virtual bool historyContains ( const QString & url ) const = 0 */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_HISTORYCONTAINS ) -{ - QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->historyContains( hb_parstr_utf8( 2, &pText, NULL ) ) ); - hb_strfree( pText ); - } -} - -/* QWebHistoryInterface * defaultInterface () */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_DEFAULTINTERFACE ) -{ - QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistoryInterface( ( p )->defaultInterface(), false ) ); -} - -/* void setDefaultInterface ( QWebHistoryInterface * defaultInterface ) */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_SETDEFAULTINTERFACE ) -{ - QWebHistoryInterface * p = hbqt_par_QWebHistoryInterface( 1 ); - if( p ) - ( p )->setDefaultInterface( hbqt_par_QWebHistoryInterface( 2 ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp deleted file mode 100644 index b3bfddaa32..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHistoryItem.cpp +++ /dev/null @@ -1,153 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 8/8 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include -#include - - -/* - * QWebHistoryItem ( const QWebHistoryItem & other ) - * ~QWebHistoryItem () - */ - -typedef struct -{ - QWebHistoryItem * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebHistoryItem; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryItem ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QWebHistoryItem * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWebHistoryItem * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebHistoryItem; - p->type = HBQT_TYPE_QWebHistoryItem; - - return p; -} - -HB_FUNC( QT_QWEBHISTORYITEM ) -{ - QWebHistoryItem * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWebHistoryItem( *hbqt_par_QWebHistoryItem( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QWebHistoryItem( ( void * ) pObj, true ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QWEBHISTORYITEM_ICON ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* bool isValid () const */ -HB_FUNC( QT_QWEBHISTORYITEM_ISVALID ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retl( ( p )->isValid() ); -} - -/* QDateTime lastVisited () const */ -HB_FUNC( QT_QWEBHISTORYITEM_LASTVISITED ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QDateTime( new QDateTime( ( p )->lastVisited() ), true ) ); -} - -/* QUrl originalUrl () const */ -HB_FUNC( QT_QWEBHISTORYITEM_ORIGINALURL ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->originalUrl() ), true ) ); -} - -/* void setUserData ( const QVariant & userData ) */ -HB_FUNC( QT_QWEBHISTORYITEM_SETUSERDATA ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - ( p )->setUserData( *hbqt_par_QVariant( 2 ) ); -} - -/* QString title () const */ -HB_FUNC( QT_QWEBHISTORYITEM_TITLE ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - -/* QUrl url () const */ -HB_FUNC( QT_QWEBHISTORYITEM_URL ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); -} - -/* QVariant userData () const */ -HB_FUNC( QT_QWEBHISTORYITEM_USERDATA ) -{ - QWebHistoryItem * p = hbqt_par_QWebHistoryItem( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->userData() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp deleted file mode 100644 index b510011618..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebHitTestResult.cpp +++ /dev/null @@ -1,198 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 14/14 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QWebHitTestResult () - * QWebHitTestResult ( const QWebHitTestResult & other ) - * ~QWebHitTestResult () - */ - -typedef struct -{ - QWebHitTestResult * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebHitTestResult; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebHitTestResult ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QWebHitTestResult * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWebHitTestResult * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebHitTestResult; - p->type = HBQT_TYPE_QWebHitTestResult; - - return p; -} - -HB_FUNC( QT_QWEBHITTESTRESULT ) -{ - QWebHitTestResult * pObj = NULL; - - pObj = new QWebHitTestResult() ; - - hb_retptrGC( hbqt_gcAllocate_QWebHitTestResult( ( void * ) pObj, true ) ); -} - -/* QString alternateText () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_ALTERNATETEXT ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retstr_utf8( ( p )->alternateText().toUtf8().data() ); -} - -/* QRect boundingRect () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_BOUNDINGRECT ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QRect( new QRect( ( p )->boundingRect() ), true ) ); -} - -/* QWebFrame * frame () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_FRAME ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->frame(), false ) ); -} - -/* QUrl imageUrl () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_IMAGEURL ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->imageUrl() ), true ) ); -} - -/* bool isContentEditable () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTEDITABLE ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retl( ( p )->isContentEditable() ); -} - -/* bool isContentSelected () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTSELECTED ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retl( ( p )->isContentSelected() ); -} - -/* bool isNull () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISNULL ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retl( ( p )->isNull() ); -} - -/* QWebFrame * linkTargetFrame () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTARGETFRAME ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->linkTargetFrame(), false ) ); -} - -/* QString linkText () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTEXT ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retstr_utf8( ( p )->linkText().toUtf8().data() ); -} - -/* QUrl linkTitle () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTITLE ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->linkTitle() ), true ) ); -} - -/* QUrl linkUrl () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKURL ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->linkUrl() ), true ) ); -} - -/* QPixmap pixmap () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_PIXMAP ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); -} - -/* QPoint pos () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_POS ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->pos() ), true ) ); -} - -/* QString title () const */ -HB_FUNC( QT_QWEBHITTESTRESULT_TITLE ) -{ - QWebHitTestResult * p = hbqt_par_QWebHitTestResult( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp deleted file mode 100644 index 4ffdbf05a1..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebPage.cpp +++ /dev/null @@ -1,360 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum Extension { ChooseMultipleFilesExtension } - * enum FindFlag { FindBackward, FindCaseSensitively, FindWrapsAroundDocument } - * enum LinkDelegationPolicy { DontDelegateLinks, DelegateExternalLinks, DelegateAllLinks } - * enum NavigationType { NavigationTypeLinkClicked, NavigationTypeFormSubmitted, NavigationTypeBackOrForward, NavigationTypeReload, NavigationTypeFormResubmitted, NavigationTypeOther } - * enum WebAction { NoWebAction, OpenLink, OpenLinkInNewWindow, OpenFrameInNewWindow, ..., SelectAll } - * enum WebWindowType { WebBrowserWindow, WebModalDialog } - * flags FindFlags - */ - -/* - * Constructed[ 31/31 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // virtual bool extension ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 ) - * // QNetworkAccessManager * networkAccessManager () const - * // void setNetworkAccessManager ( QNetworkAccessManager * manager ) - * //QUndoStack * undoStack () const - */ - -#include - -#include "hbqtgui.h" - -#include -#include - - -/* - * QWebPage ( QObject * parent = 0 ) - * ~QWebPage () - */ - -typedef struct -{ - QPointer< QWebPage > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebPage; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebPage ) -{ - HBQT_GC_T_QWebPage * p = ( HBQT_GC_T_QWebPage * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWebPage * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWebPage * p = ( HBQT_GC_T_QWebPage * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWebPage ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWebPage >( ( QWebPage * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebPage; - p->type = HBQT_TYPE_QWebPage; - - return p; -} - -HB_FUNC( QT_QWEBPAGE ) -{ - QWebPage * pObj = NULL; - - pObj = new QWebPage( hbqt_par_QWidget( 2 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QWebPage( ( void * ) pObj, true ) ); -} - -/* QAction * action ( WebAction action ) const */ -HB_FUNC( QT_QWEBPAGE_ACTION ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->action( ( QWebPage::WebAction ) hb_parni( 2 ) ), false ) ); -} - -/* quint64 bytesReceived () const */ -HB_FUNC( QT_QWEBPAGE_BYTESRECEIVED ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retnint( ( p )->bytesReceived() ); -} - -/* QMenu * createStandardContextMenu () */ -HB_FUNC( QT_QWEBPAGE_CREATESTANDARDCONTEXTMENU ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QMenu( ( p )->createStandardContextMenu(), false ) ); -} - -/* QWebFrame * currentFrame () const */ -HB_FUNC( QT_QWEBPAGE_CURRENTFRAME ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->currentFrame(), false ) ); -} - -/* bool findText ( const QString & subString, FindFlags options = 0 ) */ -HB_FUNC( QT_QWEBPAGE_FINDTEXT ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->findText( hb_parstr_utf8( 2, &pText, NULL ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* bool focusNextPrevChild ( bool next ) */ -HB_FUNC( QT_QWEBPAGE_FOCUSNEXTPREVCHILD ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retl( ( p )->focusNextPrevChild( hb_parl( 2 ) ) ); -} - -/* bool forwardUnsupportedContent () const */ -HB_FUNC( QT_QWEBPAGE_FORWARDUNSUPPORTEDCONTENT ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retl( ( p )->forwardUnsupportedContent() ); -} - -/* QWebHistory * history () const */ -HB_FUNC( QT_QWEBPAGE_HISTORY ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistory( ( p )->history(), false ) ); -} - -/* QVariant inputMethodQuery ( Qt::InputMethodQuery property ) const */ -HB_FUNC( QT_QWEBPAGE_INPUTMETHODQUERY ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QVariant( new QVariant( ( p )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ), true ) ); -} - -/* bool isContentEditable () const */ -HB_FUNC( QT_QWEBPAGE_ISCONTENTEDITABLE ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retl( ( p )->isContentEditable() ); -} - -/* bool isModified () const */ -HB_FUNC( QT_QWEBPAGE_ISMODIFIED ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retl( ( p )->isModified() ); -} - -/* LinkDelegationPolicy linkDelegationPolicy () const */ -HB_FUNC( QT_QWEBPAGE_LINKDELEGATIONPOLICY ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retni( ( QWebPage::LinkDelegationPolicy ) ( p )->linkDelegationPolicy() ); -} - -/* QWebFrame * mainFrame () const */ -HB_FUNC( QT_QWEBPAGE_MAINFRAME ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebFrame( ( p )->mainFrame(), false ) ); -} - -/* QPalette palette () const */ -HB_FUNC( QT_QWEBPAGE_PALETTE ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); -} - -/* QWebPluginFactory * pluginFactory () const */ -HB_FUNC( QT_QWEBPAGE_PLUGINFACTORY ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebPluginFactory( ( p )->pluginFactory(), false ) ); -} - -/* QString selectedText () const */ -HB_FUNC( QT_QWEBPAGE_SELECTEDTEXT ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retstr_utf8( ( p )->selectedText().toUtf8().data() ); -} - -/* void setContentEditable ( bool editable ) */ -HB_FUNC( QT_QWEBPAGE_SETCONTENTEDITABLE ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setContentEditable( hb_parl( 2 ) ); -} - -/* void setForwardUnsupportedContent ( bool forward ) */ -HB_FUNC( QT_QWEBPAGE_SETFORWARDUNSUPPORTEDCONTENT ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setForwardUnsupportedContent( hb_parl( 2 ) ); -} - -/* void setLinkDelegationPolicy ( LinkDelegationPolicy policy ) */ -HB_FUNC( QT_QWEBPAGE_SETLINKDELEGATIONPOLICY ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setLinkDelegationPolicy( ( QWebPage::LinkDelegationPolicy ) hb_parni( 2 ) ); -} - -/* void setPalette ( const QPalette & palette ) */ -HB_FUNC( QT_QWEBPAGE_SETPALETTE ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* void setPluginFactory ( QWebPluginFactory * factory ) */ -HB_FUNC( QT_QWEBPAGE_SETPLUGINFACTORY ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setPluginFactory( hbqt_par_QWebPluginFactory( 2 ) ); -} - -/* void setView ( QWidget * view ) */ -HB_FUNC( QT_QWEBPAGE_SETVIEW ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setView( hbqt_par_QWidget( 2 ) ); -} - -/* void setViewportSize ( const QSize & size ) const */ -HB_FUNC( QT_QWEBPAGE_SETVIEWPORTSIZE ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->setViewportSize( *hbqt_par_QSize( 2 ) ); -} - -/* QWebSettings * settings () const */ -HB_FUNC( QT_QWEBPAGE_SETTINGS ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->settings(), false ) ); -} - -/* virtual bool supportsExtension ( Extension extension ) const */ -HB_FUNC( QT_QWEBPAGE_SUPPORTSEXTENSION ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retl( ( p )->supportsExtension( ( QWebPage::Extension ) hb_parni( 2 ) ) ); -} - -/* bool swallowContextMenuEvent ( QContextMenuEvent * event ) */ -HB_FUNC( QT_QWEBPAGE_SWALLOWCONTEXTMENUEVENT ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retl( ( p )->swallowContextMenuEvent( hbqt_par_QContextMenuEvent( 2 ) ) ); -} - -/* quint64 totalBytes () const */ -HB_FUNC( QT_QWEBPAGE_TOTALBYTES ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retnint( ( p )->totalBytes() ); -} - -/* virtual void triggerAction ( WebAction action, bool checked = false ) */ -HB_FUNC( QT_QWEBPAGE_TRIGGERACTION ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->triggerAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void updatePositionDependentActions ( const QPoint & pos ) */ -HB_FUNC( QT_QWEBPAGE_UPDATEPOSITIONDEPENDENTACTIONS ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - ( p )->updatePositionDependentActions( *hbqt_par_QPoint( 2 ) ); -} - -/* QWidget * view () const */ -HB_FUNC( QT_QWEBPAGE_VIEW ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->view(), false ) ); -} - -/* QSize viewportSize () const */ -HB_FUNC( QT_QWEBPAGE_VIEWPORTSIZE ) -{ - QWebPage * p = hbqt_par_QWebPage( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QSize( new QSize( ( p )->viewportSize() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp deleted file mode 100644 index ee139514b2..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebPluginFactory.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * class ExtensionOption - * enum Extension { } - */ - -/* - * Constructed[ 3/3 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // virtual bool extension ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 ) - * // virtual QList plugins () const = 0 - */ - -#include - -#include "hbqtgui.h" - -#include - - -/* - * QWebPluginFactory ( QObject * parent = 0 ) - * virtual ~QWebPluginFactory () - */ - -typedef struct -{ - QPointer< QWebPluginFactory > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebPluginFactory; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebPluginFactory ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWebPluginFactory * p = ( HBQT_GC_T_QWebPluginFactory * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWebPluginFactory ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWebPluginFactory >( ( QWebPluginFactory * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebPluginFactory; - p->type = HBQT_TYPE_QWebPluginFactory; - - return p; -} - -HB_FUNC( QT_QWEBPLUGINFACTORY ) -{ - //__HB_RETPTRGC__( new QWebPluginFactory() ); -} - -/* virtual QObject * create ( const QString & mimeType, const QUrl & url, const QStringList & argumentNames, const QStringList & argumentValues ) const = 0 */ -HB_FUNC( QT_QWEBPLUGINFACTORY_CREATE ) -{ - QWebPluginFactory * p = hbqt_par_QWebPluginFactory( 1 ); - if( p ) - { - void * pText; - hb_retptrGC( hbqt_gcAllocate_QObject( ( p )->create( hb_parstr_utf8( 2, &pText, NULL ), *hbqt_par_QUrl( 3 ), *hbqt_par_QStringList( 4 ), *hbqt_par_QStringList( 5 ) ), false ) ); - hb_strfree( pText ); - } -} - -/* virtual void refreshPlugins () */ -HB_FUNC( QT_QWEBPLUGINFACTORY_REFRESHPLUGINS ) -{ - QWebPluginFactory * p = hbqt_par_QWebPluginFactory( 1 ); - if( p ) - ( p )->refreshPlugins(); -} - -/* virtual bool supportsExtension ( Extension extension ) const */ -HB_FUNC( QT_QWEBPLUGINFACTORY_SUPPORTSEXTENSION ) -{ - QWebPluginFactory * p = hbqt_par_QWebPluginFactory( 1 ); - if( p ) - hb_retl( ( p )->supportsExtension( ( QWebPluginFactory::Extension ) hb_parni( 2 ) ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp deleted file mode 100644 index 1d93869e96..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebSecurityOrigin.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 7/7 [ 100.00% ] ] - * - * - * *** Commented out protostypes *** - * - * // QList databases () const - */ - -#include - -#include - - -/* - * QWebSecurityOrigin ( const QWebSecurityOrigin & other ) - * ~QWebSecurityOrigin () - */ - -typedef struct -{ - QWebSecurityOrigin * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebSecurityOrigin; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebSecurityOrigin ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - delete ( ( QWebSecurityOrigin * ) p->ph ); - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWebSecurityOrigin * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebSecurityOrigin; - p->type = HBQT_TYPE_QWebSecurityOrigin; - - return p; -} - -HB_FUNC( QT_QWEBSECURITYORIGIN ) -{ - QWebSecurityOrigin * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWebSecurityOrigin( *hbqt_par_QWebSecurityOrigin( 1 ) ) ; - } - - hb_retptrGC( hbqt_gcAllocate_QWebSecurityOrigin( ( void * ) pObj, true ) ); -} - -/* qint64 databaseQuota () const */ -HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEQUOTA ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - hb_retnint( ( p )->databaseQuota() ); -} - -/* qint64 databaseUsage () const */ -HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEUSAGE ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - hb_retnint( ( p )->databaseUsage() ); -} - -/* QString host () const */ -HB_FUNC( QT_QWEBSECURITYORIGIN_HOST ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - hb_retstr_utf8( ( p )->host().toUtf8().data() ); -} - -/* int port () const */ -HB_FUNC( QT_QWEBSECURITYORIGIN_PORT ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - hb_retni( ( p )->port() ); -} - -/* QString scheme () const */ -HB_FUNC( QT_QWEBSECURITYORIGIN_SCHEME ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - hb_retstr_utf8( ( p )->scheme().toUtf8().data() ); -} - -/* void setDatabaseQuota ( qint64 quota ) */ -HB_FUNC( QT_QWEBSECURITYORIGIN_SETDATABASEQUOTA ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - ( p )->setDatabaseQuota( hb_parnint( 2 ) ); -} - -/* QList allOrigins () */ -HB_FUNC( QT_QWEBSECURITYORIGIN_ALLORIGINS ) -{ - QWebSecurityOrigin * p = hbqt_par_QWebSecurityOrigin( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QList( new QList( ( p )->allOrigins() ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp deleted file mode 100644 index 01474ddb49..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebSettings.cpp +++ /dev/null @@ -1,296 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * enum FontFamily { StandardFont, FixedFont, SerifFont, SansSerifFont, CursiveFont, FantasyFont } - * enum FontSize { MinimumFontSize, MinimumLogicalFontSize, DefaultFontSize, DefaultFixedFontSize } - * enum WebAttribute { AutoLoadImages, JavascriptEnabled, JavaEnabled, PluginsEnabled, ..., LocalStorageDatabaseEnabled } - * enum WebGraphic { MissingImageGraphic, MissingPluginGraphic, DefaultFrameIconGraphic, TextAreaSizeGripCornerGraphic } - */ - -/* - * Constructed[ 25/25 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" - -#include -#include - - -/* - * QWebSettings () - */ - -typedef struct -{ - QWebSettings * ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebSettings; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebSettings ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; - - if( p && p->bNew ) - p->ph = NULL; -} - -void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew ) -{ - HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); - - p->ph = ( QWebSettings * ) pObj; - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebSettings; - p->type = HBQT_TYPE_QWebSettings; - - return p; -} - -HB_FUNC( QT_QWEBSETTINGS ) -{ - //__HB_RETPTRGC__( new QWebSettings() ); -} - -/* QString fontFamily ( FontFamily which ) const */ -HB_FUNC( QT_QWEBSETTINGS_FONTFAMILY ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->fontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ).toUtf8().data() ); -} - -/* int fontSize ( FontSize type ) const */ -HB_FUNC( QT_QWEBSETTINGS_FONTSIZE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retni( ( p )->fontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ) ); -} - -/* void resetAttribute ( WebAttribute attribute ) */ -HB_FUNC( QT_QWEBSETTINGS_RESETATTRIBUTE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->resetAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ); -} - -/* void resetFontFamily ( FontFamily which ) */ -HB_FUNC( QT_QWEBSETTINGS_RESETFONTFAMILY ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->resetFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ); -} - -/* void resetFontSize ( FontSize type ) */ -HB_FUNC( QT_QWEBSETTINGS_RESETFONTSIZE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->resetFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ); -} - -/* void setAttribute ( WebAttribute attribute, bool on ) */ -HB_FUNC( QT_QWEBSETTINGS_SETATTRIBUTE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* void setFontFamily ( FontFamily which, const QString & family ) */ -HB_FUNC( QT_QWEBSETTINGS_SETFONTFAMILY ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - { - void * pText; - ( p )->setFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ), hb_parstr_utf8( 3, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setFontSize ( FontSize type, int size ) */ -HB_FUNC( QT_QWEBSETTINGS_SETFONTSIZE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* void setUserStyleSheetUrl ( const QUrl & location ) */ -HB_FUNC( QT_QWEBSETTINGS_SETUSERSTYLESHEETURL ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setUserStyleSheetUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* bool testAttribute ( WebAttribute attribute ) const */ -HB_FUNC( QT_QWEBSETTINGS_TESTATTRIBUTE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retl( ( p )->testAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ) ); -} - -/* QUrl userStyleSheetUrl () const */ -HB_FUNC( QT_QWEBSETTINGS_USERSTYLESHEETURL ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->userStyleSheetUrl() ), true ) ); -} - -/* void clearIconDatabase () */ -HB_FUNC( QT_QWEBSETTINGS_CLEARICONDATABASE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->clearIconDatabase(); -} - -/* QWebSettings * globalSettings () */ -HB_FUNC( QT_QWEBSETTINGS_GLOBALSETTINGS ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->globalSettings(), false ) ); -} - -/* QString iconDatabasePath () */ -HB_FUNC( QT_QWEBSETTINGS_ICONDATABASEPATH ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->iconDatabasePath().toUtf8().data() ); -} - -/* QIcon iconForUrl ( const QUrl & url ) */ -HB_FUNC( QT_QWEBSETTINGS_ICONFORURL ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->iconForUrl( *hbqt_par_QUrl( 2 ) ) ), true ) ); -} - -/* int maximumPagesInCache () */ -HB_FUNC( QT_QWEBSETTINGS_MAXIMUMPAGESINCACHE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retni( ( p )->maximumPagesInCache() ); -} - -/* qint64 offlineStorageDefaultQuota () */ -HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEDEFAULTQUOTA ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retnint( ( p )->offlineStorageDefaultQuota() ); -} - -/* QString offlineStoragePath () */ -HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEPATH ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retstr_utf8( ( p )->offlineStoragePath().toUtf8().data() ); -} - -/* void setIconDatabasePath ( const QString & path ) */ -HB_FUNC( QT_QWEBSETTINGS_SETICONDATABASEPATH ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - { - void * pText; - ( p )->setIconDatabasePath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setMaximumPagesInCache ( int pages ) */ -HB_FUNC( QT_QWEBSETTINGS_SETMAXIMUMPAGESINCACHE ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setMaximumPagesInCache( hb_parni( 2 ) ); -} - -/* void setObjectCacheCapacities ( int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity ) */ -HB_FUNC( QT_QWEBSETTINGS_SETOBJECTCACHECAPACITIES ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setObjectCacheCapacities( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* void setOfflineStorageDefaultQuota ( qint64 maximumSize ) */ -HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEDEFAULTQUOTA ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setOfflineStorageDefaultQuota( hb_parnint( 2 ) ); -} - -/* void setOfflineStoragePath ( const QString & path ) */ -HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEPATH ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - { - void * pText; - ( p )->setOfflineStoragePath( hb_parstr_utf8( 2, &pText, NULL ) ); - hb_strfree( pText ); - } -} - -/* void setWebGraphic ( WebGraphic type, const QPixmap & graphic ) */ -HB_FUNC( QT_QWEBSETTINGS_SETWEBGRAPHIC ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - ( p )->setWebGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* QPixmap webGraphic ( WebGraphic type ) */ -HB_FUNC( QT_QWEBSETTINGS_WEBGRAPHIC ) -{ - QWebSettings * p = hbqt_par_QWebSettings( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->webGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ) ) ), true ) ); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp b/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp deleted file mode 100644 index 136f0723ca..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/QWebView.cpp +++ /dev/null @@ -1,311 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - -#include "hbqtcore.h" -#include "hbqtwebkit.h" - -#if QT_VERSION >= 0x040500 - -/* - * Constructed[ 26/26 [ 100.00% ] ] - * - */ - -#include - -#include "hbqtgui.h" -#include "hbqtnetwork.h" - -#include - - -/* - * QWebView ( QWidget * parent = 0 ) - * virtual ~QWebView () - */ - -typedef struct -{ - QPointer< QWebView > ph; - bool bNew; - PHBQT_GC_FUNC func; - int type; -} HBQT_GC_T_QWebView; - -HBQT_GC_FUNC( hbqt_gcRelease_QWebView ) -{ - HBQT_GC_T_QWebView * p = ( HBQT_GC_T_QWebView * ) Cargo; - - if( p ) - { - if( p->bNew && p->ph ) - { - QWebView * ph = p->ph; - const QMetaObject * m = ( ph )->metaObject(); - if( ( QString ) m->className() != ( QString ) "QObject" ) - delete ( p->ph ); - } - p->ph = NULL; - } -} - -void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew ) -{ - HBQT_GC_T_QWebView * p = ( HBQT_GC_T_QWebView * ) hb_gcAllocate( sizeof( HBQT_GC_T_QWebView ), hbqt_gcFuncs() ); - - new( & p->ph ) QPointer< QWebView >( ( QWebView * ) pObj ); - p->bNew = bNew; - p->func = hbqt_gcRelease_QWebView; - p->type = HBQT_TYPE_QWebView; - - return p; -} - -HB_FUNC( QT_QWEBVIEW ) -{ - QWebView * pObj = NULL; - - pObj = new QWebView( hbqt_par_QWidget( 1 ) ) ; - - hb_retptrGC( hbqt_gcAllocate_QWebView( ( void * ) pObj, true ) ); -} - -/* bool findText ( const QString & subString, QWebPage::FindFlags options = 0 ) */ -HB_FUNC( QT_QWEBVIEW_FINDTEXT ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - { - void * pText; - hb_retl( ( p )->findText( hb_parstr_utf8( 2, &pText, NULL ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); - hb_strfree( pText ); - } -} - -/* QWebHistory * history () const */ -HB_FUNC( QT_QWEBVIEW_HISTORY ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebHistory( ( p )->history(), false ) ); -} - -/* QIcon icon () const */ -HB_FUNC( QT_QWEBVIEW_ICON ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QIcon( new QIcon( ( p )->icon() ), true ) ); -} - -/* bool isModified () const */ -HB_FUNC( QT_QWEBVIEW_ISMODIFIED ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retl( ( p )->isModified() ); -} - -/* void load ( const QUrl & url ) */ -HB_FUNC( QT_QWEBVIEW_LOAD ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->load( *hbqt_par_QUrl( 2 ) ); -} - -/* void load ( const QNetworkRequest & request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray & body = QByteArray() ) */ -HB_FUNC( QT_QWEBVIEW_LOAD_1 ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->load( *hbqt_par_QNetworkRequest( 2 ), ( HB_ISNUM( 3 ) ? ( QNetworkAccessManager::Operation ) hb_parni( 3 ) : ( QNetworkAccessManager::Operation ) QNetworkAccessManager::GetOperation ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QByteArray( 4 ) : QByteArray() ) ); -} - -/* QWebPage * page () const */ -HB_FUNC( QT_QWEBVIEW_PAGE ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebPage( ( p )->page(), false ) ); -} - -/* QAction * pageAction ( QWebPage::WebAction action ) const */ -HB_FUNC( QT_QWEBVIEW_PAGEACTION ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->pageAction( ( QWebPage::WebAction ) hb_parni( 2 ) ), false ) ); -} - -/* QString selectedText () const */ -HB_FUNC( QT_QWEBVIEW_SELECTEDTEXT ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retstr_utf8( ( p )->selectedText().toUtf8().data() ); -} - -/* void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) */ -HB_FUNC( QT_QWEBVIEW_SETCONTENT ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - { - void * pText; - ( p )->setContent( *hbqt_par_QByteArray( 2 ), hb_parstr_utf8( 3, &pText, NULL ), ( HB_ISOBJECT( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); - hb_strfree( pText ); - } -} - -/* void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) */ -HB_FUNC( QT_QWEBVIEW_SETHTML ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - { - void * pText; - ( p )->setHtml( hb_parstr_utf8( 2, &pText, NULL ), ( HB_ISOBJECT( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); - hb_strfree( pText ); - } -} - -/* void setPage ( QWebPage * page ) */ -HB_FUNC( QT_QWEBVIEW_SETPAGE ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->setPage( hbqt_par_QWebPage( 2 ) ); -} - -/* void setTextSizeMultiplier ( qreal factor ) */ -HB_FUNC( QT_QWEBVIEW_SETTEXTSIZEMULTIPLIER ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->setTextSizeMultiplier( hb_parnd( 2 ) ); -} - -/* void setUrl ( const QUrl & url ) */ -HB_FUNC( QT_QWEBVIEW_SETURL ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* void setZoomFactor ( qreal factor ) */ -HB_FUNC( QT_QWEBVIEW_SETZOOMFACTOR ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->setZoomFactor( hb_parnd( 2 ) ); -} - -/* QWebSettings * settings () const */ -HB_FUNC( QT_QWEBVIEW_SETTINGS ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QWebSettings( ( p )->settings(), false ) ); -} - -/* qreal textSizeMultiplier () const */ -HB_FUNC( QT_QWEBVIEW_TEXTSIZEMULTIPLIER ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retnd( ( p )->textSizeMultiplier() ); -} - -/* QString title () const */ -HB_FUNC( QT_QWEBVIEW_TITLE ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retstr_utf8( ( p )->title().toUtf8().data() ); -} - -/* void triggerPageAction ( QWebPage::WebAction action, bool checked = false ) */ -HB_FUNC( QT_QWEBVIEW_TRIGGERPAGEACTION ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->triggerPageAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* QUrl url () const */ -HB_FUNC( QT_QWEBVIEW_URL ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retptrGC( hbqt_gcAllocate_QUrl( new QUrl( ( p )->url() ), true ) ); -} - -/* qreal zoomFactor () const */ -HB_FUNC( QT_QWEBVIEW_ZOOMFACTOR ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - hb_retnd( ( p )->zoomFactor() ); -} - -/* void back () */ -HB_FUNC( QT_QWEBVIEW_BACK ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->back(); -} - -/* void forward () */ -HB_FUNC( QT_QWEBVIEW_FORWARD ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->forward(); -} - -/* void print ( QPrinter * printer ) const */ -HB_FUNC( QT_QWEBVIEW_PRINT ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* void reload () */ -HB_FUNC( QT_QWEBVIEW_RELOAD ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->reload(); -} - -/* void stop () */ -HB_FUNC( QT_QWEBVIEW_STOP ) -{ - QWebView * p = hbqt_par_QWebView( 1 ); - if( p ) - ( p )->stop(); -} - - -#endif /* #if QT_VERSION >= 0x040500 */ diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg deleted file mode 100644 index fd59d3f3a6..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebFrame.prg +++ /dev/null @@ -1,482 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebFrame( ... ) - RETURN HB_QWebFrame():new( ... ) - -FUNCTION QWebFrameFromPointer( ... ) - RETURN HB_QWebFrame():fromPointer( ... ) - - -CREATE CLASS QWebFrame INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QWebFrame - - METHOD new( ... ) - - METHOD addToJavaScriptWindowObject // ( cName, oQObject ) -> NIL - // ( cName, oQObject, nOwn ) -> NIL - METHOD childFrames // ( ) -> oQList_QWebFrame - METHOD contentsSize // ( ) -> oQSize - METHOD frameName // ( ) -> cQString - METHOD geometry // ( ) -> oQRect - METHOD hitTestContent // ( oQPoint ) -> oQWebHitTestResult - METHOD icon // ( ) -> oQIcon - METHOD load // ( oQUrl ) -> NIL - METHOD page // ( ) -> oQWebPage - METHOD parentFrame // ( ) -> oQWebFrame - METHOD pos // ( ) -> oQPoint - METHOD render // ( oQPainter, oQRegion ) -> NIL - // ( oQPainter ) -> NIL - METHOD renderTreeDump // ( ) -> cQString - METHOD scroll // ( nDx, nDy ) -> NIL - METHOD scrollBarMaximum // ( nOrientation ) -> nInt - METHOD scrollBarMinimum // ( nOrientation ) -> nInt - METHOD scrollBarPolicy // ( nOrientation ) -> nQt_ScrollBarPolicy - METHOD scrollBarValue // ( nOrientation ) -> nInt - METHOD scrollPosition // ( ) -> oQPoint - METHOD securityOrigin // ( ) -> oQWebSecurityOrigin - METHOD setContent // ( oQByteArray, cMimeType, oQUrl ) -> NIL - METHOD setHtml // ( cHtml, oQUrl ) -> NIL - METHOD setScrollBarPolicy // ( nOrientation, nPolicy ) -> NIL - METHOD setScrollBarValue // ( nOrientation, nValue ) -> NIL - METHOD setScrollPosition // ( oQPoint ) -> NIL - METHOD setTextSizeMultiplier // ( nFactor ) -> NIL - METHOD setUrl // ( oQUrl ) -> NIL - METHOD setZoomFactor // ( nFactor ) -> NIL - METHOD textSizeMultiplier // ( ) -> nQreal - METHOD title // ( ) -> cQString - METHOD toHtml // ( ) -> cQString - METHOD toPlainText // ( ) -> cQString - METHOD url // ( ) -> oQUrl - METHOD zoomFactor // ( ) -> nQreal - METHOD evaluateJavaScript // ( cScriptSource ) -> oQVariant - METHOD print // ( oQPrinter ) -> NIL - - ENDCLASS - - -METHOD QWebFrame:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebFrame( ... ) - RETURN Self - - -METHOD QWebFrame:addToJavaScriptWindowObject( ... ) - SWITCH PCount() - CASE 3 - DO CASE - 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 - EXIT - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_addToJavaScriptWindowObject( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:childFrames( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QWebFrame_childFrames( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:contentsSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWebFrame_contentsSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:frameName( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_frameName( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:geometry( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWebFrame_geometry( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:hitTestContent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QWebHitTestResultFromPointer( Qt_QWebFrame_hitTestContent( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QWebFrame_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:load( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_load( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:page( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebPageFromPointer( Qt_QWebFrame_page( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:parentFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebFrameFromPointer( Qt_QWebFrame_parentFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QWebFrame_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:render( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_render( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_render_1( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:renderTreeDump( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_renderTreeDump( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:scroll( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_scroll( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:scrollBarMaximum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_scrollBarMaximum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:scrollBarMinimum( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_scrollBarMinimum( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:scrollBarPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_scrollBarPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:scrollBarValue( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_scrollBarValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:scrollPosition( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QWebFrame_scrollPosition( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:securityOrigin( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebSecurityOriginFromPointer( Qt_QWebFrame_securityOrigin( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setContent( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QWebFrame_setContent( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_setContent( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_setContent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setHtml( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setScrollBarPolicy( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_setScrollBarPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setScrollBarValue( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebFrame_setScrollBarValue( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setScrollPosition( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_setScrollPosition( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setTextSizeMultiplier( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_setTextSizeMultiplier( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_setUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:setZoomFactor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_setZoomFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:textSizeMultiplier( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_textSizeMultiplier( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:toHtml( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_toHtml( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:toPlainText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_toPlainText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:url( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebFrame_url( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:zoomFactor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebFrame_zoomFactor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:evaluateJavaScript( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QWebFrame_evaluateJavaScript( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebFrame:print( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebFrame_print( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg deleted file mode 100644 index 408e2df403..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistory.prg +++ /dev/null @@ -1,223 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebHistory( ... ) - RETURN HB_QWebHistory():new( ... ) - -FUNCTION QWebHistoryFromPointer( ... ) - RETURN HB_QWebHistory():fromPointer( ... ) - - -CREATE CLASS QWebHistory INHERIT HbQtObjectHandler FUNCTION HB_QWebHistory - - METHOD new( ... ) - - METHOD back // ( ) -> NIL - METHOD backItem // ( ) -> oQWebHistoryItem - METHOD backItems // ( nMaxItems ) -> oQList_QWebHistoryItem> - METHOD canGoBack // ( ) -> lBool - METHOD canGoForward // ( ) -> lBool - METHOD clear // ( ) -> NIL - METHOD count // ( ) -> nInt - METHOD currentItem // ( ) -> oQWebHistoryItem - METHOD currentItemIndex // ( ) -> nInt - METHOD forward // ( ) -> NIL - METHOD forwardItem // ( ) -> oQWebHistoryItem - METHOD forwardItems // ( nMaxItems ) -> oQList_QWebHistoryItem> - METHOD goToItem // ( oQWebHistoryItem ) -> NIL - METHOD itemAt // ( nI ) -> oQWebHistoryItem - METHOD items // ( ) -> oQList_QWebHistoryItem> - METHOD maximumItemCount // ( ) -> nInt - METHOD setMaximumItemCount // ( nCount ) -> NIL - - ENDCLASS - - -METHOD QWebHistory:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebHistory( ... ) - RETURN Self - - -METHOD QWebHistory:back( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_back( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:backItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebHistoryItemFromPointer( Qt_QWebHistory_backItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:backItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QWebHistory_backItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:canGoBack( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_canGoBack( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:canGoForward( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_canGoForward( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:clear( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_clear( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:count( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_count( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:currentItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebHistoryItemFromPointer( Qt_QWebHistory_currentItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:currentItemIndex( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_currentItemIndex( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:forward( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_forward( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:forwardItem( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebHistoryItemFromPointer( Qt_QWebHistory_forwardItem( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:forwardItems( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QListFromPointer( Qt_QWebHistory_forwardItems( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:goToItem( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebHistory_goToItem( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:itemAt( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QWebHistoryItemFromPointer( Qt_QWebHistory_itemAt( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:items( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QWebHistory_items( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:maximumItemCount( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistory_maximumItemCount( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistory:setMaximumItemCount( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebHistory_setMaximumItemCount( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg deleted file mode 100644 index 10ebf00afb..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryInterface.prg +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebHistoryInterface( ... ) - RETURN HB_QWebHistoryInterface():new( ... ) - -FUNCTION QWebHistoryInterfaceFromPointer( ... ) - RETURN HB_QWebHistoryInterface():fromPointer( ... ) - - -CREATE CLASS QWebHistoryInterface INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QWebHistoryInterface - - METHOD new( ... ) - - METHOD addHistoryEntry // ( cUrl ) -> NIL - METHOD historyContains // ( cUrl ) -> lBool - METHOD defaultInterface // ( ) -> oQWebHistoryInterface - METHOD setDefaultInterface // ( oQWebHistoryInterface ) -> NIL - - ENDCLASS - - -METHOD QWebHistoryInterface:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebHistoryInterface( ... ) - RETURN Self - - -METHOD QWebHistoryInterface:addHistoryEntry( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebHistoryInterface_addHistoryEntry( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryInterface:historyContains( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebHistoryInterface_historyContains( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryInterface:defaultInterface( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebHistoryInterfaceFromPointer( Qt_QWebHistoryInterface_defaultInterface( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryInterface:setDefaultInterface( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebHistoryInterface_setDefaultInterface( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg deleted file mode 100644 index 49f4ec7d14..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHistoryItem.prg +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebHistoryItem( ... ) - RETURN HB_QWebHistoryItem():new( ... ) - -FUNCTION QWebHistoryItemFromPointer( ... ) - RETURN HB_QWebHistoryItem():fromPointer( ... ) - - -CREATE CLASS QWebHistoryItem INHERIT HbQtObjectHandler FUNCTION HB_QWebHistoryItem - - METHOD new( ... ) - - METHOD icon // ( ) -> oQIcon - METHOD isValid // ( ) -> lBool - METHOD lastVisited // ( ) -> oQDateTime - METHOD originalUrl // ( ) -> oQUrl - METHOD setUserData // ( oQVariant ) -> NIL - METHOD title // ( ) -> cQString - METHOD url // ( ) -> oQUrl - METHOD userData // ( ) -> oQVariant - - ENDCLASS - - -METHOD QWebHistoryItem:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebHistoryItem( ... ) - RETURN Self - - -METHOD QWebHistoryItem:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QWebHistoryItem_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:isValid( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistoryItem_isValid( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:lastVisited( ... ) - SWITCH PCount() - CASE 0 - RETURN QDateTimeFromPointer( Qt_QWebHistoryItem_lastVisited( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:originalUrl( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebHistoryItem_originalUrl( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:setUserData( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebHistoryItem_setUserData( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHistoryItem_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:url( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebHistoryItem_url( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHistoryItem:userData( ... ) - SWITCH PCount() - CASE 0 - RETURN QVariantFromPointer( Qt_QWebHistoryItem_userData( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg deleted file mode 100644 index 980e358959..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebHitTestResult.prg +++ /dev/null @@ -1,176 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebHitTestResult( ... ) - RETURN HB_QWebHitTestResult():new( ... ) - -FUNCTION QWebHitTestResultFromPointer( ... ) - RETURN HB_QWebHitTestResult():fromPointer( ... ) - - -CREATE CLASS QWebHitTestResult INHERIT HbQtObjectHandler FUNCTION HB_QWebHitTestResult - - METHOD new( ... ) - - METHOD alternateText // ( ) -> cQString - METHOD boundingRect // ( ) -> oQRect - METHOD frame // ( ) -> oQWebFrame - METHOD imageUrl // ( ) -> oQUrl - METHOD isContentEditable // ( ) -> lBool - METHOD isContentSelected // ( ) -> lBool - METHOD isNull // ( ) -> lBool - METHOD linkTargetFrame // ( ) -> oQWebFrame - METHOD linkText // ( ) -> cQString - METHOD linkTitle // ( ) -> oQUrl - METHOD linkUrl // ( ) -> oQUrl - METHOD pixmap // ( ) -> oQPixmap - METHOD pos // ( ) -> oQPoint - METHOD title // ( ) -> cQString - - ENDCLASS - - -METHOD QWebHitTestResult:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebHitTestResult( ... ) - RETURN Self - - -METHOD QWebHitTestResult:alternateText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHitTestResult_alternateText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:boundingRect( ... ) - SWITCH PCount() - CASE 0 - RETURN QRectFromPointer( Qt_QWebHitTestResult_boundingRect( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:frame( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebFrameFromPointer( Qt_QWebHitTestResult_frame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:imageUrl( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebHitTestResult_imageUrl( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:isContentEditable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHitTestResult_isContentEditable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:isContentSelected( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHitTestResult_isContentSelected( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:isNull( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHitTestResult_isNull( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:linkTargetFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebFrameFromPointer( Qt_QWebHitTestResult_linkTargetFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:linkText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHitTestResult_linkText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:linkTitle( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebHitTestResult_linkTitle( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:linkUrl( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebHitTestResult_linkUrl( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:pixmap( ... ) - SWITCH PCount() - CASE 0 - RETURN QPixmapFromPointer( Qt_QWebHitTestResult_pixmap( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:pos( ... ) - SWITCH PCount() - CASE 0 - RETURN QPointFromPointer( Qt_QWebHitTestResult_pos( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebHitTestResult:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebHitTestResult_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg deleted file mode 100644 index e54e7f7203..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebPage.prg +++ /dev/null @@ -1,401 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebPage( ... ) - RETURN HB_QWebPage():new( ... ) - -FUNCTION QWebPageFromPointer( ... ) - RETURN HB_QWebPage():fromPointer( ... ) - - -CREATE CLASS QWebPage INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QWebPage - - METHOD new( ... ) - - METHOD action // ( nAction ) -> oQAction - METHOD bytesReceived // ( ) -> nQuint64 - METHOD createStandardContextMenu // ( ) -> oQMenu - METHOD currentFrame // ( ) -> oQWebFrame - METHOD findText // ( cSubString, nOptions ) -> lBool - METHOD focusNextPrevChild // ( lNext ) -> lBool - METHOD forwardUnsupportedContent // ( ) -> lBool - METHOD history // ( ) -> oQWebHistory - METHOD inputMethodQuery // ( nProperty ) -> oQVariant - METHOD isContentEditable // ( ) -> lBool - METHOD isModified // ( ) -> lBool - METHOD linkDelegationPolicy // ( ) -> nLinkDelegationPolicy - METHOD mainFrame // ( ) -> oQWebFrame - METHOD palette // ( ) -> oQPalette - METHOD pluginFactory // ( ) -> oQWebPluginFactory - METHOD selectedText // ( ) -> cQString - METHOD setContentEditable // ( lEditable ) -> NIL - METHOD setForwardUnsupportedContent // ( lForward ) -> NIL - METHOD setLinkDelegationPolicy // ( nPolicy ) -> NIL - METHOD setPalette // ( oQPalette ) -> NIL - METHOD setPluginFactory // ( oQWebPluginFactory ) -> NIL - METHOD setView // ( oQWidget ) -> NIL - METHOD setViewportSize // ( oQSize ) -> NIL - METHOD settings // ( ) -> oQWebSettings - METHOD supportsExtension // ( nExtension ) -> lBool - METHOD swallowContextMenuEvent // ( oQContextMenuEvent ) -> lBool - METHOD totalBytes // ( ) -> nQuint64 - METHOD triggerAction // ( nAction, lChecked ) -> NIL - METHOD updatePositionDependentActions // ( oQPoint ) -> NIL - METHOD view // ( ) -> oQWidget - METHOD viewportSize // ( ) -> oQSize - - ENDCLASS - - -METHOD QWebPage:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebPage( ... ) - RETURN Self - - -METHOD QWebPage:action( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QWebPage_action( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:bytesReceived( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_bytesReceived( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:createStandardContextMenu( ... ) - SWITCH PCount() - CASE 0 - RETURN QMenuFromPointer( Qt_QWebPage_createStandardContextMenu( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:currentFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebFrameFromPointer( Qt_QWebPage_currentFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:findText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebPage_findText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_findText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:focusNextPrevChild( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_focusNextPrevChild( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:forwardUnsupportedContent( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_forwardUnsupportedContent( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:history( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebHistoryFromPointer( Qt_QWebPage_history( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:inputMethodQuery( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QVariantFromPointer( Qt_QWebPage_inputMethodQuery( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:isContentEditable( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_isContentEditable( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:isModified( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_isModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:linkDelegationPolicy( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_linkDelegationPolicy( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:mainFrame( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebFrameFromPointer( Qt_QWebPage_mainFrame( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:palette( ... ) - SWITCH PCount() - CASE 0 - RETURN QPaletteFromPointer( Qt_QWebPage_palette( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:pluginFactory( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebPluginFactoryFromPointer( Qt_QWebPage_pluginFactory( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:selectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_selectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setContentEditable( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setContentEditable( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setForwardUnsupportedContent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isLogical( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setForwardUnsupportedContent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setLinkDelegationPolicy( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setLinkDelegationPolicy( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setPalette( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setPalette( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setPluginFactory( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setPluginFactory( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setView( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setView( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:setViewportSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_setViewportSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:settings( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebSettingsFromPointer( Qt_QWebPage_settings( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:supportsExtension( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_supportsExtension( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:swallowContextMenuEvent( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_swallowContextMenuEvent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:totalBytes( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPage_totalBytes( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:triggerAction( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWebPage_triggerAction( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_triggerAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:updatePositionDependentActions( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebPage_updatePositionDependentActions( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:view( ... ) - SWITCH PCount() - CASE 0 - RETURN QWidgetFromPointer( Qt_QWebPage_view( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPage:viewportSize( ... ) - SWITCH PCount() - CASE 0 - RETURN QSizeFromPointer( Qt_QWebPage_viewportSize( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg deleted file mode 100644 index 4165328587..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebPluginFactory.prg +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebPluginFactory( ... ) - RETURN HB_QWebPluginFactory():new( ... ) - -FUNCTION QWebPluginFactoryFromPointer( ... ) - RETURN HB_QWebPluginFactory():fromPointer( ... ) - - -CREATE CLASS QWebPluginFactory INHERIT HbQtObjectHandler, HB_QObject FUNCTION HB_QWebPluginFactory - - METHOD new( ... ) - - METHOD create // ( cMimeType, oQUrl, oQStringList, oQStringList ) -> oQObject - METHOD refreshPlugins // ( ) -> NIL - METHOD supportsExtension // ( nExtension ) -> lBool - - ENDCLASS - - -METHOD QWebPluginFactory:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebPluginFactory( ... ) - RETURN Self - - -METHOD QWebPluginFactory:create( ... ) - SWITCH PCount() - CASE 4 - DO CASE - 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 QObjectFromPointer( Qt_QWebPluginFactory_create( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPluginFactory:refreshPlugins( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebPluginFactory_refreshPlugins( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebPluginFactory:supportsExtension( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebPluginFactory_supportsExtension( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebSecurityOrigin.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebSecurityOrigin.prg deleted file mode 100644 index 3beee907c1..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebSecurityOrigin.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebSecurityOrigin( ... ) - RETURN HB_QWebSecurityOrigin():new( ... ) - -FUNCTION QWebSecurityOriginFromPointer( ... ) - RETURN HB_QWebSecurityOrigin():fromPointer( ... ) - - -CREATE CLASS QWebSecurityOrigin INHERIT HbQtObjectHandler FUNCTION HB_QWebSecurityOrigin - - METHOD new( ... ) - - METHOD databaseQuota // ( ) -> nQint64 - METHOD databaseUsage // ( ) -> nQint64 - METHOD host // ( ) -> cQString - METHOD port // ( ) -> nInt - METHOD scheme // ( ) -> cQString - METHOD setDatabaseQuota // ( nQuota ) -> NIL - METHOD allOrigins // ( ) -> oQList_QWebSecurityOrigin> - - ENDCLASS - - -METHOD QWebSecurityOrigin:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebSecurityOrigin( ... ) - RETURN Self - - -METHOD QWebSecurityOrigin:databaseQuota( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSecurityOrigin_databaseQuota( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSecurityOrigin:databaseUsage( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSecurityOrigin_databaseUsage( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSecurityOrigin:host( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSecurityOrigin_host( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSecurityOrigin:port( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSecurityOrigin_port( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSecurityOrigin:scheme( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSecurityOrigin_scheme( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSecurityOrigin:setDatabaseQuota( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSecurityOrigin_setDatabaseQuota( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSecurityOrigin:allOrigins( ... ) - SWITCH PCount() - CASE 0 - RETURN QListFromPointer( Qt_QWebSecurityOrigin_allOrigins( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebSettings.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebSettings.prg deleted file mode 100644 index 2178b7f7a1..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebSettings.prg +++ /dev/null @@ -1,347 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebSettings( ... ) - RETURN HB_QWebSettings():new( ... ) - -FUNCTION QWebSettingsFromPointer( ... ) - RETURN HB_QWebSettings():fromPointer( ... ) - - -CREATE CLASS QWebSettings INHERIT HbQtObjectHandler FUNCTION HB_QWebSettings - - METHOD new( ... ) - - METHOD fontFamily // ( nWhich ) -> cQString - METHOD fontSize // ( nType ) -> nInt - METHOD resetAttribute // ( nAttribute ) -> NIL - METHOD resetFontFamily // ( nWhich ) -> NIL - METHOD resetFontSize // ( nType ) -> NIL - METHOD setAttribute // ( nAttribute, lOn ) -> NIL - METHOD setFontFamily // ( nWhich, cFamily ) -> NIL - METHOD setFontSize // ( nType, nSize ) -> NIL - METHOD setUserStyleSheetUrl // ( oQUrl ) -> NIL - METHOD testAttribute // ( nAttribute ) -> lBool - METHOD userStyleSheetUrl // ( ) -> oQUrl - METHOD clearIconDatabase // ( ) -> NIL - METHOD globalSettings // ( ) -> oQWebSettings - METHOD iconDatabasePath // ( ) -> cQString - METHOD iconForUrl // ( oQUrl ) -> oQIcon - METHOD maximumPagesInCache // ( ) -> nInt - METHOD offlineStorageDefaultQuota // ( ) -> nQint64 - METHOD offlineStoragePath // ( ) -> cQString - METHOD setIconDatabasePath // ( cPath ) -> NIL - METHOD setMaximumPagesInCache // ( nPages ) -> NIL - METHOD setObjectCacheCapacities // ( nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity ) -> NIL - METHOD setOfflineStorageDefaultQuota // ( nMaximumSize ) -> NIL - METHOD setOfflineStoragePath // ( cPath ) -> NIL - METHOD setWebGraphic // ( nType, oQPixmap ) -> NIL - METHOD webGraphic // ( nType ) -> oQPixmap - - ENDCLASS - - -METHOD QWebSettings:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebSettings( ... ) - RETURN Self - - -METHOD QWebSettings:fontFamily( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_fontFamily( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:fontSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_fontSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:resetAttribute( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_resetAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:resetFontFamily( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_resetFontFamily( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:resetFontSize( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_resetFontSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setAttribute( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWebSettings_setAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setFontFamily( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QWebSettings_setFontFamily( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setFontSize( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebSettings_setFontSize( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setUserStyleSheetUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_setUserStyleSheetUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:testAttribute( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_testAttribute( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:userStyleSheetUrl( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebSettings_userStyleSheetUrl( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:clearIconDatabase( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSettings_clearIconDatabase( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:globalSettings( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebSettingsFromPointer( Qt_QWebSettings_globalSettings( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:iconDatabasePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSettings_iconDatabasePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:iconForUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN QIconFromPointer( Qt_QWebSettings_iconForUrl( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:maximumPagesInCache( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSettings_maximumPagesInCache( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:offlineStorageDefaultQuota( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSettings_offlineStorageDefaultQuota( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:offlineStoragePath( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebSettings_offlineStoragePath( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setIconDatabasePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_setIconDatabasePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setMaximumPagesInCache( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_setMaximumPagesInCache( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setObjectCacheCapacities( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isNumeric( hb_pvalue( 3 ) ) - RETURN Qt_QWebSettings_setObjectCacheCapacities( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setOfflineStorageDefaultQuota( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_setOfflineStorageDefaultQuota( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setOfflineStoragePath( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebSettings_setOfflineStoragePath( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:setWebGraphic( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWebSettings_setWebGraphic( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebSettings:webGraphic( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QPixmapFromPointer( Qt_QWebSettings_webGraphic( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/TQWebView.prg b/harbour/contrib/hbqt/qtwebkit/g/TQWebView.prg deleted file mode 100644 index 3b02bddb14..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/TQWebView.prg +++ /dev/null @@ -1,367 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project QT wrapper - * - * Copyright 2009-2010 Pritpal Bedi - * www - http://harbour-project.org - * - * For full copyright message and credits, see: CREDITS.txt - * - */ - - -#include "hbclass.ch" - - -REQUEST __HBQTWEBKIT - - -FUNCTION QWebView( ... ) - RETURN HB_QWebView():new( ... ) - -FUNCTION QWebViewFromPointer( ... ) - RETURN HB_QWebView():fromPointer( ... ) - - -CREATE CLASS QWebView INHERIT HbQtObjectHandler, HB_QWidget FUNCTION HB_QWebView - - METHOD new( ... ) - - METHOD findText // ( cSubString, nOptions ) -> lBool - METHOD history // ( ) -> oQWebHistory - METHOD icon // ( ) -> oQIcon - METHOD isModified // ( ) -> lBool - METHOD load // ( oQUrl ) -> NIL - // ( oQNetworkRequest, nOperation, oQByteArray ) -> NIL - METHOD page // ( ) -> oQWebPage - METHOD pageAction // ( nAction ) -> oQAction - METHOD selectedText // ( ) -> cQString - METHOD setContent // ( oQByteArray, cMimeType, oQUrl ) -> NIL - METHOD setHtml // ( cHtml, oQUrl ) -> NIL - METHOD setPage // ( oQWebPage ) -> NIL - METHOD setTextSizeMultiplier // ( nFactor ) -> NIL - METHOD setUrl // ( oQUrl ) -> NIL - METHOD setZoomFactor // ( nFactor ) -> NIL - METHOD settings // ( ) -> oQWebSettings - METHOD textSizeMultiplier // ( ) -> nQreal - METHOD title // ( ) -> cQString - METHOD triggerPageAction // ( nAction, lChecked ) -> NIL - METHOD url // ( ) -> oQUrl - METHOD zoomFactor // ( ) -> nQreal - METHOD back // ( ) -> NIL - METHOD forward // ( ) -> NIL - METHOD print // ( oQPrinter ) -> NIL - METHOD reload // ( ) -> NIL - METHOD stop // ( ) -> NIL - - ENDCLASS - - -METHOD QWebView:new( ... ) - LOCAL p - FOR EACH p IN { ... } - hb_pvalue( p:__enumIndex(), __hbqt_ptr( p ) ) - NEXT - ::pPtr := Qt_QWebView( ... ) - RETURN Self - - -METHOD QWebView:findText( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebView_findText( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_findText( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:history( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebHistoryFromPointer( Qt_QWebView_history( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:icon( ... ) - SWITCH PCount() - CASE 0 - RETURN QIconFromPointer( Qt_QWebView_icon( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:isModified( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_isModified( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:load( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QWebView_load_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isNumeric( hb_pvalue( 2 ) ) - RETURN Qt_QWebView_load_1( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - SWITCH __objGetClsName( hb_pvalue( 1 ) ) - CASE "QURL" - RETURN Qt_QWebView_load( ::pPtr, ... ) - CASE "QNETWORKREQUEST" - RETURN Qt_QWebView_load_1( ::pPtr, ... ) - ENDSWITCH - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:page( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebPageFromPointer( Qt_QWebView_page( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:pageAction( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN QActionFromPointer( Qt_QWebView_pageAction( ::pPtr, ... ) ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:selectedText( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_selectedText( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:setContent( ... ) - SWITCH PCount() - CASE 3 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) .AND. hb_isObject( hb_pvalue( 3 ) ) - RETURN Qt_QWebView_setContent( ::pPtr, ... ) - ENDCASE - EXIT - CASE 2 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) .AND. hb_isChar( hb_pvalue( 2 ) ) - RETURN Qt_QWebView_setContent( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_setContent( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:setHtml( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) .AND. hb_isObject( hb_pvalue( 2 ) ) - RETURN Qt_QWebView_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isChar( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_setHtml( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:setPage( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_setPage( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:setTextSizeMultiplier( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_setTextSizeMultiplier( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:setUrl( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_setUrl( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:setZoomFactor( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_setZoomFactor( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:settings( ... ) - SWITCH PCount() - CASE 0 - RETURN QWebSettingsFromPointer( Qt_QWebView_settings( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:textSizeMultiplier( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_textSizeMultiplier( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:title( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_title( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:triggerPageAction( ... ) - SWITCH PCount() - CASE 2 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) .AND. hb_isLogical( hb_pvalue( 2 ) ) - RETURN Qt_QWebView_triggerPageAction( ::pPtr, ... ) - ENDCASE - EXIT - CASE 1 - DO CASE - CASE hb_isNumeric( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_triggerPageAction( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:url( ... ) - SWITCH PCount() - CASE 0 - RETURN QUrlFromPointer( Qt_QWebView_url( ::pPtr, ... ) ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:zoomFactor( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_zoomFactor( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:back( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_back( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:forward( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_forward( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:print( ... ) - SWITCH PCount() - CASE 1 - DO CASE - CASE hb_isObject( hb_pvalue( 1 ) ) - RETURN Qt_QWebView_print( ::pPtr, ... ) - ENDCASE - EXIT - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:reload( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_reload( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - - -METHOD QWebView:stop( ... ) - SWITCH PCount() - CASE 0 - RETURN Qt_QWebView_stop( ::pPtr, ... ) - ENDSWITCH - RETURN __hbqt_error() - diff --git a/harbour/contrib/hbqt/qtwebkit/g/filelist.hbm b/harbour/contrib/hbqt/qtwebkit/g/filelist.hbm deleted file mode 100644 index 0a177e92bc..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/filelist.hbm +++ /dev/null @@ -1,31 +0,0 @@ -# -# $Id$ -# - -# -------------------------------------------------------------------- -# WARNING: Automatically generated source file. DO NOT EDIT! -# Instead, edit corresponding .qth file, -# or the generator tool itself, and run regenarate. -# -------------------------------------------------------------------- - -QWebFrame.cpp -QWebHistory.cpp -QWebHistoryInterface.cpp -QWebHistoryItem.cpp -QWebHitTestResult.cpp -QWebPage.cpp -QWebPluginFactory.cpp -QWebSecurityOrigin.cpp -QWebSettings.cpp -QWebView.cpp - -TQWebFrame.prg -TQWebHistory.prg -TQWebHistoryInterface.prg -TQWebHistoryItem.prg -TQWebHitTestResult.prg -TQWebPage.prg -TQWebPluginFactory.prg -TQWebSecurityOrigin.prg -TQWebSettings.prg -TQWebView.prg diff --git a/harbour/contrib/hbqt/qtwebkit/g/hbqtwebkit.h b/harbour/contrib/hbqt/qtwebkit/g/hbqtwebkit.h deleted file mode 100644 index cb288faa32..0000000000 --- a/harbour/contrib/hbqt/qtwebkit/g/hbqtwebkit.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -#ifndef __HBQTWEBKIT_H -#define __HBQTWEBKIT_H - -#include "hbqt.h" - -HB_EXTERN_BEGIN - -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebFrame ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistory ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryInterface ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryItem ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHitTestResult ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebPage ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebPluginFactory ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebSecurityOrigin ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebSettings ); -extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebView ); - -extern HB_EXPORT void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew ); -extern HB_EXPORT void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew ); - -HB_EXTERN_END - -#define hbqt_par_QWebFrame( n ) ( ( QWebFrame * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebHistory( n ) ( ( QWebHistory * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebHistoryItem( n ) ( ( QWebHistoryItem * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebHitTestResult( n ) ( ( QWebHitTestResult * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebPage( n ) ( ( QWebPage * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebSecurityOrigin( n ) ( ( QWebSecurityOrigin * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebSettings( n ) ( ( QWebSettings * ) hbqt_gcpointer( n ) ) -#define hbqt_par_QWebView( n ) ( ( QWebView * ) hbqt_gcpointer( n ) ) - -#define HBQT_TYPE_QWebFrame 0xC549CCEE -#define HBQT_TYPE_QWebHistory 0x24AE8587 -#define HBQT_TYPE_QWebHistoryInterface 0x24436755 -#define HBQT_TYPE_QWebHistoryItem 0x24DEA87F -#define HBQT_TYPE_QWebHitTestResult 0xA2B0A23E -#define HBQT_TYPE_QWebPage 0xCF0E1A25 -#define HBQT_TYPE_QWebPluginFactory 0x8313F829 -#define HBQT_TYPE_QWebSecurityOrigin 0x76EEBFE7 -#define HBQT_TYPE_QWebSettings 0x77943AAB -#define HBQT_TYPE_QWebView 0x25F9078B - -#endif /* __HBQTWEBKIT_H */ diff --git a/harbour/contrib/hbqt/utils/QtCore.txt b/harbour/contrib/hbqt/tests/QtCore.txt similarity index 100% rename from harbour/contrib/hbqt/utils/QtCore.txt rename to harbour/contrib/hbqt/tests/QtCore.txt diff --git a/harbour/contrib/hbqt/utils/QtGui.txt b/harbour/contrib/hbqt/tests/QtGui.txt similarity index 100% rename from harbour/contrib/hbqt/utils/QtGui.txt rename to harbour/contrib/hbqt/tests/QtGui.txt diff --git a/harbour/contrib/hbqt/utils/QtNetwork.txt b/harbour/contrib/hbqt/tests/QtNetwork.txt similarity index 100% rename from harbour/contrib/hbqt/utils/QtNetwork.txt rename to harbour/contrib/hbqt/tests/QtNetwork.txt diff --git a/harbour/contrib/hbqt/utils/QtUiTools.txt b/harbour/contrib/hbqt/tests/QtUiTools.txt similarity index 100% rename from harbour/contrib/hbqt/utils/QtUiTools.txt rename to harbour/contrib/hbqt/tests/QtUiTools.txt diff --git a/harbour/contrib/hbqt/utils/hbqtgen.prg b/harbour/contrib/hbqt/tests/hbqtgen.prg similarity index 100% rename from harbour/contrib/hbqt/utils/hbqtgen.prg rename to harbour/contrib/hbqt/tests/hbqtgen.prg diff --git a/harbour/contrib/hbqt/utils/hbqtgen2.prg b/harbour/contrib/hbqt/tests/hbqtgen2.prg similarity index 100% rename from harbour/contrib/hbqt/utils/hbqtgen2.prg rename to harbour/contrib/hbqt/tests/hbqtgen2.prg diff --git a/harbour/contrib/hbqt/utils/hbmk.hbm b/harbour/contrib/hbqt/utils/hbmk.hbm deleted file mode 100644 index 172739e229..0000000000 --- a/harbour/contrib/hbqt/utils/hbmk.hbm +++ /dev/null @@ -1,5 +0,0 @@ -# -# $Id$ -# - --w3 -es2 diff --git a/harbour/contrib/hbqt/utils/qscintilla.qtp b/harbour/contrib/hbqt/utils/qscintilla.qtp deleted file mode 100644 index 59cb9082a1..0000000000 --- a/harbour/contrib/hbqt/utils/qscintilla.qtp +++ /dev/null @@ -1,21 +0,0 @@ -# -# $Id$ -# - --I=../qscintilla/qth --O=../qscintilla/g --D=../qscintilla/doc - -HBQsciScintilla.qth - -QsciAbstractAPIs.qth -QsciAPIs.qth -QsciCommand.qth -QsciCommandSet.qth -QsciDocument.qth -QsciLexer.qth -QsciLexerCPP.qth -QsciLexerFlagship.qth -QsciScintilla.qth -QsciStyle.qth -QsciStyledText.qth diff --git a/harbour/contrib/hbqt/utils/qtcore.qtp b/harbour/contrib/hbqt/utils/qtcore.qtp deleted file mode 100644 index 683fc28c08..0000000000 --- a/harbour/contrib/hbqt/utils/qtcore.qtp +++ /dev/null @@ -1,72 +0,0 @@ -# -# $Id$ -# - --I=../qtcore/qth --O=../qtcore/g --D=../qtcore/doc - -HBQEvents.qth -HBQSlots.qth -HBQString.qth - -# QAbstractEventDispatcher.qth -QAbstractItemModel.qth -QAbstractListModel.qth -QAbstractTableModel.qth -QBitArray.qth -QBuffer.qth -QByteArray.qth -QChar.qth -QCoreApplication.qth -QDataStream.qth -QDate.qth -QDateTime.qth -QDir.qth -QEvent.qth -QEventLoop.qth -QFile.qth -QFileInfo.qth -QGenericArgument.qth -QGenericReturnArgument.qth -QIODevice.qth -QLatin1Char.qth -QLatin1String.qth -QLine.qth -QLineF.qth -QList.qth -QLocale.qth -QMetaClassInfo.qth -QMetaEnum.qth -QMetaMethod.qth -QMetaObject.qth -QMetaProperty.qth -QMetaType.qth -QMimeData.qth -QModelIndex.qth -QObject.qth -QPoint.qth -QPointF.qth -QProcess.qth -QRect.qth -QRectF.qth -QRegExp.qth -QResource.qth -QSettings.qth -QSignalMapper.qth -QSize.qth -QSizeF.qth -QStringList.qth -QStringRef.qth -QTextBoundaryFinder.qth -QTextCodec.qth -QTextDecoder.qth -QTextEncoder.qth -QTextStream.qth -QThread.qth -QTime.qth -QTimeLine.qth -QTimer.qth -QTranslator.qth -QUrl.qth -QVariant.qth diff --git a/harbour/contrib/hbqt/utils/qtdesigner.qtp b/harbour/contrib/hbqt/utils/qtdesigner.qtp deleted file mode 100644 index 538e1c6fde..0000000000 --- a/harbour/contrib/hbqt/utils/qtdesigner.qtp +++ /dev/null @@ -1,16 +0,0 @@ -# -# $Id$ -# - --I=../qtdesigner/qth --O=../qtdesigner/g --D=../qtdesigner/doc - -QDesignerActionEditorInterface.qth -QDesignerFormEditorInterface.qth -QDesignerFormWindowCursorInterface.qth -QDesignerFormWindowInterface.qth -QDesignerFormWindowManagerInterface.qth -QDesignerObjectInspectorInterface.qth -QDesignerPropertyEditorInterface.qth -QDesignerWidgetBoxInterface.qth diff --git a/harbour/contrib/hbqt/utils/qtgui.qtp b/harbour/contrib/hbqt/utils/qtgui.qtp deleted file mode 100644 index 1700b1af16..0000000000 --- a/harbour/contrib/hbqt/utils/qtgui.qtp +++ /dev/null @@ -1,272 +0,0 @@ -# -# $Id$ -# - --I=../qtgui/qth --O=../qtgui/g --D=../qtgui/doc - -HBQAbstractItemModel.qth -HBQGraphicsItem.qth -HBQGraphicsScene.qth -HBQPlainTextEdit.qth -HBQSyntaxHighlighter.qth -HBQTableView.qth -HBQTextBlockUserData.qth - -QAbstractButton.qth -QAbstractGraphicsShapeItem.qth -QAbstractItemDelegate.qth -QAbstractItemView.qth -QAbstractPrintDialog.qth -QAbstractProxyModel.qth -QAbstractScrollArea.qth -QAbstractSlider.qth -QAbstractSpinBox.qth -QAbstractTextDocumentLayout.qth -QAction.qth -QActionGroup.qth -QApplication.qth -QBitmap.qth -QBoxLayout.qth -QBrush.qth -QButtonGroup.qth -QCalendarWidget.qth -QCheckBox.qth -QClipboard.qth -QColor.qth -QColorDialog.qth -QComboBox.qth -QCommandLinkButton.qth -QCommonStyle.qth -QCompleter.qth -QConicalGradient.qth -QContextMenuEvent.qth -QCursor.qth -QDateEdit.qth -QDateTimeEdit.qth -QDesktopServices.qth -QDesktopWidget.qth -QDial.qth -QDialog.qth -QDirModel.qth -QDockWidget.qth -QDoubleSpinBox.qth -QDoubleValidator.qth -QDrag.qth -QDragEnterEvent.qth -QDragLeaveEvent.qth -QDragMoveEvent.qth -QDropEvent.qth -QErrorMessage.qth -QFileDialog.qth -QFileIconProvider.qth -QFileSystemModel.qth -QFocusEvent.qth -QFocusFrame.qth -QFont.qth -QFontComboBox.qth -QFontDatabase.qth -QFontDialog.qth -QFontInfo.qth -QFontMetrics.qth -QFontMetricsF.qth -QFormLayout.qth -QFrame.qth -QGradient.qth -QGraphicsEllipseItem.qth -QGraphicsGridLayout.qth -QGraphicsItem.qth -QGraphicsItemAnimation.qth -QGraphicsItemGroup.qth -QGraphicsLayout.qth -QGraphicsLayoutItem.qth -QGraphicsLinearLayout.qth -QGraphicsLineItem.qth -QGraphicsPathItem.qth -QGraphicsPixmapItem.qth -QGraphicsPolygonItem.qth -QGraphicsProxyWidget.qth -QGraphicsRectItem.qth -QGraphicsScene.qth -QGraphicsSceneContextMenuEvent.qth -QGraphicsSceneDragDropEvent.qth -QGraphicsSceneEvent.qth -QGraphicsSceneHelpEvent.qth -QGraphicsSceneHoverEvent.qth -QGraphicsSceneMouseEvent.qth -QGraphicsSceneMoveEvent.qth -QGraphicsSceneResizeEvent.qth -QGraphicsSceneWheelEvent.qth -QGraphicsSimpleTextItem.qth -QGraphicsTextItem.qth -QGraphicsView.qth -QGraphicsWidget.qth -QGridLayout.qth -QGroupBox.qth -QHBoxLayout.qth -QHeaderView.qth -QHelpEvent.qth -QHideEvent.qth -QIcon.qth -QImage.qth -QImageReader.qth -QImageWriter.qth -# QInputContext.qth # Disabled because of OS/2 -QInputDialog.qth -QInputEvent.qth -QInputMethodEvent.qth -QIntValidator.qth -QItemDelegate.qth -# QItemEditorCreator.qth -QItemEditorCreatorBase.qth -QItemEditorFactory.qth -QItemSelection.qth -QItemSelectionModel.qth -QKeyEvent.qth -QKeySequence.qth -QLabel.qth -QLayout.qth -QLayoutItem.qth -QLCDNumber.qth -QLinearGradient.qth -QLineEdit.qth -QListView.qth -QListWidget.qth -QListWidgetItem.qth -QMainWindow.qth -QMatrix.qth -QMdiArea.qth -QMdiSubWindow.qth -QMenu.qth -QMenuBar.qth -QMessageBox.qth -QMouseEvent.qth -QMoveEvent.qth -QMovie.qth -QPageSetupDialog.qth -QPaintDevice.qth -QPaintEngine.qth -QPainter.qth -QPainterPath.qth -QPaintEvent.qth -QPalette.qth -QPen.qth -QPicture.qth -QPixmap.qth -QPlainTextDocumentLayout.qth -QPlainTextEdit.qth -QPolygon.qth -QPolygonF.qth -QPrintDialog.qth -QPrintEngine.qth -QPrinter.qth -QPrinterInfo.qth -QPrintPreviewDialog.qth -QProgressBar.qth -QProgressDialog.qth -QPushButton.qth -QRadialGradient.qth -QRadioButton.qth -QRegExpValidator.qth -QRegion.qth -QResizeEvent.qth -QScrollArea.qth -QScrollBar.qth -QSessionManager.qth -QShowEvent.qth -QSizeGrip.qth -QSizePolicy.qth -QSlider.qth -QSortFilterProxyModel.qth -QSound.qth -QSpacerItem.qth -QSpinBox.qth -QSplashScreen.qth -QSplitter.qth -QStackedWidget.qth -QStandardItem.qth -QStandardItemModel.qth -QStatusBar.qth -QStringListModel.qth -QStyle.qth -QStyledItemDelegate.qth -QStyleFactory.qth -QStyleHintReturn.qth -QStyleHintReturnMask.qth -QStyleHintReturnVariant.qth -QStyleOption.qth -QStyleOptionButton.qth -QStyleOptionComboBox.qth -QStyleOptionComplex.qth -QStyleOptionDockWidget.qth -QStyleOptionFocusRect.qth -QStyleOptionFrame.qth -QStyleOptionGraphicsItem.qth -QStyleOptionGroupBox.qth -QStyleOptionHeader.qth -QStyleOptionMenuItem.qth -QStyleOptionProgressBar.qth -QStyleOptionSizeGrip.qth -QStyleOptionSlider.qth -QStyleOptionSpinBox.qth -QStyleOptionTab.qth -QStyleOptionTabBarBase.qth -QStyleOptionTabWidgetFrame.qth -QStyleOptionTitleBar.qth -QStyleOptionToolBar.qth -QStyleOptionToolBox.qth -QStyleOptionToolButton.qth -QStyleOptionViewItem.qth -QStylePainter.qth -QSyntaxHighlighter.qth -QSystemTrayIcon.qth -QTabBar.qth -QTableView.qth -QTableWidget.qth -QTableWidgetItem.qth -QTableWidgetSelectionRange.qth -QTabWidget.qth -QTextBlock.qth -QTextBlockFormat.qth -QTextBlockGroup.qth -QTextBrowser.qth -QTextCharFormat.qth -QTextCursor.qth -QTextDocument.qth -QTextDocumentFragment.qth -QTextDocumentWriter.qth -QTextEdit.qth -QTextFormat.qth -QTextFragment.qth -QTextFrame.qth -QTextFrameFormat.qth -QTextImageFormat.qth -QTextInlineObject.qth -QTextItem.qth -QTextLayout.qth -QTextLength.qth -QTextLine.qth -QTextList.qth -QTextListFormat.qth -QTextObject.qth -QTextOption.qth -QTextTableFormat.qth -QTimeEdit.qth -QToolBar.qth -QToolBox.qth -QToolButton.qth -QTransform.qth -QTreeView.qth -QTreeWidget.qth -QTreeWidgetItem.qth -QValidator.qth -QVBoxLayout.qth -QWheelEvent.qth -QWidget.qth -QWidgetAction.qth -QWidgetItem.qth -QWindowsStyle.qth -QWindowStateChangeEvent.qth -QWizard.qth -QWizardPage.qth diff --git a/harbour/contrib/hbqt/utils/qtnetwork.qtp b/harbour/contrib/hbqt/utils/qtnetwork.qtp deleted file mode 100644 index 2171b9d6d7..0000000000 --- a/harbour/contrib/hbqt/utils/qtnetwork.qtp +++ /dev/null @@ -1,14 +0,0 @@ -# -# $Id$ -# - --I=../qtnetwork/qth --O=../qtnetwork/g --D=../qtnetwork/doc - -QFtp.qth -QHttp.qth -QHttpHeader.qth -QHttpRequestHeader.qth -QHttpResponseHeader.qth -QNetworkRequest.qth diff --git a/harbour/contrib/hbqt/utils/qtuitools.qtp b/harbour/contrib/hbqt/utils/qtuitools.qtp deleted file mode 100644 index 639cbc4d69..0000000000 --- a/harbour/contrib/hbqt/utils/qtuitools.qtp +++ /dev/null @@ -1,9 +0,0 @@ -# -# $Id$ -# - --I=../qtuitools/qth --O=../qtuitools/g --D=../qtuitools/doc - -QUiLoader.qth diff --git a/harbour/contrib/hbqt/utils/qtwebkit.qtp b/harbour/contrib/hbqt/utils/qtwebkit.qtp deleted file mode 100644 index 1105604c70..0000000000 --- a/harbour/contrib/hbqt/utils/qtwebkit.qtp +++ /dev/null @@ -1,18 +0,0 @@ -# -# $Id$ -# - --I=../qtwebkit/qth --O=../qtwebkit/g --D=../qtwebkit/doc - -QWebFrame.qth -QWebHistory.qth -QWebHistoryInterface.qth -QWebHistoryItem.qth -QWebHitTestResult.qth -QWebPage.qth -QWebPluginFactory.qth -QWebSecurityOrigin.qth -QWebSettings.qth -QWebView.qth