qtbase/examples/corelib/bindableproperties/bindablesubscription
Ahmad Samir 09b852b1d8 examples/: compile with QT_NO_CONTEXTLESS_CONNECT
Examples are usually a good way to get to know a new codebase, do not
teach developers who are new to Qt about the 3-arg connect() to begin
with.

Drive-by changes:
- `this` can't be implicitly captured with [=] in a lambda, instead
  capture by reference
- Update docs related to the sqlbrowser example; the overloaded signal
  it mentions has been removed in Qt6
- In the sqlbrowser example, rename addConnection() (no-arg) overload to
  openNewConnectionDialog, suggested in code review

Change-Id: I30c9f35bda4ac2f460d767ab7f84422ae3ed09f7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-09-08 19:17:36 +03:00
..
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
bindablesubscription.cpp examples/: fix compiler warnings -Wdeprecated-enum-float-conversion 2023-08-18 23:35:52 +03:00
bindablesubscription.h Update the bindable properties example 2023-03-09 12:27:00 -05:00
bindablesubscription.pro Add example showing the benefits of using bindable properties 2021-12-02 12:53:34 +01:00
bindableuser.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
bindableuser.h Update the bindable properties example 2023-03-09 12:27:00 -05:00
main.cpp examples/: compile with QT_NO_CONTEXTLESS_CONNECT 2023-09-08 19:17:36 +03:00