├── .github └── workflows │ └── test4update.yml ├── .gitignore ├── COPYING ├── README.md ├── README.note ├── cbindings ├── .qmake.stash ├── COPYING.TXT ├── Qt5Pas.pro ├── README.TXT ├── TODO ├── package │ ├── changelog │ ├── copyright │ ├── libqt5pas-devel.spec │ ├── libqt5pas.spec │ ├── package-lib │ ├── scripts │ │ ├── check4update.bash │ │ ├── deb-package │ │ ├── qt5update.bash │ │ └── rpm-package │ ├── targz.readme │ └── whatsnew ├── qt5.pas ├── refresh.bash └── src │ ├── chandles.h │ ├── flatfuncs.cpp │ ├── flatfuncs.h │ ├── pascalbind.cpp │ ├── pascalbind.h │ ├── qabstractbutton_c.cpp │ ├── qabstractbutton_c.h │ ├── qabstractbutton_hook.h │ ├── qabstractbutton_hook_c.cpp │ ├── qabstractbutton_hook_c.h │ ├── qabstracteventdispatcher_c.cpp │ ├── qabstracteventdispatcher_c.h │ ├── qabstractitemdelegate_c.cpp │ ├── qabstractitemdelegate_c.h │ ├── qabstractitemdelegate_hook.h │ ├── qabstractitemdelegate_hook_c.cpp │ ├── qabstractitemdelegate_hook_c.h │ ├── qabstractitemmodel_c.cpp │ ├── qabstractitemmodel_c.h │ ├── qabstractitemmodel_hook.h │ ├── qabstractitemmodel_hook_c.cpp │ ├── qabstractitemmodel_hook_c.h │ ├── qabstractitemview_c.cpp │ ├── qabstractitemview_c.h │ ├── qabstractitemview_hook.h │ ├── qabstractitemview_hook_c.cpp │ ├── qabstractitemview_hook_c.h │ ├── qabstractprintdialog_c.cpp │ ├── qabstractprintdialog_c.h │ ├── qabstractprintdialog_hook.h │ ├── qabstractprintdialog_hook_c.cpp │ ├── qabstractprintdialog_hook_c.h │ ├── qabstractscrollarea_c.cpp │ ├── qabstractscrollarea_c.h │ ├── qabstractscrollarea_hook.h │ ├── qabstractscrollarea_hook_c.cpp │ ├── qabstractscrollarea_hook_c.h │ ├── qabstractslider_c.cpp │ ├── qabstractslider_c.h │ ├── qabstractslider_hook.h │ ├── qabstractslider_hook_c.cpp │ ├── qabstractslider_hook_c.h │ ├── qabstractsocket_c.cpp │ ├── qabstractsocket_c.h │ ├── qabstractsocket_hook.h │ ├── qabstractsocket_hook_c.cpp │ ├── qabstractsocket_hook_c.h │ ├── qabstractspinbox_c.cpp │ ├── qabstractspinbox_c.h │ ├── qabstractspinbox_hook.h │ ├── qabstractspinbox_hook_c.cpp │ ├── qabstractspinbox_hook_c.h │ ├── qabstracttextdocumentlayout_c.cpp │ ├── qabstracttextdocumentlayout_c.h │ ├── qabstracttextdocumentlayout_hook.h │ ├── qabstracttextdocumentlayout_hook_c.cpp │ ├── qabstracttextdocumentlayout_hook_c.h │ ├── qaccessible_c.cpp │ ├── qaccessible_c.h │ ├── qaccessiblewidget_c.cpp │ ├── qaccessiblewidget_c.h │ ├── qaction_c.cpp │ ├── qaction_c.h │ ├── qaction_hook.h │ ├── qaction_hook_c.cpp │ ├── qaction_hook_c.h │ ├── qactiongroup_c.cpp │ ├── qactiongroup_c.h │ ├── qactiongroup_hook.h │ ├── qactiongroup_hook_c.cpp │ ├── qactiongroup_hook_c.h │ ├── qapplication_c.cpp │ ├── qapplication_c.h │ ├── qapplication_hook.h │ ├── qapplication_hook_c.cpp │ ├── qapplication_hook_c.h │ ├── qauthenticator_c.cpp │ ├── qauthenticator_c.h │ ├── qbackingstore_c.cpp │ ├── qbackingstore_c.h │ ├── qbitmap_c.cpp │ ├── qbitmap_c.h │ ├── qboxlayout_c.cpp │ ├── qboxlayout_c.h │ ├── qbrush_c.cpp │ ├── qbrush_c.h │ ├── qbuffer_c.cpp │ ├── qbuffer_c.h │ ├── qbuttongroup_c.cpp │ ├── qbuttongroup_c.h │ ├── qbuttongroup_hook.h │ ├── qbuttongroup_hook_c.cpp │ ├── qbuttongroup_hook_c.h │ ├── qbytearray_c.cpp │ ├── qbytearray_c.h │ ├── qcalendarwidget_c.cpp │ ├── qcalendarwidget_c.h │ ├── qcalendarwidget_hook.h │ ├── qcalendarwidget_hook_c.cpp │ ├── qcalendarwidget_hook_c.h │ ├── qchar_c.cpp │ ├── qchar_c.h │ ├── qcheckbox_c.cpp │ ├── qcheckbox_c.h │ ├── qcheckbox_hook.h │ ├── qcheckbox_hook_c.cpp │ ├── qcheckbox_hook_c.h │ ├── qclipboard_c.cpp │ ├── qclipboard_c.h │ ├── qclipboard_hook.h │ ├── qclipboard_hook_c.cpp │ ├── qclipboard_hook_c.h │ ├── qcolor_c.cpp │ ├── qcolor_c.h │ ├── qcolordialog_c.cpp │ ├── qcolordialog_c.h │ ├── qcombobox_c.cpp │ ├── qcombobox_c.h │ ├── qcombobox_hook.h │ ├── qcombobox_hook_c.cpp │ ├── qcombobox_hook_c.h │ ├── qcompleter_c.cpp │ ├── qcompleter_c.h │ ├── qcompleter_hook.h │ ├── qcompleter_hook_c.cpp │ ├── qcompleter_hook_c.h │ ├── qcoreapplication_c.cpp │ ├── qcoreapplication_c.h │ ├── qcoreapplication_hook.h │ ├── qcoreapplication_hook_c.cpp │ ├── qcoreapplication_hook_c.h │ ├── qcoreevent_c.cpp │ ├── qcoreevent_c.h │ ├── qcursor_c.cpp │ ├── qcursor_c.h │ ├── qdatetime_c.cpp │ ├── qdatetime_c.h │ ├── qdesktopservices_c.cpp │ ├── qdesktopservices_c.h │ ├── qdesktopwidget_c.cpp │ ├── qdesktopwidget_c.h │ ├── qdesktopwidget_hook.h │ ├── qdesktopwidget_hook_c.cpp │ ├── qdesktopwidget_hook_c.h │ ├── qdialog_c.cpp │ ├── qdialog_c.h │ ├── qdialog_hook.h │ ├── qdialog_hook_c.cpp │ ├── qdialog_hook_c.h │ ├── qdir_c.cpp │ ├── qdir_c.h │ ├── qdockwidget_c.cpp │ ├── qdockwidget_c.h │ ├── qdockwidget_hook.h │ ├── qdockwidget_hook_c.cpp │ ├── qdockwidget_hook_c.h │ ├── qdrag_c.cpp │ ├── qdrag_c.h │ ├── qdrag_hook.h │ ├── qdrag_hook_c.cpp │ ├── qdrag_hook_c.h │ ├── qevent_c.cpp │ ├── qevent_c.h │ ├── qeventloop_c.cpp │ ├── qeventloop_c.h │ ├── qfile_c.cpp │ ├── qfile_c.h │ ├── qfiledevice_c.cpp │ ├── qfiledevice_c.h │ ├── qfiledialog_c.cpp │ ├── qfiledialog_c.h │ ├── qfiledialog_hook.h │ ├── qfiledialog_hook_c.cpp │ ├── qfiledialog_hook_c.h │ ├── qfileinfo_c.cpp │ ├── qfileinfo_c.h │ ├── qfilesystemwatcher_c.cpp │ ├── qfilesystemwatcher_c.h │ ├── qfilesystemwatcher_hook.h │ ├── qfilesystemwatcher_hook_c.cpp │ ├── qfilesystemwatcher_hook_c.h │ ├── qfont_c.cpp │ ├── qfont_c.h │ ├── qfontcombobox_c.cpp │ ├── qfontcombobox_c.h │ ├── qfontcombobox_hook.h │ ├── qfontcombobox_hook_c.cpp │ ├── qfontcombobox_hook_c.h │ ├── qfontdatabase_c.cpp │ ├── qfontdatabase_c.h │ ├── qfontdialog_c.cpp │ ├── qfontdialog_c.h │ ├── qfontinfo_c.cpp │ ├── qfontinfo_c.h │ ├── qfontmetrics_c.cpp │ ├── qfontmetrics_c.h │ ├── qframe_c.cpp │ ├── qframe_c.h │ ├── qframe_hook.h │ ├── qframe_hook_c.cpp │ ├── qframe_hook_c.h │ ├── qgesture_c.cpp │ ├── qgesture_c.h │ ├── qgesturerecognizer_c.cpp │ ├── qgesturerecognizer_c.h │ ├── qgraphicsscene_c.cpp │ ├── qgraphicsscene_c.h │ ├── qgraphicsscene_hook.h │ ├── qgraphicsscene_hook_c.cpp │ ├── qgraphicsscene_hook_c.h │ ├── qgraphicsview_c.cpp │ ├── qgraphicsview_c.h │ ├── qgridlayout_c.cpp │ ├── qgridlayout_c.h │ ├── qgroupbox_c.cpp │ ├── qgroupbox_c.h │ ├── qgroupbox_hook.h │ ├── qgroupbox_hook_c.cpp │ ├── qgroupbox_hook_c.h │ ├── qguiapplication_c.cpp │ ├── qguiapplication_c.h │ ├── qguiapplication_hook.h │ ├── qguiapplication_hook_c.cpp │ ├── qguiapplication_hook_c.h │ ├── qheaderview_c.cpp │ ├── qheaderview_c.h │ ├── qheaderview_hook.h │ ├── qheaderview_hook_c.cpp │ ├── qheaderview_hook_c.h │ ├── qicon_c.cpp │ ├── qicon_c.h │ ├── qimage_c.cpp │ ├── qimage_c.h │ ├── qimageiohandler_c.cpp │ ├── qimageiohandler_c.h │ ├── qimagereader_c.cpp │ ├── qimagereader_c.h │ ├── qimagewriter_c.cpp │ ├── qimagewriter_c.h │ ├── qinputdialog_c.cpp │ ├── qinputdialog_c.h │ ├── qiodevice_c.cpp │ ├── qiodevice_c.h │ ├── qiodevice_hook.h │ ├── qiodevice_hook_c.cpp │ ├── qiodevice_hook_c.h │ ├── qitemdelegate_c.cpp │ ├── qitemdelegate_c.h │ ├── qitemeditorfactory_c.cpp │ ├── qitemeditorfactory_c.h │ ├── qitemselectionmodel_c.cpp │ ├── qitemselectionmodel_c.h │ ├── qitemselectionmodel_hook.h │ ├── qitemselectionmodel_hook_c.cpp │ ├── qitemselectionmodel_hook_c.h │ ├── qkeysequence_c.cpp │ ├── qkeysequence_c.h │ ├── qlabel_c.cpp │ ├── qlabel_c.h │ ├── qlabel_hook.h │ ├── qlabel_hook_c.cpp │ ├── qlabel_hook_c.h │ ├── qlayout_c.cpp │ ├── qlayout_c.h │ ├── qlayout_hook.h │ ├── qlayout_hook_c.cpp │ ├── qlayout_hook_c.h │ ├── qlayoutitem_c.cpp │ ├── qlayoutitem_c.h │ ├── qlcdnumber_c.cpp │ ├── qlcdnumber_c.h │ ├── qlcdnumber_hook.h │ ├── qlcdnumber_hook_c.cpp │ ├── qlcdnumber_hook_c.h │ ├── qlclabstractscrollarea.h │ ├── qlclabstractscrollarea_c.cpp │ ├── qlclabstractscrollarea_c.h │ ├── qlclabstractspinbox.h │ ├── qlclabstractspinbox_c.cpp │ ├── qlclabstractspinbox_c.h │ ├── qlclaccessiblewidget.h │ ├── qlclaccessiblewidget_c.cpp │ ├── qlclaccessiblewidget_c.h │ ├── qlclitemdelegate.h │ ├── qlclitemdelegate_c.cpp │ ├── qlclitemdelegate_c.h │ ├── qlclmessageevent.h │ ├── qlclmessageevent_c.cpp │ ├── qlclmessageevent_c.h │ ├── qlclopenglwidget.h │ ├── qlclopenglwidget_c.cpp │ ├── qlclopenglwidget_c.h │ ├── qlcltabwidget.h │ ├── qlcltabwidget_c.cpp │ ├── qlcltabwidget_c.h │ ├── qlclthread.h │ ├── qlclthread_c.cpp │ ├── qlclthread_c.h │ ├── qlclwebpage.h │ ├── qlclwebpage_c.cpp │ ├── qlclwebpage_c.h │ ├── qlclwebview.h │ ├── qlclwebview_c.cpp │ ├── qlclwebview_c.h │ ├── qlineedit_c.cpp │ ├── qlineedit_c.h │ ├── qlineedit_hook.h │ ├── qlineedit_hook_c.cpp │ ├── qlineedit_hook_c.h │ ├── qlistview_c.cpp │ ├── qlistview_c.h │ ├── qlistview_hook.h │ ├── qlistview_hook_c.cpp │ ├── qlistview_hook_c.h │ ├── qlistwidget_c.cpp │ ├── qlistwidget_c.h │ ├── qlistwidget_hook.h │ ├── qlistwidget_hook_c.cpp │ ├── qlistwidget_hook_c.h │ ├── qlocale_c.cpp │ ├── qlocale_c.h │ ├── qmainwindow_c.cpp │ ├── qmainwindow_c.h │ ├── qmainwindow_hook.h │ ├── qmainwindow_hook_c.cpp │ ├── qmainwindow_hook_c.h │ ├── qmargins_c.cpp │ ├── qmargins_c.h │ ├── qmatrix_c.cpp │ ├── qmatrix_c.h │ ├── qmdiarea_c.cpp │ ├── qmdiarea_c.h │ ├── qmdiarea_hook.h │ ├── qmdiarea_hook_c.cpp │ ├── qmdiarea_hook_c.h │ ├── qmdisubwindow_c.cpp │ ├── qmdisubwindow_c.h │ ├── qmdisubwindow_hook.h │ ├── qmdisubwindow_hook_c.cpp │ ├── qmdisubwindow_hook_c.h │ ├── qmenu_c.cpp │ ├── qmenu_c.h │ ├── qmenu_hook.h │ ├── qmenu_hook_c.cpp │ ├── qmenu_hook_c.h │ ├── qmenubar_c.cpp │ ├── qmenubar_c.h │ ├── qmenubar_hook.h │ ├── qmenubar_hook_c.cpp │ ├── qmenubar_hook_c.h │ ├── qmessagebox_c.cpp │ ├── qmessagebox_c.h │ ├── qmetaobject_c.cpp │ ├── qmetaobject_c.h │ ├── qmimedata_c.cpp │ ├── qmimedata_c.h │ ├── qnativeeventfilter_hook.h │ ├── qnativeeventfilter_hook_c.cpp │ ├── qnativeeventfilter_hook_c.h │ ├── qnetworkaccessmanager_c.cpp │ ├── qnetworkaccessmanager_c.h │ ├── qnetworkaccessmanager_hook.h │ ├── qnetworkaccessmanager_hook_c.cpp │ ├── qnetworkaccessmanager_hook_c.h │ ├── qnetworkcookiejar_c.cpp │ ├── qnetworkcookiejar_c.h │ ├── qnetworkproxy_c.cpp │ ├── qnetworkproxy_c.h │ ├── qnetworkreply_c.cpp │ ├── qnetworkreply_c.h │ ├── qnetworkreply_hook.h │ ├── qnetworkreply_hook_c.cpp │ ├── qnetworkreply_hook_c.h │ ├── qnetworkrequest_c.cpp │ ├── qnetworkrequest_c.h │ ├── qobject_c.cpp │ ├── qobject_c.h │ ├── qobject_hook.h │ ├── qobject_hook_c.cpp │ ├── qobject_hook_c.h │ ├── qobjectdefs_c.cpp │ ├── qobjectdefs_c.h │ ├── qpagedpaintdevice_c.cpp │ ├── qpagedpaintdevice_c.h │ ├── qpagesetupdialog_c.cpp │ ├── qpagesetupdialog_c.h │ ├── qpaintdevice_c.cpp │ ├── qpaintdevice_c.h │ ├── qpaintengine_c.cpp │ ├── qpaintengine_c.h │ ├── qpainter_c.cpp │ ├── qpainter_c.h │ ├── qpainterpath_c.cpp │ ├── qpainterpath_c.h │ ├── qpalette_c.cpp │ ├── qpalette_c.h │ ├── qpen_c.cpp │ ├── qpen_c.h │ ├── qpicture_c.cpp │ ├── qpicture_c.h │ ├── qpixmap_c.cpp │ ├── qpixmap_c.h │ ├── qpixmapcache_c.cpp │ ├── qpixmapcache_c.h │ ├── qplaintextedit_c.cpp │ ├── qplaintextedit_c.h │ ├── qplaintextedit_hook.h │ ├── qplaintextedit_hook_c.cpp │ ├── qplaintextedit_hook_c.h │ ├── qpolygon_c.cpp │ ├── qpolygon_c.h │ ├── qprintdialog_c.cpp │ ├── qprintdialog_c.h │ ├── qprintdialog_hook.h │ ├── qprintdialog_hook_c.cpp │ ├── qprintdialog_hook_c.h │ ├── qprinter_c.cpp │ ├── qprinter_c.h │ ├── qprinterinfo_c.cpp │ ├── qprinterinfo_c.h │ ├── qprintpreviewdialog_c.cpp │ ├── qprintpreviewdialog_c.h │ ├── qprintpreviewdialog_hook.h │ ├── qprintpreviewdialog_hook_c.cpp │ ├── qprintpreviewdialog_hook_c.h │ ├── qprintpreviewwidget_c.cpp │ ├── qprintpreviewwidget_c.h │ ├── qprintpreviewwidget_hook.h │ ├── qprintpreviewwidget_hook_c.cpp │ ├── qprintpreviewwidget_hook_c.h │ ├── qprocess_c.cpp │ ├── qprocess_c.h │ ├── qprocess_hook.h │ ├── qprocess_hook_c.cpp │ ├── qprocess_hook_c.h │ ├── qprogressbar_c.cpp │ ├── qprogressbar_c.h │ ├── qprogressbar_hook.h │ ├── qprogressbar_hook_c.cpp │ ├── qprogressbar_hook_c.h │ ├── qprogressdialog_c.cpp │ ├── qprogressdialog_c.h │ ├── qprogressdialog_hook.h │ ├── qprogressdialog_hook_c.cpp │ ├── qprogressdialog_hook_c.h │ ├── qpushbutton_c.cpp │ ├── qpushbutton_c.h │ ├── qpushbutton_hook.h │ ├── qpushbutton_hook_c.cpp │ ├── qpushbutton_hook_c.h │ ├── qradiobutton_c.cpp │ ├── qradiobutton_c.h │ ├── qrect_c.cpp │ ├── qrect_c.h │ ├── qregion_c.cpp │ ├── qregion_c.h │ ├── qrubberband_c.cpp │ ├── qrubberband_c.h │ ├── qscreen_c.cpp │ ├── qscreen_c.h │ ├── qscreen_hook.h │ ├── qscreen_hook_c.cpp │ ├── qscreen_hook_c.h │ ├── qscrollarea_c.cpp │ ├── qscrollarea_c.h │ ├── qscrollbar_c.cpp │ ├── qscrollbar_c.h │ ├── qscrollbar_hook.h │ ├── qscrollbar_hook_c.cpp │ ├── qscrollbar_hook_c.h │ ├── qsessionmanager_c.cpp │ ├── qsessionmanager_c.h │ ├── qshortcut_c.cpp │ ├── qshortcut_c.h │ ├── qshortcut_hook.h │ ├── qshortcut_hook_c.cpp │ ├── qshortcut_hook_c.h │ ├── qsize_c.cpp │ ├── qsize_c.h │ ├── qsizegrip_c.cpp │ ├── qsizegrip_c.h │ ├── qsizepolicy_c.cpp │ ├── qsizepolicy_c.h │ ├── qslider_c.cpp │ ├── qslider_c.h │ ├── qslider_hook.h │ ├── qslider_hook_c.cpp │ ├── qslider_hook_c.h │ ├── qsocketnotifier_c.cpp │ ├── qsocketnotifier_c.h │ ├── qsocketnotifier_hook.h │ ├── qsocketnotifier_hook_c.cpp │ ├── qsocketnotifier_hook_c.h │ ├── qspinbox_c.cpp │ ├── qspinbox_c.h │ ├── qspinbox_hook.h │ ├── qspinbox_hook_c.cpp │ ├── qspinbox_hook_c.h │ ├── qsplitter_c.cpp │ ├── qsplitter_c.h │ ├── qsplitter_hook.h │ ├── qsplitter_hook_c.cpp │ ├── qsplitter_hook_c.h │ ├── qsslcipher_c.cpp │ ├── qsslcipher_c.h │ ├── qsslconfiguration_c.cpp │ ├── qsslconfiguration_c.h │ ├── qsslerror_c.cpp │ ├── qsslerror_c.h │ ├── qsslkey_c.cpp │ ├── qsslkey_c.h │ ├── qsslsocket_c.cpp │ ├── qsslsocket_c.h │ ├── qstackedlayout_c.cpp │ ├── qstackedlayout_c.h │ ├── qstackedlayout_hook.h │ ├── qstackedlayout_hook_c.cpp │ ├── qstackedlayout_hook_c.h │ ├── qstackedwidget_c.cpp │ ├── qstackedwidget_c.h │ ├── qstackedwidget_hook.h │ ├── qstackedwidget_hook_c.cpp │ ├── qstackedwidget_hook_c.h │ ├── qstandarditemmodel_c.cpp │ ├── qstandarditemmodel_c.h │ ├── qstandarditemmodel_hook.h │ ├── qstandarditemmodel_hook_c.cpp │ ├── qstandarditemmodel_hook_c.h │ ├── qstatusbar_c.cpp │ ├── qstatusbar_c.h │ ├── qstatusbar_hook.h │ ├── qstatusbar_hook_c.cpp │ ├── qstatusbar_hook_c.h │ ├── qstring_c.cpp │ ├── qstring_c.h │ ├── qstringlist_c.cpp │ ├── qstringlist_c.h │ ├── qstyle_c.cpp │ ├── qstyle_c.h │ ├── qstyleditemdelegate_c.cpp │ ├── qstyleditemdelegate_c.h │ ├── qstylefactory_c.cpp │ ├── qstylefactory_c.h │ ├── qstyleoption_c.cpp │ ├── qstyleoption_c.h │ ├── qsurface_c.cpp │ ├── qsurface_c.h │ ├── qsurfaceformat_c.cpp │ ├── qsurfaceformat_c.h │ ├── qsystemtrayicon_c.cpp │ ├── qsystemtrayicon_c.h │ ├── qsystemtrayicon_hook.h │ ├── qsystemtrayicon_hook_c.cpp │ ├── qsystemtrayicon_hook_c.h │ ├── qtabbar_c.cpp │ ├── qtabbar_c.h │ ├── qtabbar_hook.h │ ├── qtabbar_hook_c.cpp │ ├── qtabbar_hook_c.h │ ├── qtableview_c.cpp │ ├── qtableview_c.h │ ├── qtableview_hook.h │ ├── qtableview_hook_c.cpp │ ├── qtableview_hook_c.h │ ├── qtablewidget_c.cpp │ ├── qtablewidget_c.h │ ├── qtablewidget_hook.h │ ├── qtablewidget_hook_c.cpp │ ├── qtablewidget_hook_c.h │ ├── qtabwidget_c.cpp │ ├── qtabwidget_c.h │ ├── qtabwidget_hook.h │ ├── qtabwidget_hook_c.cpp │ ├── qtabwidget_hook_c.h │ ├── qtcpserver_c.cpp │ ├── qtcpserver_c.h │ ├── qtcpserver_hook.h │ ├── qtcpserver_hook_c.cpp │ ├── qtcpserver_hook_c.h │ ├── qtcpsocket_c.cpp │ ├── qtcpsocket_c.h │ ├── qtcpsocket_hook.h │ ├── qtcpsocket_hook_c.cpp │ ├── qtcpsocket_hook_c.h │ ├── qtextbrowser_c.cpp │ ├── qtextbrowser_c.h │ ├── qtextbrowser_hook.h │ ├── qtextbrowser_hook_c.cpp │ ├── qtextbrowser_hook_c.h │ ├── qtextcursor_c.cpp │ ├── qtextcursor_c.h │ ├── qtextdocument_c.cpp │ ├── qtextdocument_c.h │ ├── qtextdocumentwriter_c.cpp │ ├── qtextdocumentwriter_c.h │ ├── qtextedit_c.cpp │ ├── qtextedit_c.h │ ├── qtextedit_hook.h │ ├── qtextedit_hook_c.cpp │ ├── qtextedit_hook_c.h │ ├── qtextformat_c.cpp │ ├── qtextformat_c.h │ ├── qtextlayout_c.cpp │ ├── qtextlayout_c.h │ ├── qtextobject_c.cpp │ ├── qtextobject_c.h │ ├── qtextoption_c.cpp │ ├── qtextoption_c.h │ ├── qthread_c.cpp │ ├── qthread_c.h │ ├── qthread_hook.h │ ├── qthread_hook_c.cpp │ ├── qthread_hook_c.h │ ├── qtimer_c.cpp │ ├── qtimer_c.h │ ├── qtimer_hook.h │ ├── qtimer_hook_c.cpp │ ├── qtimer_hook_c.h │ ├── qtoolbar_c.cpp │ ├── qtoolbar_c.h │ ├── qtoolbar_hook.h │ ├── qtoolbar_hook_c.cpp │ ├── qtoolbar_hook_c.h │ ├── qtoolbox_c.cpp │ ├── qtoolbox_c.h │ ├── qtoolbox_hook.h │ ├── qtoolbox_hook_c.cpp │ ├── qtoolbox_hook_c.h │ ├── qtoolbutton_c.cpp │ ├── qtoolbutton_c.h │ ├── qtoolbutton_hook.h │ ├── qtoolbutton_hook_c.cpp │ ├── qtoolbutton_hook_c.h │ ├── qtooltip_c.cpp │ ├── qtooltip_c.h │ ├── qtransform_c.cpp │ ├── qtransform_c.h │ ├── qtranslator_c.cpp │ ├── qtranslator_c.h │ ├── qtreeview_c.cpp │ ├── qtreeview_c.h │ ├── qtreeview_hook.h │ ├── qtreeview_hook_c.cpp │ ├── qtreeview_hook_c.h │ ├── qtreewidget_c.cpp │ ├── qtreewidget_c.h │ ├── qtreewidget_hook.h │ ├── qtreewidget_hook_c.cpp │ ├── qtreewidget_hook_c.h │ ├── qudpsocket_c.cpp │ ├── qudpsocket_c.h │ ├── qudpsocket_hook.h │ ├── qudpsocket_hook_c.cpp │ ├── qudpsocket_hook_c.h │ ├── qurl_c.cpp │ ├── qurl_c.h │ ├── qvalidator_c.cpp │ ├── qvalidator_c.h │ ├── qvariant_c.cpp │ ├── qvariant_c.h │ ├── qwebdatabase_c.cpp │ ├── qwebdatabase_c.h │ ├── qwebdatabase_hook.h │ ├── qwebdatabase_hook_c.cpp │ ├── qwebdatabase_hook_c.h │ ├── qwebenginepage_c.cpp │ ├── qwebenginepage_c.h │ ├── qwebenginepage_hook.h │ ├── qwebenginepage_hook_c.cpp │ ├── qwebenginepage_hook_c.h │ ├── qwebengineview_c.cpp │ ├── qwebengineview_c.h │ ├── qwebengineview_hook.h │ ├── qwebengineview_hook_c.cpp │ ├── qwebengineview_hook_c.h │ ├── qwebframe_c.cpp │ ├── qwebframe_c.h │ ├── qwebframe_hook.h │ ├── qwebframe_hook_c.cpp │ ├── qwebframe_hook_c.h │ ├── qwebhistory_c.cpp │ ├── qwebhistory_c.h │ ├── qwebhistory_hook.h │ ├── qwebhistory_hook_c.cpp │ ├── qwebhistory_hook_c.h │ ├── qwebhistoryinterface_c.cpp │ ├── qwebhistoryinterface_c.h │ ├── qwebhistoryinterface_hook.h │ ├── qwebhistoryinterface_hook_c.cpp │ ├── qwebhistoryinterface_hook_c.h │ ├── qwebpage_c.cpp │ ├── qwebpage_c.h │ ├── qwebpage_hook.h │ ├── qwebpage_hook_c.cpp │ ├── qwebpage_hook_c.h │ ├── qwebsecurityorigin_c.cpp │ ├── qwebsecurityorigin_c.h │ ├── qwebsecurityorigin_hook.h │ ├── qwebsecurityorigin_hook_c.cpp │ ├── qwebsecurityorigin_hook_c.h │ ├── qwebsettings_c.cpp │ ├── qwebsettings_c.h │ ├── qwebsettings_hook.h │ ├── qwebsettings_hook_c.cpp │ ├── qwebsettings_hook_c.h │ ├── qwebview_c.cpp │ ├── qwebview_c.h │ ├── qwebview_hook.h │ ├── qwebview_hook_c.cpp │ ├── qwebview_hook_c.h │ ├── qwhatsthis_c.cpp │ ├── qwhatsthis_c.h │ ├── qwidget_c.cpp │ ├── qwidget_c.h │ ├── qwidget_hook.h │ ├── qwidget_hook_c.cpp │ ├── qwidget_hook_c.h │ ├── qwindow_c.cpp │ ├── qwindow_c.h │ ├── qwindow_hook.h │ ├── qwindow_hook_c.cpp │ ├── qwindow_hook_c.h │ ├── qx11info_x11_c.cpp │ └── qx11info_x11_c.h ├── package.readme └── targz.readme /.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | Makefile 3 | tmp/ 4 | *.deb 5 | *.rpm 6 | *.gz 7 | libQt5Pas* 8 | libqt5pas.spec-just-used 9 | libqt5pasdevel.spec-just-used 10 | 11 | -------------------------------------------------------------------------------- /cbindings/.qmake.stash: -------------------------------------------------------------------------------- 1 | QMAKE_CXX.QT_COMPILER_STDCXX = 201402L 2 | QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 9 3 | QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 4 | QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 5 | QMAKE_CXX.COMPILER_MACROS = \ 6 | QT_COMPILER_STDCXX \ 7 | QMAKE_GCC_MAJOR_VERSION \ 8 | QMAKE_GCC_MINOR_VERSION \ 9 | QMAKE_GCC_PATCH_VERSION 10 | QMAKE_CXX.INCDIRS = \ 11 | /usr/include/c++/9 \ 12 | /usr/include/x86_64-linux-gnu/c++/9 \ 13 | /usr/include/c++/9/backward \ 14 | /usr/lib/gcc/x86_64-linux-gnu/9/include \ 15 | /usr/local/include \ 16 | /usr/include/x86_64-linux-gnu \ 17 | /usr/include 18 | QMAKE_CXX.LIBDIRS = \ 19 | /usr/lib/gcc/x86_64-linux-gnu/9 \ 20 | /usr/lib/x86_64-linux-gnu \ 21 | /usr/lib \ 22 | /lib/x86_64-linux-gnu \ 23 | /lib 24 | -------------------------------------------------------------------------------- /cbindings/TODO: -------------------------------------------------------------------------------- 1 | * As of Qt-5.6 QtWebKit is deprecated and removed, must use QWebEnginexx classes instead. 2 | http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html 3 | QWebView -> QWebEngineView 4 | QWebPage -> QWebEnginePage (QWebPage::setContentEditable is out, use QWebEnginePage::runJavaScript) 5 | QWebHistory -> QWebEngineHistory 6 | QWebHistoryItem -> QWebEngineHistoryItem 7 | QWebFrame -> QWebEnginePage 8 | QNetworkAccessManager -> hook is in QWebEnginePage 9 | *DOES NOT EXIST IN QtWebEngine - provided link -> Unavailable Qt WebKit API* 10 | QGraphicsWebView 11 | QWebElement 12 | QWebDatabase 13 | QWebPlugin** 14 | QWebPage::setPalette 15 | QWebView::setRenderHints 16 | QWebHistoryInterface 17 | QWebPage::setContentEditable 18 | QWebPage::setLinkDelegationPolicy -> QWebEnginePage::acceptNavigationRequest() 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /cbindings/package/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: 5 | 2005-2013, Jan Van Hijfte 6 | 2017, Željan Rikalo 7 | License: LGPL-3+ with linking exception 8 | 9 | License: LGPL-3+ with linking exception 10 | The source code of the Free Pascal Qt5 binding is distributed under the GNU 11 | Lesser General Public License (see http://www.gnu.org/licenses/lgpl.txt and 12 | below) with the following modification: 13 | . 14 | As a special exception, the copyright holders of this library give you 15 | permission to link this library with independent modules to produce an 16 | executable, regardless of the license terms of these independent modules, and 17 | to copy and distribute the resulting executable under terms of your choice, 18 | provided that you also meet, for each linked independent module, the terms and 19 | conditions of the license of that module. An independent module is a module 20 | which is not derived from or based on this library. If you modify this 21 | library, you may extend this exception to your version of the library, but you 22 | are not obligated to do so. If you do not wish to do so, delete this exception 23 | statement from your version. 24 | . 25 | On Debian systems, the complete text of version 3 of the GNU Lesser General 26 | Public License can be found in '/usr/share/common-licenses/LGPL-3'. 27 | -------------------------------------------------------------------------------- /cbindings/package/scripts/check4update.bash: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | QTV=5 # or 5 or 6 4 | 5 | REMOTE_pro="https://gitlab.com/freepascal.org/lazarus/lazarus/-/raw/main/lcl/interfaces/qt""$QTV""/cbindings/Qt""$QTV""Pas.pro" 6 | REMOTEfile="Qt""$QTV""Pas.pro" 7 | LOCALfile="libQtPas_src/cbindings/Qt""$QTV""Pas.pro" 8 | 9 | 10 | # https://raw.githubusercontent.com/davidbannon/libqt6pas/master/cbindings/Qt6Pas.pro 11 | 12 | wget "$REMOTE_pro" 13 | REMOTEpat=`grep VER_PAT "$REMOTEfile"` 14 | LOCALpat=`grep VER_PAT "$LOCALfile"` 15 | if [ "$REMOTEpat" == "$LOCALpat" ]; then 16 | echo "all clear" 17 | exit 0 18 | else 19 | # this means we need to raise an issue 20 | echo "hmm, seems we have issues" 21 | echo "$REMOTEpat" >> result.text 22 | cat result.text 23 | exit 1 24 | fi 25 | 26 | 27 | -------------------------------------------------------------------------------- /cbindings/package/whatsnew: -------------------------------------------------------------------------------- 1 | Fixed bug in cbindings (21-11-2024) 2 | -------------------------------------------------------------------------------- /cbindings/src/qabstractbutton_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTBUTTON_HOOK_C_H 13 | #define QABSTRACTBUTTON_HOOK_C_H 14 | 15 | #include "qabstractbutton_hook.h" 16 | 17 | C_EXPORT QAbstractButton_hookH QAbstractButton_hook_Create(QObjectH handle); 18 | C_EXPORT void QAbstractButton_hook_Destroy(QAbstractButton_hookH handle); 19 | C_EXPORT void QAbstractButton_hook_hook_pressed(QAbstractButton_hookH handle, QHookH hook); 20 | C_EXPORT void QAbstractButton_hook_hook_released(QAbstractButton_hookH handle, QHookH hook); 21 | C_EXPORT void QAbstractButton_hook_hook_clicked(QAbstractButton_hookH handle, QHookH hook); 22 | C_EXPORT void QAbstractButton_hook_hook_clicked2(QAbstractButton_hookH handle, QHookH hook); 23 | C_EXPORT void QAbstractButton_hook_hook_toggled(QAbstractButton_hookH handle, QHookH hook); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qabstractitemdelegate_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTITEMDELEGATE_HOOK_C_H 13 | #define QABSTRACTITEMDELEGATE_HOOK_C_H 14 | 15 | #include "qabstractitemdelegate_hook.h" 16 | 17 | C_EXPORT QAbstractItemDelegate_hookH QAbstractItemDelegate_hook_Create(QObjectH handle); 18 | C_EXPORT void QAbstractItemDelegate_hook_Destroy(QAbstractItemDelegate_hookH handle); 19 | C_EXPORT void QAbstractItemDelegate_hook_hook_commitData(QAbstractItemDelegate_hookH handle, QHookH hook); 20 | C_EXPORT void QAbstractItemDelegate_hook_hook_closeEditor(QAbstractItemDelegate_hookH handle, QHookH hook); 21 | C_EXPORT void QAbstractItemDelegate_hook_hook_closeEditor2(QAbstractItemDelegate_hookH handle, QHookH hook); 22 | C_EXPORT void QAbstractItemDelegate_hook_hook_sizeHintChanged(QAbstractItemDelegate_hookH handle, QHookH hook); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qabstractprintdialog_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTPRINTDIALOG_HOOK_H 13 | #define QABSTRACTPRINTDIALOG_HOOK_H 14 | 15 | #include 16 | 17 | #include "qdialog_hook.h" 18 | 19 | class QAbstractPrintDialog_hook : public QDialog_hook { 20 | Q_OBJECT 21 | public: 22 | QAbstractPrintDialog_hook(QObject *handle) : QDialog_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qabstractprintdialog_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qabstractprintdialog_hook_c.h" 13 | 14 | QAbstractPrintDialog_hookH QAbstractPrintDialog_hook_Create(QObjectH handle) 15 | { 16 | return (QAbstractPrintDialog_hookH) new QAbstractPrintDialog_hook((QObject*)handle); 17 | } 18 | 19 | void QAbstractPrintDialog_hook_Destroy(QAbstractPrintDialog_hookH handle) 20 | { 21 | delete (QAbstractPrintDialog_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qabstractprintdialog_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTPRINTDIALOG_HOOK_C_H 13 | #define QABSTRACTPRINTDIALOG_HOOK_C_H 14 | 15 | #include "qabstractprintdialog_hook.h" 16 | 17 | C_EXPORT QAbstractPrintDialog_hookH QAbstractPrintDialog_hook_Create(QObjectH handle); 18 | C_EXPORT void QAbstractPrintDialog_hook_Destroy(QAbstractPrintDialog_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qabstractscrollarea_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTSCROLLAREA_HOOK_H 13 | #define QABSTRACTSCROLLAREA_HOOK_H 14 | 15 | #include 16 | 17 | #include "qframe_hook.h" 18 | 19 | class QAbstractScrollArea_hook : public QFrame_hook { 20 | Q_OBJECT 21 | public: 22 | QAbstractScrollArea_hook(QObject *handle) : QFrame_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qabstractscrollarea_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qabstractscrollarea_hook_c.h" 13 | 14 | QAbstractScrollArea_hookH QAbstractScrollArea_hook_Create(QObjectH handle) 15 | { 16 | return (QAbstractScrollArea_hookH) new QAbstractScrollArea_hook((QObject*)handle); 17 | } 18 | 19 | void QAbstractScrollArea_hook_Destroy(QAbstractScrollArea_hookH handle) 20 | { 21 | delete (QAbstractScrollArea_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qabstractscrollarea_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTSCROLLAREA_HOOK_C_H 13 | #define QABSTRACTSCROLLAREA_HOOK_C_H 14 | 15 | #include "qabstractscrollarea_hook.h" 16 | 17 | C_EXPORT QAbstractScrollArea_hookH QAbstractScrollArea_hook_Create(QObjectH handle); 18 | C_EXPORT void QAbstractScrollArea_hook_Destroy(QAbstractScrollArea_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qabstractspinbox_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qabstractspinbox_hook_c.h" 13 | 14 | QAbstractSpinBox_hookH QAbstractSpinBox_hook_Create(QObjectH handle) 15 | { 16 | return (QAbstractSpinBox_hookH) new QAbstractSpinBox_hook((QObject*)handle); 17 | } 18 | 19 | void QAbstractSpinBox_hook_Destroy(QAbstractSpinBox_hookH handle) 20 | { 21 | delete (QAbstractSpinBox_hook *)handle; 22 | } 23 | 24 | void QAbstractSpinBox_hook_hook_editingFinished(QAbstractSpinBox_hookH handle, QHookH hook) 25 | { 26 | ((QAbstractSpinBox_hook *)handle)->hook_editingFinished(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qabstractspinbox_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QABSTRACTSPINBOX_HOOK_C_H 13 | #define QABSTRACTSPINBOX_HOOK_C_H 14 | 15 | #include "qabstractspinbox_hook.h" 16 | 17 | C_EXPORT QAbstractSpinBox_hookH QAbstractSpinBox_hook_Create(QObjectH handle); 18 | C_EXPORT void QAbstractSpinBox_hook_Destroy(QAbstractSpinBox_hookH handle); 19 | C_EXPORT void QAbstractSpinBox_hook_hook_editingFinished(QAbstractSpinBox_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qaction_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QACTION_HOOK_C_H 13 | #define QACTION_HOOK_C_H 14 | 15 | #include "qaction_hook.h" 16 | 17 | C_EXPORT QAction_hookH QAction_hook_Create(QObjectH handle); 18 | C_EXPORT void QAction_hook_Destroy(QAction_hookH handle); 19 | C_EXPORT void QAction_hook_hook_changed(QAction_hookH handle, QHookH hook); 20 | C_EXPORT void QAction_hook_hook_triggered(QAction_hookH handle, QHookH hook); 21 | C_EXPORT void QAction_hook_hook_triggered2(QAction_hookH handle, QHookH hook); 22 | C_EXPORT void QAction_hook_hook_hovered(QAction_hookH handle, QHookH hook); 23 | C_EXPORT void QAction_hook_hook_toggled(QAction_hookH handle, QHookH hook); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qactiongroup_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qactiongroup_hook_c.h" 13 | 14 | QActionGroup_hookH QActionGroup_hook_Create(QObjectH handle) 15 | { 16 | return (QActionGroup_hookH) new QActionGroup_hook((QObject*)handle); 17 | } 18 | 19 | void QActionGroup_hook_Destroy(QActionGroup_hookH handle) 20 | { 21 | delete (QActionGroup_hook *)handle; 22 | } 23 | 24 | void QActionGroup_hook_hook_triggered(QActionGroup_hookH handle, QHookH hook) 25 | { 26 | ((QActionGroup_hook *)handle)->hook_triggered(hook); 27 | } 28 | 29 | void QActionGroup_hook_hook_hovered(QActionGroup_hookH handle, QHookH hook) 30 | { 31 | ((QActionGroup_hook *)handle)->hook_hovered(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qactiongroup_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QACTIONGROUP_HOOK_C_H 13 | #define QACTIONGROUP_HOOK_C_H 14 | 15 | #include "qactiongroup_hook.h" 16 | 17 | C_EXPORT QActionGroup_hookH QActionGroup_hook_Create(QObjectH handle); 18 | C_EXPORT void QActionGroup_hook_Destroy(QActionGroup_hookH handle); 19 | C_EXPORT void QActionGroup_hook_hook_triggered(QActionGroup_hookH handle, QHookH hook); 20 | C_EXPORT void QActionGroup_hook_hook_hovered(QActionGroup_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qapplication_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qapplication_hook_c.h" 13 | 14 | QApplication_hookH QApplication_hook_Create(QObjectH handle) 15 | { 16 | return (QApplication_hookH) new QApplication_hook((QObject*)handle); 17 | } 18 | 19 | void QApplication_hook_Destroy(QApplication_hookH handle) 20 | { 21 | delete (QApplication_hook *)handle; 22 | } 23 | 24 | void QApplication_hook_hook_focusChanged(QApplication_hookH handle, QHookH hook) 25 | { 26 | ((QApplication_hook *)handle)->hook_focusChanged(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qapplication_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QAPPLICATION_HOOK_C_H 13 | #define QAPPLICATION_HOOK_C_H 14 | 15 | #include "qapplication_hook.h" 16 | 17 | C_EXPORT QApplication_hookH QApplication_hook_Create(QObjectH handle); 18 | C_EXPORT void QApplication_hook_Destroy(QApplication_hookH handle); 19 | C_EXPORT void QApplication_hook_hook_focusChanged(QApplication_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qbuttongroup_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QBUTTONGROUP_HOOK_C_H 13 | #define QBUTTONGROUP_HOOK_C_H 14 | 15 | #include "qbuttongroup_hook.h" 16 | 17 | C_EXPORT QButtonGroup_hookH QButtonGroup_hook_Create(QObjectH handle); 18 | C_EXPORT void QButtonGroup_hook_Destroy(QButtonGroup_hookH handle); 19 | C_EXPORT void QButtonGroup_hook_hook_buttonClicked(QButtonGroup_hookH handle, QHookH hook); 20 | C_EXPORT void QButtonGroup_hook_hook_buttonClicked2(QButtonGroup_hookH handle, QHookH hook); 21 | C_EXPORT void QButtonGroup_hook_hook_buttonPressed(QButtonGroup_hookH handle, QHookH hook); 22 | C_EXPORT void QButtonGroup_hook_hook_buttonPressed2(QButtonGroup_hookH handle, QHookH hook); 23 | C_EXPORT void QButtonGroup_hook_hook_buttonReleased(QButtonGroup_hookH handle, QHookH hook); 24 | C_EXPORT void QButtonGroup_hook_hook_buttonReleased2(QButtonGroup_hookH handle, QHookH hook); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cbindings/src/qcalendarwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QCALENDARWIDGET_HOOK_C_H 13 | #define QCALENDARWIDGET_HOOK_C_H 14 | 15 | #include "qcalendarwidget_hook.h" 16 | 17 | C_EXPORT QCalendarWidget_hookH QCalendarWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QCalendarWidget_hook_Destroy(QCalendarWidget_hookH handle); 19 | C_EXPORT void QCalendarWidget_hook_hook_selectionChanged(QCalendarWidget_hookH handle, QHookH hook); 20 | C_EXPORT void QCalendarWidget_hook_hook_clicked(QCalendarWidget_hookH handle, QHookH hook); 21 | C_EXPORT void QCalendarWidget_hook_hook_activated(QCalendarWidget_hookH handle, QHookH hook); 22 | C_EXPORT void QCalendarWidget_hook_hook_currentPageChanged(QCalendarWidget_hookH handle, QHookH hook); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qcheckbox_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QCHECKBOX_C_H 13 | #define QCHECKBOX_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QCheckBoxH QCheckBox_Create(QWidgetH parent); 19 | C_EXPORT void QCheckBox_Destroy(QCheckBoxH handle); 20 | C_EXPORT QCheckBoxH QCheckBox_Create2(PWideString text, QWidgetH parent); 21 | C_EXPORT void QCheckBox_sizeHint(QCheckBoxH handle, PSize retval); 22 | C_EXPORT void QCheckBox_minimumSizeHint(QCheckBoxH handle, PSize retval); 23 | C_EXPORT void QCheckBox_setTristate(QCheckBoxH handle, bool y); 24 | C_EXPORT bool QCheckBox_isTristate(QCheckBoxH handle); 25 | C_EXPORT Qt::CheckState QCheckBox_checkState(QCheckBoxH handle); 26 | C_EXPORT void QCheckBox_setCheckState(QCheckBoxH handle, Qt::CheckState state); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /cbindings/src/qcheckbox_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qcheckbox_hook_c.h" 13 | 14 | QCheckBox_hookH QCheckBox_hook_Create(QObjectH handle) 15 | { 16 | return (QCheckBox_hookH) new QCheckBox_hook((QObject*)handle); 17 | } 18 | 19 | void QCheckBox_hook_Destroy(QCheckBox_hookH handle) 20 | { 21 | delete (QCheckBox_hook *)handle; 22 | } 23 | 24 | void QCheckBox_hook_hook_stateChanged(QCheckBox_hookH handle, QHookH hook) 25 | { 26 | ((QCheckBox_hook *)handle)->hook_stateChanged(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qcheckbox_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QCHECKBOX_HOOK_C_H 13 | #define QCHECKBOX_HOOK_C_H 14 | 15 | #include "qcheckbox_hook.h" 16 | 17 | C_EXPORT QCheckBox_hookH QCheckBox_hook_Create(QObjectH handle); 18 | C_EXPORT void QCheckBox_hook_Destroy(QCheckBox_hookH handle); 19 | C_EXPORT void QCheckBox_hook_hook_stateChanged(QCheckBox_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qclipboard_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QCLIPBOARD_HOOK_C_H 13 | #define QCLIPBOARD_HOOK_C_H 14 | 15 | #include "qclipboard_hook.h" 16 | 17 | C_EXPORT QClipboard_hookH QClipboard_hook_Create(QObjectH handle); 18 | C_EXPORT void QClipboard_hook_Destroy(QClipboard_hookH handle); 19 | C_EXPORT void QClipboard_hook_hook_changed(QClipboard_hookH handle, QHookH hook); 20 | C_EXPORT void QClipboard_hook_hook_selectionChanged(QClipboard_hookH handle, QHookH hook); 21 | C_EXPORT void QClipboard_hook_hook_findBufferChanged(QClipboard_hookH handle, QHookH hook); 22 | C_EXPORT void QClipboard_hook_hook_dataChanged(QClipboard_hookH handle, QHookH hook); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qcompleter_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2022 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QCOMPLETER_HOOK_C_H 13 | #define QCOMPLETER_HOOK_C_H 14 | 15 | #include "qcompleter_hook.h" 16 | 17 | C_EXPORT QCompleter_hookH QCompleter_hook_Create(QObjectH handle); 18 | C_EXPORT void QCompleter_hook_Destroy(QCompleter_hookH handle); 19 | C_EXPORT void QCompleter_hook_hook_activated(QCompleter_hookH handle, QHookH hook); 20 | C_EXPORT void QCompleter_hook_hook_activated2(QCompleter_hookH handle, QHookH hook); 21 | C_EXPORT void QCompleter_hook_hook_highlighted(QCompleter_hookH handle, QHookH hook); 22 | C_EXPORT void QCompleter_hook_hook_highlighted2(QCompleter_hookH handle, QHookH hook); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qcoreapplication_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QCOREAPPLICATION_HOOK_C_H 13 | #define QCOREAPPLICATION_HOOK_C_H 14 | 15 | #include "qcoreapplication_hook.h" 16 | 17 | C_EXPORT QCoreApplication_hookH QCoreApplication_hook_Create(QObjectH handle); 18 | C_EXPORT void QCoreApplication_hook_Destroy(QCoreApplication_hookH handle); 19 | C_EXPORT void QCoreApplication_hook_hook_aboutToQuit(QCoreApplication_hookH handle, QHookH hook); 20 | C_EXPORT void QCoreApplication_hook_hook_organizationNameChanged(QCoreApplication_hookH handle, QHookH hook); 21 | C_EXPORT void QCoreApplication_hook_hook_organizationDomainChanged(QCoreApplication_hookH handle, QHookH hook); 22 | C_EXPORT void QCoreApplication_hook_hook_applicationNameChanged(QCoreApplication_hookH handle, QHookH hook); 23 | C_EXPORT void QCoreApplication_hook_hook_applicationVersionChanged(QCoreApplication_hookH handle, QHookH hook); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qdesktopservices_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qdesktopservices_c.h" 13 | 14 | bool QDesktopServices_openUrl(const QUrlH url) 15 | { 16 | return (bool) QDesktopServices::openUrl(*(const QUrl*)url); 17 | } 18 | 19 | void QDesktopServices_setUrlHandler(PWideString scheme, QObjectH receiver, const char* method) 20 | { 21 | QString t_scheme; 22 | copyPWideStringToQString(scheme, t_scheme); 23 | QDesktopServices::setUrlHandler(t_scheme, (QObject*)receiver, method); 24 | } 25 | 26 | void QDesktopServices_unsetUrlHandler(PWideString scheme) 27 | { 28 | QString t_scheme; 29 | copyPWideStringToQString(scheme, t_scheme); 30 | QDesktopServices::unsetUrlHandler(t_scheme); 31 | } 32 | 33 | -------------------------------------------------------------------------------- /cbindings/src/qdesktopservices_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QDESKTOPSERVICES_C_H 13 | #define QDESKTOPSERVICES_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT bool QDesktopServices_openUrl(const QUrlH url); 19 | C_EXPORT void QDesktopServices_setUrlHandler(PWideString scheme, QObjectH receiver, const char* method); 20 | C_EXPORT void QDesktopServices_unsetUrlHandler(PWideString scheme); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qdesktopwidget_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qdesktopwidget_hook_c.h" 13 | 14 | QDesktopWidget_hookH QDesktopWidget_hook_Create(QObjectH handle) 15 | { 16 | return (QDesktopWidget_hookH) new QDesktopWidget_hook((QObject*)handle); 17 | } 18 | 19 | void QDesktopWidget_hook_Destroy(QDesktopWidget_hookH handle) 20 | { 21 | delete (QDesktopWidget_hook *)handle; 22 | } 23 | 24 | void QDesktopWidget_hook_hook_resized(QDesktopWidget_hookH handle, QHookH hook) 25 | { 26 | ((QDesktopWidget_hook *)handle)->hook_resized(hook); 27 | } 28 | 29 | void QDesktopWidget_hook_hook_workAreaResized(QDesktopWidget_hookH handle, QHookH hook) 30 | { 31 | ((QDesktopWidget_hook *)handle)->hook_workAreaResized(hook); 32 | } 33 | 34 | void QDesktopWidget_hook_hook_screenCountChanged(QDesktopWidget_hookH handle, QHookH hook) 35 | { 36 | ((QDesktopWidget_hook *)handle)->hook_screenCountChanged(hook); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qdesktopwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QDESKTOPWIDGET_HOOK_C_H 13 | #define QDESKTOPWIDGET_HOOK_C_H 14 | 15 | #include "qdesktopwidget_hook.h" 16 | 17 | C_EXPORT QDesktopWidget_hookH QDesktopWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QDesktopWidget_hook_Destroy(QDesktopWidget_hookH handle); 19 | C_EXPORT void QDesktopWidget_hook_hook_resized(QDesktopWidget_hookH handle, QHookH hook); 20 | C_EXPORT void QDesktopWidget_hook_hook_workAreaResized(QDesktopWidget_hookH handle, QHookH hook); 21 | C_EXPORT void QDesktopWidget_hook_hook_screenCountChanged(QDesktopWidget_hookH handle, QHookH hook); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qdialog_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qdialog_hook_c.h" 13 | 14 | QDialog_hookH QDialog_hook_Create(QObjectH handle) 15 | { 16 | return (QDialog_hookH) new QDialog_hook((QObject*)handle); 17 | } 18 | 19 | void QDialog_hook_Destroy(QDialog_hookH handle) 20 | { 21 | delete (QDialog_hook *)handle; 22 | } 23 | 24 | void QDialog_hook_hook_finished(QDialog_hookH handle, QHookH hook) 25 | { 26 | ((QDialog_hook *)handle)->hook_finished(hook); 27 | } 28 | 29 | void QDialog_hook_hook_accepted(QDialog_hookH handle, QHookH hook) 30 | { 31 | ((QDialog_hook *)handle)->hook_accepted(hook); 32 | } 33 | 34 | void QDialog_hook_hook_rejected(QDialog_hookH handle, QHookH hook) 35 | { 36 | ((QDialog_hook *)handle)->hook_rejected(hook); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qdialog_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QDIALOG_HOOK_C_H 13 | #define QDIALOG_HOOK_C_H 14 | 15 | #include "qdialog_hook.h" 16 | 17 | C_EXPORT QDialog_hookH QDialog_hook_Create(QObjectH handle); 18 | C_EXPORT void QDialog_hook_Destroy(QDialog_hookH handle); 19 | C_EXPORT void QDialog_hook_hook_finished(QDialog_hookH handle, QHookH hook); 20 | C_EXPORT void QDialog_hook_hook_accepted(QDialog_hookH handle, QHookH hook); 21 | C_EXPORT void QDialog_hook_hook_rejected(QDialog_hookH handle, QHookH hook); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qdockwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QDOCKWIDGET_HOOK_C_H 13 | #define QDOCKWIDGET_HOOK_C_H 14 | 15 | #include "qdockwidget_hook.h" 16 | 17 | C_EXPORT QDockWidget_hookH QDockWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QDockWidget_hook_Destroy(QDockWidget_hookH handle); 19 | C_EXPORT void QDockWidget_hook_hook_featuresChanged(QDockWidget_hookH handle, QHookH hook); 20 | C_EXPORT void QDockWidget_hook_hook_topLevelChanged(QDockWidget_hookH handle, QHookH hook); 21 | C_EXPORT void QDockWidget_hook_hook_allowedAreasChanged(QDockWidget_hookH handle, QHookH hook); 22 | C_EXPORT void QDockWidget_hook_hook_visibilityChanged(QDockWidget_hookH handle, QHookH hook); 23 | C_EXPORT void QDockWidget_hook_hook_dockLocationChanged(QDockWidget_hookH handle, QHookH hook); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qdrag_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qdrag_hook_c.h" 13 | 14 | QDrag_hookH QDrag_hook_Create(QObjectH handle) 15 | { 16 | return (QDrag_hookH) new QDrag_hook((QObject*)handle); 17 | } 18 | 19 | void QDrag_hook_Destroy(QDrag_hookH handle) 20 | { 21 | delete (QDrag_hook *)handle; 22 | } 23 | 24 | void QDrag_hook_hook_actionChanged(QDrag_hookH handle, QHookH hook) 25 | { 26 | ((QDrag_hook *)handle)->hook_actionChanged(hook); 27 | } 28 | 29 | void QDrag_hook_hook_targetChanged(QDrag_hookH handle, QHookH hook) 30 | { 31 | ((QDrag_hook *)handle)->hook_targetChanged(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qdrag_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QDRAG_HOOK_C_H 13 | #define QDRAG_HOOK_C_H 14 | 15 | #include "qdrag_hook.h" 16 | 17 | C_EXPORT QDrag_hookH QDrag_hook_Create(QObjectH handle); 18 | C_EXPORT void QDrag_hook_Destroy(QDrag_hookH handle); 19 | C_EXPORT void QDrag_hook_hook_actionChanged(QDrag_hookH handle, QHookH hook); 20 | C_EXPORT void QDrag_hook_hook_targetChanged(QDrag_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qfiledialog_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QFILEDIALOG_HOOK_C_H 13 | #define QFILEDIALOG_HOOK_C_H 14 | 15 | #include "qfiledialog_hook.h" 16 | 17 | C_EXPORT QFileDialog_hookH QFileDialog_hook_Create(QObjectH handle); 18 | C_EXPORT void QFileDialog_hook_Destroy(QFileDialog_hookH handle); 19 | C_EXPORT void QFileDialog_hook_hook_fileSelected(QFileDialog_hookH handle, QHookH hook); 20 | C_EXPORT void QFileDialog_hook_hook_filesSelected(QFileDialog_hookH handle, QHookH hook); 21 | C_EXPORT void QFileDialog_hook_hook_currentChanged(QFileDialog_hookH handle, QHookH hook); 22 | C_EXPORT void QFileDialog_hook_hook_directoryEntered(QFileDialog_hookH handle, QHookH hook); 23 | C_EXPORT void QFileDialog_hook_hook_filterSelected(QFileDialog_hookH handle, QHookH hook); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qfilesystemwatcher_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qfilesystemwatcher_hook_c.h" 13 | 14 | QFileSystemWatcher_hookH QFileSystemWatcher_hook_Create(QObjectH handle) 15 | { 16 | return (QFileSystemWatcher_hookH) new QFileSystemWatcher_hook((QObject*)handle); 17 | } 18 | 19 | void QFileSystemWatcher_hook_Destroy(QFileSystemWatcher_hookH handle) 20 | { 21 | delete (QFileSystemWatcher_hook *)handle; 22 | } 23 | 24 | void QFileSystemWatcher_hook_hook_fileChanged(QFileSystemWatcher_hookH handle, QHookH hook) 25 | { 26 | ((QFileSystemWatcher_hook *)handle)->hook_fileChanged(hook); 27 | } 28 | 29 | void QFileSystemWatcher_hook_hook_directoryChanged(QFileSystemWatcher_hookH handle, QHookH hook) 30 | { 31 | ((QFileSystemWatcher_hook *)handle)->hook_directoryChanged(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qfilesystemwatcher_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QFILESYSTEMWATCHER_HOOK_C_H 13 | #define QFILESYSTEMWATCHER_HOOK_C_H 14 | 15 | #include "qfilesystemwatcher_hook.h" 16 | 17 | C_EXPORT QFileSystemWatcher_hookH QFileSystemWatcher_hook_Create(QObjectH handle); 18 | C_EXPORT void QFileSystemWatcher_hook_Destroy(QFileSystemWatcher_hookH handle); 19 | C_EXPORT void QFileSystemWatcher_hook_hook_fileChanged(QFileSystemWatcher_hookH handle, QHookH hook); 20 | C_EXPORT void QFileSystemWatcher_hook_hook_directoryChanged(QFileSystemWatcher_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qfontcombobox_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qfontcombobox_hook_c.h" 13 | 14 | QFontComboBox_hookH QFontComboBox_hook_Create(QObjectH handle) 15 | { 16 | return (QFontComboBox_hookH) new QFontComboBox_hook((QObject*)handle); 17 | } 18 | 19 | void QFontComboBox_hook_Destroy(QFontComboBox_hookH handle) 20 | { 21 | delete (QFontComboBox_hook *)handle; 22 | } 23 | 24 | void QFontComboBox_hook_hook_currentFontChanged(QFontComboBox_hookH handle, QHookH hook) 25 | { 26 | ((QFontComboBox_hook *)handle)->hook_currentFontChanged(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qfontcombobox_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QFONTCOMBOBOX_HOOK_C_H 13 | #define QFONTCOMBOBOX_HOOK_C_H 14 | 15 | #include "qfontcombobox_hook.h" 16 | 17 | C_EXPORT QFontComboBox_hookH QFontComboBox_hook_Create(QObjectH handle); 18 | C_EXPORT void QFontComboBox_hook_Destroy(QFontComboBox_hookH handle); 19 | C_EXPORT void QFontComboBox_hook_hook_currentFontChanged(QFontComboBox_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qframe_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QFRAME_HOOK_H 13 | #define QFRAME_HOOK_H 14 | 15 | #include 16 | 17 | #include "qwidget_hook.h" 18 | 19 | class QFrame_hook : public QWidget_hook { 20 | Q_OBJECT 21 | public: 22 | QFrame_hook(QObject *handle) : QWidget_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qframe_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qframe_hook_c.h" 13 | 14 | QFrame_hookH QFrame_hook_Create(QObjectH handle) 15 | { 16 | return (QFrame_hookH) new QFrame_hook((QObject*)handle); 17 | } 18 | 19 | void QFrame_hook_Destroy(QFrame_hookH handle) 20 | { 21 | delete (QFrame_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qframe_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QFRAME_HOOK_C_H 13 | #define QFRAME_HOOK_C_H 14 | 15 | #include "qframe_hook.h" 16 | 17 | C_EXPORT QFrame_hookH QFrame_hook_Create(QObjectH handle); 18 | C_EXPORT void QFrame_hook_Destroy(QFrame_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qgesturerecognizer_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QGESTURERECOGNIZER_C_H 13 | #define QGESTURERECOGNIZER_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QGestureH QGestureRecognizer_create(QGestureRecognizerH handle, QObjectH target); 19 | C_EXPORT unsigned int QGestureRecognizer_recognize(QGestureRecognizerH handle, QGestureH state, QObjectH watched, QEventH event); 20 | C_EXPORT void QGestureRecognizer_reset(QGestureRecognizerH handle, QGestureH state); 21 | C_EXPORT Qt::GestureType QGestureRecognizer_registerRecognizer(QGestureRecognizerH recognizer); 22 | C_EXPORT void QGestureRecognizer_unregisterRecognizer(Qt::GestureType type); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qgraphicsscene_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QGRAPHICSSCENE_HOOK_C_H 13 | #define QGRAPHICSSCENE_HOOK_C_H 14 | 15 | #include "qgraphicsscene_hook.h" 16 | 17 | C_EXPORT QGraphicsScene_hookH QGraphicsScene_hook_Create(QObjectH handle); 18 | C_EXPORT void QGraphicsScene_hook_Destroy(QGraphicsScene_hookH handle); 19 | C_EXPORT void QGraphicsScene_hook_hook_sceneRectChanged(QGraphicsScene_hookH handle, QHookH hook); 20 | C_EXPORT void QGraphicsScene_hook_hook_selectionChanged(QGraphicsScene_hookH handle, QHookH hook); 21 | C_EXPORT void QGraphicsScene_hook_hook_focusItemChanged(QGraphicsScene_hookH handle, QHookH hook); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qgroupbox_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qgroupbox_hook_c.h" 13 | 14 | QGroupBox_hookH QGroupBox_hook_Create(QObjectH handle) 15 | { 16 | return (QGroupBox_hookH) new QGroupBox_hook((QObject*)handle); 17 | } 18 | 19 | void QGroupBox_hook_Destroy(QGroupBox_hookH handle) 20 | { 21 | delete (QGroupBox_hook *)handle; 22 | } 23 | 24 | void QGroupBox_hook_hook_clicked(QGroupBox_hookH handle, QHookH hook) 25 | { 26 | ((QGroupBox_hook *)handle)->hook_clicked(hook); 27 | } 28 | 29 | void QGroupBox_hook_hook_clicked2(QGroupBox_hookH handle, QHookH hook) 30 | { 31 | ((QGroupBox_hook *)handle)->hook_clicked2(hook); 32 | } 33 | 34 | void QGroupBox_hook_hook_toggled(QGroupBox_hookH handle, QHookH hook) 35 | { 36 | ((QGroupBox_hook *)handle)->hook_toggled(hook); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qgroupbox_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QGROUPBOX_HOOK_C_H 13 | #define QGROUPBOX_HOOK_C_H 14 | 15 | #include "qgroupbox_hook.h" 16 | 17 | C_EXPORT QGroupBox_hookH QGroupBox_hook_Create(QObjectH handle); 18 | C_EXPORT void QGroupBox_hook_Destroy(QGroupBox_hookH handle); 19 | C_EXPORT void QGroupBox_hook_hook_clicked(QGroupBox_hookH handle, QHookH hook); 20 | C_EXPORT void QGroupBox_hook_hook_clicked2(QGroupBox_hookH handle, QHookH hook); 21 | C_EXPORT void QGroupBox_hook_hook_toggled(QGroupBox_hookH handle, QHookH hook); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qiodevice_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QIODEVICE_HOOK_C_H 13 | #define QIODEVICE_HOOK_C_H 14 | 15 | #include "qiodevice_hook.h" 16 | 17 | C_EXPORT QIODevice_hookH QIODevice_hook_Create(QObjectH handle); 18 | C_EXPORT void QIODevice_hook_Destroy(QIODevice_hookH handle); 19 | C_EXPORT void QIODevice_hook_hook_readyRead(QIODevice_hookH handle, QHookH hook); 20 | C_EXPORT void QIODevice_hook_hook_bytesWritten(QIODevice_hookH handle, QHookH hook); 21 | C_EXPORT void QIODevice_hook_hook_aboutToClose(QIODevice_hookH handle, QHookH hook); 22 | C_EXPORT void QIODevice_hook_hook_readChannelFinished(QIODevice_hookH handle, QHookH hook); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qitemselectionmodel_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QITEMSELECTIONMODEL_HOOK_C_H 13 | #define QITEMSELECTIONMODEL_HOOK_C_H 14 | 15 | #include "qitemselectionmodel_hook.h" 16 | 17 | C_EXPORT QItemSelectionRange_hookH QItemSelectionRange_hook_Create(QObjectH handle); 18 | C_EXPORT void QItemSelectionRange_hook_Destroy(QItemSelectionRange_hookH handle); 19 | C_EXPORT QItemSelectionModel_hookH QItemSelectionModel_hook_Create(QObjectH handle); 20 | C_EXPORT void QItemSelectionModel_hook_Destroy(QItemSelectionModel_hookH handle); 21 | C_EXPORT void QItemSelectionModel_hook_hook_currentChanged(QItemSelectionModel_hookH handle, QHookH hook); 22 | C_EXPORT void QItemSelectionModel_hook_hook_currentRowChanged(QItemSelectionModel_hookH handle, QHookH hook); 23 | C_EXPORT void QItemSelectionModel_hook_hook_currentColumnChanged(QItemSelectionModel_hookH handle, QHookH hook); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qlabel_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlabel_hook_c.h" 13 | 14 | QLabel_hookH QLabel_hook_Create(QObjectH handle) 15 | { 16 | return (QLabel_hookH) new QLabel_hook((QObject*)handle); 17 | } 18 | 19 | void QLabel_hook_Destroy(QLabel_hookH handle) 20 | { 21 | delete (QLabel_hook *)handle; 22 | } 23 | 24 | void QLabel_hook_hook_linkActivated(QLabel_hookH handle, QHookH hook) 25 | { 26 | ((QLabel_hook *)handle)->hook_linkActivated(hook); 27 | } 28 | 29 | void QLabel_hook_hook_linkHovered(QLabel_hookH handle, QHookH hook) 30 | { 31 | ((QLabel_hook *)handle)->hook_linkHovered(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qlabel_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLABEL_HOOK_C_H 13 | #define QLABEL_HOOK_C_H 14 | 15 | #include "qlabel_hook.h" 16 | 17 | C_EXPORT QLabel_hookH QLabel_hook_Create(QObjectH handle); 18 | C_EXPORT void QLabel_hook_Destroy(QLabel_hookH handle); 19 | C_EXPORT void QLabel_hook_hook_linkActivated(QLabel_hookH handle, QHookH hook); 20 | C_EXPORT void QLabel_hook_hook_linkHovered(QLabel_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qlayout_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLAYOUT_HOOK_H 13 | #define QLAYOUT_HOOK_H 14 | 15 | #include 16 | 17 | #include "qobject_hook.h" 18 | 19 | class QLayout_hook : public QObject_hook { 20 | Q_OBJECT 21 | public: 22 | QLayout_hook(QObject *handle) : QObject_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qlayout_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlayout_hook_c.h" 13 | 14 | QLayout_hookH QLayout_hook_Create(QObjectH handle) 15 | { 16 | return (QLayout_hookH) new QLayout_hook((QObject*)handle); 17 | } 18 | 19 | void QLayout_hook_Destroy(QLayout_hookH handle) 20 | { 21 | delete (QLayout_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qlayout_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLAYOUT_HOOK_C_H 13 | #define QLAYOUT_HOOK_C_H 14 | 15 | #include "qlayout_hook.h" 16 | 17 | C_EXPORT QLayout_hookH QLayout_hook_Create(QObjectH handle); 18 | C_EXPORT void QLayout_hook_Destroy(QLayout_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qlcdnumber_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlcdnumber_hook_c.h" 13 | 14 | QLCDNumber_hookH QLCDNumber_hook_Create(QObjectH handle) 15 | { 16 | return (QLCDNumber_hookH) new QLCDNumber_hook((QObject*)handle); 17 | } 18 | 19 | void QLCDNumber_hook_Destroy(QLCDNumber_hookH handle) 20 | { 21 | delete (QLCDNumber_hook *)handle; 22 | } 23 | 24 | void QLCDNumber_hook_hook_overflow(QLCDNumber_hookH handle, QHookH hook) 25 | { 26 | ((QLCDNumber_hook *)handle)->hook_overflow(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qlcdnumber_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCDNUMBER_HOOK_C_H 13 | #define QLCDNUMBER_HOOK_C_H 14 | 15 | #include "qlcdnumber_hook.h" 16 | 17 | C_EXPORT QLCDNumber_hookH QLCDNumber_hook_Create(QObjectH handle); 18 | C_EXPORT void QLCDNumber_hook_Destroy(QLCDNumber_hookH handle); 19 | C_EXPORT void QLCDNumber_hook_hook_overflow(QLCDNumber_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qlclabstractscrollarea_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlclabstractscrollarea_c.h" 13 | 14 | QLCLAbstractScrollAreaH QLCLAbstractScrollArea_Create(QWidgetH parent) 15 | { 16 | return (QLCLAbstractScrollAreaH) new QLCLAbstractScrollArea((QWidget*)parent); 17 | } 18 | 19 | void QLCLAbstractScrollArea_Destroy(QLCLAbstractScrollAreaH handle) 20 | { 21 | delete (QLCLAbstractScrollArea *)handle; 22 | } 23 | 24 | void QLCLAbstractScrollArea_override_viewportEvent(QLCLAbstractScrollAreaH handle, const QOverrideHook hook) 25 | { 26 | ((QLCLAbstractScrollArea *)handle)->override_viewportEvent(hook); 27 | } 28 | 29 | bool QLCLAbstractScrollArea_InheritedViewportEvent(QLCLAbstractScrollAreaH handle, QEventH event) 30 | { 31 | return (bool) ((QLCLAbstractScrollArea *)handle)->InheritedViewportEvent((QEvent*)event); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qlclabstractscrollarea_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLABSTRACTSCROLLAREA_C_H 13 | #define QLCLABSTRACTSCROLLAREA_C_H 14 | 15 | #include "qlclabstractscrollarea.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QLCLAbstractScrollAreaH QLCLAbstractScrollArea_Create(QWidgetH parent); 19 | C_EXPORT void QLCLAbstractScrollArea_Destroy(QLCLAbstractScrollAreaH handle); 20 | C_EXPORT void QLCLAbstractScrollArea_override_viewportEvent(QLCLAbstractScrollAreaH handle, const QOverrideHook hook); 21 | C_EXPORT bool QLCLAbstractScrollArea_InheritedViewportEvent(QLCLAbstractScrollAreaH handle, QEventH event); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qlclabstractspinbox.h: -------------------------------------------------------------------------------- 1 | #ifndef QLCLABSTRACTSPINBOX_H 2 | #define QLCLABSTRACTSPINBOX_H 3 | 4 | #include 5 | 6 | 7 | 8 | class QLCLAbstractSpinBox : public QAbstractSpinBox 9 | { 10 | public: 11 | static QLineEdit *lineEditHandle(QAbstractSpinBox *protectedhandle) 12 | { 13 | return reinterpret_cast(protectedhandle)->lineEdit(); 14 | } 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cbindings/src/qlclabstractspinbox_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlclabstractspinbox_c.h" 13 | 14 | QLineEditH QLCLAbstractSpinBox_lineEditHandle(QAbstractSpinBoxH protectedhandle) 15 | { 16 | return (QLineEditH) QLCLAbstractSpinBox::lineEditHandle((QAbstractSpinBox*)protectedhandle); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /cbindings/src/qlclabstractspinbox_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLABSTRACTSPINBOX_C_H 13 | #define QLCLABSTRACTSPINBOX_C_H 14 | 15 | #include "qlclabstractspinbox.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QLineEditH QLCLAbstractSpinBox_lineEditHandle(QAbstractSpinBoxH protectedhandle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qlclmessageevent.h: -------------------------------------------------------------------------------- 1 | #ifndef QLCLMESSAGEEVENT_H 2 | #define QLCLMESSAGEEVENT_H 3 | 4 | #include 5 | #include "pascalbind.h" 6 | 7 | class QLCLMessageEvent : public QEvent { 8 | 9 | public: 10 | 11 | PTRUINT Msg; 12 | PTRUINT WParam; 13 | PTRUINT LParam; 14 | PTRUINT MsgResult; 15 | 16 | QLCLMessageEvent(Type aType) : QEvent(aType),Msg(0),WParam(0),LParam(0),MsgResult(0) {}; 17 | QLCLMessageEvent(Type aType, PTRUINT aMsg, PTRUINT aWParam, PTRUINT aLParam, PTRUINT aMsgResult) : QEvent(aType),Msg(aMsg),WParam(aWParam),LParam(aLParam),MsgResult(aMsgResult) {}; 18 | 19 | // Destroy Test: uncomment following line and recompile binding library 20 | //~QLCLMessageEvent() { printf("LCLMessage got destroyed\n"); }; 21 | 22 | PTRUINT getMsg() { return Msg;} 23 | PTRUINT getWParam() { return WParam;} 24 | PTRUINT getLParam() { return LParam;} 25 | PTRUINT getMsgResult() { return MsgResult;} 26 | 27 | void setMsg(PTRUINT Value) {Msg = Value;} 28 | void setWParam(PTRUINT Value) {WParam = Value;} 29 | void setLParam(PTRUINT Value) {LParam = Value;} 30 | void setMsgResult(PTRUINT Value) {MsgResult = Value;} 31 | 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /cbindings/src/qlclopenglwidget_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2020 Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlclopenglwidget_c.h" 13 | 14 | QLCLOpenGLWidgetH QLCLOpenGLWidget_Create(QWidgetH parent, unsigned int f) 15 | { 16 | return (QLCLOpenGLWidgetH) new QLCLOpenGLWidget((QWidget*)parent, (Qt::WindowFlags)f); 17 | } 18 | 19 | void QLCLOpenGLWidget_Destroy(QLCLOpenGLWidgetH handle) 20 | { 21 | delete (QLCLOpenGLWidget *)handle; 22 | } 23 | 24 | void QLCLOpenGLWidget_override_paintGL(QLCLOpenGLWidgetH handle, const QOverrideHook hook) 25 | { 26 | ((QLCLOpenGLWidget *)handle)->override_paintGL(hook); 27 | } 28 | 29 | void QLCLOpenGLWidget_InheritedPaintGL(QLCLOpenGLWidgetH handle) 30 | { 31 | ((QLCLOpenGLWidget *)handle)->InheritedPaintGLOverride(); 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /cbindings/src/qlclopenglwidget_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2020 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLOPENGLWIDGET_C_H 13 | #define QLCLOPENGLWIDGET_C_H 14 | 15 | #include "qlclopenglwidget.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QLCLOpenGLWidgetH QLCLOpenGLWidget_Create(QWidgetH parent, unsigned int f); 19 | C_EXPORT void QLCLOpenGLWidget_Destroy(QLCLOpenGLWidgetH handle); 20 | C_EXPORT void QLCLOpenGLWidget_override_paintGL(QLCLOpenGLWidgetH handle, const QOverrideHook hook); 21 | C_EXPORT void QLCLOpenGLWidget_InheritedPaintGL(QLCLOpenGLWidgetH handle); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qlcltabwidget.h: -------------------------------------------------------------------------------- 1 | #ifndef QLCLTABWIDGET_H 2 | #define QLCLTABWIDGET_H 3 | 4 | #include 5 | 6 | 7 | class QLCLTabWidget : public QTabWidget 8 | { 9 | public: 10 | static QTabBar *tabBarHandle(QTabWidget *protectedhandle) 11 | { 12 | return reinterpret_cast(protectedhandle)->tabBar(); 13 | } 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /cbindings/src/qlcltabwidget_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlcltabwidget_c.h" 13 | 14 | QTabBarH QLCLTabWidget_tabBarHandle(QTabWidgetH protectedhandle) 15 | { 16 | return (QTabBarH) QLCLTabWidget::tabBarHandle((QTabWidget*)protectedhandle); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /cbindings/src/qlcltabwidget_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLTABWIDGET_C_H 13 | #define QLCLTABWIDGET_C_H 14 | 15 | #include "qlcltabwidget.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QTabBarH QLCLTabWidget_tabBarHandle(QTabWidgetH protectedhandle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qlclthread.h: -------------------------------------------------------------------------------- 1 | #ifndef QLCLTHREAD_H 2 | #define QLCLTHREAD_H 3 | 4 | #include 5 | #include "pascalbind.h" 6 | 7 | 8 | class QLCLThread : public QThread { 9 | 10 | public: 11 | 12 | //==================================================================================== 13 | QLCLThread(QObject * parent = 0) : QThread(parent) { 14 | runOverride.func = NULL; 15 | }; 16 | 17 | //==================================================================================== 18 | void override_run(const QOverrideHook hook) { 19 | runOverride = hook; 20 | }; 21 | 22 | //==================================================================================== 23 | int exec() { 24 | return QThread::exec(); 25 | }; 26 | 27 | 28 | protected: 29 | 30 | void run () { 31 | if (runOverride.func) { 32 | typedef void (*func_type)(void *data); 33 | (*(func_type)runOverride.func)(runOverride.data); 34 | } 35 | else QThread::run(); 36 | }; 37 | 38 | 39 | private: 40 | 41 | //==================================================================================== 42 | QOverrideHook runOverride; 43 | 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /cbindings/src/qlclthread_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlclthread_c.h" 13 | 14 | QLCLThreadH QLCLThread_Create(QObjectH parent) 15 | { 16 | return (QLCLThreadH) new QLCLThread((QObject*)parent); 17 | } 18 | 19 | void QLCLThread_Destroy(QLCLThreadH handle) 20 | { 21 | delete (QLCLThread *)handle; 22 | } 23 | 24 | void QLCLThread_override_run(QLCLThreadH handle, const QOverrideHook hook) 25 | { 26 | ((QLCLThread *)handle)->override_run(hook); 27 | } 28 | 29 | int QLCLThread_exec(QLCLThreadH handle) 30 | { 31 | return (int) ((QLCLThread *)handle)->exec(); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qlclthread_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLTHREAD_C_H 13 | #define QLCLTHREAD_C_H 14 | 15 | #include "qlclthread.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QLCLThreadH QLCLThread_Create(QObjectH parent); 19 | C_EXPORT void QLCLThread_Destroy(QLCLThreadH handle); 20 | C_EXPORT void QLCLThread_override_run(QLCLThreadH handle, const QOverrideHook hook); 21 | C_EXPORT int QLCLThread_exec(QLCLThreadH handle); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qlclwebpage_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlclwebpage_c.h" 13 | 14 | QLCLWebPageH QLCLWebPage_Create(QObjectH parent) 15 | { 16 | return (QLCLWebPageH) new QLCLWebPage((QObject*)parent); 17 | } 18 | 19 | void QLCLWebPage_Destroy(QLCLWebPageH handle) 20 | { 21 | delete (QLCLWebPage *)handle; 22 | } 23 | 24 | void QLCLWebPage_override_userAgentForUrl(QLCLWebPageH handle, const QOverrideHook hook) 25 | { 26 | ((QLCLWebPage *)handle)->override_userAgentForUrl(hook); 27 | } 28 | 29 | void QLCLWebPage_DefaultUserAgentForUrl(QLCLWebPageH handle, PWideString retval, const QUrlH url) 30 | { 31 | QString t_retval; 32 | t_retval = ((QLCLWebPage *)handle)->DefaultUserAgentForUrl(*(const QUrl*)url); 33 | copyQStringToPWideString(t_retval, retval); 34 | } 35 | 36 | -------------------------------------------------------------------------------- /cbindings/src/qlclwebpage_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLWEBPAGE_C_H 13 | #define QLCLWEBPAGE_C_H 14 | 15 | #include "qlclwebpage.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QLCLWebPageH QLCLWebPage_Create(QObjectH parent); 19 | C_EXPORT void QLCLWebPage_Destroy(QLCLWebPageH handle); 20 | C_EXPORT void QLCLWebPage_override_userAgentForUrl(QLCLWebPageH handle, const QOverrideHook hook); 21 | C_EXPORT void QLCLWebPage_DefaultUserAgentForUrl(QLCLWebPageH handle, PWideString retval, const QUrlH url); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qlclwebview.h: -------------------------------------------------------------------------------- 1 | #ifndef QLCLWEBVIEW_H 2 | #define QLCLWEBVIEW_H 3 | 4 | #include 5 | #include "pascalbind.h" 6 | 7 | 8 | class QLCLWebView : public QWebView { 9 | 10 | public: 11 | 12 | //==================================================================================== 13 | QLCLWebView(QWidget * parent = 0 ) : QWebView(parent) { 14 | createWindowOverride.func = NULL; 15 | }; 16 | 17 | //==================================================================================== 18 | void override_createWindow(const QOverrideHook hook) { 19 | createWindowOverride = hook; 20 | }; 21 | 22 | protected: 23 | 24 | QWebView *createWindow ( QWebPage::WebWindowType type ) { 25 | if (createWindowOverride.func) { 26 | typedef QWebView * (*func_type)(void *data, QWebPage::WebWindowType type); 27 | return (*(func_type)createWindowOverride.func)(createWindowOverride.data, type); 28 | } 29 | else return QWebView::createWindow(type); 30 | }; 31 | 32 | 33 | private: 34 | 35 | //==================================================================================== 36 | QHook createWindowOverride; 37 | 38 | 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /cbindings/src/qlclwebview_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlclwebview_c.h" 13 | 14 | QLCLWebViewH QLCLWebView_Create(QWidgetH parent) 15 | { 16 | return (QLCLWebViewH) new QLCLWebView((QWidget*)parent); 17 | } 18 | 19 | void QLCLWebView_Destroy(QLCLWebViewH handle) 20 | { 21 | delete (QLCLWebView *)handle; 22 | } 23 | 24 | void QLCLWebView_override_createWindow(QLCLWebViewH handle, const QOverrideHook hook) 25 | { 26 | ((QLCLWebView *)handle)->override_createWindow(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qlclwebview_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLCLWEBVIEW_C_H 13 | #define QLCLWEBVIEW_C_H 14 | 15 | #include "qlclwebview.h" 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QLCLWebViewH QLCLWebView_Create(QWidgetH parent); 19 | C_EXPORT void QLCLWebView_Destroy(QLCLWebViewH handle); 20 | C_EXPORT void QLCLWebView_override_createWindow(QLCLWebViewH handle, const QOverrideHook hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qlineedit_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLINEEDIT_HOOK_C_H 13 | #define QLINEEDIT_HOOK_C_H 14 | 15 | #include "qlineedit_hook.h" 16 | 17 | C_EXPORT QLineEdit_hookH QLineEdit_hook_Create(QObjectH handle); 18 | C_EXPORT void QLineEdit_hook_Destroy(QLineEdit_hookH handle); 19 | C_EXPORT void QLineEdit_hook_hook_textChanged(QLineEdit_hookH handle, QHookH hook); 20 | C_EXPORT void QLineEdit_hook_hook_textEdited(QLineEdit_hookH handle, QHookH hook); 21 | C_EXPORT void QLineEdit_hook_hook_cursorPositionChanged(QLineEdit_hookH handle, QHookH hook); 22 | C_EXPORT void QLineEdit_hook_hook_returnPressed(QLineEdit_hookH handle, QHookH hook); 23 | C_EXPORT void QLineEdit_hook_hook_editingFinished(QLineEdit_hookH handle, QHookH hook); 24 | C_EXPORT void QLineEdit_hook_hook_selectionChanged(QLineEdit_hookH handle, QHookH hook); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cbindings/src/qlistview_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLISTVIEW_HOOK_H 13 | #define QLISTVIEW_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractitemview_hook.h" 18 | 19 | class QListView_hook : public QAbstractItemView_hook { 20 | Q_OBJECT 21 | public: 22 | QListView_hook(QObject *handle) : QAbstractItemView_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qlistview_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qlistview_hook_c.h" 13 | 14 | QListView_hookH QListView_hook_Create(QObjectH handle) 15 | { 16 | return (QListView_hookH) new QListView_hook((QObject*)handle); 17 | } 18 | 19 | void QListView_hook_Destroy(QListView_hookH handle) 20 | { 21 | delete (QListView_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qlistview_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QLISTVIEW_HOOK_C_H 13 | #define QLISTVIEW_HOOK_C_H 14 | 15 | #include "qlistview_hook.h" 16 | 17 | C_EXPORT QListView_hookH QListView_hook_Create(QObjectH handle); 18 | C_EXPORT void QListView_hook_Destroy(QListView_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qmainwindow_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qmainwindow_hook_c.h" 13 | 14 | QMainWindow_hookH QMainWindow_hook_Create(QObjectH handle) 15 | { 16 | return (QMainWindow_hookH) new QMainWindow_hook((QObject*)handle); 17 | } 18 | 19 | void QMainWindow_hook_Destroy(QMainWindow_hookH handle) 20 | { 21 | delete (QMainWindow_hook *)handle; 22 | } 23 | 24 | void QMainWindow_hook_hook_iconSizeChanged(QMainWindow_hookH handle, QHookH hook) 25 | { 26 | ((QMainWindow_hook *)handle)->hook_iconSizeChanged(hook); 27 | } 28 | 29 | void QMainWindow_hook_hook_toolButtonStyleChanged(QMainWindow_hookH handle, QHookH hook) 30 | { 31 | ((QMainWindow_hook *)handle)->hook_toolButtonStyleChanged(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qmainwindow_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QMAINWINDOW_HOOK_C_H 13 | #define QMAINWINDOW_HOOK_C_H 14 | 15 | #include "qmainwindow_hook.h" 16 | 17 | C_EXPORT QMainWindow_hookH QMainWindow_hook_Create(QObjectH handle); 18 | C_EXPORT void QMainWindow_hook_Destroy(QMainWindow_hookH handle); 19 | C_EXPORT void QMainWindow_hook_hook_iconSizeChanged(QMainWindow_hookH handle, QHookH hook); 20 | C_EXPORT void QMainWindow_hook_hook_toolButtonStyleChanged(QMainWindow_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qmargins_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2017 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QMARGINS_C_H 13 | #define QMARGINS_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QMarginsH QMargins_Create(); 19 | C_EXPORT QMarginsH QMargins_Create2(int left, int top, int right, int bottom); 20 | C_EXPORT void QMargins_Destroy(QMarginsH handle); 21 | C_EXPORT bool QMargins_isNull(QMarginsH handle); 22 | C_EXPORT int QMargins_left(QMarginsH handle); 23 | C_EXPORT int QMargins_top(QMarginsH handle); 24 | C_EXPORT int QMargins_right(QMarginsH handle); 25 | C_EXPORT int QMargins_bottom(QMarginsH handle); 26 | C_EXPORT void QMargins_setLeft(QMarginsH handle, int left); 27 | C_EXPORT void QMargins_setTop(QMarginsH handle, int top); 28 | C_EXPORT void QMargins_setRight(QMarginsH handle, int right); 29 | C_EXPORT void QMargins_setBottom(QMarginsH handle, int bottom); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /cbindings/src/qmdiarea_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qmdiarea_hook_c.h" 13 | 14 | QMdiArea_hookH QMdiArea_hook_Create(QObjectH handle) 15 | { 16 | return (QMdiArea_hookH) new QMdiArea_hook((QObject*)handle); 17 | } 18 | 19 | void QMdiArea_hook_Destroy(QMdiArea_hookH handle) 20 | { 21 | delete (QMdiArea_hook *)handle; 22 | } 23 | 24 | void QMdiArea_hook_hook_subWindowActivated(QMdiArea_hookH handle, QHookH hook) 25 | { 26 | ((QMdiArea_hook *)handle)->hook_subWindowActivated(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qmdiarea_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QMDIAREA_HOOK_C_H 13 | #define QMDIAREA_HOOK_C_H 14 | 15 | #include "qmdiarea_hook.h" 16 | 17 | C_EXPORT QMdiArea_hookH QMdiArea_hook_Create(QObjectH handle); 18 | C_EXPORT void QMdiArea_hook_Destroy(QMdiArea_hookH handle); 19 | C_EXPORT void QMdiArea_hook_hook_subWindowActivated(QMdiArea_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qmdisubwindow_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qmdisubwindow_hook_c.h" 13 | 14 | QMdiSubWindow_hookH QMdiSubWindow_hook_Create(QObjectH handle) 15 | { 16 | return (QMdiSubWindow_hookH) new QMdiSubWindow_hook((QObject*)handle); 17 | } 18 | 19 | void QMdiSubWindow_hook_Destroy(QMdiSubWindow_hookH handle) 20 | { 21 | delete (QMdiSubWindow_hook *)handle; 22 | } 23 | 24 | void QMdiSubWindow_hook_hook_windowStateChanged(QMdiSubWindow_hookH handle, QHookH hook) 25 | { 26 | ((QMdiSubWindow_hook *)handle)->hook_windowStateChanged(hook); 27 | } 28 | 29 | void QMdiSubWindow_hook_hook_aboutToActivate(QMdiSubWindow_hookH handle, QHookH hook) 30 | { 31 | ((QMdiSubWindow_hook *)handle)->hook_aboutToActivate(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qmdisubwindow_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QMDISUBWINDOW_HOOK_C_H 13 | #define QMDISUBWINDOW_HOOK_C_H 14 | 15 | #include "qmdisubwindow_hook.h" 16 | 17 | C_EXPORT QMdiSubWindow_hookH QMdiSubWindow_hook_Create(QObjectH handle); 18 | C_EXPORT void QMdiSubWindow_hook_Destroy(QMdiSubWindow_hookH handle); 19 | C_EXPORT void QMdiSubWindow_hook_hook_windowStateChanged(QMdiSubWindow_hookH handle, QHookH hook); 20 | C_EXPORT void QMdiSubWindow_hook_hook_aboutToActivate(QMdiSubWindow_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qmenu_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qmenu_hook_c.h" 13 | 14 | QMenu_hookH QMenu_hook_Create(QObjectH handle) 15 | { 16 | return (QMenu_hookH) new QMenu_hook((QObject*)handle); 17 | } 18 | 19 | void QMenu_hook_Destroy(QMenu_hookH handle) 20 | { 21 | delete (QMenu_hook *)handle; 22 | } 23 | 24 | void QMenu_hook_hook_aboutToShow(QMenu_hookH handle, QHookH hook) 25 | { 26 | ((QMenu_hook *)handle)->hook_aboutToShow(hook); 27 | } 28 | 29 | void QMenu_hook_hook_aboutToHide(QMenu_hookH handle, QHookH hook) 30 | { 31 | ((QMenu_hook *)handle)->hook_aboutToHide(hook); 32 | } 33 | 34 | void QMenu_hook_hook_triggered(QMenu_hookH handle, QHookH hook) 35 | { 36 | ((QMenu_hook *)handle)->hook_triggered(hook); 37 | } 38 | 39 | void QMenu_hook_hook_hovered(QMenu_hookH handle, QHookH hook) 40 | { 41 | ((QMenu_hook *)handle)->hook_hovered(hook); 42 | } 43 | 44 | -------------------------------------------------------------------------------- /cbindings/src/qmenu_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QMENU_HOOK_C_H 13 | #define QMENU_HOOK_C_H 14 | 15 | #include "qmenu_hook.h" 16 | 17 | C_EXPORT QMenu_hookH QMenu_hook_Create(QObjectH handle); 18 | C_EXPORT void QMenu_hook_Destroy(QMenu_hookH handle); 19 | C_EXPORT void QMenu_hook_hook_aboutToShow(QMenu_hookH handle, QHookH hook); 20 | C_EXPORT void QMenu_hook_hook_aboutToHide(QMenu_hookH handle, QHookH hook); 21 | C_EXPORT void QMenu_hook_hook_triggered(QMenu_hookH handle, QHookH hook); 22 | C_EXPORT void QMenu_hook_hook_hovered(QMenu_hookH handle, QHookH hook); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qmenubar_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qmenubar_hook_c.h" 13 | 14 | QMenuBar_hookH QMenuBar_hook_Create(QObjectH handle) 15 | { 16 | return (QMenuBar_hookH) new QMenuBar_hook((QObject*)handle); 17 | } 18 | 19 | void QMenuBar_hook_Destroy(QMenuBar_hookH handle) 20 | { 21 | delete (QMenuBar_hook *)handle; 22 | } 23 | 24 | void QMenuBar_hook_hook_triggered(QMenuBar_hookH handle, QHookH hook) 25 | { 26 | ((QMenuBar_hook *)handle)->hook_triggered(hook); 27 | } 28 | 29 | void QMenuBar_hook_hook_hovered(QMenuBar_hookH handle, QHookH hook) 30 | { 31 | ((QMenuBar_hook *)handle)->hook_hovered(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qmenubar_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QMENUBAR_HOOK_C_H 13 | #define QMENUBAR_HOOK_C_H 14 | 15 | #include "qmenubar_hook.h" 16 | 17 | C_EXPORT QMenuBar_hookH QMenuBar_hook_Create(QObjectH handle); 18 | C_EXPORT void QMenuBar_hook_Destroy(QMenuBar_hookH handle); 19 | C_EXPORT void QMenuBar_hook_hook_triggered(QMenuBar_hookH handle, QHookH hook); 20 | C_EXPORT void QMenuBar_hook_hook_hovered(QMenuBar_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qnativeeventfilter_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2022 by Matteo Salvi 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | #ifndef Q_NATIVEEVENTFILTER_HOOK_C_H 12 | #define Q_NATIVEEVENTFILTER_HOOK_C_H 13 | 14 | #include "qnativeeventfilter_hook.h" 15 | #include "pascalbind.h" 16 | 17 | C_EXPORT Q_NativeEventFilter_hookH Q_NativeEventFilter_hook_Create(QCoreApplicationH handle); 18 | C_EXPORT void Q_NativeEventFilter_hook_Destroy(Q_NativeEventFilter_hookH handle); 19 | C_EXPORT void Q_NativeEventFilter_hook_installfilter(Q_NativeEventFilter_hookH handle, QHookH hook); 20 | C_EXPORT void Q_NativeEventFilter_hook_destroyed(Q_NativeEventFilter_hookH handle, QHookH hook); 21 | C_EXPORT void Q_NativeEventFilter_hook_removefilter(Q_NativeEventFilter_hookH handle); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qnetworkcookiejar_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QNETWORKCOOKIEJAR_C_H 13 | #define QNETWORKCOOKIEJAR_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QNetworkCookieJarH QNetworkCookieJar_Create(QObjectH parent); 19 | C_EXPORT void QNetworkCookieJar_Destroy(QNetworkCookieJarH handle); 20 | C_EXPORT bool QNetworkCookieJar_insertCookie(QNetworkCookieJarH handle, const QNetworkCookieH cookie); 21 | C_EXPORT bool QNetworkCookieJar_updateCookie(QNetworkCookieJarH handle, const QNetworkCookieH cookie); 22 | C_EXPORT bool QNetworkCookieJar_deleteCookie(QNetworkCookieJarH handle, const QNetworkCookieH cookie); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qnetworkreply_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QNETWORKREPLY_HOOK_C_H 13 | #define QNETWORKREPLY_HOOK_C_H 14 | 15 | #include "qnetworkreply_hook.h" 16 | 17 | C_EXPORT QNetworkReply_hookH QNetworkReply_hook_Create(QObjectH handle); 18 | C_EXPORT void QNetworkReply_hook_Destroy(QNetworkReply_hookH handle); 19 | C_EXPORT void QNetworkReply_hook_hook_metaDataChanged(QNetworkReply_hookH handle, QHookH hook); 20 | C_EXPORT void QNetworkReply_hook_hook_finished(QNetworkReply_hookH handle, QHookH hook); 21 | C_EXPORT void QNetworkReply_hook_hook_error(QNetworkReply_hookH handle, QHookH hook); 22 | C_EXPORT void QNetworkReply_hook_hook_encrypted(QNetworkReply_hookH handle, QHookH hook); 23 | C_EXPORT void QNetworkReply_hook_hook_uploadProgress(QNetworkReply_hookH handle, QHookH hook); 24 | C_EXPORT void QNetworkReply_hook_hook_downloadProgress(QNetworkReply_hookH handle, QHookH hook); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cbindings/src/qobject_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qobject_hook_c.h" 13 | 14 | QObject_hookH QObject_hook_Create(QObjectH handle) 15 | { 16 | return (QObject_hookH) new QObject_hook((QObject*)handle); 17 | } 18 | 19 | void QObject_hook_Destroy(QObject_hookH handle) 20 | { 21 | delete (QObject_hook *)handle; 22 | } 23 | 24 | void QObject_hook_hook_events(QObject_hookH handle, QHookH hook) 25 | { 26 | ((QObject_hook *)handle)->hook_events(hook); 27 | } 28 | 29 | void QObject_hook_hook_destroyed(QObject_hookH handle, QHookH hook) 30 | { 31 | ((QObject_hook *)handle)->hook_destroyed(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qobject_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QOBJECT_HOOK_C_H 13 | #define QOBJECT_HOOK_C_H 14 | 15 | #include "qobject_hook.h" 16 | 17 | C_EXPORT QObject_hookH QObject_hook_Create(QObjectH handle); 18 | C_EXPORT void QObject_hook_Destroy(QObject_hookH handle); 19 | C_EXPORT void QObject_hook_hook_events(QObject_hookH handle, QHookH hook); 20 | C_EXPORT void QObject_hook_hook_destroyed(QObject_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qpagedpaintdevice_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPAGEDPAINTDEVICE_C_H 13 | #define QPAGEDPAINTDEVICE_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT bool QPagedPaintDevice_newPage(QPagedPaintDeviceH handle); 19 | C_EXPORT void QPagedPaintDevice_setPageSize(QPagedPaintDeviceH handle, QPagedPaintDevice::PageSize size); 20 | C_EXPORT QPagedPaintDevice::PageSize QPagedPaintDevice_pageSize(QPagedPaintDeviceH handle); 21 | C_EXPORT void QPagedPaintDevice_setPageSizeMM(QPagedPaintDeviceH handle, const QSizeFH size); 22 | C_EXPORT void QPagedPaintDevice_pageSizeMM(QPagedPaintDeviceH handle, QSizeFH retval); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qpagesetupdialog_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPAGESETUPDIALOG_C_H 13 | #define QPAGESETUPDIALOG_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QPageSetupDialogH QPageSetupDialog_Create(QPrinterH printer, QWidgetH parent); 19 | C_EXPORT void QPageSetupDialog_Destroy(QPageSetupDialogH handle); 20 | C_EXPORT QPageSetupDialogH QPageSetupDialog_Create2(QWidgetH parent); 21 | C_EXPORT int QPageSetupDialog_exec(QPageSetupDialogH handle); 22 | C_EXPORT void QPageSetupDialog_open(QPageSetupDialogH handle, QObjectH receiver, const char* member); 23 | C_EXPORT void QPageSetupDialog_done(QPageSetupDialogH handle, int result); 24 | C_EXPORT QPrinterH QPageSetupDialog_printer(QPageSetupDialogH handle); 25 | #if defined MSWINDOWS || DARWIN 26 | C_EXPORT void QPageSetupDialog_setVisible(QPageSetupDialogH handle, bool visible); 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /cbindings/src/qpixmapcache_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2014-2022 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | #include "qpixmapcache_c.h" 12 | 13 | void QPixmapCache_Clear() 14 | { 15 | QPixmapCache::clear(); 16 | } 17 | -------------------------------------------------------------------------------- /cbindings/src/qpixmapcache_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2014-2022 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPIXMAP_C_H 13 | #define QPIXMAP_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT void QPixmapCache_Clear(); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qprintdialog_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qprintdialog_hook_c.h" 13 | 14 | QPrintDialog_hookH QPrintDialog_hook_Create(QObjectH handle) 15 | { 16 | return (QPrintDialog_hookH) new QPrintDialog_hook((QObject*)handle); 17 | } 18 | 19 | void QPrintDialog_hook_Destroy(QPrintDialog_hookH handle) 20 | { 21 | delete (QPrintDialog_hook *)handle; 22 | } 23 | 24 | void QPrintDialog_hook_hook_accepted(QPrintDialog_hookH handle, QHookH hook) 25 | { 26 | ((QPrintDialog_hook *)handle)->hook_accepted(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qprintdialog_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPRINTDIALOG_HOOK_C_H 13 | #define QPRINTDIALOG_HOOK_C_H 14 | 15 | #include "qprintdialog_hook.h" 16 | 17 | C_EXPORT QPrintDialog_hookH QPrintDialog_hook_Create(QObjectH handle); 18 | C_EXPORT void QPrintDialog_hook_Destroy(QPrintDialog_hookH handle); 19 | C_EXPORT void QPrintDialog_hook_hook_accepted(QPrintDialog_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qprintpreviewdialog_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPRINTPREVIEWDIALOG_C_H 13 | #define QPRINTPREVIEWDIALOG_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QPrintPreviewDialogH QPrintPreviewDialog_Create(QWidgetH parent, unsigned int flags); 19 | C_EXPORT void QPrintPreviewDialog_Destroy(QPrintPreviewDialogH handle); 20 | C_EXPORT QPrintPreviewDialogH QPrintPreviewDialog_Create2(QPrinterH printer, QWidgetH parent, unsigned int flags); 21 | C_EXPORT void QPrintPreviewDialog_open(QPrintPreviewDialogH handle, QObjectH receiver, const char* member); 22 | C_EXPORT QPrinterH QPrintPreviewDialog_printer(QPrintPreviewDialogH handle); 23 | C_EXPORT void QPrintPreviewDialog_setVisible(QPrintPreviewDialogH handle, bool visible); 24 | C_EXPORT void QPrintPreviewDialog_done(QPrintPreviewDialogH handle, int result); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cbindings/src/qprintpreviewdialog_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qprintpreviewdialog_hook_c.h" 13 | 14 | QPrintPreviewDialog_hookH QPrintPreviewDialog_hook_Create(QObjectH handle) 15 | { 16 | return (QPrintPreviewDialog_hookH) new QPrintPreviewDialog_hook((QObject*)handle); 17 | } 18 | 19 | void QPrintPreviewDialog_hook_Destroy(QPrintPreviewDialog_hookH handle) 20 | { 21 | delete (QPrintPreviewDialog_hook *)handle; 22 | } 23 | 24 | void QPrintPreviewDialog_hook_hook_paintRequested(QPrintPreviewDialog_hookH handle, QHookH hook) 25 | { 26 | ((QPrintPreviewDialog_hook *)handle)->hook_paintRequested(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qprintpreviewdialog_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPRINTPREVIEWDIALOG_HOOK_C_H 13 | #define QPRINTPREVIEWDIALOG_HOOK_C_H 14 | 15 | #include "qprintpreviewdialog_hook.h" 16 | 17 | C_EXPORT QPrintPreviewDialog_hookH QPrintPreviewDialog_hook_Create(QObjectH handle); 18 | C_EXPORT void QPrintPreviewDialog_hook_Destroy(QPrintPreviewDialog_hookH handle); 19 | C_EXPORT void QPrintPreviewDialog_hook_hook_paintRequested(QPrintPreviewDialog_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qprintpreviewwidget_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qprintpreviewwidget_hook_c.h" 13 | 14 | QPrintPreviewWidget_hookH QPrintPreviewWidget_hook_Create(QObjectH handle) 15 | { 16 | return (QPrintPreviewWidget_hookH) new QPrintPreviewWidget_hook((QObject*)handle); 17 | } 18 | 19 | void QPrintPreviewWidget_hook_Destroy(QPrintPreviewWidget_hookH handle) 20 | { 21 | delete (QPrintPreviewWidget_hook *)handle; 22 | } 23 | 24 | void QPrintPreviewWidget_hook_hook_paintRequested(QPrintPreviewWidget_hookH handle, QHookH hook) 25 | { 26 | ((QPrintPreviewWidget_hook *)handle)->hook_paintRequested(hook); 27 | } 28 | 29 | void QPrintPreviewWidget_hook_hook_previewChanged(QPrintPreviewWidget_hookH handle, QHookH hook) 30 | { 31 | ((QPrintPreviewWidget_hook *)handle)->hook_previewChanged(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qprintpreviewwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPRINTPREVIEWWIDGET_HOOK_C_H 13 | #define QPRINTPREVIEWWIDGET_HOOK_C_H 14 | 15 | #include "qprintpreviewwidget_hook.h" 16 | 17 | C_EXPORT QPrintPreviewWidget_hookH QPrintPreviewWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QPrintPreviewWidget_hook_Destroy(QPrintPreviewWidget_hookH handle); 19 | C_EXPORT void QPrintPreviewWidget_hook_hook_paintRequested(QPrintPreviewWidget_hookH handle, QHookH hook); 20 | C_EXPORT void QPrintPreviewWidget_hook_hook_previewChanged(QPrintPreviewWidget_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qprogressbar_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qprogressbar_hook_c.h" 13 | 14 | QProgressBar_hookH QProgressBar_hook_Create(QObjectH handle) 15 | { 16 | return (QProgressBar_hookH) new QProgressBar_hook((QObject*)handle); 17 | } 18 | 19 | void QProgressBar_hook_Destroy(QProgressBar_hookH handle) 20 | { 21 | delete (QProgressBar_hook *)handle; 22 | } 23 | 24 | void QProgressBar_hook_hook_valueChanged(QProgressBar_hookH handle, QHookH hook) 25 | { 26 | ((QProgressBar_hook *)handle)->hook_valueChanged(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qprogressbar_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPROGRESSBAR_HOOK_C_H 13 | #define QPROGRESSBAR_HOOK_C_H 14 | 15 | #include "qprogressbar_hook.h" 16 | 17 | C_EXPORT QProgressBar_hookH QProgressBar_hook_Create(QObjectH handle); 18 | C_EXPORT void QProgressBar_hook_Destroy(QProgressBar_hookH handle); 19 | C_EXPORT void QProgressBar_hook_hook_valueChanged(QProgressBar_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qprogressdialog_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qprogressdialog_hook_c.h" 13 | 14 | QProgressDialog_hookH QProgressDialog_hook_Create(QObjectH handle) 15 | { 16 | return (QProgressDialog_hookH) new QProgressDialog_hook((QObject*)handle); 17 | } 18 | 19 | void QProgressDialog_hook_Destroy(QProgressDialog_hookH handle) 20 | { 21 | delete (QProgressDialog_hook *)handle; 22 | } 23 | 24 | void QProgressDialog_hook_hook_canceled(QProgressDialog_hookH handle, QHookH hook) 25 | { 26 | ((QProgressDialog_hook *)handle)->hook_canceled(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qprogressdialog_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPROGRESSDIALOG_HOOK_C_H 13 | #define QPROGRESSDIALOG_HOOK_C_H 14 | 15 | #include "qprogressdialog_hook.h" 16 | 17 | C_EXPORT QProgressDialog_hookH QProgressDialog_hook_Create(QObjectH handle); 18 | C_EXPORT void QProgressDialog_hook_Destroy(QProgressDialog_hookH handle); 19 | C_EXPORT void QProgressDialog_hook_hook_canceled(QProgressDialog_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qpushbutton_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPUSHBUTTON_HOOK_H 13 | #define QPUSHBUTTON_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractbutton_hook.h" 18 | 19 | class QPushButton_hook : public QAbstractButton_hook { 20 | Q_OBJECT 21 | public: 22 | QPushButton_hook(QObject *handle) : QAbstractButton_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qpushbutton_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qpushbutton_hook_c.h" 13 | 14 | QPushButton_hookH QPushButton_hook_Create(QObjectH handle) 15 | { 16 | return (QPushButton_hookH) new QPushButton_hook((QObject*)handle); 17 | } 18 | 19 | void QPushButton_hook_Destroy(QPushButton_hookH handle) 20 | { 21 | delete (QPushButton_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qpushbutton_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QPUSHBUTTON_HOOK_C_H 13 | #define QPUSHBUTTON_HOOK_C_H 14 | 15 | #include "qpushbutton_hook.h" 16 | 17 | C_EXPORT QPushButton_hookH QPushButton_hook_Create(QObjectH handle); 18 | C_EXPORT void QPushButton_hook_Destroy(QPushButton_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qradiobutton_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qradiobutton_c.h" 13 | 14 | QRadioButtonH QRadioButton_Create(QWidgetH parent) 15 | { 16 | return (QRadioButtonH) new QRadioButton((QWidget*)parent); 17 | } 18 | 19 | void QRadioButton_Destroy(QRadioButtonH handle) 20 | { 21 | delete (QRadioButton *)handle; 22 | } 23 | 24 | QRadioButtonH QRadioButton_Create2(PWideString text, QWidgetH parent) 25 | { 26 | QString t_text; 27 | copyPWideStringToQString(text, t_text); 28 | return (QRadioButtonH) new QRadioButton(t_text, (QWidget*)parent); 29 | } 30 | 31 | void QRadioButton_sizeHint(QRadioButtonH handle, PSize retval) 32 | { 33 | *(QSize *)retval = ((QRadioButton *)handle)->sizeHint(); 34 | } 35 | 36 | void QRadioButton_minimumSizeHint(QRadioButtonH handle, PSize retval) 37 | { 38 | *(QSize *)retval = ((QRadioButton *)handle)->minimumSizeHint(); 39 | } 40 | 41 | -------------------------------------------------------------------------------- /cbindings/src/qradiobutton_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QRADIOBUTTON_C_H 13 | #define QRADIOBUTTON_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QRadioButtonH QRadioButton_Create(QWidgetH parent); 19 | C_EXPORT void QRadioButton_Destroy(QRadioButtonH handle); 20 | C_EXPORT QRadioButtonH QRadioButton_Create2(PWideString text, QWidgetH parent); 21 | C_EXPORT void QRadioButton_sizeHint(QRadioButtonH handle, PSize retval); 22 | C_EXPORT void QRadioButton_minimumSizeHint(QRadioButtonH handle, PSize retval); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qrubberband_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QRUBBERBAND_C_H 13 | #define QRUBBERBAND_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QRubberBandH QRubberBand_Create(QRubberBand::Shape AnonParam1, QWidgetH AnonParam2); 19 | C_EXPORT void QRubberBand_Destroy(QRubberBandH handle); 20 | C_EXPORT QRubberBand::Shape QRubberBand_shape(QRubberBandH handle); 21 | C_EXPORT void QRubberBand_setGeometry(QRubberBandH handle, PRect r); 22 | C_EXPORT void QRubberBand_setGeometry2(QRubberBandH handle, int x, int y, int w, int h); 23 | C_EXPORT void QRubberBand_move(QRubberBandH handle, int x, int y); 24 | C_EXPORT void QRubberBand_move2(QRubberBandH handle, const QPointH p); 25 | C_EXPORT void QRubberBand_resize(QRubberBandH handle, int w, int h); 26 | C_EXPORT void QRubberBand_resize2(QRubberBandH handle, const QSizeH s); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /cbindings/src/qscrollbar_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qscrollbar_c.h" 13 | 14 | QScrollBarH QScrollBar_Create(QWidgetH parent) 15 | { 16 | return (QScrollBarH) new QScrollBar((QWidget*)parent); 17 | } 18 | 19 | void QScrollBar_Destroy(QScrollBarH handle) 20 | { 21 | delete (QScrollBar *)handle; 22 | } 23 | 24 | QScrollBarH QScrollBar_Create2(Qt::Orientation AnonParam1, QWidgetH parent) 25 | { 26 | return (QScrollBarH) new QScrollBar(AnonParam1, (QWidget*)parent); 27 | } 28 | 29 | void QScrollBar_sizeHint(QScrollBarH handle, PSize retval) 30 | { 31 | *(QSize *)retval = ((QScrollBar *)handle)->sizeHint(); 32 | } 33 | 34 | bool QScrollBar_event(QScrollBarH handle, QEventH event) 35 | { 36 | return (bool) ((QScrollBar *)handle)->event((QEvent*)event); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qscrollbar_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSCROLLBAR_C_H 13 | #define QSCROLLBAR_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QScrollBarH QScrollBar_Create(QWidgetH parent); 19 | C_EXPORT void QScrollBar_Destroy(QScrollBarH handle); 20 | C_EXPORT QScrollBarH QScrollBar_Create2(Qt::Orientation AnonParam1, QWidgetH parent); 21 | C_EXPORT void QScrollBar_sizeHint(QScrollBarH handle, PSize retval); 22 | C_EXPORT bool QScrollBar_event(QScrollBarH handle, QEventH event); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cbindings/src/qscrollbar_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSCROLLBAR_HOOK_H 13 | #define QSCROLLBAR_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractslider_hook.h" 18 | 19 | class QScrollBar_hook : public QAbstractSlider_hook { 20 | Q_OBJECT 21 | public: 22 | QScrollBar_hook(QObject *handle) : QAbstractSlider_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qscrollbar_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qscrollbar_hook_c.h" 13 | 14 | QScrollBar_hookH QScrollBar_hook_Create(QObjectH handle) 15 | { 16 | return (QScrollBar_hookH) new QScrollBar_hook((QObject*)handle); 17 | } 18 | 19 | void QScrollBar_hook_Destroy(QScrollBar_hookH handle) 20 | { 21 | delete (QScrollBar_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qscrollbar_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSCROLLBAR_HOOK_C_H 13 | #define QSCROLLBAR_HOOK_C_H 14 | 15 | #include "qscrollbar_hook.h" 16 | 17 | C_EXPORT QScrollBar_hookH QScrollBar_hook_Create(QObjectH handle); 18 | C_EXPORT void QScrollBar_hook_Destroy(QScrollBar_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qshortcut_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qshortcut_hook_c.h" 13 | 14 | QShortcut_hookH QShortcut_hook_Create(QObjectH handle) 15 | { 16 | return (QShortcut_hookH) new QShortcut_hook((QObject*)handle); 17 | } 18 | 19 | void QShortcut_hook_Destroy(QShortcut_hookH handle) 20 | { 21 | delete (QShortcut_hook *)handle; 22 | } 23 | 24 | void QShortcut_hook_hook_activated(QShortcut_hookH handle, QHookH hook) 25 | { 26 | ((QShortcut_hook *)handle)->hook_activated(hook); 27 | } 28 | 29 | void QShortcut_hook_hook_activatedAmbiguously(QShortcut_hookH handle, QHookH hook) 30 | { 31 | ((QShortcut_hook *)handle)->hook_activatedAmbiguously(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qshortcut_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSHORTCUT_HOOK_C_H 13 | #define QSHORTCUT_HOOK_C_H 14 | 15 | #include "qshortcut_hook.h" 16 | 17 | C_EXPORT QShortcut_hookH QShortcut_hook_Create(QObjectH handle); 18 | C_EXPORT void QShortcut_hook_Destroy(QShortcut_hookH handle); 19 | C_EXPORT void QShortcut_hook_hook_activated(QShortcut_hookH handle, QHookH hook); 20 | C_EXPORT void QShortcut_hook_hook_activatedAmbiguously(QShortcut_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qsizegrip_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qsizegrip_c.h" 13 | 14 | QSizeGripH QSizeGrip_Create(QWidgetH parent) 15 | { 16 | return (QSizeGripH) new QSizeGrip((QWidget*)parent); 17 | } 18 | 19 | void QSizeGrip_Destroy(QSizeGripH handle) 20 | { 21 | delete (QSizeGrip *)handle; 22 | } 23 | 24 | void QSizeGrip_sizeHint(QSizeGripH handle, PSize retval) 25 | { 26 | *(QSize *)retval = ((QSizeGrip *)handle)->sizeHint(); 27 | } 28 | 29 | void QSizeGrip_setVisible(QSizeGripH handle, bool AnonParam1) 30 | { 31 | ((QSizeGrip *)handle)->setVisible(AnonParam1); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qsizegrip_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSIZEGRIP_C_H 13 | #define QSIZEGRIP_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QSizeGripH QSizeGrip_Create(QWidgetH parent); 19 | C_EXPORT void QSizeGrip_Destroy(QSizeGripH handle); 20 | C_EXPORT void QSizeGrip_sizeHint(QSizeGripH handle, PSize retval); 21 | C_EXPORT void QSizeGrip_setVisible(QSizeGripH handle, bool AnonParam1); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qslider_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSLIDER_C_H 13 | #define QSLIDER_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QSliderH QSlider_Create(QWidgetH parent); 19 | C_EXPORT void QSlider_Destroy(QSliderH handle); 20 | C_EXPORT QSliderH QSlider_Create2(Qt::Orientation orientation, QWidgetH parent); 21 | C_EXPORT void QSlider_sizeHint(QSliderH handle, PSize retval); 22 | C_EXPORT void QSlider_minimumSizeHint(QSliderH handle, PSize retval); 23 | C_EXPORT void QSlider_setTickPosition(QSliderH handle, QSlider::TickPosition position); 24 | C_EXPORT QSlider::TickPosition QSlider_tickPosition(QSliderH handle); 25 | C_EXPORT void QSlider_setTickInterval(QSliderH handle, int ti); 26 | C_EXPORT int QSlider_tickInterval(QSliderH handle); 27 | C_EXPORT bool QSlider_event(QSliderH handle, QEventH event); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /cbindings/src/qslider_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSLIDER_HOOK_H 13 | #define QSLIDER_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractslider_hook.h" 18 | 19 | class QSlider_hook : public QAbstractSlider_hook { 20 | Q_OBJECT 21 | public: 22 | QSlider_hook(QObject *handle) : QAbstractSlider_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qslider_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qslider_hook_c.h" 13 | 14 | QSlider_hookH QSlider_hook_Create(QObjectH handle) 15 | { 16 | return (QSlider_hookH) new QSlider_hook((QObject*)handle); 17 | } 18 | 19 | void QSlider_hook_Destroy(QSlider_hookH handle) 20 | { 21 | delete (QSlider_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qslider_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSLIDER_HOOK_C_H 13 | #define QSLIDER_HOOK_C_H 14 | 15 | #include "qslider_hook.h" 16 | 17 | C_EXPORT QSlider_hookH QSlider_hook_Create(QObjectH handle); 18 | C_EXPORT void QSlider_hook_Destroy(QSlider_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qsocketnotifier_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSOCKETNOTIFIER_C_H 13 | #define QSOCKETNOTIFIER_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QSocketNotifierH QSocketNotifier_Create(qintptr socket, QSocketNotifier::Type AnonParam2, QObjectH parent); 19 | C_EXPORT void QSocketNotifier_Destroy(QSocketNotifierH handle); 20 | C_EXPORT qintptr QSocketNotifier_socket(QSocketNotifierH handle); 21 | C_EXPORT QSocketNotifier::Type QSocketNotifier_type(QSocketNotifierH handle); 22 | C_EXPORT bool QSocketNotifier_isEnabled(QSocketNotifierH handle); 23 | C_EXPORT void QSocketNotifier_setEnabled(QSocketNotifierH handle, bool AnonParam1); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qsocketnotifier_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qsocketnotifier_hook_c.h" 13 | 14 | QSocketNotifier_hookH QSocketNotifier_hook_Create(QObjectH handle) 15 | { 16 | return (QSocketNotifier_hookH) new QSocketNotifier_hook((QObject*)handle); 17 | } 18 | 19 | void QSocketNotifier_hook_Destroy(QSocketNotifier_hookH handle) 20 | { 21 | delete (QSocketNotifier_hook *)handle; 22 | } 23 | 24 | void QSocketNotifier_hook_hook_activated(QSocketNotifier_hookH handle, QHookH hook) 25 | { 26 | ((QSocketNotifier_hook *)handle)->hook_activated(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qsocketnotifier_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSOCKETNOTIFIER_HOOK_C_H 13 | #define QSOCKETNOTIFIER_HOOK_C_H 14 | 15 | #include "qsocketnotifier_hook.h" 16 | 17 | C_EXPORT QSocketNotifier_hookH QSocketNotifier_hook_Create(QObjectH handle); 18 | C_EXPORT void QSocketNotifier_hook_Destroy(QSocketNotifier_hookH handle); 19 | C_EXPORT void QSocketNotifier_hook_hook_activated(QSocketNotifier_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qspinbox_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSPINBOX_HOOK_C_H 13 | #define QSPINBOX_HOOK_C_H 14 | 15 | #include "qspinbox_hook.h" 16 | 17 | C_EXPORT QSpinBox_hookH QSpinBox_hook_Create(QObjectH handle); 18 | C_EXPORT void QSpinBox_hook_Destroy(QSpinBox_hookH handle); 19 | C_EXPORT void QSpinBox_hook_hook_valueChanged(QSpinBox_hookH handle, QHookH hook); 20 | C_EXPORT void QSpinBox_hook_hook_valueChanged2(QSpinBox_hookH handle, QHookH hook); 21 | C_EXPORT QDoubleSpinBox_hookH QDoubleSpinBox_hook_Create(QObjectH handle); 22 | C_EXPORT void QDoubleSpinBox_hook_Destroy(QDoubleSpinBox_hookH handle); 23 | C_EXPORT void QDoubleSpinBox_hook_hook_valueChanged(QDoubleSpinBox_hookH handle, QHookH hook); 24 | C_EXPORT void QDoubleSpinBox_hook_hook_valueChanged2(QDoubleSpinBox_hookH handle, QHookH hook); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cbindings/src/qsplitter_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qsplitter_hook_c.h" 13 | 14 | QSplitter_hookH QSplitter_hook_Create(QObjectH handle) 15 | { 16 | return (QSplitter_hookH) new QSplitter_hook((QObject*)handle); 17 | } 18 | 19 | void QSplitter_hook_Destroy(QSplitter_hookH handle) 20 | { 21 | delete (QSplitter_hook *)handle; 22 | } 23 | 24 | void QSplitter_hook_hook_splitterMoved(QSplitter_hookH handle, QHookH hook) 25 | { 26 | ((QSplitter_hook *)handle)->hook_splitterMoved(hook); 27 | } 28 | 29 | QSplitterHandle_hookH QSplitterHandle_hook_Create(QObjectH handle) 30 | { 31 | return (QSplitterHandle_hookH) new QSplitterHandle_hook((QObject*)handle); 32 | } 33 | 34 | void QSplitterHandle_hook_Destroy(QSplitterHandle_hookH handle) 35 | { 36 | delete (QSplitterHandle_hook *)handle; 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qsplitter_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSPLITTER_HOOK_C_H 13 | #define QSPLITTER_HOOK_C_H 14 | 15 | #include "qsplitter_hook.h" 16 | 17 | C_EXPORT QSplitter_hookH QSplitter_hook_Create(QObjectH handle); 18 | C_EXPORT void QSplitter_hook_Destroy(QSplitter_hookH handle); 19 | C_EXPORT void QSplitter_hook_hook_splitterMoved(QSplitter_hookH handle, QHookH hook); 20 | C_EXPORT QSplitterHandle_hookH QSplitterHandle_hook_Create(QObjectH handle); 21 | C_EXPORT void QSplitterHandle_hook_Destroy(QSplitterHandle_hookH handle); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qsslerror_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSSLERROR_C_H 13 | #define QSSLERROR_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QSslErrorH QSslError_Create(); 19 | C_EXPORT void QSslError_Destroy(QSslErrorH handle); 20 | C_EXPORT QSslErrorH QSslError_Create2(QSslError::SslError error); 21 | C_EXPORT QSslErrorH QSslError_Create3(QSslError::SslError error, const QSslCertificateH certificate); 22 | C_EXPORT QSslErrorH QSslError_Create4(const QSslErrorH other); 23 | C_EXPORT void QSslError_swap(QSslErrorH handle, QSslErrorH other); 24 | C_EXPORT QSslError::SslError QSslError_error(QSslErrorH handle); 25 | C_EXPORT void QSslError_errorString(QSslErrorH handle, PWideString retval); 26 | C_EXPORT void QSslError_certificate(QSslErrorH handle, QSslCertificateH retval); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /cbindings/src/qstackedlayout_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qstackedlayout_hook_c.h" 13 | 14 | QStackedLayout_hookH QStackedLayout_hook_Create(QObjectH handle) 15 | { 16 | return (QStackedLayout_hookH) new QStackedLayout_hook((QObject*)handle); 17 | } 18 | 19 | void QStackedLayout_hook_Destroy(QStackedLayout_hookH handle) 20 | { 21 | delete (QStackedLayout_hook *)handle; 22 | } 23 | 24 | void QStackedLayout_hook_hook_widgetRemoved(QStackedLayout_hookH handle, QHookH hook) 25 | { 26 | ((QStackedLayout_hook *)handle)->hook_widgetRemoved(hook); 27 | } 28 | 29 | void QStackedLayout_hook_hook_currentChanged(QStackedLayout_hookH handle, QHookH hook) 30 | { 31 | ((QStackedLayout_hook *)handle)->hook_currentChanged(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qstackedlayout_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSTACKEDLAYOUT_HOOK_C_H 13 | #define QSTACKEDLAYOUT_HOOK_C_H 14 | 15 | #include "qstackedlayout_hook.h" 16 | 17 | C_EXPORT QStackedLayout_hookH QStackedLayout_hook_Create(QObjectH handle); 18 | C_EXPORT void QStackedLayout_hook_Destroy(QStackedLayout_hookH handle); 19 | C_EXPORT void QStackedLayout_hook_hook_widgetRemoved(QStackedLayout_hookH handle, QHookH hook); 20 | C_EXPORT void QStackedLayout_hook_hook_currentChanged(QStackedLayout_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qstackedwidget_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qstackedwidget_hook_c.h" 13 | 14 | QStackedWidget_hookH QStackedWidget_hook_Create(QObjectH handle) 15 | { 16 | return (QStackedWidget_hookH) new QStackedWidget_hook((QObject*)handle); 17 | } 18 | 19 | void QStackedWidget_hook_Destroy(QStackedWidget_hookH handle) 20 | { 21 | delete (QStackedWidget_hook *)handle; 22 | } 23 | 24 | void QStackedWidget_hook_hook_currentChanged(QStackedWidget_hookH handle, QHookH hook) 25 | { 26 | ((QStackedWidget_hook *)handle)->hook_currentChanged(hook); 27 | } 28 | 29 | void QStackedWidget_hook_hook_widgetRemoved(QStackedWidget_hookH handle, QHookH hook) 30 | { 31 | ((QStackedWidget_hook *)handle)->hook_widgetRemoved(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qstackedwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSTACKEDWIDGET_HOOK_C_H 13 | #define QSTACKEDWIDGET_HOOK_C_H 14 | 15 | #include "qstackedwidget_hook.h" 16 | 17 | C_EXPORT QStackedWidget_hookH QStackedWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QStackedWidget_hook_Destroy(QStackedWidget_hookH handle); 19 | C_EXPORT void QStackedWidget_hook_hook_currentChanged(QStackedWidget_hookH handle, QHookH hook); 20 | C_EXPORT void QStackedWidget_hook_hook_widgetRemoved(QStackedWidget_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qstandarditemmodel_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qstandarditemmodel_hook_c.h" 13 | 14 | QStandardItem_hookH QStandardItem_hook_Create(QObjectH handle) 15 | { 16 | return (QStandardItem_hookH) new QStandardItem_hook((QObject*)handle); 17 | } 18 | 19 | void QStandardItem_hook_Destroy(QStandardItem_hookH handle) 20 | { 21 | delete (QStandardItem_hook *)handle; 22 | } 23 | 24 | QStandardItemModel_hookH QStandardItemModel_hook_Create(QObjectH handle) 25 | { 26 | return (QStandardItemModel_hookH) new QStandardItemModel_hook((QObject*)handle); 27 | } 28 | 29 | void QStandardItemModel_hook_Destroy(QStandardItemModel_hookH handle) 30 | { 31 | delete (QStandardItemModel_hook *)handle; 32 | } 33 | 34 | void QStandardItemModel_hook_hook_itemChanged(QStandardItemModel_hookH handle, QHookH hook) 35 | { 36 | ((QStandardItemModel_hook *)handle)->hook_itemChanged(hook); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qstandarditemmodel_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSTANDARDITEMMODEL_HOOK_C_H 13 | #define QSTANDARDITEMMODEL_HOOK_C_H 14 | 15 | #include "qstandarditemmodel_hook.h" 16 | 17 | C_EXPORT QStandardItem_hookH QStandardItem_hook_Create(QObjectH handle); 18 | C_EXPORT void QStandardItem_hook_Destroy(QStandardItem_hookH handle); 19 | C_EXPORT QStandardItemModel_hookH QStandardItemModel_hook_Create(QObjectH handle); 20 | C_EXPORT void QStandardItemModel_hook_Destroy(QStandardItemModel_hookH handle); 21 | C_EXPORT void QStandardItemModel_hook_hook_itemChanged(QStandardItemModel_hookH handle, QHookH hook); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qstatusbar_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qstatusbar_hook_c.h" 13 | 14 | QStatusBar_hookH QStatusBar_hook_Create(QObjectH handle) 15 | { 16 | return (QStatusBar_hookH) new QStatusBar_hook((QObject*)handle); 17 | } 18 | 19 | void QStatusBar_hook_Destroy(QStatusBar_hookH handle) 20 | { 21 | delete (QStatusBar_hook *)handle; 22 | } 23 | 24 | void QStatusBar_hook_hook_messageChanged(QStatusBar_hookH handle, QHookH hook) 25 | { 26 | ((QStatusBar_hook *)handle)->hook_messageChanged(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qstatusbar_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSTATUSBAR_HOOK_C_H 13 | #define QSTATUSBAR_HOOK_C_H 14 | 15 | #include "qstatusbar_hook.h" 16 | 17 | C_EXPORT QStatusBar_hookH QStatusBar_hook_Create(QObjectH handle); 18 | C_EXPORT void QStatusBar_hook_Destroy(QStatusBar_hookH handle); 19 | C_EXPORT void QStatusBar_hook_hook_messageChanged(QStatusBar_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qstylefactory_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qstylefactory_c.h" 13 | 14 | void QStyleFactory_keys(QStringListH retval) 15 | { 16 | *(QStringList *)retval = QStyleFactory::keys(); 17 | } 18 | 19 | QStyleH QStyleFactory_create(PWideString AnonParam1) 20 | { 21 | QString t_AnonParam1; 22 | copyPWideStringToQString(AnonParam1, t_AnonParam1); 23 | return (QStyleH) QStyleFactory::create(t_AnonParam1); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /cbindings/src/qstylefactory_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSTYLEFACTORY_C_H 13 | #define QSTYLEFACTORY_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT void QStyleFactory_keys(QStringListH retval); 19 | C_EXPORT QStyleH QStyleFactory_create(PWideString AnonParam1); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qsurface_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2017 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qsurface_c.h" 13 | 14 | void QSurface_Destroy(QSurfaceH handle) 15 | { 16 | delete (QSurface *)handle; 17 | } 18 | 19 | void QSurface_size(QSurfaceH handle, PSize retval) 20 | { 21 | *(QSize *)retval = ((QSurface *)handle)->size(); 22 | } 23 | 24 | 25 | bool QSurface_supportsOpenGL(QSurfaceH handle) 26 | { 27 | return (bool) ((QSurface *)handle)->supportsOpenGL(); 28 | } 29 | 30 | QSurface::SurfaceClass QSurface_surfaceClass(QSurfaceH handle) 31 | { 32 | return (QSurface::SurfaceClass) ((QSurface *)handle)->surfaceClass(); 33 | } 34 | 35 | QSurface::SurfaceType QSurface_surfaceType(QSurfaceH handle) 36 | { 37 | return (QSurface::SurfaceType) ((QSurface *)handle)->surfaceType(); 38 | } 39 | 40 | 41 | void QSurface_format(QSurfaceH handle, QSurfaceFormatH areturn) 42 | { 43 | *(QSurfaceFormat *)areturn = ((QSurface *)handle)->format(); 44 | } 45 | 46 | -------------------------------------------------------------------------------- /cbindings/src/qsurface_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2007 by Željan Rikalo 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSURFACE_C_H 13 | #define QSURFACE_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT void QSurface_Destroy(QSurfaceH handle); 19 | C_EXPORT void QSurface_size(QSurfaceH handle, PSize retval); 20 | C_EXPORT bool QSurface_supportsOpenGL(QSurfaceH handle); 21 | C_EXPORT QSurface::SurfaceClass QSurface_surfaceClass(QSurfaceH handle); 22 | C_EXPORT QSurface::SurfaceType QSurface_surfaceType(QSurfaceH handle); 23 | C_EXPORT void QSurface_format(QSurfaceH handle, QSurfaceFormatH areturn); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qsystemtrayicon_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qsystemtrayicon_hook_c.h" 13 | 14 | QSystemTrayIcon_hookH QSystemTrayIcon_hook_Create(QObjectH handle) 15 | { 16 | return (QSystemTrayIcon_hookH) new QSystemTrayIcon_hook((QObject*)handle); 17 | } 18 | 19 | void QSystemTrayIcon_hook_Destroy(QSystemTrayIcon_hookH handle) 20 | { 21 | delete (QSystemTrayIcon_hook *)handle; 22 | } 23 | 24 | void QSystemTrayIcon_hook_hook_activated(QSystemTrayIcon_hookH handle, QHookH hook) 25 | { 26 | ((QSystemTrayIcon_hook *)handle)->hook_activated(hook); 27 | } 28 | 29 | void QSystemTrayIcon_hook_hook_messageClicked(QSystemTrayIcon_hookH handle, QHookH hook) 30 | { 31 | ((QSystemTrayIcon_hook *)handle)->hook_messageClicked(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qsystemtrayicon_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QSYSTEMTRAYICON_HOOK_C_H 13 | #define QSYSTEMTRAYICON_HOOK_C_H 14 | 15 | #include "qsystemtrayicon_hook.h" 16 | 17 | C_EXPORT QSystemTrayIcon_hookH QSystemTrayIcon_hook_Create(QObjectH handle); 18 | C_EXPORT void QSystemTrayIcon_hook_Destroy(QSystemTrayIcon_hookH handle); 19 | C_EXPORT void QSystemTrayIcon_hook_hook_activated(QSystemTrayIcon_hookH handle, QHookH hook); 20 | C_EXPORT void QSystemTrayIcon_hook_hook_messageClicked(QSystemTrayIcon_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qtabbar_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtabbar_hook_c.h" 13 | 14 | QTabBar_hookH QTabBar_hook_Create(QObjectH handle) 15 | { 16 | return (QTabBar_hookH) new QTabBar_hook((QObject*)handle); 17 | } 18 | 19 | void QTabBar_hook_Destroy(QTabBar_hookH handle) 20 | { 21 | delete (QTabBar_hook *)handle; 22 | } 23 | 24 | void QTabBar_hook_hook_currentChanged(QTabBar_hookH handle, QHookH hook) 25 | { 26 | ((QTabBar_hook *)handle)->hook_currentChanged(hook); 27 | } 28 | 29 | void QTabBar_hook_hook_tabCloseRequested(QTabBar_hookH handle, QHookH hook) 30 | { 31 | ((QTabBar_hook *)handle)->hook_tabCloseRequested(hook); 32 | } 33 | 34 | void QTabBar_hook_hook_tabMoved(QTabBar_hookH handle, QHookH hook) 35 | { 36 | ((QTabBar_hook *)handle)->hook_tabMoved(hook); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cbindings/src/qtabbar_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTABBAR_HOOK_C_H 13 | #define QTABBAR_HOOK_C_H 14 | 15 | #include "qtabbar_hook.h" 16 | 17 | C_EXPORT QTabBar_hookH QTabBar_hook_Create(QObjectH handle); 18 | C_EXPORT void QTabBar_hook_Destroy(QTabBar_hookH handle); 19 | C_EXPORT void QTabBar_hook_hook_currentChanged(QTabBar_hookH handle, QHookH hook); 20 | C_EXPORT void QTabBar_hook_hook_tabCloseRequested(QTabBar_hookH handle, QHookH hook); 21 | C_EXPORT void QTabBar_hook_hook_tabMoved(QTabBar_hookH handle, QHookH hook); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qtableview_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTABLEVIEW_HOOK_H 13 | #define QTABLEVIEW_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractitemview_hook.h" 18 | 19 | class QTableView_hook : public QAbstractItemView_hook { 20 | Q_OBJECT 21 | public: 22 | QTableView_hook(QObject *handle) : QAbstractItemView_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qtableview_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtableview_hook_c.h" 13 | 14 | QTableView_hookH QTableView_hook_Create(QObjectH handle) 15 | { 16 | return (QTableView_hookH) new QTableView_hook((QObject*)handle); 17 | } 18 | 19 | void QTableView_hook_Destroy(QTableView_hookH handle) 20 | { 21 | delete (QTableView_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qtableview_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTABLEVIEW_HOOK_C_H 13 | #define QTABLEVIEW_HOOK_C_H 14 | 15 | #include "qtableview_hook.h" 16 | 17 | C_EXPORT QTableView_hookH QTableView_hook_Create(QObjectH handle); 18 | C_EXPORT void QTableView_hook_Destroy(QTableView_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qtabwidget_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtabwidget_hook_c.h" 13 | 14 | QTabWidget_hookH QTabWidget_hook_Create(QObjectH handle) 15 | { 16 | return (QTabWidget_hookH) new QTabWidget_hook((QObject*)handle); 17 | } 18 | 19 | void QTabWidget_hook_Destroy(QTabWidget_hookH handle) 20 | { 21 | delete (QTabWidget_hook *)handle; 22 | } 23 | 24 | void QTabWidget_hook_hook_currentChanged(QTabWidget_hookH handle, QHookH hook) 25 | { 26 | ((QTabWidget_hook *)handle)->hook_currentChanged(hook); 27 | } 28 | 29 | void QTabWidget_hook_hook_tabCloseRequested(QTabWidget_hookH handle, QHookH hook) 30 | { 31 | ((QTabWidget_hook *)handle)->hook_tabCloseRequested(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qtabwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTABWIDGET_HOOK_C_H 13 | #define QTABWIDGET_HOOK_C_H 14 | 15 | #include "qtabwidget_hook.h" 16 | 17 | C_EXPORT QTabWidget_hookH QTabWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QTabWidget_hook_Destroy(QTabWidget_hookH handle); 19 | C_EXPORT void QTabWidget_hook_hook_currentChanged(QTabWidget_hookH handle, QHookH hook); 20 | C_EXPORT void QTabWidget_hook_hook_tabCloseRequested(QTabWidget_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qtcpserver_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtcpserver_hook_c.h" 13 | 14 | QTcpServer_hookH QTcpServer_hook_Create(QObjectH handle) 15 | { 16 | return (QTcpServer_hookH) new QTcpServer_hook((QObject*)handle); 17 | } 18 | 19 | void QTcpServer_hook_Destroy(QTcpServer_hookH handle) 20 | { 21 | delete (QTcpServer_hook *)handle; 22 | } 23 | 24 | void QTcpServer_hook_hook_newConnection(QTcpServer_hookH handle, QHookH hook) 25 | { 26 | ((QTcpServer_hook *)handle)->hook_newConnection(hook); 27 | } 28 | 29 | void QTcpServer_hook_hook_acceptError(QTcpServer_hookH handle, QHookH hook) 30 | { 31 | ((QTcpServer_hook *)handle)->hook_acceptError(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qtcpserver_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTCPSERVER_HOOK_C_H 13 | #define QTCPSERVER_HOOK_C_H 14 | 15 | #include "qtcpserver_hook.h" 16 | 17 | C_EXPORT QTcpServer_hookH QTcpServer_hook_Create(QObjectH handle); 18 | C_EXPORT void QTcpServer_hook_Destroy(QTcpServer_hookH handle); 19 | C_EXPORT void QTcpServer_hook_hook_newConnection(QTcpServer_hookH handle, QHookH hook); 20 | C_EXPORT void QTcpServer_hook_hook_acceptError(QTcpServer_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qtcpsocket_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtcpsocket_c.h" 13 | 14 | QTcpSocketH QTcpSocket_Create(QObjectH parent) 15 | { 16 | return (QTcpSocketH) new QTcpSocket((QObject*)parent); 17 | } 18 | 19 | void QTcpSocket_Destroy(QTcpSocketH handle) 20 | { 21 | delete (QTcpSocket *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qtcpsocket_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTCPSOCKET_C_H 13 | #define QTCPSOCKET_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT QTcpSocketH QTcpSocket_Create(QObjectH parent); 19 | C_EXPORT void QTcpSocket_Destroy(QTcpSocketH handle); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qtcpsocket_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTCPSOCKET_HOOK_H 13 | #define QTCPSOCKET_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractsocket_hook.h" 18 | 19 | class QTcpSocket_hook : public QAbstractSocket_hook { 20 | Q_OBJECT 21 | public: 22 | QTcpSocket_hook(QObject *handle) : QAbstractSocket_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qtcpsocket_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtcpsocket_hook_c.h" 13 | 14 | QTcpSocket_hookH QTcpSocket_hook_Create(QObjectH handle) 15 | { 16 | return (QTcpSocket_hookH) new QTcpSocket_hook((QObject*)handle); 17 | } 18 | 19 | void QTcpSocket_hook_Destroy(QTcpSocket_hookH handle) 20 | { 21 | delete (QTcpSocket_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qtcpsocket_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTCPSOCKET_HOOK_C_H 13 | #define QTCPSOCKET_HOOK_C_H 14 | 15 | #include "qtcpsocket_hook.h" 16 | 17 | C_EXPORT QTcpSocket_hookH QTcpSocket_hook_Create(QObjectH handle); 18 | C_EXPORT void QTcpSocket_hook_Destroy(QTcpSocket_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qthread_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qthread_hook_c.h" 13 | 14 | QThread_hookH QThread_hook_Create(QObjectH handle) 15 | { 16 | return (QThread_hookH) new QThread_hook((QObject*)handle); 17 | } 18 | 19 | void QThread_hook_Destroy(QThread_hookH handle) 20 | { 21 | delete (QThread_hook *)handle; 22 | } 23 | 24 | void QThread_hook_hook_started(QThread_hookH handle, QHookH hook) 25 | { 26 | ((QThread_hook *)handle)->hook_started(hook); 27 | } 28 | 29 | void QThread_hook_hook_finished(QThread_hookH handle, QHookH hook) 30 | { 31 | ((QThread_hook *)handle)->hook_finished(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qthread_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTHREAD_HOOK_C_H 13 | #define QTHREAD_HOOK_C_H 14 | 15 | #include "qthread_hook.h" 16 | 17 | C_EXPORT QThread_hookH QThread_hook_Create(QObjectH handle); 18 | C_EXPORT void QThread_hook_Destroy(QThread_hookH handle); 19 | C_EXPORT void QThread_hook_hook_started(QThread_hookH handle, QHookH hook); 20 | C_EXPORT void QThread_hook_hook_finished(QThread_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qtimer_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtimer_hook_c.h" 13 | 14 | QTimer_hookH QTimer_hook_Create(QObjectH handle) 15 | { 16 | return (QTimer_hookH) new QTimer_hook((QObject*)handle); 17 | } 18 | 19 | void QTimer_hook_Destroy(QTimer_hookH handle) 20 | { 21 | delete (QTimer_hook *)handle; 22 | } 23 | 24 | void QTimer_hook_hook_timeout(QTimer_hookH handle, QHookH hook) 25 | { 26 | ((QTimer_hook *)handle)->hook_timeout(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qtimer_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTIMER_HOOK_C_H 13 | #define QTIMER_HOOK_C_H 14 | 15 | #include "qtimer_hook.h" 16 | 17 | C_EXPORT QTimer_hookH QTimer_hook_Create(QObjectH handle); 18 | C_EXPORT void QTimer_hook_Destroy(QTimer_hookH handle); 19 | C_EXPORT void QTimer_hook_hook_timeout(QTimer_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qtoolbox_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtoolbox_hook_c.h" 13 | 14 | QToolBox_hookH QToolBox_hook_Create(QObjectH handle) 15 | { 16 | return (QToolBox_hookH) new QToolBox_hook((QObject*)handle); 17 | } 18 | 19 | void QToolBox_hook_Destroy(QToolBox_hookH handle) 20 | { 21 | delete (QToolBox_hook *)handle; 22 | } 23 | 24 | void QToolBox_hook_hook_currentChanged(QToolBox_hookH handle, QHookH hook) 25 | { 26 | ((QToolBox_hook *)handle)->hook_currentChanged(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qtoolbox_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTOOLBOX_HOOK_C_H 13 | #define QTOOLBOX_HOOK_C_H 14 | 15 | #include "qtoolbox_hook.h" 16 | 17 | C_EXPORT QToolBox_hookH QToolBox_hook_Create(QObjectH handle); 18 | C_EXPORT void QToolBox_hook_Destroy(QToolBox_hookH handle); 19 | C_EXPORT void QToolBox_hook_hook_currentChanged(QToolBox_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qtoolbutton_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtoolbutton_hook_c.h" 13 | 14 | QToolButton_hookH QToolButton_hook_Create(QObjectH handle) 15 | { 16 | return (QToolButton_hookH) new QToolButton_hook((QObject*)handle); 17 | } 18 | 19 | void QToolButton_hook_Destroy(QToolButton_hookH handle) 20 | { 21 | delete (QToolButton_hook *)handle; 22 | } 23 | 24 | void QToolButton_hook_hook_triggered(QToolButton_hookH handle, QHookH hook) 25 | { 26 | ((QToolButton_hook *)handle)->hook_triggered(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qtoolbutton_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTOOLBUTTON_HOOK_C_H 13 | #define QTOOLBUTTON_HOOK_C_H 14 | 15 | #include "qtoolbutton_hook.h" 16 | 17 | C_EXPORT QToolButton_hookH QToolButton_hook_Create(QObjectH handle); 18 | C_EXPORT void QToolButton_hook_Destroy(QToolButton_hookH handle); 19 | C_EXPORT void QToolButton_hook_hook_triggered(QToolButton_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qtooltip_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTOOLTIP_C_H 13 | #define QTOOLTIP_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT void QToolTip_showText(const QPointH pos, PWideString text, QWidgetH w); 19 | C_EXPORT void QToolTip_showText2(const QPointH pos, PWideString text, QWidgetH w, PRect rect); 20 | C_EXPORT void QToolTip_hideText(); 21 | C_EXPORT bool QToolTip_isVisible(); 22 | C_EXPORT void QToolTip_text(PWideString retval); 23 | C_EXPORT void QToolTip_palette(QPaletteH retval); 24 | C_EXPORT void QToolTip_setPalette(const QPaletteH AnonParam1); 25 | C_EXPORT void QToolTip_font(QFontH retval); 26 | C_EXPORT void QToolTip_setFont(const QFontH AnonParam1); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /cbindings/src/qtreeview_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qtreeview_hook_c.h" 13 | 14 | QTreeView_hookH QTreeView_hook_Create(QObjectH handle) 15 | { 16 | return (QTreeView_hookH) new QTreeView_hook((QObject*)handle); 17 | } 18 | 19 | void QTreeView_hook_Destroy(QTreeView_hookH handle) 20 | { 21 | delete (QTreeView_hook *)handle; 22 | } 23 | 24 | void QTreeView_hook_hook_expanded(QTreeView_hookH handle, QHookH hook) 25 | { 26 | ((QTreeView_hook *)handle)->hook_expanded(hook); 27 | } 28 | 29 | void QTreeView_hook_hook_collapsed(QTreeView_hookH handle, QHookH hook) 30 | { 31 | ((QTreeView_hook *)handle)->hook_collapsed(hook); 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qtreeview_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QTREEVIEW_HOOK_C_H 13 | #define QTREEVIEW_HOOK_C_H 14 | 15 | #include "qtreeview_hook.h" 16 | 17 | C_EXPORT QTreeView_hookH QTreeView_hook_Create(QObjectH handle); 18 | C_EXPORT void QTreeView_hook_Destroy(QTreeView_hookH handle); 19 | C_EXPORT void QTreeView_hook_hook_expanded(QTreeView_hookH handle, QHookH hook); 20 | C_EXPORT void QTreeView_hook_hook_collapsed(QTreeView_hookH handle, QHookH hook); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qudpsocket_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QUDPSOCKET_HOOK_H 13 | #define QUDPSOCKET_HOOK_H 14 | 15 | #include 16 | 17 | #include "qabstractsocket_hook.h" 18 | 19 | class QUdpSocket_hook : public QAbstractSocket_hook { 20 | Q_OBJECT 21 | public: 22 | QUdpSocket_hook(QObject *handle) : QAbstractSocket_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qudpsocket_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qudpsocket_hook_c.h" 13 | 14 | QUdpSocket_hookH QUdpSocket_hook_Create(QObjectH handle) 15 | { 16 | return (QUdpSocket_hookH) new QUdpSocket_hook((QObject*)handle); 17 | } 18 | 19 | void QUdpSocket_hook_Destroy(QUdpSocket_hookH handle) 20 | { 21 | delete (QUdpSocket_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qudpsocket_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QUDPSOCKET_HOOK_C_H 13 | #define QUDPSOCKET_HOOK_C_H 14 | 15 | #include "qudpsocket_hook.h" 16 | 17 | C_EXPORT QUdpSocket_hookH QUdpSocket_hook_Create(QObjectH handle); 18 | C_EXPORT void QUdpSocket_hook_Destroy(QUdpSocket_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qwebdatabase_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBDATABASE_HOOK_H 13 | #define QWEBDATABASE_HOOK_H 14 | 15 | #include 16 | 17 | #include "qobject_hook.h" 18 | 19 | class QWebDatabase_hook : public QObject_hook { 20 | Q_OBJECT 21 | public: 22 | QWebDatabase_hook(QObject *handle) : QObject_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qwebdatabase_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwebdatabase_hook_c.h" 13 | 14 | QWebDatabase_hookH QWebDatabase_hook_Create(QObjectH handle) 15 | { 16 | return (QWebDatabase_hookH) new QWebDatabase_hook((QObject*)handle); 17 | } 18 | 19 | void QWebDatabase_hook_Destroy(QWebDatabase_hookH handle) 20 | { 21 | delete (QWebDatabase_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qwebdatabase_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBDATABASE_HOOK_C_H 13 | #define QWEBDATABASE_HOOK_C_H 14 | 15 | #include "qwebdatabase_hook.h" 16 | 17 | C_EXPORT QWebDatabase_hookH QWebDatabase_hook_Create(QObjectH handle); 18 | C_EXPORT void QWebDatabase_hook_Destroy(QWebDatabase_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistory_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBHISTORY_HOOK_H 13 | #define QWEBHISTORY_HOOK_H 14 | 15 | #include 16 | 17 | #include "qobject_hook.h" 18 | 19 | class QWebHistoryItem_hook : public QObject_hook { 20 | Q_OBJECT 21 | public: 22 | QWebHistoryItem_hook(QObject *handle) : QObject_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #include "qobject_hook.h" 28 | 29 | class QWebHistory_hook : public QObject_hook { 30 | Q_OBJECT 31 | public: 32 | QWebHistory_hook(QObject *handle) : QObject_hook(handle) { 33 | } 34 | }; 35 | 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistory_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwebhistory_hook_c.h" 13 | 14 | QWebHistoryItem_hookH QWebHistoryItem_hook_Create(QObjectH handle) 15 | { 16 | return (QWebHistoryItem_hookH) new QWebHistoryItem_hook((QObject*)handle); 17 | } 18 | 19 | void QWebHistoryItem_hook_Destroy(QWebHistoryItem_hookH handle) 20 | { 21 | delete (QWebHistoryItem_hook *)handle; 22 | } 23 | 24 | QWebHistory_hookH QWebHistory_hook_Create(QObjectH handle) 25 | { 26 | return (QWebHistory_hookH) new QWebHistory_hook((QObject*)handle); 27 | } 28 | 29 | void QWebHistory_hook_Destroy(QWebHistory_hookH handle) 30 | { 31 | delete (QWebHistory_hook *)handle; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistory_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBHISTORY_HOOK_C_H 13 | #define QWEBHISTORY_HOOK_C_H 14 | 15 | #include "qwebhistory_hook.h" 16 | 17 | C_EXPORT QWebHistoryItem_hookH QWebHistoryItem_hook_Create(QObjectH handle); 18 | C_EXPORT void QWebHistoryItem_hook_Destroy(QWebHistoryItem_hookH handle); 19 | C_EXPORT QWebHistory_hookH QWebHistory_hook_Create(QObjectH handle); 20 | C_EXPORT void QWebHistory_hook_Destroy(QWebHistory_hookH handle); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistoryinterface_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBHISTORYINTERFACE_C_H 13 | #define QWEBHISTORYINTERFACE_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT void QWebHistoryInterface_setDefaultInterface(QWebHistoryInterfaceH defaultInterface); 19 | C_EXPORT QWebHistoryInterfaceH QWebHistoryInterface_defaultInterface(); 20 | C_EXPORT bool QWebHistoryInterface_historyContains(QWebHistoryInterfaceH handle, PWideString url); 21 | C_EXPORT void QWebHistoryInterface_addHistoryEntry(QWebHistoryInterfaceH handle, PWideString url); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistoryinterface_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBHISTORYINTERFACE_HOOK_H 13 | #define QWEBHISTORYINTERFACE_HOOK_H 14 | 15 | #include 16 | 17 | #include "qobject_hook.h" 18 | 19 | class QWebHistoryInterface_hook : public QObject_hook { 20 | Q_OBJECT 21 | public: 22 | QWebHistoryInterface_hook(QObject *handle) : QObject_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistoryinterface_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwebhistoryinterface_hook_c.h" 13 | 14 | QWebHistoryInterface_hookH QWebHistoryInterface_hook_Create(QObjectH handle) 15 | { 16 | return (QWebHistoryInterface_hookH) new QWebHistoryInterface_hook((QObject*)handle); 17 | } 18 | 19 | void QWebHistoryInterface_hook_Destroy(QWebHistoryInterface_hookH handle) 20 | { 21 | delete (QWebHistoryInterface_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qwebhistoryinterface_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBHISTORYINTERFACE_HOOK_C_H 13 | #define QWEBHISTORYINTERFACE_HOOK_C_H 14 | 15 | #include "qwebhistoryinterface_hook.h" 16 | 17 | C_EXPORT QWebHistoryInterface_hookH QWebHistoryInterface_hook_Create(QObjectH handle); 18 | C_EXPORT void QWebHistoryInterface_hook_Destroy(QWebHistoryInterface_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qwebsecurityorigin_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBSECURITYORIGIN_HOOK_H 13 | #define QWEBSECURITYORIGIN_HOOK_H 14 | 15 | #include 16 | 17 | #include "qobject_hook.h" 18 | 19 | class QWebSecurityOrigin_hook : public QObject_hook { 20 | Q_OBJECT 21 | public: 22 | QWebSecurityOrigin_hook(QObject *handle) : QObject_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qwebsecurityorigin_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwebsecurityorigin_hook_c.h" 13 | 14 | QWebSecurityOrigin_hookH QWebSecurityOrigin_hook_Create(QObjectH handle) 15 | { 16 | return (QWebSecurityOrigin_hookH) new QWebSecurityOrigin_hook((QObject*)handle); 17 | } 18 | 19 | void QWebSecurityOrigin_hook_Destroy(QWebSecurityOrigin_hookH handle) 20 | { 21 | delete (QWebSecurityOrigin_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qwebsecurityorigin_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBSECURITYORIGIN_HOOK_C_H 13 | #define QWEBSECURITYORIGIN_HOOK_C_H 14 | 15 | #include "qwebsecurityorigin_hook.h" 16 | 17 | C_EXPORT QWebSecurityOrigin_hookH QWebSecurityOrigin_hook_Create(QObjectH handle); 18 | C_EXPORT void QWebSecurityOrigin_hook_Destroy(QWebSecurityOrigin_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qwebsettings_hook.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBSETTINGS_HOOK_H 13 | #define QWEBSETTINGS_HOOK_H 14 | 15 | #include 16 | 17 | #include "qobject_hook.h" 18 | 19 | class QWebSettings_hook : public QObject_hook { 20 | Q_OBJECT 21 | public: 22 | QWebSettings_hook(QObject *handle) : QObject_hook(handle) { 23 | } 24 | }; 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /cbindings/src/qwebsettings_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwebsettings_hook_c.h" 13 | 14 | QWebSettings_hookH QWebSettings_hook_Create(QObjectH handle) 15 | { 16 | return (QWebSettings_hookH) new QWebSettings_hook((QObject*)handle); 17 | } 18 | 19 | void QWebSettings_hook_Destroy(QWebSettings_hookH handle) 20 | { 21 | delete (QWebSettings_hook *)handle; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /cbindings/src/qwebsettings_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWEBSETTINGS_HOOK_C_H 13 | #define QWEBSETTINGS_HOOK_C_H 14 | 15 | #include "qwebsettings_hook.h" 16 | 17 | C_EXPORT QWebSettings_hookH QWebSettings_hook_Create(QObjectH handle); 18 | C_EXPORT void QWebSettings_hook_Destroy(QWebSettings_hookH handle); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cbindings/src/qwhatsthis_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwhatsthis_c.h" 13 | 14 | void QWhatsThis_enterWhatsThisMode() 15 | { 16 | QWhatsThis::enterWhatsThisMode(); 17 | } 18 | 19 | bool QWhatsThis_inWhatsThisMode() 20 | { 21 | return (bool) QWhatsThis::inWhatsThisMode(); 22 | } 23 | 24 | void QWhatsThis_leaveWhatsThisMode() 25 | { 26 | QWhatsThis::leaveWhatsThisMode(); 27 | } 28 | 29 | void QWhatsThis_showText(const QPointH pos, PWideString text, QWidgetH w) 30 | { 31 | QString t_text; 32 | copyPWideStringToQString(text, t_text); 33 | QWhatsThis::showText(*(const QPoint*)pos, t_text, (QWidget*)w); 34 | } 35 | 36 | void QWhatsThis_hideText() 37 | { 38 | QWhatsThis::hideText(); 39 | } 40 | 41 | QActionH QWhatsThis_createAction(QObjectH parent) 42 | { 43 | return (QActionH) QWhatsThis::createAction((QObject*)parent); 44 | } 45 | 46 | -------------------------------------------------------------------------------- /cbindings/src/qwhatsthis_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWHATSTHIS_C_H 13 | #define QWHATSTHIS_C_H 14 | 15 | #include 16 | #include "pascalbind.h" 17 | 18 | C_EXPORT void QWhatsThis_enterWhatsThisMode(); 19 | C_EXPORT bool QWhatsThis_inWhatsThisMode(); 20 | C_EXPORT void QWhatsThis_leaveWhatsThisMode(); 21 | C_EXPORT void QWhatsThis_showText(const QPointH pos, PWideString text, QWidgetH w); 22 | C_EXPORT void QWhatsThis_hideText(); 23 | C_EXPORT QActionH QWhatsThis_createAction(QObjectH parent); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /cbindings/src/qwidget_hook_c.cpp: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #include "qwidget_hook_c.h" 13 | 14 | QWidget_hookH QWidget_hook_Create(QObjectH handle) 15 | { 16 | return (QWidget_hookH) new QWidget_hook((QObject*)handle); 17 | } 18 | 19 | void QWidget_hook_Destroy(QWidget_hookH handle) 20 | { 21 | delete (QWidget_hook *)handle; 22 | } 23 | 24 | void QWidget_hook_hook_customContextMenuRequested(QWidget_hookH handle, QHookH hook) 25 | { 26 | ((QWidget_hook *)handle)->hook_customContextMenuRequested(hook); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /cbindings/src/qwidget_hook_c.h: -------------------------------------------------------------------------------- 1 | //****************************************************************************** 2 | // Copyright (c) 2005-2013 by Jan Van hijfte 3 | // 4 | // See the included file COPYING.TXT for details about the copyright. 5 | // 6 | // This program is distributed in the hope that it will be useful, 7 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 | //****************************************************************************** 10 | 11 | 12 | #ifndef QWIDGET_HOOK_C_H 13 | #define QWIDGET_HOOK_C_H 14 | 15 | #include "qwidget_hook.h" 16 | 17 | C_EXPORT QWidget_hookH QWidget_hook_Create(QObjectH handle); 18 | C_EXPORT void QWidget_hook_Destroy(QWidget_hookH handle); 19 | C_EXPORT void QWidget_hook_hook_customContextMenuRequested(QWidget_hookH handle, QHookH hook); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cbindings/src/qx11info_x11_c.h: -------------------------------------------------------------------------------- 1 | #ifndef QX11INFO_C_H 2 | #define QX11INFO_C_H 3 | 4 | #include 5 | #include "pascalbind.h" 6 | /*#include */ 7 | 8 | C_EXPORT bool QX11Info_isPlatformX11(); 9 | C_EXPORT int QX11Info_appDpiX(int screen); 10 | C_EXPORT int QX11Info_appDpiY(int screen); 11 | C_EXPORT unsigned long QX11Info_appRootWindow(int screen); 12 | C_EXPORT int QX11Info_appScreen(); 13 | C_EXPORT unsigned long QX11Info_appTime(); 14 | C_EXPORT unsigned long QX11Info_appUserTime(); 15 | C_EXPORT void QX11Info_setAppTime(unsigned long time); 16 | C_EXPORT void QX11Info_setAppUserTime(unsigned long time); 17 | C_EXPORT unsigned long QX11Info_getTimestamp(); 18 | C_EXPORT QByteArray QX11Info_nextStartupId(); 19 | C_EXPORT void QX11Info_setNextStartupId(const QByteArray &id); 20 | C_EXPORT Display* QX11Info_display(); 21 | #endif 22 | --------------------------------------------------------------------------------