Commit Graph

3512 Commits

Author SHA1 Message Date
Mathew Sutcliffe
6f19d0a479 containers: added methods contains(), remove(), replace(), replaceOrAdd(),
corresponding to contains(), removeIf(), replaceIf(), and replaceOrAdd(), but overloaded for const T& as well as for predicates.
refs #106
2014-01-25 19:36:42 +00:00
Mathew Sutcliffe
33d555e151 moved removeIf from CContainerBase to CSequence because it can't work with non-sequential containers, fixes #106 2014-01-25 19:36:42 +00:00
Mathew Sutcliffe
3d3a43602f removed unnecessary \param and \return lines from doxygen comments for container classes, refs #91 2014-01-25 19:36:41 +00:00
Mathew Sutcliffe
8561f17191 doxygen comments for all non-private members of INetwork, refs #91 2014-01-25 19:36:41 +00:00
Mathew Sutcliffe
7316fb8398 changed a couple more INetwork method names for consistency 2014-01-25 19:36:40 +00:00
Mathew Sutcliffe
ff3010931f connection status improvement, now we also check the return value of ConnectAndLogon
refs #101
2014-01-25 19:36:39 +00:00
Mathew Sutcliffe
0af8c9eb3e refs #100 Rationalization of INetwork signals and slots
* Naming convention: "preset" only when disconnected, "send" only when connected, "set" both
* Every asynchronous pair is named as in "sendFooQuery" and "fooReplyReceived"
* Moved LoginMode from CNetworkVatlib constructor to INetwork::presetLoginMode
* Callsign and ICAO codes can only be changed when disconnected, so have their own "preset" methods
** Callsign and ICAO parts of setOwnAircraft are therefore ignored
** CUser part of setOwnAircraft is ignored, in favour of the CUser part of presetServer
* CNetworkVatlib takes care of reconstructing m_net if the LoginMode is changed
2014-01-25 19:36:37 +00:00
Klaus Basan
0425ef5c6a Made BlackMisc::CStatusMessageList value no slot, no DBus XML signature shall be created.
A second value method tailored for DBus is the one called for DBus transfer and uses QDBusVariant.
2014-01-25 19:50:27 +01:00
Klaus Basan
f5e791e049 Added missing CCallsignList::registerMetadata 2014-01-25 19:48:10 +01:00
Klaus Basan
c4f189a547 Added a temporary remove in containerbase. This will be reverted when #106 is ready. 2014-01-25 19:47:37 +01:00
Klaus Basan
38d07286e1 Removed m_voiceRoomCom1/2 members and directly updating voice context
with voice rooms
2014-01-25 02:14:29 +01:00
Klaus Basan
6d5ad3ca75 Improved handling in CContextNetwork::getUsersForCallsigns
CContextNetwork::readAtcBookingsFromSource(), URL from settings
Helper method: BlackMisc::Settings::CSettingsNetwork getNetworkSettings()
2014-01-25 01:58:55 +01:00
Klaus Basan
ee5336e308 Formatting, Doxygen, Renaming 2014-01-25 01:56:37 +01:00
Klaus Basan
dd3803f9a9 Methods for CContextVoice::getCom1/2VoiceRoom
CContextVoice::getComVoiceRoomsWithAudioStatus() to const
2014-01-25 01:53:38 +01:00
Klaus Basan
36bab20f58 Updated CVoiceVatlib::getComVoiceRoomsWithAudioStatus() to const
Callsign split for user onRoomUserReceived
Check in CVoiceVatlib::addTemporaryCallsignForRoom
2014-01-25 01:51:54 +01:00
Klaus Basan
2cd5f81828 Added booking service URL to setting, updated Doxygen 2014-01-25 01:41:28 +01:00
Klaus Basan
0bdccd34c7 Unit test: Callsign test 2014-01-25 01:40:20 +01:00
Klaus Basan
22a79625d1 Added callsign to user object:
* Changed user class
* Updated ATC station / aircraft to keep callsigns in sync
* Updated user list model for GUI
2014-01-25 01:36:49 +01:00
Klaus Basan
fb3d7e4d28 Added updating of user views:
* timers
* loading of objects
* refactoring of some methods
2014-01-22 17:44:16 +01:00
Klaus Basan
8008218d28 Fixed include in wrong place 2014-01-22 17:43:01 +01:00
Klaus Basan
09b3ca1b30 Fixed property index for CUser, and as a result also in the list model 2014-01-22 17:42:33 +01:00
Klaus Basan
935594e9dc VoiceRoom: removed default initializers, fixed Doxygen 2014-01-22 17:35:30 +01:00
Klaus Basan
2307a2b642 Added a default implementation for propertyByIndexAsString
in CValueObject
2014-01-22 17:33:50 +01:00
Klaus Basan
4ceb7367f9 GUI, added table view for user lists:
* All users
* Voice room COM1/2 users

