Commit Graph

206 Commits

Author SHA1 Message Date
Mathew Sutcliffe
396fab097a fixes #121 iterator error when compiling with Clang's libc++ 2014-02-07 17:50:19 +00:00
Klaus Basan
116db9a425 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override / nullptr keywords
Remark: Doxygen <70 warnings
2014-02-07 01:09:31 +01:00
Klaus Basan
526cd916a8 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-06 03:22:42 +01:00
Klaus Basan
ff5cf5ea4a refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-05 23:26:13 +00:00
Klaus Basan
7a63768c83 Allows to display callsign / user / statusmessage as icon in views. refs #122
* Icons
* update of resource file
* update in CValueObject classes callsign / user / statusmessage
* update in list models, data method for returning Pixmap
2014-02-05 23:16:29 +00:00
Klaus Basan
fda587994d CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
2014-02-05 23:16:14 +00:00
Klaus Basan
4ec1db4b38 Moved standard icons to blackmisc. Blackmisc is using module GUI anyway,
so this creates no new dependency.
2014-02-05 23:16:10 +00:00
Klaus Basan
82af8f0c4c Method to get default in/output device, renamed index methods to distinguish them 2014-02-05 23:16:05 +00:00
Klaus Basan
f476388f8b Status message list model (so they can displayed as table view in GUI),
and the corresponding property methods in CStatusMessage
2014-02-05 23:15:43 +00:00
Klaus Basan
e60acb25c3 Detect textmessage being a SELCAL call 2014-02-05 23:15:34 +00:00
Klaus Basan
f5ec7ea864 Added missing method for frequency detection 2014-02-05 23:15:31 +00:00
Klaus Basan
a69a021f26 New types for status messages 2014-02-05 23:15:29 +00:00
Klaus Basan
d7388ea79a Fix in SELCAL class, metadata registration 2014-02-05 23:15:26 +00:00
Klaus Basan
5619c29cb6 SELCAL classes (CValueObject based) 2014-02-05 23:15:16 +00:00
Klaus Basan
1d6711bb99 always trim callsign string in CCallsign constructor 2014-02-05 23:15:06 +00:00
Mathew Sutcliffe
17534e5154 refs #92 clarified conditional compilation of BlackMisc::heapSizeOf 2014-02-02 16:50:46 +00:00
Mathew Sutcliffe
f8780d0075 fixes #114 incorrect iterator increment in for loop in CContainerBase::removeIf 2014-02-02 16:34:17 +00:00
Klaus Basan
e728a4ab50 Latest container changes 2014-01-30 21:50:01 +01:00
Mathew Sutcliffe
04ab68917f fixed mistake in CCollection::remove, detected by GCC
refs #108
2014-01-29 23:08:55 +00:00
Mathew Sutcliffe
c27da2e38a refs #108, added CContainerBase::to, for converting between different container types 2014-01-28 20:30:50 +00:00
Mathew Sutcliffe
7c8aa8226d const corrections 2014-01-28 20:19:06 +00:00
Mathew Sutcliffe
d48d8ed951 refs #106, moved removeIf from CSequence to CContainerBase and added remove method in CCollection (CSequence already had a remove method) 2014-01-28 18:30:06 +00:00
Mathew Sutcliffe
1e153b45f0 refs #108, added find methods in CSequence and CCollection;
CSequence uses std::find, and CCollection uses the more efficient find method of the implementation type,
which requires that the implementation type be an associative container like QSet or std::set.
Modified CContainerBase::contains to use these new find methods.
2014-01-28 18:25:14 +00:00
Mathew Sutcliffe
d073681630 minor doxygen fixes 2014-01-28 01:50:30 +00:00
Klaus Basan
7c8b31f407 Merge with master for fix of remove in containers 2014-01-27 14:31:46 +01:00
Mathew Sutcliffe
88f4a7186f fixed mistake with forgetting to call erase after std::remove 2014-01-27 00:48:14 +00:00
Klaus Basan
a95709bbf1 Better toString for user 2014-01-26 23:14:22 +01:00
Klaus Basan
0fa421d8a6 Consider Channel Spacing (50, 25, 8.33kHz) for COM frequencies.
Deals with a special topic: While frequencies at VATSIM/flightsim are usually set in 25kHz spacing, some ATC stations (radar) require 8.33kHz tuning.
The now made extension handles this and allows to listen to a voice room even if the corresponding frequency is not exactly tuned in.

Example: EKDK_CTR 135,270 but needs to be tuned in as 135,275
2014-01-26 15:51:48 +01:00
Klaus Basan
14e90a6bc6 Fixed Doxygen 2014-01-26 02:54:24 +01:00
Klaus Basan
1c0b714a18 Merge with master after fixes for containers,
refs #106
2014-01-26 00:09:30 +01:00
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
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
2cd5f81828 Added booking service URL to setting, updated Doxygen 2014-01-25 01:41:28 +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
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
8e80f8e247 Fixed I18N for network checks 2014-01-22 02:48:20 +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
a71658a5f3 Added callsign list 2014-01-21 01:45:36 +01:00
Klaus Basan
60422376bb Doxygen fixes 2014-01-20 13:56:36 +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
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