Blackberry: Remove QtGui dependency
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Thu, 19 Jul 2012 13:46:09 +0000 (15:46 +0200)
committerThomas McGuire <thomas.mcguire.qnx@kdab.com>
Tue, 24 Jul 2012 11:29:32 +0000 (13:29 +0200)
commitb08ce84141b1177dec68c0667a65eb3bf0e56802
tree80fe24b9e7251cdc1c2076d7fae943c914a095ff
parent3ef4748416aba7a8c018e684408f4ce5f3183081
Blackberry: Remove QtGui dependency

In the Blackberry backend, we can't depend on QtGui and especially
not on the Blackberry QPA plugin, as Cascades uses
QCoreApplication, not QGuiApplication.

All QtGui functions are replaced with a new GuiHelper class, that
internally uses BPS.

Change-Id: Ia508e8b397050676c68612340d33cdbf57041076
plugins/sensors/blackberry/bbguihelper.cpp [new file with mode: 0644]
plugins/sensors/blackberry/bbguihelper.h [new file with mode: 0644]
plugins/sensors/blackberry/bbrotationsensor.cpp
plugins/sensors/blackberry/bbrotationsensor.h
plugins/sensors/blackberry/bbsensorbackend.cpp
plugins/sensors/blackberry/bbsensorbackend.h
plugins/sensors/blackberry/bbutil.h
plugins/sensors/blackberry/blackberry.pri
plugins/sensors/blackberry/blackberry.pro
plugins/sensors/blackberry/main.cpp