equal
deleted
inserted
replaced
19 #include <QStringList> |
19 #include <QStringList> |
20 |
20 |
21 #include "musicservices.h" |
21 #include "musicservices.h" |
22 #include "getmusicservice.h" |
22 #include "getmusicservice.h" |
23 #include "mptrace.h" |
23 #include "mptrace.h" |
24 |
|
25 |
|
26 |
24 |
27 |
25 |
28 /*! |
26 /*! |
29 Constructs music fetcher service |
27 Constructs music fetcher service |
30 */ |
28 */ |
112 { |
110 { |
113 TX_ENTRY |
111 TX_ENTRY |
114 //TODO: change to string constant when available |
112 //TODO: change to string constant when available |
115 mTitle = requestInfo().info("WindowTitle").toString(); |
113 mTitle = requestInfo().info("WindowTitle").toString(); |
116 mServiceApp->setCurrentService( MusicServices::EUriFetcher ); |
114 mServiceApp->setCurrentService( MusicServices::EUriFetcher ); |
117 TUid uid = TUid::Uid( requestInfo().clientSecureId() ); |
115 emit mServiceApp->serviceActive( requestInfo().clientSecureId() ); |
118 emit mServiceApp->serviceActive( uid ); |
|
119 connect(this, SIGNAL( clientDisconnected() ), qApp, SLOT( quit() ) ); |
116 connect(this, SIGNAL( clientDisconnected() ), qApp, SLOT( quit() ) ); |
120 mRequestIndex = setCurrentRequestAsync(); |
117 mRequestIndex = setCurrentRequestAsync(); |
121 |
118 |
122 TX_EXIT |
119 TX_EXIT |
123 } |
120 } |