mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 10:39:15 +02:00
Qt5: fixed Qt documentation inconsistency about QTimer::singleShot() overload.
This commit is contained in:
parent
614f1a392e
commit
269b3d0007
@ -10,13 +10,13 @@
|
||||
|
||||
|
||||
|
||||
# Binding Release Version 1.2.13 against Qt5 5.6 LTS release.
|
||||
# Binding Release Version 1.2.14 against Qt5 5.6 LTS release.
|
||||
# WebKit widgets are disabled until webenginewidgets are implemented.
|
||||
|
||||
VERSION = 1.2.13
|
||||
VERSION = 1.2.14
|
||||
VER_MAJ = 1
|
||||
VER_MIN = 2
|
||||
VER_PAT = 13
|
||||
VER_PAT = 14
|
||||
win32:VERSION_PE_HEADER = 1.2
|
||||
|
||||
QT += gui network printsupport
|
||||
|
@ -83,7 +83,11 @@ void QTimer_singleShot3(int msec, void (*TimeoutEvent)())
|
||||
|
||||
void QTimer_singleShot4(int msec, const QObjectH context, void (*TimeoutEvent)())
|
||||
{
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
|
||||
QTimer::singleShot(msec, (const QObject*)context, TimeoutEvent);
|
||||
#else
|
||||
QTimer::singleShot(msec, TimeoutEvent);
|
||||
#endif
|
||||
}
|
||||
|
||||
void QTimer_start(QTimerH handle, int msec)
|
||||
|
Loading…
Reference in New Issue
Block a user