diff --git a/lcl/interfaces/qt5/cbindings/Qt5Pas.pro b/lcl/interfaces/qt5/cbindings/Qt5Pas.pro index 001fd2cd71..c399153887 100644 --- a/lcl/interfaces/qt5/cbindings/Qt5Pas.pro +++ b/lcl/interfaces/qt5/cbindings/Qt5Pas.pro @@ -1,5 +1,5 @@ #****************************************************************************** -# Copyright (c) 2005-2022 by Jan Van hijfte, Željan Rikalo +# Copyright (c) 2005-2023 by Jan Van hijfte, Željan Rikalo # # See the included file COPYING.TXT for details about the copyright. # @@ -10,13 +10,13 @@ -# Binding Release Version 1.2.12 against Qt5 5.6 LTS release. +# Binding Release Version 1.2.13 against Qt5 5.6 LTS release. # WebKit widgets are disabled until webenginewidgets are implemented. -VERSION = 1.2.12 +VERSION = 1.2.13 VER_MAJ = 1 VER_MIN = 2 -VER_PAT = 12 +VER_PAT = 13 win32:VERSION_PE_HEADER = 1.2 QT += gui network printsupport diff --git a/lcl/interfaces/qt5/qt56.pas b/lcl/interfaces/qt5/qt56.pas index a032acb0d6..7ed04206df 100644 --- a/lcl/interfaces/qt5/qt56.pas +++ b/lcl/interfaces/qt5/qt56.pas @@ -2522,6 +2522,9 @@ function QTranslator_load(handle: QTranslatorH; filename: PWideString; directory function QTranslator_load(handle: QTranslatorH; locale: QLocaleH; filename: PWideString; prefix: PWideString = nil; directory: PWideString = nil; suffix: PWideString = nil): Boolean; cdecl; external Qt5PasLib name 'QTranslator_load2'; function QTranslator_load(handle: QTranslatorH; data: PByte; len: Integer; directory: PWideString = nil): Boolean; cdecl; external Qt5PasLib name 'QTranslator_load3'; +type + QTimer_timeout_Event = procedure () of object cdecl; + function QTimer_Create(parent: QObjectH = nil): QTimerH; cdecl; external Qt5PasLib name 'QTimer_Create'; procedure QTimer_Destroy(handle: QTimerH); cdecl; external Qt5PasLib name 'QTimer_Destroy'; function QTimer_isActive(handle: QTimerH): Boolean; cdecl; external Qt5PasLib name 'QTimer_isActive'; @@ -2535,15 +2538,13 @@ procedure QTimer_setSingleShot(handle: QTimerH; singleShot: Boolean); cdecl; ext function QTimer_isSingleShot(handle: QTimerH): Boolean; cdecl; external Qt5PasLib name 'QTimer_isSingleShot'; procedure QTimer_singleShot(msec: Integer; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt5PasLib name 'QTimer_singleShot'; procedure QTimer_singleShot(msec: Integer; timerType: QtTimerType; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt5PasLib name 'QTimer_singleShot2'; +procedure QTimer_singleShot(msec: Integer; timeoutEvent: QTimer_timeout_Event); cdecl; external Qt5PasLib name 'QTimer_singleShot3'; +procedure QTimer_singleShot(msec: Integer; context: QObjectH; timeoutEvent: QTimer_timeout_Event); cdecl; external Qt5PasLib name 'QTimer_singleShot4'; procedure QTimer_start(handle: QTimerH; msec: Integer); cdecl; external Qt5PasLib name 'QTimer_start'; procedure QTimer_start(handle: QTimerH); cdecl; external Qt5PasLib name 'QTimer_start2'; procedure QTimer_stop(handle: QTimerH); cdecl; external Qt5PasLib name 'QTimer_stop'; -type - QTimer_timeout_Event = procedure () of object cdecl; - - function QAbstractEventDispatcher_instance(thread: QThreadH = nil): QAbstractEventDispatcherH; cdecl; external Qt5PasLib name 'QAbstractEventDispatcher_instance'; function QAbstractEventDispatcher_processEvents(handle: QAbstractEventDispatcherH; flags: QEventLoopProcessEventsFlags): Boolean; cdecl; external Qt5PasLib name 'QAbstractEventDispatcher_processEvents'; function QAbstractEventDispatcher_hasPendingEvents(handle: QAbstractEventDispatcherH): Boolean; cdecl; external Qt5PasLib name 'QAbstractEventDispatcher_hasPendingEvents'; @@ -2799,6 +2800,7 @@ procedure QThread_start(handle: QThreadH; AnonParam1: QThreadPriority = QThreadI procedure QThread_terminate(handle: QThreadH); cdecl; external Qt5PasLib name 'QThread_terminate'; procedure QThread_quit(handle: QThreadH); cdecl; external Qt5PasLib name 'QThread_quit'; function QThread_wait(handle: QThreadH; time: Longword): Boolean; cdecl; external Qt5PasLib name 'QThread_wait'; +function QThread_loopLevel(handle: QThreadH): integer; cdecl; external Qt5PasLib name 'QThread_loopLevel'; procedure QThread_sleep(AnonParam1: Longword); cdecl; external Qt5PasLib name 'QThread_sleep'; procedure QThread_msleep(AnonParam1: Longword); cdecl; external Qt5PasLib name 'QThread_msleep'; procedure QThread_usleep(AnonParam1: Longword); cdecl; external Qt5PasLib name 'QThread_usleep';