equal
deleted
inserted
replaced
55 // |
55 // |
56 int LogsServiceHandlerOld::start(int activatedView, bool showDialpad) |
56 int LogsServiceHandlerOld::start(int activatedView, bool showDialpad) |
57 { |
57 { |
58 LOGS_QDEBUG_2( "logs [UI] -> LogsServiceHandlerOld::start(), view:", activatedView ) |
58 LOGS_QDEBUG_2( "logs [UI] -> LogsServiceHandlerOld::start(), view:", activatedView ) |
59 |
59 |
60 if ( activatedView < LogsServices::ViewAll || |
60 if ( activatedView < XQService::LogsViewAll || |
61 activatedView > LogsServices::ViewMissed ){ |
61 activatedView > XQService::LogsViewMissed ){ |
62 LOGS_QDEBUG( "logs [UI] <- LogsServiceHandlerOld::start(), incorrect view" ) |
62 LOGS_QDEBUG( "logs [UI] <- LogsServiceHandlerOld::start(), incorrect view" ) |
63 return -1; |
63 return -1; |
64 } |
64 } |
65 mIsAppStartedUsingService = true; |
65 mIsAppStartedUsingService = true; |
66 |
66 |
67 emit activateView((LogsServices::LogsView)activatedView, showDialpad, QString()); |
67 emit activateView((XQService::LogsViewIndex)activatedView, showDialpad, QString()); |
68 |
68 |
69 LOGS_QDEBUG( "logs [UI] <- LogsServiceHandlerOld::start()" ) |
69 LOGS_QDEBUG( "logs [UI] <- LogsServiceHandlerOld::start()" ) |
70 return 0; |
70 return 0; |
71 } |
71 } |
72 |
72 |
78 { |
78 { |
79 LOGS_QDEBUG_2( "logs [UI] -> LogsServiceHandlerOld::startWithNum(), view:", activatedView ) |
79 LOGS_QDEBUG_2( "logs [UI] -> LogsServiceHandlerOld::startWithNum(), view:", activatedView ) |
80 |
80 |
81 Q_UNUSED(showDialpad); |
81 Q_UNUSED(showDialpad); |
82 |
82 |
83 if ( activatedView < LogsServices::ViewAll || |
83 if ( activatedView < XQService::LogsViewAll || |
84 activatedView > LogsServices::ViewMissed ){ |
84 activatedView > XQService::LogsViewMissed ){ |
85 LOGS_QDEBUG( "logs [UI] <- LogsServiceHandlerOld::startWithNum(), incorrect view" ) |
85 LOGS_QDEBUG( "logs [UI] <- LogsServiceHandlerOld::startWithNum(), incorrect view" ) |
86 return -1; |
86 return -1; |
87 } |
87 } |
88 mIsAppStartedUsingService = true; |
88 mIsAppStartedUsingService = true; |
89 |
89 |