Commit Graph

31 Commits

Author SHA1 Message Date
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Klaus Basan
004173b052 Style 2020-06-12 18:42:44 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Klaus Basan
a993ccd1c1 Fix CApplication::processEventsFor so it can be used in samples/unit tests 2017-09-24 19:53:07 +01:00
Roland Winklmeier
cf2c0d0f35 Use qt.conf to override plugin path on Mac OS
Summary:
QCoreApplication::addLibraryPath is called before QCoreApplication
was constructed and this caused the returned string to be different
depending from which working directory it was called and not always
the intended binary path.
Using qt.conf has a fixed prefix relative to the binary path
inside the application bundle and therefore is easier to be used
with a relative path.

Reviewers: kbasan, msutcliffe

Reviewed By: msutcliffe

Differential Revision: https://dev.swift-project.org/D18
2017-05-05 23:08:40 +01:00
Roland Winklmeier
a3bc5c2936 Add <swiftInstall>/bin to library lookup paths
Summary:
This change adds <swiftInstall>/bin to the library lookup paths.
Without, QFactoryLoader is not able to find the Qt plugins
on Mac OS since on this platform the hard coded path defaults to
'foo.app/Contents/MacOS' for app bundles.
This change also adds the installation of QtPrintSupport framework which
is a dependency from cocoa platform plugin.

ref T48

Reviewers: kbasan, msutcliffe

Reviewed By: kbasan

Subscribers: jenkins

Maniphest Tasks: T48

Differential Revision: https://dev.swift-project.org/D15
2017-05-05 22:40:43 +01:00
Mathew Sutcliffe
a8302b310e refs #937 Resolved clazy warnings: QString::arg. 2017-04-19 19:31:45 +01:00
Roland Winklmeier
5c37ccdbeb Use CProcessCtrl::startDetached in dbus server and sample
refs #866
2017-04-18 00:07:41 +01:00
Klaus Basan
7bc53ada3e refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
dc1d5d8586 refs #875, refs #879, renamed CTestUtils to CDBusUtils
* class now only contains DBus related code
* other functions have been moved to CTesting
2017-02-24 15:21:20 +00:00
Klaus Basan
7917769802 refs #875, adjusted using classes to use new namespaces 2017-02-24 15:21:18 +00:00
Klaus Basan
f2e49987e0 refs #875, adjusted servicetool (DBus samples)
* use functions from blackcore/test
* show signatures
2017-02-24 15:21:05 +00:00
Klaus Basan
94e5bbcc93 refs #875, more tests / pings 2017-02-24 15:20:57 +00:00
Roland Winklmeier
364b16346d Fix samples header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:14 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Roland Winklmeier
866c8d2db6 Add samples to doxygen group 'samples' and subgroups
refs #594
2016-02-16 20:01:42 +01:00
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd6f0d0f25 Use namespace BlackSample in samples
refs #594
2016-02-16 20:01:28 +01:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Klaus Basan
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Klaus Basan
c47871b813 refs #382, reviewed audio context handling
* only init QDbusServer for P2P
* changed init order of contexts in runtime
* use "fake" signal to call setComVoiceRooms (remote in GUI)
* added slot to change voice room callsign
* used "org.swift" instead of "net.vatim" (just style)
* used const QString for serviceName
* added correct copyright header (just style)
2015-03-20 16:33:51 +01:00
Klaus Basan
64f037d584 refs #358, adjusted samples for model matching 2014-12-28 22:19:47 +01:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
0437bf3381 refs #140 , adjust sample for DBus marshalling / unmarshalling in order to test "tupel-ized" classes
* Added further DBus tests
* Crossover from refs #85 , removed dependency from generator adaptor and XML files, as this will not work anymore in the future
* Removed from .pro DBUS_ADAPTORS , DBUS_INTERFACES, QDBUSXML2CPP_INTERFACE_HEADER_FLAGS , QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS
* Added interface, as this will be no longer generated
* Removed samples no longer required, the sample no represents a framework to test DBus marshalling / unmarshalling
2014-03-10 15:07:43 +01:00
Klaus Basan
b38d90a0f1 New XML files for the sample. Fixed some errors found during testing.
* applyIf no longer returns number of changed elements
* cmd line arguments, wrong assignment in main.cpp
2014-01-17 17:11:52 +01:00
Klaus Basan
fb9e7acd8e Allows to change IP address and port in the sample. This issue was mentioned
in the 1st premerge review of MS.

Disclaimer: As this is an sample, there is no validation as for valid IP, port.
2014-01-17 15:27:29 +01:00
Klaus Basan
ab17dabd5b samples and tests for all kbatclist branch changes
refs #81
2014-01-08 01:00:28 +00:00