Commit Graph

20 Commits

Author SHA1 Message Date
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
d8a730302a Another attempt to fix copyed hotkeys by updating the identifier
* check on name OR id
* remote keys not updated, but lenient check on local machine
* Remark: Sometimes copied hotkeys d not work
2019-02-22 20:36:15 +00:00
Roland Rossgotterer
94c2859e18 Replace QDBusConnection::localMachineId with QSysInfo::machineUniqueId()
QSysInfo::machineUniqueId() was added in Qt 5.11 and is using DBus independent unique machine ids everywhere except on Linux. This prevents running into an assert in case DBus is not properly installed at a very early stage of the application without any chance to give the user a warning and handle it gracefully.
2019-02-22 20:35:16 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
e4dfa01c2e Ref T384, strip added name before adding a changed one 2018-10-05 17:39:58 +02:00
Klaus Basan
2c5a6c0a3a Ref T218, renamed some functions of CIdentifier 2018-01-14 18:45:48 +01:00
Klaus Basan
26b5a6ce28 Found during T215, rectify CIdentifier issues
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Klaus Basan
cb751306f8 Ref T211, fake and anonymous identifier static const 2017-12-21 19:50:06 +01:00
Mathew Sutcliffe
cd13d18b00 Ref T184 Cache the result of QHostInfo::localHostName as it is expensive to call. 2017-11-12 13:43:28 +00:00
Klaus Basan
ad91cecf00 Ref T160, UUID as string utility function 2017-09-25 05:23:58 +02:00
Klaus Basan
ec77f9c64b Ref T160, further formatting 2017-09-25 05:23:57 +02:00
Roland Winklmeier
54b76d91ad CIdentifier utility classes
fake() returns a fake identifier, simulating an existing one.
isFromSameMachine() is a utility class to compare whether another
CIdentifier is from the same machine

refs #881
2017-04-17 23:59:04 +01:00
Klaus Basan
8e55baaf85 Typos, QStringBuilder 2017-03-01 20:51:39 +01:00
Roland Winklmeier
eeab2b0568 Add method to check if CIdentifier is anonymous
refs #663
2016-06-17 10:46:31 +02:00
Klaus Basan
2b49591f1b refs #649, do not init to current timestamp
* force explicit init (performance/invalid objects)
* allow to find mising timestamps
* style
2016-06-08 03:59:06 +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
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Mathew Sutcliffe
6601393df8 refs #460 CDataCache for dynamic (downloaded/generated) data with file-based distribution among processes. 2015-11-19 20:58:26 +00:00
Mathew Sutcliffe
08716705ca refs #450 Last-minute fix for settings synchronization logic. 2015-11-19 20:58:20 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00