qt5base-lts/src/dbus
Marc Mutz 426b5fbce4 D-Bus: use move() on QVariants in writeProperty()
The writeProperty() function takes the QVariant value by value, so we
can move from it, using the newly-added QMetaProperty::write() rvalue
overload.

As a drive-by, replace a copy-assignment with a move.

Task-number: QTBUG-112762
Change-Id: I6d5361830b4874fa846be513882ede4ab881246b
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-05-02 14:51:01 +02:00
..
doc Docs: fix links to D-Bus examples 2023-04-11 19:25:42 +02:00
CMakeLists.txt Rid of 'special case' markers 2023-04-13 18:30:58 +02:00
dbus_minimal_p.h dbus_minimal_p.h: copy the libdbus-1 copyright to the top 2022-10-10 11:19:55 -07:00
LIBDBUS-1-LICENSE.txt Document libdbus-1 code in Qt D-Bus 2018-04-20 06:45:12 +00:00
qdbus_symbols_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbus_symbols.cpp Fix build with -no-feature-library 2023-02-11 15:25:36 +09:00
qdbusabstractadaptor_p.h Remove more unused qreadwritelock.h includes 2022-05-17 18:49:31 +02:00
qdbusabstractadaptor.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdbusabstractadaptor.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusabstractinterface_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusabstractinterface.cpp dbus: use same type of matching quotes 2022-10-21 12:02:34 -04:00
qdbusabstractinterface.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusargument_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusargument.cpp Adapt to QTimeZone replacing Qt::TimeSpec usage 2022-12-10 06:39:44 +01:00
qdbusargument.h QDBusArgument: ensure std::vector isn't seen as an associative container 2022-05-17 01:27:33 +02:00
qdbusconnection_p.h dbus: Include some debug messages when failing to connect 2022-11-26 01:45:43 +01:00
qdbusconnection.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdbusconnection.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusconnectioninterface.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusconnectioninterface.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusconnectionmanager_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbuscontext_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbuscontext.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbuscontext.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusdemarshaller.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbuserror.cpp QDBusError: don't refer to a QT_NAMESPACE'ed get() as ::get() 2023-03-05 21:57:21 +01:00
qdbuserror.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusextratypes.cpp Docs: adjust docs after the QLatin1String to QLatin1StringView rename 2023-01-05 14:46:38 +02:00
qdbusextratypes.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusintegrator_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusintegrator.cpp QObject: implement startTimer(int) in terms of startTimer(chrono) 2023-03-11 12:40:04 +02:00
qdbusinterface_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusinterface.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusinterface.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusinternalfilters.cpp D-Bus: use move() on QVariants in writeProperty() 2023-05-02 14:51:01 +02:00
qdbusintrospection_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusintrospection.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmarshaller.cpp dbus: use same type of matching quotes 2022-10-21 12:02:34 -04:00
qdbusmessage_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmessage.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmessage.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmetaobject_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmetaobject.cpp moc: Record types of enumerations 2023-03-31 17:42:58 +02:00
qdbusmetatype_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmetatype.cpp dbus: Register QDBusObjectPath 2023-02-07 21:15:18 +00:00
qdbusmetatype.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusmisc.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdbuspendingcall_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbuspendingcall.cpp dbus: Include some debug messages when failing to connect 2022-11-26 01:45:43 +01:00
qdbuspendingcall.h Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
qdbuspendingreply.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbuspendingreply.h Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
qdbusreply.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdbusreply.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusserver.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qdbusserver.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusservicewatcher.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qdbusservicewatcher.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusthreaddebug_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusunixfiledescriptor.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusunixfiledescriptor.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusutil_p.h Remove perl related functionality from CMake files 2022-11-29 12:35:47 +01:00
qdbusutil.cpp QtMiscUtils: add some more character helpers 2023-02-07 20:04:11 +02:00
qdbusvirtualobject.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qdbusvirtualobject.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusxmlgenerator.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdbusxmlparser_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdbusxmlparser.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
Qt6DBusMacros.cmake Remove the Unnecessary CMake Module, include(CMakeParseArguments) 2022-10-25 20:14:35 +02:00
qt_attribution.json Deploy Comment fields in qt_attribution.json files 2023-04-20 14:17:26 +01:00
qtdbusglobal_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtdbusglobal.h Introduce the qt_deprecates pragma 2022-09-06 20:15:00 +02:00