Remark: Not yet updated, just preparation of views
2014-01-22 03:08:28 +01:00
Klaus Basan
8d6a24697a CListModelBase prepared (forward instantiations) for CUserList 2014-01-22 02:51:52 +01:00
Klaus Basan
898074ffc1 Doxygen CListModelBase 2014-01-22 02:50:46 +01:00
Klaus Basan
dada8bd433 Doxygen 2014-01-22 02:49:16 +01:00
Klaus Basan
8e80f8e247 Fixed I18N for network checks 2014-01-22 02:48:20 +01:00
Klaus Basan
bf7bd52ec8 Changed sample so it works with latest changes, such as
* CCallsignList
* CCallsign, instead of QString
2014-01-21 17:50:30 +01:00
Klaus Basan
0f3d4666fa Comments / order of methods
* Reordered methods a bit
* Fixed Doxygen
* Removed unwanted comments
2014-01-21 17:49:21 +01:00
Klaus Basan
cffb732a94 Changed
* to CCallsignList
* from QString to CCallsign

Added:
* Method to get users, and
* users for callsigns

Fixed some Doxygen comments along with the changes
2014-01-21 17:46:55 +01:00
Klaus Basan
0e519dbeff Fixed Doxygen 2014-01-21 17:44:24 +01:00
Klaus Basan
17b6789d4e Changed voice to
* CCallsignList
* CCallsign (replaced QString)
* fixed Doxygen comments
2014-01-21 16:42:53 +01:00
Klaus Basan
3af1711045 Fixed Doxygen/include 2014-01-21 16:40:53 +01:00
Klaus Basan
f2850a68b4 Added new callsign list 2014-01-21 16:39:57 +01:00
Klaus Basan
a69fb246f5 Contains method of const T &object 2014-01-21 02:39:44 +01:00
Klaus Basan
3769ad1e65 Added methods getUsers / getUsersForCallsigns 2014-01-21 01:59:44 +01:00
Klaus Basan
a71658a5f3 Added callsign list 2014-01-21 01:45:36 +01:00
Klaus Basan
06572def1a Renamed private slot, to better fit naming scheme 2014-01-21 01:45:08 +01:00
Klaus Basan
5bf3fb2fdf Some preparation / formatting before starting 2014-01-20 23:15:22 +01:00
Klaus Basan
60422376bb Doxygen fixes 2014-01-20 13:56:36 +01:00
Klaus Basan
f0b97aac24 Improved rounding for COM frequencies to 25KHz in GUI 2014-01-20 13:18:34 +01:00
Klaus Basan
4f8b63cdf1 Always loading ATC/aircrafts in GUI, not only if the tab is visible 2014-01-20 13:17:15 +01:00
Klaus Basan
c01dcd85df Improved rounding to 25KHz in COM units 2014-01-20 13:16:01 +01:00
Klaus Basan
3859dcef4f Helper class to check whether a network connection can be established
ref #101
2014-01-20 13:05:11 +01:00
Klaus Basan
49b58cf582 Fixed hash for PQ, was based on long
(which of course did not work properly)
2014-01-20 13:00:39 +01:00
Mathew Sutcliffe
e3ba42d152 fixed mistake in CNetworkVatlib::isDisconnected 2014-01-19 00:03:58 +00:00
Mathew Sutcliffe
26ef5ecd5a reverted commit:97dda0b because QMetaEnum is working fine, it just needed the Q_ENUMS macro too
made INetwork::connectionStatusToString a static method
2014-01-19 00:03:52 +00:00
Klaus Basan
1129891532 NOMINMAX fix after removal of some classes
https://dev.vatsim-germany.org/boards/22/topics/1417?r=1440#message-1440
2014-01-19 00:23:23 +01:00
Roland Winklmeier
cb112c6ddb Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-01-18 20:38:22 +01:00