equal
deleted
inserted
replaced
17 |
17 |
18 #include <QtTest/QtTest> |
18 #include <QtTest/QtTest> |
19 #include <QtGui> |
19 #include <QtGui> |
20 #include <hbapplication.h> |
20 #include <hbapplication.h> |
21 #include <QSignalSpy> |
21 #include <QSignalSpy> |
22 #include "qtestmains60.h" |
22 #include "phonetestmain.h" |
23 #include "phoneuiqtbuttonscontroller.h" |
23 #include "phoneuiqtbuttonscontroller.h" |
24 |
24 |
25 class TestPhoneUIQtButtonsController : public QObject |
25 class TestPhoneUIQtButtonsController : public QObject |
26 { |
26 { |
27 Q_OBJECT |
27 Q_OBJECT |
276 m_buttonsCtrl->setButtonFlags(PhoneUIQtButtonsController::Ihf,ihf); |
276 m_buttonsCtrl->setButtonFlags(PhoneUIQtButtonsController::Ihf,ihf); |
277 m_buttonsCtrl->setButtonFlags(PhoneUIQtButtonsController::Wired,wired); |
277 m_buttonsCtrl->setButtonFlags(PhoneUIQtButtonsController::Wired,wired); |
278 m_buttonsCtrl->setButtonFlags(PhoneUIQtButtonsController::Btaa,btaa); |
278 m_buttonsCtrl->setButtonFlags(PhoneUIQtButtonsController::Btaa,btaa); |
279 } |
279 } |
280 |
280 |
281 QTEST_MAIN_S60(TestPhoneUIQtButtonsController) |
281 PHONE_TEST_MAIN(TestPhoneUIQtButtonsController) |
282 #include "unit_tests.moc" |
282 #include "unit_tests.moc" |