QRegExp needs to be included in Qt 4

Change-Id: Id894c759bb94d871b05483e3aa41c5330ffe45fb
Reviewed-on: https://codereview.kdab.com/8567
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com>
Fix Android build

Change-Id: Ie8d56aa47b346f9e493af0ea48e7f394e57167b3
Reviewed-on: https://codereview.kdab.com/8587
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
QScopedPointer, const-ness

Some cleanup: Use QScopedPointer for members, add some const-ness
goodess.

Change-Id: I818e77b015a9f6ea4e35da5209eb31f2dcabc2cf
Reviewed-on: https://codereview.kdab.com/8760
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
Move report XML creation out of report widgets

Move XML creation so that it can be reused in a QtQuick context.

Change-Id: I5d41d4e33a5dca977f6e1f4c39e45c818471b5b2
Reviewed-on: https://codereview.kdab.com/8755
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
Avoid hardcoded task padding in TimesheetInfo

Instead, pass the wanted padding at formatting time

Change-Id: Ibe0bd45a59fcff6f95325fc8b21ae178f697d89d
Reviewed-on: https://codereview.kdab.com/8756
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
Do not use mutable, return copy

No need to modify the Task inline, just create a copy and return that.

Change-Id: If8cdac208cde00ee24f1a793f8c9100d1c24d0ee
Reviewed-on: https://codereview.kdab.com/8780
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
Some IdleDetector cleanup

Do not let a null pointer represent "no idle detection available", but
always have an IdleDetector object, with a property "available" being
false if idle detection isn't supported.

Change-Id: I43699ac8bc90bf267dccfcbc1754da3352d260a0
Reviewed-on: https://codereview.kdab.com/8781
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
Add option to build with qmake on any platform

For easier messing with the QtQuick version, allow building on desktop
for those knowing what they are doing. Pass
"CONFIG += override_platform_check" to build with QMake on !android.

Change-Id: I407caceb73bab82aab4b8ba9bbee673071768e9e
Reviewed-on: https://codereview.kdab.com/8792
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Guillermo Amaral <gamaral@kdab.com>
[Issue #166] Retrieve timesheet status from lofc

We now check with LOC if last weeks timesheet is in. If it's not, then
Bill pays you a visit.

Change-Id: I37891ce8ce7687a3ea62027e81719a701e595d43
Reviewed-on: https://codereview.kdab.com/8568
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com>