├── .qmake.conf ├── .tag ├── LICENSE.FDL ├── LICENSE.GPL2 ├── LICENSE.GPL3 ├── LICENSE.GPL3-EXCEPT ├── LICENSE.LGPL3 ├── config.tests ├── bluez │ ├── bluez.pro │ └── main.cpp ├── evdev │ ├── evdev.pro │ └── main.cpp ├── gconf │ ├── gconf.pro │ └── main.cpp ├── mir │ ├── main.cpp │ └── mir.pro ├── udev │ ├── main.cpp │ └── udev.pro └── x11 │ ├── main.cpp │ └── x11.pro ├── doc ├── config │ ├── publishsubscribe │ │ ├── compat.qdocconf │ │ ├── images │ │ │ ├── arrow_down.png │ │ │ ├── bg_l.png │ │ │ ├── bg_l_blank.png │ │ │ ├── bg_ll_blank.png │ │ │ ├── bg_r.png │ │ │ ├── bg_ul_blank.png │ │ │ ├── box_bg.png │ │ │ ├── breadcrumb.png │ │ │ ├── bullet_dn.png │ │ │ ├── bullet_gt.png │ │ │ ├── bullet_sq.png │ │ │ ├── bullet_up.png │ │ │ ├── feedbackground.png │ │ │ ├── header_bg.png │ │ │ ├── horBar.png │ │ │ ├── page.png │ │ │ ├── page_bg.png │ │ │ ├── qt-logo.png │ │ │ ├── spinner.gif │ │ │ └── sprites-combined.png │ │ ├── macros.qdocconf │ │ ├── qt-cpp-ignore.qdocconf │ │ ├── qt-defines.qdocconf │ │ ├── qt-html-default-styles.qdocconf │ │ ├── qt-html-online-styles.qdocconf │ │ ├── qt-html-templates-online.qdocconf │ │ ├── qt-html-templates.qdocconf │ │ ├── qtpublishsubscribe-dita.qdocconf │ │ ├── qtpublishsubscribe.qdocconf │ │ ├── scripts │ │ │ ├── functions.js │ │ │ ├── jquery.js │ │ │ ├── narrow.js │ │ │ └── superfish.js │ │ └── style │ │ │ ├── common.css │ │ │ ├── narrow.css │ │ │ ├── offline.css │ │ │ ├── style.css │ │ │ ├── style_ie6.css │ │ │ ├── style_ie7.css │ │ │ ├── style_ie8.css │ │ │ └── superfish.css │ ├── serviceframework │ │ ├── compat.qdocconf │ │ ├── images │ │ │ ├── arrow_down.png │ │ │ ├── bg_l.png │ │ │ ├── bg_l_blank.png │ │ │ ├── bg_ll_blank.png │ │ │ ├── bg_r.png │ │ │ ├── bg_ul_blank.png │ │ │ ├── box_bg.png │ │ │ ├── breadcrumb.png │ │ │ ├── bullet_dn.png │ │ │ ├── bullet_gt.png │ │ │ ├── bullet_sq.png │ │ │ ├── bullet_up.png │ │ │ ├── feedbackground.png │ │ │ ├── header_bg.png │ │ │ ├── horBar.png │ │ │ ├── page.png │ │ │ ├── page_bg.png │ │ │ ├── qt-logo.png │ │ │ ├── spinner.gif │ │ │ └── sprites-combined.png │ │ ├── macros.qdocconf │ │ ├── qt-cpp-ignore.qdocconf │ │ ├── qt-defines.qdocconf │ │ ├── qt-html-default-styles.qdocconf │ │ ├── qt-html-online-styles.qdocconf │ │ ├── qt-html-templates-online.qdocconf │ │ ├── qt-html-templates.qdocconf │ │ ├── qtserviceframework-dita.qdocconf │ │ ├── qtserviceframework.qdocconf │ │ ├── scripts │ │ │ ├── functions.js │ │ │ ├── jquery.js │ │ │ ├── narrow.js │ │ │ └── superfish.js │ │ └── style │ │ │ ├── common.css │ │ │ ├── narrow.css │ │ │ ├── offline.css │ │ │ ├── style.css │ │ │ ├── style_ie6.css │ │ │ ├── style_ie7.css │ │ │ ├── style_ie8.css │ │ │ └── superfish.css │ └── systeminfo │ │ ├── compat.qdocconf │ │ ├── images │ │ ├── arrow_down.png │ │ ├── bg_l.png │ │ ├── bg_l_blank.png │ │ ├── bg_ll_blank.png │ │ ├── bg_r.png │ │ ├── bg_ul_blank.png │ │ ├── box_bg.png │ │ ├── breadcrumb.png │ │ ├── bullet_dn.png │ │ ├── bullet_gt.png │ │ ├── bullet_sq.png │ │ ├── bullet_up.png │ │ ├── feedbackground.png │ │ ├── header_bg.png │ │ ├── horBar.png │ │ ├── page.png │ │ ├── page_bg.png │ │ ├── qt-logo.png │ │ ├── spinner.gif │ │ └── sprites-combined.png │ │ ├── macros.qdocconf │ │ ├── qt-cpp-ignore.qdocconf │ │ ├── qt-defines.qdocconf │ │ ├── qt-html-default-styles.qdocconf │ │ ├── qt-html-online-styles.qdocconf │ │ ├── qt-html-templates-online.qdocconf │ │ ├── qt-html-templates.qdocconf │ │ ├── qtsysteminfo-dita.qdocconf │ │ ├── qtsysteminfo.qdocconf │ │ ├── scripts │ │ ├── functions.js │ │ ├── jquery.js │ │ ├── narrow.js │ │ └── superfish.js │ │ └── style │ │ ├── common.css │ │ ├── narrow.css │ │ ├── offline.css │ │ ├── style.css │ │ ├── style_ie6.css │ │ ├── style_ie7.css │ │ ├── style_ie8.css │ │ └── superfish.css └── src │ ├── publishsubscribe │ ├── examples │ │ ├── .directory │ │ ├── battery-charge.qdoc │ │ ├── examples-publishsubscribe.qdoc │ │ └── publish-subscribe.qdoc │ ├── images │ │ ├── .directory │ │ ├── battery-publisher.png │ │ ├── battery-subscriber.png │ │ ├── publish-subscribe-publisher.png │ │ └── publish-subscribe-subscriber.png │ ├── plugins │ │ ├── .directory │ │ └── qml-publishsubscribe.qdoc │ └── publ-subs.qdoc │ ├── serviceframework │ ├── examples │ │ ├── dialer.qdoc │ │ ├── servicebrowser.qdoc │ │ └── serviceframework-examples.qdoc │ ├── images │ │ ├── DialerServiceGUI.png │ │ ├── DialerServiceUML.png │ │ ├── servicebrowser-attributes.png │ │ ├── servicebrowser.png │ │ └── servicexmlgen.png │ ├── plugins │ │ └── qml-serviceframework.qdoc │ ├── servicefwk-module.qdoc │ ├── servicefwk.qdoc │ └── snippets │ │ ├── code │ │ └── doc_src_lgpl.qdoc │ │ └── snippets.pro │ └── systeminfo │ └── systeminfo.qdoc ├── examples ├── examples.pro ├── publishsubscribe │ ├── battery-charge │ │ ├── battery-charge.pro │ │ ├── battery-publisher │ │ │ ├── battery-publisher.pro │ │ │ ├── batterypublisher.cpp │ │ │ ├── batterypublisher.h │ │ │ ├── batterypublisher.ui │ │ │ └── main.cpp │ │ └── battery-subscriber │ │ │ ├── battery-subscriber.qml │ │ │ └── content │ │ │ └── bubble.png │ ├── publish-subscribe │ │ ├── main.cpp │ │ ├── publish-subscribe.pro │ │ ├── publisherdialog.cpp │ │ ├── publisherdialog.h │ │ ├── publisherdialog.ui │ │ ├── subscriberdialog.cpp │ │ ├── subscriberdialog.h │ │ └── subscriberdialog.ui │ └── publishsubscribe.pro ├── serviceframework │ ├── dialer │ │ ├── content │ │ │ ├── DialButton.qml │ │ │ ├── DialScreen.qml │ │ │ ├── DialerList.qml │ │ │ ├── call.png │ │ │ ├── hangup.png │ │ │ └── qmldir │ │ ├── dialer.pro │ │ ├── dialer.qml │ │ ├── dialer.qrc │ │ ├── icon.png │ │ ├── info.json │ │ ├── main.cpp │ │ └── notions.json │ ├── remotedialerservice │ │ ├── info.json │ │ ├── interfaces.json │ │ ├── main.cpp │ │ ├── remotedialerservice.cpp │ │ ├── remotedialerservice.h │ │ ├── remotedialerservice.pro │ │ └── remotedialerservice.xml │ ├── servicebrowser │ │ ├── main.cpp │ │ ├── servicebrowser.cpp │ │ ├── servicebrowser.h │ │ └── servicebrowser.pro │ ├── serviceframework.pro │ └── voipdialerplugin │ │ ├── voipdialer.cpp │ │ ├── voipdialer.h │ │ ├── voipdialerplugin.cpp │ │ ├── voipdialerplugin.h │ │ ├── voipdialerplugin.pro │ │ └── voipdialerservice.xml └── systeminfo │ ├── inputinfo │ ├── inputinfo.pro │ ├── inputtest.cpp │ ├── inputtest.h │ └── main.cpp │ ├── qml-battery │ ├── main.cpp │ ├── qml-battery.pro │ ├── qml-battery.qml │ └── qml-battery.qrc │ ├── qml-deviceinfo │ ├── main.cpp │ ├── qml-deviceinfo.pro │ ├── qml-deviceinfo.qml │ └── qml-deviceinfo.qrc │ ├── qml-inputinfo │ ├── main.cpp │ ├── qml-inputinfo.pro │ ├── qml-inputinfo.qml │ └── qml-inputinfo.qrc │ ├── stub.h │ └── systeminfo.pro ├── qtsystems.pro ├── src ├── imports │ ├── imports.pro │ ├── publishsubscribe │ │ ├── plugins.qmltypes │ │ ├── publishsubscribe.cpp │ │ ├── publishsubscribe.json │ │ ├── publishsubscribe.pro │ │ ├── qdeclarativevaluespacepublisher.cpp │ │ ├── qdeclarativevaluespacepublisher_p.h │ │ ├── qdeclarativevaluespacepublishermetaobject.cpp │ │ ├── qdeclarativevaluespacepublishermetaobject_p.h │ │ ├── qdeclarativevaluespacesubscriber.cpp │ │ ├── qdeclarativevaluespacesubscriber_p.h │ │ └── qmldir │ ├── serviceframework │ │ ├── plugins.qmltypes │ │ ├── qdeclarativeservice.cpp │ │ ├── qdeclarativeservice_p.h │ │ ├── qdeclarativeserviceold.cpp │ │ ├── qdeclarativeserviceold_p.h │ │ ├── qmldir │ │ ├── serviceframework.cpp │ │ ├── serviceframework.json │ │ └── serviceframework.pro │ └── systeminfo │ │ ├── plugins.qmltypes │ │ ├── qdeclarativedeviceinfo.cpp │ │ ├── qdeclarativedeviceinfo_p.h │ │ ├── qdeclarativedisplayinfo.cpp │ │ ├── qdeclarativedisplayinfo_p.h │ │ ├── qdeclarativeinputdevicemodel.cpp │ │ ├── qdeclarativeinputdevicemodel_p.h │ │ ├── qdeclarativenetworkinfo.cpp │ │ ├── qdeclarativenetworkinfo_p.h │ │ ├── qmldir │ │ ├── qsysteminfo.cpp │ │ ├── systeminfo.json │ │ └── systeminfo.pro ├── publishsubscribe │ ├── gconfitem.cpp │ ├── gconfitem_p.h │ ├── gconflayer.cpp │ ├── gconflayer_p.h │ ├── publishsubscribe.pro │ ├── qpublishsubscribeglobal.h │ ├── qsystemreadwritelock_p.h │ ├── qsystemreadwritelock_win.cpp │ ├── qvaluespace.cpp │ ├── qvaluespace.h │ ├── qvaluespace_p.h │ ├── qvaluespacemanager.cpp │ ├── qvaluespacemanager_p.h │ ├── qvaluespacepublisher.cpp │ ├── qvaluespacepublisher.h │ ├── qvaluespacesubscriber.cpp │ ├── qvaluespacesubscriber.h │ ├── qvaluespacesubscriber_p.h │ ├── registrylayer_win.cpp │ └── registrylayer_win_p.h ├── serviceframework │ ├── databasemanager.cpp │ ├── databasemanager_p.h │ ├── dberror.cpp │ ├── dberror_p.h │ ├── ipc │ │ ├── instancemanager.cpp │ │ ├── instancemanager_p.h │ │ ├── ipc.pri │ │ ├── ipcendpoint.cpp │ │ ├── ipcendpoint_p.h │ │ ├── objectendpoint.cpp │ │ ├── objectendpoint_dbus.cpp │ │ ├── objectendpoint_dbus_p.h │ │ ├── objectendpoint_p.h │ │ ├── proxyobject.cpp │ │ ├── proxyobject_p.h │ │ ├── qremoteserviceregister_dbus_p.cpp │ │ ├── qremoteserviceregister_dbus_p.h │ │ ├── qremoteserviceregister_ls_p.cpp │ │ ├── qremoteserviceregister_ls_p.h │ │ ├── qremoteserviceregister_p.cpp │ │ ├── qremoteserviceregister_p.h │ │ ├── qremoteserviceregister_unix_p.cpp │ │ ├── qremoteserviceregister_unix_p.h │ │ ├── qremoteserviceregisterentry_p.h │ │ ├── qservicemetaobject_dbus.cpp │ │ ├── qservicemetaobject_dbus_p.h │ │ ├── qservicepackage.cpp │ │ ├── qservicepackage_p.h │ │ ├── qsignalintercepter.cpp │ │ ├── qsignalintercepter_p.h │ │ ├── qslotinvoker.cpp │ │ └── qslotinvoker_p.h │ ├── qremoteserviceregister.cpp │ ├── qremoteserviceregister.h │ ├── qservice.h │ ├── qservice.qdoc │ ├── qserviceclientcredentials.cpp │ ├── qserviceclientcredentials.h │ ├── qserviceclientcredentials_p.h │ ├── qservicedebuglog.cpp │ ├── qservicedebuglog_p.h │ ├── qservicefilter.cpp │ ├── qservicefilter.h │ ├── qserviceframeworkglobal.h │ ├── qserviceinterfacedescriptor.cpp │ ├── qserviceinterfacedescriptor.h │ ├── qserviceinterfacedescriptor_p.h │ ├── qservicemanager.cpp │ ├── qservicemanager.h │ ├── qserviceoperations.cpp │ ├── qserviceoperations_p.h │ ├── qserviceplugininterface.cpp │ ├── qserviceplugininterface.h │ ├── qservicereply.cpp │ ├── qservicereply.h │ ├── qservicereply_p.h │ ├── qservicerequest.cpp │ ├── qservicerequest_p.h │ ├── servicedatabase.cpp │ ├── servicedatabase_p.h │ ├── serviceframework.pro │ ├── servicemetadata.cpp │ └── servicemetadata_p.h ├── src.pro ├── systeminfo │ ├── linux │ │ ├── qbatteryinfo_linux.cpp │ │ ├── qbatteryinfo_linux_p.h │ │ ├── qbatteryinfo_upower.cpp │ │ ├── qbatteryinfo_upower_p.h │ │ ├── qdeviceinfo_linux.cpp │ │ ├── qdeviceinfo_linux_p.h │ │ ├── qdevicekitservice_linux.cpp │ │ ├── qdevicekitservice_linux_p.h │ │ ├── qinputinfomanagermir.cpp │ │ ├── qinputinfomanagermir_p.h │ │ ├── qinputinfomanagerudev.cpp │ │ ├── qinputinfomanagerudev_p.h │ │ ├── qnetworkinfo_linux.cpp │ │ ├── qnetworkinfo_linux_p.h │ │ ├── qofonowrapper.cpp │ │ ├── qofonowrapper_p.h │ │ ├── qscreensaver_linux.cpp │ │ ├── qscreensaver_linux_p.h │ │ ├── qscreensaver_mir.cpp │ │ ├── qscreensaver_mir_p.h │ │ ├── qsystemalignedtimer_linux.cpp │ │ ├── qsystemalignedtimer_linux_p.h │ │ ├── qsystemalignedtimer_stub.cpp │ │ ├── qsystemalignedtimer_stub_p.h │ │ ├── qudevwrapper.cpp │ │ └── qudevwrapper_p.h │ ├── mac │ │ ├── qbatteryinfo_mac.mm │ │ ├── qbatteryinfo_mac_p.h │ │ ├── qdeviceinfo_mac.mm │ │ ├── qdeviceinfo_mac_p.h │ │ ├── qnetworkinfo_mac.mm │ │ ├── qnetworkinfo_mac_p.h │ │ ├── qscreensaver_mac.mm │ │ └── qscreensaver_mac_p.h │ ├── qbatteryinfo.cpp │ ├── qbatteryinfo.h │ ├── qdeviceinfo.cpp │ ├── qdeviceinfo.h │ ├── qinputinfo.cpp │ ├── qinputinfo.h │ ├── qinputinfomanager.cpp │ ├── qinputinfomanager_p.h │ ├── qnetworkinfo.cpp │ ├── qnetworkinfo.h │ ├── qscreensaver.cpp │ ├── qscreensaver.h │ ├── qsysteminfoglobal.h │ ├── qsysteminfoglobal_p.h │ ├── simulator │ │ ├── qsysteminfo_simulator.cpp │ │ ├── qsysteminfo_simulator_p.h │ │ ├── qsysteminfobackend_simulator.cpp │ │ ├── qsysteminfobackend_simulator_p.h │ │ ├── qsysteminfoconnection_simulator.cpp │ │ ├── qsysteminfoconnection_simulator_p.h │ │ ├── qsysteminfodata_simulator.cpp │ │ └── qsysteminfodata_simulator_p.h │ ├── systeminfo.pro │ └── windows │ │ ├── qbatteryinfo_win.cpp │ │ ├── qbatteryinfo_win_p.h │ │ ├── qdeviceinfo_win.cpp │ │ ├── qdeviceinfo_win_p.h │ │ ├── qnetworkinfo_win.cpp │ │ ├── qnetworkinfo_win_p.h │ │ ├── qscreensaver_win.cpp │ │ ├── qscreensaver_win_p.h │ │ ├── qwmihelper_win.cpp │ │ └── qwmihelper_win_p.h └── tools │ ├── servicefw │ ├── servicefw.cpp │ └── servicefw.pro │ ├── sfwlisten │ ├── main.cpp │ └── sfwlisten.pro │ └── tools.pro ├── sync.profile └── tests ├── auto ├── auto.pro ├── cmake │ ├── CMakeLists.txt │ ├── cmake.pro │ └── test_modules │ │ ├── CMakeLists.txt │ │ └── main.cpp ├── publishsubscribe │ ├── publishsubscribe.pro │ └── qvaluespace │ │ ├── qvaluespace.pro │ │ └── tst_qvaluespace.cpp ├── serviceframework │ ├── qremoteserviceregister │ │ ├── qremoteserviceregister.pro │ │ ├── service.h │ │ ├── tst_qremoteserviceregister.cpp │ │ └── xmldata │ │ │ └── rsrexampleservice.xml │ ├── qservicefilter │ │ ├── qservicefilter.pro │ │ └── tst_qservicefilter.cpp │ ├── qserviceinterfacedescriptor │ │ ├── qserviceinterfacedescriptor.pro │ │ └── tst_qserviceinterfacedescriptor.cpp │ ├── qservicemanager │ │ ├── qservicemanager.pro │ │ ├── sampleservice │ │ │ ├── sampleservice.pro │ │ │ ├── sampleserviceplugin.cpp │ │ │ └── sampleserviceplugin.h │ │ ├── sampleservice2 │ │ │ ├── sampleservice2.pro │ │ │ ├── sampleserviceplugin2.cpp │ │ │ └── sampleserviceplugin2.h │ │ ├── testservice2 │ │ │ ├── testservice.h │ │ │ ├── testservice2.pro │ │ │ ├── testserviceinterface.h │ │ │ ├── testserviceplugin.cpp │ │ │ └── testserviceplugin.h │ │ ├── tst_qservicemanager.cpp │ │ ├── tst_qservicemanager.pro │ │ └── xml │ │ │ ├── sampleservice.xml │ │ │ ├── sampleservice2.xml │ │ │ └── testserviceplugin.xml │ ├── qservicemanager_ipc │ │ ├── client │ │ │ ├── client.pro │ │ │ ├── tst_qservicemanager_ipc.cpp │ │ │ └── xmldata │ │ │ │ └── ipcexampleservice.xml │ │ ├── qservicemanager_ipc.pro │ │ └── service │ │ │ ├── main.cpp │ │ │ └── service.pro │ ├── qservicemetadata │ │ ├── qservicemetadata.pro │ │ ├── testdata │ │ │ ├── DuplicatedServiceTag.xml │ │ │ ├── ServiceTest.xml │ │ │ ├── ServiceTestIPC.xml │ │ │ ├── ServiceTestOld.xml │ │ │ ├── Test1.xml │ │ │ ├── Test10.xml │ │ │ ├── Test11.xml │ │ │ ├── Test12.xml │ │ │ ├── Test13.xml │ │ │ ├── Test14.xml │ │ │ ├── Test15.xml │ │ │ ├── Test16.xml │ │ │ ├── Test17.xml │ │ │ ├── Test18.xml │ │ │ ├── Test19.xml │ │ │ ├── Test2.xml │ │ │ ├── Test20.xml │ │ │ ├── Test21.xml │ │ │ ├── Test22.xml │ │ │ ├── Test23.xml │ │ │ ├── Test24.xml │ │ │ ├── Test25.xml │ │ │ ├── Test26.xml │ │ │ ├── Test27.xml │ │ │ ├── Test28.xml │ │ │ ├── Test29.xml │ │ │ ├── Test3.xml │ │ │ ├── Test30.xml │ │ │ ├── Test31.xml │ │ │ ├── Test32.xml │ │ │ ├── Test33.xml │ │ │ ├── Test34.xml │ │ │ ├── Test35.xml │ │ │ ├── Test36.xml │ │ │ ├── Test37.xml │ │ │ ├── Test38.xml │ │ │ ├── Test4.xml │ │ │ ├── Test5.xml │ │ │ ├── Test6.xml │ │ │ ├── Test7.xml │ │ │ ├── Test8.xml │ │ │ ├── Test9.xml │ │ │ ├── WrongOrder.xml │ │ │ ├── emptyFilePath.xml │ │ │ ├── emptyInterfaceName.xml │ │ │ ├── emptyServiceName.xml │ │ │ ├── emptyVersion.xml │ │ │ ├── latestVersion.xml │ │ │ ├── latestVersion2.xml │ │ │ ├── latestVersion3.xml │ │ │ └── latestVersion4.xml │ │ └── tst_servicemetadata.cpp │ ├── qsfwtestutil.cpp │ ├── qsfwtestutil.h │ ├── servicedatabase │ │ ├── servicedatabase.pro │ │ ├── testdata │ │ │ ├── ServiceAcme.xml │ │ │ ├── ServiceAutobot.xml │ │ │ ├── ServiceCyberdyne.xml │ │ │ ├── ServiceDecepticon.xml │ │ │ ├── ServiceDharma_Flame.xml │ │ │ ├── ServiceDharma_Hydra.xml │ │ │ ├── ServiceDharma_Orchid.xml │ │ │ ├── ServiceDharma_Pearl.xml │ │ │ ├── ServiceDharma_Swan.xml │ │ │ ├── ServiceLuthorCorp.xml │ │ │ ├── ServiceOmni.xml │ │ │ ├── ServicePrimatech.xml │ │ │ ├── ServicePrimatech2error.xml │ │ │ ├── ServiceSkynet.xml │ │ │ ├── ServiceWayneEnt.xml │ │ │ ├── ServiceYamagato.xml │ │ │ └── ServiceYamagatoError.xml │ │ └── tst_servicedatabase.cpp │ ├── servicedeletion │ │ ├── servicedeletion.pro │ │ ├── tst_servicedeletion.cpp │ │ └── xmldata │ │ │ └── testdeletion.xml │ ├── serviceframework.pro │ └── serviceobject │ │ ├── main.cpp │ │ ├── serviceobject.pro │ │ ├── serviceobject_target │ │ ├── serviceobject.qrc │ │ ├── serviceobject.xml │ │ ├── serviceobject_target.cpp │ │ ├── serviceobject_target.h │ │ └── serviceobject_target.pro │ │ ├── test │ │ └── test.pro │ │ └── tst_serviceobject.qml └── systeminfo │ ├── qbatteryinfo │ ├── qbatteryinfo.pro │ └── tst_qbatteryinfo.cpp │ ├── qdeviceinfo │ ├── qdeviceinfo.pro │ └── tst_qdeviceinfo.cpp │ ├── qinputdeviceinfo │ ├── qinputdeviceinfo.pro │ └── tst_qinputdeviceinfo.cpp │ ├── qscreensaver │ ├── qscreensaver.pro │ └── tst_qscreensaver.cpp │ └── systeminfo.pro ├── manual └── sysinfo-tester │ ├── main.cpp │ └── sysinfo-tester.pro └── tests.pro /.qmake.conf: -------------------------------------------------------------------------------- 1 | load(qt_build_config) 2 | 3 | MODULE_VERSION = 5.4.0 4 | -------------------------------------------------------------------------------- /.tag: -------------------------------------------------------------------------------- 1 | 81e08ee508d0a49c588705cc9c47568b09a258db 2 | -------------------------------------------------------------------------------- /config.tests/bluez/bluez.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | CONFIG += link_pkgconfig 4 | PKGCONFIG += bluez 5 | 6 | TARGET = bluez 7 | 8 | SOURCES += main.cpp 9 | -------------------------------------------------------------------------------- /config.tests/bluez/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | 31 | int main() 32 | { 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /config.tests/evdev/evdev.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | CONFIG += link_pkgconfig 4 | PKGCONFIG += libevdev 5 | TARGET = evdev 6 | 7 | SOURCES += main.cpp 8 | -------------------------------------------------------------------------------- /config.tests/evdev/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | 31 | int main() 32 | { 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /config.tests/gconf/gconf.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | CONFIG += link_pkgconfig 4 | PKGCONFIG += gobject-2.0 gconf-2.0 5 | 6 | TARGET = gconf 7 | 8 | SOURCES += main.cpp 9 | -------------------------------------------------------------------------------- /config.tests/gconf/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | #include 31 | #include 32 | 33 | int main() 34 | { 35 | return 0; 36 | } 37 | -------------------------------------------------------------------------------- /config.tests/mir/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | #include 31 | 32 | int main() 33 | { 34 | MirInputConfig* (*function_is_available)(MirConnection *connection); 35 | function_is_available = &mir_connection_create_input_config; 36 | return 0; 37 | } 38 | -------------------------------------------------------------------------------- /config.tests/mir/mir.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | CONFIG += link_pkgconfig 4 | PKGCONFIG += mirclient 5 | 6 | TARGET = mir 7 | 8 | SOURCES += main.cpp 9 | -------------------------------------------------------------------------------- /config.tests/udev/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | 31 | int main() 32 | { 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /config.tests/udev/udev.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | CONFIG += link_pkgconfig 4 | PKGCONFIG += udev 5 | 6 | TARGET = udev 7 | 8 | SOURCES += main.cpp 9 | -------------------------------------------------------------------------------- /config.tests/x11/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | 30 | #include 31 | 32 | int main() 33 | { 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /config.tests/x11/x11.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | CONFIG += link_pkgconfig 4 | PKGCONFIG += x11 5 | 6 | TARGET = x11 7 | 8 | SOURCES += main.cpp 9 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/compat.qdocconf: -------------------------------------------------------------------------------- 1 | alias.i = e 2 | alias.include = input 3 | 4 | macro.0 = "\\\\0" 5 | macro.b = "\\\\b" 6 | macro.n = "\\\\n" 7 | macro.r = "\\\\r" 8 | macro.i = "\\li" 9 | macro.i11 = "\\li{1,1}" 10 | macro.i12 = "\\li{1,2}" 11 | macro.i13 = "\\li{1,3}" 12 | macro.i14 = "\\li{1,4}" 13 | macro.i15 = "\\li{1,5}" 14 | macro.i16 = "\\li{1,6}" 15 | macro.i17 = "\\li{1,7}" 16 | macro.i18 = "\\li{1,8}" 17 | macro.i19 = "\\li{1,9}" 18 | macro.i21 = "\\li{2,1}" 19 | macro.i31 = "\\li{3,1}" 20 | macro.i41 = "\\li{4,1}" 21 | macro.i51 = "\\li{5,1}" 22 | macro.i61 = "\\li{6,1}" 23 | macro.i71 = "\\li{7,1}" 24 | macro.i81 = "\\li{8,1}" 25 | macro.i91 = "\\li{9,1}" 26 | macro.img = "\\image" 27 | macro.endquote = "\\endquotation" 28 | macro.relatesto = "\\relates" 29 | 30 | spurious = "Missing comma in .*" \ 31 | "Missing pattern .*" 32 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/arrow_down.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bg_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bg_l.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bg_l_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bg_l_blank.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bg_ll_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bg_ll_blank.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bg_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bg_r.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bg_ul_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bg_ul_blank.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/box_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/box_bg.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/breadcrumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/breadcrumb.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bullet_dn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bullet_dn.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bullet_gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bullet_gt.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bullet_sq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bullet_sq.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/bullet_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/bullet_up.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/feedbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/feedbackground.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/header_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/header_bg.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/horBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/horBar.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/page.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/page_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/page_bg.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/qt-logo.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/spinner.gif -------------------------------------------------------------------------------- /doc/config/publishsubscribe/images/sprites-combined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/images/sprites-combined.png -------------------------------------------------------------------------------- /doc/config/publishsubscribe/macros.qdocconf: -------------------------------------------------------------------------------- 1 | macro.aacute.HTML = "á" 2 | macro.Aring.HTML = "Å" 3 | macro.aring.HTML = "å" 4 | macro.Auml.HTML = "Ä" 5 | macro.author = "\\b{Author:}" 6 | macro.br.HTML = "
" 7 | macro.BR.HTML = "
" 8 | macro.copyright.HTML = "©" 9 | macro.eacute.HTML = "é" 10 | macro.gui = "\\b" 11 | macro.hr.HTML = "
" 12 | macro.iacute.HTML = "í" 13 | macro.key = "\\b" 14 | macro.menu = "\\b" 15 | macro.note = "\\b{Note:}" 16 | macro.oslash.HTML = "ø" 17 | macro.ouml.HTML = "ö" 18 | macro.QA = "\\e{Qt Assistant}" 19 | macro.QD = "\\e{Qt Designer}" 20 | macro.QL = "\\e{Qt Linguist}" 21 | macro.QQV = "\\e{Qt QML Viewer}" 22 | macro.param = "\\e" 23 | macro.raisedaster.HTML = "*" 24 | macro.rarrow.HTML = "→" 25 | macro.reg.HTML = "®" 26 | macro.return = "Returns" 27 | macro.starslash = "\\c{*/}" 28 | macro.begincomment = "\\c{/*}" 29 | macro.endcomment = "\\c{*/}" 30 | macro.uuml.HTML = "ü" 31 | macro.mdash.HTML = "—" 32 | 33 | macro.beginfloatleft.HTML = "
" 34 | macro.beginfloatright.HTML = "
" 35 | macro.endfloat.HTML = "
" 36 | macro.clearfloat.HTML = "
" 37 | macro.emptyspan.HTML = "" 38 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/qt-defines.qdocconf: -------------------------------------------------------------------------------- 1 | defines = Q_QDOC \ 2 | QT_.*_SUPPORT \ 3 | QT_.*_LIB \ 4 | QT_COMPAT \ 5 | QT_KEYPAD_NAVIGATION \ 6 | QT_NO_EGL \ 7 | QT3_SUPPORT \ 8 | Q_WS_.* \ 9 | Q_OS_.* \ 10 | Q_BYTE_ORDER \ 11 | QT_DEPRECATED \ 12 | Q_NO_USING_KEYWORD \ 13 | __cplusplus 14 | 15 | versionsym = QT_VERSION_STR 16 | 17 | codeindent = 1 18 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/qt-html-default-styles.qdocconf: -------------------------------------------------------------------------------- 1 | # Define the location of the templates to use. Style sheets and scripts are 2 | # specified relative to the template directory and will be copied into 3 | # subdirectories of the output directory. 4 | 5 | HTML.templatedir = . 6 | 7 | HTML.stylesheets = style/offline.css 8 | 9 | HTML.scripts = 10 | 11 | # Files not referenced in any qdoc file (last four needed by qtdemo) 12 | # See also qhp.Qt.extraFiles 13 | extraimages.HTML = qt-logo.png \ 14 | arrow_down.png \ 15 | breadcrumb.png \ 16 | bullet_gt.png \ 17 | bullet_dn.png \ 18 | bullet_sq.png \ 19 | bullet_up.png \ 20 | horBar.png \ 21 | sprites-combined.png 22 | 23 | # Include the style sheets and scripts used. 24 | 25 | HTML.headerstyles = \ 26 | " \n" 27 | 28 | HTML.headerscripts = 29 | 30 | HTML.endheader = \ 31 | "\n" \ 32 | "\n" 33 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/qtpublishsubscribe-dita.qdocconf: -------------------------------------------------------------------------------- 1 | # Name of the project. 2 | project = Qt PublishSubscribe 3 | 4 | # Directories in which to search for files to document and images. 5 | # By default set to the root directory of the project for sources 6 | # and headers and qdoc will therefore generate output for each file. 7 | # Images should be placed in /dic/images and examples in 8 | # /examples. 9 | # Paths are relative to the location of this file. 10 | exampledirs += ../../src/publishsubscribe/examples \ 11 | ../../.. \ 12 | ../../../examples/publishsubscribe \ 13 | ../../src/publishsubscribe 14 | 15 | headerdirs += ../../src/publishsubscribe \ 16 | ../../../src/publishsubscribe 17 | 18 | imagedirs += ../../src/publishsubscribe/images \ 19 | 20 | sourcedirs += ../../src/publishsubscribe \ 21 | ../../../src/publishsubscribe 22 | 23 | excludedirs += 24 | 25 | #Do not change the variables after this line unless you know what you are doing. 26 | 27 | outputdir = ../../ditaxml 28 | outputformats = DITAXML 29 | 30 | examples.fileextensions = "*.cpp *.h *.js *.svg *.xml *.ui *.qml" 31 | examples.imageextensions = "*.png *.jpeg *.jpg *.gif *.mng" 32 | headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx" 33 | sources.fileextensions = "*.cpp *.qdoc *.mm *.qml" 34 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/style/style_ie6.css: -------------------------------------------------------------------------------- 1 | .indexbox, .indexboxcont, .group { 2 | zoom: 1; 3 | height: 1%; 4 | } 5 | 6 | .sidebar { 7 | margin-left: 3px; 8 | width: 199px; 9 | overflow: hidden; 10 | } 11 | 12 | .sidebar .search form { 13 | position: relative; 14 | } 15 | 16 | .sidebar .search form fieldset { 17 | position: absolute; 18 | margin-top: -1px; 19 | } 20 | 21 | .sidebar .search form input#searchstring { 22 | border: 1px solid #fff; 23 | height: 18px; 24 | } 25 | 26 | .wrap { 27 | zoom: 1; 28 | } 29 | 30 | .content, 31 | .toolbar { 32 | zoom: 1; 33 | margin-left: -3px; 34 | position: relative; 35 | } 36 | 37 | .indexbox { 38 | clear: both; 39 | } 40 | 41 | .indexboxcont .section { 42 | zoom: 1; 43 | float: left; 44 | } 45 | 46 | .indexboxcont .sectionlist { 47 | zoom: 1; 48 | float: left; 49 | } 50 | 51 | .wrap .toolbar .toolbuttons li { 52 | text-indent: 0; 53 | margin-right: 8px; 54 | } -------------------------------------------------------------------------------- /doc/config/publishsubscribe/style/style_ie7.css: -------------------------------------------------------------------------------- 1 | .indexbox, .indexboxcont, .group { 2 | min-height: 1px; 3 | } 4 | 5 | .sidebar .search form input#searchstring { 6 | border: 1px solid #fff; 7 | height: 17px; 8 | } 9 | 10 | 11 | .indexboxcont .section { 12 | zoom: 1; 13 | float: left; 14 | } 15 | 16 | .indexboxcont .sectionlist { 17 | zoom: 1; 18 | float: left; 19 | } 20 | -------------------------------------------------------------------------------- /doc/config/publishsubscribe/style/style_ie8.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/publishsubscribe/style/style_ie8.css -------------------------------------------------------------------------------- /doc/config/publishsubscribe/style/superfish.css: -------------------------------------------------------------------------------- 1 | .sf-menu, .sf-menu * { 2 | margin: 0; 3 | padding: 0; 4 | list-style: none; 5 | } 6 | .sf-menu { 7 | line-height: 1.0; 8 | } 9 | .sf-menu ul { 10 | position: absolute; 11 | top: -999em; 12 | width: 10em; /* left offset of submenus need to match (see below) */ 13 | } 14 | .sf-menu ul li { 15 | width: 100%; 16 | } 17 | .sf-menu li:hover { 18 | visibility: inherit; /* fixes IE7 'sticky bug' */ 19 | } 20 | .sf-menu li { 21 | float: left; 22 | position: relative; 23 | } 24 | .sf-menu a { 25 | display: block; 26 | position: relative; 27 | } 28 | .sf-menu li:hover ul, 29 | .sf-menu li.sfHover ul { 30 | left: 0; 31 | top: 2.5em; /* match top ul list item height */ 32 | z-index: 99; 33 | } 34 | ul.sf-menu li:hover li ul, 35 | ul.sf-menu li.sfHover li ul { 36 | top: -999em; 37 | } 38 | ul.sf-menu li li:hover ul, 39 | ul.sf-menu li li.sfHover ul { 40 | left: 10em; /* match ul width */ 41 | top: 0; 42 | } 43 | ul.sf-menu li li:hover li ul, 44 | ul.sf-menu li li.sfHover li ul { 45 | top: -999em; 46 | } 47 | ul.sf-menu li li li:hover ul, 48 | ul.sf-menu li li li.sfHover ul { 49 | left: 10em; /* match ul width */ 50 | top: 0; 51 | } 52 | -------------------------------------------------------------------------------- /doc/config/serviceframework/compat.qdocconf: -------------------------------------------------------------------------------- 1 | alias.i = e 2 | alias.include = input 3 | 4 | macro.0 = "\\\\0" 5 | macro.b = "\\\\b" 6 | macro.n = "\\\\n" 7 | macro.r = "\\\\r" 8 | macro.i = "\\li" 9 | macro.i11 = "\\li{1,1}" 10 | macro.i12 = "\\li{1,2}" 11 | macro.i13 = "\\li{1,3}" 12 | macro.i14 = "\\li{1,4}" 13 | macro.i15 = "\\li{1,5}" 14 | macro.i16 = "\\li{1,6}" 15 | macro.i17 = "\\li{1,7}" 16 | macro.i18 = "\\li{1,8}" 17 | macro.i19 = "\\li{1,9}" 18 | macro.i21 = "\\li{2,1}" 19 | macro.i31 = "\\li{3,1}" 20 | macro.i41 = "\\li{4,1}" 21 | macro.i51 = "\\li{5,1}" 22 | macro.i61 = "\\li{6,1}" 23 | macro.i71 = "\\li{7,1}" 24 | macro.i81 = "\\li{8,1}" 25 | macro.i91 = "\\li{9,1}" 26 | macro.img = "\\image" 27 | macro.endquote = "\\endquotation" 28 | macro.relatesto = "\\relates" 29 | 30 | spurious = "Missing comma in .*" \ 31 | "Missing pattern .*" 32 | -------------------------------------------------------------------------------- /doc/config/serviceframework/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/arrow_down.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bg_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bg_l.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bg_l_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bg_l_blank.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bg_ll_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bg_ll_blank.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bg_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bg_r.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bg_ul_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bg_ul_blank.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/box_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/box_bg.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/breadcrumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/breadcrumb.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bullet_dn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bullet_dn.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bullet_gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bullet_gt.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bullet_sq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bullet_sq.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/bullet_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/bullet_up.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/feedbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/feedbackground.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/header_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/header_bg.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/horBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/horBar.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/page.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/page_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/page_bg.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/qt-logo.png -------------------------------------------------------------------------------- /doc/config/serviceframework/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/spinner.gif -------------------------------------------------------------------------------- /doc/config/serviceframework/images/sprites-combined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/images/sprites-combined.png -------------------------------------------------------------------------------- /doc/config/serviceframework/macros.qdocconf: -------------------------------------------------------------------------------- 1 | macro.aacute.HTML = "á" 2 | macro.Aring.HTML = "Å" 3 | macro.aring.HTML = "å" 4 | macro.Auml.HTML = "Ä" 5 | macro.author = "\\b{Author:}" 6 | macro.br.HTML = "
" 7 | macro.BR.HTML = "
" 8 | macro.copyright.HTML = "©" 9 | macro.eacute.HTML = "é" 10 | macro.gui = "\\b" 11 | macro.hr.HTML = "
" 12 | macro.iacute.HTML = "í" 13 | macro.key = "\\b" 14 | macro.menu = "\\b" 15 | macro.note = "\\b{Note:}" 16 | macro.oslash.HTML = "ø" 17 | macro.ouml.HTML = "ö" 18 | macro.QA = "\\e{Qt Assistant}" 19 | macro.QD = "\\e{Qt Designer}" 20 | macro.QL = "\\e{Qt Linguist}" 21 | macro.QQV = "\\e{Qt QML Viewer}" 22 | macro.param = "\\e" 23 | macro.raisedaster.HTML = "*" 24 | macro.rarrow.HTML = "→" 25 | macro.reg.HTML = "®" 26 | macro.return = "Returns" 27 | macro.starslash = "\\c{*/}" 28 | macro.begincomment = "\\c{/*}" 29 | macro.endcomment = "\\c{*/}" 30 | macro.uuml.HTML = "ü" 31 | macro.mdash.HTML = "—" 32 | 33 | macro.beginfloatleft.HTML = "
" 34 | macro.beginfloatright.HTML = "
" 35 | macro.endfloat.HTML = "
" 36 | macro.clearfloat.HTML = "
" 37 | macro.emptyspan.HTML = "" 38 | -------------------------------------------------------------------------------- /doc/config/serviceframework/qt-defines.qdocconf: -------------------------------------------------------------------------------- 1 | defines = Q_QDOC \ 2 | QT_.*_SUPPORT \ 3 | QT_.*_LIB \ 4 | QT_COMPAT \ 5 | QT_KEYPAD_NAVIGATION \ 6 | QT_NO_EGL \ 7 | QT3_SUPPORT \ 8 | Q_WS_.* \ 9 | Q_OS_.* \ 10 | Q_BYTE_ORDER \ 11 | QT_DEPRECATED \ 12 | Q_NO_USING_KEYWORD \ 13 | __cplusplus 14 | 15 | versionsym = QT_VERSION_STR 16 | 17 | codeindent = 1 18 | -------------------------------------------------------------------------------- /doc/config/serviceframework/qt-html-default-styles.qdocconf: -------------------------------------------------------------------------------- 1 | # Define the location of the templates to use. Style sheets and scripts are 2 | # specified relative to the template directory and will be copied into 3 | # subdirectories of the output directory. 4 | 5 | HTML.templatedir = . 6 | 7 | HTML.stylesheets = style/offline.css 8 | 9 | HTML.scripts = 10 | 11 | # Files not referenced in any qdoc file (last four needed by qtdemo) 12 | # See also qhp.Qt.extraFiles 13 | extraimages.HTML = qt-logo.png \ 14 | arrow_down.png \ 15 | breadcrumb.png \ 16 | bullet_gt.png \ 17 | bullet_dn.png \ 18 | bullet_sq.png \ 19 | bullet_up.png \ 20 | horBar.png \ 21 | sprites-combined.png 22 | 23 | # Include the style sheets and scripts used. 24 | 25 | HTML.headerstyles = \ 26 | " \n" 27 | 28 | HTML.headerscripts = 29 | 30 | HTML.endheader = \ 31 | "\n" \ 32 | "\n" 33 | -------------------------------------------------------------------------------- /doc/config/serviceframework/qtserviceframework-dita.qdocconf: -------------------------------------------------------------------------------- 1 | # Name of the project. 2 | project = Qt ServiceFramework 3 | 4 | # Directories in which to search for files to document and images. 5 | # By default set to the root directory of the project for sources 6 | # and headers and qdoc will therefore generate output for each file. 7 | # Images should be placed in /dic/images and examples in 8 | # /examples. 9 | # Paths are relative to the location of this file. 10 | exampledirs += ../../src/serviceframework/examples \ 11 | ../../.. \ 12 | ../../../examples/serviceframework \ 13 | ../../src/serviceframework 14 | 15 | headerdirs += ../../src/serviceframework \ 16 | ../../../src/serviceframework 17 | 18 | imagedirs += ../../src/serviceframework/images \ 19 | 20 | sourcedirs += ../../src/serviceframework \ 21 | ../../../src/serviceframework 22 | 23 | excludedirs += 24 | 25 | #Do not change the variables after this line unless you know what you are doing. 26 | 27 | outputdir = ../../ditaxml 28 | outputformats = DITAXML 29 | 30 | examples.fileextensions = "*.cpp *.h *.js *.svg *.xml *.ui *.qml" 31 | examples.imageextensions = "*.png *.jpeg *.jpg *.gif *.mng" 32 | headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx" 33 | sources.fileextensions = "*.cpp *.qdoc *.mm *.qml" 34 | -------------------------------------------------------------------------------- /doc/config/serviceframework/style/style_ie6.css: -------------------------------------------------------------------------------- 1 | .indexbox, .indexboxcont, .group { 2 | zoom: 1; 3 | height: 1%; 4 | } 5 | 6 | .sidebar { 7 | margin-left: 3px; 8 | width: 199px; 9 | overflow: hidden; 10 | } 11 | 12 | .sidebar .search form { 13 | position: relative; 14 | } 15 | 16 | .sidebar .search form fieldset { 17 | position: absolute; 18 | margin-top: -1px; 19 | } 20 | 21 | .sidebar .search form input#searchstring { 22 | border: 1px solid #fff; 23 | height: 18px; 24 | } 25 | 26 | .wrap { 27 | zoom: 1; 28 | } 29 | 30 | .content, 31 | .toolbar { 32 | zoom: 1; 33 | margin-left: -3px; 34 | position: relative; 35 | } 36 | 37 | .indexbox { 38 | clear: both; 39 | } 40 | 41 | .indexboxcont .section { 42 | zoom: 1; 43 | float: left; 44 | } 45 | 46 | .indexboxcont .sectionlist { 47 | zoom: 1; 48 | float: left; 49 | } 50 | 51 | .wrap .toolbar .toolbuttons li { 52 | text-indent: 0; 53 | margin-right: 8px; 54 | } -------------------------------------------------------------------------------- /doc/config/serviceframework/style/style_ie7.css: -------------------------------------------------------------------------------- 1 | .indexbox, .indexboxcont, .group { 2 | min-height: 1px; 3 | } 4 | 5 | .sidebar .search form input#searchstring { 6 | border: 1px solid #fff; 7 | height: 17px; 8 | } 9 | 10 | 11 | .indexboxcont .section { 12 | zoom: 1; 13 | float: left; 14 | } 15 | 16 | .indexboxcont .sectionlist { 17 | zoom: 1; 18 | float: left; 19 | } 20 | -------------------------------------------------------------------------------- /doc/config/serviceframework/style/style_ie8.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/serviceframework/style/style_ie8.css -------------------------------------------------------------------------------- /doc/config/serviceframework/style/superfish.css: -------------------------------------------------------------------------------- 1 | .sf-menu, .sf-menu * { 2 | margin: 0; 3 | padding: 0; 4 | list-style: none; 5 | } 6 | .sf-menu { 7 | line-height: 1.0; 8 | } 9 | .sf-menu ul { 10 | position: absolute; 11 | top: -999em; 12 | width: 10em; /* left offset of submenus need to match (see below) */ 13 | } 14 | .sf-menu ul li { 15 | width: 100%; 16 | } 17 | .sf-menu li:hover { 18 | visibility: inherit; /* fixes IE7 'sticky bug' */ 19 | } 20 | .sf-menu li { 21 | float: left; 22 | position: relative; 23 | } 24 | .sf-menu a { 25 | display: block; 26 | position: relative; 27 | } 28 | .sf-menu li:hover ul, 29 | .sf-menu li.sfHover ul { 30 | left: 0; 31 | top: 2.5em; /* match top ul list item height */ 32 | z-index: 99; 33 | } 34 | ul.sf-menu li:hover li ul, 35 | ul.sf-menu li.sfHover li ul { 36 | top: -999em; 37 | } 38 | ul.sf-menu li li:hover ul, 39 | ul.sf-menu li li.sfHover ul { 40 | left: 10em; /* match ul width */ 41 | top: 0; 42 | } 43 | ul.sf-menu li li:hover li ul, 44 | ul.sf-menu li li.sfHover li ul { 45 | top: -999em; 46 | } 47 | ul.sf-menu li li li:hover ul, 48 | ul.sf-menu li li li.sfHover ul { 49 | left: 10em; /* match ul width */ 50 | top: 0; 51 | } 52 | -------------------------------------------------------------------------------- /doc/config/systeminfo/compat.qdocconf: -------------------------------------------------------------------------------- 1 | alias.i = e 2 | alias.include = input 3 | 4 | macro.0 = "\\\\0" 5 | macro.b = "\\\\b" 6 | macro.n = "\\\\n" 7 | macro.r = "\\\\r" 8 | macro.i = "\\li" 9 | macro.i11 = "\\li{1,1}" 10 | macro.i12 = "\\li{1,2}" 11 | macro.i13 = "\\li{1,3}" 12 | macro.i14 = "\\li{1,4}" 13 | macro.i15 = "\\li{1,5}" 14 | macro.i16 = "\\li{1,6}" 15 | macro.i17 = "\\li{1,7}" 16 | macro.i18 = "\\li{1,8}" 17 | macro.i19 = "\\li{1,9}" 18 | macro.i21 = "\\li{2,1}" 19 | macro.i31 = "\\li{3,1}" 20 | macro.i41 = "\\li{4,1}" 21 | macro.i51 = "\\li{5,1}" 22 | macro.i61 = "\\li{6,1}" 23 | macro.i71 = "\\li{7,1}" 24 | macro.i81 = "\\li{8,1}" 25 | macro.i91 = "\\li{9,1}" 26 | macro.img = "\\image" 27 | macro.endquote = "\\endquotation" 28 | macro.relatesto = "\\relates" 29 | 30 | spurious = "Missing comma in .*" \ 31 | "Missing pattern .*" 32 | -------------------------------------------------------------------------------- /doc/config/systeminfo/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/arrow_down.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bg_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bg_l.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bg_l_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bg_l_blank.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bg_ll_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bg_ll_blank.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bg_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bg_r.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bg_ul_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bg_ul_blank.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/box_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/box_bg.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/breadcrumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/breadcrumb.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bullet_dn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bullet_dn.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bullet_gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bullet_gt.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bullet_sq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bullet_sq.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/bullet_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/bullet_up.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/feedbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/feedbackground.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/header_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/header_bg.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/horBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/horBar.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/page.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/page_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/page_bg.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/qt-logo.png -------------------------------------------------------------------------------- /doc/config/systeminfo/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/spinner.gif -------------------------------------------------------------------------------- /doc/config/systeminfo/images/sprites-combined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/images/sprites-combined.png -------------------------------------------------------------------------------- /doc/config/systeminfo/macros.qdocconf: -------------------------------------------------------------------------------- 1 | macro.aacute.HTML = "á" 2 | macro.Aring.HTML = "Å" 3 | macro.aring.HTML = "å" 4 | macro.Auml.HTML = "Ä" 5 | macro.author = "\\b{Author:}" 6 | macro.br.HTML = "
" 7 | macro.BR.HTML = "
" 8 | macro.copyright.HTML = "©" 9 | macro.eacute.HTML = "é" 10 | macro.gui = "\\b" 11 | macro.hr.HTML = "
" 12 | macro.iacute.HTML = "í" 13 | macro.key = "\\b" 14 | macro.menu = "\\b" 15 | macro.note = "\\b{Note:}" 16 | macro.oslash.HTML = "ø" 17 | macro.ouml.HTML = "ö" 18 | macro.QA = "\\e{Qt Assistant}" 19 | macro.QD = "\\e{Qt Designer}" 20 | macro.QL = "\\e{Qt Linguist}" 21 | macro.QQV = "\\e{Qt QML Viewer}" 22 | macro.param = "\\e" 23 | macro.raisedaster.HTML = "*" 24 | macro.rarrow.HTML = "→" 25 | macro.reg.HTML = "®" 26 | macro.return = "Returns" 27 | macro.starslash = "\\c{*/}" 28 | macro.begincomment = "\\c{/*}" 29 | macro.endcomment = "\\c{*/}" 30 | macro.uuml.HTML = "ü" 31 | macro.mdash.HTML = "—" 32 | 33 | macro.beginfloatleft.HTML = "
" 34 | macro.beginfloatright.HTML = "
" 35 | macro.endfloat.HTML = "
" 36 | macro.clearfloat.HTML = "
" 37 | macro.emptyspan.HTML = "" 38 | -------------------------------------------------------------------------------- /doc/config/systeminfo/qt-defines.qdocconf: -------------------------------------------------------------------------------- 1 | defines = Q_QDOC \ 2 | QT_.*_SUPPORT \ 3 | QT_.*_LIB \ 4 | QT_COMPAT \ 5 | QT_KEYPAD_NAVIGATION \ 6 | QT_NO_EGL \ 7 | QT3_SUPPORT \ 8 | Q_WS_.* \ 9 | Q_OS_.* \ 10 | Q_BYTE_ORDER \ 11 | QT_DEPRECATED \ 12 | Q_NO_USING_KEYWORD \ 13 | __cplusplus 14 | 15 | versionsym = QT_VERSION_STR 16 | 17 | codeindent = 1 18 | -------------------------------------------------------------------------------- /doc/config/systeminfo/qt-html-default-styles.qdocconf: -------------------------------------------------------------------------------- 1 | # Define the location of the templates to use. Style sheets and scripts are 2 | # specified relative to the template directory and will be copied into 3 | # subdirectories of the output directory. 4 | 5 | HTML.templatedir = . 6 | 7 | HTML.stylesheets = style/offline.css 8 | 9 | HTML.scripts = 10 | 11 | # Files not referenced in any qdoc file (last four needed by qtdemo) 12 | # See also qhp.Qt.extraFiles 13 | extraimages.HTML = qt-logo.png \ 14 | arrow_down.png \ 15 | breadcrumb.png \ 16 | bullet_gt.png \ 17 | bullet_dn.png \ 18 | bullet_sq.png \ 19 | bullet_up.png \ 20 | horBar.png \ 21 | sprites-combined.png 22 | 23 | # Include the style sheets and scripts used. 24 | 25 | HTML.headerstyles = \ 26 | " \n" 27 | 28 | HTML.headerscripts = 29 | 30 | HTML.endheader = \ 31 | "\n" \ 32 | "\n" 33 | -------------------------------------------------------------------------------- /doc/config/systeminfo/qtsysteminfo-dita.qdocconf: -------------------------------------------------------------------------------- 1 | # Name of the project. 2 | project = Qt SystemInfo 3 | 4 | # Directories in which to search for files to document and images. 5 | # By default set to the root directory of the project for sources 6 | # and headers and qdoc will therefore generate output for each file. 7 | # Images should be placed in /dic/images and examples in 8 | # /examples. 9 | # Paths are relative to the location of this file. 10 | exampledirs += ../../src/systeminfo/examples \ 11 | ../../.. \ 12 | ../../../examples/systeminfo \ 13 | ../../src/systeminfo 14 | 15 | headerdirs += ../../src/systeminfo \ 16 | ../../../src/systeminfo 17 | 18 | imagedirs += ../../src/systeminfo/images \ 19 | 20 | sourcedirs += ../../src/systeminfo \ 21 | ../../../src/systeminfo 22 | 23 | excludedirs += 24 | 25 | #Do not change the variables after this line unless you know what you are doing. 26 | 27 | outputdir = ../../ditaxml 28 | outputformats = DITAXML 29 | 30 | examples.fileextensions = "*.cpp *.h *.js *.svg *.xml *.ui *.qml" 31 | examples.imageextensions = "*.png *.jpeg *.jpg *.gif *.mng" 32 | headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx" 33 | sources.fileextensions = "*.cpp *.qdoc *.mm *.qml" 34 | -------------------------------------------------------------------------------- /doc/config/systeminfo/style/style_ie6.css: -------------------------------------------------------------------------------- 1 | .indexbox, .indexboxcont, .group { 2 | zoom: 1; 3 | height: 1%; 4 | } 5 | 6 | .sidebar { 7 | margin-left: 3px; 8 | width: 199px; 9 | overflow: hidden; 10 | } 11 | 12 | .sidebar .search form { 13 | position: relative; 14 | } 15 | 16 | .sidebar .search form fieldset { 17 | position: absolute; 18 | margin-top: -1px; 19 | } 20 | 21 | .sidebar .search form input#searchstring { 22 | border: 1px solid #fff; 23 | height: 18px; 24 | } 25 | 26 | .wrap { 27 | zoom: 1; 28 | } 29 | 30 | .content, 31 | .toolbar { 32 | zoom: 1; 33 | margin-left: -3px; 34 | position: relative; 35 | } 36 | 37 | .indexbox { 38 | clear: both; 39 | } 40 | 41 | .indexboxcont .section { 42 | zoom: 1; 43 | float: left; 44 | } 45 | 46 | .indexboxcont .sectionlist { 47 | zoom: 1; 48 | float: left; 49 | } 50 | 51 | .wrap .toolbar .toolbuttons li { 52 | text-indent: 0; 53 | margin-right: 8px; 54 | } -------------------------------------------------------------------------------- /doc/config/systeminfo/style/style_ie7.css: -------------------------------------------------------------------------------- 1 | .indexbox, .indexboxcont, .group { 2 | min-height: 1px; 3 | } 4 | 5 | .sidebar .search form input#searchstring { 6 | border: 1px solid #fff; 7 | height: 17px; 8 | } 9 | 10 | 11 | .indexboxcont .section { 12 | zoom: 1; 13 | float: left; 14 | } 15 | 16 | .indexboxcont .sectionlist { 17 | zoom: 1; 18 | float: left; 19 | } 20 | -------------------------------------------------------------------------------- /doc/config/systeminfo/style/style_ie8.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/config/systeminfo/style/style_ie8.css -------------------------------------------------------------------------------- /doc/config/systeminfo/style/superfish.css: -------------------------------------------------------------------------------- 1 | .sf-menu, .sf-menu * { 2 | margin: 0; 3 | padding: 0; 4 | list-style: none; 5 | } 6 | .sf-menu { 7 | line-height: 1.0; 8 | } 9 | .sf-menu ul { 10 | position: absolute; 11 | top: -999em; 12 | width: 10em; /* left offset of submenus need to match (see below) */ 13 | } 14 | .sf-menu ul li { 15 | width: 100%; 16 | } 17 | .sf-menu li:hover { 18 | visibility: inherit; /* fixes IE7 'sticky bug' */ 19 | } 20 | .sf-menu li { 21 | float: left; 22 | position: relative; 23 | } 24 | .sf-menu a { 25 | display: block; 26 | position: relative; 27 | } 28 | .sf-menu li:hover ul, 29 | .sf-menu li.sfHover ul { 30 | left: 0; 31 | top: 2.5em; /* match top ul list item height */ 32 | z-index: 99; 33 | } 34 | ul.sf-menu li:hover li ul, 35 | ul.sf-menu li.sfHover li ul { 36 | top: -999em; 37 | } 38 | ul.sf-menu li li:hover ul, 39 | ul.sf-menu li li.sfHover ul { 40 | left: 10em; /* match ul width */ 41 | top: 0; 42 | } 43 | ul.sf-menu li li:hover li ul, 44 | ul.sf-menu li li.sfHover li ul { 45 | top: -999em; 46 | } 47 | ul.sf-menu li li li:hover ul, 48 | ul.sf-menu li li li.sfHover ul { 49 | left: 10em; /* match ul width */ 50 | top: 0; 51 | } 52 | -------------------------------------------------------------------------------- /doc/src/publishsubscribe/examples/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | Timestamp=2011,8,29,16,5,17 3 | ViewMode=1 4 | -------------------------------------------------------------------------------- /doc/src/publishsubscribe/examples/examples-publishsubscribe.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2017 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the documentation of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:FDL$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU Free Documentation License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU Free 19 | ** Documentation License version 1.3 as published by the Free Software 20 | ** Foundation and appearing in the file included in the packaging of 21 | ** this file. Please review the following information to ensure 22 | ** the GNU Free Documentation License version 1.3 requirements 23 | ** will be met: https://www.gnu.org/licenses/fdl-1.3.html. 24 | ** $QT_END_LICENSE$ 25 | ** 26 | ****************************************************************************/ 27 | 28 | /*! 29 | \group publishsubscribe-examples 30 | \title PublishSubscribe Examples 31 | \brief Examples for the QtSystems - Publish Subscribe sub-module 32 | \ingroup qtsystems 33 | 34 | These are the Publish and Subscribe examples. 35 | 36 | \generatelist related 37 | */ 38 | 39 | -------------------------------------------------------------------------------- /doc/src/publishsubscribe/images/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | Timestamp=2011,8,29,16,7,25 3 | ViewMode=1 4 | -------------------------------------------------------------------------------- /doc/src/publishsubscribe/images/battery-publisher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/publishsubscribe/images/battery-publisher.png -------------------------------------------------------------------------------- /doc/src/publishsubscribe/images/battery-subscriber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/publishsubscribe/images/battery-subscriber.png -------------------------------------------------------------------------------- /doc/src/publishsubscribe/images/publish-subscribe-publisher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/publishsubscribe/images/publish-subscribe-publisher.png -------------------------------------------------------------------------------- /doc/src/publishsubscribe/images/publish-subscribe-subscriber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/publishsubscribe/images/publish-subscribe-subscriber.png -------------------------------------------------------------------------------- /doc/src/publishsubscribe/plugins/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | Timestamp=2011,8,29,16,8,58 3 | ViewMode=1 4 | -------------------------------------------------------------------------------- /doc/src/serviceframework/examples/serviceframework-examples.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2017 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the documentation of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:FDL$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU Free Documentation License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU Free 19 | ** Documentation License version 1.3 as published by the Free Software 20 | ** Foundation and appearing in the file included in the packaging of 21 | ** this file. Please review the following information to ensure 22 | ** the GNU Free Documentation License version 1.3 requirements 23 | ** will be met: https://www.gnu.org/licenses/fdl-1.3.html. 24 | ** $QT_END_LICENSE$ 25 | ** 26 | ****************************************************************************/ 27 | 28 | /*! 29 | \group serviceframework-examples 30 | \title ServiceFramework Examples 31 | \brief Examples for the QtSystems - Service Framework sub-module 32 | \ingroup qtsystems 33 | 34 | These are the Service Framework examples. 35 | 36 | \generatelist related 37 | */ 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /doc/src/serviceframework/images/DialerServiceGUI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/serviceframework/images/DialerServiceGUI.png -------------------------------------------------------------------------------- /doc/src/serviceframework/images/DialerServiceUML.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/serviceframework/images/DialerServiceUML.png -------------------------------------------------------------------------------- /doc/src/serviceframework/images/servicebrowser-attributes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/serviceframework/images/servicebrowser-attributes.png -------------------------------------------------------------------------------- /doc/src/serviceframework/images/servicebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/serviceframework/images/servicebrowser.png -------------------------------------------------------------------------------- /doc/src/serviceframework/images/servicexmlgen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/doc/src/serviceframework/images/servicexmlgen.png -------------------------------------------------------------------------------- /doc/src/serviceframework/servicefwk-module.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2017 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the documentation of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:FDL$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU Free Documentation License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU Free 19 | ** Documentation License version 1.3 as published by the Free Software 20 | ** Foundation and appearing in the file included in the packaging of 21 | ** this file. Please review the following information to ensure 22 | ** the GNU Free Documentation License version 1.3 requirements 23 | ** will be met: https://www.gnu.org/licenses/fdl-1.3.html. 24 | ** $QT_END_LICENSE$ 25 | ** 26 | ****************************************************************************/ 27 | 28 | 29 | 30 | 31 | /*! 32 | \module QtServiceFramework 33 | \title Qt Service Framework Module 34 | \ingroup modules 35 | 36 | \brief Service Framework is an Inter-Process Communications (IPC) and 37 | Remote Procedure Calling (RPC) machanism designed to operate very 38 | efficient, platform independent and be very easy to work with. It 39 | operates between Qt applications, and extends the well known Qt Signals 40 | and Slots mechanism to operate between different applications. 41 | 42 | To use the module in Qt Quick you will need to load it with the command 43 | \qml 44 | import QtServiceFramework 5.0 45 | \endqml 46 | 47 | For C++, to include the definitions of the module's classes, use the 48 | following directive: 49 | 50 | \code 51 | #include 52 | \endcode 53 | 54 | And for linking against the module add this to your qmake .pro file 55 | 56 | \code 57 | QT += serviceframework 58 | \endcode 59 | 60 | 61 | See more in the \l{Qt Service Framework}{Qt Service Framework Overview}. 62 | 63 | */ 64 | 65 | 66 | -------------------------------------------------------------------------------- /doc/src/serviceframework/snippets/snippets.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | #SUBDIRS = service-snippets 4 | -------------------------------------------------------------------------------- /doc/src/systeminfo/systeminfo.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2017 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the documentation of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:FDL$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU Free Documentation License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU Free 19 | ** Documentation License version 1.3 as published by the Free Software 20 | ** Foundation and appearing in the file included in the packaging of 21 | ** this file. Please review the following information to ensure 22 | ** the GNU Free Documentation License version 1.3 requirements 23 | ** will be met: https://www.gnu.org/licenses/fdl-1.3.html. 24 | ** $QT_END_LICENSE$ 25 | ** 26 | ****************************************************************************/ 27 | 28 | /*! 29 | \page systeminfo.html 30 | 31 | \title Qt System Info Module 32 | \brief A set of APIs to discover system related information and capabilities. 33 | 34 | \tableofcontents 35 | 36 | \ingroup technology-apis 37 | 38 | The Qt System Info module provides a set of APIs to discover system 39 | related information and capabilities, including the batteries being used, 40 | activated locks, different hardware features, network, screen saver, and 41 | storage, etc. 42 | 43 | \section1 Buildtime configuration 44 | 45 | Qt SystemInfo for Linux can use a number of technololgies based on dbus. 46 | These can be configured at build time through the CONFIG of qmake. 47 | 48 | * CONFIG+=upower (linux) will build the UPower dbus backend. 49 | * CONFIG+=ofono (linux) will build the Ofono dbus backend. 50 | * CONFIG+=nox11option (linux) Turns off the use of x11 in QScreenSaver (and screen blanking 51 | disabling and enabling will not work) 52 | 53 | \section1 C++ Classes 54 | \annotatedlist systeminfo 55 | 56 | \section1 QML Elements 57 | \annotatedlist qml-systeminfo 58 | 59 | \section1 Examples 60 | */ 61 | -------------------------------------------------------------------------------- /examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | #!without-sericeframework: SUBDIRS += serviceframework 4 | 5 | #!without-publishsubscribe: SUBDIRS += publishsubscribe 6 | !macx:!without-systeminfo: SUBDIRS += systeminfo 7 | 8 | 9 | # install 10 | sources.files = README *.pro 11 | sources.path = $$[QT_INSTALL_EXAMPLES] 12 | INSTALLS += sources 13 | 14 | maemo5: CONFIG += qt_example 15 | -------------------------------------------------------------------------------- /examples/publishsubscribe/battery-charge/battery-charge.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = battery-publisher 3 | -------------------------------------------------------------------------------- /examples/publishsubscribe/battery-charge/battery-publisher/battery-publisher.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | QT += publishsubscribe widgets 3 | 4 | TARGET = battery-publisher 5 | 6 | HEADERS = batterypublisher.h 7 | 8 | SOURCES = main.cpp \ 9 | batterypublisher.cpp 10 | 11 | FORMS = batterypublisher.ui 12 | -------------------------------------------------------------------------------- /examples/publishsubscribe/battery-charge/battery-subscriber/content/bubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/examples/publishsubscribe/battery-charge/battery-subscriber/content/bubble.png -------------------------------------------------------------------------------- /examples/publishsubscribe/publish-subscribe/publish-subscribe.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | QT += publishsubscribe widgets 3 | TARGET = publish-subscribe 4 | 5 | HEADERS = publisherdialog.h \ 6 | subscriberdialog.h 7 | 8 | SOURCES = main.cpp \ 9 | publisherdialog.cpp \ 10 | subscriberdialog.cpp 11 | 12 | FORMS = publisherdialog.ui \ 13 | subscriberdialog.ui 14 | -------------------------------------------------------------------------------- /examples/publishsubscribe/publish-subscribe/subscriberdialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | SubscriberDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 232 10 | 346 11 | 12 | 13 | 14 | MainWindow 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | Base path: 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 0 32 | 0 33 | 34 | 35 | 36 | /example 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | Connect 46 | 47 | 48 | 49 | 50 | 51 | 52 | Qt::Horizontal 53 | 54 | 55 | QDialogButtonBox::Close 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /examples/publishsubscribe/publishsubscribe.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | qtHaveModule(widgets) { 4 | SUBDIRS += \ 5 | battery-charge \ 6 | publish-subscribe 7 | } 8 | -------------------------------------------------------------------------------- /examples/serviceframework/dialer/content/call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/examples/serviceframework/dialer/content/call.png -------------------------------------------------------------------------------- /examples/serviceframework/dialer/content/hangup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/examples/serviceframework/dialer/content/hangup.png -------------------------------------------------------------------------------- /examples/serviceframework/dialer/content/qmldir: -------------------------------------------------------------------------------- 1 | DialButton DialButton.qml 2 | DialerList DialerList.qml 3 | DialScreen DialScreen.qml 4 | -------------------------------------------------------------------------------- /examples/serviceframework/dialer/dialer.pro: -------------------------------------------------------------------------------- 1 | QT = core gui serviceframework qml quick 2 | win32: CONFIG += console 3 | mac:CONFIG -= app_bundle 4 | 5 | SOURCES += main.cpp 6 | 7 | RESOURCES += dialer.qrc 8 | 9 | QML_CONTENT_FILES = \ 10 | content/DialButton.qml \ 11 | content/DialScreen.qml \ 12 | content/DialerList.qml \ 13 | content/qmldir \ 14 | content/call.png \ 15 | content/hangup.png 16 | 17 | QML_MISC_FILES = \ 18 | dialer.qml \ 19 | icon.png 20 | 21 | OTHER_FILES += \ 22 | content/DialButton.qml \ 23 | content/DialScreen.qml \ 24 | content/DialerList.qml \ 25 | content/qmldir \ 26 | content/call.png \ 27 | content/hangup.png \ 28 | dialer.qml \ 29 | icon.png 30 | 31 | 32 | # install 33 | target.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/dialer 34 | sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS $$QML_MISC_FILES dialer.pro 35 | sources.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/dialer 36 | qmlsources.files = $$QML_CONTENT_FILES 37 | qmlsources.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/dialer/content 38 | mtlib|config_mtlib { 39 | info.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/dialer 40 | info.files = info.json 41 | } 42 | INSTALLS += target sources info qmlsources 43 | 44 | maemo5: CONFIG += qt_example 45 | 46 | DEFINES += TESTDATA_DIR=\\\"$$PWD/\\\" 47 | -------------------------------------------------------------------------------- /examples/serviceframework/dialer/dialer.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | content/call.png 4 | content/DialButton.qml 5 | content/DialerList.qml 6 | content/DialScreen.qml 7 | content/hangup.png 8 | dialer.qml 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/serviceframework/dialer/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtsystems/81e08ee508d0a49c588705cc9c47568b09a258db/examples/serviceframework/dialer/icon.png -------------------------------------------------------------------------------- /examples/serviceframework/dialer/info.json: -------------------------------------------------------------------------------- 1 | { 2 | "info-version": "1.0", 3 | "dict": { 4 | "Category": "application", 5 | "Runtime": "qml", 6 | "DisplayName": "Test Dialer", 7 | "Subcategory": "internet", 8 | "Version": "1.0", 9 | "Identifier": "com.nokia.mt.qt.examples.dialer", 10 | "MainQML": "dialer.qml" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /examples/serviceframework/dialer/notions.json: -------------------------------------------------------------------------------- 1 | { 2 | "notion-file-version": 1, 3 | "identifier": "com.nokia.qt.examples.dialer", 4 | "instruct": [ 5 | { "action": "start" } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /examples/serviceframework/remotedialerservice/info.json: -------------------------------------------------------------------------------- 1 | { 2 | "info-version": "1.0", 3 | "dict": { 4 | "Category": "daemon", 5 | "Runtime": "native", 6 | "DisplayName": "RemoteDialerService", 7 | "Subcategory": "utility", 8 | "Version": "1.0", 9 | "Identifier": "com.nokia.qt.examples.remotedialer", 10 | "Application": "remotedialerservice" 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /examples/serviceframework/remotedialerservice/interfaces.json: -------------------------------------------------------------------------------- 1 | { 2 | "interface-file-version": 1, 3 | "service": "VoipDialer", 4 | "interfaces": [ 5 | { 6 | "interface": "com.nokia.qt.examples.Dialer", 7 | "version": "1.1", 8 | "description": "VoIP based service implementation of Dialer" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /examples/serviceframework/remotedialerservice/remotedialerservice.pro: -------------------------------------------------------------------------------- 1 | QT = core serviceframework 2 | win32: CONFIG += console 3 | mac:CONFIG -= app_bundle 4 | 5 | HEADERS += \ 6 | remotedialerservice.h 7 | SOURCES += \ 8 | main.cpp \ 9 | remotedialerservice.cpp 10 | 11 | # install 12 | target.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/remotedialerservice 13 | sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS remotedialerservice.pro 14 | sources.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/remotedialerservice 15 | xml.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/xmldata 16 | xml.files = remotedialerservice.xml 17 | mtlib|config_mtlib { 18 | info.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/remotedialerservice 19 | info.files = info.json interfaces.json 20 | } 21 | INSTALLS += target sources xml info 22 | 23 | DEFINES += TESTDATA_DIR=\\\"$$PWD/\\\" 24 | 25 | -------------------------------------------------------------------------------- /examples/serviceframework/remotedialerservice/remotedialerservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | VoipDialer 5 | com.nokia.qt.examples.remotedialer 6 | Voip Dialer Service 7 | 8 | com.nokia.qt.examples.Dialer 9 | 1.1 10 | VoIP based service implementation of Dialer 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /examples/serviceframework/servicebrowser/servicebrowser.pro: -------------------------------------------------------------------------------- 1 | QT = core serviceframework gui widgets 2 | 3 | # Input 4 | HEADERS += servicebrowser.h 5 | SOURCES += servicebrowser.cpp \ 6 | main.cpp 7 | 8 | mac:CONFIG -= app_bundle 9 | 10 | -------------------------------------------------------------------------------- /examples/serviceframework/serviceframework.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = \ 3 | voipdialerplugin \ 4 | remotedialerservice \ 5 | dialer 6 | 7 | qtHaveModule(widgets) { 8 | SUBDIRS += \ 9 | servicebrowser 10 | } 11 | 12 | # install 13 | target.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/statemachine 14 | sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS serviceframework.pro README 15 | sources.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework 16 | INSTALLS += target sources 17 | -------------------------------------------------------------------------------- /examples/serviceframework/voipdialerplugin/voipdialerplugin.pro: -------------------------------------------------------------------------------- 1 | QT = core serviceframework 2 | 3 | TEMPLATE = lib 4 | CONFIG += plugin 5 | 6 | INCLUDEPATH += ../../../src/serviceframework 7 | 8 | HEADERS += voipdialer.h \ 9 | voipdialerplugin.h 10 | 11 | SOURCES += voipdialer.cpp \ 12 | voipdialerplugin.cpp 13 | 14 | TARGET = voipdialerplugin 15 | 16 | qtHaveModule(qml): DEFINES += DECLARATIVE 17 | 18 | # install 19 | target.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/voipdialerplugin 20 | sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS voipdialerplugin.pro 21 | sources.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/voipdialerplugin 22 | xml.path = $$[QT_INSTALL_EXAMPLES]/qtsystems/serviceframework/xmldata 23 | xml.files = voipdialerservice.xml 24 | 25 | INSTALLS += target sources xml 26 | 27 | DEFINES += TESTDATA_DIR=\\\"$$PWD/\\\" 28 | 29 | -------------------------------------------------------------------------------- /examples/serviceframework/voipdialerplugin/voipdialerservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | VoipDialer 5 | serviceframework_voipdialerservice 6 | Voip Dialer 7 | 8 | com.nokia.qt.examples.Dialer 9 | 1.0 10 | VoIP based implementation Dialer 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /examples/systeminfo/inputinfo/inputinfo.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2014-11-28T12:25:04 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core systeminfo 8 | 9 | QT -= gui 10 | 11 | TARGET = inputinfo 12 | CONFIG += console 13 | CONFIG -= app_bundle 14 | 15 | TEMPLATE = app 16 | 17 | 18 | SOURCES += main.cpp \ 19 | inputtest.cpp 20 | 21 | HEADERS += \ 22 | inputtest.h 23 | 24 | target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/inputinfo 25 | app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/inputinfo 26 | INSTALLS += target app 27 | -------------------------------------------------------------------------------- /examples/systeminfo/qml-battery/qml-battery.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = qml-battery 3 | QT += quick 4 | SOURCES = main.cpp 5 | 6 | app.files = \ 7 | $$files(*.qml) \ 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-battery 10 | app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-battery 11 | INSTALLS += target app 12 | 13 | RESOURCES += \ 14 | qml-battery.qrc 15 | -------------------------------------------------------------------------------- /examples/systeminfo/qml-battery/qml-battery.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | qml-battery.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/systeminfo/qml-deviceinfo/qml-deviceinfo.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = qml-deviceinfo 3 | QT += quick 4 | SOURCES = main.cpp 5 | 6 | app.files = \ 7 | $$files(*.qml) 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-deviceinfo 10 | app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-deviceinfo 11 | INSTALLS += target app 12 | 13 | RESOURCES += \ 14 | qml-deviceinfo.qrc 15 | -------------------------------------------------------------------------------- /examples/systeminfo/qml-deviceinfo/qml-deviceinfo.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | qml-deviceinfo.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/systeminfo/qml-inputinfo/qml-inputinfo.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = qml-inputinfo 3 | QT += quick 4 | SOURCES = main.cpp 5 | 6 | app.files = \ 7 | $$files(*.qml) \ 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-inputinfo 10 | app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-inputinfo 11 | INSTALLS += target app 12 | 13 | RESOURCES += \ 14 | qml-inputinfo.qrc 15 | -------------------------------------------------------------------------------- /examples/systeminfo/qml-inputinfo/qml-inputinfo.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | qml-inputinfo.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/systeminfo/systeminfo.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | SUBDIRS += \ 4 | qml-deviceinfo \ 5 | qml-battery 6 | 7 | linux-*: !simulator: { 8 | SUBDIRS += \ 9 | qml-inputinfo \ 10 | inputinfo 11 | } 12 | #qtHaveModule(widgets): SUBDIRS += \ 13 | 14 | OTHER_FILES = stub.h 15 | -------------------------------------------------------------------------------- /qtsystems.pro: -------------------------------------------------------------------------------- 1 | requires(if(linux:!android)|if(win32:!winphone:!wince:!winrt)|osx) 2 | 3 | load(configure) 4 | qtCompileTest(gconf) 5 | qtCompileTest(bluez) 6 | qtCompileTest(udev) 7 | qtCompileTest(evdev) 8 | qtCompileTest(x11) 9 | qtCompileTest(mir) 10 | 11 | # FIXME: This causes tests to be installed (if examples are installed as well), 12 | # which is needed to run some tests because they are broken. 13 | CONFIG += ordered 14 | 15 | load(qt_parts) 16 | -------------------------------------------------------------------------------- /src/imports/imports.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | !macx:!without-systeminfo: SUBDIRS += systeminfo 4 | !boot2qt:!without-publishsubscribe: SUBDIRS += publishsubscribe 5 | !macx:!boot2qt:!without-serviceframework: SUBDIRS += serviceframework 6 | -------------------------------------------------------------------------------- /src/imports/publishsubscribe/plugins.qmltypes: -------------------------------------------------------------------------------- 1 | import QtQuick.tooling 1.1 2 | 3 | // This file describes the plugin-supplied types contained in the library. 4 | // It is used for QML tooling purposes only. 5 | // 6 | // This file was auto-generated with the command 'qmlplugindump -notrelocatable QtPublishSubscribe 5.0'. 7 | 8 | Module { 9 | Component { 10 | name: "QDeclarativeValueSpacePublisher" 11 | prototype: "QObject" 12 | exports: ["QtPublishSubscribe/ValueSpacePublisher 5.0"] 13 | exportMetaObjectRevisions: [0] 14 | Property { name: "hasSubscribers"; type: "bool"; isReadonly: true } 15 | Property { name: "path"; type: "string" } 16 | Property { name: "keys"; type: "QStringList" } 17 | Property { name: "value"; type: "QVariant" } 18 | Signal { name: "subscribersChanged" } 19 | } 20 | Component { 21 | name: "QDeclarativeValueSpaceSubscriber" 22 | prototype: "QObject" 23 | exports: ["QtPublishSubscribe/ValueSpaceSubscriber 5.0"] 24 | exportMetaObjectRevisions: [0] 25 | Property { name: "connected"; type: "bool"; isReadonly: true } 26 | Property { name: "path"; type: "string" } 27 | Property { name: "subPaths"; type: "QStringList"; isReadonly: true } 28 | Property { name: "value"; type: "QVariant"; isReadonly: true } 29 | Signal { name: "contentsChanged" } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/imports/publishsubscribe/publishsubscribe.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/imports/publishsubscribe/publishsubscribe.pro: -------------------------------------------------------------------------------- 1 | QT += qml publishsubscribe core-private 2 | QT -= gui 3 | 4 | SOURCES += publishsubscribe.cpp \ 5 | qdeclarativevaluespacepublisher.cpp \ 6 | qdeclarativevaluespacepublishermetaobject.cpp \ 7 | qdeclarativevaluespacesubscriber.cpp 8 | 9 | HEADERS += qdeclarativevaluespacepublisher_p.h \ 10 | qdeclarativevaluespacepublishermetaobject_p.h \ 11 | qdeclarativevaluespacesubscriber_p.h 12 | 13 | load(qml_plugin) 14 | -------------------------------------------------------------------------------- /src/imports/publishsubscribe/qmldir: -------------------------------------------------------------------------------- 1 | module QtPublishSubscribe 2 | classname QSubscriberDeclarativeModule 3 | plugin declarative_publishsubscribe 4 | typeinfo plugins.qmltypes 5 | -------------------------------------------------------------------------------- /src/imports/serviceframework/qmldir: -------------------------------------------------------------------------------- 1 | module QtServiceFramework 2 | classname QServiceDeclarativeModule 3 | plugin declarative_serviceframework 4 | typeinfo plugins.qmltypes 5 | -------------------------------------------------------------------------------- /src/imports/serviceframework/serviceframework.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/imports/serviceframework/serviceframework.pro: -------------------------------------------------------------------------------- 1 | QT += qml serviceframework 2 | QT -= gui 3 | 4 | HEADERS += qdeclarativeservice_p.h \ 5 | qdeclarativeserviceold_p.h 6 | 7 | SOURCES += qdeclarativeservice.cpp \ 8 | qdeclarativeserviceold.cpp \ 9 | serviceframework.cpp 10 | 11 | load(qml_plugin) 12 | -------------------------------------------------------------------------------- /src/imports/systeminfo/qmldir: -------------------------------------------------------------------------------- 1 | module QtSystemInfo 2 | plugin declarative_systeminfo 3 | typeinfo plugins.qmltypes 4 | classname QSystemInfoDeclarativeModule 5 | -------------------------------------------------------------------------------- /src/imports/systeminfo/systeminfo.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/imports/systeminfo/systeminfo.pro: -------------------------------------------------------------------------------- 1 | QT += qml systeminfo 2 | QT -= gui 3 | 4 | HEADERS += \ 5 | qdeclarativedeviceinfo_p.h \ 6 | qdeclarativenetworkinfo_p.h 7 | 8 | SOURCES += \ 9 | qdeclarativedeviceinfo.cpp \ 10 | qdeclarativenetworkinfo.cpp \ 11 | qsysteminfo.cpp 12 | 13 | linux-*: { 14 | HEADERS += \ 15 | qdeclarativeinputdevicemodel_p.h 16 | SOURCES += \ 17 | qdeclarativeinputdevicemodel.cpp \ 18 | } 19 | load(qml_plugin) 20 | -------------------------------------------------------------------------------- /src/publishsubscribe/publishsubscribe.pro: -------------------------------------------------------------------------------- 1 | TARGET = QtPublishSubscribe 2 | QT = core-private 3 | 4 | PUBLIC_HEADERS = qpublishsubscribeglobal.h \ 5 | qvaluespace.h \ 6 | qvaluespacepublisher.h \ 7 | qvaluespacesubscriber.h 8 | 9 | PRIVATE_HEADERS = qvaluespace_p.h \ 10 | qvaluespacemanager_p.h \ 11 | qvaluespacesubscriber_p.h 12 | 13 | SOURCES = qvaluespace.cpp \ 14 | qvaluespacemanager.cpp \ 15 | qvaluespacepublisher.cpp \ 16 | qvaluespacesubscriber.cpp 17 | 18 | unix { 19 | linux-* { 20 | config_gconf { 21 | PRIVATE_HEADERS += gconfitem_p.h \ 22 | gconflayer_p.h 23 | 24 | SOURCES += gconflayer.cpp \ 25 | gconfitem.cpp 26 | 27 | CONFIG += link_pkgconfig 28 | PKGCONFIG += gobject-2.0 gconf-2.0 29 | } else { 30 | DEFINES += QT_NO_GCONFLAYER 31 | } 32 | } 33 | } else { 34 | DEFINES += QT_NO_GCONFLAYER 35 | } 36 | 37 | win32: { 38 | PRIVATE_HEADERS += qsystemreadwritelock_p.h \ 39 | registrylayer_win_p.h 40 | SOURCES += qsystemreadwritelock_win.cpp \ 41 | registrylayer_win.cpp 42 | 43 | LIBS += -ladvapi32 44 | } 45 | 46 | HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS 47 | 48 | QMAKE_DOCS = $$PWD/../../doc/config/publishsubscribe/qtpublishsubscribe.qdocconf 49 | 50 | load(qt_module) 51 | 52 | -------------------------------------------------------------------------------- /src/serviceframework/ipc/ipc.pri: -------------------------------------------------------------------------------- 1 | INCLUDEPATH += ipc 2 | win32 { 3 | INCLUDEPATH += . 4 | } 5 | 6 | QT += core-private 7 | 8 | isEmpty(SFW_BACKEND) { 9 | qtHaveModule(dbus) { 10 | SFW_BACKEND = dbus 11 | } else { 12 | linux { 13 | SFW_BACKEND = unix 14 | } else { 15 | SFW_BACKEND = localsocket 16 | } 17 | } 18 | } 19 | 20 | equals(SFW_BACKEND,unix) { 21 | DEFINES += SFW_USE_UNIX_BACKEND 22 | PRIVATE_HEADERS += ipc/qremoteserviceregister_unix_p.h \ 23 | ipc/objectendpoint_p.h 24 | SOURCES += ipc/qremoteserviceregister_unix_p.cpp \ 25 | ipc/objectendpoint.cpp 26 | } else:equals(SFW_BACKEND,dbus) { 27 | DEFINES += SFW_USE_DBUS_BACKEND 28 | QT_FOR_PRIVATE += dbus \ 29 | network 30 | PRIVATE_HEADERS += ipc/qremoteserviceregister_dbus_p.h \ 31 | ipc/objectendpoint_dbus_p.h \ 32 | ipc/qservicemetaobject_dbus_p.h 33 | SOURCES += ipc/qremoteserviceregister_dbus_p.cpp \ 34 | ipc/objectendpoint_dbus.cpp \ 35 | ipc/qservicemetaobject_dbus.cpp 36 | } else:equals(SFW_BACKEND,localsocket) { 37 | DEFINES += SFW_USE_LOCALSOCKET_BACKEND 38 | QT_FOR_PRIVATE += network 39 | PRIVATE_HEADERS += ipc/qremoteserviceregister_ls_p.h \ 40 | ipc/objectendpoint_p.h 41 | SOURCES += ipc/qremoteserviceregister_ls_p.cpp \ 42 | ipc/objectendpoint.cpp 43 | } else { 44 | error("Unkown SFW_BACKEND $$SFW_BACKEND") 45 | } 46 | 47 | PRIVATE_HEADERS += ipc/qslotinvoker_p.h \ 48 | ipc/qsignalintercepter_p.h \ 49 | ipc/instancemanager_p.h \ 50 | ipc/qservicepackage_p.h \ 51 | ipc/proxyobject_p.h \ 52 | ipc/ipcendpoint_p.h \ 53 | ipc/qremoteserviceregister_p.h \ 54 | ipc/qremoteserviceregisterentry_p.h 55 | 56 | SOURCES += ipc/qslotinvoker.cpp \ 57 | ipc/qsignalintercepter.cpp \ 58 | ipc/instancemanager.cpp \ 59 | ipc/qservicepackage.cpp \ 60 | ipc/proxyobject.cpp \ 61 | ipc/ipcendpoint.cpp \ 62 | ipc/qremoteserviceregister_p.cpp 63 | 64 | OTHER_FILES += \ 65 | ipc/json-schema.txt 66 | -------------------------------------------------------------------------------- /src/serviceframework/qserviceframeworkglobal.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:LGPL$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU Lesser General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the 21 | ** packaging of this file. Please review the following information to 22 | ** ensure the GNU Lesser General Public License version 3 requirements 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 24 | ** 25 | ** GNU General Public License Usage 26 | ** Alternatively, this file may be used under the terms of the GNU 27 | ** General Public License version 2.0 or (at your option) the GNU General 28 | ** Public license version 3 or any later version approved by the KDE Free 29 | ** Qt Foundation. The licenses are as published by the Free Software 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 31 | ** included in the packaging of this file. Please review the following 32 | ** information to ensure the GNU General Public License requirements will 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. 35 | ** 36 | ** $QT_END_LICENSE$ 37 | ** 38 | ****************************************************************************/ 39 | #ifndef QSERVICEFRAMEWORK_H 40 | #define QSERVICEFRAMEWORK_H 41 | 42 | #include 43 | 44 | #ifndef QT_STATIC 45 | # if defined(QT_BUILD_SERVICEFRAMEWORK_LIB) 46 | # define Q_SERVICEFW_EXPORT Q_DECL_EXPORT 47 | # else 48 | # define Q_SERVICEFW_EXPORT Q_DECL_IMPORT 49 | # endif 50 | #else 51 | # define Q_SERVICEFW_EXPORT 52 | #endif 53 | 54 | #endif // QSERVICEFRAMEWORK_H 55 | 56 | -------------------------------------------------------------------------------- /src/serviceframework/serviceframework.pro: -------------------------------------------------------------------------------- 1 | TARGET = QtServiceFramework 2 | QT = core 3 | 4 | sfwdebug { 5 | DEFINES += QT_SFW_IPC_DEBUG 6 | QT_PRIVATE += network 7 | } 8 | 9 | include(ipc/ipc.pri) 10 | 11 | PUBLIC_HEADERS += qservice.h \ 12 | qservicemanager.h \ 13 | qserviceplugininterface.h \ 14 | qserviceinterfacedescriptor.h \ 15 | qservicefilter.h \ 16 | qremoteserviceregister.h \ 17 | qserviceclientcredentials.h 18 | PRIVATE_HEADERS += servicemetadata_p.h \ 19 | qserviceinterfacedescriptor_p.h \ 20 | dberror_p.h \ 21 | qserviceclientcredentials_p.h \ 22 | qservicedebuglog_p.h 23 | 24 | SOURCES += servicemetadata.cpp \ 25 | qservicemanager.cpp \ 26 | qserviceplugininterface.cpp \ 27 | qserviceinterfacedescriptor.cpp \ 28 | qservicefilter.cpp \ 29 | dberror.cpp \ 30 | qremoteserviceregister.cpp \ 31 | qserviceclientcredentials.cpp \ 32 | qservicedebuglog.cpp \ 33 | qserviceoperations.cpp \ 34 | qservicereply.cpp \ 35 | qservicerequest.cpp 36 | 37 | QT_FOR_PRIVATE += sql 38 | SOURCES += servicedatabase.cpp \ 39 | databasemanager.cpp 40 | PRIVATE_HEADERS += servicedatabase_p.h \ 41 | databasemanager_p.h \ 42 | 43 | HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS \ 44 | qserviceoperations_p.h \ 45 | qservicereply.h \ 46 | qservicereply_p.h \ 47 | qservicerequest_p.h 48 | 49 | QMAKE_DOCS = $$PWD/../../doc/config/serviceframework/qtserviceframework.qdocconf 50 | 51 | load(qt_module) 52 | -------------------------------------------------------------------------------- /src/src.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | CONFIG += ordered 3 | 4 | !android: !ios: !blackberry: !wince { 5 | !boot2qt:!without-publishsubscribe: SUBDIRS += publishsubscribe 6 | !macx:!boot2qt:!without-serviceframework: SUBDIRS += serviceframework 7 | !macx:!without-systeminfo: SUBDIRS += systeminfo 8 | 9 | SUBDIRS += tools 10 | 11 | qtHaveModule(quick): SUBDIRS += imports 12 | } 13 | -------------------------------------------------------------------------------- /src/systeminfo/qinputinfomanager.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 Canonical, Ltd. and/or its subsidiary(-ies). 4 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 5 | ** Contact: http://www.qt-project.org/legal 6 | ** 7 | ** This file is part of the QtSystems module of the Qt Toolkit. 8 | ** 9 | ** $QT_BEGIN_LICENSE:LGPL$ 10 | ** Commercial License Usage 11 | ** Licensees holding valid commercial Qt licenses may use this file in 12 | ** accordance with the commercial license agreement provided with the 13 | ** Software or, alternatively, in accordance with the terms contained in 14 | ** a written agreement between you and The Qt Company. For licensing terms 15 | ** and conditions see https://www.qt.io/terms-conditions. For further 16 | ** information use the contact form at https://www.qt.io/contact-us. 17 | ** 18 | ** GNU Lesser General Public License Usage 19 | ** Alternatively, this file may be used under the terms of the GNU Lesser 20 | ** General Public License version 3 as published by the Free Software 21 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the 22 | ** packaging of this file. Please review the following information to 23 | ** ensure the GNU Lesser General Public License version 3 requirements 24 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 25 | ** 26 | ** GNU General Public License Usage 27 | ** Alternatively, this file may be used under the terms of the GNU 28 | ** General Public License version 2.0 or (at your option) the GNU General 29 | ** Public license version 3 or any later version approved by the KDE Free 30 | ** Qt Foundation. The licenses are as published by the Free Software 31 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 32 | ** included in the packaging of this file. Please review the following 33 | ** information to ensure the GNU General Public License requirements will 34 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and 35 | ** https://www.gnu.org/licenses/gpl-3.0.html. 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #include "qinputinfomanager_p.h" 42 | 43 | QInputInfoManagerPrivate::QInputInfoManagerPrivate(QObject *parent) : 44 | QObject(parent) 45 | { 46 | } 47 | -------------------------------------------------------------------------------- /src/tools/servicefw/servicefw.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = servicefw 3 | DESTDIR = $$QT.serviceframework.bins 4 | 5 | QT += serviceframework 6 | QT -= gui 7 | DEFINES += IGNORE_SERVICEMETADATA_EXPORT 8 | INCLUDEPATH += ../../serviceframework 9 | 10 | SOURCES = servicefw.cpp \ 11 | ../../serviceframework/servicemetadata.cpp 12 | HEADERS += ../../serviceframework/servicemetadata_p.h 13 | 14 | target.path = $$[QT_INSTALL_BINS] 15 | INSTALLS += target 16 | 17 | CONFIG += console 18 | CONFIG -= app_bundle 19 | load(qt_targets) 20 | -------------------------------------------------------------------------------- /src/tools/sfwlisten/sfwlisten.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = sfwlisten 3 | 4 | CONFIG -= app_bundle 5 | 6 | DESTDIR = $$QT.serviceframework.bins 7 | 8 | QT = core network 9 | 10 | SOURCES = main.cpp 11 | 12 | target.path = $$[QT_INSTALL_BINS] 13 | INSTALLS += target 14 | 15 | CONFIG += console 16 | load(qt_targets) 17 | -------------------------------------------------------------------------------- /src/tools/tools.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | !macx:!boot2qt:!without-serviceframework: SUBDIRS = servicefw sfwlisten 3 | -------------------------------------------------------------------------------- /sync.profile: -------------------------------------------------------------------------------- 1 | %modules = ( # path to module name map 2 | "QtSystemInfo" => "$basedir/src/systeminfo", 3 | "QtPublishSubscribe" => "$basedir/src/publishsubscribe", 4 | "QtServiceFramework" => "$basedir/src/serviceframework", 5 | ); 6 | %moduleheaders = ( # restrict the module headers to those found in relative path 7 | ); 8 | # Module dependencies. 9 | # Every module that is required to build this module should have one entry. 10 | # Each of the module version specifiers can take one of the following values: 11 | # - A specific Git revision. 12 | # - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch) 13 | # - an empty string to use the same branch under test (dependencies will become "refs/heads/master" if we are in the master branch) 14 | # 15 | %dependencies = ( 16 | "qtbase" => "", 17 | "qtxmlpatterns" => "", 18 | "qtdeclarative" => "", 19 | ); 20 | -------------------------------------------------------------------------------- /tests/auto/auto.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | !boot2qt:!without-publishsubscribe: SUBDIRS += publishsubscribe 4 | !macx:!boot2qt:!without-serviceframework: SUBDIRS += serviceframework 5 | !macx:!without-systeminfo: SUBDIRS += systeminfo 6 | 7 | #SUBDIRS += cmake 8 | -------------------------------------------------------------------------------- /tests/auto/cmake/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required(VERSION 2.8) 3 | 4 | project(qmake_cmake_files) 5 | 6 | enable_testing() 7 | 8 | find_package(Qt5Core REQUIRED) 9 | 10 | include("${_Qt5CTestMacros}") 11 | 12 | expect_pass(test_modules) 13 | -------------------------------------------------------------------------------- /tests/auto/cmake/cmake.pro: -------------------------------------------------------------------------------- 1 | 2 | # Cause make to do nothing. 3 | TEMPLATE = subdirs 4 | 5 | CONFIG += ctest_testcase 6 | -------------------------------------------------------------------------------- /tests/auto/cmake/test_modules/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required(VERSION 2.8) 3 | 4 | project(test_modules) 5 | 6 | find_package(Qt5Gui REQUIRED) 7 | find_package(Qt5Network REQUIRED) 8 | 9 | find_package(Qt5PublishSubscribe REQUIRED) 10 | find_package(Qt5ServiceFramework REQUIRED) 11 | find_package(Qt5SystemInfo REQUIRED) 12 | 13 | include_directories( 14 | ${Qt5PublishSubscribe_INCLUDE_DIRS} 15 | ${Qt5ServiceFramework_INCLUDE_DIRS} 16 | ${Qt5SystemInfo_INCLUDE_DIRS} 17 | ) 18 | 19 | add_definitions( 20 | ${Qt5PublishSubscribe_DEFINITIONS} 21 | ${Qt5ServiceFramework_DEFINITIONS} 22 | ${Qt5SystemInfo_DEFINITIONS} 23 | ) 24 | 25 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") 26 | 27 | add_executable(mainapp main.cpp) 28 | target_link_libraries(mainapp 29 | ${Qt5PublishSubscribe_LIBRARIES} 30 | ${Qt5ServiceFramework_LIBRARIES} 31 | ${Qt5SystemInfo_LIBRARIES} 32 | ) 33 | -------------------------------------------------------------------------------- /tests/auto/cmake/test_modules/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Stephen Kelly 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the test suite of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | #include 31 | 32 | int main(int argc, char **argv) 33 | { 34 | QValueSpaceSubscriber valueSpaceSubscriber; 35 | 36 | QServiceInterfaceDescriptor serviceInterfaceDescriptor; 37 | 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /tests/auto/publishsubscribe/publishsubscribe.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | SUBDIRS += \ 4 | qvaluespace 5 | -------------------------------------------------------------------------------- /tests/auto/publishsubscribe/qvaluespace/qvaluespace.pro: -------------------------------------------------------------------------------- 1 | 2 | QT += publishsubscribe testlib 3 | 4 | !config_gconf { 5 | DEFINES += QT_NO_GCONFLAYER 6 | } 7 | 8 | SOURCES += tst_qvaluespace.cpp 9 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 10 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qremoteserviceregister/qremoteserviceregister.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qremoteserviceregister 2 | CONFIG += testcase 3 | 4 | QT = core serviceframework testlib 5 | QT -= gui 6 | 7 | SOURCES += tst_qremoteserviceregister.cpp 8 | HEADERS += service.h 9 | 10 | TESTDATA += xmldata/* 11 | 12 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qremoteserviceregister/service.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #include 29 | 30 | class QRemoteServiceRegisterService : public QObject 31 | { 32 | Q_OBJECT 33 | 34 | public: 35 | QRemoteServiceRegisterService(QObject* parent = 0) 36 | : QObject(parent) 37 | { 38 | } 39 | 40 | Q_INVOKABLE void invokableFunction() 41 | { 42 | } 43 | 44 | Q_SIGNALS: 45 | void valueChanged(); 46 | 47 | public slots: 48 | void testSlot() 49 | { 50 | } 51 | }; 52 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qremoteserviceregister/xmldata/rsrexampleservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | RSRExampleService 5 | qt_sfw_example_rsr_unittest 6 | Example service 7 | 8 | com.nokia.qt.rsrunittest 9 | 1.0 10 | test code that tests the QRemoteServiceRegister class 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicefilter/qservicefilter.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qservicefilter 2 | CONFIG += testcase 3 | 4 | SOURCES += tst_qservicefilter.cpp 5 | 6 | QT += serviceframework testlib 7 | QT -= gui 8 | 9 | CONFIG += parallel_test 10 | 11 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qserviceinterfacedescriptor/qserviceinterfacedescriptor.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qserviceinterfacedescriptor 2 | CONFIG += testcase 3 | 4 | QT += serviceframework serviceframework-private testlib 5 | QT -= gui 6 | CONFIG += parallel_test 7 | 8 | SOURCES += tst_qserviceinterfacedescriptor.cpp 9 | 10 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 11 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/qservicemanager.pro: -------------------------------------------------------------------------------- 1 | QT = core 2 | TEMPLATE = subdirs 3 | 4 | SUBDIRS = sampleservice sampleservice2 testservice2 5 | tst_qservicemanager_pro.depends += sampleservice sampleservice2 testservice2 6 | 7 | SUBDIRS += tst_qservicemanager.pro 8 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/sampleservice/sampleservice.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = lib 2 | CONFIG += plugin 3 | 4 | HEADERS = sampleserviceplugin.h 5 | SOURCES = sampleserviceplugin.cpp 6 | TARGET = tst_sfw_sampleserviceplugin 7 | DESTDIR = ../plugins 8 | 9 | QT += serviceframework 10 | 11 | target.path = $$[QT_INSTALL_TESTS]/tst_qservicemanager/plugins 12 | INSTALLS += target 13 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/sampleservice2/sampleservice2.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = lib 2 | CONFIG += plugin 3 | 4 | HEADERS = sampleserviceplugin2.h 5 | SOURCES = sampleserviceplugin2.cpp 6 | TARGET = tst_sfw_sampleserviceplugin2 7 | DESTDIR = ../plugins 8 | 9 | QT += serviceframework 10 | 11 | target.path = $$[QT_INSTALL_TESTS]/tst_qservicemanager/plugins 12 | INSTALLS += target 13 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/sampleservice2/sampleserviceplugin2.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #include "sampleserviceplugin2.h" 29 | 30 | #include 31 | 32 | 33 | QObject* SampleServicePlugin2::createInstance(const QServiceInterfaceDescriptor& descriptor) 34 | { 35 | Q_UNUSED(descriptor); 36 | return new SampleServicePluginClass2; 37 | } 38 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/sampleservice2/sampleserviceplugin2.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #ifndef SAMPLESERVICEPLUGIN2_H 29 | #define SAMPLESERVICEPLUGIN2_H 30 | 31 | #include 32 | #include 33 | #include 34 | 35 | QT_USE_NAMESPACE 36 | 37 | class SampleServicePlugin2 : public QObject, public QServicePluginInterface 38 | { 39 | Q_OBJECT 40 | Q_INTERFACES(QServicePluginInterface) 41 | Q_PLUGIN_METADATA(IID "com.nokia.qt.QServicePluginInterface/1.0") 42 | 43 | public: 44 | QObject* createInstance(const QServiceInterfaceDescriptor& descriptor); 45 | }; 46 | 47 | 48 | class SampleServicePluginClass2 : public QObject 49 | { 50 | Q_OBJECT 51 | public: 52 | SampleServicePluginClass2(QObject *parent = 0) : QObject(parent) {} 53 | }; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/testservice2/testservice2.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = lib 2 | CONFIG += plugin 3 | 4 | HEADERS = testserviceplugin.h testservice.h testserviceinterface.h 5 | SOURCES = testserviceplugin.cpp 6 | TARGET = tst_sfw_testservice2plugin 7 | DESTDIR = ../plugins 8 | 9 | QT += serviceframework 10 | 11 | target.path = $$[QT_INSTALL_TESTS]/tst_qservicemanager/plugins 12 | INSTALLS += target 13 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/testservice2/testserviceinterface.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #ifndef TESTSERVICEINTERFACE_H 29 | #define TESTSERVICEINTERFACE_H 30 | 31 | #include 32 | 33 | QT_BEGIN_NAMESPACE 34 | class ISimpleTypeTest 35 | { 36 | public: 37 | virtual ~ISimpleTypeTest() {} 38 | virtual void callSlotAndSetName(const QString &s) = 0; 39 | virtual QString callSlotAndReturnName() const = 0; 40 | }; 41 | 42 | Q_DECLARE_INTERFACE(ISimpleTypeTest, "com.nokia.qt.test.ISimpleTypeTest/1"); 43 | 44 | 45 | class IComplexTypeTest 46 | { 47 | public: 48 | virtual ~IComplexTypeTest() {} 49 | virtual QObject* embeddedTestService() = 0; 50 | 51 | }; 52 | 53 | Q_DECLARE_INTERFACE(IComplexTypeTest, "com.nokia.qt.test.IComplexTypeTest/1"); 54 | 55 | QT_END_NAMESPACE 56 | 57 | #endif //TESTSERVICEINTERFACE_H 58 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/testservice2/testserviceplugin.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #include 29 | #include "testserviceplugin.h" 30 | #include "testservice.h" 31 | 32 | /*! 33 | \class TestServicePlugin 34 | 35 | \brief Test Service Qt plugin Component 36 | 37 | Service Framework loads this Qt plugin and uses it to instantiate the 38 | Test Service service provider component. 39 | */ 40 | 41 | 42 | QObject* TestServicePlugin::createInstance(const QServiceInterfaceDescriptor& descriptor) 43 | { 44 | Q_UNUSED(descriptor); 45 | 46 | return new TestService(); 47 | } 48 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/testservice2/testserviceplugin.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #ifndef TESTSERVICEPLUGIN_H 29 | #define TESTSERVICEPLUGIN_H 30 | 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | QT_USE_NAMESPACE 37 | 38 | class TestServicePlugin : public QObject, public QServicePluginInterface 39 | { 40 | Q_OBJECT 41 | Q_INTERFACES(QServicePluginInterface) 42 | Q_PLUGIN_METADATA(IID "com.nokia.qt.QServicePluginInterface/1.0") 43 | 44 | public: 45 | QObject* createInstance(const QServiceInterfaceDescriptor& descriptor); 46 | 47 | }; 48 | 49 | #endif //TESTSERVICEPLUGIN_H 50 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/tst_qservicemanager.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qservicemanager 2 | CONFIG += testcase 3 | 4 | QT = core sql serviceframework serviceframework-private testlib 5 | QT -= gui 6 | 7 | # Input 8 | HEADERS += sampleservice/sampleserviceplugin.h \ 9 | ../qsfwtestutil.h 10 | SOURCES += tst_qservicemanager.cpp \ 11 | sampleservice/sampleserviceplugin.cpp \ 12 | ../qsfwtestutil.cpp 13 | 14 | 15 | TESTDATA += xml/* 16 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 17 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/xml/sampleservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SampleService 4 | plugins/tst_sfw_sampleserviceplugin 5 | tst_QServiceManager test service 6 | 7 | com.nokia.qt.TestInterfaceA 8 | 1.0 9 | tst_QServiceManager test interface A 1.0 10 | testvalue for A 11 | 12 | 13 | com.nokia.qt.TestInterfaceB 14 | 1.0 15 | tst_QServiceManager test interface B 1.0 16 | testvalue for B 17 | custom 18 | 19 | 20 | com.nokia.qt.TestInterfaceC 21 | 1.0 22 | tst_QServiceManager test interface C 1.0 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/xml/sampleservice2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SampleService2 4 | plugins/tst_sfw_sampleserviceplugin2 5 | tst_QServiceManager test service 6 | 7 | com.nokia.qt.TestInterfaceA 8 | 1.0 9 | Sample service plugin 2 interface implementation 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager/xml/testserviceplugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | plugins/tst_sfw_testservice2plugin 5 | SFW test service 6 | 7 | com.nokia.qt.ISimpleTypeTest 8 | 1.0 9 | simple 10 | APIs to test simple types 11 | 12 | 13 | com.nokia.qt.IComplexTypeTest 14 | 2.3 15 | complex,simple 16 | APIs to test complex types 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager_ipc/client/client.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qservicemanager_ipc 2 | CONFIG += testcase 3 | testcase.timeout = 600 # this test is slow 4 | 5 | QT += serviceframework testlib 6 | QT -= gui 7 | 8 | # Increase the stack size on MSVC to 4M to avoid a stack overflow 9 | win32-msvc*:QMAKE_LFLAGS += /STACK:4194304 10 | 11 | CONFIG -= app_bundle 12 | 13 | qtHaveModule(dbus): { 14 | QT += dbus 15 | DEFINES+=SFW_USE_DBUS_BACKEND 16 | } 17 | 18 | SOURCES += tst_qservicemanager_ipc.cpp 19 | 20 | TESTDATA += xmldata/* 21 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 22 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager_ipc/client/xmldata/ipcexampleservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | IPCExampleService 5 | qt_sfw_example_ipc_unittest 6 | Example service demoing IPC based services 7 | 8 | com.nokia.qt.ipcunittest 9 | 3.10 10 | Security test case, test global object security 11 | 12 | 13 | 14 | com.nokia.qt.ipcunittest 15 | 3.9 16 | Security test case, reject all connections on a private object 17 | 18 | 19 | 20 | com.nokia.qt.ipcunittest 21 | 3.8 22 | Misc test code that tests failures and edge cases 23 | 24 | 25 | 26 | com.nokia.qt.ipcunittest 27 | 3.7 28 | Creation Failure Test Case Private 29 | 30 | 31 | 32 | com.nokia.qt.ipcunittest 33 | 3.6 34 | Creation Failure Test Case Global 35 | 36 | 37 | 38 | com.nokia.qt.ipcunittest 39 | 3.5 40 | Unspecified 41 | 42 | 43 | 44 | com.nokia.qt.ipcunittest 45 | 3.4 46 | Unspecified 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager_ipc/qservicemanager_ipc.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS += client service 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemanager_ipc/service/service.pro: -------------------------------------------------------------------------------- 1 | TARGET = qt_sfw_example_ipc_unittest 2 | TEMPLATE = app 3 | 4 | mac { 5 | CONFIG -= app_bundle 6 | } 7 | 8 | debug_and_release { 9 | CONFIG(debug, debug|release): \ 10 | INFIX = /debug 11 | else: \ 12 | INFIX = /release 13 | } 14 | DESTDIR = ../client$$INFIX #service must be in same dir as client binary 15 | 16 | qtHaveModule(dbus) { 17 | QT += dbus 18 | DEFINES+=SFW_USE_DBUS_BACKEND 19 | } 20 | 21 | QT += serviceframework serviceframework-private 22 | QT += testlib # QFINDTESTDATA 23 | DEFINES += TESTDATA_INSTALL_DIR=\\\"$$[QT_INSTALL_TESTS]/tst_qservicemanager_ipc/\\\" 24 | DEFINES += TESTDATA_SRC_DIR=\\\"$$PWD/\\\" 25 | SOURCES += main.cpp 26 | 27 | target.path = $$[QT_INSTALL_TESTS]/tst_qservicemanager_ipc 28 | INSTALLS += target 29 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 30 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/qservicemetadata.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qservicemetadata 2 | CONFIG += testcase 3 | 4 | CONFIG += parallel_test 5 | 6 | QT += serviceframework serviceframework-private testlib 7 | QT -= gui 8 | 9 | # Input 10 | SOURCES += tst_servicemetadata.cpp 11 | 12 | 13 | TESTDATA += testdata/* 14 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 15 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/DuplicatedServiceTag.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.contacts 20 | 1.7 21 | ReadUserData,WriteUserData 22 | Contacts management service 23 | 24 | 25 | com.nokia.service.contacts 26 | 2.1 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | com.nokia.service.contacts 32 | 1.6 33 | ReadUserData,WriteUserData 34 | Contacts management service 35 | 36 | 37 | com.nokia.service.contacts 38 | 3.0 39 | ReadUserData,WriteUserData 40 | Contacts management service 41 | 42 | 43 | 44 | ovi2 45 | C:/Nokia/ovi2.dll 46 | Ovi2 Services 47 | 48 | com.nokia.service.mail 49 | 7.0 50 | ReadUserData,WriteUserData 51 | Mail management service 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/ServiceTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | C:/TestData/testservice.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.4 10 | Interface that provides download support 11 | 12 | 13 | com.nokia.qt.tests.ILocation 14 | 1.4 15 | 16 | Interface that provides location support 17 | 18 | 19 | com.nokia.qt.tests.ISysInfo 20 | ReadUserData 21 | 2.3 22 | Interface that provides system information support 23 | 24 | 25 | com.nokia.qt.tests.ISendMessage 26 | ReadUserData,WriteUserData 27 | 3.0 28 | Interface that provides message sending support 29 | 30 | 31 | com.nokia.qt.tests.IReceiveMessage 32 | 1.1 33 | ReadUserData,WriteUserData,ExecUserData 34 | Interface that provides message receiving support 35 | value1 36 | value2 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/ServiceTestIPC.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestIPCService 5 | test_service 6 | Test IPC service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.4 10 | Interface that provides download support 11 | 12 | 13 | com.nokia.qt.tests.ILocation 14 | 1.4 15 | 16 | Interface that provides location support 17 | 18 | 19 | com.nokia.qt.tests.ISysInfo 20 | ReadUserData 21 | 2.3 22 | Interface that provides system information support 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/ServiceTestOld.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | 1.0.456 5 | ReadUserData,WriteUserData 6 | C:/TestData/testservice.dll 7 | 8 | com.nokia.qt.tests.IDownloader 9 | Interface that provides download support 10 | 11 | 12 | com.nokia.qt.tests.ILocation 13 | Interface that provides location support 14 | 15 | 16 | com.nokia.qt.tests.ISysInfo 17 | Interface that provides system information support 18 | 19 | 20 | com.nokia.qt.tests.ISendMessage 21 | Interface that provides message sending support 22 | 23 | 24 | com.nokia.qt.tests.IReceiveMessage 25 | Interface that provides message receiving support 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test1.xml: -------------------------------------------------------------------------------- 1 | "Simple text" 2 | 3 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | 1.0.456 6 | .\testserviceplugin.dll 7 | Test service description 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestServices 5 | .\testserviceplugin.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.456 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | Test service description 6 | 7 | com.nokia.qt.tests.Interface1 8 | 1.456 9 | ReadUserData,WriteUserData 10 | First test interface description 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | C:/TestData/testservice.dll 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 1.4 9 | Interface that provides download support 10 | 11 | 12 | com.nokia.qt.tests.IDownloader 13 | 1.4 14 | Interface that provides another download support 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | C:/TestData/testservice.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | -1.0 10 | Interface that provides download support 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test15.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | C:/TestData/testservice.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | abc 10 | Interface that provides download support 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | C:/TestData/testservice.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.0b 10 | Interface that provides download support 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | C:/TestData/testservice.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.0.1 10 | Interface that provides download support 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test18.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | C:/TestData/testservice.dll 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 01.5 9 | Interface that provides download support 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | C:/TestData/testservice.dll 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 1.4 9 | Interface that provides download support 10 | 11 | 12 | com.nokia.qt.tests.IDOWNLOADER 13 | 1.4 14 | Interface that provides another download support 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestServices 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test20.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.456 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | 1.0.456 5 | .\testserviceplugin.dll 6 | Test service description 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test22.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | .\testserviceplugin.dll 5 | Test service description 6 | 7 | Test Module 8 | 1.456 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | 6 | com.nokia.service.mail 7 | 5.0 8 | ReadUserData,WriteUserData 9 | Mail management service 10 | 11 | 12 | com.nokia.service.contacts 13 | 2.0 14 | ReadUserData,WriteUserData 15 | Contacts management service 16 | 17 | Ovi Services 18 | 19 | com.nokia.service.contacts 20 | 1.7 21 | ReadUserData,WriteUserData 22 | Contacts management service 23 | 24 | 25 | com.nokia.service.contacts 26 | 2.1 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | com.nokia.service.contacts 32 | 1.6 33 | ReadUserData,WriteUserData 34 | Contacts management service 35 | 36 | 37 | com.nokia.service.contacts 38 | 3.0 39 | ReadUserData,WriteUserData 40 | Contacts management service 41 | 42 | ovi1 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test24.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | Ovi2 Services 7 | 8 | com.nokia.service.mail 9 | 5.0 10 | ReadUserData,WriteUserData 11 | Mail management service 12 | 13 | 14 | com.nokia.service.contacts 15 | 2.0 16 | ReadUserData,WriteUserData 17 | Contacts management service 18 | 19 | 20 | com.nokia.service.contacts 21 | 1.7 22 | ReadUserData,WriteUserData 23 | Contacts management service 24 | 25 | 26 | com.nokia.service.contacts 27 | 2.1 28 | ReadUserData,WriteUserData 29 | Contacts management service 30 | 31 | 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | C:/Nokia/ovi2.dll 7 | 8 | com.nokia.service.mail 9 | 5.0 10 | ReadUserData,WriteUserData 11 | Mail management service 12 | 13 | 14 | com.nokia.service.contacts 15 | 2.0 16 | ReadUserData,WriteUserData 17 | Contacts management service 18 | 19 | 20 | com.nokia.service.contacts 21 | 1.7 22 | ReadUserData,WriteUserData 23 | Contacts management service 24 | 25 | 26 | com.nokia.service.contacts 27 | 2.1 28 | ReadUserData,WriteUserData 29 | Contacts management service 30 | 31 | 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.contacts 20 | 1.7 21 | ReadUserData,WriteUserData 22 | com.nokia.service.contacts 23 | Contacts management service 24 | 25 | 26 | com.nokia.service.contacts 27 | 2.1 28 | ReadUserData,WriteUserData 29 | Contacts management service 30 | 31 | 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test27.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.contacts 20 | 1.7 21 | ReadUserData,WriteUserData 22 | Contacts management service 23 | 24 | 25 | com.nokia.service.contacts 26 | 2.1 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | com.nokia.service.contacts 32 | 1.6 33 | ReadUserData,WriteUserData 34 | Contacts management service 35 | 1.7 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test28.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.contacts 20 | 1.7 21 | ReadUserData,WriteUserData 22 | Contacts management service 23 | 24 | 25 | com.nokia.service.contacts 26 | 2.1 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | Contacts management service 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test29.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | 14 | com.nokia.service.contacts 15 | 2.0 16 | ReadUserData,WriteUserData 17 | Contacts management service 18 | 19 | 20 | com.nokia.service.contacts 21 | 1.7 22 | ReadUserData,WriteUserData 23 | Contacts management service 24 | 25 | 26 | com.nokia.service.contacts 27 | 2.1 28 | ReadUserData,WriteUserData 29 | Contacts management service 30 | 31 | 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1.0.456 5 | ReadUserData,WriteUserData 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | value 18 | 19 | 20 | com.nokia.service.contacts 21 | 1.7 22 | ReadUserData,WriteUserData 23 | Contacts management service 24 | 25 | 26 | com.nokia.service.contacts 27 | 2.1 28 | ReadUserData,WriteUserData 29 | Contacts management service 30 | 31 | 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test31.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | value 18 | 19 | 20 | com.nokia.service.contacts 21 | 1.7 22 | ReadUserData,WriteUserData 23 | Contacts management service 24 | 25 | 26 | com.nokia.service.contacts 27 | 2.1 28 | ReadUserData,WriteUserData 29 | Contacts management service 30 | 31 | 32 | com.nokia.service.contacts 33 | 1.6 34 | ReadUserData,WriteUserData 35 | Contacts management service 36 | 37 | 38 | com.nokia.service.contacts 39 | 3.0 40 | ReadUserData,WriteUserData 41 | Contacts management service 42 | 43 | 44 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test32.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | value 18 | value1 19 | 20 | 21 | com.nokia.service.contacts 22 | 1.7 23 | ReadUserData,WriteUserData 24 | Contacts management service 25 | 26 | 27 | com.nokia.service.contacts 28 | 2.1 29 | ReadUserData,WriteUserData 30 | Contacts management service 31 | 32 | 33 | com.nokia.service.contacts 34 | 1.6 35 | ReadUserData,WriteUserData 36 | Contacts management service 37 | 38 | 39 | com.nokia.service.contacts 40 | 3.0 41 | ReadUserData,WriteUserData 42 | Contacts management service 43 | 44 | 45 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test33.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | C:/TestData/testservice.dll 6 | test_service 7 | Test service description 8 | 9 | com.nokia.qt.tests.IDownloader 10 | 1.1 11 | Interface that provides download support 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test34.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestService 4 | _q_ipc_addr:C:/TestData/testservice.dll 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 1.1 9 | Interface that provides download support 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test35.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | test_service 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.1 10 | Interface that provides download support 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test36.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | test_service 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.1 10 | Interface that provides download support 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test37.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | _q_ipc_addr:C:/TestData/testservice.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.1 10 | Interface that provides download support 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test38.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | test_service 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.1 10 | Interface that provides download support 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | testdata/testservice.dll 6 | 7 | com.nokia.qt.tests.IDownloader 8 | Interface that provides download support 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | 1.0.456 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | .\testserviceplugin.dll 6 | 7 | Test Interface 1 8 | 1.4 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | 1.0.456 6 | ReadUserData,WriteUserData 7 | .\testserviceplugin.dll 8 | Test service description 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | 1.0.456 6 | .\testserviceplugin.dll 7 | Test service description 8 | 9 | Test Module 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/Test9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestServices 5 | .\testserviceplugin.dll 6 | Test service description 7 | 8 | com.nokia.qt.tests.IDownloader 9 | 1.4 10 | ReadUserData,WriteUserData 11 | Interface that provides download support 12 | 13 | value 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/WrongOrder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | com.nokia.service.mail 5 | 5.0 6 | ReadUserData,WriteUserData 7 | Mail management service 8 | 9 | 10 | com.nokia.service.contacts 11 | 2.0 12 | ReadUserData,WriteUserData 13 | Contacts management service 14 | 15 | 16 | com.nokia.service.contacts 17 | 1.7 18 | ReadUserData,WriteUserData 19 | Contacts management service 20 | 21 | 22 | com.nokia.service.contacts 23 | 2.1 24 | ReadUserData,WriteUserData 25 | Contacts management service 26 | 27 | 28 | com.nokia.service.contacts 29 | 1.6 30 | ReadUserData,WriteUserData 31 | Contacts management service 32 | 33 | 34 | com.nokia.service.contacts 35 | 3.0 36 | ReadUserData,WriteUserData 37 | Contacts management service 38 | 39 | ovi 40 | C:/Nokia/ovi.dll 41 | Ovi Services 42 | 43 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/emptyFilePath.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ServiceA 4 | 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 1.0.456 9 | Interface that provides download support 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/emptyInterfaceName.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ServiceA 4 | C:/TestData/testservice.dll 5 | Test service description 6 | 7 | 8 | 1.456 9 | Interface that provides download support 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/emptyServiceName.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | C:/TestData/testservice.dll 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 1.456 9 | Interface that provides download support 10 | 11 | Test service description 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/emptyVersion.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ServiceA 4 | C:/TestData/testservice.dll 5 | Test service description 6 | 7 | com.nokia.qt.tests.IDownloader 8 | 9 | Interface that provides download support 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/latestVersion.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.contacts 8 | 2.0 9 | ReadUserData,WriteUserData 10 | Contacts management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 1.7 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.mail 20 | 2.1 21 | ReadUserData,WriteUserData 22 | Mail management service 23 | 24 | 25 | com.nokia.service.CONTACTS 26 | 2.1 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | com.nokia.service.contacts 32 | 1.6 33 | ReadUserData,WriteUserData 34 | Contacts management service 35 | 36 | 37 | com.nokia.service.contacts 38 | 1.2 39 | ReadUserData,WriteUserData 40 | Contacts management service 41 | 42 | 43 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/latestVersion2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.mail 8 | 5.0 9 | ReadUserData,WriteUserData 10 | Mail management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 2.0 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.contacts 20 | 1.7 21 | ReadUserData,WriteUserData 22 | Contacts management service 23 | 24 | 25 | com.nokia.service.contacts 26 | 2.1 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | com.nokia.service.contacts 32 | 1.6 33 | ReadUserData,WriteUserData 34 | Contacts management service 35 | 36 | 37 | com.nokia.service.contacts 38 | 3.0 39 | ReadUserData,WriteUserData 40 | Contacts management service 41 | 42 | 43 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/latestVersion3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.contacts 8 | 5.7 9 | ReadUserData,WriteUserData 10 | Contacts management service 11 | 12 | 13 | com.nokia.service.contacts 14 | 1.7 15 | ReadUserData,WriteUserData 16 | Contacts management service 17 | 18 | 19 | com.nokia.service.contacts 20 | 2.1 21 | ReadUserData,WriteUserData 22 | Contacts management service 23 | 24 | 25 | com.nokia.service.contacts 26 | 1.6 27 | ReadUserData,WriteUserData 28 | Contacts management service 29 | 30 | 31 | com.nokia.service.contacts 32 | 1.2 33 | ReadUserData,WriteUserData 34 | Contacts management service 35 | 36 | 37 | com.nokia.service.mail 38 | 1.2 39 | ReadUserData,WriteUserData 40 | Mail management service 41 | 42 | 43 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qservicemetadata/testdata/latestVersion4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ovi 4 | C:/Nokia/ovi.dll 5 | Ovi Services 6 | 7 | com.nokia.service.contacts 8 | 1.7 9 | ReadUserData,WriteUserData 10 | Contacts management service 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/qsfwtestutil.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | #ifndef SFWTESTUTIL_H 29 | #define SFWTESTUTIL_H 30 | 31 | #include 32 | 33 | class QSfwTestUtil 34 | { 35 | public: 36 | static void setupTempUserDb(); 37 | static void setupTempSystemDb(); 38 | 39 | static void removeTempUserDb(); 40 | static void removeTempSystemDb(); 41 | 42 | static QString tempUserDbDir(); 43 | static QString tempSystemDbDir(); 44 | 45 | static QString tempSettingsPath(const char *path = ""); 46 | static void removeDirectory(const QString &path); 47 | 48 | static QString userDirectory(); 49 | static QString systemDirectory(); 50 | }; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/servicedatabase.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_servicedatabase 2 | CONFIG += testcase 3 | 4 | QT = core sql serviceframework serviceframework-private testlib 5 | 6 | TESTDATA += testdata/* 7 | 8 | # Input 9 | SOURCES += tst_servicedatabase.cpp \ 10 | 11 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceAcme.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | acme 4 | C:/TestData/testservice.dll 5 | Acme services 6 | 7 | com.acme.service.downloader 8 | 1.0 9 | Interface that provides download support 10 | 11 | 12 | com.acme.service.location 13 | 1.0 14 | 15 | Interface that provides location support 16 | global 17 | 18 | 19 | com.acme.device.sysinfo 20 | ReadUserData 21 | 2.3 22 | Interface that provides system information support 23 | 24 | 25 | 26 | com.acme.device.sendMessage 27 | ReadUserData,WriteUserData 28 | 3.0 29 | Interface that provides message sending support 30 | smtp.mail.com 31 | 32 | 33 | com.acme.device.receiveMessage 34 | 1.1 35 | ReadUserData,WriteUserData,ExecUserData 36 | Interface that provides message receiving support 37 | imap.mail.com 38 | pop.mail.com 39 | 40 | 41 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceAutobot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Autobot 4 | C:/Ark/matrix.dll 5 | Autobot Protection Services 6 | 7 | com.cybertron.transform 8 | 1.0 9 | 10 | Transformation interface 11 | manual 12 | laser 13 | 14 | 15 | com.cybertron.transform 16 | 2.0 17 | 18 | Transformation interface 19 | manual 20 | 21 | 22 | com.cybertron.transform 23 | 2.7 24 | 25 | Transformation interface 26 | automatic 27 | multidrive 28 | 29 | 30 | com.cybertron.transform 31 | 2.5 32 | 33 | Transformation interface 34 | automatic 35 | 36 | 37 | com.cybertron.transform 38 | 1.9 39 | 40 | Transformation interface 41 | automatic 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceCyberdyne.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Cyberdyne 4 | C:/California/connor.dll 5 | Cyberdyne Termination Services 6 | 7 | COM.cyberdyne.terminator 8 | 2.1 9 | NetworkServices 10 | Remote communications interface for the T-800 11 | 12 | 13 | com.Cyberdyne.terminator 14 | 2.0 15 | NetworkServices 16 | Remote communications interface for the T-800 17 | 18 | 19 | com.cyberdyne.TERMinator 20 | 1.7 21 | NetworkServices 22 | Remote communications interface for the T-800 23 | 24 | 25 | COM.cyberdyne.terminator 26 | 1.6 27 | NetworkServices 28 | Remote communications interface for the T-800 29 | 30 | 31 | com.cyberdyne.terminator 32 | 1.2 33 | NetworkServices 34 | Remote communications interface for the T-800 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceDecepticon.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Decepticon 4 | C:/Cybertron/unicron.dll 5 | Decepticon Elimination Services 6 | 7 | com.cybertron.transform 8 | 2.0 9 | hunt,spy,kill 10 | Transformation interface 11 | 12 | 13 | com.cybertron.transform 14 | 1.1 15 | hunt 16 | Transformation interface 17 | 18 | 19 | 20 | com.cybertron.transform 21 | 5.3 22 | 23 | Transformation interface 24 | 25 | 26 | com.cybertron.transform 27 | 2.5 28 | hunt,spy 29 | Transformation interface 30 | 31 | 32 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceDharma_Flame.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | DharmaINITiative 4 | C:/island/flame.dll 5 | Department of Heuristics And Research on Material Applications(F) 6 | 7 | com.dharma.electro.discharge 8 | 15.0 9 | 10 | Releases electromagnetic energy buildup every 108 minutes 11 | 12 | 13 | com.dharma.radio 14 | 8.15 15 | 16 | Enables communication off island 17 | 18 | 19 | com.dharma.electro.discharge 20 | 16.0 21 | Releases electromagnetic energy buildup every 108 minutes 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceDharma_Hydra.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | DHarmaInitiative 4 | C:/island/hydra.dll 5 | Department of Heuristics And Research on Material Applications(H) 6 | 7 | com.dharma.electro.discharge 8 | 23.0 9 | 10 | Releases electromagnetic energy buildup every 108 minutes 11 | 12 | 13 | com.dharma.electro.discharge 14 | 42.0 15 | Releases electromagnetic energy buildup every 108 minutes 16 | 17 | 18 | com.dharma.cage 19 | 3.16 20 | 21 | Contains polar bears 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceDharma_Orchid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | DharmaInitiative 4 | C:/island/orchid.dll 5 | Department of Heuristics And Research on Material Applications(O) 6 | 7 | com.dhARMa.electro.discharge 8 | 4.0 9 | 10 | Releases electromagnetic energy buildup every 108 minutes 11 | 12 | 13 | com.dharma.wheel 14 | 1.0 15 | 16 | Relocates the island 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceDharma_Pearl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | DharmaInitiative 4 | C:/island/pearl.dll 5 | Department of Heuristics And Research on Material Applications(P) 6 | 7 | com.dharma.electro.discharge 8 | 8.0 9 | 10 | Releases electromagnetic energy buildup every 108 minutes 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceDharma_Swan.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | DharmaInitiative 4 | C:/island/swan.dll 5 | Department of Heuristics And Research on Material Applications(S) 6 | 7 | com.dhARMa.electro.discharge 8 | 4.0 9 | 10 | Releases electromagnetic energy buildup every 108 minutes 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceLuthorCorp.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LuthorCorp 4 | C:/Metropolis/kryptonite.dll 5 | 6 | 7 | com.omni.device.Accelerometer 8 | 1.2 9 | SurroundingsDD 10 | Interface that provides accelerometer readings 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceOmni.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | OMNI 4 | C:/OmniInc/omniinc.dll 5 | Omni mobile 6 | 7 | com.omni.device.Accelerometer 8 | SurroundingsDD 9 | 1.1 10 | Interface that provides accelerometer readings(omni) 11 | 12 | 13 | com.omni.device.Lights 14 | 15 | 9.0 16 | Interface that provides access to device lights 17 | 18 | 19 | com.omni.service.Video 20 | 1.4 21 | MultimediaDD,NetworkServices,ReadUserData,WriteUserData 22 | Interface that provides support for video streaming 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServicePrimatech.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Primatech 4 | C:/NewYork/kensei.dll 5 | Primatech Cellular Services 6 | 7 | com.omni.device.Accelerometer 8 | 1.4 9 | SurroundingsDD 10 | Interface that provides accelerometer readings 11 | 12 | 13 | com.omni.device.Accelerometer 14 | 1.2 15 | SurroundingsDD 16 | Interface that provides accelerometer readings 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServicePrimatech2error.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Primatech 4 | C:/NewYork/hiro.dll 5 | Primatech Cellular Services 6 | 7 | com.omni.device.Accelerometer 8 | 1.4 9 | SurroundingsDD 10 | Interface that provides accelerometer readings 11 | 12 | 13 | com.omni.device.Accelerometer 14 | 1.2 15 | SurroundingsDD 16 | Interface that provides accelerometer readings 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceSkynet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | skynet 4 | C:/California/dyson.dll 5 | Skynet Termination Services 6 | 7 | com.cyberdyne.terminator 8 | 3.6 9 | NetworkServices 10 | Remote communications interface for the T-800 11 | 12 | 13 | com.cyberdyne.terminator 14 | 2.0 15 | NetworkServices 16 | Remote communications interface for the T-800 17 | 18 | 19 | com.cyberdyne.terminator 20 | 1.8 21 | NetworkServices 22 | 23 | 24 | com.cyberdyne.terminator 25 | 1.6 26 | NetworkServices 27 | 28 | 29 | 30 | com.cyberdyne.terminator 31 | 1.5 32 | NetworkServices 33 | Remote communications interface for the T-800v1.5 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceWayneEnt.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | WayneEnt 4 | C:/Gotham/knight.dll 5 | 6 | com.omni.device.Accelerometer 7 | 2.0 8 | SurroundingsDD 9 | Interface that provides accelerometer readings 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceYamagato.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Primatech 4 | C:/NewYork/kensei.dll 5 | Primatech Cellular Services 6 | 7 | com.omni.device.Accelerometer 8 | 1.4 9 | SurroundingsDD 10 | Interface that provides accelerometer readings 11 | 12 | 13 | com.omni.device.Accelerometer 14 | 1.2 15 | SurroundingsDD 16 | Interface that provides accelerometer readings 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedatabase/testdata/ServiceYamagatoError.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Yamagato 4 | C:/NewYork/kensei.dll 5 | Yamagato Industries 6 | 7 | com.yamagato.light 8 | 1.4 9 | 10 | Interface that controls lights 11 | 12 | 13 | com.omni.device.Accelerometer 14 | 1.2 15 | SurroundingsDD 16 | Interface that provides accelerometer readings 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedeletion/servicedeletion.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_servicedeletion 2 | CONFIG += testcase 3 | 4 | QT = core serviceframework testlib 5 | QT -= gui 6 | 7 | # Input 8 | SOURCES += tst_servicedeletion.cpp 9 | 10 | TESTDATA += xmldata/* 11 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 12 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/servicedeletion/xmldata/testdeletion.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestService 5 | test_service 6 | Test Service 7 | 8 | com.nokia.test.services.TestService 9 | 1.0 10 | Test service 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceframework.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | SUBDIRS = \ 4 | qremoteserviceregister \ 5 | qservicefilter \ 6 | qserviceinterfacedescriptor \ 7 | qservicemanager \ 8 | qservicemanager_ipc \ 9 | qservicemetadata \ 10 | servicedeletion 11 | # serviceobject 12 | # servicedatabase #(requires test symbols) 13 | 14 | win32:SUBDIRS -= \ 15 | qservicemanager_ipc \ # QTBUG-32662 16 | servicedeletion \ # QTBUG-32667 17 | qremoteserviceregister # QTBUG-32707 18 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the test suite of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | int main(int argc, char **argv) 31 | { 32 | return quick_test_main(argc, argv, "serviceobject", QUICK_TEST_SOURCE_DIR "/.."); 33 | } 34 | 35 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/serviceobject.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = test serviceobject_target 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/serviceobject_target/serviceobject.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | serviceobject.xml 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/serviceobject_target/serviceobject.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ServiceObjectTarget 5 | com.nokia.qt.tests.serviceobject 6 | Service Object Target 7 | 8 | com.nokia.qt.tests.serviceobject 9 | 1.0 10 | Service Object Built in test object 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/serviceobject_target/serviceobject_target.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the examples of the Qt Mobility Components. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #ifndef SERVICEOBJECT_TARGET_H 30 | #define SERVICEOBJECT_TARGET_H 31 | 32 | #include 33 | #include 34 | #include 35 | 36 | QT_USE_NAMESPACE 37 | 38 | class ServiceObjectTarget : public QObject 39 | { 40 | Q_OBJECT 41 | public: 42 | ServiceObjectTarget(QObject *parent = 0); 43 | ~ServiceObjectTarget(); 44 | 45 | Q_PROPERTY(int state READ state NOTIFY stateChanged) 46 | int state() const; 47 | 48 | public slots: 49 | void slotWithArg(const QString& number); 50 | void slotWithoutArg(); 51 | bool slotWithOk(); 52 | void closeClientSockets(); 53 | bool closeClientSocketsBlocking(); 54 | 55 | Q_SIGNALS: 56 | void stateChanged(); 57 | 58 | protected: 59 | void timerEvent(QTimerEvent* event); 60 | 61 | private: 62 | friend class QRemoteServiceRegister; 63 | void setNewState(); 64 | int timerId; 65 | int m_state; 66 | }; 67 | 68 | #endif // SERVICEOBJECT_TARGET_H 69 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/serviceobject_target/serviceobject_target.pro: -------------------------------------------------------------------------------- 1 | # QML tests in this directory must not depend on an OpenGL context. 2 | # QML tests that do require an OpenGL context must go in ../declarative_ui. 3 | 4 | TEMPLATE = app 5 | TARGET = serviceobject_target 6 | SOURCES += serviceobject_target.cpp 7 | 8 | QT += serviceframework 9 | 10 | OTHER_FILES += serviceobject.xml 11 | 12 | HEADERS += \ 13 | serviceobject_target.h 14 | 15 | RESOURCES += \ 16 | serviceobject.qrc 17 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 18 | -------------------------------------------------------------------------------- /tests/auto/serviceframework/serviceobject/test/test.pro: -------------------------------------------------------------------------------- 1 | # QML tests in this directory must not depend on an OpenGL context. 2 | 3 | TEMPLATE = app 4 | CONFIG += qmltestcase 5 | 6 | QT += serviceframework qml 7 | 8 | TARGET = tst_serviceobject 9 | CONFIG(debug_and_release) { 10 | CONFIG(debug, debug|release) { 11 | DESTDIR = ../debug 12 | } else { 13 | DESTDIR = ../release 14 | } 15 | } else { 16 | DESTDIR = .. 17 | } 18 | 19 | SOURCES += ../main.cpp 20 | 21 | OTHER_FILES += ../*.qml 22 | 23 | 24 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 25 | -------------------------------------------------------------------------------- /tests/auto/systeminfo/qbatteryinfo/qbatteryinfo.pro: -------------------------------------------------------------------------------- 1 | 2 | QT += systeminfo testlib 3 | 4 | SOURCES += tst_qbatteryinfo.cpp 5 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 6 | -------------------------------------------------------------------------------- /tests/auto/systeminfo/qdeviceinfo/qdeviceinfo.pro: -------------------------------------------------------------------------------- 1 | 2 | QT += systeminfo testlib 3 | 4 | SOURCES += tst_qdeviceinfo.cpp 5 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 6 | -------------------------------------------------------------------------------- /tests/auto/systeminfo/qinputdeviceinfo/qinputdeviceinfo.pro: -------------------------------------------------------------------------------- 1 | 2 | QT += systeminfo testlib 3 | TARGET = tst_qinputdeviceinfo 4 | SOURCES += tst_qinputdeviceinfo.cpp 5 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/systeminfo/qscreensaver/qscreensaver.pro: -------------------------------------------------------------------------------- 1 | 2 | QT += systeminfo testlib 3 | 4 | SOURCES += tst_qscreensaver.cpp 5 | 6 | 7 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 8 | -------------------------------------------------------------------------------- /tests/auto/systeminfo/qscreensaver/tst_qscreensaver.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the QtSystems module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** GNU General Public License Usage 18 | ** Alternatively, this file may be used under the terms of the GNU 19 | ** General Public License version 3 as published by the Free Software 20 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 21 | ** included in the packaging of this file. Please review the following 22 | ** information to ensure the GNU General Public License requirements will 23 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 24 | ** 25 | ** $QT_END_LICENSE$ 26 | ** 27 | ****************************************************************************/ 28 | 29 | #include 30 | #include 31 | 32 | #include "qscreensaver.h" 33 | 34 | QT_USE_NAMESPACE 35 | 36 | class tst_QScreenSaver : public QObject 37 | { 38 | Q_OBJECT 39 | 40 | private slots: 41 | void tst_screensaver(); 42 | }; 43 | 44 | void tst_QScreenSaver::tst_screensaver() 45 | { 46 | QScreenSaver screensaver; 47 | 48 | screensaver.setScreenSaverEnabled(true); 49 | screensaver.setScreenSaverEnabled(false); 50 | QVERIFY(screensaver.screenSaverEnabled() == false); 51 | } 52 | 53 | QTEST_MAIN(tst_QScreenSaver); 54 | #include "tst_qscreensaver.moc" 55 | -------------------------------------------------------------------------------- /tests/auto/systeminfo/systeminfo.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | SUBDIRS = \ 4 | qdeviceinfo \ 5 | qscreensaver \ 6 | qbatteryinfo 7 | 8 | linux-*: !simulator: { 9 | SUBDIRS += \ 10 | qinputdeviceinfo 11 | } 12 | -------------------------------------------------------------------------------- /tests/manual/sysinfo-tester/sysinfo-tester.pro: -------------------------------------------------------------------------------- 1 | TARGET = sysinfo_tester 2 | QT += core network systeminfo 3 | 4 | SOURCES += main.cpp 5 | INCLUDEPATH=../../../src/systeminfo 6 | CONFIG += console 7 | 8 | -------------------------------------------------------------------------------- /tests/tests.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS += auto 3 | 4 | linux-*: !simulator: { 5 | SUBDIRS += manual/sysinfo-tester 6 | } 7 | --------------------------------------------------------------------------------