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
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
8e80f8e247
Fixed I18N for network checks
2014-01-22 02:48:20 +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
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
Roland Winklmeier
da6e7a58a4
Add ifdefs arround native windows code to fix linux build
...
- There was some native windows code not properly covered by ifdefs.
- handlePushToTalk() is not yet implemented on linux. Add a dummy.
2014-01-18 20:12:02 +01:00
Roland Winklmeier
08302c23bb
Remove obsolete logging framework
...
This changes removes classes of the obsolete logging frame work and
all its references. It was not used anywhere, but included in several
headers.
Had to add header QDateTime in some places, which was not correctly
included and now missing.
refs #90
2014-01-18 20:09:03 +01:00
Klaus Basan
233bd51bfd
Fixed ATIS bug, ATIS was applyIf as IndexAtisMessage (correct IndexAtis).
...
Also fixed appending CR.
2014-01-18 13:41:11 +01:00
Klaus Basan
f883babc20
Only Doxygen fixes in order to answer
...
https://dev.vatsim-germany.org/boards/22/topics/1417?r=1432#message-1432
Fixed some Doxygen warnings along with it
No code changes!
2014-01-17 22:53:37 +01:00
Roland Winklmeier
6d10543d89
Fix endless voice transmission bug
...
The second if condition was always false, hence the pushToTalk boolean
was never resetted to false.
Add also mandatory and recommended respectively calls to CallNextHookEx.
Otherwise other applications might run into problems.
Change virtual key VK_LCONTROL, since VK_CONTROL did not have any effect.
2014-01-17 21:07:53 +01:00
Roland Winklmeier
ba638b8e40
Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client
2014-01-17 20:14:37 +01:00
Klaus Basan
16dc959662
Fixed 4 gcc warnings (2x order, 1x explicit constructor, 1x GUI / from related)
2014-01-17 20:05:00 +01:00
Klaus Basan
222756e7ac
Fixed 2 bugs only obvious when running with Core/DBus
...
* init of m_enabled in modulator missing, crashed DBus marshalling
* Need to check boundaries of voice rooms in GUI for empty list
2014-01-17 19:27:15 +01:00
Klaus Basan
72b7a7ab95
Added statusMessages (plural) as signal. This makes it easier
...
to send either single or multiple messages as required.
Along with the changes fixed some places where not all status
messages had been sent.
MainWindow connected with both signals (statusMessage, statusMessages)
Recreated DBus XML file
2014-01-17 18:42:34 +01:00
Klaus Basan
97dda0b499
The meta type based status to string conversion did not work,
...
as the metatype for the interface cannot be registered.
Changed to a simple static method, as it will be replaced by I18N
anyway sooner or later.
2014-01-17 18:38:06 +01:00
Roland Winklmeier
c384e3d12e
Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client
2014-01-17 18:20:56 +01:00
Mathew Sutcliffe
a23c9e3f07
Normalizing argument types of CEarthAngle comparison and arithmetic operators:
...
argument type should be same type as the this pointer.
2014-01-17 01:38:29 +00:00
Mathew Sutcliffe
f156916c0c
A copy constructor is needed for CPhysicalQuantity to fix an MSVC2010 linker error introduced by the previous commit.
...
refs #84
2014-01-17 01:38:28 +00:00
Mathew Sutcliffe
db4c05dd9f
refs #84 removed the CValueObject::compare method and added a friend function BlackMisc::compare to replace it.
...
The new compare is implemented using "multimethods" described in the book Advanced C++ Programming Styles and Idioms by James Coplien.
First, the isA method is used to determine which of the values being compared is the most general. (For example, CLength is more general than CAltitude.)
Then the compareImpl method is called on the most general value, with the other value as an argument.
If there is not a direct inheritance relation between the two values (or they are the same class) then the comparison is invalid and a assert is triggered.
2014-01-17 01:38:27 +00:00
Mathew Sutcliffe
e40c93fe1b
Removed CEarthAngle::toAngle, because implicit conversion already works.
...
Applied a different workaround to resolve the hiding of an inherited name in CEarthAngle, same as was done in CAltitude.
refs #84
2014-01-17 01:29:03 +00:00
Klaus Basan
bddf54d770
Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client
2014-01-16 02:05:57 +01:00
Klaus Basan
34ef6e47ae
Changed when m_updateTimer is started:
...
Now starts when connection is established, and stops when terminated.
Also added an extra check in update, as the session check is
not sufficient.
2014-01-16 02:03:46 +01:00
Klaus Basan
2cf097ae2e
Receiving errors as status message results in
...
a pop up message now.
2014-01-15 23:52:22 +01:00
Klaus Basan
4f94f43e0d
Setting own aircraft did not start the udpate timer.
...
Hence no updates from the network were received.
2014-01-15 23:51:15 +01:00
Roland Winklmeier
4d6564af64
Remove member string initialization to empty string in constructor
...
QString always treats null strings and empty strings the same,
except in isNull, so there is no need for this.
2014-01-15 21:24:15 +01:00
Roland Winklmeier
e36448f0a1
Replaced c++ standard integer types with Qt types
...
In order to be consistent, all standard integer types have been
replaced by the equivalent Qt ones in voice/audio code.
Projects covered
- BlackCore
- BlackMisc
- sample_voice_client
refs #99
2014-01-15 21:12:01 +01:00
Roland Winklmeier
f50fe098e3
Fix compile error in qFatal caused by type change to QString
...
msg was changed from type "const char*" to QString, but qFatal is
still expecting a "const char*" as its argument. Passed the QString
value to the qPrintable macro to fix it.
2014-01-15 20:39:15 +01:00