Commit Graph

14 Commits

Author SHA1 Message Date
Klaus Basan
09e65a2525 Ref T739, renamed CContext -> IContext
This reflects the purpose better, it is a base class for all context interfaces
2019-10-11 19:00:35 +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
a65be602bb Fixed clazy warnings: provide receiver object argument to signal/slot connection. 2019-02-22 20:23:40 +00:00
Roland Winklmeier
1addcf631a Refactor the remote hotkeys to avoid round trips
The previous implementation was hard to follow and maintain. Instead of
doing intentional rounds trips, we use now a two way approach. GUI is
automatically forwarding remote actions by calling "callHotkeyActionRemotely"
through DBus. Core on the other hand, emits a signal "remoteHotkeyAction"
that is processed in a different function in GUI.
On both sides, actions from the same local machine are filtered.

ref T402
2018-11-04 17:42:42 +01:00
Roland Winklmeier
f6ea2a9107 Move CInputManager from singleton to CApplication member
The main reason why CInputManager was singleton is the easy access across
the code. That had the negative side effect that time of destruction was
at a very late stage of the shutdown and could not be controlled by us.
My moving it to CApplication, the access is equally easy (using sApp) and
allows to be cleaned up properly during graceful shutdown.

ref T391
2018-11-04 17:42:42 +01:00
Roland Winklmeier
14af2dccf0 Use Qt::QueuedConnection to process remote hotkey actions 2018-08-31 20:08:19 +02:00
Klaus Basan
35d78b641a Fix clang warnings as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1526463295000266
Reported in CLANG test build here: https://build.swift-project.org/job/macos_test_job/4/warnings10Result/
2018-05-22 13:20:02 +02:00
Klaus Basan
bdda413386 Ref T231, Ref T236, Ref T238 made command parsing function mandatory for contexts
* we can send commands to any context
* to send to all contexts use the facade
* application relays to facade
2018-01-30 20:34:55 +01:00
Klaus Basan
2c5a6c0a3a Ref T218, renamed some functions of CIdentifier 2018-01-14 18:45:48 +01:00
Klaus Basan
93909171b6 Ref T192, init for P2P via CDBusServer::coreServiceName(connection) 2017-12-21 19:47:03 +01:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Mathew Sutcliffe
fce1513dae refs #937 Resolved clazy warnings: unnecessary detaching of containers. 2017-04-19 19:31:38 +01:00
Klaus Basan
9bce443ced Removed unused function 2016-12-15 04:06:23 +01:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00