//find the relevant channelRequest
 Q_FOREACH (const Tp::ChannelRequestPtr channelRequest, channelRequests) {
     qCDebug(KTP_DECLARATIVE) << channelRequest->hints().allHints();
     shouldDelegate = channelRequest->hints().hint(QLatin1String("org.freedesktop.Telepathy.ChannelRequest"),
                                                   QLatin1String("DelegateToPreferredHandler")).toBool();
 }
Esempio n. 2
0
 //find the relevant channelRequest
 Q_FOREACH(const Tp::ChannelRequestPtr channelRequest, channelRequests) {
     kDebug() << channelRequest->hints().allHints();
     windowRaise = !channelRequest->hints().hint(QLatin1String("org.kde.telepathy"), QLatin1String("suppressWindowRaise")).toBool();
 }